Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.08 KB

README.md

File metadata and controls

25 lines (13 loc) · 1.08 KB

JTratch

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

How to execute:

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;

Research

See related research papers:

Anti-patterns detection

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