Context aware factors in rearchitecting two-level models into multilevel models
Mira Balaban, Igal Khitron, Azzam Maraee
Ben-Gurion University Israel
1 October 2018 MULTI 2018
Context aware factors in rearchitecting two-level models into - - PowerPoint PPT Presentation
Context aware factors in rearchitecting two-level models into multilevel models Mira Balaban, Igal Khitron, Azzam Maraee Ben-Gurion University Israel 1 MULTI 2018 October 2018 Essential MLM rearchitecting The type-Instance pattern and its
1 October 2018 MULTI 2018
2
October 2018 MULTI 2018
3
October 2018 MULTI 2018
4 October 2018 MULTI 2018
Association cycle with ProductType and Product Mixed class hierarchy with ProductType and Product ProductType has descendants
October 11 5 MoDELS-2011
Pro duc tTyp e Pro du c
Level of types of types Level of types ▪ Association cycle classification ▪ Mixed class hierarchy ▪ Descendants
Difficult:
6 October 2018 MULTI 2018
▪ Single out factors that affect quality ▪ determine accidental complexity of the MLM ▪ Suggest quantitative measures for the factors ▪ measure accidental complexity of the MLM
No silver bullet – no best context aware MLM Accidental complexity is affected by multiple factors
7 October 2018 MULTI 2018
exactly/ exactly/
8 October 2018 MULTI 2018
Singletons
<<Singleton>>
duplication redundancy
Duplication = 1
<<Singleton>>
exactly/
9 October 2018 MULTI 2018
Refinement is the “alter ego” of redundancy: An unnecessary duplication can turn into a desirable refinement Xor
<<Singleton>>
Duplication = 6
<<Singleton>>
Additional constraint: A bundle cannot include both a PCStan and PCDel
10 October 2018 MULTI 2018
Suggested ULC measures: Level 0 is affected by levels 1 and 2:
ULC = 1
– Dual to ULC – Reminds the shotgun surgery software smell – DLC measures: :
11 October 2018 MULTI 2018
level – Types are relatively stable – Objects are frequently changed – snapshots – Measure:
level – Types are relatively stable – Objects are frequently changed -- snapshots – Measure: – Add a bundle
12 October 2018 MULTI 2018
– Type-Instance relationship – Attribute inheritance control – Association inheritance control – Dynamic type creation – Lose of visibility
– Compositional management – Reuse – Measure: like ULC and DLC
13 October 2018 MULTI 2018
MLM gains MLM lose
– Level incohesion: caused by mixture of objects and types
– Number of levels – Number of constraints
– Inter-level constraints
14 October 2018 MULTI 2018
15 October 2018 MULTI 2018
– increase duplication – Reduce visibility (conceptualization)
– upward level coupling, – downward level-coupling, – level incohesion
– compositionality and understandability
16 October 2018 MULTI 2018
The directives (ideals): Direct mapping; Understandability Backward inter-level association
Accidental complexity =
17 October 2018 MULTI 2018
– In-depth study of management methods
– Development methodology – User study
– modeling elements in an MLM environment – E.g., use backward inter-level association, to preserve client visibility
– E.g., modeling-ideals-based MLM transformations
18 October 2018 MULTI 2018