SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Dipartimento di Ingegneria e Scienze
Università degli Studi dell’Aquila
dell’Informazione e Matematica
Mining Metrics for Understanding
Metamodel Characteristics
Alfonso Pierantonio
Juri Di Rocco
Davide Di Ruscio
Ludovico Iovino
Alfonso Pierantonio
2
Outline
Introduction
Motivation
Measuring metamodels
Calculation of metrics correlation
Selection of metrics correlation
Data Analisys
Conclusions
Future works
Alfonso Pierantonio
3
Introduction
Metamodels are a key concept in Model-Driven Engineering:
they represent the «trait-d'union» among all constituent
components
Metamodels formally define the modeling primitives used in
modeling activities
Alfonso Pierantonio
4
Motivation
It is of crucial relevance to investigate common characteristics
of metamodels, in order to have a better understanding on
– how they evolve over time
– what is the impact of metamodel changes throughout the
modeling ecosystem
Metamodel
Alfonso Pierantonio
5
Motivation
It is of crucial relevance to investigate common
characteristics of metamodels, in order to have a
better understanding on
– how they evolve over time
– what is the impact of metamodel changes throughout the
modeling ecosystem
Analyse metamodels in order to evalutate their
structural characteristics and the impact they might
have during the whole metamodel life-cycle
especially in case of metamodel evolutions
Analysing metamodel characteristics
by investigating the correlations of
different metrics applied on a corpus of
more than 450 metamodels
Alfonso Pierantonio
7
Measuring Metamodels
The applied process is able to identify linked
structural characteristics
Understand how they might change depending on the
nature of metamodels
Alfonso Pierantonio
8
Metrics calculation
Consists of the application of metrics on a data set of
metamodels
The applied metrics are borrowed from [1] and we
added new ones by leading to a set of 28 metrics
An excerpt of the considered metrics have been
considered in rest of the presentation
[1] W. James, Z. Athansios, M. Nicholas, R. Louis, K. Dimitios, P. Richard, and P. Fiona. What do
metamodels really look like? Frontiers of Computer Science, 2013.
Alfonso Pierantonio
9
Metrics calculation
The corpus of the analyzed metamodels has been
obtained by retrieving metamodels from different
repositories, i.e., EMFText Zoo, ATLZoo, Github,
GoogleCode
For a total number of 466 metamodels belonging to
different technical spaces and domains
Alfonso Pierantonio
10
Metrics Calculation
The metrics calculation has been implemented by
exploiting a model-driven toolchain
Alfonso Pierantonio
11
Metrics Calculation
The metrics calculation has been implemented by
exploiting a model-driven toolchainThe Metamodel Metrics Calculator
is able to calculate for each
metamodel all the considered
metrics
Alfonso Pierantonio
12
Metrics Calculation
The metrics calculation has been implemented by
exploiting a model-driven toolchain
The Metamodel Metrics Calculator
is an ATL transformation whose
target models conform to the
Metrics metamodel
Alfonso Pierantonio
13
Metrics Calculation
The metrics calculation has been implemented by
exploiting a model-driven toolchain
Generating CVS files enables the
adoption of statistical tools like
IBM SPSS, Microsoft Excel, and
Libreoffice Calc for subsequent
analysis of the generated data
Alfonso Pierantonio
14
Calculation of metrics correlations
Correlation is used to detect cross-links and assess
relationships among observed data
We have considered Pearson’s and Spearman’s
coefficients to measure the correlations among
calculated metamodel metrics
Spearman only for highlighting curvilinear
correlations
Both Pearson’s and Spearman’s correlation indexes
assume values in the range of -1.00 (perfect negative
correlation) and +1.00 (perfect positive correlation)
A correlation with value 0 indicates that between two
variables there is no correlation
Alfonso Pierantonio
15
Selection of metrics correlations
We have calculated the Pearson’s and Spearman’s
correlation indexes for all the values of the
considered metrics
For each couple we have selected the coefficient
index (between Pearson and Spearman) having
higher correlation values
Alfonso Pierantonio
16
Selection of metrics correlations
The bar chart shows the degree of metric correlation:
the higher the bar, the more the metric is correlated
with other metrics.
Alfonso Pierantonio
17
Pearson’s correlation matrix
All the values greater than 0.7 or lesser than -0.73
have been highlighted to select the metrics that are
most related according to the Pearson’s index.
Alfonso Pierantonio
18
Pearson’s correlation matrix
All the values greater than 0.7 or lesser than -0.73
have been highlighted to select the metrics that are
most related according to the Pearson’s index.
Alfonso Pierantonio
19
Data analysis
The aim is to discuss and interpret the most relevant
correlations between structural characteristics which
have been found in the previous stages
Alfonso Pierantonio
20
Data analysis: abstraction
How the number of metaclasses is related to the
adoption of abstraction constructs, ie. abstract
metaclasses and supertypes
Alfonso Pierantonio
21
Data analysis: abstraction
How the number of metaclasses is related to the
adoption of abstraction constructs, ie. abstract
metaclasses and supertypes
Alfonso Pierantonio
22
Data analysis: abstraction
How the number of metaclasses is related to the
adoption of abstraction constructs, ie. abstract
metaclasses and supertypes
MGHL
Maximum hierarchical depth
Alfonso Pierantonio
23
Data analysis: abstraction
How the number of metaclasses is related to the
adoption of abstraction constructs, ie. abstract
metaclasses and supertypes
MHS
Maximum Hierarchy Siblings
Alfonso Pierantonio
24
Data analysis: abstraction
How the number of metaclasses is related to the
adoption of abstraction constructs, ie. abstract
metaclasses and supertypes
MTCWS
Number of metaclasses
having at least one super
type
Alfonso Pierantonio
25
Metrics
Alfonso Pierantonio
26
Data analysis: abstraction
The #metaclasses and the #classes with supertypes
are strongly correlated (with Pearson index 0.99)
When the metamodel grows in size, the number of
inheritance hierarchies also increases, however the
hierarchy depth is somehow independent from the
metamodel size.
Interestingly, metamodel designers prefer to add
siblings in hierarchies instead of adding new
hierarchy levels
Alfonso Pierantonio
27
Data analysis: abstraction
This is testified by the graph that shows the values of
the MHS (Max Hierarchy
Sibling) and MGHL (Max
generalization hierarchical
level) metrics
Confirmed by the Pearson
correlation indexes between
MC and MHS (0.70) and that
between MC and MGHL (0.66).
Alfonso Pierantonio
28
Data analysis: abstraction
In metamodels with at most 50 metaclasses:
– the number of supertypes in
hierarchy is in between 0 and
20
– the number of siblings in a
hierarchy is in between 0 and
10
– the maximum height of a
hierarchy is in between 0 and
5
Alfonso Pierantonio
29
Data analysis: structural features
How structural features are used with hierarchies
We can consider the average number of features
(ASF) and the total number of metaclasses with
supertypes (MCWS) metrics
The Spearman approach permits to identify a greater
correlation index
Alfonso Pierantonio
30
Data analysis: structural features
Increasing the #metaclasses with supertypes, the
average # of structural features in a metaclass
decreases
Alfonso Pierantonio
31
Data analysis: structural features
By considering metamodels having in between 1 and 50
metaclasses, the average number of features (excluding the
inherited ones) of a metaclass ranges between 1 and 5
Alfonso Pierantonio
32
Data analysis: structural features
How the number of featureless metaclasses is
related to hierarchies height
This can indicate how specializations of metaclasses
can introduce or reduce structural features in
metamodels
MCWS and IFLMC are strongly correlated as
supported by the Pearson’s index having value 0.890
Alfonso Pierantonio
33
Data analysis: structural features
How the number of featureless metaclasses is
related to hierarchies height
Alfonso Pierantonio
34
Data analysis: structural features
By increasing the number of metaclasses with super
types, the number of metaclasses without attributes
or references increases too
This means that when hierarchies are introduced,
usually existing features are subject to refactoring
operations mainly to move them to super classes
and to create leaves in the hierarchies inheriting
features from the super types.
Alfonso Pierantonio
35
Data analysis: isolated metaclasses
How isolated metaclasses are distributed
In this case we considered another statistical
instrument named Pareto analysis, which is
commonly referred to as the 80-20 principle (20% of
the causes account for 80% of the defects)
About 80% of the analyzed metamodels have a
percentage of isolated metaclasses in the range 0-
19%, by testifying the fact that isolated metaclasses
are not commonly used
Alfonso Pierantonio
36
Data analysis: isolated metaclasses
We can claim that they are used only for testing or
educational purposes
Alfonso Pierantonio
37
Conclusions
We proposed a number of metrics which can be used
to acquire objective, transparent, and reproducible
measurements of metamodels.
The major goal is to better understand the main
characteristic of metamodels, how they are coupled,
and how they change depending on the metamodel
structure
A correlation analysis has been performed to identify
the most cross-linked metrics, which have, in turn,
been computed over 450 metamodels
Alfonso Pierantonio
38
Conclusions
These figures have been discussed in detail
highlighting the followings
- the adoption of inheritance is proportional to the
size of metamodels
- the number of metaclasses with supertypes are
inversely proportional to the average number of
structural features
- the number of metaclasses with supertypes is
proportional to the number of metaclasses without
attributes or references
- isolated metaclasses are not commonly used
apart from testing or educational purposes.
Alfonso Pierantonio
39
Conclusions
These figures have been discussed in detail
highlighting the following
Thank you

Weitere ähnliche Inhalte

Ähnlich wie Mining Metrics for Understanding Metamodel Characteristics

Das20502 chapter 1 descriptive statistics
Das20502 chapter 1 descriptive statisticsDas20502 chapter 1 descriptive statistics
Das20502 chapter 1 descriptive statisticsRozainita Rosley
 
THESLING-PETER-6019098-EFR-THESIS
THESLING-PETER-6019098-EFR-THESISTHESLING-PETER-6019098-EFR-THESIS
THESLING-PETER-6019098-EFR-THESISPeter Thesling
 
2014 USA
2014 USA2014 USA
2014 USALI HE
 
confirmatory factor analysis
confirmatory factor analysisconfirmatory factor analysis
confirmatory factor analysisBinteAnwar3
 
Confirmatory factor analysis (cfa)
Confirmatory factor analysis (cfa)Confirmatory factor analysis (cfa)
Confirmatory factor analysis (cfa)HennaAnsari
 
International Conference on Intelligent Systems Design and Applications 2009
International Conference on Intelligent Systems Design and Applications 2009International Conference on Intelligent Systems Design and Applications 2009
International Conference on Intelligent Systems Design and Applications 2009Paolo Starace
 
Exam Short Preparation on Data Analytics
Exam Short Preparation on Data AnalyticsExam Short Preparation on Data Analytics
Exam Short Preparation on Data AnalyticsHarsh Parekh
 
