Logotipo ImpactU
Autor

A comprehensive model for code readability

Acceso Cerrado
ID Minciencias: ART-0000437204-97
Ranking: ART-ART_B

Abstract:

Abstract Unreadable code could compromise program comprehension, and it could cause the introduction of bugs. Code consists of mostly natural language text, both in identifiers and comments, and it is a particular form of text. Nevertheless, the models proposed to estimate code readability take into account only structural aspects and visual nuances of source code, such as line length and alignment of characters. In this paper, we extend our previous work in which we use textual features to improve code readability models. We introduce 2 new textual features, and we reassess the readability prediction power of readability models on more than 600 code snippets manually evaluated, in terms of readability, by 5K+ people. We also replicate a study by Buse and Weimer on the correlation between readability and FindBugs warnings, evaluating different models on 20 software systems, for a total of 3M lines of code. The results demonstrate that (1) textual features complement other features and (2) a model containing all the features achieves a significantly higher accuracy as compared with all the other state‐of‐the‐art models. Also, readability estimation resulting from a more accurate model, ie, the combined model, is able to predict more accurately FindBugs warnings.

Tópico:

Software Engineering Research

Citaciones:

Citations: 87
87

Citaciones por año:

Altmétricas:

Paperbuzz Score: 0
0

Información de la Fuente:

SCImago Journal & Country Rank
FuenteJournal of Software Evolution and Process
Cuartil año de publicaciónNo disponible
Volumen30
Issue6
Páginase1958 - N/A
pISSNNo disponible
ISSN2047-7481

Enlaces e Identificadores:

Artículo de revista