skip to main content
10.1145/3216723.3216728acmconferencesArticle/Chapter ViewAbstractPublication PagesetraConference Proceedingsconference-collections
research-article

Data flow metrics in program comprehension tasks

Published: 15 June 2018 Publication History

Abstract

Existing research in program comprehension has paid less attention to the coverage of programming concepts that were contained within the source codes used for studies. In this paper, we examine source codes covering four introductory programming concepts: branching, loops and arrays, sorting, and tail recursion. The diverse types of code fragments give rise to eye movement patterns more structured according to the control flow and data flow of the program. To facilitate analysis of this class of program comprehension strategies, we propose data flow-based metrics and describe automatic computation of the metrics. In evaluation of the proposal, we conducted a pilot study with novice and intermediate programmers. In the study with recordings from 26 programmers we compute basic fixation and saccade metrics along with a data flow-based metric.

References

[1]
Teresa Busjahn, Roman Bednarik, Andrew Begel, Martha Crosby, James H. Paterson, Carsten Schulte, Bonita Sharif, and Sascha Tamm. 2015. Eye Movements in Code Reading: Relaxing the Linear Order. In 2015 IEEE 23rd International Conference on Program Comprehension. IEEE, 255--265.
[2]
Teresa Busjahn, Carsten Schulte, Bonita Sharif, Simon, Andrew Begel, Michael Hansen, Roman Bednarik, Paul Orlov, Petri Ihantola, Galina Shchekotova, and Maria Antropova. 2014. Eye tracking in computing education. In Proceedings of the 10th annual conference on International computing education research (ICER '14). ACM, New York, NY, USA, 3--10.
[3]
Ahmad Jbara and Dror G. Feitelson. 2015. How Programmers Read Regular Code: A Controlled Experiment Using Eye Tracking. In Proceedings of the 2015 IEEE 23rd International Conference on Program Comprehension (ICPC '15). IEEE Press, Piscataway, NJ, USA, 244--254.
[4]
Martin Konopka, Robert Moro, Peter Demcak, Patrik Hlavac, Jozef Tvarozek, Jakub Simko, Eduard Kuric, Pavol Navrat, and Maria Bielikova. 2017. Infrastructure and Methodology for Group Studies in Multiple Eye Trackers Laboratory. Journal of Eye Movement Research 10, 6 (2017), p. 292. Special Issue ECEM 2017, Abstract.
[5]
Pavol Navrat and Jozef Tvarozek. 2014. Online programming exercises for summative assessment in university courses. In Proceedings of the 15th International Conference on Systems and Technologies (CompSysTech '14). ACM, New York, NY, USA, 341--348.
[6]
Unaizah Obaidellah, Mohammmed Al Haek, and Peter C.-H. Cheng. 2018. A Survey on the Usage of Eye-Tracking in Computer Programming. Comput. Surveys 51, 1 (2018), 5:1--5:58.
[7]
Zohrer Sharafi, Timothy Shaffer, Bonita Sharif, and Yann-Ga�l Gu�h�neuc. 2015. Eye-tracking Metrics in Software Engineering. In 2015 Asia-Pacific Software Engineering Conference (APSEC). IEEE, 1530--1362.
[8]
Bonita Sharif, Michael Falcone, and Jonathan I. Maletic. 2012. An eye-tracking study on the role of scan time in finding source code defects. In Proceedings of the Symposium on Eye Tracking Research and Applications (ETRA '12). ACM, New York, NY, USA, 381--384.
[9]
Bonita Sharif and Jonatahn I. Maletic. 2010. An Eye Tracking Study on camelCase and under_score Identifier Styles. In 2010 IEEE 18th International Conference on Program Comprehension. 196--205.
[10]
Jozef Tvarozek, Martin Konopka, Jakub Hucko, Pavol Navrat, and Maria Bielikova. 2017. Robust Recording of Program Comprehension Studies with Eye Tracking for Re-peatable Analysis and Replay. Journal of Eye Movement Research 10, 6 (2017), p. 293. Special Issue ECEM 2017, Abstract.
[11]
Hidetake Uwano, Masahide Nakamura, Akito Monden, and Ken ichi Matsumoto. 2007. Exploiting Eye Movements for Evaluating Reviewer's Performance in Software Review. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. E90-A, 10 (Oct. 2007), 2290--2300.
[12]
Leelakrishna Yenigalla, Vinayak Sinha, Bonita Sharif, and Martha Crosby. 2016. How Novices Read Source Code in Introductory Courses on Programming: An Eye-Tracking Experiment. In Proceedings of the 10th International Conference on Foundations of Augmented Cognition: Neuroergonomics and Operational Neuroscience - Volume 9744, Part II. Springer-Verlag New York, Inc., New York, NY, USA, 120--131.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
EMIP '18: Proceedings of the Workshop on Eye Movements in Programming
June 2018
35 pages
ISBN:9781450357920
DOI:10.1145/3216723
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 15 June 2018

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. eye tracking
  2. metrics
  3. program comprehension

Qualifiers

  • Research-article

Funding Sources

Conference

ETRA '18

Upcoming Conference

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)9
  • Downloads (Last 6 weeks)0
Reflects downloads up to 19 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2024)On Eye Tracking in Software EngineeringSN Computer Science10.1007/s42979-024-03045-35:6Online publication date: 26-Jul-2024
  • (2023)40 Years of Designing Code Comprehension Experiments: A Systematic Mapping StudyACM Computing Surveys10.1145/362652256:4(1-42)Online publication date: 9-Nov-2023
  • (2021)Estimation of reading ability of program codes using features of eye movementsACM Symposium on Eye Tracking Research and Applications10.1145/3448018.3457421(1-5)Online publication date: 25-May-2021
  • (2020)Eye Movement Features in response to Comprehension Performance during the Reading of ProgramsACM Symposium on Eye Tracking Research and Applications10.1145/3379156.3391981(1-5)Online publication date: 2-Jun-2020

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media