Topic_6
Topic_6Topic_6
Topic_6butest
 
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ART
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ARTEVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ART
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ARTmeijjournal
 
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ART
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ARTEVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ART
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ARTmeijjournal
 
MITA visualization paper.pdf
MITA visualization paper.pdfMITA visualization paper.pdf
MITA visualization paper.pdfArberor MITA
 
Machine Learning for Actuaries
Machine Learning for ActuariesMachine Learning for Actuaries
Machine Learning for ActuariesArthur Charpentier
 
project sentiment analysis
project sentiment analysisproject sentiment analysis
project sentiment analysissneha penmetsa
 
abdi research ppt.pptx
abdi research ppt.pptxabdi research ppt.pptx
abdi research ppt.pptxAbdetaBirhanu
 
Using genetic algorithms and simulation as decision support in marketing stra...
Using genetic algorithms and simulation as decision support in marketing stra...Using genetic algorithms and simulation as decision support in marketing stra...
Using genetic algorithms and simulation as decision support in marketing stra...infopapers
 
You Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data ScienceYou Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data ScienceCarmen Mardiros
 
Profiling Linked Open Data
Profiling Linked Open DataProfiling Linked Open Data
Profiling Linked Open DataBlerina Spahiu
 

Ähnlich wie Mining Metrics for Understanding Metamodel Characteristics (20)

