Understanding understanding source code with functional magnetic resonance imaging

作者: Janet Siegmund , Christian Kästner , Sven Apel , Chris Parnin , Anja Bethmann

DOI: 10.1145/2568225.2568252

关键词:

摘要: Program comprehension is an important cognitive process that inherently eludes direct measurement. Thus, researchers are struggling with providing suitable programming languages, tools, or coding conventions to support developers in their everyday work. In this paper, we explore whether functional magnetic resonance imaging (fMRI), which well established neuroscience, feasible soundly measure program comprehension. a controlled experiment, observed 17 participants inside fMRI scanner while they were comprehending short source-code snippets, contrasted locating syntax errors. We found clear, distinct activation pattern of five brain regions, related working memory, attention, and language processing---all processes fit our understanding Our results encourage us and, hopefully, other use future studies the long run, answer questions, such as: Can predict someone will be excellent programmer? How effective new languages tools for understanding? should train programmers?

参考文章(83)
Dirk Beyer, Ashgan Fararooy, A Simple and Effective Measure for Complex Low-Level Dependencies international conference on program comprehension. pp. 80- 83 ,(2010) , 10.1109/ICPC.2010.49
Bonita Sharif, Jonathan I. Maletic, An Eye Tracking Study on camelCase and under_score Identifier Styles international conference on program comprehension. pp. 196- 205 ,(2010) , 10.1109/ICPC.2010.41
Alan D. Baddeley, Is working memory still working American Psychologist. ,vol. 56, pp. 851- 864 ,(2001) , 10.1037/0003-066X.56.11.851
Janet Siegmund, André Brechmann, Sven Apel, Christian Kästner, Jörg Liebig, Thomas Leich, Gunter Saake, Toward measuring program comprehension with functional magnetic resonance imaging Proceedings of the ACM SIGSOFT 20th International Symposium on the Foundations of Software Engineering - FSE '12. pp. 24- ,(2012) , 10.1145/2393596.2393624
Yann-Gaël Guéhéneuc, TAUPE Proceedings of the 2006 conference of the Center for Advanced Studies on Collaborative research - CASCON '06. pp. 1- 13 ,(2006) , 10.1145/1188966.1188968
Mik Kersten, Gail C. Murphy, Mylar: a degree-of-interest model for IDEs aspect-oriented software development. pp. 159- 168 ,(2005) , 10.1145/1052898.1052912
Maria Knobelsdorf, Ralf Romeike, Creativity as a pathway to computer science Proceedings of the 13th annual conference on Innovation and technology in computer science education - ITiCSE '08. ,vol. 40, pp. 286- 290 ,(2008) , 10.1145/1384271.1384347
Brad A Myers, John F Pane, Amy J. Ko, Natural programming languages and environments Communications of the ACM. ,vol. 47, pp. 47- 52 ,(2004) , 10.1145/1015864.1015888
Brian de Alwis, Gail C. Murphy, Shawn Minto, Creating a cognitive metric of programming task difficulty Proceedings of the 2008 international workshop on Cooperative and human aspects of software engineering - CHASE '08. pp. 29- 32 ,(2008) , 10.1145/1370114.1370122