Decoding the representation of code in the brain: an fMRI study of code review and expertise.

ICSE(2017)

引用 138|浏览419
暂无评分
摘要
Subjective judgments in software engineering tasks are of critical importance but can be difficult to study with conventional means. Medical imaging techniques hold the promise of relating cognition to physical activities and brain structures. In a controlled experiment involving 29 participants, we examine code comprehension, code review and prose review using functional magnetic resonance imaging. We find that the neural representations of programming languages vs. natural languages are distinct. We can classify which task a participant is under-taking based solely on brain activity (balanced accuracy 79%, p < 0.001). Further, we find that the same set of brain regions distinguish between code and prose (near-perfect correlation, r = 0.99, p < 0.001). Finally, we find that task distinctions are modulated by expertise, such that greater skill predicts a less differentiated neural representation (r = −0.44, p = 0.016) indicating that more skilled participants treat code and prose more similarly at a neural activation level.
更多
查看译文
关键词
medical imaging, code comprehension, prose review
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要