skip to main content
10.1145/2591062.2591087acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Improving exception handling with recommendations

Published: 31 May 2014 Publication History

Abstract

Exception handling mechanisms are the most common model used to design and implement robust software systems. Despite their wide adoption in mainstream programming languages, empirical evidence suggests that developers are still not properly using these mechanisms to achieve better software robustness. Without adequate support, developers struggle to decide the proper manner in which they should handle their exceptions, i.e., the place where the exception should be caught and the handling actions that should be implemented. As a consequence, they tend to ignore exceptions by implementing empty handlers or leaving them unhandled, which may ultimately lead to the introduction of faults in the source code. In this context, this PhD research aims at investigating means to improve the quality of exception handling in software projects. To achieve this goal, we propose a recommender system able to support developers in implementing exception handling.

References

[1]
Barbosa, E. A., Garcia, A., and Mezini, M. Heuristic Strategies for Recommendation of Exception Handling Code. In Proc. of the 26th SBES (Sept. 2012), IEEE, pp. 171–180.
[2]
Cabral, B., and Marques, P. Exception Handling: A Field Study in Java and .NET, vol. 4609 of LNCS. Springer Berlin Heidelberg, 2007.
[3]
Cacho, N., Castor, F., Garcia, A., and Figueiredo, E. EJFlow : Taming Exceptional Control Flows in Aspect-Oriented Programming. In Proc. of the 7th AOSD (2008), pp. 72–83.
[4]
Goodenough, J. B. Exception handling: ˆ Aăissues and a proposed notation. Communications of the ACM 18, 12 (1975), 683.
[5]
Robillard, M., Walker, R., and Zimmermann, T. Recommendation Systems for Software Engineering. IEEE Software 27, 4 (July 2010), 80–86.
[6]
Robillard, M. P., and Murphy, G. C. Designing robust Java programs with exceptions. In Proc. of the 8th ACM SIGSOFT FSE (2000), pp. 2 – 10.
[7]
Sawadpong, P., Allen, E. B., and Williams, B. J. Exception Handling Defects: An Empirical Study. In 2012 IEEE 14th HASE (Oct. 2012), IEEE, pp. 90–97.
[8]
Shah, H., Gorg, C., and Harrold, M. Understanding Exception Handling: Viewpoints of Novices and Experts. IEEE TSE 36, 2 (Mar. 2010), 150–161.

Cited By

View all
  • (2021)Sifter: A Service Isolation Strategy for Internet ApplicationsIEEE Transactions on Services Computing10.1109/TSC.2018.287625414:5(1545-1557)Online publication date: 1-Sep-2021

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
ICSE Companion 2014: Companion Proceedings of the 36th International Conference on Software Engineering
May 2014
741 pages
ISBN:9781450327688
DOI:10.1145/2591062
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 ACM 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]

Sponsors

In-Cooperation

  • TCSE: IEEE Computer Society's Tech. Council on Software Engin.

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 31 May 2014

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Exception handling
  2. recommender system

Qualifiers

  • Article

Conference

ICSE '14
Sponsor:

Acceptance Rates

Overall Acceptance Rate 276 of 1,856 submissions, 15%

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 17 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2021)Sifter: A Service Isolation Strategy for Internet ApplicationsIEEE Transactions on Services Computing10.1109/TSC.2018.287625414:5(1545-1557)Online publication date: 1-Sep-2021

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media