Title
Spotting Problematic Code Lines using Nonintrusive Programmers' Biofeedback
Abstract
Recent studies have shown that programmers' cognitive load during typical code development activities can be assessed using wearable and low intrusive devices that capture peripheral physiological responses driven by the autonomic nervous system. In particular, measures such as heart rate variability (HRV) and pupillography can be acquired by nonintrusive devices and provide accurate indication of programmers' cognitive load and attention level in code related tasks, which are known elements of human error that potentially lead to software faults. This paper presents an experimental study designed to evaluate the possibility of using HRV and pupillography together with eye tracking to identify and annotate specific code lines (or even finer grain lexical tokens) of the program under development (or under inspection) with information on the cognitive load of the programmer while dealing with such lines of code. The experimental data is discussed in the paper to assess different alternatives for using code annotations representing programmers' cognitive load while producing or reading code. In particular, we propose the use of biofeedback code highlighting techniques to provide online programmer's warnings for potentially problematic code lines that may need a second look at (to remove possible bugs), and biofeedback-driven software testing to optimize testing effort, focusing the tests on code areas with higher bug probability.
Year
DOI
Venue
2019
10.1109/ISSRE.2019.00019
2019 IEEE 30th International Symposium on Software Reliability Engineering (ISSRE)
Keywords
Field
DocType
software faults, eye tracking, pupillography, heart rate variability, mental effort, cognitive overload, human error, code annotation
Programmer,Computer science,Wearable computer,Real-time computing,Human error,Human–computer interaction,Eye tracking,Software,Pupillography,Cognitive load,Source lines of code
Conference
ISSN
ISBN
Citations 
1071-9458
978-1-7281-4983-7
2
PageRank 
References 
Authors
0.39
12
12