Exploring the Role of Programming and Cognitive Skills in Code Comprehension and Workload Measurement

Authors

  • Divjot Singh Department of Computer Science and Engineering, Thapar Institute of Engineering and Technology, Patiala, Punjab, India
  • Ashutosh Mishra Department of Computer Science and Engineering, Thapar Institute of Engineering and Technology, Patiala, Punjab, India
  • Ashutosh Aggarwal Department of Computer Science and Engineering, Thapar Institute of Engineering and Technology, Patiala, Punjab, India

Keywords:

Code compression, cognitive skills, coding tasks

Abstract

This study explores how programming and cognitive skills contribute to software com- prehension and how programmers’ cognitive workload is measured. The review shows that code reading, tracing, and debugging are the most frequently studied programming skills, supported by cognitive abilities such as working memory, reasoning, and problem-solving. Coding tasks and comprehension tests are the most common evaluation methods, while advanced tools such as fMRI, EEG, and eye-tracking provide deeper insights into mental effort. Key parameters used across studies include task accuracy, completion time, and brain activity. However, research in this area still faces challenges such as small sample sizes, self-report bias, high sensor costs, and difficulty replicating real programming condi- tions. Overall, the findings highlight the need for practical and scalable methods to better understand how programmers think and manage cognitive load while working with complex code.

References

Norman F. Schneidewind. The state of software maintenance. IEEE Transactions on Software Engineering, (3):303–310, 2006.

Benjamin Floyd, Tyler Santander, and Westley Weimer. Decoding the representation of code in the brain: An fmri study of code review and expertise. In 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE), pages 175–186. IEEE, 2017.

Norman Peitek, Sven Apel, Chris Parnin, Andr´e Brechmann, and Janet Siegmund. Pro- gram comprehension and code complexity metrics: A replication package of an fmri study. In 2021 IEEE/ACM 43rd International Conference on Software Engineering: Companion Proceedings (ICSE-Companion), pages 168–169. IEEE, 2021.

Published

2026-01-22

Issue

Section

Review Article