标题: 物体导向软体之复杂性量测之实验研究
An Experimental Study of Software Complexity Metrics for Object- Oriented Programs
作者: 梁宾先
Bin-Shiang Liang
王丰坚
Feng-Jian Wang
资讯科学与工程研究所
关键字: 实验研究; 软体量测; 软体复杂性; 物体导向程式; 资讯流; 软体科学;ExperimentalStudy;SoftwareMetrics,Complexity; Object- orientedProgram;InformationFlow;SoftwareScience
公开日期: 1992
摘要: 物体导向程式规划已经广泛且逐渐被认识到可产生更能再利用之程式及减
少程式发展时间。复杂性普遍被用为一种估算发展程式之资源花费及预测
程式之可靠性和维修性。我们已发展一组以资讯流为基的物体导向程式之
复杂性量测。此论文中并提出一个实验研究,设计来证实此一组量测。此
实验被指导来计算用C++语言所写的方法,类别,类别阶层和整个程式
之复杂性和发展成本。结果显示某一程式对象用我们提出的量测所得出复
杂性与此对象发展时所花费的时间,产生的错误数目,修改的次数不仅相
关且敏感。对于类别阶层和整个系统之复杂性测量似乎由其元件方法或类
别之复杂性加总较好。
Object-Oriented programming (approach) has been recognized
prevalently and increasingly for its advantages of producing
more reusable programs and reducing developing time. Complexity
was commonly used as an attribute for assessing the resources
spent and for predicting reliability and maintainability of a
program. We have developed a set of complexity metrics, based
on information flow, for object-oriented programs. This thesis
presents an experimental study designed to validate the
metrics. The experiment was conducted to calculate the
complexity and development cost of methods, classes, class
hierarchies, and programs in C++ language. The results show
that the complexity of a program entity that is measured by the
proposed metrics is correlated with and sensitive to the
efforts, number of errors, and number of changes of the entity
during programming development. The complexity measurement of
class hierarchy and system seems better to be done by summing
from the complexity of their component methods or classes.
URI: http://140.113.39.130/cdrfb3/record/nctu/#NT810392042
http://hdl.handle.net/11536/56772
显示于类别:Thesis