Skip to content

Commit dec50c1

Browse files
author
Johannes Hofmeister
committed
Updated, added abstract and more
1 parent 0e4b354 commit dec50c1

2 files changed

Lines changed: 45 additions & 4 deletions

File tree

index.html

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,41 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<link href="https://fonts.googleapis.com/css?family=Amiri|Open+Sans+Condensed:700" rel="stylesheet">
5+
<style type="text/css">
6+
* { font-family: 'Amiri', serif; }
7+
p { margin: 1em; }
8+
p,ul,li,a { font-size: 14pt; }
9+
h1,h2,h3,h4 { font-family: 'Open Sans Condensed', serif; }
10+
</style>
411
<title>Brains On code</title>
12+
513
</head>
614
<body>
15+
<div>
16+
<h1>Brains On Code</h1>
17+
<h2>Papers</h2>
718

8-
<h1>Shorter Identifier Names Take Longer to Comprehend</h1>
9-
<ul>
19+
<h3>Shorter Identifier Names Take Longer To Comprehend (SANER 17)</h3>
20+
<h4>Abstract</h4>
21+
<p>
22+
Developers spend the majority of their time comprehending 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 quite clear whether short or long identifier names facilitate comprehension. In this paper, we investigate the effect of different identifier naming styles (letters, abbreviations, words) on program comprehension, and whether these effects arise because of their length or their semantics. We conducted an experimental study with 72 professional C# developers, who looked for defects in source-code snippets. We used a within-subjects design, such that each developer saw all three versions of identifier naming styles and we measured the time it took them to find a defect. We found that words lead to, on average, 19% faster comprehension speed compared to letters and abbreviations, but we did not find a significant difference in speed between letters and abbreviations. The results of our study suggest that defects in code are more difficult to detect when code contains only letters and abbreviations. Words as identifier names facilitate program comprehension and can help to save costs and improve software quality.
23+
</p>
24+
<h4>Resources</h4>
25+
<ul>
1026
<li><a href="https://github.com/brains-on-code/peter">Replication Package</a></li>
11-
</ul>
27+
</ul>
28+
<h4>Authors</h4>
29+
<ul>
30+
<li><a href="http://www.cessor.de/about">Johannes Hofmeister</a></li>
31+
<li><a href="http://www.infosun.fim.uni-passau.de/se/people-jsiegmund.php">Janet Siegmund</a></li>
32+
<li><a href="http://www.psychologie.uni-heidelberg.de/ae/allg/mitarb/dh/">Daniel V. Holt</a></li>
33+
</ul>
34+
</div>
1235

36+
<h1>Empirical Research of Program Comprehension</h1>
37+
<ul><li><a href="http://www.infosun.fim.uni-passau.de/se/janet/">Further Resources</a></li></ul>
1338
</body>
14-
</html>
39+
</html>
40+
41+

papers/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Brains On code</title>
5+
</head>
6+
<body>
7+
8+
<h1>Shorter Identifier Names Take Longer to Comprehend</h1>
9+
<ul>
10+
<li><a href="https://github.com/brains-on-code/peter">Replication Package</a></li>
11+
</ul>
12+
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)