Source Statistics Wizard |
Source Statistics Wizard
This wizard can Calculate the lines of Pascal/C++ codes in Delphi and C++Builder IDE. It can do the statistics works from several methods as below:
Calculate current unit.
Calculate all files in current project.
Calculate all files in current projectgroup.
Calculate all opened files in IDE.
Calculate files in a directory with extensoin filtering.
When user click 'Source Statistics...' in 'CnPack' menu, a statistics dialog appears as below to let user choose count mode:
After user click 'Calculate' button, this wizard can analysis selected files and give the results in the statistics result window.
The result window of this wizard is as below:
The statusbar displays file counts, summary bytes and effective lines of all calculated files. Here 'effective lines' means none-blank lines. If one lines contains both code and comment, it will be counted both into lines of codes and lines of comments.
Note: {$...} in Pascal codes will be treated as comments, while #... in C++ as codes.
Other Introduction
The result window provides some functions to process the statistics results. Also, statistics dialog can be shown again to select what to calcuate and re-calclate them.
You can double click a file in tree list to open it in IDE. Statistic results can be save to TXT file or CSV file seperated by comma or Tab.
If there were many files in statistices, you can use 'Search File...' to search the file and locate it.
Links