Measuring the complexity of class diagrams in reverse engineering

被引:7
|
作者
Sheldon, Frederick T. [1 ]
Chung, Hong
机构
[1] Oak Ridge Natl Lab, Oak Ridge, TN 37831 USA
[2] Keimyung Univ, Dept Comp Sci, Taegu 704701, South Korea
关键词
software quality; perfective/corrective maintenance; coupling/cohesion; object-oriented complexity metrics; class inheritance and diagrams;
D O I
10.1002/smr.336
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Complexity metrics for object-oriented systems are plentiful. Numerous studies have been undertaken to establish valid and meaningful measures of maintainability as they relate to the static structural characteristics of software. In general, these studies have lacked the empirical validation of their meaning and/or have only succeeded in evaluating partial aspects of the system. In this study we have determined, through limited empirical means, a practical and holistic view by analyzing and comparing the structural characteristics of UML class diagrams as those characteristics relate to or impact maintainability. Class diagrams are composed of three kinds of relation, association, generalization, and aggregation, which make their overall structure difficult to understand. We propose combining these three relations in such a way that enables a comprehensive measure of complexity. Theoretically, this measure is applicable among different class diagrams (including different domains, platforms or systems) to the extent that the measure is widely comparative and context free. Further, this property does not preclude comparison within a specific class diagram (or family) and is therefore very useful in evaluating a given class diagram's strengths and weaknesses. We are reporting empirical results that provide a small measure of validity to enable an objective appraisal of both complexity and maintainability without equating the two. Therefore, to evaluate our structural complexity metric, we determined the level of understandability of the system by measuring the time needed to reverse engineer source code into class diagrams including the number of errors produced while creating the diagram. The number of errors produced offers one indicator of maintainability. The results, as compared with other complexity metrics, indicate that our metric shows promise especially if proven to be scalable. Copyright (C) 2006 John Wiley & Sons, Ltd.
引用
收藏
页码:333 / 350
页数:18
相关论文
共 50 条
  • [1] MEASURING STRUCTURE COMPLEXITY OF UML CLASS DIAGRAMS
    Zhou Yuming Xu Baowen (Dept. of Computer Science & Eng.
    [J]. Journal of Electronics(China), 2003, (03) : 227 - 231
  • [2] Tool Support for Measuring Complexity of UML Class Diagrams
    Yi Tong
    [J]. ICCSE 2008: PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE & EDUCATION: ADVANCED COMPUTER TECHNOLOGY, NEW EDUCATION, 2008, : 1005 - 1008
  • [3] A Tool for Efficiently Reverse Engineering Accurate UML Class Diagrams
    Decker, Michael John
    Swartz, Kyle
    Collard, Michael L.
    Maletic, Jonathan I.
    [J]. 32ND IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2016), 2016, : 607 - 609
  • [4] A Survey on Reverse Engineering of Technical Diagrams
    Rematska, Giorgia
    Bourbakis, Nikolaos G.
    [J]. 2016 7TH INTERNATIONAL CONFERENCE ON INFORMATION, INTELLIGENCE, SYSTEMS & APPLICATIONS (IISA), 2016,
  • [5] Reverse engineering of biological complexity
    Csete, ME
    Doyle, JC
    [J]. SCIENCE, 2002, 295 (5560) : 1664 - 1669
  • [6] Towards the reverse engineering of UML sequence diagrams
    Briand, LC
    Labiche, Y
    Miao, Y
    [J]. 10TH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2003, : 57 - 66
  • [7] Structural complexity metrics for UML class diagrams
    孔庆彦
    伦立军
    王义和
    丁雪梅
    [J]. Journal of Harbin Institute of Technology(New series), 2008, (02) : 211 - 214
  • [8] Structural complexity metrics for UML class diagrams
    Kong, Qing-Yan
    Lun, Li-Jun
    Wang, Yi-He
    Ding, Xue-Mei
    [J]. 2008, Harbin Institute of Technology, P.O. Box 136, Harbin, 150001, China (15)
  • [9] A structural complexity measure for UML class diagrams
    Xu, BW
    Kang, DH
    Lu, JJ
    [J]. COMPUTATIONAL SCIENCE - ICCS 2004, PT 1, PROCEEDINGS, 2004, 3036 : 421 - 424
  • [10] MEASURING COMPLEXITY OF DOMAIN MODELS REPRESENTED BY FEATURE DIAGRAMS
    Stuikys, Vytautas
    Damasevicius, Robertas
    [J]. INFORMATION TECHNOLOGY AND CONTROL, 2009, 38 (03): : 179 - 187