期刊文献+

基于继承的内聚度度量方法研究

An Approach to the Measurement of Class Cohesion Based on Inheritance
下载PDF
导出
摘要 本文首先介绍了面向对象软件的特征,然后具体分析了C&K度量法,着重分析了其中与类继承相关的继承树深度(DIT)和孩子数目(NOC)度量准则。在此基础上,通过分析超类与其子类中元素(方法和属性)的继承关系,提出了基于继承的内聚度度量方法,从而克服了C&K度量法中对类继承性、多态性方面度量的不足,为综合评价类的内聚度提供了指南。 In this paper, we firstly introduce the common characteristics of object-oriented software, describe the C&K metrics suite, and focuses on analysing the criterion for DIT and NOC which is dependent on inheritance, Based on this, the paper analyzes the inheritance of the elements(method and attribute) in the super classes and the derived classes,and proposes a new class cohesion measurement model that will overcome the flaws of the C&K metrics in inheritance and polymorphism, and provides a new guide to evaluating the cohesion between the classes.
出处 《计算机工程与科学》 CSCD 2008年第4期89-91,127,共4页 Computer Engineering & Science
关键词 软件度量 面向对象 内聚 继承 software metric object-oriented cohesion inheritance
  • 相关文献

参考文献13

二级参考文献71

  • 1袁望洪.[D].,.
  • 2徐宝文 陈振强 周晓宇.基于依赖性分析的面向对象Ada95程序切片[J].软件学报,2001,12:208-213.
  • 3Mark Priestley. Practical Object-Oriented Design With UML[M].McGraw-Hill Companies, Inc, 2000-01:111~152
  • 4Grady Booch,James Rumbaugh,Ivar Jacobson. Unified Modeling Languagn User Guide(in Chinese)[M].Beijing:China Machine press,2001
  • 5James Rumbaugh,Ivar Jacobson,Grady Booch. Unified Modeling Language Reference Manual(in Chinese)[M].Beijing:China Machine press,2001
  • 6Jones C.Applied Software Measurement[M].Mcgraw-hill,1986:36~126
  • 7N E Fenton.Software Metrics,A Rigorous Approach[M].New York:Chapman & Hal1,1991:45~78
  • 8Chidamber R,Kemerer F.A metrics suite for object-oriented design[J].IEEE Trans on Software Engineering,1994;20:45~66
  • 9Zhao J.Dyamic Slicing Object-Oriented Programs[R].Technical Report,SE-9811, Information Processing Society of Japan, 1998:17~23,http://www.fit.ac.jp/~zhao
  • 10Ivar Jacobson,Grady booch ,James Rumbaugh.the Unified Software Development Process[M].Addison Wesley Longman,Inc,1999:26~80

共引文献36

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部