← All artifacts
tool

TBar

A template-based automated program repair tool that revisits and unifies fix patterns from the literature, a widely used baseline in APR research.

Kui Liu, Anil Koyuncu, Dongsun Kim, Tegawendé F. Bissyandé

View on GitHub

How it works

The overall workflow of TBar (ISSTA 2019 paper, Figure 1)
The overall workflow of TBar (ISSTA 2019 paper, Figure 1)

Interactive demo

Pick a fictional Java bug to preview TBar's repair loop: localize a suspicious statement, match its AST context against a fix template, instantiate candidates, and validate them against a test suite.

Pick a task above to see it in action.

Interactive simulation only — TBar and the tests do not run in the browser. Files, defects, suspiciousness scores, generated patches, candidate ranks, and test outcomes are fictional; only the fix-template concepts reflect the tool's workflow, and none of these examples is a paper result.

Paper

TBar: Revisiting Template-Based Automated Program Repair
ISSTA 2019 · DOI: 10.1145/3293882.3330577

Cite this artifact

@inproceedings{10.1145/3293882.3330577,
  author    = {Liu, Kui and Koyuncu, Anil and Kim, Dongsun and Bissyand\'{e}, Tegawend\'{e} F.},
  title     = {TBar: Revisiting Template-Based Automated Program Repair},
  booktitle = {Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis},
  year      = {2019},
  pages     = {31--42},
  publisher = {Association for Computing Machinery},
  address   = {New York, NY, USA},
  doi       = {10.1145/3293882.3330577},
  url       = {https://doi.org/10.1145/3293882.3330577}
}