This repository includes the source code and data for our paper "Slithering Through Exception Handling Bugs in Python: Understanding Symptoms, Root Causes, Fixes and Anti-patterns".
datasets\bugs\dataset_exception_bugs.csv
datasets\bugs\dataset_exception_fixes_anti_patterns.csv
datasets\bugs\output_parser\
projects_py.csv
- Python 3.6+
To reproduce the results from our parser, follow the instructions below.
- Run
pip install -r requirements.txt
- Run
python3 miner.py
To run the unit tests, follow the instructions below.
- Run
python3 -m unittest
To generate the coverage report, follow the instructions below.
- Run
coverage run -m unittest
- Run
coverage report --omit *test_*,*__init__*