How does Context Affect the Distribution of Software Maintainability Metrics?

被引:37
|
作者
Zhang, Feng [1 ]
Mockus, Audris [2 ]
Zou, Ying [3 ]
Khomh, Foutse [4 ]
Hassan, Ahmed E. [1 ]
机构
[1] Queens Univ, Sch Comp, Kingston, ON K7L 3N6, Canada
[2] Avaya Labs Res, Dept Software, Basking Ridge, NJ 07920 USA
[3] Queens Univ, Dept Elect & Comp Engn, Kingston, ON K7L 3N6, Canada
[4] Ecole Polytech, SWAT, Montreal, PQ, Canada
关键词
context; context factor; metrics; static metrics; software maintainability; benchmark; sampling; mining software repositories; large scale; BENCHMARKING;
D O I
10.1109/ICSM.2013.46
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software metrics have many uses, e. g., defect prediction, effort estimation, and benchmarking an organization against peers and industry standards. In all these cases, metrics may depend on the context, such as the programming language. Here we aim to investigate if the distributions of commonly used metrics do, in fact, vary with six context factors: application domain, programming language, age, lifespan, the number of changes, and the number of downloads. For this preliminary study we select 320 nontrivial software systems from Source-Forge. These software systems are randomly sampled from nine popular application domains of Source-Forge. We calculate 39 metrics commonly used to assess software maintainability for each software system and use Kruskal Wallis test and Mann-Whitney U test to determine if there are significant differences among the distributions with respect to each of the six context factors. We use Cliff's delta to measure the magnitude of the differences and find that all six context factors affect the distribution of 20 metrics and the programming language factor affects 35 metrics. We also briefly discuss how each context factor may affect the distribution of metric values. We expect our results to help software benchmarking and other software engineering methods that rely on these commonly used metrics to be tailored to a particular context.
引用
收藏
页码:350 / 359
页数:10
相关论文
共 50 条
  • [1] How do Design Decisions Affect the Distribution of Software Metrics?
    Dosea, Marcos
    Sant'Anna, Claudio
    da Silva, Bruno C.
    [J]. 2018 IEEE/ACM 26TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2018), 2018, : 74 - 85
  • [2] Static Software Metrics for Reliability and Maintainability
    Ludwig, Jeremy
    Xu, Steven
    Webber, Frederick
    [J]. 2018 IEEE/ACM INTERNATIONAL CONFERENCE ON TECHNICAL DEBT (TECHDEBT), 2018, : 53 - 54
  • [3] USING METRICS TO EVALUATE SOFTWARE SYSTEM MAINTAINABILITY
    COLEMAN, D
    ASH, D
    LOWTHER, B
    OMAN, P
    [J]. COMPUTER, 1994, 27 (08) : 44 - 49
  • [4] MAINTAINABILITY METRICS FOR ASPECT-ORIENTED SOFTWARE
    Thongmak, Mathupayas
    Muenchaisri, Pornsiri
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2009, 19 (03) : 389 - 420
  • [5] A METHODOLOGY FOR INTEGRATING MAINTAINABILITY USING SOFTWARE METRICS
    LEWIS, J
    HENRY, S
    [J]. CONFERENCE ON SOFTWARE MAINTENANCE - 1989, PROCEEDINGS, 1989, : 32 - 39
  • [6] Software maintainability prediction by data mining of software code metrics
    Kaur, Arvinder
    Kaur, Kamaldeep
    Pathak, Kaushal
    [J]. 2014 INTERNATIONAL CONFERENCE ON DATA MINING AND INTELLIGENT COMPUTING (ICDMIC), 2014,
  • [7] A Systematic Review of Software Maintainability Prediction and Metrics
    Riaz, Mehwish
    Mendes, Emilia
    Tempero, Ewan
    [J]. ESEM: 2009 3RD INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT, 2009, : 368 - 378
  • [8] Comparative Study of the Software Metrics for the complexity and Maintainability of Software Development
    Chawla, Sonal
    Kaur, Gagandeep
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2013, 4 (09) : 161 - 164
  • [9] How Do Software Metrics Affect Test Case Prioritization?
    Ozawa, Masataka
    Dohi, Tadashi
    Okamura, Hiroyuki
    [J]. 2018 IEEE 42ND ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 1, 2018, : 245 - 250
  • [10] Applying Maintainability Oriented Software Metrics to Cabin Software of a Commercial Airliner
    Burger, Stefan
    Hummel, Oliver
    [J]. 2012 16TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2012, : 457 - 460