dc.contributor.author | Niazi, Tahira | |
dc.contributor.author | Das, Teerath | |
dc.contributor.author | Ahmed, Ghufran | |
dc.contributor.author | Waqas, Syed Muhammad | |
dc.contributor.author | Khan, Sumra | |
dc.contributor.author | Khan, Suleman | |
dc.contributor.author | Abdelatif, Ahmed Abdelaziz | |
dc.contributor.author | Wasi, Shaukat | |
dc.date.accessioned | 2023-03-06T07:24:16Z | |
dc.date.available | 2023-03-06T07:24:16Z | |
dc.date.issued | 2023 | |
dc.identifier.citation | Niazi, T., Das, T., Ahmed, G., Waqas, S. M., Khan, S., Khan, S., Abdelatif, A. A., & Wasi, S. (2023). Investigating Novice Developers’ Code Commenting Trends Using Machine Learning Techniques. <i>Algorithms</i>, <i>16</i>(1), Article 53. <a href="https://doi.org/10.3390/a16010053" target="_blank">https://doi.org/10.3390/a16010053</a> | |
dc.identifier.other | CONVID_177142509 | |
dc.identifier.uri | https://jyx.jyu.fi/handle/123456789/85762 | |
dc.description.abstract | Code comments are considered an efficient way to document the functionality of a particular block of code. Code commenting is a common practice among developers to explain the purpose of the code in order to improve code comprehension and readability. Researchers investigated the effect of code comments on software development tasks and demonstrated the use of comments in several ways, including maintenance, reusability, bug detection, etc. Given the importance of code comments, it becomes vital for novice developers to brush up on their code commenting skills. In this study, we initially investigated what types of comments novice students document in their source code and further categorized those comments using a machine learning approach. The work involves the initial manual classification of code comments and then building a machine learning model to classify student code comments automatically. The findings of our study revealed that novice developers/students’ comments are mainly related to Literal (26.66%) and Insufficient (26.66%). Further, we proposed and extended the taxonomy of such source code comments by adding a few more categories, i.e., License (5.18%), Profile (4.80%), Irrelevant (4.80%), Commented Code (4.44%), Autogenerated (1.48%), and Improper (1.10%). Moreover, we assessed our approach with three different machine-learning classifiers. Our implementation of machine learning models found that Decision Tree resulted in the overall highest accuracy, i.e., 85%. This study helps in predicting the type of code comments for a novice developer using a machine learning approach that can be implemented to generate automated feedback for students, thus saving teachers time for manual one-on-one feedback, which is a time-consuming activity. | en |
dc.format.mimetype | application/pdf | |
dc.language.iso | eng | |
dc.publisher | MDPI AG | |
dc.relation.ispartofseries | Algorithms | |
dc.rights | CC BY 4.0 | |
dc.subject.other | source code comments | |
dc.subject.other | classification | |
dc.subject.other | machine learning techniques | |
dc.title | Investigating Novice Developers’ Code Commenting Trends Using Machine Learning Techniques | |
dc.type | research article | |
dc.identifier.urn | URN:NBN:fi:jyu-202303062021 | |
dc.contributor.laitos | Informaatioteknologian tiedekunta | fi |
dc.contributor.laitos | Faculty of Information Technology | en |
dc.type.uri | http://purl.org/eprint/type/JournalArticle | |
dc.type.coar | http://purl.org/coar/resource_type/c_2df8fbb1 | |
dc.description.reviewstatus | peerReviewed | |
dc.relation.issn | 1999-4893 | |
dc.relation.numberinseries | 1 | |
dc.relation.volume | 16 | |
dc.type.version | publishedVersion | |
dc.rights.copyright | © 2023 by the authors. Licensee MDPI, Basel, Switzerland. | |
dc.rights.accesslevel | openAccess | fi |
dc.type.publication | article | |
dc.subject.yso | ohjelmistokehitys | |
dc.subject.yso | lähdekoodit | |
dc.subject.yso | vasta-alkajat | |
dc.subject.yso | koneoppiminen | |
dc.subject.yso | ohjelmointi | |
dc.subject.yso | luokitus (toiminta) | |
dc.subject.yso | ohjelmistokehittäjät | |
dc.format.content | fulltext | |
jyx.subject.uri | http://www.yso.fi/onto/yso/p21530 | |
jyx.subject.uri | http://www.yso.fi/onto/yso/p9343 | |
jyx.subject.uri | http://www.yso.fi/onto/yso/p23709 | |
jyx.subject.uri | http://www.yso.fi/onto/yso/p21846 | |
jyx.subject.uri | http://www.yso.fi/onto/yso/p4887 | |
jyx.subject.uri | http://www.yso.fi/onto/yso/p12668 | |
jyx.subject.uri | http://www.yso.fi/onto/yso/p29407 | |
dc.rights.url | https://creativecommons.org/licenses/by/4.0/ | |
dc.relation.doi | 10.3390/a16010053 | |
jyx.fundinginformation | This research received no external funding. | |
dc.type.okm | A1 | |