SlideShare a Scribd company logo
1 of 70
Download to read offline
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)
Program Comprehension
• Over 35 years of research
• Rich with diverse theories
Think-aloud Observational studies Questionnaires
Eye-tracking Technology
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
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
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
The Impact of Representation Type
Participants
Academic Background Gender
PhD Masters BSc Male Female
15 11 2 16 12
Total: 28
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
The Impact of Representation Type
Lesson Learned
Importance of Layout Source code as structures text
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
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
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?
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
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

What's hot

The Challenges of Affect Detection in the Social Programmer Ecosystem
The Challenges of Affect Detection in the Social Programmer EcosystemThe Challenges of Affect Detection in the Social Programmer Ecosystem
The Challenges of Affect Detection in the Social Programmer Ecosystem
Nicole Novielli
 
The effectiveness of test-driven development approach on software projects: A...
The effectiveness of test-driven development approach on software projects: A...The effectiveness of test-driven development approach on software projects: A...
The effectiveness of test-driven development approach on software projects: A...
journalBEEI
 
Comparison between Test-Driven Development and Conventional Development: A Ca...
Comparison between Test-Driven Development and Conventional Development: A Ca...Comparison between Test-Driven Development and Conventional Development: A Ca...
Comparison between Test-Driven Development and Conventional Development: A Ca...
IJERA Editor
 
Design Assignment Part B
Design Assignment Part BDesign Assignment Part B
Design Assignment Part B
Simon Reynolds
 
Analytics for Software Development
Analytics for Software DevelopmentAnalytics for Software Development
Analytics for Software Development
Ray Buse
 

What's hot (20)

Urgent assignment help
Urgent assignment helpUrgent assignment help
Urgent assignment help
 
The Challenges of Affect Detection in the Social Programmer Ecosystem
The Challenges of Affect Detection in the Social Programmer EcosystemThe Challenges of Affect Detection in the Social Programmer Ecosystem
The Challenges of Affect Detection in the Social Programmer Ecosystem
 
A GROUNDED THEORY OF THE REQUIREMENTS ENGINEERING PROCESS
A GROUNDED THEORY OF THE REQUIREMENTS ENGINEERING PROCESSA GROUNDED THEORY OF THE REQUIREMENTS ENGINEERING PROCESS
A GROUNDED THEORY OF THE REQUIREMENTS ENGINEERING PROCESS
 
Software engineering -core topics
Software engineering -core topicsSoftware engineering -core topics
Software engineering -core topics
 
The effectiveness of test-driven development approach on software projects: A...
The effectiveness of test-driven development approach on software projects: A...The effectiveness of test-driven development approach on software projects: A...
The effectiveness of test-driven development approach on software projects: A...
 
Pragmatic software testing education - SIGCSE 2019
Pragmatic software testing education - SIGCSE 2019Pragmatic software testing education - SIGCSE 2019
Pragmatic software testing education - SIGCSE 2019
 
Comparison between Test-Driven Development and Conventional Development: A Ca...
Comparison between Test-Driven Development and Conventional Development: A Ca...Comparison between Test-Driven Development and Conventional Development: A Ca...
Comparison between Test-Driven Development and Conventional Development: A Ca...
 
Experiments on Pattern-based Ontology Design
Experiments on Pattern-based Ontology DesignExperiments on Pattern-based Ontology Design
Experiments on Pattern-based Ontology Design
 
latest tools and techniques of requirment elicitation
latest tools  and techniques of requirment elicitation latest tools  and techniques of requirment elicitation
latest tools and techniques of requirment elicitation
 
Build Failure Prediction in Continuous Integration Workflows
Build Failure Prediction in Continuous Integration WorkflowsBuild Failure Prediction in Continuous Integration Workflows
Build Failure Prediction in Continuous Integration Workflows
 
Org And Sw Quality
Org And Sw QualityOrg And Sw Quality
Org And Sw Quality
 
A Preliminary Investigation of the Effect of Social Media on Affective Trust ...
A Preliminary Investigation of the Effect of Social Media on Affective Trust ...A Preliminary Investigation of the Effect of Social Media on Affective Trust ...
A Preliminary Investigation of the Effect of Social Media on Affective Trust ...
 
Viva voce presentation-Modeling emotion expression through AOM
Viva voce presentation-Modeling emotion expression through AOMViva voce presentation-Modeling emotion expression through AOM
Viva voce presentation-Modeling emotion expression through AOM
 
Design Assignment Part B
Design Assignment Part BDesign Assignment Part B
Design Assignment Part B
 
MSR2017-RevHelper
MSR2017-RevHelperMSR2017-RevHelper
MSR2017-RevHelper
 
