Litcius/Paper detail

Using Eye-Tracking Data to Compare Differences in Code Comprehension and Code Perceptions between Expert and Novice Programmers

Sarah A. Jessup, Sasha Willis, Gene M. Alarcon, Michael A. Lee

2021Proceedings of the ... Annual Hawaii International Conference on System Sciences/Proceedings of the Annual Hawaii International Conference on System Sciences16 citationsDOIOpen Access PDF

Abstract

Previous research has examined how eye-tracking metrics can serve as a proxy for directly measuring the amount of cognitive effort and processing required for comprehending computer code. We conducted a pilot study comprising expert (n = 10) and novice (n = 10) computer programmers to examine group differences in code comprehension abilities and perceptions. Programmers were asked to read two pieces of computer code, rate the code on various attributes, and then describe what the code does. Results indicate that experts and novices significantly differ in terms of their fixation counts made during the task, such that experts had more fixations than novices. This was counter to our hypothesis that experts would have fewer fixations than novices. We found no evidence that experts and novices differed in their average fixation durations, trustworthiness and performance perceptions, or willingness to reuse the code.

Topics & Concepts

Computer scienceProgram comprehensionEye trackingPerceptionComprehensionCode (set theory)Fixation (population genetics)Task (project management)Source codeHuman–computer interactionArtificial intelligenceSoftwarePsychologyProgramming languageSoftware systemNeuroscienceSociologyEconomicsSet (abstract data type)ManagementPopulationDemographySoftware Engineering ResearchSoftware Engineering Techniques and PracticesOpen Source Software Innovations
Using Eye-Tracking Data to Compare Differences in Code Comprehension and Code Perceptions between Expert and Novice Programmers | Litcius