Exception handling mechanisms are a common feature of mainstream programming languages to deal with exceptional conditions. If on the one hand they allow the programmer to prepare the code to deal with exceptional conditions, on the other hand they can become a source of bugs that threatens the application robustness -studies have shown that uncaught exceptions are the main cause of application crashes. To keep track of crashes and enable an easier fault localization, several applications, nowadays, use crash reporting tools. In this work, we propose a tool named CrashAwareDev, integrated with the Eclipse IDE, which mines the information available in crash reporting tools to support programmers in their day-to-day activities. The proposed tool alerts developers about the classes related to recent crashes and warns about source code characteristics (bug patterns) that can be related to future crashes (similar to the ones that have happened). Doing so the tool aims at bringing the development environment closer to crash reporting tools, that are usually only used for bug fixing or for extracting robustness metrics. A case study was conducted and showed that the tool can support software development by displaying bug pattern alerts directly in the source code, signaling the classes involved in recent faults, and speeding up the crash's fault localization within the development environment itself.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.