How do you count lines of code?

How do you count lines of code?
Answer
Cloc can be used to count lines in particular file or in multiple files within directory. To use cloc simply type cloc followed by the file or directory which you wish to examine. Now lets run cloc on it. As you can see it counted the number of files, blank lines, comments and lines of code.
 

Tìm kiếm

Back
Top