Click here to Skip to main content
15,887,214 members
Articles / Programming Languages / C++

Project Line Counter Add-In v2.10 for VS.NET and VC6

Rate me:
Please Sign up or sign in to vote.
4.92/5 (38 votes)
29 Jun 2003 448.1K   5.3K   142  
Get statistics about your source code with a click of a button
.Topic IDOK
Dismisses the dialog.

.Topic IDHELP
Click this button to access the online help.

.Topic IDC_ABOUT
Click this button to display program information and copyright.

.Topic IDC_GO
Click here to start counting!

.Topic IDC_OPTIONS
Click this button to activate the options dialog.

.Topic IDC_EXT_LIST
Line Counter counts only files that have one of the extensions on this list.

You can delete an extension by highlighting a list item and pressing the

'Delete' key.  Add an extension by pressing 'Insert'.

.Topic IDC_RESET
Pressing this button resets the list to the 

following default extension values:


 .cpp, .c, .cxx, .rc, .def, .r, .odl, .idl, 

 .hpj, .hhp, .bat, .h, .hpp, .hxx, .hm, .inl

.Topic IDC_RESULTLIST
The per-file line count summary.

.Topic IDC_FILECOUNT
The number of files in your project that were counted.  These are the files 
in your project that had the extensions specified in the options dialog.

.Topic IDC_LINESC
The total amount of lines in your files.

.Topic IDC_LINESP
This is always 100%: the total amount of lines.

.Topic IDC_CODEC
The total amount lines in your files that have only source code in them.

.Topic IDC_CODEP
The percent of code lines from the total amount of lines in your files.

.Topic IDC_COMMENTSC
The total amount lines in your files that have only comments 

in them, or "n/a" if files weren't parsed for comments (see 

options dialog).

.Topic IDC_COMMENTSP
The percent of lines with comments from the total amount of 

lines in your files.

.Topic IDC_MIXEDC
The total amount lines in your files that have both comments and 

source code in them, or "n/a" if files weren't parsed for comments

(see options dialog).

.Topic IDC_MIXEDP
The percent of lines with both comments and source code from 

the total amount of lines in your files.

.Topic IDC_BLANKC
The total amount of blank (source and comment) lines in your files,

or "n/a" if blank lines were counted separately (see options dialog).

.Topic IDC_BLANKP
The percent of blank lines from the total amount of lines in your files.

.Topic IDC_NETLINESC
The total amount of lines, minus the blank lines.

.Topic IDC_NETLINESP
The percent of net lines from the total amount of lines in your files.

.Topic IDC_NETCODEC
The total amount of lines that have code in them; both pure 

code lines and lines with mixed codes and comments.

.Topic IDC_NETCODEP
The percent of code lines (with and without comments) from 

the total amount of lines in your files.

.Topic IDC_UNDO
Click this button to undo/redo the last operation.

.Topic IDC_DELETEEXT
Click this button to delete the active selection.

.TOPIC IDC_INSERTEXT
Click this button to insert a new item to the list.

.Topic IDC_CHECKCOMMENTS
When enabled, source code lines with C/C++ style comments are counted

separately from the rest of the source code lines.  Mixed lines (lines

with both code and comments) are also counted separately.

.Topic IDC_COUNTBLANK
When enabled, blank lines are counted separately from code/comment lines.

However, with this option disabled, blank lines are counted as regular

code/comment lines: Blank lines appearing inside /* */ style comments

are counted as comment lines, all others as code lines.

.Topic IDC_TITLE
Project Line Counter Add-In

     by Oz Solomonovich

.Topic IDC_ACTIVEONLY
When selected, only the files of the active project are counted.


A DevStudio workspace can have more than one project.  The active

project is the one that DevStudio builds, and is indicated in bold.

.Topic IDC_EXPORT
Exports the results to a text report file.

.Topic IDC_FILESUMMARY
Displays a report of file distribution by extension.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Experion
Canada Canada
You may know Oz from his WndTabs days. Oz has long since left client side development to work on web technologies and to consult in the R&D management field.

Comments and Discussions