Towards unmasking LGTM smells in code reviews: a comparative study of comment-free and commented reviews
buir.contributor.author | Gon, Mahmut Furkan | |
buir.contributor.author | Tuzun, Eray | |
buir.contributor.orcid | Tuzun, Eray|0000-0002-5550-7816 | |
dc.citation.epage | 174 | |
dc.citation.spage | 163 | |
dc.contributor.author | Gon, Mahmut Furkan | |
dc.contributor.author | Tuzun, Eray | |
dc.contributor.author | Yetistiren, Burak | |
dc.coverage.spatial | Flagstaff, Arizona, United States | |
dc.date.accessioned | 2025-02-21T12:03:38Z | |
dc.date.available | 2025-02-21T12:03:38Z | |
dc.date.issued | 2024-10-11 | |
dc.department | Department of Computer Engineering | |
dc.description | Conference Name: 40th IEEE International Conference on Software Maintenance and Evolution, ICSME 2024 | |
dc.description | Date of Conference: 6 October 2024 - 11 October 2024 | |
dc.description.abstract | Code 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.provenance | Submitted 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.provenance | Made 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-11 | en |
dc.identifier.doi | 10.1109/ICSME58944.2024.00025 | |
dc.identifier.isbn | 979-835039568-6 | |
dc.identifier.uri | https://hdl.handle.net/11693/116571 | |
dc.language.iso | English | |
dc.publisher | Institute of Electrical and Electronics Engineers Inc. | |
dc.relation.isversionof | https://dx.doi.org/10.1109/ICSME58944.2024.00025 | |
dc.subject | Bug reopen | |
dc.subject | Code review smell | |
dc.subject | Comment-free review | |
dc.subject | Commented review | |
dc.subject | Late commits | |
dc.subject | LGTM smell | |
dc.subject | Modern code review | |
dc.subject | Process smell | |
dc.title | Towards unmasking LGTM smells in code reviews: a comparative study of comment-free and commented reviews | |
dc.type | Conference Paper |
Files
Original bundle
1 - 1 of 1
Loading...
- 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
1 - 1 of 1
No Thumbnail Available
- Name:
- license.txt
- Size:
- 1.71 KB
- Format:
- Item-specific license agreed upon to submission
- Description: