Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

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

, 29 Jun 2003
Get statistics about your source code with a click of a button
linecount_dll.zip
linecount_src.zip
Help
arrowrt.gif
Index.hhk
LineCount.chm
LineCount.hhp
mailto.gif
metl011.gif
PLC.gif
small_exclamation.gif
TOC.hhc
weblink.gif
res
idr_main.ico
project.ico
TBarLrge.bmp
TBarMedm.bmp
title.ico
ExtrnSrc
Release
LineCount.dll
WWhizInterface.mod
LineCount.chm
plc110src.zip
plc111.zip
plc111src.zip
Source
LineCount.dsw
LineCount_VC5.dsw
LineCount.dsp
LineCount_VC5.dsp
LineCount.odl
LineCount.def
Help
.cvsignore
Index.hhk
LineCount.hhp
PLC.gif
TOC.hhc
arrowrt.gif
mailto.gif
metl011.gif
small_exclamation.gif
weblink.gif
res
TBarLrge.bmp
TBarMedm.bmp
idr_main.ico
project.ico
title.ico
ExtrnSrc
Debug
WWhizInterface2D.mod
plc150.zip
Reports
SampleAnalysis.xls
Simple-BW.xsl
Simple-Color.xsl
plc150src.zip
SampleAnalysis.xls
Simple-BW.xsl
Simple-Color.xsl
LineCount.dsw
LineCount.dsp
LineCount.odl
LineCount.def
LineCount.clw
.cvsignore
TOC.hhc
linecount.hhp
arrowrt.gif
Index.hhk
PLC.gif
mailto.gif
small_exclamation.gif
weblink.gif
info_dot_small.gif
TBarLrge.bmp
idr_main.ico
project.ico
HdrDownA.bmp
HdrUpA.bmp
title.ico
info.ico
TBarMedm.bmp
WWhizInterface2D.mod
plc200.zip
plc200src.zip
.cvsignore
LineCount.def
LineCount.dsp
LineCount.dsw
LineCount.odl
ResizableLib
.cvsignore
ResizableLib.dsp
ResizableLib.dsw
.cvsignore
Index.hhk
LineCount.hhp
PLC.gif
TOC.hhc
arrowrt.gif
info_dot_small.gif
mailto.gif
small_exclamation.gif
weblink.gif
ObjModelVC6
ObjModelVC7
MSADDNDR.tlh
MSO.tlh
dte.tlh
HdrDownA.bmp
HdrUpA.bmp
LineCountVC6.rgs
LineCountVC7.rgs
TBarLrge.bmp
TBarMedm.bmp
idr_main.ico
info.ico
lcgo.bmp
project.ico
title.ico
WWhizInterface2D.mod
plc210.zip
plc210src.zip
.cvsignore
LineCount.def
LineCount.dsp
LineCount.dsw
LineCount.odl
.cvsignore
ResizableLib.dsp
ResizableLib.dsw
.cvsignore
Index.hhk
LineCount.hhp
PLC.gif
TOC.hhc
arrowrt.gif
info_dot_small.gif
mailto.gif
small_exclamation.gif
weblink.gif
MSADDNDR.tlh
MSO.tlh
dte.tlh
HdrDownA.bmp
HdrUpA.bmp
LineCountVC6.rgs
LineCountVC7.rgs
TBarLrge.bmp
TBarMedm.bmp
gallery.xsl
idr_main.ico
info.ico
lcgo.bmp
project.ico
title.ico
WWhizInterface2D.mod
.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

About the Author

Oz Solomon
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.

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 30 Jun 2003
Article Copyright 2000 by Oz Solomon
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid