skip to main content
10.1145/3183440.3194971acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
poster

Recommending exception handling patterns with ExAssist

Published:27 May 2018Publication History

ABSTRACT

Exception handling is an advanced programming technique to prevent run-time errors or crashes for modern software systems. However, inexperienced programmers might fail to write proper exception handling code in their programs. In this paper, we introduce ExAssist, a code recommendation tool for exception handling. Ex-Assist can predict what types of exception could occur in a given piece of code and recommend proper exception handling code for such an exception. Preliminary evaluation of ExAssist suggests that it provides highly accurate recommendations.

References

  1. R. Coelho, L. Almeida, G. Gousios, and A. v. Deursen. 2015. Unveiling Exception Handling Bug Hazards in Android Based on GitHub and Google Code. In MSR. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. A. Nguyen, H. Nguyen, T. Nguyen, and T. Nguyen. 2012. GraPacc: A Graph-based Pattern-oriented, Context-sensitive Code Completion Tool. In ICSE '12. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. T. Nguyen, H. Pham, P. Vu, and T. Nguyen. 2015. Recommending API Usages for Mobile Apps with Hidden Markov Model. In ASE.Google ScholarGoogle Scholar
  4. S. Thummalapenta and T. Xie. 2009. Mining Exception-handling Rules As Sequence Association Rules. In ICSE. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. W. Weimer and G. Necula. 2005. Mining Temporal Specifications for Error Detection. In TACAS. Google ScholarGoogle ScholarDigital LibraryDigital Library

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
    ICSE '18: Proceedings of the 40th International Conference on Software Engineering: Companion Proceeedings
    May 2018
    231 pages
    ISBN:9781450356633
    DOI:10.1145/3183440
    • Conference Chair:
    • Michel Chaudron,
    • General Chair:
    • Ivica Crnkovic,
    • Program Chairs:
    • Marsha Chechik,
    • Mark Harman

    Copyright © 2018 Owner/Author

    Permission to make digital or hard copies of part or all 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 third-party components of this work must be honored. For all other uses, contact the Owner/Author.

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 27 May 2018

    Check for updates

    Qualifiers

    • poster

    Acceptance Rates

    Overall Acceptance Rate276of1,856submissions,15%

    Upcoming Conference

    ICSE 2025
  • Article Metrics

    • Downloads (Last 12 months)3
    • Downloads (Last 6 weeks)2

    Other Metrics

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader