A Replication Study on Code Comprehension and Expertise using Lightweight Biometric Sensors

03/08/2019
by   Davide Fucci, et al.
0

Code comprehension has been recently investigated from physiological and cognitive perspectives through the use of medical imaging. Floyd et al (i.e., the original study) used fMRI to classify the type of comprehension tasks performed by developers and relate such results to their expertise. We replicate the original study using lightweight biometrics sensors which participants (28 undergrads in computer science) wore when performing comprehension tasks on source code and natural language prose. We developed machine learning models to automatically identify what kind of tasks developers are working on leveraging their brain-, heart-, and skin-related signals. The best improvement over the original study performance is achieved using solely the heart signal obtained through a single device (BAC 87 Differently from the original study, we were not able to observe a correlation between the participants' expertise and the classifier performance (tau = 0.16, p = 0.31). Our findings show that lightweight biometric sensors can be used to accurately recognize comprehension tasks opening interesting scenarios for research and practice.

READ FULL TEXT

page 5

page 9

research
03/25/2022

Anchoring Code Understandability Evaluations Through Task Descriptions

In code comprehension experiments, participants are usually told at the ...
research
04/18/2023

Developers' Visuo-spatial Mental Model and Program Comprehension

Previous works from research and industry have proposed a spatial repres...
research
07/24/2020

An Empirical Validation of Cognitive Complexity as a Measure of Source Code Understandability

Background: Developers spend a lot of their time on understanding source...
research
04/11/2023

Program Comprehension Does Not Primarily Rely On the Language Centers of the Human Brain

Our goal is to identify brain regions involved in comprehending computer...
research
04/01/2022

Measuring Cognitive Load of Software Developers Based on Nasal Skin Temperature

It has recently become increasingly important to measure the cognitive l...
research
08/20/2021

Readability and Understandability Scores for Snippet Assessment: an Exploratory Study

Code search engines usually use readability feature to rank code snippet...
research
03/08/2021

Atoms of Confusion in Java

Although writing code seems trivial at times, problems arise when humans...

Please sign up or login with your details

Forgot password? Click here to reset