Click here to Skip to main content
Click here to Skip to main content

Counting version1.1

By , 27 Jan 2004
 

Sample Image - main_en.gif

Introduction

In working, we often need to count how many lines our programmers have developed, including source code lines, comment lines and blank lines. This software, Counting ver1.1, is designed for that purpose. At first, I developed it to count my VC++ source code. Later, it was upgraded to count files such as VB, Java, ASP, JSP and so on. By comparison, I found Counting is more quick and more accurate, especially for some unfamiliar instances.

Advantages

  1. Accurate: This function is absolutely necessary for any line-counting software. For that purpose, I created one test file (test.cpp), in which I designed some reasonable code lines but can be easily wrong counted. Counting (ver1.1) can count lines in test.cpp accurately.
  2. More quick: Due to proper process and good algorithms, Counting can count lines very quickly.
  3. Easy to use: Counting is easy to use and doesn’t need to be installed.

How to use?

  • Input file name or extension in the “file or extension” (like .cpp;*.c;*.h or counting.cpp; setting.c; resource.h), separated by “: , :”. Click the combo box and you can select some extensions.
  • Input path in the “searching in” combo box.
  • You can select whether to count in subfolder.
  • Click “Count” button to begin counting, click again to stop counting.
  • You can click “Save” button to save the counting result to a text file, Excel file or CSV file.
  • Double click the control list to open the file.
  • If code and comment lie on the same line, you can select different method to count in Setting dialog box.

Statement of the Author:

This software is an open source. You can use it freely but don't remove any declaration about the author. Please let me know of any problems or improvements. Also you can download the latest version on my personal homepage. Thanks and good luck. My Email: xiaogi@sohu.com.

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

xiaogi
Web Developer
China China
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionResource leakmemberrushiraj.jhala23 Mar '07 - 21:19 
Generalanother source code file analyzermemberKingMarine27 Jan '05 - 17:17 
GeneralRe: another source code file analyzermember.dan.g.24 Mar '06 - 21:05 
GeneralLatest Versionmember99agrawala29 Oct '04 - 10:45 
GeneralDefinition of LOCmemberThomas Pfleger4 Feb '04 - 0:15 
GeneralRe: Definition of LOCmemberxiaogi15 Feb '04 - 3:02 
QuestionTool for dumb managers?memberAlex Farber29 Jan '04 - 1:26 
AnswerRe: Tool for dumb managers?memberHeywood29 Jan '04 - 2:22 
Hahaha
 
I'd say any manager who counted program lines was about as useful as tits on a bull.
 
It's always been my personal programming style to code with the most effective and efficient use of the language... and that results in fewer lines of code compared to... say what a beginner might do.
GeneralCounting Program Lines?memberDavidFMayerPhD17 Nov '08 - 7:24 
AnswerRe: Tool for dumb managers?memberxiaogi29 Jan '04 - 13:32 
AnswerRe: Tool for dumb managers?memberThomas Pfleger4 Feb '04 - 0:05 
Generalbig resource-leakmemberDieter Hammer28 Jan '04 - 20:48 
GeneralRe: big resource-leakmemberxiaogi29 Jan '04 - 13:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 28 Jan 2004
Article Copyright 2004 by xiaogi
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid