arXiv Analytics

Sign in

arXiv:1701.00108 [cs.SE]AbstractReferencesReviewsResources

Parichayana: An Eclipse Plugin for Detecting Exception Handling Anti-Patterns and Code Smells in Java Programs

Ashish Sureka

Published 2016-12-31Version 1

Anti-patterns and code-smells are signs in the source code which are not defects (does not prevent the program from functioning and does not cause compile errors) and are rather indicators of deeper and bigger problems. Exception handling is a programming construct de- signed to handle the occurrence of anomalous or exceptional conditions (that changes the normal flow of program execution). In this paper, we present an Eclipse plug-in (called as Parichayana) for detecting exception handling anti-patterns and code smells in Java programs. Parichayana is capable of automatically detecting several commonly occurring excep- tion handling programming mistakes. We extend the Eclipse IDE and create new menu entries and associated action via the Parichayana plug- in (free and open-source hosted on GitHub). We compare and contrast Parichayana with several code smell detection tools and demonstrate that our tool provides unique capabilities in context to existing tools. We have created an update site and developers can use the Eclipse up- date manager to install Parichayana from our site. We used Parichyana on several large open-source Java based projects and detected presence of exception handling anti-patterns

Comments: Tools Demo Paper (paper provides links to the video demo and source code)
Categories: cs.SE
Subjects: K.6.3
Related articles: Most relevant | Search more
arXiv:2011.10787 [cs.SE] (Published 2020-11-21)
An Empirical Study on Failed Error Propagation in Java Programs with Real Faults
arXiv:1708.07393 [cs.SE] (Published 2017-07-27)
Control and Data Flow Execution of Java Programs
arXiv:1712.07804 [cs.SE] (Published 2017-12-21)
ARJA: Automated Repair of Java Programs via Multi-Objective Genetic Programming