[1]李必信.面向对象软件耦合的度量和验证[J].东南大学学报(自然科学版),2006,36(3):446-451.[doi:10.3969/j.issn.1001-0505.2006.03.024]
 Li Bixin.Measurement and validation of object-oriented software coupling[J].Journal of Southeast University (Natural Science Edition),2006,36(3):446-451.[doi:10.3969/j.issn.1001-0505.2006.03.024]
点击复制

面向对象软件耦合的度量和验证()
分享到:

《东南大学学报(自然科学版)》[ISSN:1001-0505/CN:32-1178/N]

卷:
36
期数:
2006年第3期
页码:
446-451
栏目:
计算机科学与工程
出版日期:
2006-05-20

文章信息/Info

Title:
Measurement and validation of object-oriented software coupling
作者:
李必信
东南大学计算机科学与工程学院, 南京 210096; 计算机软件新技术国家重点实验室(南京大学), 南京 210039
Author(s):
Li Bixin
School of Computer Science and Engineering, Southeast University, Nanjing 210096, China
State Key Laboratory of Novel Software Technology(Nanjing University), Nanjing 210039, China
关键词:
面向对象 基本组件 耦合性度量 理论验证 经验分析
Keywords:
object-oriented basic component coupling measurement theoretical validation empirical analysis
分类号:
TP311
DOI:
10.3969/j.issn.1001-0505.2006.03.024
摘要:
在研究面向对象软件度量过程中,提出了一种基于程序切片和信息流分析技术的面向对象软件耦合性度量方法.该方法首先计算面向对象程序的前向切片和后向切片,然后通过信息流分析技术分析程序中可能存在的输入耦合、输出耦合、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.

参考文献/References:

[1] Weiser M.Program slicing[J].IEEE Trans on Software Engineering,1984,10(4):352-357.
[2] Longworth H D.Slice-based program metrics[D].City of Houghton:Department of Computer Science,Michigan Technological University,1985.
[3] Ott L M,Thuss J J.Slice based metrics for estimating cohesion[C] // Briand L,ed. Proc of 1993 IEEE-CS Int Software Metrics Symposium.Washington,DC,USA:IEEE Computer Society Press,1993:71-81.
[4] Harman M,Okunlawon M,Sivagurunathan B,et al.Slice-based measurement of coupling[C] //Harrison R,ed.Proc of IEEE/ACM ICSE Workshop on Process Modeling and Empirical Studies of Software Evolution.Boston,USA:IEEE Computer Society Press,1997:26-32.
[5] 李必信,杨朝晖,郑国梁,等.一种基于切片技术度量JAVA耦合性的框架[J].计算机学报,2001,24(3):259-265.
  Li Bixin,Yang Zhaohui,Zheng Guoliang,et al.A framework for measuring Java programs based on program slicing [J]. Chinese Journal of Computer,2001,24(3):259-265.(in Chinese)
[6] Shepperd M.Foundations of software measurement[M].Prentice Hall,1995:101-139.
[7] Briand L,Daly J W,Wuest J.Theoretical and empirical validation of software product measures[R].International Software Engineering Research Network,SERN-95-03,1995.
[8] Ottenstein K J,Ottenstein L M.The program dependence graph in a software development environment[J].ACM Software Engineering Notes,1984,19(3):177-184.
[9] Horwitz S,Reps T,Binkley D.Interprocedural slicing using dependence graphs[J]. ACM Transactions on Programming Languages and Systems,1990,12(1):26-60.
[10] Larsen L D,Harrold M J.Slicing object-oriented software[C] //Proc of International Conference on Software Engineering.Washington,DC,USA:IEEE Computer Society Press,1996:495-505.
[11] Zhao J,Cheng J,Ushijima K.Static slicing of concurrent object-oriented programs[C] //Proc of 20th Computer Software and Applications Conference.Seoul,Korea,1996:312-320.
[12] Li Bixin,Fan Xiaocong,Pang Jun,et al.A model for slicing Java programs hierarchically[J]. Journal of Computer Science and Technology,2004,19(6):848-858.
[13] Li Bixin.A technique to analyze information-flow in object-oriented programs[J]. Journal of Information and Software Technology,2003,45(6):305-314.

相似文献/References:

[1]金霞,许超.面向对象的立体定向微侵袭计算系统分析[J].东南大学学报(自然科学版),2000,30(5):12.[doi:10.3969/j.issn.1001-0505.2000.05.003]
 Jin Xia,Xu Chao.Object Oriented Analysis for Developing 3D Directional Micro-Invading Programming System[J].Journal of Southeast University (Natural Science Edition),2000,30(3):12.[doi:10.3969/j.issn.1001-0505.2000.05.003]
[2]梅姝娥,仲伟俊.面向对象企业集成化信息系统的开发[J].东南大学学报(自然科学版),1999,29(4):17.[doi:10.3969/j.issn.1001-0505.1999.04.004]
 Mei Shue,Zhong Weijun.Development of Object-Oriented Enterprise Integrated Information Systems[J].Journal of Southeast University (Natural Science Edition),1999,29(3):17.[doi:10.3969/j.issn.1001-0505.1999.04.004]

备注/Memo

备注/Memo:
基金项目: 国家自然科学基金资助项目(60473065)、计算机软件新技术国家重点实验室(南京大学)2005年开放课题资助项目.
作者简介: 李必信(1969—),男,博士,教授,bx.li@seu.edu.cn.
更新日期/Last Update: 2006-05-20