Evaluating Domain-Specific Metric Thresholds: An Empirical Study

被引:17
|
作者
Mori, Allan [1 ]
Vale, Gustavo [2 ]
Viggiato, Markos [1 ]
Oliveira, Johnatan [3 ]
Figueiredo, Eduardo [1 ,5 ]
Cirilo, Elder [4 ]
Jamshidi, Pooyan [5 ]
Kastner, Christian [5 ]
机构
[1] Fed Univ Minas Gerais UFMG, Comp Sci Dept, Belo Horizonte, MG, Brazil
[2] Univ Passau, Dept Informat & Math, Passau, Germany
[3] Pontifical Catholic Univ Minas Gerais PUC Minas, Comp Sci Dept, Belo Horizonte, MG, Brazil
[4] Fed Univ Sao Joao del Rei UFSJ, Comp Sci Dept, Sao Joao Del Rei, Brazil
[5] Carnegie Mellon Univ, Inst Software Res, Pittsburgh, PA 15213 USA
关键词
Software metrics; thresholds; software domains;
D O I
10.1145/3194164.3194173
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software metrics and thresholds provide means to quantify several quality attributes of software systems. Indeed, they have been used in a wide variety of methods and tools for detecting different sorts of technical debts, such as code smells. Unfortunately, these methods and tools do not take into account characteristics of software domains, as the intrinsic complexity of geo-localization and scientific software systems or the simple protocols employed by messaging applications. Instead, they rely on generic thresholds that are derived from heterogeneous systems. Although derivation of reliable thresholds has long been a concern, we still lack empirical evidence about threshold variation across distinct software domains. To tackle this limitation, this paper investigates whether and how thresholds vary across domains by presenting a large-scale study on 3,107 software systems from 15 domains. We analyzed the derivation and distribution of thresholds based on 8 well-known source code metrics. As a result, we observed that software domain and size are relevant factors to be considered when building benchmarks for threshold derivation. Moreover, we also observed that domain-specific metric thresholds are more appropriated than generic ones for code smell detection.
引用
收藏
页码:41 / 50
页数:10
相关论文
共 50 条
  • [1] Evaluating Domain-Specific Modelling Solutions
    Mohagheghi, Parastoo
    Haugen, Oystein
    [J]. ADVANCES IN CONCEPTUAL MODELING: APPLICATIONS AND CHALLENGES, 2010, 6413 : 212 - 221
  • [2] Comparing General-Purpose and Domain-Specific Languages: An Empirical Study
    Kosar, Tomaz
    Oliveira, Nuno
    Mernik, Marjan
    Varanda Pereira, Maria Joao
    Crepinsek, Matej
    da Cruz, Daniela
    Henriques, Pedro Rangel
    [J]. COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2010, 7 (02) : 247 - 264
  • [3] Quantifying usability of domain-specific languages: An empirical study on software maintenance
    Albuquerque, Diego
    Cafeo, Bruno
    Garcia, Alessandro
    Barbosa, Simone
    Abrahao, Silvia
    Ribeiro, Antonio
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2015, 101 : 245 - 259
  • [4] An Empirical Cross Domain-Specific Entity Recognition with Domain Vector
    Chen, Wei
    Han, Songqiao
    Huang, Hailiang
    [J]. PROCEEDINGS OF THE 31ST ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, CIKM 2022, 2022, : 3868 - 3872
  • [5] Meaning Error Rate: ASR domain-specific metric framework
    Gordeeva, Ludmila
    Ershov, Vasily
    Gulyaev, Oleg
    Kuralenok, Igor
    [J]. KDD '21: PROCEEDINGS OF THE 27TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY & DATA MINING, 2021, : 458 - 466
  • [6] Evaluating Business Domain-Specific e-Collaboration
    Lueck, Diana
    Leyh, Christian
    [J]. 2017 IEEE 19TH CONFERENCE ON BUSINESS INFORMATICS (CBI), VOL 1, 2017, 1 : 408 - 416
  • [7] Domain-specific model differencing for graphical domain-specific languages
    Jafarlou, Manouchehr Zadahmad
    [J]. ACM/IEEE 25TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, MODELS 2022 COMPANION, 2022, : 205 - 208
  • [8] DSMCompare: domain-specific model differencing for graphical domain-specific languages
    Manouchehr Zadahmad
    Eugene Syriani
    Omar Alam
    Esther Guerra
    Juan de Lara
    [J]. Software and Systems Modeling, 2022, 21 : 2067 - 2096
  • [9] DSMCompare: domain-specific model differencing for graphical domain-specific languages
    Zadahmad, Manouchehr
    Syriani, Eugene
    Alam, Omar
    Guerra, Esther
    de Lara, Juan
    [J]. SOFTWARE AND SYSTEMS MODELING, 2022, 21 (05): : 2067 - 2096
  • [10] Domain-Specific Languages: A Systematic Mapping Study
    Kosar, Tomaz
    Bohra, Sudev
    Mernik, Marjan
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2016, 71 : 77 - 91