coderadar
coderadar copied to clipboard
File Length Distribution
It would be great to have a "file length distribution" diagram of a project, similar to the attached photo from "Clean Code"
.
The sticks show the range from the minimum file length to the maximum file length. The box on a stick shows the third of all the files from the mean.
Can we use the LOC analyzer for this? It creates LOC metrics by file and we're saving the file ending to each metric. So if we use the LOC analyzer with a wildcard pattern so it analyzes every file type we should be able to get all LOC metrics for a specific file type. On this set of values we should be able to create a box plot.