A multi-label classification approach for detecting test smells over java']java projects

被引:5
|
作者
Hadj-Kacem, Mouna [1 ]
Bouassida, Nadia [1 ]
机构
[1] Sfax Univ, Mircl Lab, Sfax, Tunisia
关键词
Test smells; Benchmark of test smells; Multi -label classification; Problem; -transformation; Ensemble method; CODE;
D O I
10.1016/j.jksuci.2021.10.008
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Software testing plays a critical role in the development and the assurance of the software quality. However, the quality of the code that is responsible for testing may, itself, be affected by poor design choices, known as test smells. In the literature, test smells may be interpreted differently by developers, which in turn can lead to different detection tools and results. In our work, we have selected the mostly commonly used detection tools and have investigated their overall agreement across different projects and different test smells. The found results were evaluated according to the average level of agreement, where we observed a definite disagreement between the tools. To overcome this gap of misinterpreta-tion, we propose in this paper a multi-label classification approach to detect test smells based on a deep representation of the test code. We conducted our experiments using 4 problem-transformation tech-niques and 4 ensemble techniques. To evaluate our experimental results, we built a benchmark using a tool-based approach for labelling and made it publicly available. Binary Relevance and RAkEL are found to be the best multi-label techniques that achieve high performance results.(c) 2021 The Authors. Published by Elsevier B.V. on behalf of King Saud University. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
引用
收藏
页码:8692 / 8701
页数:10
相关论文
共 50 条
  • [21] Multi-label classification with label clusters
    Gatto, Elaine Cecilia
    Ferrandin, Mauri
    Cerri, Ricardo
    KNOWLEDGE AND INFORMATION SYSTEMS, 2025, 67 (02) : 1741 - 1785
  • [22] Label Expansion for Multi-Label Classification
    Rivolli, Adriano
    Soares, Carlos
    de Carvalho, Andre C. P. L. F.
    2018 7TH BRAZILIAN CONFERENCE ON INTELLIGENT SYSTEMS (BRACIS), 2018, : 414 - 419
  • [23] A multimodal approach for multi-label movie genre classification
    Rafael B. Mangolin
    Rodolfo M. Pereira
    Alceu S. Britto
    Carlos N. Silla
    Valéria D. Feltrim
    Diego Bertolini
    Yandre M. G. Costa
    Multimedia Tools and Applications, 2022, 81 : 19071 - 19096
  • [24] Respiratory Sounds Classification employing a Multi-label Approach
    Romero Gomez, Andres Felipe
    Orjuela-Canon, Alvaro D.
    2021 IEEE COLOMBIAN CONFERENCE ON APPLICATIONS OF COMPUTATIONAL INTELLIGENCE - COLCACI, 2021,
  • [25] HmcNet: A General Approach for Hierarchical Multi-Label Classification
    Huang, Wei
    Chen, Enhong
    Liu, Qi
    Xiong, Hui
    Huang, Zhenya
    Tong, Shiwei
    Zhang, Dan
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2023, 35 (09) : 8713 - 8728
  • [26] Hierarchical Multi-label Classification Problems: An LCS Approach
    Romao, Luiz Melo
    Nievola, Julio Cesar
    Distributed Computing and Artificial Intelligence, 12th International Conference, 2015, 373 : 97 - 104
  • [27] A Classification Approach with a Reject Option for Multi-label Problems
    Pillai, Ignazio
    Fumera, Giorgio
    Roli, Fabio
    IMAGE ANALYSIS AND PROCESSING - ICIAP 2011, PT I, 2011, 6978 : 98 - 107
  • [28] A Combined Approach for Multi-Label Text Data Classification
    Strimaitis, Rokas
    Stefanovic, Pavel
    Ramanauskaite, Simona
    Slotkiene, Asta
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022
  • [29] Systematic approach of multi-label classification for production scheduling
    Munoz, Edrisi
    Capon-Garcia, Elisabet
    COMPUTERS & CHEMICAL ENGINEERING, 2019, 122 : 238 - 246
  • [30] A MULTI-LABEL CLASSIFICATION APPROACH FOR FACIAL EXPRESSION RECOGNITION
    Zhao, Kaili
    Zhang, Honggang
    Dong, Mingzhi
    Guo, Jun
    Qi, Yonggang
    Song, Yi-Zhe
    2013 IEEE INTERNATIONAL CONFERENCE ON VISUAL COMMUNICATIONS AND IMAGE PROCESSING (IEEE VCIP 2013), 2013,