Introduction,importance and scope of horticulture.pptx
A Visual Support for Decomposing Complex Feature Models
1. AVisual Support for
Decomposing Complex
Feature Models
Simon Urli
Alexandre Bergel
Mireille Blay-Fornarino
Philippe Collet
Sébastien Mosser
urli@i3s.unice.fr
I3S Laboratory - University Nice-Sophia Antipolis - France
Pleiad Lab - University of Chile - Chile
2. Urli et al -Vissoft 2015 - Bremen
Software Product Lines
2
3. Urli et al -Vissoft 2015 - Bremen
Feature Models (FM)
3
4. Urli et al -Vissoft 2015 - Bremen
Feature Models
4
5. Urli et al -Vissoft 2015 - Bremen
Feature Models
• Huge Feature Models: thousands of
features and constraints
4
6. Urli et al -Vissoft 2015 - Bremen
Feature Models
• Huge Feature Models: thousands of
features and constraints
• Tedious to understand
4
7. Urli et al -Vissoft 2015 - Bremen
Feature Models
• Huge Feature Models: thousands of
features and constraints
• Tedious to understand
• Difficult to maintain
4
8. Urli et al -Vissoft 2015 - Bremen
Feature Models
• Huge Feature Models: thousands of
features and constraints
• Tedious to understand
• Difficult to maintain
➡Towards decomposition
4
9. Urli et al -Vissoft 2015 - Bremen
Handling complex FM
House Room Opening
1 1..* 1..* 1..*
1..*0..1
contains contains
hasGateways
SPL SPL SPL
DomainModelAssetsFMs
5
10. Urli et al -Vissoft 2015 - Bremen
Handling complex FM
House
Temperature
Manager
Luminosity
Manager
Security
Manager
Opening
Sensors Lock
Room
Sensors Actuators
Temperature
Lightning
Presence RollerStore
Thermostat
Locking
Temperature implies Thermostat
Presence implies Locking
OpenedState
Kind
Door Window
RollerStore TintedGlass
Key
Mandatory
feature
Optional
feature
XOR
OR
interFM
implication
CentralComputer
Digital
6
11. Urli et al -Vissoft 2015 - Bremen
Handling complex FM in real life
Concept # Features
# Internal
constraints
# Configurations
Source
Renderer
Behaviour
Zone
Layout
81 154 68
76 347 74
33 45 15
49 160 27
51 59 13
Total 290 765 197
7
12. Urli et al -Vissoft 2015 - Bremen
Handling complex FM in real life
Concept # Features
# Internal
constraints
# Configurations
Source
Renderer
Behaviour
Zone
Layout
Total
81 154 68
76 347 74
33 45 15
49 160 27
51 59 13
290 765 197
And 144 external constraints !8
13. Urli et al -Vissoft 2015 - Bremen
Variability Blueprint
• Roassal: a parametric visualization tool
developed in SmallTalk
• Several usages, mostly for visualizing large-
scale programs and analyzing code
repositories
• Idea behind: to quickly create an interactive
visualization
9
14. Urli et al -Vissoft 2015 - Bremen
Visualizing feature
modelssource
rendere
# external constraints
# internal
constraints
optional
mutex
BA
xor
10
15. Urli et al -Vissoft 2015 - Bremen
Visualizing multiple
interrelated feature models
11
16. Urli et al -Vissoft 2015 - Bremen
Using interactive visualization to handle
interrelated feature models
12
17. Urli et al -Vissoft 2015 - Bremen
Using interactive visualization to handle
interrelated feature models
12
18. Urli et al -Vissoft 2015 - Bremen
Using Roassal during
decomposition
• Frascati: a SCA platform
• A feature model containing:
- 63 features
- 46 constraints
• Goal: decomposing the FM in keeping some good metrics in
average
• CTC: # features involved in internal constraints / # internal
constraints
• exCTC: same idea on external constraints
13
19. Urli et al -Vissoft 2015 - Bremen
Frascati Scenario
14
V0
7/31/13 10:40 AM
frascati
20. Urli et al -Vissoft 2015 - Bremen
Frascati Scenario
14
V0
7/31/13 10:40 AM
frascati
7/31/13 10:53 AM
AssemblyFactoryImplementation ComponentFactory
Frascati ScaParser
V1
CTC: 57%
exCTC: 0%
CTC: 16%
exCTC: 47%
21. Urli et al -Vissoft 2015 - Bremen
Frascati Scenario
14
V0
7/31/13 10:40 AM
frascati
7/31/13 10:53 AM
AssemblyFactoryImplementation ComponentFactory
Frascati ScaParser
V1
CTC: 57%
exCTC: 0%
CTC: 16%
exCTC: 47%
SCAParser: 71% exCTC
22. Urli et al -Vissoft 2015 - Bremen
Frascati Scenario
15
23. Urli et al -Vissoft 2015 - Bremen
7/31/13 10:53 AM
AssemblyFactoryImplementation ComponentFactory
Frascati ScaParser
V1
V2
CTC: 16%
exCTC: 47%
CTC: 17%
exCTC: 47%
Frascati Scenario
16
24. Urli et al -Vissoft 2015 - Bremen
7/31/13 11:00 AM
AssemblyFactoryImplementationComponentFactory
Frascati
V5
AssemblyFactoryImplementationComponentFactory
Frascati ScaParser
V4
CTC: 34%
exCTC: 33%
CTC: 45%
exCTC: 19%
Frascati Scenario
17
26. Urli et al -Vissoft 2015 - Bremen
Future works
• Integration with modeling tools
• Towards automation to find patterns
• Finding the right trade-off between
cohesion and decoupling
19
27. Urli et al -Vissoft 2015 - Bremen
Thank you!
20