Machine Learning for Change-Prone Class Prediction: A History-Based Approach

被引:0
|
作者
Silva, Rogerio C. [1 ]
Farah, Paulo Roberto [1 ]
Vergilio, Silvia Regina [1 ]
机构
[1] Fed Univ Parana UFPR, Curitiba, PR, Brazil
关键词
class change proneness; machine learning; temporal dependency; METRICS; EVOLUTION; SUITE;
D O I
10.1145/3555228.3555249
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Classes have a very dynamic life cycle in object-oriented software projects. They can be created, modified or removed due to different reasons. The prediction of prone-change classes in the early stages of the project positively impact the team's productivity, the allocation of resources, and the quality of the software developed. Existing work uses Machine Learning (ML) and different kind of class metrics. But a limitation of existing work that they do not consider the temporal dependency between instances in the datasets. To fulfill such gap, this work introduces an approach based on the change history of the class in different releases from public repositories. The approach uses the Sliding Window method, and adopts as predictors structural and evolutionary metrics, as well as frequency and diversity of smells. Five projects and four ML algorithms are used in the evaluation. In the great majority of the cases our approach overcomes a traditional approach considering all the indicators. Random Forest presents the best performance and the use of smell-related information does not impact the results.
引用
收藏
页码:289 / 298
页数:10
相关论文
共 50 条
  • [31] Active learning with history-based query selection for text categorisation
    Davy, Michael
    Luz, Saturnino
    ADVANCES IN INFORMATION RETRIEVAL, 2007, 4425 : 695 - +
  • [32] The effectiveness of a history-based diagnostic approach in chronic urticaria and angioedema
    Kozel, MMA
    Mekkes, JR
    Bossuyt, PMM
    Bos, JD
    ARCHIVES OF DERMATOLOGY, 1998, 134 (12) : 1575 - 1580
  • [33] The forgotten vulnerability: A geology- and history-based approach for ranking the seismic risk of earthquake-prone communities of the Italian Apennines
    Valensise, Gianluca
    Tarabusi, Gabriele
    Guidoboni, Emanuela
    Ferrari, Graziano
    INTERNATIONAL JOURNAL OF DISASTER RISK REDUCTION, 2017, 25 : 289 - 300
  • [34] A set of standard modeling commands for the history-based parametric approach
    Mun, DW
    Han, SH
    Kim, J
    Oh, YC
    COMPUTER-AIDED DESIGN, 2003, 35 (13) : 1171 - 1179
  • [35] A Machine Learning-Based Approach to Automatic Multi-Model History Matching and Dynamic Prediction
    Feng, Guoqing
    Mo, Haishuai
    Wu, Baofeng
    He, Yujun
    ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2025,
  • [36] HISTORY-BASED THROUGHPUT PREDICTION WITH HIDDEN MARKOV MODEL IN MOBILE NETWORKS
    Wei, Bo
    Kanai, Kenji
    Katto, Jiro
    2016 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA & EXPO WORKSHOPS (ICMEW), 2016,
  • [37] Reducing power with an LO instruction cache using history-based prediction
    Tang, W
    Veidenbaum, AV
    Nicolau, A
    INTERNATIONAL WORKSHOP ON INNOVATIVE ARCHITECTURE FOR FUTURE GENERATION HIGH-PERFORMANCE PROCESSORS AND SYSTEMS, 2002, : 11 - 18
  • [38] Dependent Advice: A General Approach to Optimizing History-based Aspects
    Bodden, Eric
    Chen, Feng
    Rosu, Grigore
    AOSD'09: 8TH INTERNATIONAL CONFERENCE ON ASPECT-ORIENTED SOFTWARE DEVELOPMENT, 2009, : 3 - 14
  • [39] Prediction of Nucleophilicity and Electrophilicity Based on a Machine-Learning Approach
    Liu, Yidi
    Yang, Qi
    Cheng, Junjie
    Zhang, Long
    Luo, Sanzhong
    Cheng, Jin-Pei
    CHEMPHYSCHEM, 2023, 24 (14)
  • [40] Anomaly prediction approach in business process based on machine learning
    Wei Y.
    Cao J.
    Jisuanji Jicheng Zhizao Xitong/Computer Integrated Manufacturing Systems, CIMS, 2019, 25 (04): : 864 - 872