-It depends on androids `repo` tool to obtain the source code and [tokei](https://github.com/XAMPPRocky/tokei) to do the heavy line counting work. During line counting I do a preliminary categorization of line data based on the top level directories. After those first two slow steps it begins its actual analysis work: It seperates test code and documentation from the rest *([1](https://github.com/NobodyForNothing/aosp-analyzer/blob/main/visualizer/src/extractor.rs#L16-L66))*, removes data only files (mainly random test data) *([2](https://github.com/NobodyForNothing/aosp-analyzer/blob/main/visualizer/src/extractor.rs#L71-L73))* and assembles the html *([3](https://github.com/NobodyForNothing/aosp-analyzer/blob/main/visualizer/src/format.rs#L57-L62))*. In case you are curious about the details, I think the code is more explicit than this text could ever be.
0 commit comments