Views provided by UsageCounts
Readability models and tools have been proposed to measure the effort to read code. However, these models are unable to capture the quality improvements in code as perceived by developers. To investigate possible features for readability models, we aim at better understanding the motivations of developers when actually improving code readability. For that, we extracted the developer's motivations when performing readability improvements on code. We analyzed 1988 Merged Pull Requests (PRs) on Github with readability improvement description and could produce a catalog with 35 different developer's motivations on 193 of them. We also analyzed the state-of-art readability tools according to each set of developer motivation PRs and verified which motivations are not captured by readability tools. We observe that the main developer motivations are related to reducing code verbosity using new language features, producing a more self-describing code in short methods (applying extract method refactoring). We also observed the state-of-art readability tools, in general, could not capture the readability improvements applied by developers, but there are some exceptions, especially in removing duplicate and boilerplate code. We finally suggest some improvements for these readability tools aiming at enhanced automation in the code review process.
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
| views | 3 |

Views provided by UsageCounts