Navigation überspringen
Universitätsbibliothek Heidelberg
Status: Bibliographieeintrag

Verfügbarkeit
Standort: ---
Exemplare: ---
heiBIB
 Online-Ressource
Verfasst von:Hofmeister, Johannes [VerfasserIn]   i
 Siegmund, Janet [VerfasserIn]   i
 Holt, Daniel [VerfasserIn]   i
Titel:Shorter identifier names take longer to comprehend
Verf.angabe:Johannes C. Hofmeister, Janet Siegmund, Daniel V. Holt
Jahr:2019
Jahr des Originals:2018
Umfang:27 S.
Fussnoten:First online: 26 April 2018 ; Gesehen am 18.09.2019
Titel Quelle:Enthalten in: Empirical software engineering
Ort Quelle:Dordrecht [u.a.] : Springer Science + Business Media B.V, 1996
Jahr Quelle:2019
Band/Heft Quelle:24(2019), 1, Seite 417-443
ISSN Quelle:1573-7616
Abstract:Developers spend the majority of their time reading code, a process in which identifier names play a key role. Although many identifier naming styles exist, they often lack an empirical basis and it is not clear whether short or long identifier names facilitate comprehension. In this paper, we investigate the effect of different identifier naming styles (single letters, abbreviations, and words) on program comprehension. We conducted an experimental study with 72 professional C# developers who had to locate defects in source code snippets. We used a within-subjects design, such that each developer worked with all three versions of identifier naming styles, and we measured the time it took them to find a defect. We found that word identifiers led to a 19% increase in speed to find defects compared to meaningless single letters and abbreviations, but we did not find a difference between letters and abbreviations. The results of our study suggest that code is more difficult to comprehend when it contains only letters and abbreviations as identifier names. Words as identifier names facilitate program comprehension and may help to save costs and improve software quality.
DOI:doi:10.1007/s10664-018-9621-x
URL:Bitte beachten Sie: Dies ist ein Bibliographieeintrag. Ein Volltextzugriff für Mitglieder der Universität besteht hier nur, falls für die entsprechende Zeitschrift/den entsprechenden Sammelband ein Abonnement besteht oder es sich um einen OpenAccess-Titel handelt.

Volltext: https://doi.org/10.1007/s10664-018-9621-x
 DOI: https://doi.org/10.1007/s10664-018-9621-x
Datenträger:Online-Ressource
Sprache:eng
Sach-SW:Defect detection
 Identifier names
 Professional C# developers
 Program comprehension
 Psychology
 Software quality
K10plus-PPN:1677257008
Verknüpfungen:→ Zeitschrift

Permanenter Link auf diesen Titel (bookmarkfähig):  https://katalog.ub.uni-heidelberg.de/titel/68431136   QR-Code
zum Seitenanfang