arrow
返回

Learning a Metric for Code Readability

delete2010-07-01
delete256
PRE
AI
R
Raymond P.L. Buse *
W
Westley Weimer
DOI:10.1109/TSE.2009.70delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
In this paper, we explore the concept of code readability and investigate its relation to software quality. With data collected from 120 human annotators, we derive associations between a simple set of local code features and human notions of readability. Using those features, we construct an automated readability measure and show that it can be 80 percent effective and better than a human, on average, at predicting readability judgments. Furthermore, we show that this metric correlates strongly with three measures of software quality: code changes, automated defect reports, and defect log messages. We measure these correlations on over 2.2 million lines of code, as well as longitudinally, over many releases of selected projects. Finally, we discuss the implications of this study on programming language design and engineering practice. For example, our data suggest that comments, in and of themselves, are less important than simple blank lines to local judgments of readability.
Keyword:
Software readability
program understanding
machine learning
software maintenance
code metrics
FindBugs
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

How do annotations affect Java code readability?注释如何影响Java代码的可读性?
err2024-05-03
err0
PREAI
errGuerra, Eduardo; Gomes, Everaldo; Ferreira, Jeferson; Wiese, Igor; Lima, Phyllipe; Gerosa, Marco; Meirelles, Paulo
err分享
err收藏
err分享
err收藏
How does code readability change during software evolution?在软件发展过程中,代码可读性如何变化?
err2020-09-24
err16
PREAI
errPiantadosi, Valentina; Fierro, Fabiana; Scalabrino, Simone; Serebrenik, Alexander; Oliveto, Rocco
err分享
err收藏
Improving code readability classification using convolutional neural networks
err2018-12-01
err34
PREAI
errMi, Qing; Keung, Jacky; Xiao, Yan; Mensah, Solomon; Gao, Yujin
err分享
err收藏
Automatically Assessing Code Understandability自动评估代码可理解性
err2021-03-01
err48
errOAAI
errScalabrino, Simone; Bavota, Gabriele; Vendome, Christopher; Linares-Vasquez, Mario; Poshyvanyk, Denys; Oliveto, Rocco
err分享
err收藏

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
3.0K
被引数:
1.3W

机构

U
University of Virginia
学者数:
1.9K
论文数: 733
被引数: 1.8W
引用论文

引用论文

The Daidzein Metabolite, 6,7,4'-Trihydroxyisoflavone, Is a Novel Inhibitor of PKCα in Suppressing Solar UV-Induced Matrix Metalloproteinase 1
err2014-11-19
err0
errOAAI
errTae-Gyu Lim; Jong-Eun Kim; Sung-Young Lee; Jun Park; Myung Yeom; Hanyong Chen; Ann Bode; Zigang Dong; Ki Lee
err分享
err收藏
err分享
err收藏
err分享
err收藏
Attitudes Toward the Use of Racial/Ethnic Profiling to Prevent Crime and Terrorism
err2011-02-01
err0
PREAI
errDevon Johnson; Daniel Brazier; Katrina Forrest; Crispin Ketelhut; Darron Mason; Marc Mitchell
err分享
err收藏
MODALITIES OF SEIZURE ONSET IN TEMPORAL LOBE EPILEPSY
err1996-09-01
err0
PREAI
errF. Arruda; L. F. Quesney; R. Wennberg; A. Olivier
err分享
err收藏
Comparison of 10 × 1-minute high-intensity interval training (HIIT) versus 4 × 4-minute HIIT on glucose control and variability in females with type 2 diabetes
err2024-04-01
err0
PREAI
errA. Marcotte-Chénard; R. Tremblay; L. Deslauriers; P. Geraldes; M. Gayda; D. Christou; W. Mampuya; J.P. Little; E. Riesco
err分享
err收藏
BNST neurocircuitry in humans
err2014-05-01
err0
errOAAI
errSuzanne N. Avery; Jacqueline A. Clauss; Danny G. Winder; Neil Woodward; Stephan Heckers; Jennifer Urbano Blackford
err分享
err收藏
学者 查看更多内容