THE PERCEPTIONS OF AGILE METHODOLOGY IN SOUTH AFRICA
THE PERCEPTIONS OF AGILE METHODOLOGY IN SOUTH AFRICATHE PERCEPTIONS OF AGILE METHODOLOGY IN SOUTH AFRICA
THE PERCEPTIONS OF AGILE METHODOLOGY IN SOUTH AFRICA
 
Detection of SOA Antipatterns
Detection of SOA AntipatternsDetection of SOA Antipatterns
Detection of SOA Antipatterns
 
Analytics for Software Development
Analytics for Software DevelopmentAnalytics for Software Development
Analytics for Software Development
 
130411 francis palma - detection of process antipatterns -- a bpel perspective
130411   francis palma - detection of process antipatterns -- a bpel perspective130411   francis palma - detection of process antipatterns -- a bpel perspective
130411 francis palma - detection of process antipatterns -- a bpel perspective
 
Privacy Requirements Engineering in Agile Software Development
Privacy Requirements Engineering in Agile Software DevelopmentPrivacy Requirements Engineering in Agile Software Development
Privacy Requirements Engineering in Agile Software Development
 

Similar to Thesis+of+zohreh+sharafi.ppt

Towards understanding the influence of personality and team behaviors on requ...
Towards understanding the influence of personality and team behaviors on requ...Towards understanding the influence of personality and team behaviors on requ...
Towards understanding the influence of personality and team behaviors on requ...
IJECEIAES
 
Feldt Ist Revised 090920 Links Betwe
Feldt Ist Revised 090920 Links BetweFeldt Ist Revised 090920 Links Betwe
Feldt Ist Revised 090920 Links Betwe
ricardocruzjr
 
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
Margaret-Anne Storey
 
Effects of Technological Interventions for Self-regulation: A Control Experi...
 Effects of Technological Interventions for Self-regulation: A Control Experi... Effects of Technological Interventions for Self-regulation: A Control Experi...
Effects of Technological Interventions for Self-regulation: A Control Experi...
Hassan Khosravi
 
Ko tse06-developers behaviour
Ko tse06-developers behaviourKo tse06-developers behaviour
Ko tse06-developers behaviour
PtidejPoly
 
Goal Dynamics_From System Dynamics to Implementation
Goal Dynamics_From System Dynamics to ImplementationGoal Dynamics_From System Dynamics to Implementation
Goal Dynamics_From System Dynamics to Implementation
Amjad Adib
 
Research paperV1
Research paperV1Research paperV1
Research paperV1
expertexh
 
Liberact conference 2013 Gnome Surfer & Moclo Planner
Liberact conference 2013 Gnome Surfer & Moclo PlannerLiberact conference 2013 Gnome Surfer & Moclo Planner
Liberact conference 2013 Gnome Surfer & Moclo Planner
Consuelo Valdes
 

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

software project management
software project managementsoftware project management
software project management
 
Icpc13.ppt
Icpc13.pptIcpc13.ppt
Icpc13.ppt
 
Requirement Elicitation Model (REM) in the Context of Global Software Develop...
Requirement Elicitation Model (REM) in the Context of Global Software Develop...Requirement Elicitation Model (REM) in the Context of Global Software Develop...
Requirement Elicitation Model (REM) in the Context of Global Software Develop...
 
Towards understanding the influence of personality and team behaviors on requ...
Towards understanding the influence of personality and team behaviors on requ...Towards understanding the influence of personality and team behaviors on requ...
Towards understanding the influence of personality and team behaviors on requ...
 
The overlaps between Action Research and Design Research
The overlaps between Action Research and Design ResearchThe overlaps between Action Research and Design Research
The overlaps between Action Research and Design Research
 
2015-11-11 research seminar
2015-11-11 research seminar2015-11-11 research seminar
2015-11-11 research seminar
 
Feldt Ist Revised 090920 Links Betwe
Feldt Ist Revised 090920 Links BetweFeldt Ist Revised 090920 Links Betwe
Feldt Ist Revised 090920 Links Betwe
 
Meta-study results of participatory processes
Meta-study results of participatory processesMeta-study results of participatory processes
Meta-study results of participatory processes
 
Software Design Patterns and Quality Assurance
Software Design Patterns and Quality AssuranceSoftware Design Patterns and Quality Assurance
Software Design Patterns and Quality Assurance
 
Explaining recommendations: design implications and lessons learned
Explaining recommendations: design implications and lessons learnedExplaining recommendations: design implications and lessons learned
Explaining recommendations: design implications and lessons learned
 
Measuring User Experience in Latin America: An Exploratory Survey [CLIHC, Cór...
Measuring User Experience in Latin America: An Exploratory Survey [CLIHC, Cór...Measuring User Experience in Latin America: An Exploratory Survey [CLIHC, Cór...
Measuring User Experience in Latin America: An Exploratory Survey [CLIHC, Cór...
 
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
 
Effects of Technological Interventions for Self-regulation: A Control Experi...
 Effects of Technological Interventions for Self-regulation: A Control Experi... Effects of Technological Interventions for Self-regulation: A Control Experi...
Effects of Technological Interventions for Self-regulation: A Control Experi...
 
Survey on adverse influencing factors in the way of successful requirement en...
Survey on adverse influencing factors in the way of successful requirement en...Survey on adverse influencing factors in the way of successful requirement en...
Survey on adverse influencing factors in the way of successful requirement en...
 
G017264447
G017264447G017264447
G017264447
 
Ko tse06-developers behaviour
Ko tse06-developers behaviourKo tse06-developers behaviour
Ko tse06-developers behaviour
 
Goal Dynamics_From System Dynamics to Implementation
Goal Dynamics_From System Dynamics to ImplementationGoal Dynamics_From System Dynamics to Implementation
Goal Dynamics_From System Dynamics to Implementation
 
Research paperV1
Research paperV1Research paperV1
Research paperV1
 
Liberact conference 2013 Gnome Surfer & Moclo Planner
Liberact conference 2013 Gnome Surfer & Moclo PlannerLiberact conference 2013 Gnome Surfer & Moclo Planner
Liberact conference 2013 Gnome Surfer & Moclo Planner
 
A Study On The Software Requirements Elicitation Issues Its Causes And Effects
A Study On The Software Requirements Elicitation Issues Its Causes And EffectsA Study On The Software Requirements Elicitation Issues Its Causes And Effects
A Study On The Software Requirements Elicitation Issues Its Causes And Effects
 

More from Ptidej Team

More from Ptidej Team (20)

From IoT to Software Miniaturisation
From IoT to Software MiniaturisationFrom IoT to Software Miniaturisation
From IoT to Software Miniaturisation
 
Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
Presentation by Lionel Briand
Presentation by Lionel BriandPresentation by Lionel Briand
Presentation by Lionel Briand
 
Manel Abdellatif
Manel AbdellatifManel Abdellatif
Manel Abdellatif
 
Azadeh Kermansaravi
Azadeh KermansaraviAzadeh Kermansaravi
Azadeh Kermansaravi
 
Mouna Abidi
Mouna AbidiMouna Abidi
Mouna Abidi
 
CSED - Manel Grichi
CSED - Manel GrichiCSED - Manel Grichi
CSED - Manel Grichi
 
Cristiano Politowski
Cristiano PolitowskiCristiano Politowski
Cristiano Politowski
 
Will io t trigger the next software crisis
Will io t trigger the next software crisisWill io t trigger the next software crisis
Will io t trigger the next software crisis
 
MIPA
MIPAMIPA
MIPA
 
Thesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.pptThesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.ppt
 
Thesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.pptThesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.ppt
 
Medicine15.ppt
Medicine15.pptMedicine15.ppt
Medicine15.ppt
 
Qrs17b.ppt
Qrs17b.pptQrs17b.ppt
Qrs17b.ppt
 
Icpc11c.ppt
Icpc11c.pptIcpc11c.ppt
Icpc11c.ppt
 
Icsme16.ppt
Icsme16.pptIcsme16.ppt
Icsme16.ppt
 
Msr17a.ppt
Msr17a.pptMsr17a.ppt
Msr17a.ppt
 
Icsoc15.ppt
Icsoc15.pptIcsoc15.ppt
Icsoc15.ppt
 

Recently uploaded

AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 

Recently uploaded (20)

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 

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)
  • 3.
  • 4. Program Comprehension • Over 35 years of research • Rich with diverse theories Think-aloud Observational studies Questionnaires
  • 6.
  • 7.
  • 8.
  • 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
  • 13.
  • 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
  • 22.
  • 23.
  • 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
  • 27.
  • 28.
  • 29. The Impact of Representation Type Participants Academic Background Gender PhD Masters BSc Male Female 15 11 2 16 12 Total: 28
  • 30.
  • 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
  • 36.
  • 37. The Impact of Representation Type Lesson Learned Importance of Layout Source code as structures text
  • 38.
  • 39.
  • 40.
  • 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
  • 47.
  • 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
  • 54.
  • 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?
  • 62.
  • 63.
  • 64.
  • 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
  • 67.
  • 68.
  • 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