@inproceedings{cc9930b139694fc8aa44eb4b8b2bc93a,
title = "Syntax, Predicates, Idioms - What Really Affects Code Complexity?",
abstract = "Program comprehension concerns the ability to understand code written by others. But not all code is the same. We use an experimental platform fashioned as an online game-like environment to measure how quickly and accurately 222 professional programmers can interpret code snippets with similar functionality but different structures. The results indicate, inter alia, that 'for' loops are significantly harder than 'if's, that some but not all negations make a predicate harder, and that loops counting down are slightly harder than loops counting up. This demonstrates how the effect of syntactic structures, different ways to express predicates, and the use of known idioms can be measured empirically, and that syntactic structures are not necessarily the most important factor. By amassing many more empirical results like these it may be possible to derive better code complexity metrics than we have today.",
keywords = "Code complexity, gamification, program understanding",
author = "Shulamyt Ajami and Yonatan Woodbridge and Feitelson, \{Dror G.\}",
note = "Publisher Copyright: {\textcopyright} 2017 IEEE.; 25th IEEE International Conference on Program Comprehension, ICPC 2017 ; Conference date: 22-05-2017 Through 23-05-2017",
year = "2017",
month = jun,
day = "28",
doi = "10.1109/ICPC.2017.39",
language = "الإنجليزيّة",
series = "IEEE International Conference on Program Comprehension",
publisher = "IEEE Computer Society",
pages = "66--76",
booktitle = "Proceedings - 2017 IEEE 25th International Conference on Program Comprehension, ICPC 2017",
address = "الولايات المتّحدة",
}