首页 | 本学科首页   官方微博 | 高级检索  
     检索      

面向对象软件耦合的度量和验证
引用本文:李必信.面向对象软件耦合的度量和验证[J].东南大学学报(自然科学版),2006,36(3):446-451.
作者姓名:李必信
作者单位:东南大学计算机科学与工程学院,南京,210096;计算机软件新技术国家重点实验室(南京大学),南京,210039
基金项目:中国科学院资助项目,国家重点实验室基金
摘    要:在研究面向对象软件度量过程中,提出了一种基于程序切片和信息流分析技术的面向对象软件耦合性度量方法.该方法首先计算面向对象程序的前向切片和后向切片,然后通过信息流分析技术分析程序中可能存在的输入耦合、输出耦合、I/E耦合,单向耦合、双向耦合和无耦合等6种耦合情况,并根据程序切片计算信息流的绝对量和信息流的宽度,进一步在此基础上计算面向对象程序中2个组件之间的耦合系数和某个组件自身的耦合度.最后通过理论证明和经验分析的方法验证了基于程序切片耦合度量的正确性和有效性.

关 键 词:面向对象  基本组件  耦合性度量  理论验证  经验分析
文章编号:1001-0505(2006)03-0446-06
收稿时间:10 19 2005 12:00AM
修稿时间:2005-10-19

Measurement and validation of object-oriented software coupling
Li Bixin.Measurement and validation of object-oriented software coupling[J].Journal of Southeast University(Natural Science Edition),2006,36(3):446-451.
Authors:Li Bixin
Institution:1.School of Computer Science and Engineering, Southeast University, Nanjing 210096, China;2.State Key Laboratory of Novel Software Technology (Nanjing University
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.
Keywords:object-oriented  basic component  coupling measurement  theoretical validation  empirical analysis
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号