Skip to content

A hybrid method for recovering links between issue reports and their respective commits

License

Notifications You must be signed in to change notification settings

MalihehIzadi/hybrid-linker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hybrid Linker

This repositry contains the source code adn datasets for our study titled as "Automated Recovery of Issue-Commit Links Leveraging Both Textual and Non-textual Data", accepted at the IEEE International Working Conference on Source Code Analysis and Manipulation (ICSME 2021).

An issue report documents the discussions around required changes in issue-tracking systems, while a commit contains the change itself in the version control systems. Recovering links between issues and commits can facilitate many software evolution tasks such as bug localization, defect prediction, software quality measurement, and software documentation. A previous study on over half a million issues from GitHub reports only about 42.2% of issues are manually linked by developers to their pertinent commits. Automating the linking of commit-issue pairs can contribute to the improvement of the said tasks. By far, current state-of-the-art approaches for automated commit-issue linking suffer from low precision, leading to unreliable results, sometimes to the point that imposes human supervision on the predicted links. The low performance gets even more severe when there is a lack of textual information in either commits or issues. Current approaches are also proven computationally expensive.

We propose Hybrid-Linker, an enhanced approach that overcomes such limitations by exploiting two information channels; (1) a non-textual-based component that operates on non-textual, automatically recorded information of the commit-issue pairs to predict a link, and (2) a textual-based one which does the same using textual information of the commit-issue pairs. Then, combining the results from the two classifiers, Hybrid-Linker makes the final prediction. Thus, every time one component falls short in predicting a link, the other component fills the gap and improves the results. We evaluate Hybrid-Linker against competing approaches, namely FRLink and DeepLink on a dataset of 12 projects. Hybrid-Linker achieves 90.1%, 87.8%, and 88.9% based on recall, precision, and F-measure, respectively. It also outperforms FRLink and DeepLink by 31.3%, and 41.3%, regarding the F-measure.

You can use the data by accessing Zenodo link: https://doi.org/10.5281/zenodo.5067833
You can find the paper here: https://doi.ieeecomputersociety.org/10.1109/ICSME52107.2021.00030
To cite this article, please use the following citation:

@inproceedings{mazrae2021automated,
  title={Automated Recovery of Issue-Commit Links Leveraging Both Textual and Non-textual Data},
  author={Mazrae, Pooya Rostami and Izadi, Maliheh and Heydarnoori, Abbas},
  booktitle={2021 IEEE International Conference on Software Maintenance and Evolution (ICSME)},
  pages={263--273},
  organization={IEEE}
}

The Link to YouTube Video for paper presentation: https://www.youtube.com/watch?v=WIIvoYicJ9k&ab_channel=Pooyarostamimazrae

Hybrid-Linker

About

A hybrid method for recovering links between issue reports and their respective commits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages