Microsoft & .NETVisual BasicProject Line Counter Add-In

Project Line Counter Add-In

Developer.com content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.


Line Counter Main Dialog

Line Counter Main DialogProject Statistics

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:

  1. Reusable components from WndTabs (pluggable online help, registry configuration, etc.)
  2. The Add-In Communication Library.
  3. 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.

See the full version history.

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

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Latest Posts

Related Stories