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 条
  • [41] DOMAIN-SPECIFIC FORMS OF NEGLECT
    UMILTA, C
    [J]. JOURNAL OF CLINICAL AND EXPERIMENTAL NEUROPSYCHOLOGY, 1995, 17 (02) : 209 - 219
  • [42] Customizable Domain-Specific Computing
    Cong, Jason
    Sarkar, Vivek
    Reinman, Glenn
    Bui, Alex
    [J]. IEEE DESIGN & TEST OF COMPUTERS, 2011, 28 (02): : 6 - 14
  • [43] A domain-specific modeling milestone
    Gray, Jeff
    Rumpe, Bernhard
    Tolvanen, Juha-Pekka
    [J]. SOFTWARE AND SYSTEMS MODELING, 2021, 20 (04): : 917 - 918
  • [44] A domain-specific modeling milestone
    Jeff Gray
    Bernhard Rumpe
    Juha-Pekka Tolvanen
    [J]. Software and Systems Modeling, 2021, 20 : 917 - 918
  • [45] The Open Domain-Specific Architecture
    Drucker, Kevin
    Jani, Dharmesh
    Agarwal, Ishwar
    Miller, Gary
    Mittal, Millind
    Wang, Robert
    Vinnakota, Bapiraju
    [J]. 2020 IEEE SYMPOSIUM ON HIGH-PERFORMANCE INTERCONNECTS (HOTI 2020), 2020, : 25 - 32
  • [46] Domain-Specific Program Checking
    Renggli, Lukas
    Ducasse, Stephane
    Girba, Tudor
    Nierstrasz, Oscar
    [J]. OBJECTS, MODELS, COMPONENTS, PATTERNS, 2010, 6141 : 213 - +
  • [47] On the Globalization of Domain-Specific Languages
    Cheng, Betty H. C.
    Combemale, Benoit
    France, Robert B.
    Jezequel, Jean-Marc
    Rumpe, Bernhard
    [J]. GLOBALIZING DOMAIN-SPECIFIC LANGUAGES, 2015, 9400 : 1 - 6
  • [48] Domain-Specific Hardware Accelerators
    Dally, William J.
    Turakhia, Yatish
    Han, Song
    [J]. COMMUNICATIONS OF THE ACM, 2020, 63 (07) : 48 - 57
  • [49] Domain-specific XML compression
    Moore, John P. T.
    Kheirkhahzadeh, Antonio D.
    Bagale, Jiva N.
    [J]. 2013 DATA COMPRESSION CONFERENCE (DCC), 2013, : 510 - 510
  • [50] A Domain-Specific Language for Microservices
    Donham, Jacob
    [J]. PROCEEDINGS OF THE 9TH ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON SCALA (SCALA '18), 2018, : 2 - 12