2008 · 175 citations · 33 references
ComputingComputer ScienceNatural Language ProcessingProgramming LanguagesSoftware EngineeringAnnotationProgramming Language DesignSoftware DesignSoftware MetricsCode ComprehensionCode ReadabilityReadabilityReadability AssessmentReadability FeaturesSoftware Quality AttributesSoftware Quality MeasurementSource Code Metrics
In this paper, we explore the concept of code readability and investigate its relation to software quality. With data collected from 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 two traditional measures of software quality, code changes and defect reports. 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.
33
A Study of Cross-Validation and Bootstrap for Accuracy Estimation and Model Selection
Ron Kohavi · 1995 · 10.7K citations · Full text
A technique for measurement of attitudes
Rensis Likert · Medical Entomology and Zoology · 1932 · 8.2K citations
Rudolph Flesch · Journal of Applied Psychology · 1948 · 5.2K citations
No Silver Bullet Essence and Accidents of Software Engineering
The mythical man-month: essays on software engineering
Choice Reviews Online · 1996 · 2.5K citations