Shift-Left Testing in CI/CD pipelines: An experimental evaluation of defect detection and operational impacts

The increasing speed of software development, driven by the adoption of agile methodologies and coding support tools, intensifies the challenges associated with early defect detection and technical debt management. In this context, the Shift-Left Testing approach proposes moving verification and validation activities to earlier stages of the software development lifecycle by integrating automated tools into continuous integration and continuous delivery (CI/CD) processes. This study aimed to experimentally evaluate the effectiveness of this approach in identifying software defects at earlier development stages, as well as its operational impacts in terms of execution time and alert volume. The research was conducted through a quantitative, paired controlled experiment using the Defects4J benchmark (v3.0.1) across two execution scenarios: a conventional baseline pipeline and an experimental pipeline incorporating automated static analysis tools (PMD and SpotBugs), evaluated over 30 defects equally distributed across Apache Commons Lang, Jsoup, and Gson, covering both buggy and fixed versions across 600 paired comparisons (1,200 individual runs). The results showed that adding static checks increased the median pipeline execution time from 10.39 s to 32.46 s, imposing a paired median overhead of 22.89 s (IQR: 20.46–25.38 s; relative increase of +229.66%). Regarding detection capability, although both tools emitted hundreds of pre-existing alerts per run, technical auditing of the 8 alerts exclusive to buggy versions preliminarily confirmed the detection of only 3 defects (10.0% of the sample), all identified by SpotBugs, while 5 alerts remained inconclusive. It is concluded that static analysis in CI/CD pipelines exhibits a marked asymmetry between temporal overhead and functional defect coverage, supporting its selective and incremental adoption.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24690006
Primary Topic
Software Testing and Debugging Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Shift-Left Testing in CI/CD pipelines: An experimental evaluation of defect detection and operational impacts

Mateus Xavier Yamaguti, Filipe Cutri
Zenodo (CERN European Organization for Nuclear Research)
Software Testing and Debugging Techniques
preprint

Shift-Left Testing in CI/CD pipelines: An experimental evaluation of defect detection and operational impacts

Mateus Xavier Yamaguti, Filipe Cutri
preprint en

Abstract

The increasing speed of software development, driven by the adoption of agile methodologies and coding support tools, intensifies the challenges associated with early defect detection and technical debt management. In this context, the Shift-Left Testing approach proposes moving verification and validation activities to earlier stages of the software development lifecycle by integrating automated tools into continuous integration and continuous delivery (CI/CD) processes. This study aimed to experimentally evaluate the effectiveness of this approach in identifying software defects at earlier development stages, as well as its operational impacts in terms of execution time and alert volume. The research was conducted through a quantitative, paired controlled experiment using the Defects4J benchmark (v3.0.1) across two execution scenarios: a conventional baseline pipeline and an experimental pipeline incorporating automated static analysis tools (PMD and SpotBugs), evaluated over 30 defects equally distributed across Apache Commons Lang, Jsoup, and Gson, covering both buggy and fixed versions across 600 paired comparisons (1,200 individual runs). The results showed that adding static checks increased the median pipeline execution time from 10.39 s to 32.46 s, imposing a paired median overhead of 22.89 s (IQR: 20.46–25.38 s; relative increase of +229.66%). Regarding detection capability, although both tools emitted hundreds of pre-existing alerts per run, technical auditing of the 8 alerts exclusive to buggy versions preliminarily confirmed the detection of only 3 defects (10.0% of the sample), all identified by SpotBugs, while 5 alerts remained inconclusive. It is concluded that static analysis in CI/CD pipelines exhibits a marked asymmetry between temporal overhead and functional defect coverage, supporting its selective and incremental adoption.

Zenodo (CERN European Organization for Nuclear Research)
Centro Universitário Herminio Ometto de Araras (BR)
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Shift-Left Testing in CI/CD pipelines: An experimental evaluation of defect detection and operational impacts — Mateus Xavier Yamaguti, Filipe Cutri · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS