-
Install Python 3.6+ and required dependencies:
pip install xmltodict javalang pygments inflection nltk numpy scipy scikit-learn spacy
Also, download and install the GloVe word vectors
en_vectors_web_lg
for spaCy and NLTK data. -
Clone this repository:
git clone https://github.com/h4iku/bug-localization.git
Download the datasets file from here, and unzip it in the root directory of the cloned repository.
-
Check the path of datasets in the
datasets.py
module and change the value of theDATASET
variable to choose different datasets (values can beaspectj
,swt
, andzxing
). Run the main module:python main.py
All the modules are also independently runnable if it was needed to run them one by one.
forked from h4iku/bug-localization
-
Notifications
You must be signed in to change notification settings - Fork 1
Source code of the paper "Leveraging textual properties of bug reports to localize relevant source files"
License
ductt-1167/bug-localization
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Source code of the paper "Leveraging textual properties of bug reports to localize relevant source files"
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%