代码统计工具现在有基本三类:
1. 统计单个项目代码行数,等等基础数据 (这种很多)
2. 可以比较项目间的不同(CCT 为代表)
3. 通过版本控制系统对应的数据进行统计(WinCVS---->StatCVS , SVN---->TortoiseSVN ,StatSVN)
An Overview of Code Count Tool V2.0
Code Size Counting tool CCT is developed according to the special requirement of HW company. It can count the NBNC(non blank non comment line) size of single version or size of enhanced version by compare the current version and base version.
CCT support many code languages by identify the extension name of a file, the language covers C/C++/JAVA/DELPHI/PASCAL/SQL/JSP/HTML/XML etc.
CCT V2.0 is an enhance version of CCT V1.0, the statistical strategy is same as the CCT V1.0, after delete the comment statements, sum up the new add and modified lines size to get the equivalent size. (If there exist a file in this current version whose name is same as more than one files in base version, CCT will compare this file against each same-name-file in base version respectively, and choose the minimal size as this file size.)
代码统计工具CCT V2.0简介