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 条
  • [41] The advances in multi-label classification
    Chen, Shijun
    Gao, Lin
    2014 INTERNATIONAL CONFERENCE ON MANAGEMENT OF E-COMMERCE AND E-GOVERNMENT (ICMECG), 2014, : 240 - 245
  • [42] A Deep Method Renaming Prediction and Refinement Approach for Java']Java Projects
    Liang, Jiahui
    Zou, Weiqin
    Zhang, Jingxuan
    Huang, Zhiqiu
    Sun, Chenxing
    2021 IEEE 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2021), 2021, : 404 - 413
  • [43] Multi-label Dysfluency Classification
    Jouaiti, Melanie
    Dautenhahn, Kerstin
    SPEECH AND COMPUTER, SPECOM 2022, 2022, 13721 : 290 - 301
  • [44] Multi-label Deepfake Classification
    Singh, Inder Pal
    Mejri, Nesryne
    Nguyen, Van Dat
    Ghorbel, Enjie
    Aouada, Djamila
    2023 IEEE 25TH INTERNATIONAL WORKSHOP ON MULTIMEDIA SIGNAL PROCESSING, MMSP, 2023,
  • [45] Multi-instance multi-label image classification: A neural approach
    Chen, Zenghai
    Chi, Zheru
    Fu, Hong
    Feng, Dagan
    NEUROCOMPUTING, 2013, 99 : 298 - 306
  • [46] AUTOMATING TEST CASE IDENTIFICATION IN JAVA']JAVA OPEN SOURCE PROJECTS ON GITHUB
    Madeja, Matej
    Poruban, Jaroslav
    Bacikova, Michaela
    Sulir, Matus
    Juhar, Jan
    Chodarev, Sergej
    Gurbal, Filip
    COMPUTING AND INFORMATICS, 2021, 40 (03) : 575 - 605
  • [47] A large-scale empirical study of code smells in Java']JavaScript projects
    Johannes, David
    Khomh, Foutse
    Antoniol, Giuliano
    SOFTWARE QUALITY JOURNAL, 2019, 27 (03) : 1271 - 1314
  • [48] Multi-Label Emotion Classification of Online Learners' Reviews Using Machine Learning Text-Based Multi-Label Classification Approach
    Makhoukhi, Hajar
    Roubi, Sarra
    2024 5TH INTERNATIONAL CONFERENCE ON EDUCATION DEVELOPMENT AND STUDIES, ICEDS 2024, 2024, : 59 - 64
  • [49] Calibrated Multi-label Classification with Label Correlations
    Zhi-Fen He
    Ming Yang
    Hui-Dong Liu
    Lei Wang
    Neural Processing Letters, 2019, 50 : 1361 - 1380
  • [50] Robust label compression for multi-label classification
    Zhang, Ju-Jie
    Fang, Min
    Wu, Jin-Qiao
    Li, Xiao
    KNOWLEDGE-BASED SYSTEMS, 2016, 107 : 32 - 42