Please use this identifier to cite or link to this item: https://hdl.handle.net/11147/14571
Full metadata record
DC FieldValueLanguage
dc.contributor.authorKartal,Y.-
dc.contributor.authorAkdeniz,E.K.-
dc.contributor.authorÖzkan,K.-
dc.date.accessioned2024-06-19T14:29:41Z-
dc.date.available2024-06-19T14:29:41Z-
dc.date.issued2024-
dc.identifier.issn9505-849-
dc.identifier.urihttps://doi.org/10.1016/j.infsof.2024.107490-
dc.identifier.urihttps://hdl.handle.net/11147/14571-
dc.description.abstractContext: Modern code review is a critical component in software development processes, as it ensures security, detects errors early and improves code quality. However, manual reviews can be time-consuming and unreliable. Automated code review can address these issues. Although deep-learning methods have been used to recommend code review comments, they are expensive to train and employ. Instead, information retrieval (IR)-based methods for automatic code review are showing promising results in efficiency, effectiveness, and flexibility. Objective: Our main objective is to determine the optimal combination of the vectorization method and similarity to measure what gives the best results in an automatic code review, thereby improving the performance of IR-based methods. Method: Specifically, we investigate different vectorization methods (Word2Vec, Doc2Vec, Code2Vec, and Transformer) that differ from previous research (TF-IDF and Bag-of-Words), and similarity measures (Cosine, Euclidean, and Manhattan) to capture the semantic similarities between code texts. We evaluate the performance of these methods using standard metrics, such as Blue, Meteor, and Rouge-L, and include the run-time of the models in our results. Results: Our results demonstrate that the Transformer model outperforms the state-of-the-art method in all standard metrics and similarity measurements, achieving a 19.1% improvement in providing exact matches and a 6.2% improvement in recommending reviews closer to human reviews. Conclusion: Our findings suggest that the Transformer model is a highly effective and efficient approach for recommending code review comments that closely resemble those written by humans, providing valuable insight for developing more efficient and effective automated code review systems. © 2024 Elsevier B.V.en_US
dc.language.isoenen_US
dc.publisherElsevier B.V.en_US
dc.relation.ispartofInformation and Software Technologyen_US
dc.rightsinfo:eu-repo/semantics/closedAccessen_US
dc.subjectCode similarityen_US
dc.subjectInformation retrievalen_US
dc.subjectModern code reviewen_US
dc.subjectVectorizationen_US
dc.titleAutomating modern code review processes with code similarity measurementen_US
dc.typeArticleen_US
dc.departmentIzmir Institute of Technologyen_US
dc.identifier.volume173en_US
dc.identifier.wosWOS:001245336700001-
dc.identifier.scopus2-s2.0-85193900630-
dc.relation.publicationcategoryMakale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanıen_US
dc.identifier.doi10.1016/j.infsof.2024.107490-
dc.authorscopusid24490853600-
dc.authorscopusid58635463000-
dc.authorscopusid15081108900-
dc.identifier.wosqualityN/A-
dc.identifier.scopusqualityQ1-
item.languageiso639-1en-
item.fulltextNo Fulltext-
item.openairecristypehttp://purl.org/coar/resource_type/c_18cf-
item.openairetypeArticle-
item.grantfulltextnone-
item.cerifentitytypePublications-
Appears in Collections:Scopus İndeksli Yayınlar Koleksiyonu / Scopus Indexed Publications Collection
WoS İndeksli Yayınlar Koleksiyonu / WoS Indexed Publications Collection
Show simple item record



CORE Recommender

Page view(s)

16
checked on Jul 22, 2024

Google ScholarTM

Check




Altmetric


Items in GCRIS Repository are protected by copyright, with all rights reserved, unless otherwise indicated.