SlideShare a Scribd company logo
On the Influence of Representation Type and
Gender on Program Comprehension
Zohreh Sharafi
Département de Génie Informatique et Génie Logiciel
Polytechnique Montréal
Program Comprehension
“Programming is far more complex than usual human
mental activities studied by psychologists”(Weinberg and Schulman, 1974)
Thesis+of+zohreh+sharafi.ppt
Program Comprehension
• Over 35 years of research
• Rich with diverse theories
Think-aloud Observational studies Questionnaires
Eye-tracking Technology
Thesis+of+zohreh+sharafi.ppt
Thesis+of+zohreh+sharafi.ppt
Thesis+of+zohreh+sharafi.ppt
Representation’s
type
Program's
characteristics
Task variability
Program
Comprehension
Developer’s
characteristics
Representation Type (Graphical vs. Textual )
Developers’ Characteristics
• Expertise (novices vs. experts)
There is still a great divergence between developers’ abilities
that cannot be detected only by their level of expertise.
(Storey, 2005).
Thesis Statement
Representation type and gender:
• To impact the cognitive process
• To impact developers’ efficiency and effectiveness
• To be proxy for developers’ viewing strategies
• To be inferred partly from the developers’ eye-
movements
Thesis+of+zohreh+sharafi.ppt
1992 2004 2010
Evidence-based
Paradigm
Evidence-based
Software Engineering
(EBSE)
SLR about
SLRs in SE
UML
Unit Testing
Theory
Systematic Literature Review (SLR)
A Systematic Literature Review on the Usage of
Eye-tracking in Software Engineering
A Systematic Literature Review
Descriptive Statistics
How many
 1990 - 2014
 36 articles
 9 journal
 2 workshop
 25 conference
