Proceedings of the Institute for System Programming of the RAS
RUS  ENG    JOURNALS   PEOPLE   ORGANISATIONS   CONFERENCES   SEMINARS   VIDEO LIBRARY   PACKAGE AMSBIB  
General information
Latest issue
Archive

Search papers
Search references

RSS
Latest issue
Current issues
Archive issues
What is RSS



Proceedings of ISP RAS:
Year:
Volume:
Issue:
Page:
Find






Personal entry:
Login:
Password:
Save password
Enter
Forgotten password?
Register


Proceedings of the Institute for System Programming of the RAS, 2023, Volume 35, Issue 4, Pages 177–186
DOI: https://doi.org/10.15514/ISPRAS-2023-35(4)-10
(Mi tisp808)
 

Evaluation of similarity of Javadoc comments

D. V. Koznova, E. I. Ledenevab, D. V. Luciva, P. I. Braslavskiic

a Saint Petersburg State University
b Company "Yandex"
c National Research University Higher School of Economics
Abstract: Code comments are an essential part of software documentation. Many software projects suffer the problem of low-quality comments that are often produced by copy-paste. In case of similar methods, classes, etc. copy-pasted comments with minor modifications are justified. However, in many cases this approach leads to degraded documentation quality and, subsequently, to problematic maintenance and development of the project. In this study, we address the problem of near-duplicate code comments detection, which can potentially improve software documentation. We have conducted a thorough evaluation of traditional string similarity metrics and modern machine learning methods. In our experiment, we use a collection of Javadoc comments from four industrial open-source Java projects. We have found out that LCS (Longest Common Subsequence) is the best similarity algorithm taking into account both quality (Precision 94%, Recall 74%) and performance.
Keywords: software documentation, Javadoc comments, similarity measure
Document Type: Article
Language: Russian
Citation: D. V. Koznov, E. I. Ledeneva, D. V. Luciv, P. I. Braslavskii, “Evaluation of similarity of Javadoc comments”, Proceedings of ISP RAS, 35:4 (2023), 177–186
Citation in format AMSBIB
\Bibitem{KozLedLuc23}
\by D.~V.~Koznov, E.~I.~Ledeneva, D.~V.~Luciv, P.~I.~Braslavskii
\paper Evaluation of similarity of Javadoc comments
\jour Proceedings of ISP RAS
\yr 2023
\vol 35
\issue 4
\pages 177--186
\mathnet{http://mi.mathnet.ru/tisp808}
\crossref{https://doi.org/10.15514/ISPRAS-2023-35(4)-10}
Linking options:
  • https://www.mathnet.ru/eng/tisp808
  • https://www.mathnet.ru/eng/tisp/v35/i4/p177
  • Citing articles in Google Scholar: Russian citations, English citations
    Related articles in Google Scholar: Russian articles, English articles
    Proceedings of the Institute for System Programming of the RAS
    Statistics & downloads:
    Abstract page:23
    Full-text PDF :14
     
      Contact us:
     Terms of Use  Registration to the website  Logotypes © Steklov Mathematical Institute RAS, 2024