INTERNATIONAL JOURNAL OF INTELLIGENT SYSTEMS AND DATA SCIENCE

Machine Learning for Automated Flaky Test Diagnosis in JVMs

1.George Washington University

Published in issue

October 2026

Volume / Issue

Vol. 1 No. 4

Access

Open access

View PDF

The article details presented on this page reflect the published version of record. Readers may access the full-text PDF, review the citation information, and export the reference in supported citation formats.

Abstract

This paper explores the application of machine learning to address the pervasive issue of flaky tests in software development within Java Virtual Machines (JVMs). Existing flaky-test detection approaches primarily focus on identifying whether a test is flaky but do not provide diagnostic information about why flakiness occurs. We present a framework that integrates statistical and machine learning techniques with dynamic taint analysis to automatically identify and tag candidate root causes of nondeterministic test failures. By tracking data flow using bytecode modifications, this approach facilitates automated debugging by providing evidence for candidate sources of nondeterminism. The framework is evaluated in terms of classification performance, diagnostic localization, and runtime overhead. The results indicate that the hybrid approach can effectively identify flaky tests and localize potential sources of nondeterminism in JVM-based software systems.
Keywords:Java Virtual Machine (JVM)Dynamic Taint AnalysisMachine LearningTest Dependency AnalysisFlaky TestsBytecode ModificationAutomated Debugging

Cite this Article

Use the following citation when referencing this publication in academic or professional work.

R. Singh, "Machine Learning for Automated Flaky Test Diagnosis in JVMs", Int. J. Intell. Syst. Data Sci., vol. 1, no. 4, Oct. 2026, doi: https://doi.org/10.67231/m4bcqc44.

DOWNLOAD CITATION

Machine Learning for Automated Flaky Test Diagnosis in JVMs | International Journal of Intelligent Systems and Data Science