bug-localization
Source code of the paper "Leveraging textual properties of bug reports to localize relevant source files."
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.5%) to scientific vocabulary
Keywords
Repository
Source code of the paper "Leveraging textual properties of bug reports to localize relevant source files."
Basic Info
- Host: GitHub
- Owner: h4iku
- License: mit
- Language: Python
- Default Branch: master
- Homepage: https://www.sciencedirect.com/science/article/pii/S0306457318301092
- Size: 47.9 KB
Statistics
- Stars: 23
- Watchers: 1
- Forks: 14
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
How to Run
Install Python 3.10 and clone this repository:
bash git clone https://github.com/h4iku/bug-localization.gitCreate a venv and install the dependencies:
bash cd bug-localization python -m venv .venv .venv/Scripts/activate python -m pip install -U pip setuptools pip install -r requirements.txtAlso, download and install the spaCy's
en_core_web_lgpretrained model (You can download itswhlfile directly from GitHub releases) and NLTK data. From NLTK, onlypunktandaveraged_perceptron_taggerare needed that can be downloaded using NLTK Downloader GUI or a Python interpreter:```python
import nltk nltk.download('punkt') nltk.download('averagedperceptrontagger') ```
Download the datasets file from here, and unzip it in the root directory of the cloned repository. You can also download these datasets from the BugLocator and BRTracer repositories. More datasets can be downloaded from the Bench4BL repository.
Check the path of datasets in
buglocalizer/datasets.pymodule and change the value of theDATASETvariable to choose different datasets (default values can beaspectj,swt, andzxing, but you can add more).Run the main module:
bash python buglocalizer/main.pyAll the modules are also independently runnable if it was needed to run them one by one.
Owner
- Name: Reza Gharibi
- Login: h4iku
- Kind: user
- Website: https://h4iku.github.io
- Repositories: 4
- Profile: https://github.com/h4iku
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Gharibi
given-names: Reza
orcid: https://orcid.org/0000-0001-6596-3658
- family-names: Rasekh
given-names: Amir Hossein
- family-names: Sadreddini
given-names: Mohammad Hadi
- family-names: Fakhrahmad
given-names: Seyed Mostafa
title: "Leveraging textual properties of bug reports to localize relevant source files"
doi: 10.1016/j.ipm.2018.07.004
repository-code: https://github.com/h4iku/bug-localization
preferred-citation:
type: article
authors:
- family-names: Gharibi
given-names: Reza
orcid: https://orcid.org/0000-0001-6596-3658
- family-names: Rasekh
given-names: Amir Hossein
- family-names: Sadreddini
given-names: Mohammad Hadi
- family-names: Fakhrahmad
given-names: Seyed Mostafa
doi: 10.1016/j.ipm.2018.07.004
journal: "Information Processing & Management"
month: 11
start: 1058
end: 1076
title: "Leveraging textual properties of bug reports to localize relevant source files"
issue: 6
volume: 54
year: 2018
url: https://www.sciencedirect.com/science/article/pii/S0306457318301092
GitHub Events
Total
- Watch event: 3
Last Year
- Watch event: 3
Dependencies
- Pygments ==2.12.0
- inflection ==0.5.1
- javalang ==0.13.0
- nltk ==3.7
- numpy ==1.22.3
- scikit-learn ==1.0.2
- scipy ==1.8.0
- spacy ==3.2.4
- xmltodict ==0.12.0