This repository contains the replication package for the paper "The Effect Of Comments On Program Comprehension: An Eye-Tracking Study", accepted at Empirical Software Engineering.
This folder contains materials related to the study design and data collection.
This folder contains all necessary files and scripts for data processing and analysis. The 'data' sub-folder contains the raw data files collected during the study. The 'output' sub-folder contains the processed data files and analysis results. Further details on the data analysis pipeline are provided in the 'README.md' file in the 'Data Analysis' folder.
This folder includes the post-questionnaire and rating templates used in the study.
This folder contains the final code snippets used in the study along with additional resources. The Images sub-folder contains visual representations of the snippets with AOI overlays, which can be useful for analysis.
In our study, we used the Tobii EyeX eye tracker to collect gaze data at a frequency of 60,Hz. The Tobii EyeX is a portable eye tracker that utilizes near-infrared light to track the position of the eyes. It has a tracking population of 95%, ensuring precise measurements. The Tobii EyeX is compatible with screens up to 27 inches and has an operating distance range of 50 - 90 cm. The track box dimensions, representing the area where eye movements can be accurately captured, are approximately 40 x 30 cm at a distance of 75 cm. To ensure accurate eye-tracking measurements, we instructed participants to position themselves at the right distance and position to the Tobii EyeX according to the manufacturer's instructions.
-
Run the study program by opening the
Studyfolder in Microsoft Visual Studio and running theStudy.slnsolution file. -
Administer the post-questionnaire to participants after they complete the study tasks.
-
Install the required Python dependencies:
pip install -r data_analysis/requirements.txt
-
Copy the raw data files from the 'Study' folder to the 'Data Analysis' folder.
-
Set the configuration parameters in the
config.pyfile in theData Analysisfolder. -
Run the data analysis pipeline:
python data_analysis/RunPipelineData.py
This repository is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
For any questions or issues related to this replication package, please contact Youssef Abdelsalam at [abdelsalam@cs.uni-saarland.de].