Under revision, IST Journal, 2013
A Systematic Literature Review
Topics
• Code comprehension (12)
• Model comprehensions (10)
• Debugging (9)
• Collaborative interaction (3)
• Traceability (2)
A Systematic Literature Review
Metrics
• Effort:
• Fixation, Saccades
• Visited AOIs
• Visual gaze behaviour
• Scan-path
A Systematic Literature Review
Limitation
• Technology
• Data analysis
• Participant & material selection
• Experimental setting
A Systematic Literature Review
Conclusion
• To provide descriptive statistics
• To present an annotated bibliography
• To summarise all the metrics and tools
• To present limitations
• To provide a unified terminology for reporting
A Systematic Literature Review
Lesson Learned
Thesis+of+zohreh+sharafi.ppt
Thesis+of+zohreh+sharafi.ppt
Picture Is Worth a Thousand Word
The Impact of Representation Type
Only a few works compare textual vs. graphical representations
for program comprehension
RQ1: Developers’ preferred representation
RQ2: Impact of representation type of time, accuracy, and effort
ICPC, 2013
The Impact of Representation Type
Task
Session 1 Session 2 Session 3
Thesis+of+zohreh+sharafi.ppt
Thesis+of+zohreh+sharafi.ppt
The Impact of Representation Type
Participants
Academic Background Gender
PhD Masters BSc Male Female
15 11 2 16 12
Total: 28
Thesis+of+zohreh+sharafi.ppt
RQ1: Is Graphical More Effective?
Accuracy %
Correct Wrong
Graphical 97% 3%
Textual 98% 2%
Mixed 96% 4%
RQ2: Impacts on Developers’ Efficiency
M:Model
Re: Relevant
Ir: Irrelevant
Q: Question
RQ2: Impacts on Developers’ Efficiency
The Impact of Representation Type
Conclusion
The Impact of Representation Type
Conclusion
• Prefer graphical
• Work with graphical in mixed stimulus
• Find relevant parts faster
Thesis+of+zohreh+sharafi.ppt
The Impact of Representation Type
Lesson Learned
Importance of Layout Source code as structures text
Thesis+of+zohreh+sharafi.ppt
Thesis+of+zohreh+sharafi.ppt
Thesis+of+zohreh+sharafi.ppt
Women Take a Wider View
M. Czerwinski, D. S. Tan, and G. G. Robertson, “Women take a wider view,” in Proceedings of the SIGCHI
Conference on Human Factors in Computing Systems, ser. CHI ’02. New York, NY, USA: ACM, 2002,
The Impact of Gender
Why Do We Care?
• Studying the need of one sub-population can benefit
both sides
• Design tools better adapted to different developers
• Support different program understanding strategies
The Impact of Gender
Experiment 1: The Impact of Identifier Style
Previous work, such as (Binkley et al., 2012) and (Sharif
and Maletic, 2010c), reported contradictory findings.
RQ1: The impact of identifier style on effort, the task time,
and accuracy
RQ2: The impact of gender on effort, the task time,
accuracy, and viewing strategies
ICPC, 2012
The Impact of Gender
Experiment 1: Task
Source code stimulus
Question stimulus
The Impact of Representation Type
Participants
Academic Background Gender
PhD Masters BSc Male Female
11 10 3 15 9
Total: 24
The Impact of Gender
Experiment 1: Results
Accuracy Time
(min)
Male 74% 5.94
Female 82% 7.18
Thesis+of+zohreh+sharafi.ppt
The Impact of Gender
Experiment1: Conclusion
Time Effort
Accuracy
Men and women use different strategies to select
the correct answer
The Impact of Gender
Lesson Learned
Different Attention Distribution
The Impact of Gender
Experiment 2: the Impact of SCEs
• Previous studies suggest that developers:
• Avoid understanding the entire system
• Focus on some parts
• Source code entities
Class name Method name VariablesComments
The Impact of Gender
Experiment 2: the impact of SCEs
RQ3: What are the important source code entities (SCEs)
RQ4: Impact of gender on developers’ viewing strategies
EMSE, 2014 & ICSM, 2012
The Impact of Gender
Experiment 2: Task
The Impact of Representation Type
Participants
Academic Background Gender
PhD Masters BSc Male Female
20 4 0 17 7
Total: 24
Thesis+of+zohreh+sharafi.ppt
The Impact of Gender
Experiment 2: Viewing Strategies
The Impact of Gender
Experiment 2: Viewing Strategies
Path: 1,2,1,2,3,4 Path: 1,2,3,2,3,1,2,4,3,1,3,4,3
Total time: 1780 Total time: 1315
0
5
10
15
20
25
30
35
Q1 Q2 Q3 Q4 Q5 Q6
Average length of scan-paths
Men Women
The Impact of Gender
Further Analysis
Method name is the most preferred type of SCEs.
The Impact of Gender
Further Analysis
• No difference between MiB and CiB
• Participants start looking at the Bigger SCE
• Method name, method name, method name …
The Impact of Gender
Lesson Learned
• Do not rush into adaptation
The Impact of Gender
Conclusion
Our findings raise two significant new open questions:
1. Are there differences between viewing strategies of male
and female developers while performing program
comprehension tasks and whether these strategies
impact their efficiency and effectiveness or not?
2. To which extent do current programming environments
support these strategies?
Thesis+of+zohreh+sharafi.ppt
Thesis+of+zohreh+sharafi.ppt
Thesis+of+zohreh+sharafi.ppt
65
Short term
• Analyze the impact of layout on developers’ performance
• Scan-path and AOI analysis
• Image processing approaches to analyze heatmaps
Long term
• Study developers’ viewing strategies and reading behaviour
• Analyze the applicability of our gender differences findings
Thesis+of+zohreh+sharafi.ppt
Thesis+of+zohreh+sharafi.ppt
Awards
1. Taupe: Visualizing and Analysing Eye-
tracking Data. SCP, 2011
2. An empirical study on the importance of
source code entities for requirements
traceability. EMSE, 2014
3. Systematic Literature Review on the Use
of Eye-tracking Technique in Software
Engineering. Under revision, IST, 2014
Conference Papers
1. Le Fonds de recherche du Québec,
Nature et technologies (FRQNT)
Journal Papers
1. Women & Men: Different but Equal: A
Study on the Impact of Identifiers on
Source Code Understanding. ICPC, 2012
2. Professional Status or Expertise for UML
Class Diagram Comprehension: An
Empirical Study Systematic. ICPC 2012
3. An Empirical Study on Requirements
Traceability Using Eye-Tracking. ICSM, 2012
4. An Empirical Study on the Efficiency of
Graphical vs. Textual in Requirements
Comprehension. ICPC, 2013
69
70

More Related Content

PPTX
SOFTWARE QUALITY ASSURANCE AND DESIGN PATTERNS
PDF
Master project - Competitive Co-evolutionary Code-Smells Detection
PPTX
Towards a Theory of Developer Satisfaction and Productivity
PDF
PhD Proposal talk
PPTX
Prezentation
PPTX
History Class - For software testers
PDF
2011 EASE - Motivation in Software Engineering: A Systematic Review Update
PDF
Icpc12b.ppt
SOFTWARE QUALITY ASSURANCE AND DESIGN PATTERNS
Master project - Competitive Co-evolutionary Code-Smells Detection
Towards a Theory of Developer Satisfaction and Productivity
PhD Proposal talk
Prezentation
History Class - For software testers
2011 EASE - Motivation in Software Engineering: A Systematic Review Update
Icpc12b.ppt

What's hot (20)

PDF
Urgent assignment help
PPTX
The Challenges of Affect Detection in the Social Programmer Ecosystem
PDF
A GROUNDED THEORY OF THE REQUIREMENTS ENGINEERING PROCESS
PPT
Software engineering -core topics
PDF
The effectiveness of test-driven development approach on software projects: A...
PDF
Pragmatic software testing education - SIGCSE 2019
PDF
Comparison between Test-Driven Development and Conventional Development: A Ca...
PPT
Experiments on Pattern-based Ontology Design
PPT
latest tools and techniques of requirment elicitation
PDF
Build Failure Prediction in Continuous Integration Workflows
PPT
Org And Sw Quality
PPT
A Preliminary Investigation of the Effect of Social Media on Affective Trust ...
PPTX
Viva voce presentation-Modeling emotion expression through AOM
PPT
Design Assignment Part B
PPTX
Predicting Usefulness of Code Review Comments using Textual Features and Deve...
PDF
THE PERCEPTIONS OF AGILE METHODOLOGY IN SOUTH AFRICA
PDF
Detection of SOA Antipatterns
PDF
Analytics for Software Development
PDF
130411 francis palma - detection of process antipatterns -- a bpel perspective
PDF
Privacy Requirements Engineering in Agile Software Development
Urgent assignment help
The Challenges of Affect Detection in the Social Programmer Ecosystem
A GROUNDED THEORY OF THE REQUIREMENTS ENGINEERING PROCESS
Software engineering -core topics
The effectiveness of test-driven development approach on software projects: A...
Pragmatic software testing education - SIGCSE 2019
Comparison between Test-Driven Development and Conventional Development: A Ca...
Experiments on Pattern-based Ontology Design
latest tools and techniques of requirment elicitation
Build Failure Prediction in Continuous Integration Workflows
Org And Sw Quality
A Preliminary Investigation of the Effect of Social Media on Affective Trust ...
Viva voce presentation-Modeling emotion expression through AOM
Design Assignment Part B
Predicting Usefulness of Code Review Comments using Textual Features and Deve...
THE PERCEPTIONS OF AGILE METHODOLOGY IN SOUTH AFRICA
Detection of SOA Antipatterns
Analytics for Software Development
130411 francis palma - detection of process antipatterns -- a bpel perspective
Privacy Requirements Engineering in Agile Software Development
Ad

Similar to Thesis+of+zohreh+sharafi.ppt (20)

