-
-
Notifications
You must be signed in to change notification settings - Fork 358
XX PhIP Code MetaData
Marcus Denker edited this page May 26, 2021
·
5 revisions
This is a scratchpad for listing current problems and ideas related to code metadata. The idea is to keep it very general at first and split this later into sub-projects.
- we can only store classes and methods in git
- we use the class "XXXManifest" for storing metadata
- package comment is class comment of that class
- we store false positives and "turned off" rules per method there
- we tag abstract classed using a method #isAbstract
- not uniform. Every time we want to add metadata, we have to reinvent how to do it (even if we use the manifest)
- Manifest based rule data is stored as serialized Ring1 objects
- it contains a date (which uses memory) --> we can get the data info from the git commit
- there is no cleanup: if a method gets removed, the old data stays in the system forever