Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Line Counter for VS 2010

I'm looking for a line counting tool like Project Line Counter by Oz Solomon: Project Line Counter. This add-in worked perfectly for me with VS 2005 and 2008. But, unfortunately, Oz has no time to develop it further or to adapt it to VS 2010.

Do you know some great line counting tool for C++ code that perferably (but not necessarily) meets the following requirements:

  • distinguish between commented lines, blank lines, code only lines etc.
  • possibility to restrict to certain files/folders (or even VS projects)
  • list file names
  • no cost
  • integrable in VS 2010

Thanks in advance,
Flinsch.

like image 631
Flinsch Avatar asked Oct 30 '10 17:10

Flinsch


People also ask

How do you count lines of code in VS?

We can check all of the lines of code in a file or directory by the command cloc --by-file. Our folder contains two Vue files, so we're getting the count of both of them as well as the sum. Now, the most useful cloc command is to get the lines of code of the whole project.


1 Answers

Source Monitor is not integrated with VS2010, but it gives a very detailed source code metric reports:

like image 115
Rolf Kristensen Avatar answered Sep 28 '22 15:09

Rolf Kristensen