Taxonomy of inline code comment smells

buir.advisorTüzün, Eray
dc.contributor.authorJabrayilzade, Elgun
dc.date.accessioned2022-08-12T07:51:43Z
dc.date.available2022-08-12T07:51:43Z
dc.date.copyright2022-07
dc.date.issued2022-07
dc.date.submitted2022-07-18
dc.descriptionCataloged from PDF version of article.en_US
dc.descriptionIncludes bibliographical references (leaves 52-65).en_US
dc.description.abstractCode comments play a vital role in source code comprehension and software maintainability. It is common for developers to write comments to explain a code snippet, and commenting code is generally considered as a good practice in soft-ware engineering. However, low-quality comments can have a detrimental effect on software quality or be ineffective for code understanding. In this study, we conducted a multivocal literature review and created a taxonomy of inline code comments smells consisting of 11 types. Afterward, we manually labeled 2447 inline comments from eight open-source projects where half of them were Java, and another half were Python projects. We found out that the smells exist in both Java and Python projects with varying degrees. Moreover, we conducted an online survey with 41 software practitioners to learn their opinions on these smells and their effect on code comprehension and software maintainability. The survey respondents generally agreed with the taxonomy; however, they reported that some smell types might have a positive effect on code comprehension in certain scenarios. Additionally, using our labeled dataset, we developed various machine learning-based models to categorize the smell types automatically. Our best model achieved an F1 score of 0.53. We share our manually labeled dataset online and provide implications of this study for software engineering practition-ers, researchers, and educators.en_US
dc.description.statementofresponsibilityby Eray Tüzünen_US
dc.embargo.release2023-07-18
dc.format.extentxi, 69 leaves : charts, graphics ; 30 cm.en_US
dc.identifier.itemidB161080
dc.identifier.urihttp://hdl.handle.net/11693/110424
dc.language.isoEnglishen_US
dc.rightsinfo:eu-repo/semantics/openAccessen_US
dc.subjectCode commentsen_US
dc.subjectComment smellsen_US
dc.subjectDataseten_US
dc.subjectTaxonomyen_US
dc.titleTaxonomy of inline code comment smellsen_US
dc.title.alternativeUygunsuz satır içi kod yorumlarının sınıflandırılmasıen_US
dc.typeThesisen_US
thesis.degree.disciplineComputer Engineering
thesis.degree.grantorBilkent University
thesis.degree.levelMaster's
thesis.degree.nameMS (Master of Science)

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
B161080.pdf
Size:
1.61 MB
Format:
Adobe Portable Document Format
Description:
Full printable version

License bundle

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