Das20502 chapter 1 descriptive statistics
Das20502 chapter 1 descriptive statisticsDas20502 chapter 1 descriptive statistics
Das20502 chapter 1 descriptive statistics
 
THESLING-PETER-6019098-EFR-THESIS
THESLING-PETER-6019098-EFR-THESISTHESLING-PETER-6019098-EFR-THESIS
THESLING-PETER-6019098-EFR-THESIS
 
Unit-1 Mod-Sim.ppt
Unit-1 Mod-Sim.pptUnit-1 Mod-Sim.ppt
Unit-1 Mod-Sim.ppt
 
2014 USA
2014 USA2014 USA
2014 USA
 
confirmatory factor analysis
confirmatory factor analysisconfirmatory factor analysis
confirmatory factor analysis
 
Confirmatory factor analysis (cfa)
Confirmatory factor analysis (cfa)Confirmatory factor analysis (cfa)
Confirmatory factor analysis (cfa)
 
International Conference on Intelligent Systems Design and Applications 2009
International Conference on Intelligent Systems Design and Applications 2009International Conference on Intelligent Systems Design and Applications 2009
International Conference on Intelligent Systems Design and Applications 2009
 
Exam Short Preparation on Data Analytics
Exam Short Preparation on Data AnalyticsExam Short Preparation on Data Analytics
Exam Short Preparation on Data Analytics
 
Topic_6
Topic_6Topic_6
Topic_6
 
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ART
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ARTEVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ART
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ART
 
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ART
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ARTEVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ART
EVALUATING THE PREDICTED RELIABILITY OF MECHATRONIC SYSTEMS: STATE OF THE ART
 
MITA visualization paper.pdf
MITA visualization paper.pdfMITA visualization paper.pdf
MITA visualization paper.pdf
 
System Modelling
System ModellingSystem Modelling
System Modelling
 
unit-5.pdf
unit-5.pdfunit-5.pdf
unit-5.pdf
 
Machine Learning for Actuaries
Machine Learning for ActuariesMachine Learning for Actuaries
Machine Learning for Actuaries
 
project sentiment analysis
project sentiment analysisproject sentiment analysis
project sentiment analysis
 
abdi research ppt.pptx
abdi research ppt.pptxabdi research ppt.pptx
abdi research ppt.pptx
 
Using genetic algorithms and simulation as decision support in marketing stra...
Using genetic algorithms and simulation as decision support in marketing stra...Using genetic algorithms and simulation as decision support in marketing stra...
Using genetic algorithms and simulation as decision support in marketing stra...
 
You Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data ScienceYou Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data Science
 
Profiling Linked Open Data
Profiling Linked Open DataProfiling Linked Open Data
Profiling Linked Open Data
 

Mehr von Alfonso Pierantonio

Uncertainty and variability in industry-scale projects: Pearls, perils and p...
Uncertainty and variability in industry-scale projects: Pearls, perils and p...Uncertainty and variability in industry-scale projects: Pearls, perils and p...
Uncertainty and variability in industry-scale projects: Pearls, perils and p...Alfonso Pierantonio
 
Fixing Classification: A Viewpoint-Based Approach
Fixing Classification: A Viewpoint-Based Approach Fixing Classification: A Viewpoint-Based Approach
Fixing Classification: A Viewpoint-Based Approach Alfonso Pierantonio
 
Aut tace, Aut Loquere meliora Silentio (and the Likes)
Aut tace, Aut Loquere meliora Silentio (and the Likes) Aut tace, Aut Loquere meliora Silentio (and the Likes)
Aut tace, Aut Loquere meliora Silentio (and the Likes) Alfonso Pierantonio
 
