节点文献
面向对象软件耦合的度量和验证
Measurement and validation of object-oriented software coupling
【摘要】 在研究面向对象软件度量过程中,提出了一种基于程序切片和信息流分析技术的面向对象软件耦合性度量方法.该方法首先计算面向对象程序的前向切片和后向切片,然后通过信息流分析技术分析程序中可能存在的输入耦合、输出耦合、I/E耦合,单向耦合、双向耦合和无耦合等6种耦合情况,并根据程序切片计算信息流的绝对量和信息流的宽度,进一步在此基础上计算面向对象程序中2个组件之间的耦合系数和某个组件自身的耦合度.最后通过理论证明和经验分析的方法验证了基于程序切片耦合度量的正确性和有效性.
【Abstract】 During the exploration of software metrics,an approach to measuring the degree of software coupling in object-oriented programs is presented based on program slicing and information-flow analysis.According to the approach,the forward slices and backward slices are computed at first,the information-flow analysis techniques are borrowed to analyze the six possible coupling,(i.e.) import coupling,export coupling,import/export coupling,unidirectional coupling,bidirectional coupling and no coupling.It is easy to compute the coupling coefficient between two basic components or the degree of coupling of a basic component in object-oriented programs based on the computation of the absolute information-flow and the width of information-flow.The results of theoretical validation and empirical analysis show that this approach is correct and valid.
【Key words】 object-oriented; basic component; coupling measurement; theoretical validation; empirical analysis;
- 【文献出处】 东南大学学报(自然科学版) ,Journal of Southeast University(Natural Science Edition) , 编辑部邮箱 ,2006年03期
- 【分类号】TP311.52
- 【被引频次】7
- 【下载频次】306