Wednesday, 20 March 2019

Count LOC of a project

Use the cloc command line tool.

http://cloc.sourceforge.net/

if you want to get the LOC of projects in a folder E:/projects_folder

then you may write the following command

cloc E:/projects_folder

It will begin calculating the metrics and report in command line

More advanced command is:

>cloc f:/testme --force-lang=Java --skip-uniqueness  --csv   --report-file=stats.csv

No comments:

Post a Comment

what is a good PhD contribution?

When PhD candidates embark on their thesis journey, the first thing they will likely learn is that their research must be a “significant ori...