• DocumentCode
    2619015
  • Title

    Women and men — Different but equal: On the impact of identifier style on source code reading

  • Author

    Sharafi, Zohreh ; Soh, Zéphyrin ; Guéhéneuc, Yann-Gäel ; Antoniol, Giuliano

  • Author_Institution
    Dept. de Genie Inf. et Genie Logiciel, Ecole Polytech. de Montreal, Montréal, QC, Canada
  • fYear
    2012
  • fDate
    11-13 June 2012
  • Firstpage
    27
  • Lastpage
    36
  • Abstract
    Program comprehension is preliminary to any program evolution task. Researchers agree that identifiers play an important role in code reading and program understanding activities. Yet, to the best of our knowledge, only one work investigated the impact of gender on the memorability of identifiers and thus, ultimately, on program comprehension. This paper reports the results of an experiment involving 15 male subjects and nine female subjects to study the impact of gender on the subjects´ visual effort, required time, as well as accuracy to recall Camel Case versus Underscore identifiers in source code reading. We observe no statistically-significant difference in term of accuracy, required time, and effort. However, our data supports the conjecture that male and female subjects follow different comprehension strategies: female subjects seem to carefully weight all options and spend more time to rule out wrong answers while male subjects seem to quickly set their minds on some answers, possibly the wrong ones. Indeed, we found that the effort spent on wrong answers is significantly higher for female subjects and that there is an interaction between the effort that female subjects invested on wrong answers and their higher percentages of correct answers when compared to male subjects.
  • Keywords
    Code reading; Eye-tracking study; Gender issues; Identifier style;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Program Comprehension (ICPC), 2012 IEEE 20th International Conference on
  • Conference_Location
    Passau, Germany
  • ISSN
    1092-8138
  • Print_ISBN
    978-1-4673-1213-4
  • Electronic_ISBN
    1092-8138
  • Type

    conf

  • DOI
    10.1109/ICPC.2012.6240505
  • Filename
    6240505