Evaluation of Machine Learning Approaches for Change-Proneness Prediction Using Code Smells

被引:5
|
作者
Kaur, Kamaldeep [1 ]
Jain, Shilpi [1 ]
机构
[1] Guru Gobind Singh Indraprastha Univ GGSIPU, USICT, New Delhi, India
关键词
Machine learning algorithms; Undersampling; Feature subset selection (FSS); Code smells; Software change-proneness;
D O I
10.1007/978-981-10-3153-3_56
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In the field of technology, software is an essential driver of business and industry. Software undergoes changes due to maintenance activities initiated by bug fixing, improved documentation, and new requirements of users. In software, code smells are indicators of a system which may give maintenance problem in future. This paper evaluates six types of machine learning algorithms to predict change-proneness using code smells as predictors for various versions of four Java-coded applications. Two approaches are used: method 1-random undersampling is done before Feature selection; method 2-feature selection is done prior to random undersampling. This paper concludes that gene expression programming (GEP) gives maximum AUC value, whereas cascade correlation network (CCR), treeboost, and PNN\GRNN algorithms are among top algorithms to predict F-measure, precision, recall, and accuracy. Also, GOD and L_M code smells are good predictors of software change-proneness. Results show that method 1 outperforms method 2.
引用
收藏
页码:561 / 572
页数:12
相关论文
共 50 条
  • [1] Evaluation of machine learning approaches for change-proneness prediction using code smells
    Kaur, Kamaldeep
    Jain, Shilpi
    Advances in Intelligent Systems and Computing, 2017, 515 : 561 - 572
  • [2] Predicting Software Change-Proneness with Code Smells and Class Imbalance Learning
    Kaur, Arvinder
    Kaur, Kamaldeep
    Jain, Shilpi
    2016 INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATIONS AND INFORMATICS (ICACCI), 2016, : 746 - 754
  • [3] An Exploratory Study of the Impact of Code Smells on Software Change-proneness
    Khomh, Foutse
    Di Penta, Massimiliano
    Gueheneuc, Yann-Gael
    16TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE 2009), 2009, : 75 - +
  • [4] Exploring the Impact of Code Smells on Fine-Grained Structural Change-Proneness
    Liu, Huihui
    Li, Bixin
    Yang, Yibiao
    Ma, Wanwangying
    Jia, Ru
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2018, 28 (10) : 1487 - 1516
  • [5] Deep Metric Learning for Software Change-Proneness Prediction
    Ge, Yongxin
    Chen, Min
    Liu, Chao
    Chen, Feiyi
    Huang, Sheng
    Wang, Hongxing
    INTELLIGENCE SCIENCE AND BIG DATA ENGINEERING, 2018, 11266 : 287 - 300
  • [6] Software change-proneness prediction based on deep learning
    Zhu, Xiaoyan
    Li, Nan
    Wang, Yong
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2022, 34 (04)
  • [7] PREDICTING SOFTWARE CHANGE-PRONENESS FROM SOFTWARE EVOLUTION USING MACHINE LEARNING METHODS
    Shatnawi R.
    Interdisciplinary Journal of Information, Knowledge, and Management, 2023, 18 : 769 - 790
  • [8] Cross-Project Change-Proneness Prediction
    Liu, Chao
    Yang, Dan
    Xia, Xin
    Yan, Meng
    Zhang, Xiaohong
    2018 IEEE 42ND ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 1, 2018, : 64 - 73
  • [9] A Practical Guide to Support Change-proneness Prediction
    Melo, Cristiano Sousa
    Lima da Cruz, Matheus Mayron
    Forte Martins, Antonio Diogo
    Matos, Tales
    da Silva Monteiro Filho, Jose Maria
    Machado, Javam de Castro
    PROCEEDINGS OF THE 21ST INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS (ICEIS 2019), VOL 2, 2019, : 269 - 276
  • [10] Empirical Study about Class Change Proneness Prediction using Software Metrics and Code Smells
    Forte Martins, Antonio Diogo
    Melo, Cristiano
    Monteiro, Jose Maria
    Machado, Javam de Castro
    PROCEEDINGS OF THE 22ND INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS (ICEIS), VOL 1, 2020, : 140 - 147