PPTX
software project management
PDF
PDF
Requirement Elicitation Model (REM) in the Context of Global Software Develop...
PDF
Towards understanding the influence of personality and team behaviors on requ...
PPT
The overlaps between Action Research and Design Research
PDF
2015-11-11 research seminar
PDF
Feldt Ist Revised 090920 Links Betwe
PDF
Meta-study results of participatory processes
PPTX
Software Design Patterns and Quality Assurance
POTX
Explaining recommendations: design implications and lessons learned
PDF
Measuring User Experience in Latin America: An Exploratory Survey [CLIHC, Cór...
PPTX
Definitive answer to developer productivity v1 .2 Devworld.pptx
PDF
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
PPTX
How good of developer are you v1 .1 ASML.pptx
PPTX
Effects of Technological Interventions for Self-regulation: A Control Experi...
PDF
Survey on adverse influencing factors in the way of successful requirement en...
PDF
G017264447
PDF
Ko tse06-developers behaviour
PDF
Goal Dynamics_From System Dynamics to Implementation
DOCX
Research paperV1
software project management
Requirement Elicitation Model (REM) in the Context of Global Software Develop...
Towards understanding the influence of personality and team behaviors on requ...
The overlaps between Action Research and Design Research
2015-11-11 research seminar
Feldt Ist Revised 090920 Links Betwe
Meta-study results of participatory processes
Software Design Patterns and Quality Assurance
Explaining recommendations: design implications and lessons learned
Measuring User Experience in Latin America: An Exploratory Survey [CLIHC, Cór...
Definitive answer to developer productivity v1 .2 Devworld.pptx
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
How good of developer are you v1 .1 ASML.pptx
Effects of Technological Interventions for Self-regulation: A Control Experi...
Survey on adverse influencing factors in the way of successful requirement en...
G017264447
Ko tse06-developers behaviour
Goal Dynamics_From System Dynamics to Implementation
Research paperV1
Ad

More from Ptidej Team (20)

PDF
From IoT to Software Miniaturisation
PDF
Presentation
PDF
Presentation
PDF
Presentation
PDF
Presentation by Lionel Briand
PDF
Manel Abdellatif
PDF
Azadeh Kermansaravi
PDF
Mouna Abidi
PDF
CSED - Manel Grichi
PDF
Cristiano Politowski
PDF
Will io t trigger the next software crisis
PDF
PDF
Thesis+of+laleh+eshkevari.ppt
PDF
Thesis+of+nesrine+abdelkafi.ppt
PDF
Medicine15.ppt
PDF
Qrs17b.ppt
PDF
Icpc11c.ppt
PDF
Icsme16.ppt
PDF
Msr17a.ppt
PDF
Icsoc15.ppt
From IoT to Software Miniaturisation
Presentation
Presentation
Presentation
Presentation by Lionel Briand
Manel Abdellatif
Azadeh Kermansaravi
Mouna Abidi
CSED - Manel Grichi
Cristiano Politowski
Will io t trigger the next software crisis
Thesis+of+laleh+eshkevari.ppt
Thesis+of+nesrine+abdelkafi.ppt
Medicine15.ppt
Qrs17b.ppt
Icpc11c.ppt
Icsme16.ppt
Msr17a.ppt
Icsoc15.ppt

Recently uploaded (20)

PDF
Cost to Outsource Software Development in 2025
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
iTop VPN Crack Latest Version Full Key 2025
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
AutoCAD Professional Crack 2025 With License Key
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Download FL Studio Crack Latest version 2025 ?
PDF
CapCut Video Editor 6.8.1 Crack for PC Latest Download (Fully Activated) 2025
PPTX
Patient Appointment Booking in Odoo with online payment
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Cost to Outsource Software Development in 2025
Computer Software and OS of computer science of grade 11.pptx
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
Digital Systems & Binary Numbers (comprehensive )
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
iTop VPN Crack Latest Version Full Key 2025
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Oracle Fusion HCM Cloud Demo for Beginners
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Salesforce Agentforce AI Implementation.pdf
AutoCAD Professional Crack 2025 With License Key
Odoo Companies in India – Driving Business Transformation.pdf
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Why Generative AI is the Future of Content, Code & Creativity?
Wondershare Filmora 15 Crack With Activation Key [2025
Download FL Studio Crack Latest version 2025 ?
CapCut Video Editor 6.8.1 Crack for PC Latest Download (Fully Activated) 2025
Patient Appointment Booking in Odoo with online payment
wealthsignaloriginal-com-DS-text-... (1).pdf
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev

Thesis+of+zohreh+sharafi.ppt

  • 1. On the Influence of Representation Type and Gender on Program Comprehension Zohreh Sharafi Département de Génie Informatique et Génie Logiciel Polytechnique Montréal
  • 2. Program Comprehension “Programming is far more complex than usual human mental activities studied by psychologists”(Weinberg and Schulman, 1974)
  • 4. Program Comprehension • Over 35 years of research • Rich with diverse theories Think-aloud Observational studies Questionnaires
  • 11. Developers’ Characteristics • Expertise (novices vs. experts) There is still a great divergence between developers’ abilities that cannot be detected only by their level of expertise. (Storey, 2005).
  • 12. Thesis Statement Representation type and gender: • To impact the cognitive process • To impact developers’ efficiency and effectiveness • To be proxy for developers’ viewing strategies • To be inferred partly from the developers’ eye- movements
  • 14. 1992 2004 2010 Evidence-based Paradigm Evidence-based Software Engineering (EBSE) SLR about SLRs in SE UML Unit Testing Theory Systematic Literature Review (SLR)
  • 15. A Systematic Literature Review on the Usage of Eye-tracking in Software Engineering
  • 16. A Systematic Literature Review Descriptive Statistics How many  1990 - 2014  36 articles  9 journal  2 workshop  25 conference Under revision, IST Journal, 2013
  • 17. A Systematic Literature Review Topics • Code comprehension (12) • Model comprehensions (10) • Debugging (9) • Collaborative interaction (3) • Traceability (2)
  • 18. A Systematic Literature Review Metrics • Effort: • Fixation, Saccades • Visited AOIs • Visual gaze behaviour • Scan-path
  • 19. A Systematic Literature Review Limitation • Technology • Data analysis • Participant & material selection • Experimental setting
  • 20. A Systematic Literature Review Conclusion • To provide descriptive statistics • To present an annotated bibliography • To summarise all the metrics and tools • To present limitations • To provide a unified terminology for reporting
  • 21. A Systematic Literature Review Lesson Learned
  • 24. Picture Is Worth a Thousand Word
  • 25. The Impact of Representation Type Only a few works compare textual vs. graphical representations for program comprehension RQ1: Developers’ preferred representation RQ2: Impact of representation type of time, accuracy, and effort ICPC, 2013
  • 26. The Impact of Representation Type Task Session 1 Session 2 Session 3
  • 29. The Impact of Representation Type Participants Academic Background Gender PhD Masters BSc Male Female 15 11 2 16 12 Total: 28
  • 31. RQ1: Is Graphical More Effective?
  • 32. Accuracy % Correct Wrong Graphical 97% 3% Textual 98% 2% Mixed 96% 4% RQ2: Impacts on Developers’ Efficiency
  • 33. M:Model Re: Relevant Ir: Irrelevant Q: Question RQ2: Impacts on Developers’ Efficiency
  • 34. The Impact of Representation Type Conclusion
  • 35. The Impact of Representation Type Conclusion • Prefer graphical • Work with graphical in mixed stimulus • Find relevant parts faster
  • 37. The Impact of Representation Type Lesson Learned Importance of Layout Source code as structures text
  • 41. Women Take a Wider View M. Czerwinski, D. S. Tan, and G. G. Robertson, “Women take a wider view,” in Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, ser. CHI ’02. New York, NY, USA: ACM, 2002,
  • 42. The Impact of Gender Why Do We Care? • Studying the need of one sub-population can benefit both sides • Design tools better adapted to different developers • Support different program understanding strategies
  • 43. The Impact of Gender Experiment 1: The Impact of Identifier Style Previous work, such as (Binkley et al., 2012) and (Sharif and Maletic, 2010c), reported contradictory findings. RQ1: The impact of identifier style on effort, the task time, and accuracy RQ2: The impact of gender on effort, the task time, accuracy, and viewing strategies ICPC, 2012
  • 44. The Impact of Gender Experiment 1: Task Source code stimulus Question stimulus
  • 45. The Impact of Representation Type Participants Academic Background Gender PhD Masters BSc Male Female 11 10 3 15 9 Total: 24
  • 46. The Impact of Gender Experiment 1: Results Accuracy Time (min) Male 74% 5.94 Female 82% 7.18
  • 48. The Impact of Gender Experiment1: Conclusion Time Effort Accuracy Men and women use different strategies to select the correct answer
  • 49. The Impact of Gender Lesson Learned Different Attention Distribution
  • 50. The Impact of Gender Experiment 2: the Impact of SCEs • Previous studies suggest that developers: • Avoid understanding the entire system • Focus on some parts • Source code entities Class name Method name VariablesComments
  • 51. The Impact of Gender Experiment 2: the impact of SCEs RQ3: What are the important source code entities (SCEs) RQ4: Impact of gender on developers’ viewing strategies EMSE, 2014 & ICSM, 2012
  • 52. The Impact of Gender Experiment 2: Task
  • 53. The Impact of Representation Type Participants Academic Background Gender PhD Masters BSc Male Female 20 4 0 17 7 Total: 24
  • 55. The Impact of Gender Experiment 2: Viewing Strategies
  • 56. The Impact of Gender Experiment 2: Viewing Strategies Path: 1,2,1,2,3,4 Path: 1,2,3,2,3,1,2,4,3,1,3,4,3 Total time: 1780 Total time: 1315
  • 57. 0 5 10 15 20 25 30 35 Q1 Q2 Q3 Q4 Q5 Q6 Average length of scan-paths Men Women
  • 58. The Impact of Gender Further Analysis Method name is the most preferred type of SCEs.
  • 59. The Impact of Gender Further Analysis • No difference between MiB and CiB • Participants start looking at the Bigger SCE • Method name, method name, method name …
  • 60. The Impact of Gender Lesson Learned • Do not rush into adaptation
  • 61. The Impact of Gender Conclusion Our findings raise two significant new open questions: 1. Are there differences between viewing strategies of male and female developers while performing program comprehension tasks and whether these strategies impact their efficiency and effectiveness or not? 2. To which extent do current programming environments support these strategies?
  • 65. 65
  • 66. Short term • Analyze the impact of layout on developers’ performance • Scan-path and AOI analysis • Image processing approaches to analyze heatmaps Long term • Study developers’ viewing strategies and reading behaviour • Analyze the applicability of our gender differences findings
  • 69. Awards 1. Taupe: Visualizing and Analysing Eye- tracking Data. SCP, 2011 2. An empirical study on the importance of source code entities for requirements traceability. EMSE, 2014 3. Systematic Literature Review on the Use of Eye-tracking Technique in Software Engineering. Under revision, IST, 2014 Conference Papers 1. Le Fonds de recherche du Québec, Nature et technologies (FRQNT) Journal Papers 1. Women & Men: Different but Equal: A Study on the Impact of Identifiers on Source Code Understanding. ICPC, 2012 2. Professional Status or Expertise for UML Class Diagram Comprehension: An Empirical Study Systematic. ICPC 2012 3. An Empirical Study on Requirements Traceability Using Eye-Tracking. ICSM, 2012 4. An Empirical Study on the Efficiency of Graphical vs. Textual in Requirements Comprehension. ICPC, 2013 69
  • 70. 70