期刊名称:International Journal of Computer Science & Technology
印刷版ISSN:2229-4333
电子版ISSN:0976-8491
出版年度:2012
卷号:3
期号:1
页码:681-684
语种:English
出版社:Ayushmaan Technologies
摘要:In this paper, we explore the concept of code Legibility andinvestigate its relation to software quality. With data collected from120 human annotators, we derive associations between a simpleset of local code features and human notions of readability. Usingthose features, we construct an automated Legibility measure andshow that it can be 80 percent effective and better than a human, onaverage, at predicting Legibility judgments. Furthermore, we showthat this metric correlates strongly with three measures of softwarequality: code changes, automated defect reports, and defect logmessages. We measure these correlations on over 2.2 million linesof code, as well as longitudinally, over many releases of selectedprojects. Finally, we discuss the implications of this study onprogramming language design and engineering practice.