Environment: Visual C++ 5 (and greater)
Features
- Varied statistical data about your source code, including:
- Number of lines
- Lines with code
- Lines with C/C++ style comments
- Mixed lines (code and comments)
- Reports the distribution of files in your project, by extension. NEW!
- Can export the statistical data to a text report file. NEW!
- Automatic scan of your project file.
- Single-click activation.
- Various parsing options.
- Online help.
- Full source code.
The Source Code
Line Counter is a demo/proof of concept application for demonstrating various technologies:
- Reusable components from WndTabs (pluggable online help, registry configuration, etc.)
- The Add-In Communication Library.
- Joshua Jensen’s Workspace Whiz! Interface.
All of these components are discussed in detail in the add-in’s on-line help file.
What’s New?
Version 1.10 is a maintenance release, with some new features and a few internal changes:
- Line-Counter no longer uses the STL, and dependencies on the various STL runtime libraries (such as MSVCP60.dll) has been removed.
- New feature: A file summary dialog which displays the distribution of files by extension.
- New feature: Ability to export the statistical results as a simple text report.
- The old HTML Help support module (HTMLHelpBase.cpp) has been replaced with a new and much improved support module (HHSupp.cpp). Unlike the old HTMLHelpBase which only handled help for dialogs and property pages, the new support module supports full MFC applications. There have also been improvements in the dialog handling code.
Notes
Be sure to check out the WndTabs Web site which is more likely to have updates and betas of Line Counter.
Downloads
Download binaries (v1.11) – 117 KB
Download binaries with source (v1.11) – 221 KB