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
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