cgag / loc

Count lines of code quickly.
MIT License
2.29k stars 126 forks source link

CSV output #69

Open o7g8 opened 6 years ago

o7g8 commented 6 years ago

Hello,

It would be nice to add a possibility for printing out the LoC information in CSV format, similar to output of cloc --csv It should also be possible to have the CSV output in the by-file mode: loc --files --csv

The CSV output is useful when one is going to use the LoC data together with version control data for analysis of hotspots in teh given codebase using code-maat and maat-scripts as described in the book Your Code as a Crime Scene