Volume 31 Issue 02
Feb.  2005
Turn off MathJax
Article Contents
Li Nuo, Jin Maozhong, Liu Chaoet al. Implementation and evaluation of measurement tool for Java[J]. Journal of Beijing University of Aeronautics and Astronautics, 2005, 31(02): 128-133. (in Chinese)
Citation: Li Nuo, Jin Maozhong, Liu Chaoet al. Implementation and evaluation of measurement tool for Java[J]. Journal of Beijing University of Aeronautics and Astronautics, 2005, 31(02): 128-133. (in Chinese)

Implementation and evaluation of measurement tool for Java

  • Received Date: 20 Jun 2004
  • Publish Date: 28 Feb 2005
  • Introduce object-oriented metrics; define the detailed definitions of McCabe, Halstead and weighted methods per class(WMC) for Java; a new method for implementation of measurement tool for Java was offered; demonstration for using this tool to optimize program and enhance software quality was also given. Experiments show that this tool helps programmers to improve program effectively. They also show that the module with high measurement value are inclined to be complex, fallible, hard to maintain and need consume amount of labor, so testers have to pay more attention to test those modules. Developers must re-exam those modules, check their logic, and try to optimize them to depress their measurement value. By providing adequate experiment data, The results show that software measurement plays an essential roll for improving software quality. The metrics used are depth of inheritance tree(DIT), number of children(NOC), McCabe, Halstead, weighted methods per class(WMC) and response for a class(RFC). They help programmers analyze Java program at three aspects——the inheritance metrics, the module complexity metrics, and the communication metrics. So each kind of the metrics measures Java program from different aspects, evaluates the software quality effectively, and reveals the probable bugs.

     

  • loading
  • [1] Systa T, Yu Ping, Muller H. Analyzing Java software by combining metrics and program visualization . Software Maintenance and Reengineering . Zurich Switzerland, 2000. 199~208 [2] Pressman R S. 软件工程——实践者的研究方法[M]. 梅 宏译. 第5版. 北京:机械工业出版社, 2002. 469~471 Pressman R S. Software engineering a practitioner's approach [M]. Translated by Mei Hong. Fifth Edition. Beijing:China Machine Press, 2002. 469~471(in Chinese) [3] 夏红霞, 童维农, 邹承明, 等. 软件复杂性度量系统的研制[J]. 计算机应用, 2000,20(4):16~17 Xia Hongxia, Tong Weinong, Zou Chenming, et al. Development of a software complexity evaluation system [J]. Computer Applications, 2000, 20(4):16~17(in Chinese) [4] Fenton N E, Pfleeger S L. Software metrics:a rigorous & practical approach[M]. Beijing:Tsinghua Press, 2003. 250 [5] Telelogic. Telelogic tau logiscope 5.1 audit-basic concepts . http://www.telelogic.com/support, 2002-01/2004-05-16 [6] Sun Microsystems. Java compiler compiler . https:javacc.dev.java.net/, 2003-01-14/2004-05-16 [7] Erich G. 设计模式:可复用面向对象软件的基础 [M]. 李英军译. 北京:机械工业出版社, 2000. 218~228 Erich G. Design patterns:elements of reusable object-oriented software . Translated by Li Yinjun. Beijing:China Machine Press, 2000. 218~228 (in Chinese)
  • 加载中

Catalog

    通讯作者: 陈斌, bchen63@163.com
    • 1. 

      沈阳化工大学材料科学与工程学院 沈阳 110142

    1. 本站搜索
    2. 百度学术搜索
    3. 万方数据库搜索
    4. CNKI搜索

    Article Metrics

    Article views(3663) PDF downloads(1597) Cited by()
    Proportional views
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return