Presentazione del Corso di Laurea in Informatica - L'Aquila
Presentazione del Corso di Laurea in Informatica - L'AquilaPresentazione del Corso di Laurea in Informatica - L'Aquila
Presentazione del Corso di Laurea in Informatica - L'AquilaAlfonso Pierantonio
 
MDE Adoption: a three legged chair
MDE Adoption:  a three legged chairMDE Adoption:  a three legged chair
MDE Adoption: a three legged chairAlfonso Pierantonio
 
Keynote at Educators Symposium, ACM/IEEE 19th Intl. Conference on Model Drive...
Keynote at Educators Symposium, ACM/IEEE 19th Intl. Conference on Model Drive...Keynote at Educators Symposium, ACM/IEEE 19th Intl. Conference on Model Drive...
Keynote at Educators Symposium, ACM/IEEE 19th Intl. Conference on Model Drive...Alfonso Pierantonio
 
Model Management in Model-Driven Engineering
Model Management in Model-Driven EngineeringModel Management in Model-Driven Engineering
Model Management in Model-Driven EngineeringAlfonso Pierantonio
 
Automated chaining of model transformations with incompatible metamodels
Automated chaining of model transformations with incompatible metamodelsAutomated chaining of model transformations with incompatible metamodels
Automated chaining of model transformations with incompatible metamodelsAlfonso Pierantonio
 
Mise14 @ ICSE1 14 Uncertainty in Bidirectional Transformations
Mise14 @ ICSE1 14 Uncertainty in Bidirectional TransformationsMise14 @ ICSE1 14 Uncertainty in Bidirectional Transformations
Mise14 @ ICSE1 14 Uncertainty in Bidirectional TransformationsAlfonso Pierantonio
 
Evolutionary Togetherness: How to Manage Coupled Evolution in Metamodeling Ec...
Evolutionary Togetherness: How to Manage Coupled Evolution in Metamodeling Ec...Evolutionary Togetherness: How to Manage Coupled Evolution in Metamodeling Ec...
Evolutionary Togetherness: How to Manage Coupled Evolution in Metamodeling Ec...Alfonso Pierantonio
 
What is needed for managing co-evolution in MDE?
What is needed for managing co-evolution in MDE?What is needed for managing co-evolution in MDE?
What is needed for managing co-evolution in MDE?Alfonso Pierantonio
 
Evolution in the Large and in the Small in Model-Driven Development
Evolution in the Large and in the Small in Model-Driven DevelopmentEvolution in the Large and in the Small in Model-Driven Development
Evolution in the Large and in the Small in Model-Driven DevelopmentAlfonso Pierantonio
 

Mehr von Alfonso Pierantonio (14)

2023-04 OA 2.pptx
2023-04 OA 2.pptx2023-04 OA 2.pptx
2023-04 OA 2.pptx
 
Uncertainty and variability in industry-scale projects: Pearls, perils and p...
Uncertainty and variability in industry-scale projects: Pearls, perils and p...Uncertainty and variability in industry-scale projects: Pearls, perils and p...
Uncertainty and variability in industry-scale projects: Pearls, perils and p...
 
Fixing Classification: A Viewpoint-Based Approach
Fixing Classification: A Viewpoint-Based Approach Fixing Classification: A Viewpoint-Based Approach
Fixing Classification: A Viewpoint-Based Approach
 
Aut tace, Aut Loquere meliora Silentio (and the Likes)
Aut tace, Aut Loquere meliora Silentio (and the Likes) Aut tace, Aut Loquere meliora Silentio (and the Likes)
Aut tace, Aut Loquere meliora Silentio (and the Likes)
 
Presentazione del Corso di Laurea in Informatica - L'Aquila
Presentazione del Corso di Laurea in Informatica - L'AquilaPresentazione del Corso di Laurea in Informatica - L'Aquila
Presentazione del Corso di Laurea in Informatica - L'Aquila
 
MDE Adoption: a three legged chair
MDE Adoption:  a three legged chairMDE Adoption:  a three legged chair
MDE Adoption: a three legged chair
 
