An entropy-based complexity measure for object-oriented designs

被引:0
|
作者
Bansiya, J [1 ]
Davis, C
Etzkorn, L
机构
[1] Calif State Univ Hayward, Dept Math & Comp Sci, Hayward, CA 94542 USA
[2] Univ Alabama, Dept Comp Sci, Huntsville, AL 35899 USA
来源
关键词
D O I
10.1002/(SICI)1096-9942(1999)5:2<111::AID-TAPO4>3.0.CO;2-0
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The use of entropy as a measure of information content has led to its use in measuring the code complexity of functionally developed software products; however, no similar capability exists for evaluating complexities of object-oriented systems using entropy. In this paper a new metric based on entropy as a complexity measure for object-oriented classes is defined and validated using several large commercial object-oriented projects. The metric is computed using information available in class definitions. The new complexity measure of classes is correlated with traditional complexity measures such as McCabe's cyclomatic metric and the number-of-defects metric, both of which were evaluated from the implementation of the methods of the classes. The correlation study used the final versions of the class definitions. The high degree of positive correlation between the entropy-based class definition measure and the traditional measures of class implementation complexity verify that the new entropy measure computed from class definitions can be used as a predictive measure for class implementation complexities provided the class definitions do not change significantly during the implementation. (C) 1999 John Wiley & Sons, Inc.
引用
收藏
页码:111 / 118
页数:8
相关论文
共 50 条
  • [21] Managing complexity in object-oriented analysis
    Ine, SR
    Youn, C
    Misbah, UM
    Lee, KI
    Cha, SH
    Byoun, BG
    Bae, DH
    ETRI JOURNAL, 1998, 20 (02) : 192 - 213
  • [22] A complexity metric for object-oriented software
    Yi T.
    Fang C.
    International Journal of Computers and Applications, 2020, 42 (06): : 544 - 549
  • [23] A cohesion measure for object-oriented classes
    Chae, HS
    Kwon, YR
    Bae, DH
    SOFTWARE-PRACTICE & EXPERIENCE, 2000, 30 (12): : 1405 - 1431
  • [24] Entropy-Based Dynamic Complexity Metrics for Service-Oriented Systems
    Mao, Chengying
    Xu, Changfu
    2017 24TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE WORKSHOPS (APSECW), 2017, : 90 - 97
  • [25] An Entropy-Based Complexity Measure for Web Applications Using Structural Information
    Jung, Woo-Sung
    Lee, Eun-Joo
    Kim, Kap-Su
    Wu, Chi-Su
    JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2011, 27 (02) : 595 - 619
  • [26] An object-oriented design complexity metric based on inheritance relationships
    Shih, TK
    Lin, YC
    Pai, WC
    Wang, CC
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 1998, 8 (04) : 541 - 566
  • [27] Security Metrics for Object-Oriented Class Designs
    Alshammari, Bandar
    Fidge, Colin
    Corney, Diane
    2009 NINTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC 2009), 2009, : 11 - 20
  • [28] Evaluating object-oriented designs with link analysis
    Chatzigeorgiou, A
    Xanthos, S
    Stephanides, G
    ICSE 2004: 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2004, : 656 - 665
  • [29] Evidential diagnosis of inconsistencies in object-oriented designs
    Spanoudakis, G
    Kasis, K
    Dragazi, F
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2004, 14 (02) : 141 - 178
  • [30] Effective Recognition of Patterns in Object-oriented Designs
    Trung Nguyen
    Pooley, Rob
    2009 FOURTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING ADVANCES (ICSEA 2009), 2009, : 320 - 325