STACC: Code Comment Classification using SentenceTransformers

Conference Paper (2023)
Authors

Ali Al-Kaswan (TU Delft - Software Engineering)

Maliheh Izadi (TU Delft - Software Engineering)

A. Van Van Deursen (TU Delft - Software Technology)

Research Group
Software Engineering
Copyright
© 2023 A. Al-Kaswan, M. Izadi, A. van Deursen
To reference this document use:
https://doi.org/10.1109/NLBSE59153.2023.00014
More Info
expand_more
Publication Year
2023
Language
English
Copyright
© 2023 A. Al-Kaswan, M. Izadi, A. van Deursen
Research Group
Software Engineering
Bibliographical Note
Green Open Access added to TU Delft Institutional Repository ‘You share, we take care!’ – Taverne project https://www.openaccess.nl/en/you-share-we-take-care Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public. @en
Pages (from-to)
28-31
ISBN (print)
979-8-3503-0178-6
DOI:
https://doi.org/10.1109/NLBSE59153.2023.00014
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Code comments are a key resource for information about software artefacts. Depending on the use case, only some types of comments are useful. Thus, automatic approaches to clas-sify these comments have been proposed. In this work, we address this need by proposing, STACC, a set of SentenceTransformers- based binary classifiers. These lightweight classifiers are trained and tested on the NLBSE Code Comment Classification tool competition dataset, and surpass the baseline by a significant margin, achieving an average Fl score of 0.74 against the baseline of 0.31, which is an improvement of 139%. A replication package, as well as the models themselves, are publicly available.

Files

STACC_Code_Comment_Classificat... (pdf)
(pdf | 0.363 Mb)
- Embargo expired in 29-01-2024
License info not available