Keynote at Educators Symposium, ACM/IEEE 19th Intl. Conference on Model Drive...
Keynote at Educators Symposium, ACM/IEEE 19th Intl. Conference on Model Drive...Keynote at Educators Symposium, ACM/IEEE 19th Intl. Conference on Model Drive...
Keynote at Educators Symposium, ACM/IEEE 19th Intl. Conference on Model Drive...
 
Model Management in Model-Driven Engineering
Model Management in Model-Driven EngineeringModel Management in Model-Driven Engineering
Model Management in Model-Driven Engineering
 
Automated chaining of model transformations with incompatible metamodels
Automated chaining of model transformations with incompatible metamodelsAutomated chaining of model transformations with incompatible metamodels
Automated chaining of model transformations with incompatible metamodels
 
Mise14 @ ICSE1 14 Uncertainty in Bidirectional Transformations
Mise14 @ ICSE1 14 Uncertainty in Bidirectional TransformationsMise14 @ ICSE1 14 Uncertainty in Bidirectional Transformations
Mise14 @ ICSE1 14 Uncertainty in Bidirectional Transformations
 
Evolutionary Togetherness: How to Manage Coupled Evolution in Metamodeling Ec...
Evolutionary Togetherness: How to Manage Coupled Evolution in Metamodeling Ec...Evolutionary Togetherness: How to Manage Coupled Evolution in Metamodeling Ec...
Evolutionary Togetherness: How to Manage Coupled Evolution in Metamodeling Ec...
 
What is needed for managing co-evolution in MDE?
What is needed for managing co-evolution in MDE?What is needed for managing co-evolution in MDE?
What is needed for managing co-evolution in MDE?
 
Model evolution and versioning
Model evolution and versioningModel evolution and versioning
Model evolution and versioning
 
Evolution in the Large and in the Small in Model-Driven Development
Evolution in the Large and in the Small in Model-Driven DevelopmentEvolution in the Large and in the Small in Model-Driven Development
Evolution in the Large and in the Small in Model-Driven Development
 

Kürzlich hochgeladen

No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...Sheetaleventcompany
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024eCommerce Institute
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyPooja Nehwal
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMoumonDas2
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsaqsarehman5055
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaKayode Fayemi
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Hasting Chen
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxmohammadalnahdi22
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Kayode Fayemi
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxNikitaBankoti2
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxraffaeleoman
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubssamaasim06
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesPooja Nehwal
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Delhi Call girls
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Vipesco
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Chameera Dedduwage
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar TrainingKylaCullinane
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfSenaatti-kiinteistöt
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 

Kürzlich hochgeladen (20)

No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptx
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 

