Enhancing Source Code Refactoring Detection with Explanations from Commit Messages. Krasniqi, R. & Cleland-Huang, J. In 2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER), pages 512–516, London, ON, Canada, February, 2020. IEEE. doi abstract bibtex 10 downloads We investigate the extent to which code commit summaries provide rationales and descriptions of code refactorings. We present a refactoring description detection tool CMMiner that detects code commit messages containing refactoring information and differentiates between twelve different refactoring types. We further explore whether refactoring information mined from commit messages using CMMiner, can be combined with refactoring descriptions mined from source code using the well-known RMiner tool. For six refactoring types covered by both CMMiner and RMiner, we observed 21.96% to 38.59% overlap in refactorings detected across four diverse open-source systems. RMiner identified approximately 49.13% to 60.29% of refactorings missed by CMMiner, primarily because developers often failed to describe code refactorings that occurred alongside other code changes. However, CMMiner identified 10.30% to 19.51% of refactorings missed by RMiner, primarily when refactorings occurred across multiple commits. Our results suggest that integrating both approaches can enhance the completeness of refactoring detection and provide refactoring rationales.
@inproceedings{krasniqi_enhancing_2020,
address = {London, ON, Canada},
title = {Enhancing {Source} {Code} {Refactoring} {Detection} with {Explanations} from {Commit} {Messages}},
isbn = {978-1-72815-143-4},
doi = {10.1109/SANER48275.2020.9054816},
abstract = {We investigate the extent to which code commit summaries provide rationales and descriptions of code refactorings. We present a refactoring description detection tool CMMiner that detects code commit messages containing refactoring information and differentiates between twelve different refactoring types. We further explore whether refactoring information mined from commit messages using CMMiner, can be combined with refactoring descriptions mined from source code using the well-known RMiner tool. For six refactoring types covered by both CMMiner and RMiner, we observed 21.96\% to 38.59\% overlap in refactorings detected across four diverse open-source systems. RMiner identified approximately 49.13\% to 60.29\% of refactorings missed by CMMiner, primarily because developers often failed to describe code refactorings that occurred alongside other code changes. However, CMMiner identified 10.30\% to 19.51\% of refactorings missed by RMiner, primarily when refactorings occurred across multiple commits. Our results suggest that integrating both approaches can enhance the completeness of refactoring detection and provide refactoring rationales.},
urldate = {2022-09-29},
booktitle = {2020 {IEEE} 27th {International} {Conference} on {Software} {Analysis}, {Evolution} and {Reengineering} ({SANER})},
publisher = {IEEE},
author = {Krasniqi, Rrezarta and Cleland-Huang, Jane},
month = feb,
year = {2020},
keywords = {Conference Short Papers},
pages = {512--516},
}
Downloads: 10
{"_id":"FaYkYnnkwoeRqCt4b","bibbaseid":"krasniqi-clelandhuang-enhancingsourcecoderefactoringdetectionwithexplanationsfromcommitmessages-2020","author_short":["Krasniqi, R.","Cleland-Huang, J."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","address":"London, ON, Canada","title":"Enhancing Source Code Refactoring Detection with Explanations from Commit Messages","isbn":"978-1-72815-143-4","doi":"10.1109/SANER48275.2020.9054816","abstract":"We investigate the extent to which code commit summaries provide rationales and descriptions of code refactorings. We present a refactoring description detection tool CMMiner that detects code commit messages containing refactoring information and differentiates between twelve different refactoring types. We further explore whether refactoring information mined from commit messages using CMMiner, can be combined with refactoring descriptions mined from source code using the well-known RMiner tool. For six refactoring types covered by both CMMiner and RMiner, we observed 21.96% to 38.59% overlap in refactorings detected across four diverse open-source systems. RMiner identified approximately 49.13% to 60.29% of refactorings missed by CMMiner, primarily because developers often failed to describe code refactorings that occurred alongside other code changes. However, CMMiner identified 10.30% to 19.51% of refactorings missed by RMiner, primarily when refactorings occurred across multiple commits. Our results suggest that integrating both approaches can enhance the completeness of refactoring detection and provide refactoring rationales.","urldate":"2022-09-29","booktitle":"2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER)","publisher":"IEEE","author":[{"propositions":[],"lastnames":["Krasniqi"],"firstnames":["Rrezarta"],"suffixes":[]},{"propositions":[],"lastnames":["Cleland-Huang"],"firstnames":["Jane"],"suffixes":[]}],"month":"February","year":"2020","keywords":"Conference Short Papers","pages":"512–516","bibtex":"@inproceedings{krasniqi_enhancing_2020,\n\taddress = {London, ON, Canada},\n\ttitle = {Enhancing {Source} {Code} {Refactoring} {Detection} with {Explanations} from {Commit} {Messages}},\n\tisbn = {978-1-72815-143-4},\n\tdoi = {10.1109/SANER48275.2020.9054816},\n\tabstract = {We investigate the extent to which code commit summaries provide rationales and descriptions of code refactorings. We present a refactoring description detection tool CMMiner that detects code commit messages containing refactoring information and differentiates between twelve different refactoring types. We further explore whether refactoring information mined from commit messages using CMMiner, can be combined with refactoring descriptions mined from source code using the well-known RMiner tool. For six refactoring types covered by both CMMiner and RMiner, we observed 21.96\\% to 38.59\\% overlap in refactorings detected across four diverse open-source systems. RMiner identified approximately 49.13\\% to 60.29\\% of refactorings missed by CMMiner, primarily because developers often failed to describe code refactorings that occurred alongside other code changes. However, CMMiner identified 10.30\\% to 19.51\\% of refactorings missed by RMiner, primarily when refactorings occurred across multiple commits. Our results suggest that integrating both approaches can enhance the completeness of refactoring detection and provide refactoring rationales.},\n\turldate = {2022-09-29},\n\tbooktitle = {2020 {IEEE} 27th {International} {Conference} on {Software} {Analysis}, {Evolution} and {Reengineering} ({SANER})},\n\tpublisher = {IEEE},\n\tauthor = {Krasniqi, Rrezarta and Cleland-Huang, Jane},\n\tmonth = feb,\n\tyear = {2020},\n\tkeywords = {Conference Short Papers},\n\tpages = {512--516},\n}\n\n","author_short":["Krasniqi, R.","Cleland-Huang, J."],"key":"krasniqi_enhancing_2020","id":"krasniqi_enhancing_2020","bibbaseid":"krasniqi-clelandhuang-enhancingsourcecoderefactoringdetectionwithexplanationsfromcommitmessages-2020","role":"author","urls":{},"keyword":["Conference Short Papers"],"metadata":{"authorlinks":{}},"downloads":10},"bibtype":"inproceedings","biburl":"https://api.zotero.org/users/10198036/collections/2RHJXKSI/items?key=X0RoN8iO9RtTbrWfSkRasb7b&format=bibtex&limit=100","dataSources":["DRBtDWpePBDB66rjq","ADpzbvLQCLQu8ctuG","37aX9ioouEvzbunGp","ya2CyA73rpZseyrZ8","JHDShjsHrs6ZHE4bz","srzvYyhPWR5PMfzfx","A6LHtF3YYwr9M952d"],"keywords":["conference short papers"],"search_terms":["enhancing","source","code","refactoring","detection","explanations","commit","messages","krasniqi","cleland-huang"],"title":"Enhancing Source Code Refactoring Detection with Explanations from Commit Messages","year":2020,"downloads":10}