Status: Bibliographieeintrag
Standort: ---
Exemplare:
---
| Online-Ressource |
Verfasst von: | Hofmeister, Johannes [VerfasserIn]  |
| Siegmund, Janet [VerfasserIn]  |
| Holt, Daniel [VerfasserIn]  |
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 |
Shorter identifier names take longer to comprehend / Hofmeister, Johannes [VerfasserIn]; 2019 (Online-Ressource)
68431136