Mining Metrics for Understanding Metamodel Characteristics

  • 1. Dipartimento di Ingegneria e Scienze Università degli Studi dell’Aquila dell’Informazione e Matematica Mining Metrics for Understanding Metamodel Characteristics Alfonso Pierantonio Juri Di Rocco Davide Di Ruscio Ludovico Iovino
  • 2. Alfonso Pierantonio 2 Outline Introduction Motivation Measuring metamodels Calculation of metrics correlation Selection of metrics correlation Data Analisys Conclusions Future works
  • 3. Alfonso Pierantonio 3 Introduction Metamodels are a key concept in Model-Driven Engineering: they represent the «trait-d'union» among all constituent components Metamodels formally define the modeling primitives used in modeling activities
  • 4. Alfonso Pierantonio 4 Motivation It is of crucial relevance to investigate common characteristics of metamodels, in order to have a better understanding on – how they evolve over time – what is the impact of metamodel changes throughout the modeling ecosystem Metamodel
  • 5. Alfonso Pierantonio 5 Motivation It is of crucial relevance to investigate common characteristics of metamodels, in order to have a better understanding on – how they evolve over time – what is the impact of metamodel changes throughout the modeling ecosystem Analyse metamodels in order to evalutate their structural characteristics and the impact they might have during the whole metamodel life-cycle especially in case of metamodel evolutions
  • 6. Analysing metamodel characteristics by investigating the correlations of different metrics applied on a corpus of more than 450 metamodels
  • 7. Alfonso Pierantonio 7 Measuring Metamodels The applied process is able to identify linked structural characteristics Understand how they might change depending on the nature of metamodels
  • 8. Alfonso Pierantonio 8 Metrics calculation Consists of the application of metrics on a data set of metamodels The applied metrics are borrowed from [1] and we added new ones by leading to a set of 28 metrics An excerpt of the considered metrics have been considered in rest of the presentation [1] W. James, Z. Athansios, M. Nicholas, R. Louis, K. Dimitios, P. Richard, and P. Fiona. What do metamodels really look like? Frontiers of Computer Science, 2013.
  • 9. Alfonso Pierantonio 9 Metrics calculation The corpus of the analyzed metamodels has been obtained by retrieving metamodels from different repositories, i.e., EMFText Zoo, ATLZoo, Github, GoogleCode For a total number of 466 metamodels belonging to different technical spaces and domains
  • 10. Alfonso Pierantonio 10 Metrics Calculation The metrics calculation has been implemented by exploiting a model-driven toolchain
  • 11. Alfonso Pierantonio 11 Metrics Calculation The metrics calculation has been implemented by exploiting a model-driven toolchainThe Metamodel Metrics Calculator is able to calculate for each metamodel all the considered metrics
  • 12. Alfonso Pierantonio 12 Metrics Calculation The metrics calculation has been implemented by exploiting a model-driven toolchain The Metamodel Metrics Calculator is an ATL transformation whose target models conform to the Metrics metamodel
  • 13. Alfonso Pierantonio 13 Metrics Calculation The metrics calculation has been implemented by exploiting a model-driven toolchain Generating CVS files enables the adoption of statistical tools like IBM SPSS, Microsoft Excel, and Libreoffice Calc for subsequent analysis of the generated data
  • 14. Alfonso Pierantonio 14 Calculation of metrics correlations Correlation is used to detect cross-links and assess relationships among observed data We have considered Pearson’s and Spearman’s coefficients to measure the correlations among calculated metamodel metrics Spearman only for highlighting curvilinear correlations Both Pearson’s and Spearman’s correlation indexes assume values in the range of -1.00 (perfect negative correlation) and +1.00 (perfect positive correlation) A correlation with value 0 indicates that between two variables there is no correlation
  • 15. Alfonso Pierantonio 15 Selection of metrics correlations We have calculated the Pearson’s and Spearman’s correlation indexes for all the values of the considered metrics For each couple we have selected the coefficient index (between Pearson and Spearman) having higher correlation values
  • 16. Alfonso Pierantonio 16 Selection of metrics correlations The bar chart shows the degree of metric correlation: the higher the bar, the more the metric is correlated with other metrics.
  • 17. Alfonso Pierantonio 17 Pearson’s correlation matrix All the values greater than 0.7 or lesser than -0.73 have been highlighted to select the metrics that are most related according to the Pearson’s index.
  • 18. Alfonso Pierantonio 18 Pearson’s correlation matrix All the values greater than 0.7 or lesser than -0.73 have been highlighted to select the metrics that are most related according to the Pearson’s index.
  • 19. Alfonso Pierantonio 19 Data analysis The aim is to discuss and interpret the most relevant correlations between structural characteristics which have been found in the previous stages
  • 20. Alfonso Pierantonio 20 Data analysis: abstraction How the number of metaclasses is related to the adoption of abstraction constructs, ie. abstract metaclasses and supertypes
  • 21. Alfonso Pierantonio 21 Data analysis: abstraction How the number of metaclasses is related to the adoption of abstraction constructs, ie. abstract metaclasses and supertypes
  • 22. Alfonso Pierantonio 22 Data analysis: abstraction How the number of metaclasses is related to the adoption of abstraction constructs, ie. abstract metaclasses and supertypes MGHL Maximum hierarchical depth
  • 23. Alfonso Pierantonio 23 Data analysis: abstraction How the number of metaclasses is related to the adoption of abstraction constructs, ie. abstract metaclasses and supertypes MHS Maximum Hierarchy Siblings
  • 24. Alfonso Pierantonio 24 Data analysis: abstraction How the number of metaclasses is related to the adoption of abstraction constructs, ie. abstract metaclasses and supertypes MTCWS Number of metaclasses having at least one super type
  • 26. Alfonso Pierantonio 26 Data analysis: abstraction The #metaclasses and the #classes with supertypes are strongly correlated (with Pearson index 0.99) When the metamodel grows in size, the number of inheritance hierarchies also increases, however the hierarchy depth is somehow independent from the metamodel size. Interestingly, metamodel designers prefer to add siblings in hierarchies instead of adding new hierarchy levels
  • 27. Alfonso Pierantonio 27 Data analysis: abstraction This is testified by the graph that shows the values of the MHS (Max Hierarchy Sibling) and MGHL (Max generalization hierarchical level) metrics Confirmed by the Pearson correlation indexes between MC and MHS (0.70) and that between MC and MGHL (0.66).
  • 28. Alfonso Pierantonio 28 Data analysis: abstraction In metamodels with at most 50 metaclasses: – the number of supertypes in hierarchy is in between 0 and 20 – the number of siblings in a hierarchy is in between 0 and 10 – the maximum height of a hierarchy is in between 0 and 5
  • 29. Alfonso Pierantonio 29 Data analysis: structural features How structural features are used with hierarchies We can consider the average number of features (ASF) and the total number of metaclasses with supertypes (MCWS) metrics The Spearman approach permits to identify a greater correlation index
  • 30. Alfonso Pierantonio 30 Data analysis: structural features Increasing the #metaclasses with supertypes, the average # of structural features in a metaclass decreases
  • 31. Alfonso Pierantonio 31 Data analysis: structural features By considering metamodels having in between 1 and 50 metaclasses, the average number of features (excluding the inherited ones) of a metaclass ranges between 1 and 5
  • 32. Alfonso Pierantonio 32 Data analysis: structural features How the number of featureless metaclasses is related to hierarchies height This can indicate how specializations of metaclasses can introduce or reduce structural features in metamodels MCWS and IFLMC are strongly correlated as supported by the Pearson’s index having value 0.890
  • 33. Alfonso Pierantonio 33 Data analysis: structural features How the number of featureless metaclasses is related to hierarchies height
  • 34. Alfonso Pierantonio 34 Data analysis: structural features By increasing the number of metaclasses with super types, the number of metaclasses without attributes or references increases too This means that when hierarchies are introduced, usually existing features are subject to refactoring operations mainly to move them to super classes and to create leaves in the hierarchies inheriting features from the super types.
  • 35. Alfonso Pierantonio 35 Data analysis: isolated metaclasses How isolated metaclasses are distributed In this case we considered another statistical instrument named Pareto analysis, which is commonly referred to as the 80-20 principle (20% of the causes account for 80% of the defects) About 80% of the analyzed metamodels have a percentage of isolated metaclasses in the range 0- 19%, by testifying the fact that isolated metaclasses are not commonly used
  • 36. Alfonso Pierantonio 36 Data analysis: isolated metaclasses We can claim that they are used only for testing or educational purposes
  • 37. Alfonso Pierantonio 37 Conclusions We proposed a number of metrics which can be used to acquire objective, transparent, and reproducible measurements of metamodels. The major goal is to better understand the main characteristic of metamodels, how they are coupled, and how they change depending on the metamodel structure A correlation analysis has been performed to identify the most cross-linked metrics, which have, in turn, been computed over 450 metamodels
  • 38. Alfonso Pierantonio 38 Conclusions These figures have been discussed in detail highlighting the followings - the adoption of inheritance is proportional to the size of metamodels - the number of metaclasses with supertypes are inversely proportional to the average number of structural features - the number of metaclasses with supertypes is proportional to the number of metaclasses without attributes or references - isolated metaclasses are not commonly used apart from testing or educational purposes.
  • 39. Alfonso Pierantonio 39 Conclusions These figures have been discussed in detail highlighting the following