Discovering faults in idiom-based exception handling
Proceedings of the 28th international conference on Software engineering
DATES: Design Analysis Tool for Enterprise Systems
SCAM '07 Proceedings of the Seventh IEEE International Working Conference on Source Code Analysis and Manipulation
Hi-index | 0.00 |
Commonly enterprise systems are implemented using the object-oriented and relational paradigms, among which the communication is performed using various library methods for manipulating the persistent data. Most of the times the involved library methods throw different exceptions. An improper handling mechanism for these exceptions in the source code may bring different problems at runtime and hamper its maintenance. In this work we introduce an approach that automatically detects the methods from the source code which reveal an improper mechanism for handling exceptions involving database operations. The detected methods should be refactored in order to increase the reliability of the application, as well as its maintenance.