defects4j
defects4j copied to clipboard
bug method files
@rjust Hello,how to obtain the method file where each defect is located? Rather than the entire bug-like file.
Hi @lemon1-ui,
Currently, there is no Defects4J command that provides this information. You can use a source-code or byte-code analysis to map patched lines to method names, including (generated) constructors and static initializers.
Best, René