计算机科学 ›› 2017, Vol. 44 ›› Issue (12): 150-155.doi: 10.11896/j.issn.1002-137X.2017.12.029

• 软件与数据库技术 • 上一篇    下一篇

类设计质量评估方法的研究

胡文生,杨剑锋,赵明   

  1. 贵州理工学院电气与信息工程学院 贵阳550003,贵州理工学院电气与信息工程学院 贵阳550003,贵州可靠性工程研究中心 贵阳550005;耶夫勒大学技术学院 耶夫勒SE-80176
  • 出版日期:2018-12-01 发布日期:2018-12-01
  • 基金资助:
    本文受贵州省科技合作计划项目(黔科合LH字[2015]7105),贵州省科技计划项目(黔科合基础[2016]1066),贵州省科学技术基金(黔科合J字[2015]2064),贵州理工学院高层次人才科研启动经费项目(XJGC20140703)资助

Methodology for Classes Design Quality Assessment

HU Wen-sheng, YANG Jian-feng and ZHAO Ming   

  • Online:2018-12-01 Published:2018-12-01

摘要: 详细介绍了C&K度量方法,结合灰色关联分析的相关理论,提出了一种基于C&K度量方法和灰色关联分析的类设计质量评估方法。依据C&K度量阈值及可接受类的定义,可以推导出面向对象程序设计中的最佳类设计标准。将各个类与最佳类设计标准进行灰色关联分析,从而评估类设计质量的优劣。该方法为程序设计人员提供了类设计质量优劣的判定依据,并保证其在软件生命周期的早期阶段及时发现设计质量低劣的类并做相应的处理,避免后期开发的软件产品出现故障,能显著提高软件产品的可靠性和可维护性。

关键词: C&K度量方法,灰色关联分析,设计质量,评估

Abstract: This paper introduced a metric suite of C&K suggested by Chidamber and Kemerer in detail,and combined with grey relational analysis theory.A methodology for classes design quality assessment based on a metric suite of C&K and grey theory was proposed.Firstly,this methodology provides the best class design standards according to the thresholds of C&K and the definition of acceptable class.The grey relational analysis is carried out between the best class design standards and all classes of an object-oriented program,and the worst class will be found.This methodology can help the software designers to find out the flawed classes in the early phases of the software life cycle,thereby improving the reliability and maintainability of software systems.

Key words: Metric suite of C&K,Grey relational analysis,Design quality,Assessment

[1] MARTIN J.An Information Systems Manifesto[M].UpperSaddle River,NJ,USA:Prentice Hall PTR,1986.
[2] HU W S,ZHAO M,WU S Y,et al.Requires analysis based on software maintainability[C]∥2014 International Conference Reliability,Maintainability and Safety(ICRMS).2014:354-357.
[3] HECTOR M.Olagu_assessing mainability information theorymetrics and iterative software processes [D].Huntsville:Alabama,2006:7-33.
[4] CHIDAMBER R,KEMERER F.A metrics suite of object-oriented design[J].IEEE Transactions on Software Engineering,1994,0(6):467-493.
[5] ABREU F B E,CARAPUCA R.Object-Oriented software engineering:measuring and controlling the development process[C]∥Proceedings of the 4th International Conference on Software Quality.McLean,Va,USA,1994:1-8.
[6] TEGARDEN D P,SHEETZ S D,MONARCHI D E.A software complexity model of object-oriented system[J].Decision Support Systems,1995,13(3/4):241-262.
[7] ETZKORN L,BANSIYA J,DAVIS C.Design and code com-plexity metrics for OO classes[J].Journal of Object Oriented Programming,1999,12(1):35-40.
[8] BANSIYA J,DAVIS C G.A Hierarchical Model for Object-Orien-ted Design Quality Assessment[J].IEEE Transactions on Software Engineering,2002,8(28):4-17.
[9] SURESH Y,KUMAR L,RATH S K.Statistical and Machine Learning Methods for Software Fault Prediction Using CK Me-tric Suite:A Comparative Analysis[C]∥ISRN Software Engineering.2014:1-15.
[10] DUBEY S K,RANA A.Assessment of Maintainability Metrics for Object-Oriented Software System[J].ACM SIGSOFT Software Engineering Notes Page1,2011,6(5):1-7.
[11] LI X K,LIU Z T,PAN B,et al.Software and Research on Mea-sure Experiments[J].Chinese Journal of Computers,2000,23(11):1220-1225.(in Chinese) 李心科,刘宗田,潘飚,等.一个面向对象软件度量工具的实现和度量实验研究[J].计算机学报,2000,23(11):1220-1225.
[12] 刘思峰,谢乃明.灰色系统理论及其应用(第六版)[M].北京:科学出版社,2016.
[13] LIU S F,CAI H,YANG Y J,et al.Advance in grey incidence analysis modelling[J].Systems Engineering-Theory & Practice,2013,33(8):2041-2046.(in Chinese) 刘思峰,蔡华,杨英杰,等.灰色关联分析模式研究进展[J].系统工程理论与实践,2013,33(8):2041-2046.
[14] LORENZ M.Object-Oriented Software Development:A Practical Guide[M].Englewood Cliffs,N.J.:PTR Prentice Hall,1993.
[15] ROSENBERG L,STAPKO R,GALLO A.Object-oriented Me-trics for Reliability[C]∥Presentation at IEEE International Symposium on Software Metrics.1999.
[16] SHATNAWI R,LI W,SWAIN J,et al.Finding software metrics threshold values using ROC curves[C]∥Journal of Software Maintenance and Evolution:Reseach and Practice.Res(Pract 2010).2010:1-16.
[17] D’AMBROS M,LANZN M.Reverse engineering with logicalcoupling[C]∥IEEE Computer Society Proceedings of the 13th Working Conference on Reverse Engineering.Washington,D C,USA,2006:189-198.
[18] KHAN T,BARTHEL H,EBERT A,et al.Visualization andEvoluton of Software Architectures[C]∥Visualization of Large and Unstructured Data Sets Workshop.2011:25-42.
[19] ZHANG Y,TAO J,QIAN L Q.A Metrics Suite for Class Complexity Based on UML[J].Computer Science ,2002,29(10):128-132.(in Chinese) 张涌,陶隽,钱乐秋.一种基于UML的类复杂性度量方法[J].计算机科学,2002, 29(10):128-132.
[20] FU X D,ZOU P.A Measurement Method of structural complexi-ty for UML class diagrams[J].Computer Applications,2007,7(b06):302-307.(in Chinese) 付晓东,邹平.一种UML类图结构复杂性度量方法[J].计算机应用,2007,7(b06):302-307.
[21] JING F B.Study on Software Complexity Measurement Method and Tool Based on UML [D].Chongqing:Chongqing University,2015.(in Chinese) 景富波.基于UML的软件复杂性度量方法和工具的研究[D].重庆:重庆大学,2015.
[22] XIE L M.A Study on Class Diagram Design Flaws Detection [D].Shanghai:East China Normal University,2011.(in Chinese) 谢玲梅.类图设计缺陷的检测研究[D].上海:华东师范大学,2011.

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!