2016 · 35 citations · 6 references
ComputingComputer ScienceOperating SystemsSoftware EngineeringSystems ProgrammingApplication Programming InterfacesStatic Code AnalysisCode ComprehensionException HandlingException ManagementSource Code Analysis
Exception handling is a technique that addresses exceptional conditions in applications, allowing the normal flow of execution to continue in the event of an exception and/or to report on such events. Although exception handling techniques, features and bad coding practices have been discussed both in developer communities and in the literature, there is a marked lack of empirical evidence on how developers use exception handling in practice. In this paper we use the Boa language and infrastructure to analyze 274k open source Java projects in GitHub to discover how developers use exception handling. We not only consider various exception handling features but also explore bad coding practices and their relation to the experience of developers. Our results provide some interesting insights. For example, we found that bad exception handling coding practices are common in open source Java projects and regardless of experience all developers use bad exception handling coding practices.
6
Predicting risk of software changes
Audris Mockus, David M. Weiss · Bell Labs Technical Journal · 2002 · 427 citations
Finding and preventing run-time error handling mistakes
Westley Weimer, George C. Necula · 2004 · 139 citations
Mining exception-handling rules as sequence association rules
Suresh Thummalapenta, Tao Xie · 2009 · 135 citations