QACrashFix is a tool for generating fixes for crash bugs automatically via analyzing Q&A pages. It extracts code snippets from each page and generates edit scripts. By extracting source code snippets and applying the edit scripts, it generates patches and filters out those failed to compile.

QACrashFix uses Eclipse AST parser to parse code snippets to ASTs, re-implements and modifies the GumTree algorithm to build mappings and generate edit scripts, and uses Stack Overflow as the source of Q&A pages.

Full analysis of the first filtered patches in the experiment described in our paper is here.

Download

Tutorial

Publication

Contributors

Contributors to QACrashFix implementation are:

References

QACrashFix uses the following tools:

HTML style inspired from Fastcheck