Towards unmasking LGTM smells in code reviews: a comparative study of comment-free and commented reviews

buir.contributor.authorGon, Mahmut Furkan
buir.contributor.authorTuzun, Eray
buir.contributor.orcidTuzun, Eray|0000-0002-5550-7816
dc.citation.epage174
dc.citation.spage163
dc.contributor.authorGon, Mahmut Furkan
dc.contributor.authorTuzun, Eray
dc.contributor.authorYetistiren, Burak
dc.coverage.spatialFlagstaff, Arizona, United States
dc.date.accessioned2025-02-21T12:03:38Z
dc.date.available2025-02-21T12:03:38Z
dc.date.issued2024-10-11
dc.departmentDepartment of Computer Engineering
dc.descriptionConference Name: 40th IEEE International Conference on Software Maintenance and Evolution, ICSME 2024
dc.descriptionDate of Conference: 6 October 2024 - 11 October 2024
dc.description.abstractCode review is a crucial component of the software development life cycle and is adopted as a best practice in the industry. However, like any process, counterproductive practices and pitfalls exist within code review, such as the occurrence of the 'Looks Good to Me' (LGTM) smell. LGTM smell occurs when a superficial review is conducted. LGTM review smells can potentially result in the accidental inclusion of low-quality changesets in the codebase, leading to severe bugs, possibly many reopens of the associated issues, and additional time wasted on changes to the changeset. In this study, we aim to explore LGTM smells and examine their potential impacts on the related repository. Given the inherent challenges of automatically detecting LGTM smells in code reviews, this study introduces an alternative approach by categorizing code reviews into two distinct types: comment-free and commented reviews. The primary hypothesis is that comment-free reviews are more prone to LGTM smells due to their lack of detailed examination and discourse. To test this hypothesis, we conduct an empirical analysis on a subset of pull requests (PRs) comprising code reviews from five large-scale software projects. We further investigate the impact of comment-free and commented reviews on key development metrics, specifically focusing on the number of reopens and late commits in PRs. According to the results, 64.7% of the PRs in these projects exhibited comment-free reviews. Our manual analysis reveals that comment-free reviews exhibit the LGTM smell 3.5 times more frequently than the commented reviews. We also observed a statistically significant difference, indicating that comment-free review PRs tend to include more late commits (i.e., commits made after the reviewer's approval) than the commented PRs. However, no statistically significant difference was observed in the reopening ratio of associated issues between comment-free reviews and commented reviews. Our approach provides a novel method for detecting and exploring the impacts of LGTM smell, emphasizing the significance of comprehensive code reviews and setting the stage for future research aimed at automatically identifying LGTM smell occurrences. © 2024 IEEE.
dc.description.provenanceSubmitted by Serdar Sevin (serdar.sevin@bilkent.edu.tr) on 2025-02-21T12:03:38Z No. of bitstreams: 1 Towards_Unmasking_LGTM_Smells_in_Code_Reviews_A_Comparative_Study_of_Comment-Free_and_Commented_Reviews.pdf: 460720 bytes, checksum: a978607dd3a7cc154dc921580b0b5477 (MD5)en
dc.description.provenanceMade available in DSpace on 2025-02-21T12:03:38Z (GMT). No. of bitstreams: 1 Towards_Unmasking_LGTM_Smells_in_Code_Reviews_A_Comparative_Study_of_Comment-Free_and_Commented_Reviews.pdf: 460720 bytes, checksum: a978607dd3a7cc154dc921580b0b5477 (MD5) Previous issue date: 2024-10-11en
dc.identifier.doi10.1109/ICSME58944.2024.00025
dc.identifier.isbn979-835039568-6
dc.identifier.urihttps://hdl.handle.net/11693/116571
dc.language.isoEnglish
dc.publisherInstitute of Electrical and Electronics Engineers Inc.
dc.relation.isversionofhttps://dx.doi.org/10.1109/ICSME58944.2024.00025
dc.subjectBug reopen
dc.subjectCode review smell
dc.subjectComment-free review
dc.subjectCommented review
dc.subjectLate commits
dc.subjectLGTM smell
dc.subjectModern code review
dc.subjectProcess smell
dc.titleTowards unmasking LGTM smells in code reviews: a comparative study of comment-free and commented reviews
dc.typeConference Paper

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Towards_Unmasking_LGTM_Smells_in_Code_Reviews_A_Comparative_Study_of_Comment-Free_and_Commented_Reviews.pdf
Size:
449.92 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: