Author
|
Conference
|
Journal
|
Organization
|
Year
|
DOI
Look for results that meet for the following criteria:
since
equal to
before
between
and
Search in all domains
Limit my searches in the following domains
Agriculture Science
Arts & Humanities
Biology
Chemistry
Computer Science
Economics & Business
Engineering
Environmental Sciences
Geosciences
Material Science
Mathematics
Medicine
Physics
Social Science
Multidisciplinary
Keywords
(8)
Data Collection
Indexing Terms
Machine Learning
Program Understanding
Programming Language Design
Software Maintenance
Software Quality
Lines of Code
Subscribe
Academic
Publications
Learning a Metric for Code Readability
Edit
Learning a Metric for Code Readability
BibTex
|
RIS
|
RefWorks
Download
Raymond P. L. Buse
,
Westley R. Weimer
Abstract—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% 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 select projects. Finally, we discuss the implications of this study on
programming language design
and engineering practice. For example, our data suggests that comments, in of themselves, are less important than simple blank lines to local judgments,of readability. Index Terms—software readability, program understanding, machine learning, software maintenance, code metrics, FindBugs F
Journal:
IEEE Transactions on Software Engineering - TSE
, vol. 36, no. 4, pp. 546-558, 2010
DOI:
10.1109/TSE.2009.70
Cumulative
Annual
View Publication
The following links allow you to view full publications. These links are maintained by other sources not affiliated with Microsoft Academic Search.
(
ieeexplore.ieee.org
)
(
doi.ieeecomputersociety.org
)
(
www.informatik.uni-trier.de
)
(
arrestedcomputing.com
)
(
ieeexplore.ieee.org
)
(
ieeexplore.ieee.org
)
More »
References
(33)
An integrated measure of software maintainability
(
Citations: 26
)
K. K. Aggarwal
,
Y. Singh
,
J. K. Chhabra
Conference:
Reliability and Maintainability Annual Symposium - RAMS
, pp. 235-241, 2002
Ordered and quantum treemaps: Making effective use of 2D space to display hierarchies
(
Citations: 194
)
Benjamin B. Bederson
,
Ben Shneiderman
,
Martin Wattenberg
Journal:
ACM Transactions on Graphics - TOG
, vol. 21, no. 4, pp. 833-854, 2002
Software Defect Reduction Top 10 List
(
Citations: 220
)
Barry W. Boehm
,
Victor R. Basili
Journal:
IEEE Computer - COMPUTER
, vol. 34, no. 1, pp. 135-137, 2001
A metric for software readability
(
Citations: 15
)
Raymond P. L. Buse
,
Westley R. Weimer
Conference:
International Symposium on Software Testing and Analysis - ISSTA
, pp. 121-130, 2008
On the Statistical Properties of the F-measure
(
Citations: 17
)
Tsong Yueh Chen
,
Fei-ching Kuo
,
Robert G. Merkel
Conference:
International Conference on Quality Software - QSIC
, pp. 146-153, 2004