2010 · 121 citations · 18 references
ComputingComputer ScienceProgramming LanguagesQuality AssuranceSoftware EngineeringSoftware DesignSoftware MaintenanceSoftware MetricsSoftware Quality AssuranceSoftware TestingStatic Code AnalysisCode ComprehensionCode MaintainabilityGranularityProgram ComprehensionReadabilitySoftware Quality MeasurementSource Code MetricsStatic Bug Detection
Given the importance of identifier names and the value of naming conventions to program comprehension, we speculated in previous work whether a connection exists between the quality of identifier names and software quality. We found that flawed identifiers in Java classes were associated with source code found to be of low quality by static analysis. This paper extends that work in three directions. First, we show that the association also holds at the finer granularity level of Java methods. This in turn makes it possible to, secondly, apply existing method-level quality and readability metrics, and see that flawed identifiers still impact on this richer notion of code quality and comprehension. Third, we check whether the association can be used in a practical way. We adopt techniques used to evaluate medical diagnostic tests in order to identify which particular identifier naming flaws could be used as a light-weight diagnostic of potentially problematic Java source code for maintenance.
18
Thomas J. McCabe · IEEE Transactions on Software Engineering · 1976 · 5.8K citations
Statistics: an introduction using R
Michael J. Crawley · Choice Reviews Online · 2005 · 1.3K citations
Florian Deissenboeck, Markus Pizka · Software Quality Journal · 2006 · 309 citations
Whats in a Name? A Study of Identifiers
Dawn Lawrie, Christopher H. Morrell, H. Feild et al. · 2006 · 250 citations
The role of concepts in program comprehension
Václav Rajlich, Norman Wilde · 2003 · 233 citations