摘要
关于面向对象的软件耦合性度量方法的研究,能够有效降低软件系统开发成本,提高系统可用性和灵活性。对软件耦合性进行度量,需要构造投影指标函数,得到面向对象软件耦合性度量阈值,完成面向对象的软件耦合性度量。传统方法获取类间的继承关联性,计算耦合因子,但忽略了得到面向对象软件耦合性度量阈值,导致度量精度偏低。提出基于复杂网络的面向对象软件耦合性度量方法。该方法定义面向对象软件系统的二分图,组建特殊二分图耦合关系模型,计算出软件系统加权平均扇出数,计算出类和类间的连边,选取软件耦合性度量指标,将对象软件耦合性度量样本的各指标值进行线性归一化处理,构造投影指标函数,得到面向对象软件耦合性度量阈值,以此为依据对面向对象软件耦合性进行度量。实验结果表明,所提方法度量精度高,大幅度提升了软件开发的技术水平。
A coupling measurement method of object-oriented software based on complex network is proposed. Firstly, a bipartite graph of system of the object-oriented software is defined, and a coupling relation model of special bipartite graph is built, then weighted average number of fan-outs of software system and edge between classes is worked out. Moreover, the index of coupling measurement of software is selected and linear normalization processing for each index value of sample of the coupling measurement is carried out. The function of projection index is built and the threshold value of the coupling measurement is obtained. Finally, the coupling of the object-oriented software is measured. Experimental results show that the method has high measurement precision. It improves technological level of software development by a large margin.
作者
顾爱华
周晓峰
李宗花
李勤丰
GU Ai-hua;ZHOU Xiao-feng;LI Zong-hua;LI Qin-feng(School of Computer and Information Engineering, Hohai University, Nanjing Jiangsu 211100, China)
出处
《计算机仿真》
北大核心
2017年第11期296-299,共4页
Computer Simulation
关键词
面向对象软件
耦合性度量
方法设计
Object-oriented software
Coupling measurement
Method design