Measuring complexity in C++ application software

被引:0
作者
Wilkie, FG [1 ]
Hylands, B
机构
[1] Univ Ulster, Sch Informat & Software Engn, Newtownabbey BT37 0QB, Antrim, North Ireland
[2] British Telecommun PLC, BT Networks & Syst, Belfast BT1 6FD, Antrim, North Ireland
关键词
software complexity; object-oriented; metrics; C++; coupling;
D O I
10.1002/(SICI)1097-024X(19980425)28:5<513::AID-SPE165>3.3.CO;2-8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper concerns the use of design/source-code complexity metrics in analysing C++ software. It describes the use of one suite of object-oriented metrics published by Chidamber and Kemerer(1) to evaluate a commercial C++ application. It provides an interpretation and critique of these metrics, including the use of two traditional metrics (Cyclomatic Complexity(2) and Software Science(3)) in association with these object-oriented metrics. The evolution, over a two and a half year period, of one commercial grade C++ application comprising 114 classes with 25,000 lines of code is studied. The efforts consumed in bug fixes and enhancements are correlated with the complexity measures on a per class basis, and results are presented. These results are compared to those from other workers. The paper provides a detailed analysis of the practical strengths and weaknesses of the metrics suite in the light of experiences with its use. (C) 1998 John Wiley & Sons, Ltd.
引用
收藏
页码:513 / 546
页数:34
相关论文
共 26 条
  • [1] [Anonymous], 1975, STRUCTURED DESIGN
  • [2] [Anonymous], ACM COMPUTING SURVEY
  • [3] A validation of object-oriented design metrics as quality indicators
    Basili, VR
    Briand, LC
    Melo, WL
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (10) : 751 - 761
  • [4] BOOCH G, 1994, OBJECT ORIENTED ANAL, P128
  • [5] BOOCH G, 1994, OBJECT ORIENTED ANAL, P130
  • [6] A METRICS SUITE FOR OBJECT-ORIENTED DESIGN
    CHIDAMBER, SR
    KEMERER, CF
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (06) : 476 - 493
  • [7] COAD P, 1991, OBJECT ORIENTED DESI, P145
  • [8] COULANGE B, 1993, P TOOLS, V10, P89
  • [9] Halstead M. II., 1977, Elements of Software Science (Operating and Programming Systems Series
  • [10] HARRISON R, 1997, P EASE 97