Recent advances in information technology has led to an increasing number of applications to be developed and maintained daily by product teams. Ensuring that a software application works as expected and that it is absent of bugs requires a lot of time and resources. Thanks to the recent adoption of DevOps methodologies, it is often the case where code commits and application builds are centralized and standardized. Thanks to this new approach, it is now possible to retrieve log and build data to ease the development and management operations of product teams. However, even if such approaches include code control to detect unit or integration errors, they do not check for the presence of logical bugs that can raise after code builds. For such reasons in this work we propose a framework for continuous defect prediction based on machine learning algorithms trained on a publicly available dataset. The framework is composed of a machine learning model for detecting the presence of logical bugs in code on the basis of the available data generated by DevOps tools and a dashboard to monitor the software projects status. We also describe the serverless architecture we designed for hosting the aforementioned framework.

Lazzarinetti, G., Massarenti, N., Sgrò, F., Salafia, A. (2022). Continuous Defect Prediction in CI/CD Pipelines: A Machine Learning-Based Framework. In AIxIA 2021 – Advances in Artificial Intelligence 20th International Conference of the Italian Association for Artificial Intelligence, Virtual Event, December 1–3, 2021, Revised Selected Papers (pp.591-606). Springer [10.1007/978-3-031-08421-8_41].

Continuous Defect Prediction in CI/CD Pipelines: A Machine Learning-Based Framework

Lazzarinetti, G
;
2022

Abstract

Recent advances in information technology has led to an increasing number of applications to be developed and maintained daily by product teams. Ensuring that a software application works as expected and that it is absent of bugs requires a lot of time and resources. Thanks to the recent adoption of DevOps methodologies, it is often the case where code commits and application builds are centralized and standardized. Thanks to this new approach, it is now possible to retrieve log and build data to ease the development and management operations of product teams. However, even if such approaches include code control to detect unit or integration errors, they do not check for the presence of logical bugs that can raise after code builds. For such reasons in this work we propose a framework for continuous defect prediction based on machine learning algorithms trained on a publicly available dataset. The framework is composed of a machine learning model for detecting the presence of logical bugs in code on the basis of the available data generated by DevOps tools and a dashboard to monitor the software projects status. We also describe the serverless architecture we designed for hosting the aforementioned framework.
paper
Continuous defect prediction; Continuous integration; DevOps; Machine learning;
English
20th International Conference of the Italian Association for Artificial Intelligence, AIxIA 2021 - 1 December 2021 through 3 December 2021
2021
Bandini, S; Gasparini, F; Mascardi, V; Palmonari, M; Vizzari, G
AIxIA 2021 – Advances in Artificial Intelligence 20th International Conference of the Italian Association for Artificial Intelligence, Virtual Event, December 1–3, 2021, Revised Selected Papers
978-3-031-08420-1
2022
13196
591
606
open
Lazzarinetti, G., Massarenti, N., Sgrò, F., Salafia, A. (2022). Continuous Defect Prediction in CI/CD Pipelines: A Machine Learning-Based Framework. In AIxIA 2021 – Advances in Artificial Intelligence 20th International Conference of the Italian Association for Artificial Intelligence, Virtual Event, December 1–3, 2021, Revised Selected Papers (pp.591-606). Springer [10.1007/978-3-031-08421-8_41].
File in questo prodotto:
File Dimensione Formato  
Lazzarinetti-2021-AIxIA 2021-VoR.pdf

accesso aperto

Descrizione: Intervento a convegno
Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Dimensione 537.61 kB
Formato Adobe PDF
537.61 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/397391
Citazioni
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
Social impact