岁月留声QtAsp

Qt in Linux , Asp Asp.net Jsp Php in Web

« 在Visual Web Developer 2008 中添加AJAX Control ToolkitWireshark 简介 »

Code Count Tool V2.0

代码统计工具现在有基本三类:
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简介 

代码规模统计工具CCT是根据华为公司的项目特点而开发的软件规模统计工具;它既可以统计指定版本的非空非注释(NBNC)行,也可以通过比较当前版本和基础版本,计算新增修改规模得到增强项目的规模。

CCT通过辨认不同的扩展名支持对多种语言的规模统计,包括C,C++,JAVA,DELPHI,汇编(ASM),SQL,JSP,ASP,HTML和TXT等文件。

CCT V2.0是CCT V1.0的增强版本,其统计所依据的原理与CCT V1.0版本相同,在删除了代码中的注释语句之后,使用交付版本的文件与原始版本的同名文件相比较,统计规模为新增和修改规模之和。(当基础版本中存在多个文件与当前版本的某个文件同名时,使用当前版本的文件与所有原始版本中的同名文件相比较,取最小的结果作为该文件的规模)。

 

  • 相关文章:
  • quote 1.xdbingyu
  • 你好大侠,CCT2.0工具哪里有下载,你有吗可否给我发一份,非常感谢
    admin 于 2009-4-12 18:20:50 回复
    兄弟, 搜一下 “华为 CCT” csdn上有个
  • 2009-4-12 5:32:15 回复该留言
  • quote 2.张伟军
  • Hi ,您好,
    我在CSDN下载的不能用,总是报错,说我少了DAO什么的数据,
    您知道如何解决吗?或是你有这个工具吗?谢谢!

    //BR
    zhang weijun
  • 2009-8-7 10:28:40 回复该留言

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

Search

  •  

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80722 Code detection by Codefense

Copyright 2008-2011 京公网安备 110115000655 京ICP备09005635号 www.qtasp.cn WebSite. All Rights Reserved.