Home All Groups Group Topic Archive Search About

utility to count code lines?

Author
1 Feb 2006 5:10 PM
tommcd24
Does anyone know of a utility or VS add-in to count code lines in a
project or solution? I just had to provide 50 pages of code for
copyright and had initially thought that would be nearly the entire
program only to discover that I had over 60 pages of code in just two
classes.

So now I'm curious how many lines of code are in the project...

Thanks in advance for any information.

Author
1 Feb 2006 5:22 PM
nelsonhaha
Check out Aivosto Project Analyzer.  The summary report will tell you
the number of lines.  It may be found here: http://www.aivosto.com/

HTH

Nelson
Author
1 Feb 2006 6:37 PM
W.G. Ryan - MVP
..NET Commander does it... www.knowdotnet.com

<tommc***@gmail.com> wrote in message
Show quoteHide quote
news:1138813853.267778.132020@g43g2000cwa.googlegroups.com...
> Does anyone know of a utility or VS add-in to count code lines in a
> project or solution? I just had to provide 50 pages of code for
> copyright and had initially thought that would be nearly the entire
> program only to discover that I had over 60 pages of code in just two
> classes.
>
> So now I'm curious how many lines of code are in the project...
>
> Thanks in advance for any information.
>
Author
2 Feb 2006 11:10 AM
Carlos J. Quintero [VB MVP]
My MZ-Tools add-in (below) has a Statistics feature which shows the number
of total lines, code lines, blank lines, comment lines, ratios (%), classes,
procedures, controls and so on.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com


<tommc***@gmail.com> escribió en el mensaje
Show quoteHide quote
news:1138813853.267778.132020@g43g2000cwa.googlegroups.com...
> Does anyone know of a utility or VS add-in to count code lines in a
> project or solution? I just had to provide 50 pages of code for
> copyright and had initially thought that would be nearly the entire
> program only to discover that I had over 60 pages of code in just two
> classes.
>
> So now I'm curious how many lines of code are in the project...
>
> Thanks in advance for any information.
>
Author
17 Feb 2006 10:31 PM
dmwarden
You can count the total number of lines of code in VS 2005 without an
add in:

1)  Select Find in Files from the edit menu
2) Find what: *
3) Look in: Entire Solution
4) Use: Wildcards
It will display the total number at the end of the find window.

tommc***@gmail.com wrote:
Show quoteHide quote
> Does anyone know of a utility or VS add-in to count code lines in a
> project or solution? I just had to provide 50 pages of code for
> copyright and had initially thought that would be nearly the entire
> program only to discover that I had over 60 pages of code in just two
> classes.
>
> So now I'm curious how many lines of code are in the project...
>
> Thanks in advance for any information.