Software development has been plagued with the lack of documentation. We focus on ways to augment existing code comments with various external data sources such as a developer’s monologue or facial expression, allowing its user to track the accompanying non-textual information from a final source code. We propose CodeCAM, a framework to capture a developer’s reaction as well as its complete screenshot during a coding session as a video stream. A novel method is introduced to associate these streams with the corresponding portion of a source code. Our method does not require modifying existing tools or IDEs. We then applied facial expression analysis in attempt to capture a developer’s sentiment toward the source code during its development. Our preliminary experiments revealed that a developer tends to make a certain type of face (e.g. puzzled) when dealing with a difficult part of a program.
[1]
Katsuhisa Maruyama,et al.
A change-aware development environment by recording editing operations of source code
,
2008,
MSR '08.
[2]
Akito Monden,et al.
On measuring the difficulty of program comprehension based on cerebral blood flow
,
2014
.
[3]
N. Pennington.
Stimulus structures and mental representations in expert comprehension of computer programs
,
1987,
Cognitive Psychology.
[4]
Markku Tukiainen,et al.
An eye-tracking methodology for characterizing program comprehension processes
,
2006,
ETRA.
[5]
James L. Wright,et al.
Source code that talks: an exploration of Eclipse task comments and their implication to repository mining
,
2005,
MSR '05.