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

Bibliographic Details
Main Author: Silva R.D.C.
Publication Date: 2022
Other Authors: Vergilio S.R., Farah, Paulo Roberto
Format: Conference object
Language: eng
Source: Repositório Institucional da Udesc
Download full: https://repositorio.udesc.br/handle/UDESC/2868
Summary: © 2022 ACM.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.
id UDESC-2_3b9b2d07edfaf975ff8fe8d7fce9e9d8
oai_identifier_str oai:repositorio.udesc.br:UDESC/2868
network_acronym_str UDESC-2
network_name_str Repositório Institucional da Udesc
repository_id_str 6391
spelling Machine Learning for Change-Prone Class Prediction: A History-Based Approach© 2022 ACM.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.2024-12-05T20:18:02Z2022info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/conferenceObjectp. 289 - 29810.1145/3555228.3555249https://repositorio.udesc.br/handle/UDESC/2868ACM International Conference Proceeding SeriesSilva R.D.C.Vergilio S.R.Farah, Paulo Robertoengreponame:Repositório Institucional da Udescinstname:Universidade do Estado de Santa Catarina (UDESC)instacron:UDESCinfo:eu-repo/semantics/openAccess2024-12-07T20:40:02Zoai:repositorio.udesc.br:UDESC/2868Biblioteca Digital de Teses e Dissertaçõeshttps://pergamumweb.udesc.br/biblioteca/index.phpPRIhttps://repositorio-api.udesc.br/server/oai/requestri@udesc.bropendoar:63912024-12-07T20:40:02Repositório Institucional da Udesc - Universidade do Estado de Santa Catarina (UDESC)false
dc.title.none.fl_str_mv Machine Learning for Change-Prone Class Prediction: A History-Based Approach
title Machine Learning for Change-Prone Class Prediction: A History-Based Approach
spellingShingle Machine Learning for Change-Prone Class Prediction: A History-Based Approach
Silva R.D.C.
title_short Machine Learning for Change-Prone Class Prediction: A History-Based Approach
title_full Machine Learning for Change-Prone Class Prediction: A History-Based Approach
title_fullStr Machine Learning for Change-Prone Class Prediction: A History-Based Approach
title_full_unstemmed Machine Learning for Change-Prone Class Prediction: A History-Based Approach
title_sort Machine Learning for Change-Prone Class Prediction: A History-Based Approach
author Silva R.D.C.
author_facet Silva R.D.C.
Vergilio S.R.
Farah, Paulo Roberto
author_role author
author2 Vergilio S.R.
Farah, Paulo Roberto
author2_role author
author
dc.contributor.author.fl_str_mv Silva R.D.C.
Vergilio S.R.
Farah, Paulo Roberto
description © 2022 ACM.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.
publishDate 2022
dc.date.none.fl_str_mv 2022
2024-12-05T20:18:02Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/conferenceObject
format conferenceObject
status_str publishedVersion
dc.identifier.uri.fl_str_mv 10.1145/3555228.3555249
https://repositorio.udesc.br/handle/UDESC/2868
identifier_str_mv 10.1145/3555228.3555249
url https://repositorio.udesc.br/handle/UDESC/2868
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv ACM International Conference Proceeding Series
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv p. 289 - 298
dc.source.none.fl_str_mv reponame:Repositório Institucional da Udesc
instname:Universidade do Estado de Santa Catarina (UDESC)
instacron:UDESC
instname_str Universidade do Estado de Santa Catarina (UDESC)
instacron_str UDESC
institution UDESC
reponame_str Repositório Institucional da Udesc
collection Repositório Institucional da Udesc
repository.name.fl_str_mv Repositório Institucional da Udesc - Universidade do Estado de Santa Catarina (UDESC)
repository.mail.fl_str_mv ri@udesc.br
_version_ 1848168440641093632