Dissection of a Bug Dataset : Anatomy of 395 Patches from Defects4J

Defects4J Dissection presents data to help researchers and practitioners to better understand the Defects4J bug dataset. It is the open-science appendix of "Dissection of a Bug Dataset: Anatomy of 395 Patches from Defects4J".

    title = {{Dissection of a Bug Dataset: Anatomy of 395 Patches from Defects4J}},
    author = {Sobreira, Victor and Durieux, Thomas and Madeiral, Fernanda and Monperrus, Martin and Maia, Marcelo A.}
    booktitle = {Proceedings of SANER},
    year = {2018}

Main files:

  • The file defects4j-bugs.json contains all the extracted information.
  • The file defects4j-patch.md gives link to the buggy and patched version as well as the diff.
  • The website http://program-repair.github.io/defects4j-dissection/ is a user interface that presents the information contained in defects4j-bugs.json in a user-friendly manner.

defects4j-bugs.json format

		// more repair operations ("name": true)
		"Observations":"Changes params passed to constructor.",
				"className":" org.jfree.data.time.junit.WeekTests",
				"message":"expected:<35> but was:<	34>"
		"diff":"git diff of the source"
Last Updated: 8/30/2018, 12:22:55 PM