Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
Ergebnis 1 von 35
2018 IEEE/ACM 26th International Conference on Program Comprehension (ICPC), 2018, p.31-40
2018

Details

Autor(en) / Beteiligte
Titel
Descriptive compound identifier names improve source code comprehension
Ist Teil von
  • 2018 IEEE/ACM 26th International Conference on Program Comprehension (ICPC), 2018, p.31-40
Ort / Verlag
New York, NY, USA: ACM
Erscheinungsjahr
2018
Link zum Volltext
Quelle
ACM Digital Library Complete
Beschreibungen/Notizen
  • Reading and understanding source code is a major task in software development. Code comprehension depends on the quality of code, which is impacted by code structure and identifier naming. In this paper we empirically investigated whether longer but more descriptive identifier names improve code comprehension compared to short names, as they represent useful information in more detail. In a web-based study 88 Java developers were asked to locate a semantic defect in source code snippets. With descriptive identifier names, developers spent more time in the lines of code before the actual defect occurred and changed their reading direction less often, finding the semantic defect about 14% faster than with shorter but less descriptive identifier names. These effects disappeared when developers searched for a syntax error, i.e., when no in-depth understanding of the code was required. Interestingly, the style of identifier names had a clear impact on program comprehension for more experienced developers but not for less experienced developers.

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX