Skip to content

Commit c7a1197

Browse files
authored
add ICSE2021 paper
1 parent 6e13be8 commit c7a1197

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

index.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,29 @@ <h1>Brains on Code</h1>
122122
<div id="content">
123123
<section>
124124
<h2>Papers</h2>
125+
<article>
126+
<header>
127+
<h3>Program Comprehension and Code Complexity Metrics: An fMRI Study (ICSE 21)</h3>
128+
</header>
129+
<ul class="authors">
130+
<li>Norman Peitek</li>
131+
<li><a href="http://www.infosun.fim.uni-passau.de/se/apel/">Sven Apel</a></li>
132+
<li><a href="https://www.tu-chemnitz.de/informatik/ST/professur/professor.php.en">Janet Siegmund</a></li>
133+
</ul>
134+
<summary>
135+
<b>Background:</b> Researchers and practitioners have been using code complexity metrics for decades to predict how developers comprehend a program. While it is plausible and tempting to use them for this purpose, their validity is questionable, since they rely on code properties and rarely consider particularities of human cognition.<br>
136+
<b>Aims:</b> We investigate whether and how code complexity metrics reflect difficulty of program comprehension.<br>
137+
<b>Method:</b> We conducted a functional magnetic resonance imaging (fMRI) study with 19 participants observing program comprehension of short code snippets at varying complexity levels. We dissected four classes of code complexity metrics and their relationship to neuronal, behavioral, and subjective correlates of program comprehension, overall analyzing more than 41 metrics.<br>
138+
<b>Results:</b> While we could corroborate that complexity metrics can—to a limited degree—explain programmers' cognition in program comprehension, fMRI allowed us to gain more insights into <i>why</i> some properties of code can be difficult to process. In particular, the code's textual size drives programmers' attention and vocabulary size burdens programmers' working memory.<br>
139+
<b>Conclusion:</b> Our results provide neuro-scientific evidence that supports warnings of prior research questioning the validity of code complexity metrics and reveal factors relevant to program comprehension.<br>
140+
<b>uture Work:</b> We outline a number of follow-up experiments investigating fine-grained effects of code complexity and describe possible refinements to complexity metrics.<br>
141+
</summary>
142+
<h4>Resources</h4>
143+
<ul class="resources">
144+
<li><a href="https://github.com/brains-on-code/fMRI-complexity-metrics-icse2021">Replication Package</a></li>
145+
</ul>
146+
</article>
147+
125148
<article>
126149
<header>
127150
<h3>What Drives the Reading Order of Programmers? An Eye Tracking Study (ICPC 20)</h3>

0 commit comments

Comments
 (0)