Skip to main navigation Skip to search Skip to main content

Metric and tool support for instant feedback of source code readability

  • Sangchul Choi
  • , Suntae Kim*
  • , Jeongah Kim
  • , Sooyong Park
  • *Corresponding author for this work

    Research output: Contribution to journalJournal articlepeer-review

    Abstract

    In the software maintenance phase, comprehending the legacy source code is inevitable, which consumes most of the time of the phase. The better the code is readable, the easier it is for code readers to comprehend the system based on the source code. This paper proposes an enhanced source code readability metric to quantitatively measure the extent of code readability. In addition, we developed a tool support named Instant R. Gauge to update the code on the fly based on the readability feedback of the current code. The tool also provides the history of the readability change so that developers recognize the more readable code and gradually change their coding habit without any annoying advice. The suggested readability metric achieves 75.74% of explanatory power, and our experiment showed that readability of most of the methods authored in our tool is higher than that of the methods without our approach.

    Original languageEnglish
    Pages (from-to)221-228
    Number of pages8
    JournalTehnicki Vjesnik
    Volume27
    Issue number1
    DOIs
    StatePublished - 2020.02

    Keywords

    • Multiple linear regression
    • Readability
    • Source code analysis

    Quacquarelli Symonds(QS) Subject Topics

    • Engineering & Technology

    Fingerprint

    Dive into the research topics of 'Metric and tool support for instant feedback of source code readability'. Together they form a unique fingerprint.

    Cite this