[an error occurred while processing this directive]
���¿��ټ��� �߼�����
   ��ҳ  �ڿ�����  ��ί��  Ͷ��ָ��  �ڿ�����  ��������  �� �� ��  ��ϵ����
�������պ����ѧѧ�� 2005, Vol. 31 Issue (02) :128-133    DOI:
���� ����Ŀ¼ | ����Ŀ¼ | ������� | �߼����� << | >>
��ŵ, ��ï��, ����*
�������պ����ѧ �����ѧԺ, ���� 100083
Implementation and evaluation of measurement tool for Java
Li Nuo, Jin Maozhong, Liu Chao*
School of Computer Science and Technology, Beijing University of Aeronautics and Astronautics, Beijing 100083, China

Download: PDF (867KB)   HTML 1KB   Export: BibTeX or EndNote (RIS)      Supporting Info
ժҪ ��������������������,�������Java���Ե�McCabe,Halstead��WMC���ӶȵĶ���,�����һ���µ�����Java���ԵĶ������ߵ�ʵ�ַ���,����ͨ��ʵ������˵�����øù��߶���Java����,ijЩ����ֵ�ߵ�ģ���߼����ӡ����������״�����ά��,�Ӷ�����������Ա�ص������Щģ��,ͬʱҲʹ������Ա��ע����,��ϸ�������߼�,���к����Ż�,ʹ��������ĸ��ӶȽ���.ȷ��ʵ�����ݱ���,��������ԸĽ�����������кܴ�ʵ�ü�ֵ.�����߲������¶�����׼����Java����:��Լ̳и����Ե�DIT(Depth of Inheritance Tree)��NOC(Number Of Children)���Ӷ�;���ģ�鸴���Ե�McCabe��������Halstead�����ѧ������WMC(Weighted Methods per Class)���Ӷ�;����������ԡ��ۼ��Ե�RFC(Response for a Class)������.ÿ�ָ��ӶȴӲ�ͬ���桢��ͬ��ζ���Java����,�Ӷ���Чȫ��������������,��ʾ�������صĴ���.
Email Alert
�ؼ����� �������   ��������   Java����     
Abstract�� 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.
Keywords�� softwares metric   metric tools   Java     
Received 2004-06-20;


About author: �� ŵ(1981-),Ů,������,��ʿ��, seraphic@sei.buaa.edu.cn.
��ŵ, ��ï��, ����.Java����������ߵ�ʵ�ּ���������[J]  �������պ����ѧѧ��, 2005,V31(02): 128-133
Li Nuo, Jin Maozhong, Liu Chao.Implementation and evaluation of measurement tool for Java[J]  JOURNAL OF BEIJING UNIVERSITY OF AERONAUTICS AND A, 2005,V31(02): 128-133
http://bhxb.buaa.edu.cn//CN/     ��     http://bhxb.buaa.edu.cn//CN/Y2005/V31/I02/128
Copyright 2010 by �������պ����ѧѧ��