Skip to content

Commit 0391bce

Browse files
author
Johannes Hofmeister
committed
More friendly STOIL
1 parent cc5a539 commit 0391bce

1 file changed

Lines changed: 186 additions & 86 deletions

File tree

index.html

Lines changed: 186 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,202 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<link href="https://fonts.googleapis.com/css?family=Amiri|Open+Sans+Condensed:700" rel="stylesheet">
4+
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Open+Sans+Condensed:300|Oswald" rel="stylesheet">
55
<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; }
6+
7+
body {
8+
margin: 0;
9+
}
10+
11+
#content {
12+
margin: 1em;
13+
}
14+
15+
nav {
16+
margin: 0;
17+
background-color: #009AE8;
18+
}
19+
20+
nav h1 {
21+
margin: 0;
22+
padding: 1em;
23+
color: white;
24+
}
25+
26+
p,a,summary {
27+
font-family: 'Open Sans', Helvetica, Arial, sans-serif; color: #444;
28+
font-size: 12pt;
29+
line-height: 24pt;
30+
}
31+
32+
h1,h2,h3,h4 {
33+
margin: 0.7em 0;
34+
font-weight: bolder;
35+
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
36+
color: #444;
37+
}
38+
39+
header h3 {
40+
font-family: 'Oswald', Helvetica, Arial, sans-serif;
41+
font-weight: normal;
42+
line-height: 56pt;
43+
font-size: 24pt;
44+
}
45+
46+
h4 {
47+
font-size: 12pt;
48+
}
49+
50+
h4.abstract {
51+
font-size: 12pt;
52+
display: inline;
53+
}
54+
55+
h4.abstract:after {
56+
content: ":";
57+
}
58+
59+
article {
60+
margin: 1em;
61+
border-bottom: 1px solid black;
62+
}
63+
64+
ul.authors {
65+
margin: 0;
66+
padding: 0;
67+
text-indent: 0;
68+
}
69+
70+
ul.authors li {
71+
display: inline;
72+
list-style: none;
73+
}
74+
75+
ul.authors li, ul.authors li a {
76+
font-family: 'Open Sans Condensed';
77+
font-size: 16pt;
78+
}
79+
80+
ul.authors li a {
81+
color: #009AE8;
82+
text-decoration: none;
83+
}
84+
85+
ul.authors li:not(:last-child):after {
86+
content: ','
87+
}
88+
89+
header h3 {
90+
margin-bottom: 0;
91+
}
92+
93+
header small, header small a {
94+
font-size: small;
95+
}
96+
97+
summary {
98+
margin-top: 1em;
99+
}
100+
101+
nav {
102+
103+
}
104+
10105
</style>
11106
<title>Brains On code</title>
12107
<meta name="description" content="Scientific projects concerning program comprehension, University of Passau">
13108
<meta name="keywords" lang="en" content="Science, fMRI, Passau, Programming, Comprehension">
14109
</head>
15110
<body>
16-
<div>
17-
<h1>Brains On Code</h1>
18-
<section>
19-
<h2>Papers</h2>
20-
<article>
21-
<header>
22-
<h3>Shorter Identifier Names Take Longer To Comprehend (EMSE 18)</h3>
23-
<small>DOI: <a href="http://dx.doi.org/10.1007%2Fs10664-018-9621-x">10.1007/2Fs10664-018-9621-x</a></small>
24-
</header>
25-
<h4>Abstract</h4>
26-
<summary>
27-
This article extends <a href="https://doi.org/10.1109/SANER.2017.7884623">Hofmeister, Siegmund, &amp; Holt (2017) @ SANER17, see below</a>. We analyze and discuss participants’ visual focus. The data were obtained in the original study using a restricted focus viewer, called the "letterbox", which limited the visible code to 7 lines at once.
28-
</summary>
29-
<h4>Resources</h4>
30-
<ul>
31-
<li><a href="https://github.com/brains-on-code/peter">Replication Package</a></li>
32-
<li><a href="https://github.com/brains-on-code/shorter-identifier-names">Results</a></li>
33-
</ul>
34-
<h4>Authors</h4>
35-
<ul>
36-
<li><a href="http://www.cessor.de">Johannes C. Hofmeister</a></li>
37-
<li><a href="http://www.infosun.fim.uni-passau.de/se/people-jsiegmund.php">Janet Siegmund</a></li>
38-
<li><a href="http://www.psychologie.uni-heidelberg.de/ae/allg/mitarb/dh/">Daniel V. Holt</a></li>
39-
</ul>
40-
</article>
41-
42-
<article>
43-
<header>
44-
<h3>Shorter Identifier Names Take Longer To Comprehend (SANER 17)</h3>
45-
<small>DOI: <a href="https://doi.org/10.1109/SANER.2017.7884623">10.1109/SANER.2017.7884623</a></small>
46-
</header>
47-
<h4>Preprint</h4>
48-
<a href="shorter-identifier-names.pdf">Preprint - Shorter Identifier Names Take Longer To Comprehend, PDF, 327kb</a>
49-
50-
<h4>Abstract</h4>
51-
<summary>
52-
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.
53-
</summary>
54-
<h4>Resources</h4>
55-
<ul>
56-
<li><a href="https://github.com/brains-on-code/peter">Replication Package</a></li>
57-
<li><a href="https://github.com/brains-on-code/shorter-identifier-names">Results</a></li>
58-
</ul>
59-
<h4>Authors</h4>
60-
<ul>
61-
<li><a href="http://www.cessor.de">Johannes C. Hofmeister</a></li>
62-
<li><a href="http://www.infosun.fim.uni-passau.de/se/people-jsiegmund.php">Janet Siegmund</a></li>
63-
<li><a href="http://www.psychologie.uni-heidelberg.de/ae/allg/mitarb/dh/">Daniel V. Holt</a></li>
64-
</ul>
65-
</article>
66-
67-
<article>
68-
<header>
69-
<h3>Measuring Neural Efficiency of Program Comprehension (ESEC/FSE 17)</h3>
70-
</header>
71-
<h4>Paper</h4>
72-
<a href="https://www.infosun.fim.uni-passau.de/publications/docs/SPP+17.pdf">Measuring Neural Efficiency of Program Comprehension, PDF, 1MB</a>
73-
74-
<h4>Abstract</h4>
75-
<summary>
76-
Most modern software programs cannot be understood in their entirety by a single programmer. Instead, programmers must rely on a set of cognitive processes that aid in seeking, filtering, and shaping relevant information for a given programming task. Several theories have been proposed to explain these processes, such as <i>beacons</i>, for locating relevant code, and <i>plans</i>, for encoding cognitive models. However, these theories are decades old and lack validation with modern cognitive-neuroscience methods. In this paper, we report on a study using functional magnetic resonance imaging (fMRI) with 11 participants who performed program comprehension tasks. We manipulated experimental conditions related to beacons and layout to isolate specific cognitive processes related to bottom-up comprehension and comprehension based on semantic cues. We found evidence of semantic chunking during bottom-up comprehension and lower activation of brain areas during comprehension based on semantic cues, confirming that beacons ease comprehension.
77-
</summary>
78-
<h4>Resources</h4>
79-
<ul>
80-
<li><a href="https://github.com/brains-on-code/paper-esec-fse-2017">Replication Package</a></li>
81-
</ul>
82-
<h4>Authors</h4>
111+
<nav>
112+
<h1>Brains On Code</h1>
113+
Heidelberg, Magdeburg, Passau, Raleigh, Redmond, Weimar
114+
</nav>
115+
<div id="content">
116+
<section>
117+
<h2>Papers</h2>
118+
119+
<article>
120+
<header>
121+
<h3>Shorter Identifier Names Take Longer To Comprehend (EMSE 18)</h3>
122+
</header>
123+
<ul class="authors">
124+
<li><a href="http://www.cessor.de">Johannes C. Hofmeister</a></li>
125+
<li><a href="http://www.infosun.fim.uni-passau.de/se/people-jsiegmund.php">Janet Siegmund</a></li>
126+
<li><a href="http://www.psychologie.uni-heidelberg.de/ae/allg/mitarb/dh/">Daniel V. Holt</a></li>
127+
</ul>
128+
<summary>
129+
<h4 class="abstract">Abstract</h4>
130+
This article extends <a href="https://doi.org/10.1109/SANER.2017.7884623">Hofmeister, Siegmund, &amp; Holt (2017) @ SANER17, see below</a>. We analyze and discuss participants’ visual focus. The data were obtained in the original study using a restricted focus viewer, called the "letterbox", which limited the visible code to 7 lines at once.
131+
</summary>
132+
<h4>Resources</h4>
133+
<ul class="resources">
134+
<li><a href="https://doi.org/10.1007%2Fs10664-018-9621-x">DOI: 10.1007/2Fs10664-018-9621-x</a></li>
135+
<li><a href="https://github.com/brains-on-code/peter">Replication Package</a></li>
136+
<li><a href="https://github.com/brains-on-code/shorter-identifier-names">Results</a></li>
137+
</ul>
138+
</article>
139+
140+
<article>
141+
<header>
142+
<h3>Shorter Identifier Names Take Longer To Comprehend (SANER 17)</h3>
143+
</header>
144+
<ul class="authors">
145+
<li><a href="http://www.cessor.de">Johannes C. Hofmeister</a></li>
146+
<li><a href="http://www.infosun.fim.uni-passau.de/se/people-jsiegmund.php">Janet Siegmund</a></li>
147+
<li><a href="http://www.psychologie.uni-heidelberg.de/ae/allg/mitarb/dh/">Daniel V. Holt</a></li>
148+
</ul>
149+
<summary>
150+
<h4 class="abstract">Abstract</h4>
151+
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 <b>72 professional C# developers</b>, 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. <b>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.</b> 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.
152+
</summary>
153+
<h4>Resources</h4>
154+
<ul class="resources">
155+
<li><a href="https://doi.org/10.1109/SANER.2017.7884623">DOI: 10.1109/SANER.2017.7884623</a></li>
156+
<li><a href="shorter-identifier-names.pdf">Preprint - Shorter Identifier Names Take Longer To Comprehend, PDF, 327kb</a></li>
157+
<li><a href="https://github.com/brains-on-code/peter">Replication Package</a></li>
158+
<li><a href="https://github.com/brains-on-code/shorter-identifier-names">Results</a></li>
159+
</ul>
160+
</article>
161+
162+
<article>
163+
<header>
164+
<h3>Measuring Neural Efficiency of Program Comprehension (ESEC/FSE 17)</h3>
165+
</header>
166+
<ul class="authors">
167+
<li><a href="http://www.infosun.fim.uni-passau.de/se/people-jsiegmund.php">Janet Siegmund</a></li>
168+
<li>Norman Peitek</li>
169+
<li><a href="http://www.chrisparnin.me">Chris Parnin</a></li>
170+
<li><a href="http://www.infosun.fim.uni-passau.de/spl/apel/">Sven Apel</a></li>
171+
<li><a href="http://www.cessor.de">Johannes Hofmeister</a></li>
172+
<li><a href="http://www.cs.cmu.edu/~ckaestne/">Christian Kaestner</a></li>
173+
<li><a href="http://www.andrewbegel.com">Andrew Begel</a></li>
174+
<li>Anja Bethmann</li>
175+
<li>Andre Brechmann</li>
176+
</ul>
177+
<summary>
178+
<h4 class="abstract">Abstract</h4>
179+
Most modern software programs cannot be understood in their entirety by a single programmer. Instead, programmers must rely on a set of cognitive processes that aid in seeking, filtering, and shaping relevant information for a given programming task. Several theories have been proposed to explain these processes, such as <i>beacons</i>, for locating relevant code, and <i>plans</i>, for encoding cognitive models. However, these theories are decades old and lack validation with modern cognitive-neuroscience methods. In this paper, we report on a study using functional magnetic resonance imaging (fMRI) with 11 participants who performed program comprehension tasks. We manipulated experimental conditions related to beacons and layout to isolate specific cognitive processes related to bottom-up comprehension and comprehension based on semantic cues. We found evidence of semantic chunking during bottom-up comprehension and lower activation of brain areas during comprehension based on semantic cues, confirming that beacons ease comprehension.
180+
</summary>
181+
<h4>Resources</h4>
182+
<ul class="resources">
183+
<li><a href="https://doi.org/10.1145/3106237.3106268">DOI: 10.1145/3106237.3106268</a></li>
184+
<li><a href="https://www.infosun.fim.uni-passau.de/publications/docs/SPP+17.pdf">Paper - Measuring Neural Efficiency of Program Comprehension, PDF, 1MB</a></li>
185+
<li><a href="https://github.com/brains-on-code/paper-esec-fse-2017">Replication Package</a></li>
186+
</ul>
187+
</article>
188+
</section>
189+
190+
<section>
191+
<h1>Empirical Research of Program Comprehension</h1>
83192
<ul>
84-
<li><a href="http://www.infosun.fim.uni-passau.de/se/people-jsiegmund.php">Janet Siegmund</a></li>
85-
<li>Norman Peitek</li>
86-
<li><a href="http://www.chrisparnin.me">Chris Parnin</a></li>
87-
<li><a href="http://www.infosun.fim.uni-passau.de/spl/apel/">Sven Apel</a></li>
88-
<li><a href="http://www.cessor.de">Johannes Hofmeister</a></li>
89-
<li><a href="http://www.cs.cmu.edu/~ckaestne/">Christian Kaestner</a></li>
90-
<li><a href="http://www.andrewbegel.com">Andrew Begel</a></li>
91-
<li>Anja Bethmann</li>
92-
<li>Andre Brechmann</li>
193+
<li>
194+
<a href="http://www.infosun.fim.uni-passau.de/se/janet/">Further Resources</a>
195+
</li>
93196
</ul>
94-
</article>
95-
</section>
96-
</div>
197+
</section>
198+
</div>
97199

98-
<h1>Empirical Research of Program Comprehension</h1>
99-
<ul><li><a href="http://www.infosun.fim.uni-passau.de/se/janet/">Further Resources</a></li></ul>
100200
</body>
101201
</html>
102202

0 commit comments

Comments
 (0)