This repo contains the adapted version of defects4j and the data from the research paper: Re-visiting the coupling between mutants and real faults with Defects4J 2.0
defects4j_PIT was extended from René Just's defects4j project found here: https://github.com/rjust/defects4j
- MAJOR_suites_test_methods
- csv_data
- defects4j_PIT
- fixed_suites
- important_log_files
- merged_valid_maps
- triggering_tests
Contains "test_methods.txt" files with all the test methods for a given test suite. This file was used with the MAJOR mutation tool to create the kill maps at a test method level (Opposed to a test class level).
Example: MAJOR_suites_test_methods/auto_gen_suites_all_test_methods/Collections/evosuite/2/28f/test_methods.txt:
org.apache.commons.collections4.trie.AbstractPatriciaTrie_ESTest
test00()
test01()
test02()
This file contains the test methods for the test suite generated by the second run of evosuite for the Commons-Collections project's fault 28. It shows that there is 1 test class (org.apache.commons.collections4.trie.AbstractPatriciaTrie_ESTest) containing 3 test methods (test00, test01, test02).
The raw csv files from the mutation analysis experiments.
This is the extended version of defects4j framework that was used. The PIT Mutation tool (https://pitest.org/) was intergrated into the defects4j framewok. Several other existing scripts were extended to allow MAJOR to operate at a test method level. See https://github.com/SteGaff7/Mutant_Fault_Coupling/blob/master/defects4j_PIT/README.md for further details.
The fixed test suites used in the mutation analysis. Raw test suites were generated using defects4j gen_tests.pl with the Evosuite and Randoop test generation tools, 5 were generated for each tool. These suites were then fixed using defects4j fix_test_suite.pl script. Each folder corresponds to one of the 5 runs of each tool on a project, and contains the test suites for all faults in the projects as independent archives containing the test code.
Important and interesting log files. The list of bugs used for this research can be found here (valid_bugs), the suites used for each bug can also be found.
The merged kill maps for a given mutation tool (PIT or MAJOR) for a given bug can be found here. E.g all merged PIT kill maps for fault Time-12. Stored in tar.xz archive as the extracted directories are quite large (MAJOR - 4.9GB and PIT - 29GB)
Contains all the triggering tests from all test suites for a given bug in one file. Has 2 further subdirectories, triggering tests for generated test suites and triggering tests for developer test suites.
Example: triggering_tests/auto_gen_triggering_tests/JacksonCore/10f/JacksonCore-10f-triggering_tests:
10f-evosuite-5-com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer_ESTest.test44
10f-evosuite-5-com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer_ESTest.test10
10f-evosuite-5-com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer_ESTest.test59