Datasets › Defects4J

Defects4J

1 Jul 2014 archive 2025-07-28

Defects4J is a collection of reproducible bugs and a supporting infrastructure with the goal of advancing software engineering research.

Defects4J contains 835 bugs (plus 29 deprecated bugs) from the following open-source projects:

Identifier Project name Number of active bugs Active bug ids Deprecated bug ids (*)
Chart jfreechart 26 1-26 None
Cli commons-cli 39 1-5,7-40 6
Closure closure-compiler 174 1-62,64-92,94-176 63,93
Codec commons-codec 18 1-18 None
Collections commons-collections 4 25-28 1-24
Compress commons-compress 47 1-47 None
Csv commons-csv 16 1-16 None
Gson gson 18 1-18 None
JacksonCore jackson-core 26 1-26 None
JacksonDatabind jackson-databind 112 1-112 None
JacksonXml jackson-dataformat-xml 6 1-6 None
Jsoup jsoup 93 1-93 None
JxPath commons-jxpath 22 1-22 None
Lang commons-lang 64 1,3-65 2
Math commons-math 106 1-106 None
Mockito mockito 38 1-38 None
Time joda-time 26 1-20,22-27 21

Benchmarks archive 2025-07-28

All 1 leaderboard whose dataset resolves to this page shown (sort by any header). "First row" is the archive's own first row at snapshot, in the archive's row order; nothing here re-ranks and metric direction is not asserted.

First row (archive order)PaperCode
Code Completion Defects4J Rambo Compilation Rate 76.47 RAMBO: Enhancing RAG-based Repository-Level Method Body... ise-uet-vnu/rambo 2 Compare

Papers archive 2025-07-28

2 shown of 2 papers with a leaderboard row on this dataset's benchmarks, newest first. The archive's own "papers using this dataset" list was never published, so this is the benchmark-backed subset; the archive's count for this dataset is 9. The Syntology column is from Syntology's graph (read 2026-09-24), stated per sample; it is not part of any archive number.

DateSamples run Syntology
RAMBO: Enhancing RAG-based Repository-Level Method Body Completion 1 1 23 Sep 2024 not harvested
RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation 1 1 22 Mar 2023 ran 1 of 7 samples (6 unverified)

Dataset loaders archive 2025-07-28

No loader listed in the archive.

Tasks archive 2025-07-28

License archive 2025-07-28

MIT License

Modalities archive 2025-07-28

No modality tagged.

Languages archive 2025-07-28

Variants archive 2025-07-28

  • Defects4J

1 variant name, as the archive lists them.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections