A Catalog of Source Code Metrics - A Tertiary Study

被引:1
|
作者
Iftikhar, Umar [1 ]
Bin Ali, Nauman [1 ]
Borstler, Jurgen [1 ]
Usman, Muhammad [1 ]
机构
[1] Blekinge Inst Technol, Karlskrona, Sweden
关键词
Internal quality attributes; Code measurement; Code quality; Tertiary study; Source code metrics; SUITE;
D O I
10.1007/978-3-031-31488-9_5
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Context: A large number of source code metrics are reported in the literature. It is necessary to systematically collect, describe and classify source code metrics to support research and practice. Objective: We aim to utilize existing secondary studies to develop a catalog of source code metrics together with their descriptions. The catalog will also provide information about which units of code (e.g., operators, operands, lines of code, variables, parameters, code blocks, or functions) are used to measure the internal quality attributes and the scope on which they are collected. Method: We conducted a tertiary study to identify secondary studies reporting source code metrics. We have classified the source code metrics according to the measured internal quality attributes, the units of code used in the measures, and the scope at which the source code metrics are collected. Results: From 711 secondary studies, we identified 52 relevant secondary studies. We reported 423 source code metrics together with their descriptions and the internal quality attributes they measure. Source code metrics predominantly incorporate function as a unit of code to measure internal quality attributes. In contrast, several source code metrics use more than one unit of code when measuring internal quality attributes. Nearly 51% of the source code metrics are collected at the class scope, while almost 12% and 15% of source code metrics are collected at module and application levels, respectively. Conclusions: Researchers and practitioners can use the extensive catalog to assess which source code metrics meet their individual needs based on the description and classification scheme presented.
引用
收藏
页码:87 / 106
页数:20
相关论文
共 50 条
  • [1] A catalog of metrics at source code level for vulnerability prediction: A systematic mapping study
    Codabux, Zadia
    Zakia Sultana, Kazi
    Chowdhury, Md Naseef-Ur-Rahman
    [J]. JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (07)
  • [2] A tertiary study on links between source code metrics and external quality attributes
    Iftikhar, Umar
    Bin Ali, Nauman
    Borstler, Juergen
    Usman, Muhammad
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 165
  • [3] Source Code Metrics and Maintainability: A Case Study
    Hegedus, Peter
    Bakota, Tibor
    Illes, Laszlo
    Ladanyi, Gergely
    Ferenc, Rudolf
    Gyimothy, Tibor
    [J]. SOFTWARE ENGINEERING, BUSINESS CONTINUITY, AND EDUCATION, 2011, 257 : 272 - +
  • [4] Source code metrics and maintainability: A case study
    University of Szeged, Department of Software Engineering, Árpád tér 2, H-6720 Szeged, Hungary
    不详
    [J]. Commun. Comput. Info. Sci., (272-284):
  • [5] Source code metrics: A systematic mapping study
    Nunez-Varela, Alberto S.
    Perez-Gonzalez, Hector G.
    Martinez-Perez, Francisco E.
    Soubervielle-Montalvo, Carlos
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2017, 128 : 164 - 197
  • [6] Toward a catalog of software quality metrics for infrastructure code
    Dalla Palma, Stefano
    Di Nucci, Dario
    Palomba, Fabio
    Tamburri, Damian Andrew
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 170
  • [7] On the relationship between source-code metrics and cognitive load: A systematic tertiary review
    Abbad-Andaloussi, Amine
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 198
  • [8] Source Code Metrics for Software Defects Prediction
    Rebro, Dominik Arne
    Rossi, Bruno
    Chren, Stanislav
    [J]. 38TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2023, 2023, : 1469 - 1472
  • [9] FACTOR-ANALYSIS OF SOURCE CODE METRICS
    COUPAL, D
    ROBILLARD, PN
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 1990, 12 (03) : 263 - 269
  • [10] Extracting Relative Thresholds for Source Code Metrics
    Oliveira, Paloma
    Valente, Marco Tulio
    Lima, Fernando Paim
    [J]. 2014 SOFTWARE EVOLUTION WEEK - IEEE CONFERENCE ON SOFTWARE MAINTENANCE, REENGINEERING, AND REVERSE ENGINEERING (CSMR-WCRE), 2014, : 254 - +