DocumentCode
1926724
Title
Heuristic Strategies for Recommendation of Exception Handling Code
Author
Barbosa, Eiji Adachi ; Garcia, Alessandro ; Mezini, Mira
Author_Institution
OPUS Res. Group, PUC-Rio, Rio de Janeiro, Brazil
fYear
2012
fDate
23-28 Sept. 2012
Firstpage
171
Lastpage
180
Abstract
Software developers have difficulties in implementing exception handling code in their systems. In particular, they fail in implementing appropriate handling actions. Not surprisingly, recurring failures and performance issues are often related to the poor exception handling actions implemented in real software systems. In this paper we propose, implement and evaluate a set of three heuristic strategies used to recommend exception handling code in programming tasks. Given a method in which the developer wants to handle an exception, the heuristics recommend a list of code fragments implementing exception handling. The heuristics´ goal is to accurately find code fragments implementing exception handling and recommend these fragments according to the context of developers´ implementation task. Hence, the proposed heuristics may assist developers in the process of discovering exception handling actions relevant to their context by providing concrete examples. We believe that a recommender system based on the proposed heuristics may be used in the future as a tool for aiding exception handling implementation.
Keywords
exception handling; recommender systems; software performance evaluation; exception handling code; heuristic strategies; performance issues; programming tasks; recommender system; software development; software systems; Computer languages; Context; Data mining; Programming; Robustness; Software systems; code example recommendation; exception handling; heuristic strategies;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering (SBES), 2012 26th Brazilian Symposium on
Conference_Location
Natal
Print_ISBN
978-1-4673-4472-2
Type
conf
DOI
10.1109/SBES.2012.22
Filename
6337870
Link To Document