SlideShare a Scribd company logo
Comprehension Effort and
Programming Activities: Related? Or
Not Related?
Akond Rahman
aarahman@ncsu.edu
https://akondrahman.github.io/
Motivation
“the amount of navigation may correlate with the need for
code understanding”
Motivation
“the amount of navigation may correlate
with the need for code understanding”
Research Question
• RQ: How does program comprehension effort relate
with navigation frequency, edit frequency, debugging
frequency, and build event frequency?
Methodology
Filtering
Comprehension
Effort
Calculation
Dividing
Sessions
Empirical
Analysis
Session Duration and
Method Information
Halstead’s
Metrics
K-Means
Clustering
Mann Whitney U Test
and Cliffs Delta
Results: Dataset Summary
Measurement High Low
Session count 33 704
Build event count 239 42,880
Debugging event count 636 18,458
Edit event count 4,808 228,315
Navigation event count 2,888 184,720
Two groups of sessions: High and Low
Results: Answer to RQ
Metric Median (High, Low) p-value Cliffs Delta
Navigation Interval (1.11, 0.04) < 0.001 0.45
Edit Interval (0.10, 0.03) < 0.001 0.34
Debugging Interval (0.09, 0.13) 0.33 0.07
Build Interval (0.00, 0.00) 0.70 0.06
“the amount of navigation may correlate
with the need for code understanding”
Implications
• Tool design: advanced IDEs to provide cues
• Future work: fMRI studies, programmer information
needs
Summary
aarahman@ncsu.edu
akondrahman
https://akondrahman.github.io/
Contact
Motivation
“the amount of navigation may correlate with the need for
code understanding”
Methodology
Filtering
Comprehension
Effort
Calculation
Dividing
Sessions
Empirical
Analysis
Session Duration and
Method Information
Halstead’s
Metrics
K-Means
Clustering
Mann Whitney U Test
and Cliffs Delta
Results: Answer to RQ
Metric Median (High, Low) p-value Cliffs Delta
Navigation Interval (1.11, 0.04) < 0.001 0.45
Edit Interval (0.10, 0.03) < 0.001 0.34
Debugging Interval (0.09, 0.13) 0.33 0.07
Build Interval (0.00, 0.00) 0.70 0.06
“the amount of navigation may correlate
with the need for code understanding”

More Related Content

PPTX
Syam critical path cpa
PDF
Anything You Can Do, I Can Do Better: Finding Expert Teams by CrewScout
PPTX
How Do Students Feel About Automated Security Static Analysis Exercises?
PPTX
Exercise Perceptions: Experience Report From A Secure Software Development Co...
PPTX
Under-reported Security Defects in Kubernetes Manifests
PPTX
Shhh!: Secret Management Practices for Infrastructure as Code
PPTX
Synthesizing Program Execution Time Discrepancies in Julia Used for Scientifi...
PPTX
Source Code Properties of Defective Infrastructure as Code Scripts
Syam critical path cpa
Anything You Can Do, I Can Do Better: Finding Expert Teams by CrewScout
How Do Students Feel About Automated Security Static Analysis Exercises?
Exercise Perceptions: Experience Report From A Secure Software Development Co...
Under-reported Security Defects in Kubernetes Manifests
Shhh!: Secret Management Practices for Infrastructure as Code
Synthesizing Program Execution Time Discrepancies in Julia Used for Scientifi...
Source Code Properties of Defective Infrastructure as Code Scripts

More from Akond Rahman (7)

PPTX
Characteristics of Defective Infrastructure as Code Scripts in Continuous Dep...
PPTX
What Questions Do Programmers Ask About Configuration as Code?
PPTX
Characterizing Defective Configuration Scripts Used for Continuous Deployment
PDF
Predicting Android Application Security and Privacy Risk With Static Code Met...
PDF
Which Factors Influence Practitioners' Usage of Build Automation Tools?
PPTX
Software Security in DevOps: Synthesizing Practitioners’ Perceptions and Prac...
PPTX
Synthesizing Continuous Deployment Practices in Software Development
Characteristics of Defective Infrastructure as Code Scripts in Continuous Dep...
What Questions Do Programmers Ask About Configuration as Code?
Characterizing Defective Configuration Scripts Used for Continuous Deployment
Predicting Android Application Security and Privacy Risk With Static Code Met...
Which Factors Influence Practitioners' Usage of Build Automation Tools?
Software Security in DevOps: Synthesizing Practitioners’ Perceptions and Prac...
Synthesizing Continuous Deployment Practices in Software Development
Ad

Recently uploaded (20)

PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPTX
SAP 2 completion done . PRESENTATION.pptx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
Computer network topology notes for revision
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PDF
Business Analytics and business intelligence.pdf
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PDF
Lecture1 pattern recognition............
PPT
ISS -ESG Data flows What is ESG and HowHow
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
SAP 2 completion done . PRESENTATION.pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Miokarditis (Inflamasi pada Otot Jantung)
Computer network topology notes for revision
Data_Analytics_and_PowerBI_Presentation.pptx
Supervised vs unsupervised machine learning algorithms
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Business Analytics and business intelligence.pdf
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
Introduction-to-Cloud-ComputingFinal.pptx
STUDY DESIGN details- Lt Col Maksud (21).pptx
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
oil_refinery_comprehensive_20250804084928 (1).pptx
Lecture1 pattern recognition............
ISS -ESG Data flows What is ESG and HowHow
Ad

Comprehension Effort and Programming Activities: Related? Or Not Related?

Editor's Notes

  • #3: Navigating may happen when a programmer regularly stops coding to understand and read code Amount of navigation and short inactivities are correlated
  • #6: Session duration at least 10 minutes Has method data Halstead’s metrics: parameters, volume, difficulty … normalization K-means clustering + Silhouette Width
  • #8: When programmers are involved in high comprehension they tend to navigate less When programmers are involved in high comprehension they tend to write less code
  • #9: - May be a programmer needs some extra information while comprehending a program , the IDE can provide that extra information - what do programmers want they are engaged in high comprehension effort , fmri studies