article · International Journal of Applied Systemic Studies · 2023
Predicting code beauty with machine learning model
Cited by 0Abstract and details only
Abstract
Software maintenance is one of the most expensive phases of the software development life cycle. This cost increases more when maintenance is performed on poorly written code. There exist a set of code writing patterns that developers need to follow to write good-looking code. However, coding that conforms to 'rules' is not always possible. During software evolution, code goes through different changes, which are the main reasons for breaking the rules of beautiful code. In this paper, we propose a machine learning (ML)-based model which will measure the beauty of a written code. The model built on a set of ten code-based features is learned using logic regression algorithm and is able to predict how beautiful is given peace of code. Furthermore, the model is evaluated using an empirical study, which shows that it has a moderate agreement with developers about the beauty of the code.
Cite this paper
Daka, E. (2023). Predicting code beauty with machine learning model. International Journal of Applied Systemic Studies, 10(2), 83–93. https://doi.org/10.1504/ijass.2023.133898
Daka, Ermira. “Predicting code beauty with machine learning model.” International Journal of Applied Systemic Studies, vol. 10, no. 2, 2023, pp. 83–93, https://doi.org/10.1504/ijass.2023.133898.
Daka, Ermira. 2023. “Predicting code beauty with machine learning model.” International Journal of Applied Systemic Studies 10 (2): 83–93. https://doi.org/10.1504/ijass.2023.133898.
Daka, E. (2023) ‘Predicting code beauty with machine learning model’, International Journal of Applied Systemic Studies, 10(2), pp. 83–93. Available at: https://doi.org/10.1504/ijass.2023.133898.
@article{daka2023predicting,
title = {{Predicting code beauty with machine learning model}},
author = {Daka, Ermira},
journal = {International Journal of Applied Systemic Studies},
volume = {10},
number = {2},
pages = {83--93},
year = {2023},
doi = {10.1504/ijass.2023.133898}
}Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.