Skip to content

Exception flow and exception handling extractor for Java projects using Eclipse Java Development Tools (JDT).

License

Notifications You must be signed in to change notification settings

guipadua/JTratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Exception flow and exception handling extractor for Java projects using Eclipse Java Development Tools (JDT).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages