STACC: Code Comment Classification using SentenceTransformers

Conference Paper (2023)
Author(s)

A. Al-Kaswan (TU Delft - Software Engineering)

M. Izadi (TU Delft - Software Engineering)

A. van Deursen (TU Delft - Software Technology)

DOI related publication
https://doi.org/10.1109/NLBSE59153.2023.00014 Final published version
More Info
expand_more
Publication Year
2023
Language
English
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.
Pages (from-to)
28-31
ISBN (print)
979-8-3503-0178-6
Event
2023 IEEE/ACM 2nd International Workshop on Natural Language-Based Software Engineering (NLBSE) (2023-05-14 - 2023-05-20), Melbourne, Australia
Downloads counter
237
Collections
Institutional Repository
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