This is a command line tool that process static Java source code analysing all (try) catch blocks and outputs a CSV file with try-catch metadata and metric values.
Metric data elements reference: https://docs.google.com/spreadsheets/d/1AsQqDldNO5zLYc2wjhIXvscNICBjaIxTxBaFNWvV5e0/edit?usp=sharing
Execution outputs .log file(s), and .csv files.
f=[folder of the project to be evaluated] localMavenRepo=[the maven repo to include in the classpath generation]
java -jar jtratch.jar ByFolder $f $localMavenRepo;
See related research papers:
Guilherme B. de Pádua and Weiyi Shang. Studying the Prevalence of Exception Handling Anti-Patterns. 2017 IEEE/ACM 25th International Conference on Program Comprehension (ICPC 2017), ERA Track. Best ERA Paper Award . Website Paper Slides