Please use this identifier to cite or link to this item: https://doi.org/10.21256/zhaw-23362
Full metadata record
DC FieldValueLanguage
dc.contributor.authorRani, Pooja-
dc.contributor.authorBirrer, Mathias-
dc.contributor.authorPanichella, Sebastiano-
dc.contributor.authorGhafari, Mohammad-
dc.contributor.authorNierstrasz, Oscar-
dc.date.accessioned2021-10-30T12:43:53Z-
dc.date.available2021-10-30T12:43:53Z-
dc.date.issued2021-
dc.identifier.otherarXiv:2108.07648v1de_CH
dc.identifier.urihttps://digitalcollection.zhaw.ch/handle/11475/23362-
dc.description.abstractCode comments are important for program comprehension, development, and maintenance tasks. Given the varying standards for code comments, and their unstructured or semistructured nature, developers get easily confused (especially novice developers) about which convention(s) to follow, or what tools to use while writing code documentation. Thus, they post related questions on external online sources to seek better commenting practices. In this paper, we analyze code comment discussions on online sources such as Stack Overflow (SO) and Quora to shed some light on the questions developers ask about commenting practices. We apply Latent Dirichlet Allocation (LDA) to identify emerging topics concerning code comments. Then we manually analyze a statistically significant sample set of posts to derive a taxonomy that provides an overview of the developer questions about commenting practices. Our results highlight that on SO nearly 40% of the questions mention how to write or process comments in documentation tools and environments, and nearly 20% of the questions are about potential limitations and possibilities of documentation tools to add automatically and consistently more information in comments. On the other hand, on Quora, developer questions focus more on background information (35% of the questions) or asking opinions (16% of the questions) about code comments. We found that (i) not all aspects of comments are covered in coding style guidelines, e.g., how to add a specific type of information, (ii) developers need support in learning the syntax and format conventions to add various types of information in comments, and (iii) developers are interested in various automated strategies for comments such as detection of bad comments, or verify comment style automatically, but lack tool support to do that.de_CH
dc.language.isoende_CH
dc.publisherZHAW Zürcher Hochschule für Angewandte Wissenschaftende_CH
dc.rightsLicence according to publishing contractde_CH
dc.subjectMining online sourcede_CH
dc.subjectStack Overflowde_CH
dc.subjectQuorade_CH
dc.subjectCode comment analysisde_CH
dc.subjectSoftware documentationde_CH
dc.subject.ddc005: Computerprogrammierung, Programme und Datende_CH
dc.titleWhat do developers discuss about code comments?de_CH
dc.typeKonferenz: Paperde_CH
dcterms.typeTextde_CH
zhaw.departementSchool of Engineeringde_CH
zhaw.organisationalunitInstitut für Informatik (InIT)de_CH
zhaw.publisher.placeWinterthurde_CH
dc.identifier.doi10.21256/zhaw-23362-
zhaw.conference.details21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM), online, 27-28 September 2021de_CH
zhaw.funding.euNode_CH
zhaw.originated.zhawYesde_CH
zhaw.publication.statusacceptedVersionde_CH
zhaw.publication.reviewPeer review (Publikation)de_CH
zhaw.webfeedSoftware Systemsde_CH
zhaw.author.additionalNode_CH
zhaw.display.portraitYesde_CH
Appears in collections:Publikationen School of Engineering

Files in This Item:
File Description SizeFormat 
2021_Rani-etal_Code-comment-discussion_SCAM.pdfAccepted Version646.04 kBAdobe PDFThumbnail
View/Open
Show simple item record
Rani, P., Birrer, M., Panichella, S., Ghafari, M., & Nierstrasz, O. (2021). What do developers discuss about code comments? 21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM), Online, 27-28 September 2021. https://doi.org/10.21256/zhaw-23362
Rani, P. et al. (2021) ‘What do developers discuss about code comments?’, in 21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM), online, 27-28 September 2021. Winterthur: ZHAW Zürcher Hochschule für Angewandte Wissenschaften. Available at: https://doi.org/10.21256/zhaw-23362.
P. Rani, M. Birrer, S. Panichella, M. Ghafari, and O. Nierstrasz, “What do developers discuss about code comments?,” in 21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM), online, 27-28 September 2021, 2021. doi: 10.21256/zhaw-23362.
RANI, Pooja, Mathias BIRRER, Sebastiano PANICHELLA, Mohammad GHAFARI und Oscar NIERSTRASZ, 2021. What do developers discuss about code comments? In: 21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM), online, 27-28 September 2021. Conference paper. Winterthur: ZHAW Zürcher Hochschule für Angewandte Wissenschaften. 2021
Rani, Pooja, Mathias Birrer, Sebastiano Panichella, Mohammad Ghafari, and Oscar Nierstrasz. 2021. “What Do Developers Discuss About Code Comments?” Conference paper. In 21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM), Online, 27-28 September 2021. Winterthur: ZHAW Zürcher Hochschule für Angewandte Wissenschaften. https://doi.org/10.21256/zhaw-23362.
Rani, Pooja, et al. “What Do Developers Discuss About Code Comments?” 21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM), Online, 27-28 September 2021, ZHAW Zürcher Hochschule für Angewandte Wissenschaften, 2021, https://doi.org/10.21256/zhaw-23362.


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