An empirical investigation of an object-oriented software system

被引:129
|
作者
Cartwright, M [1 ]
Shepperd, M [1 ]
机构
[1] Bournemouth Univ, Dept Comp, Poole BH12 5BB, Dorset, England
关键词
metrics; object orientation; empirical analysis;
D O I
10.1109/32.879814
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper describes an empirical investigation into an industrial object-oriented (OO) system comprised of 133,000 lines of C++. The system was a subsystem of a telecommunications product and was developed using the Shlaer-Mellor method. From this study, we found that there was little use of OO constructs such as inheritance and, therefore, polymorphism. It was also found that there was a significant difference in the defect densities between those classes that participated in inheritance structures and those that did not, with the former being approximately three times more defect-prone. We were able to construct useful prediction systems for size and number of defects based upon simple counts such as the number of states and events per class. Although these prediction systems are only likely to have local significance, there is a more general principle that software developers can consider building their own local prediction systems. Moreover, we believe this is possible, even in the absence of the suites of metrics that have been advocated by researchers into OO technology. As a consequence, measurement technology may be accessible to a wider group of potential users.
引用
收藏
页码:786 / 796
页数:11
相关论文
共 50 条
  • [1] Empirical Investigation of Metrics for Fault Prediction on Object-Oriented Software
    Goel, Bindu
    Singh, Yogesh
    [J]. COMPUTER AND INFORMATION SCIENCE, 2008, 131 : 255 - 265
  • [2] Object-oriented modeling: An empirical investigation into the effectiveness of object-oriented modeling
    Sim, ER
    [J]. 1997 INTERNATIONAL CONFERENCE ON SIMULATION IN ENGINEERING EDUCATION (ICSEE'97), 1997, 29 (02): : 94 - 99
  • [3] ON THE RELATIONSHIP BETWEEN THE OBJECT-ORIENTED PARADIGM AND SOFTWARE REUSE - AN EMPIRICAL-INVESTIGATION
    LEWIS, JA
    HENRY, SM
    KAFURA, DG
    SCHULMAN, RS
    [J]. JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1992, 5 (04): : 35 - 41
  • [4] An empirical study of certain object-oriented software metrics
    Subramanian, G
    Corbin, W
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2001, 59 (01) : 57 - 63
  • [5] Viewing Object-Oriented Software with MetricAttitude: an Empirical Evaluation
    Francese, Rita
    Risi, Michele
    Scanniello, Giuseppe
    Tortora, Genoveffa
    [J]. 2014 18TH INTERNATIONAL CONFERENCE ON INFORMATION VISUALISATION (IV), 2014, : 59 - 64
  • [6] An empirical comparison of modularity of procedural and object-oriented software
    Ferrett, LK
    Offutt, J
    [J]. EIGHTH IEEE INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS, PROCEEDINGS, 2002, : 173 - 182
  • [7] Comprehension of object-oriented software cohesion: the empirical quagmire
    Counsell, S
    Mendes, E
    Swift, S
    [J]. 10TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 2002, : 33 - 42
  • [8] Combining object-oriented metrics and centrality measures to predict faults in object-oriented software: An empirical validation
    Ouellet, Alexandre
    Badri, Mourad
    [J]. JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (04)
  • [9] Effectiveness of software metrics for object-oriented system
    Suresh, Yeresime
    Pati, Jayadeep
    Rath, Santanu Ku
    [J]. 2ND INTERNATIONAL CONFERENCE ON COMMUNICATION, COMPUTING & SECURITY [ICCCS-2012], 2012, 1 : 420 - 427
  • [10] An empirical study of object-oriented system evolution
    Li, W
    Etzkorn, L
    Davis, C
    Talburt, J
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2000, 42 (06) : 373 - 381