What's a good tool for calculating web KSLOC? [closed]
-
06-07-2019 - |
Question
For HTML, CSS, and JavaScript files, what's a good tool to run on source directories and get KSLOC?
Solution
wc -l
is a good start.
OTHER TIPS
grep -v -P "^\s*$" -R dir/ | wc -l
Gives you a line count that ignores blank lines.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow