SlideShare a Scribd company logo
1 of 16
Download to read offline
EXPERIENCES IN REPLICATING AN
EXPERIMENT ON COMPARING STATIC
AND DYNAMIC COUPLING METRICS
Richard Müller, Dirk Mahler, and Christopher Klinkmüller
12th Symposium on Software Performance
Leipzig, November 9th, 2021
Outline
■ Terms and Definitions
■ Original Experiment
■ Replication
■ Challenges
■ Conclusion
2
Coupling Metrics
■ Coupling metrics (degrees) can be derived from a dependency graph
– Nodes are program modules that are either classes or packages
– Edges are call relationships between the modules and may have weights representing the
number of calls (weighted or unweighted)
■ The direction of calls is distinguished into outgoing and incoming calls referred to as import and
export coupling degree of a program module and the sum of import and export coupling is referred
to as combined coupling degree
■ Depending on whether the connections were derived via static analysis of source and/or byte code,
or via dynamic analysis of monitoring logs, coupling degrees are referred to as static or dynamic
3
class import export combined
Main 4 0 4
A‘ 3 4 7
C 0 2 2
C‘ 0 1 1
Kendall-Tau Distance
■ Kendall-Tau distance () is a method to compare the difference between two linear
orders (<1, <2)
■  is between 0 and 1
– If  = 0: <1 is identical to <2
– If  = 1: <1 is the reverse of <2
4
[Briand, Emam & Morasca 1996]
Original Experiment
5
[Schnoor & Hasselbring 2020]
■ Schnoor and Hasselbring empirically investigated the relationship between static
and dynamic coupling metrics based on a series of four experiments
Original Experiment
1. The static and dynamic dependency graphs based
on method calls were created for each experiment
– BCEL: Byte code scan of method calls
– Kieker: Monitored method calls at runtime
2. 18 different coupling metrics were derived from
these graphs
– Granularity: package and class level
– Coupling direction: import, export, combined
– Measurement approach: static, dynamic
unweighted, dynamic weighted
3. The differences of the coupling metrics were
studied by comparing the ranking obtained by
ordering the program modules by their coupling
degree using the Kendall-Tau distance
6
[Schnoor & Hasselbring 2020]
Replication
7
[Müller et al. 2018, Müller & Fischer 2019, Müller & Strempel 2020]
Results
■ The results are presented using the following triple 𝛼 : 𝛽1 ↔ 𝛽2
– 𝛼 is 𝑐 or 𝑝 expressing class or package coupling
– 𝛽1 is 𝑠 or 𝑢 expressing whether the left-hand side analysis is static or (dynamic)
unweighted
– 𝛽2 is 𝑢 or 𝑤 expressing whether the right-hand side analysis is (dynamic)
unweighted or (dynamic) weighted
■ For example, the comparison of static and (dynamic) unweighted coupling metrics at
class level is denoted as 𝑐 : 𝑠 ↔ 𝑢
8
Results
9
Challenges
■ Data
– Used Jira variant was unknown (Jira Core or Jira Software)
– The encryption of package, class, and method names in the publicly available
monitoring data led to different results for the Kendall-Tau distance
■ Method
– Used Kendall-Tau distance implementation was unknown
– Included and excluded call relationships were unclear regarding lambda methods
and constructor calls
■ Documentation
– Table 10 in the original paper shows the average export coupling degrees derived
from weighted static dependency graphs but with the static analysis only the
unweighted coupling degrees were used
10
Reproduction Package
11
[https://github.com/softvis-research/coupling-metrics-replication]
Conclusion
■ Successfully replicated the original experiment
■ Provide a reproduction package
■ Researchers reproducing or replicating an empirical study should contact the
authors of the original study as early as possible
■ Researchers wanting to ensure reproducibility and replicability of their empirical
study should check
– if the empirical data, the applied methods, and the obtained results are
sufficiently described in the paper and/or documented elsewhere
– if data encryption affects the reproduction or replication of the results
12
References
■ ACM Terminology Version 1.0, 2020. Available at: https://www.acm.org/publications/policies/artifact-review-
badging
■ ACM Terminology Version 1.1, 2020. Available at: https://www.acm.org/publications/policies/artifact-review-
and-badging-current
■ Briand, L., Emam, K. El & Morasca, S., 1996. On the application of measurement theory in software engineering.
Empirical Software Engineering, 1(1), Pp. 61–88. Available at: https://doi.org/10.1007/BF00125812.
■ Müller, R., Mahler, D., Hunger, M., Nerche, J., Harrer, M., 2018. Towards an Open Source Stack to Create a
Unified Data Source for Software Analysis and Visualization. In 6th IEEE Working Conference on Software
Visualization. Madrid, Spain: IEEE.
■ Müller, R. & Fischer, M., 2019. Graph-Based Analysis and Visualization of Software Traces. In 10th Symposium
on Software Performance. Würzburg, Germany.
■ Müller, R. & Strempel, T., 2020. Graph-Based Performance Analysis at System- and Application-Level. In 11th
Symposium on Software Performance. Leipzig, Germany.
■ Schnoor, H. & Hasselbring, W., 2020. Comparing Static and Dynamic Weighted Software Coupling Metrics.
Computers, 9(2), P. 24. Available at: https://www.mdpi.com/2073-431X/9/2/24.
13
Your Questions
14
?
https://twitter.com/rimllr
mail@rmllr.de
https://github.com/rmllr
https://rmllr.de
Reproduction vs. Replication
Artifact Review and Badging Version 1.0
until August 24, 2020
Artifact Review and Badging Version 1.1
since August 24, 2020
15
■ Reproducibility (Different team, different experimental setup)*
– The measurement can be obtained with stated
precision by a different team using the same
measurement procedure, the same measuring system,
under the same operating conditions, in the same or a
different location on multiple trials. For computational
experiments, this means that an independent group
can obtain the same result using the author's own
artifacts.
■ Reproducibility (Different team, same experimental setup)*
– The measurement can be obtained with stated
precision by a different team using the same
measurement procedure, the same measuring
system, under the same operating conditions, in the
same or a different location on multiple trials. For
computational experiments, this means that an
independent group can obtain the same result using
the author’s own artifacts.
■ Replicability (Different team, same experimental setup)*
– The measurement can be obtained with stated
precision by a different team, a different measuring
system, in a different location on multiple trials. For
computational experiments, this means that an
independent group can obtain the same result using
artifacts which they develop completely independently.
■ Replicability (Different team, different experimental setup)*
– The measurement can be obtained with stated
precision by a different team, a different measuring
system, in a different location on multiple trials. For
computational experiments, this means that an
independent group can obtain the same result using
artifacts which they develop completely
independently.
[ACM Terminology Version 1.0 and 1.1 2020]
Revised Kieker Graph Schema
16
Extension
Improvement
No change
[Müller & Strempel 2020]

More Related Content

Recently uploaded

Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptxanandsmhk
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000Sapana Sha
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡anilsa9823
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfSumit Kumar yadav
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxAArockiyaNisha
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPirithiRaju
 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisDiwakar Mishra
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)Areesha Ahmad
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINsankalpkumarsahoo174
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 

Recently uploaded (20)

Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 

Featured

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Experiences in Replicating an Experiment on Comparing Static and Dynamic Coupling Metrics [SSP 2021]

  • 1. EXPERIENCES IN REPLICATING AN EXPERIMENT ON COMPARING STATIC AND DYNAMIC COUPLING METRICS Richard Müller, Dirk Mahler, and Christopher Klinkmüller 12th Symposium on Software Performance Leipzig, November 9th, 2021
  • 2. Outline ■ Terms and Definitions ■ Original Experiment ■ Replication ■ Challenges ■ Conclusion 2
  • 3. Coupling Metrics ■ Coupling metrics (degrees) can be derived from a dependency graph – Nodes are program modules that are either classes or packages – Edges are call relationships between the modules and may have weights representing the number of calls (weighted or unweighted) ■ The direction of calls is distinguished into outgoing and incoming calls referred to as import and export coupling degree of a program module and the sum of import and export coupling is referred to as combined coupling degree ■ Depending on whether the connections were derived via static analysis of source and/or byte code, or via dynamic analysis of monitoring logs, coupling degrees are referred to as static or dynamic 3 class import export combined Main 4 0 4 A‘ 3 4 7 C 0 2 2 C‘ 0 1 1
  • 4. Kendall-Tau Distance ■ Kendall-Tau distance () is a method to compare the difference between two linear orders (<1, <2) ■  is between 0 and 1 – If  = 0: <1 is identical to <2 – If  = 1: <1 is the reverse of <2 4 [Briand, Emam & Morasca 1996]
  • 5. Original Experiment 5 [Schnoor & Hasselbring 2020] ■ Schnoor and Hasselbring empirically investigated the relationship between static and dynamic coupling metrics based on a series of four experiments
  • 6. Original Experiment 1. The static and dynamic dependency graphs based on method calls were created for each experiment – BCEL: Byte code scan of method calls – Kieker: Monitored method calls at runtime 2. 18 different coupling metrics were derived from these graphs – Granularity: package and class level – Coupling direction: import, export, combined – Measurement approach: static, dynamic unweighted, dynamic weighted 3. The differences of the coupling metrics were studied by comparing the ranking obtained by ordering the program modules by their coupling degree using the Kendall-Tau distance 6 [Schnoor & Hasselbring 2020]
  • 7. Replication 7 [Müller et al. 2018, Müller & Fischer 2019, Müller & Strempel 2020]
  • 8. Results ■ The results are presented using the following triple 𝛼 : 𝛽1 ↔ 𝛽2 – 𝛼 is 𝑐 or 𝑝 expressing class or package coupling – 𝛽1 is 𝑠 or 𝑢 expressing whether the left-hand side analysis is static or (dynamic) unweighted – 𝛽2 is 𝑢 or 𝑤 expressing whether the right-hand side analysis is (dynamic) unweighted or (dynamic) weighted ■ For example, the comparison of static and (dynamic) unweighted coupling metrics at class level is denoted as 𝑐 : 𝑠 ↔ 𝑢 8
  • 10. Challenges ■ Data – Used Jira variant was unknown (Jira Core or Jira Software) – The encryption of package, class, and method names in the publicly available monitoring data led to different results for the Kendall-Tau distance ■ Method – Used Kendall-Tau distance implementation was unknown – Included and excluded call relationships were unclear regarding lambda methods and constructor calls ■ Documentation – Table 10 in the original paper shows the average export coupling degrees derived from weighted static dependency graphs but with the static analysis only the unweighted coupling degrees were used 10
  • 12. Conclusion ■ Successfully replicated the original experiment ■ Provide a reproduction package ■ Researchers reproducing or replicating an empirical study should contact the authors of the original study as early as possible ■ Researchers wanting to ensure reproducibility and replicability of their empirical study should check – if the empirical data, the applied methods, and the obtained results are sufficiently described in the paper and/or documented elsewhere – if data encryption affects the reproduction or replication of the results 12
  • 13. References ■ ACM Terminology Version 1.0, 2020. Available at: https://www.acm.org/publications/policies/artifact-review- badging ■ ACM Terminology Version 1.1, 2020. Available at: https://www.acm.org/publications/policies/artifact-review- and-badging-current ■ Briand, L., Emam, K. El & Morasca, S., 1996. On the application of measurement theory in software engineering. Empirical Software Engineering, 1(1), Pp. 61–88. Available at: https://doi.org/10.1007/BF00125812. ■ Müller, R., Mahler, D., Hunger, M., Nerche, J., Harrer, M., 2018. Towards an Open Source Stack to Create a Unified Data Source for Software Analysis and Visualization. In 6th IEEE Working Conference on Software Visualization. Madrid, Spain: IEEE. ■ Müller, R. & Fischer, M., 2019. Graph-Based Analysis and Visualization of Software Traces. In 10th Symposium on Software Performance. Würzburg, Germany. ■ Müller, R. & Strempel, T., 2020. Graph-Based Performance Analysis at System- and Application-Level. In 11th Symposium on Software Performance. Leipzig, Germany. ■ Schnoor, H. & Hasselbring, W., 2020. Comparing Static and Dynamic Weighted Software Coupling Metrics. Computers, 9(2), P. 24. Available at: https://www.mdpi.com/2073-431X/9/2/24. 13
  • 15. Reproduction vs. Replication Artifact Review and Badging Version 1.0 until August 24, 2020 Artifact Review and Badging Version 1.1 since August 24, 2020 15 ■ Reproducibility (Different team, different experimental setup)* – The measurement can be obtained with stated precision by a different team using the same measurement procedure, the same measuring system, under the same operating conditions, in the same or a different location on multiple trials. For computational experiments, this means that an independent group can obtain the same result using the author's own artifacts. ■ Reproducibility (Different team, same experimental setup)* – The measurement can be obtained with stated precision by a different team using the same measurement procedure, the same measuring system, under the same operating conditions, in the same or a different location on multiple trials. For computational experiments, this means that an independent group can obtain the same result using the author’s own artifacts. ■ Replicability (Different team, same experimental setup)* – The measurement can be obtained with stated precision by a different team, a different measuring system, in a different location on multiple trials. For computational experiments, this means that an independent group can obtain the same result using artifacts which they develop completely independently. ■ Replicability (Different team, different experimental setup)* – The measurement can be obtained with stated precision by a different team, a different measuring system, in a different location on multiple trials. For computational experiments, this means that an independent group can obtain the same result using artifacts which they develop completely independently. [ACM Terminology Version 1.0 and 1.1 2020]
  • 16. Revised Kieker Graph Schema 16 Extension Improvement No change [Müller & Strempel 2020]