Fault localization is an essential step in the debugging process. Spectrum-Based Fault Localization (SBFL) is a popular fault localization family of techniques, utilizing code-coverage to predict suspicious lines of code. In this paper, we present FLACOCO, a new fault localization tool for Java. The key novelty of FLACOCO is that it is built on top of one of the most used and most reliable coverage libraries for Java, JaCoCo. FLACOCO is made available through a well-designed command-line interface and Java API and supports all Java versions. We validate FLACOCO on two use-cases from the automatic program repair domain by reproducing previous scientific experiments. We find it is capable of effectively replacing the state-of-the-art FL library. Overall, we hope that FLACOCO will help research in fault localization as well as industry adoption thanks to being founded on industry-grade code coverage. An introductory video is available at https://youtu.be/RFRyvQuwRYA
翻译:故障定位是调试过程中不可或缺的步骤。 基于光谱的故障定位(SBFL)是一种流行的故障定位技术,利用代码覆盖来预测可疑的代码行。在本文中,我们介绍了FLACOCO,一种新的Java故障定位工具。 FLACOCO的关键创新之处在于它构建在Java中最常用和最可靠的覆盖库之一JaCoCo之上。 FLACOCO通过精心设计的命令行界面和Java API提供,支持所有Java版本。我们通过重现以前的科学实验,在自动程序修复领域的两个用例上验证了FLACOCO。我们发现它能有效地替换最先进的FL库。总体而言,我们希望FLACOCO将有助于故障定位领域的研究及其在工业界的应用,因为它是基于工业级代码覆盖率的。欢迎转至https://youtu.be/RFRyvQuwRYA观看简介视频。