PofoliaShared via Pofolia

· 2014

Defects4J: a database of existing faults to enable controlled testing studies for Java programs

René Just, Darioush Jalali, Michael D. Ernst

Short summary

Defects4J is a new database and framework providing 357 real bugs from 5 open-source Java programs to enable reproducible software testing research.

AI-generated from the title and abstract; the full text is not read.

Key points

  • Introduces Defects4J, a database of 357 real bugs from 5 open-source Java programs.
  • Each bug is accompanied by a test suite that demonstrates its existence.
  • The framework allows easy access to faulty and fixed program versions.
  • Built on version control systems, it is extensible for adding new bugs.

AI-generated from the title and abstract; the full text is not read.

Abstract

Empirical studies in software testing research may not be comparable, reproducible, or characteristic of practice. One reason is that real bugs are too infrequently used in software testing research. Extracting and reproducing real bugs is challenging and as a result hand-seeded faults or mutants are commonly used as a substitute. This paper presents Defects4J, a database and extensible framework providing real bugs to enable reproducible studies in software testing research. The initial version of Defects4J contains 357 real bugs from 5 real-world open source pro- grams. Each real bug is accompanied by a comprehensive test suite that can expose (demonstrate) that bug. Defects4J is extensible and builds on top of each program’s version con- trol system. Once a program is configured in Defects4J, new bugs can be added to the database with little or no effort. Defects4J features a framework to easily access faulty and fixed program versions and corresponding test suites. This framework also provides a high-level interface to common tasks in software testing research, making it easy to con- duct and reproduce empirical studies. Defects4J is publicly available at http://defects4j.org.

The authors' abstract, as published at the source., 2014 · DOI ↗

TakeawaysPremium
Ask the paperFree account

Continue with a free account

Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Software

SoftwareComputer Science