skip to main content
10.1145/2896921.2896931acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

DynaMoth: dynamic code synthesis for automatic program repair

Published:14 May 2016Publication History

ABSTRACT

Automatic software repair is the process of automatically fixing bugs. The Nopol repair system [4] repairs Java code using code synthesis. We have designed a new code synthesis engine for Nopol based on dynamic exploration, it is called DynaMoth. The main design goal is to be able to generate patches with method calls. We evaluate DynaMoth over 224 of the Defects4J dataset. The evaluation shows that Nopol with DynaMoth is capable of synthesizing patches and enables Nopol to repair new bugs of the dataset.

References

  1. R. Abreu, P. Zoeteweij, and A. J. Van Gemund. On the accuracy of spectrum-based fault localization. In Testing: Academic and Industrial Conference Practice and Research Techniques-MUTATION, 2007. TAICPART-MUTATION 2007, pages 89--98. IEEE, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. R. Bolze, F. Cappello, E. Caron, M. Daydé, F. Desprez, E. Jeannot, Y. Jégou, S. Lanteri, J. Leduc, N. Melab, et al. Grid'5000: a large scale and highly reconfigurable experimental grid testbed. volume 20, pages 481--494. SAGE Publications, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. J. Campos, A. Riboira, A. Perez, and R. Abreu. Gzoltar: an Eclipse plug-in for testing and debugging. In Proceedings of Automated Software Engineering, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. F. Demarco, J. Xuan, D. Le Berre, and M. Monperrus. Automatic Repair of Buggy If Conditions and Missing Preconditions with SMT. In CSTVA'2014, Hyderabad, India, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. J. Galenson, P. Reames, R. Bodik, Hartmann, and K. Sen. Codehint: Dynamic and interactive synthesis of code snippets. In Proceedings of the 36th International Conference on Software Engineering, pages 653--663. ACM, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. Jha, S. Gulwani, S. A. Seshia, and A. Tiwari. Oracle-guided component-based program synthesis. In Proceedings of the International Conference on Software Engineering, volume 1, pages 215--224. IEEE, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. R. Just, D. Jalali, and M. D. Ernst. Defects4J: A Database of existing faults to enable controlled testing studies for Java programs. In ISSTA 2014, Proceedings of the 2014 International Symposium on Software Testing and Analysis, pages 437--440, San Jose, CA, USA, July 23-25, 2014. Tool demo. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. C. Le Goues, T. Nguyen, S. Forrest, and W. Weimer. Genprog: A generic method for automatic software repair. IEEE Transactions on Software Engineering, 38(1):54--72, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. H. D. T. Nguyen, D. Qi, A. Roychoudhury, and S. Chandra. Semfix: Program repair via semantic analysis. In Proceedings of the 2013 International Conference on Software Engineering, pages 772--781. IEEE Press, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. Pawlak, M. Monperrus, N. Petitprez, C. Noguera, and L. Seinturier. Technical Report 5901, 2015.Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    AST '16: Proceedings of the 11th International Workshop on Automation of Software Test
    May 2016
    105 pages
    ISBN:9781450341516
    DOI:10.1145/2896921

    Copyright © 2016 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 14 May 2016

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article

    Upcoming Conference

    ICSE 2025

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader