Using Psycho-Physiological Measures to Assess Task Difficulty in Software Development

被引:182
作者
Fritz, Thomas [1 ]
Begel, Andrew [2 ]
Mueller, Sebastian C. [1 ]
Yigit-Elliott, Serap [3 ]
Zuger, Manuela [1 ]
机构
[1] Univ Zurich, Zurich, Switzerland
[2] Microsoft Res, Redmond, WA USA
[3] Exponent, Bellevue, WA USA
来源
36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2014) | 2014年
关键词
psycho-physiological; task difficulty; study; MENTAL WORKLOAD; EYE-MOVEMENTS; RESPONSES; BLINKING; LOAD;
D O I
10.1145/2568225.2568266
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software developers make programming mistakes that cause serious bugs for their customers. Existing work to detect problematic software focuses mainly on post hoc identification of correlations between bug fixes and code. We propose a new approach to address this problem detect when software developers are experiencing difficulty while they work on their programming tasks, and stop them before they can introduce bugs into the code. In this paper, we investigate a novel approach to classify the difficulty of code comprehension tasks using data from psycho-physiological sensors. We present the results of a study we conducted with 15 professional programmers to see how well an eye-tracker, an electrodermal activity sensor, and an electroencephalography sensor could be used to predict whether developers would find a task to be difficult. We can predict nominal task difficulty (easy/difficult) for a new developer with 64.99% precision and 64.58% recall, and for a new task with 84.38% precision and 69.79% recall. We can improve the Naive Bayes classifier's performance if we trained it on just the eye-tracking data over the entire dataset, or by using a sliding window data collection schema with a 55 second time window. Our work brings the community closer to a viable and reliable measure of task difficulty that could power the next generation of programming support tools.
引用
收藏
页码:402 / 413
页数:12
相关论文
共 72 条
[1]  
Ali N, 2012, 2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), P191, DOI 10.1109/ICSM.2012.6405271
[2]  
Andreassi J.L., 2007, PSYCHOPHYSIOLOGY HUM
[3]  
[Anonymous], 2002, Software Design-Cognitive Aspects
[4]  
[Anonymous], 2012, 20 IEEE INT C PROGR
[5]  
[Anonymous], 1990, Physiological Metrics of Mental Workload: A Review of Recent Progress, DOI [DOI 10.1201/9781003069447-14/PHYSIOLOGICAL-METRICS-MENTAL-WORKLOAD-REVIEW-RECENT-PROGRESS-ARTHUR-KRAMER, DOI 10.21236/ADA223701]
[6]   THE PHYSIOLOGICAL DIFFERENTIATION BETWEEN FEAR AND ANGER IN HUMANS [J].
AX, AF .
PSYCHOSOMATIC MEDICINE, 1953, 15 (05) :433-442
[7]   Understanding changes in mental workload during execution of goal-directed tasks and its application for interruption management [J].
Bailey, Brian P. ;
Iqbal, Shamsi T. .
ACM TRANSACTIONS ON COMPUTER-HUMAN INTERACTION, 2008, 14 (04)
[8]   AUDITORY-DISCRIMINATION AND THE EYEBLINK [J].
BAUER, LO ;
STROCK, BD ;
GOLDSTEIN, R ;
STERN, JA ;
WALRATH, LC .
PSYCHOPHYSIOLOGY, 1985, 22 (06) :636-641
[9]   TASK-EVOKED PUPILLARY RESPONSES, PROCESSING LOAD, AND THE STRUCTURE OF PROCESSING RESOURCES [J].
BEATTY, J .
PSYCHOLOGICAL BULLETIN, 1982, 91 (02) :276-292
[10]  
Bednarik R., 2006, Proceedings. ETRA 2006. Symposium on Eye Tracking Research and Applications, P125, DOI 10.1145/1117309.1117356