SlideShare uma empresa Scribd logo
1 de 194
DO MOREDO MORE
w w w . r i s e . c o m . b r
RiPLE: The RiSE Process for
Product Line Engineering
Eduardo Almeida, Marcela Balbino, Danuza Neiva, Ednaldo Dilorenzo,
Paulo Silveira, Ivan Machado, Thiago Burgos, Vanilson Burégio, Silvio Meira
2Sep 10th 2009 SBCARS 2009 – Natal - Brazil
Agendag
• Part I
– Software Process
– Introduction to RiPLE
– Software Product Lines: An overviewSoftware Product Lines: An overview
– RiPLE process
• Riple-SC
Ri l RE• Riple-RE
• Riple-DE
• Part II
– RiPLE process (cont.)
• Riple-TE
• Riple EM• Riple-EM
– Case Study
– Conclusion
– Future Directions
Software ProcessSoftware Process
4Sep 10th 2009 SBCARS 2009 – Natal - Brazil
Software Process
• Software Development
– complex systems
time to market– time-to-market
– distributed development
– ….
• Expertsp
• Turnover
Software Process – cont.
• Importance
– Who
What– What
– When
– How
• Users
• Organization
Software Process – cont.
• A software process is a set of activities that leads to the
production of a software product
• Influences
– Project | Methods | Tools– Project | Methods | Tools
– Knowledge
– Cost
– Contract
– …..
[Sommerville, 2008]
Software Process – cont.
• Process Model
– Software Reuse
• Why a new process?
The State-of-the-Art [Almeida, 2007][ , ]
….
The State-of-the-Art – cont.
• Systematic Reviews
– Scoping
• in evaluationin evaluation
– Requirements
• in evaluation
Design– Design
• European Conference on Software Architecture (ECSA 2008)
– Testing
• in evaluation
– Evolution
• in evaluation
– Tools
• Journal of Information and Software technology 2009
RiPLE – The RiSE Process for Product Line
Engineering
Integrated Effortg
RiPLE – RiSE Product Line Engineering Process
• Stepsp
– Core Assets Development
– Product Development
• Concepts
D i– Domain
– Feature
• Foundations
– Process ModelProcess Model
– Domain-driven
– Iterative | Incremental
RiPLE – cont.
• Elements
– Guidelines
Principles– Principles
– Language
– Roles
– Assets
– Activities
Software Product Lines (SPL)Software Product Lines (SPL)
15Sep 10th 2009 SBCARS 2009 – Natal - Brazil
A little bit of history…
16
The basis of Product Line Engineering....g g
• Henry Ford
• “The father of assembly-line automation”
• Model T production (1908)
• Main concept: Interchangeble parts
• based on the ideas of Honoré Blanc and Eli Whitney
• Streamlined the production process
The Economy of scale!y
• Line of motor cars
• affordable, built quickly, high quality
“A h“Any customer can have
a car painted any colour
th t h t lthat he wants so long as
it is black” - Henry Ford
The Economies of scale!
• Line of motor cars
• affordable, built quickly, high quality
“A h“Any customer can have
a car painted any colour
th t h t lthat he wants so long as
it is black” - Henry Ford
C t i h i hCertain choices where
extremely limited!
Product Line Engineering (PLE)g g ( )
• Economies of Scope
• Mass customization:
producing goods and services to
meet individual customersmeet individual customers
needs
• Create an underlying
architecture for an Economies of
l
Economies of
organization's product
platform
scale scope
multiple identical
instances of a
i l d i
multiple similar
but distinct
d i d
• Core assets can be reused to
engineer new products from the
single design are
produced
collectively, rather
than individually
designs and
prototypes are
produced
collectively, rather
engineer new products from the
basic family
y y,
than individually
Software Product Lines (SPL)( )
• Based on the ideas of PLE
i bilit• Fundamental principle: variability
management
• Allows to adapt a product to• Allows to adapt a product to
the customer needs
• Adaptation is typically performed
during SPL development
The roots....
• On the Design and
Development of Program
Families
Parnas, D.L.;, ;
IEEE Transactions on
S ft E i iSoftware Engineering,
Vol. 02, Issue 01, March
1976, pp. 1 - 9
David Lorge ParnasDavid Lorge Parnas
Software Product Lines
“A software product line is a set of software-intensive“A software product line is a set of software-intensive
systems sharing a common, managed set of
features that satisfy the specific needs of a
systems sharing a common, managed set of
features that satisfy the specific needs of a
particular market segment or mission and
that are developed from a common set of core
particular market segment or mission and
that are developed from a common set of core
assets in a prescribed way.
Paul Clements and Linda Northrop 2002
assets in a prescribed way.
Paul Clements and Linda Northrop 2002Paul Clements and Linda Northrop, 2002Paul Clements and Linda Northrop, 2002
Essential Factors
• Investment
• Planning
• Direction
• Business Strategy
M tManagement
Is Product Lines a new approach?
• Small-Grained Reuse
• Single-System Development with Reuseg y p
• Component-Based Development
• Reconfigurable Architecture
R l d i f• Release and versions of
Single Products
Organizational BenefitsOrganizational Benefits
• To achieve large-scale productivity gains
• To improve time-to-market
• To maintain market presence
• To improve product quality
• To increase customer satisfaction
• To achieve reuse goals
• To enable mass customization
Product Line asset repository Benefits
• Requirements
• Architecture
• Components
• Modeling and Analysis
• Testing
• Planning
Essential Activities
Core Asset
Development
Product
Development
Management
Domain Engineering Application Engineering
Core Asset Development
Core Asset
Development
Management
Core assets
• Core assets are the basis for production of products in• Core assets are the basis for production of products in
the product line
• Core assets
– Architecture {scope, styles, patterns, and frameworks}
– Components
– Test plans, Test cases
– DocumentationDocumentation
– Domain models
– Requirements
C i l ff th h lf (COTS) t– Commercial off-the-shelf (COTS) components
Production Plan
A d ti l d ib h th d t• A production plan describes how the products are
produced from the core assets
– {reuser’s guide}{reuser s guide}
• A Set of attached process {with the glue}A Set of attached process {with the glue}
• Production Plan describes:
– Tools
– Metrics, Metric Plan
Product Development
Product
Developmentp
Management
Management
• Critical role in the successful fielding of a product
line
• Technical
– Core asset developmentCore asset development
– Product development
• Organizational
– Trainingg
– Funding
– Risks
Some Successful CasesSome Successful Cases
P d Li H ll f FProduct Line Hall of Fame
http://www.sei.cmu.edu/productlines/plp_hof.html
Nokia: Mobile Phones
• Case study
– Mobile phones
• Previous scenario
– The initial software architecture for this product line addressed
variations in hardware, communication standards, and user
interfacesinterfaces
Nokia: Mobile Phones
• Challenges
– Language Challenge Abstract
– The Hardware Challenge
The Feature Challenge– The Feature Challenge
• Strategies• Strategies
– The current architecture is component based in the client-
server style It allows separate service providers to be pluggedserver style. It allows separate service providers to be plugged
in or taken out without restarting the system
Nokia: Mobile Phones
• Current Scenario
– 32 different phones are manufactured covering six
different protocol standards, a wide variety of functional
features and capabilities, different user interface designs,
and many platforms and environmentsand many platforms and environments
• Results and Metrics
– Nokia Mobile Phones is the world's largest mobile phone
manufacturer, and they believe that software product linemanufacturer, and they believe that software product line
engineering has helped it to reach that position
PHILIPS: Product Line of SW for TV Sets
• Case study
– Televisions sets
• Previous scenario
Whil i iti ll l l i ti f h d TV t i– While initially solely consisting of hardware, TVs now contain
fully equipped embedded computers to control the hardware
and to implement extra featuresand to implement extra features
– These computers started small, with 1 kilobyte of code around
1980, resulting in many million lines of code today, g y y
PHILIPS: Product Line of SW for TV Sets
• Challenges
– Complexity
– Diversity, since televisions are produced in many different
variants
PHILIPS: Product Line of SW for TV Sets
• Strategies
– The first step was the definition of a software component
d lmodel
– The second step was the creation of a product line architecture
– Changes had to be made to the existing development
processes, which were optimized for the creation of single
productsproducts
– The fourth step was the adaptation of the development
organization to accommodate product line developmentorganization to accommodate product line development
PHILIPS: Product Line of SW for TV Sets
• Current Scenario
– Since 2002, all Philips' mid-range and high-end televisions
have software derived from this product line
– The product line supports three different hardware platformsp pp p
• Results and Metrics
– Today, there are 20 different software releases per
year where each release serving 1-5 differentyear, where each release serving 1 5 different
product types
Background – Importantg p
Concepts
49Sep 10th 2009 SBCARS 2009 – Natal - Brazil
Motivation
• Variability
– The ability or the tendency to change
• Variability modelling
– Goal: To support the development and the reuse of variable development assets
– Iterative processIterative process
• Abstraction levels
–– CommonCommon and VariableVariable features of the domain {spl} are identified
Domain requirements– Domain requirements
– Domain architecture
– Implementation
– Test
• Where
–– DomainDomain engineeringengineering {definition}
A li ti i i { l it d}– Application engineering {exploited}
• Defining variability
– The sumsum ofof allall activitiesactivities concerned with the identification and documentation ofThe sumsum ofof allall activitiesactivities concerned with the identification and documentation of
variability
Definitions
• Managed Variability
– Defining and exploiting variability throughout the different life cycle stages of a spl
– IssuesIssues
• Supporting activities concerned with defining variability
• Managing variable assets
• Supporting activities concerned with resolving variability
• Collecting storing and managing trace information necessary to fulfil these tasksCollecting, storing, and managing trace information necessary to fulfil these tasks
• Examples
–– A softwareA software componentcomponent cancan supportsupport differentdifferent implementationsimplementations
– A search can be active oror passivep
– A GUI component for threethree differentdifferent mobile phones
• How to identify variability?
–– WhatWhat doesdoes varyvary??WhatWhat doesdoes varyvary??
• Variability subject – is a variable item of the real world or a variable property of
such na item
–– WhyWhy does itdoes it varyvary??
•• StakeholderStakeholder needsneeds technicaltechnical reasonsreasons marketmarket•• StakeholderStakeholder needsneeds,, technicaltechnical reasonsreasons,, marketmarket
–– HowHow does itdoes it varyvary??
• Variability object – is a particular instance of a variability subject
Examples• Examples
– Variability subject - Search
– Variability object – Active, Passive, Content...
Definitions (cont.)
• Variation Point
– It is a representation of a variability subject within domain assets enriched by contextual informationIt is a representation of a variability subject within domain assets enriched by contextual information
• Variant
– It is a representation of a variability object within domain assets
• Variation Point and Variants
– Used to define the variability of a domain [spl]
• How to identify them?
1. To identify the item of the real world that varies {variability subject}
2 To define a variation point2. To define a variation point
3. To define the variants
• Examplesp
– Customers, Analysts, Researchers.... – Search: “Passive”, “Active” {1}
– Variation Point –Search Types
– Variants – Passive, Active, Content, Facets, Keywords....Variants Passive, Active, Content, Facets, Keywords....
Definitions (cont.)
• Variability in time
– It is the existence of different versions of an asset that are valid at different times
Si l i i d i { l} i i– Single-system engineering or domain {spl} engineering
– Evolution {configuration management}
• Variability in space
– It is the existence of an asset in different shapes at the same time
– Browsing {requirements, use cases, test cases, components...}
– New trend in research
• External and Internal Variability
– External – visible to customers
– Internal – hidden from customers
L
E
V
E
R
E
F
I
N
Customer needs…
L
S
O
F
A
N
E
M
E
N
Design
Requirements
B
S
T
.
T
Internal Variabilty Tests
Components
Documentation of Variability
• Required information
– What varies?– What varies?
• Documentation of the variation points
– Why does it vary?Why does it vary?
• Textual annotations of variation points and variants
– How does it vary?How does it vary?
• Documenting the available variants and linking them to domain elements
– For whom is it documented?For whom is it documented?
• Benefits
– Decision making
– Communication
– Traceabilityy
Variability constraints
• Variant constraint dependency
– Variant requires variantq
• Notification x Interest
– Variant excludes variant
• Variant to Variation Point constraint dependency
– Variant requires variation pointVariant requires variation point
• Asset publish x Access control
– Variant excludes variation point
• Variation Point constraint dependency
– Variation Point requires Variation PointVariation Point requires Variation Point
• Publish x Search
– Variation Point excludes Variation Point
Features and Feature Model
• Feature
– An end-user-visible characteristic of a system
– A distinguishable characteristic of a concept that is relevant to some stakeholder of– A distinguishable characteristic of a concept that is relevant to some stakeholder of
the concept
• Elements• Elements
– Feature diagram
– Feature definitions
– Composition rules
– Rationale for features
Example
Conference
Mandatory
Features
Optional
Notification
Optional
FeatureSubmission Review
Accept/Reject
Alternative
Features
News
Assigment
Result
Accept/Reject
Indication
Complete Partial
Automatic M l
Alternative
Features
Automatic Manual
Feature Modeling: The importance
• Reusable software
– Variability
• Key technique• Key technique
– To Identify and capture variability
• To avoid
– Relevant features and variations points are not included in the reusable
softwaresoftware
– Many features and variations points are included but never used {complexity,
costs}
Feature Models
• Represents the common and the variable features of concept
i t dinstances and ...
• Dependencies between the variable featuresDependencies between the variable features
• Elements
– Feature Diagram
– Semantic descriptions of each features
– Client programs
– Exemplar systems
– Constraints
– Priorities
Feature Diagrams (cont.)
Mandatory Features
C
f2f1
f4f3
Feature set {C f f f f }Feature set {C, f1, f2, f3, f4}
Feature Diagrams (cont.)
Optional Features
C
f2f1
f3
Feature set {C} {C f } {C f f } {C f } {C f f } {C f f f }Feature set {C} , {C, f1}, {C, f1, f3}, {C, f2}, {C, f1, f2}, {C, f1, f3, f2}
Feature Diagrams (cont.)
Alternative Features
C
f1 f2 f3 f4 f5
Feature set {C f f } {C f f } {C f f } {C f f } {C f f } {CFeature set {C, f1, f3} , {C, f1, f4}, {C, f1, f5}, {C, f2, f3}, {C, f2, f4}, {C,
f2, f5}
RiPLE – The RiSE Process for Product Line
Engineering
RiPLE
• RiPLE-SC: Scoping
RiPLE RE R i t• RiPLE-RE: Requirements
RiPLE DE D i• RiPLE-DE: Design
RiPLE TE T t• RiPLE-TE: Test
RiPLE EM E ol tion• RiPLE-EM: Evolution
RiPLE-SC: Scoping Process
Scoping on SPLp g
• What is Scoping?What is Scoping?
– It is the initial phase of a SPLp
– It aims to identify products, features, potential of the domain and
reusable assets
Wh S i ?• Why Scoping?
It determine the viability of the SPL– It determine the viability of the SPL
– It maximizes the economical value of the SPL
Software Product Lines (SPL) and Agile Methods (AM)( ) g ( )
A SPL aims to determine a set of products and features associated• A SPL aims to determine a set of products and features associated
and have as base a reusable platform
• AM are a set of methods that have how base the values defined by
the Agile Manifesto, these are:
– individuals and interactions over processes and tools;
– working software over comprehensive documentation;
– customer collaboration over contract negotiation; and
– responding to change over following a plan
• But in spite of clear differences both can have their particularBut, in spite of clear differences, both can have their particular
benefits joined in search of a same objective
67
RiPLE - SC
• Motivation
– Lack of a complete scoping process which maximize the
t ti l f th i AM d SPLpotential of the union among AM and SPL
G lGoal
– To define an agile scoping process by providing phases, tasks,
i t t t l d id li f t ti finputs, outputs, roles and guidelines for construction of a
planning iterative and incremental which use as base agile
aspects, making possible determine of form agile a scope which
maximize the economical return with the SPL
RiPLE - SC :: Overview
• It is performed in an iterative and incremental way using
agile values, principles and techniques
• It is defined in a systematic way
RiPLE - SC :: Overview
• The RiPLE-SC consists of four main phasesp
– Pre-Scoping
– Domain Scoping
P d t S i– Product Scoping
– Assets Scoping
• The roles are relevant in these phases
– Scoping expertp g p
– Customer
– Domain expert
Marketer– Marketer
– Developer
– Architect
– SPL manager
RiPLE - SC :: Pre-Scopingp g
• Pre-Scoping meeting
– It defines stakeholders and respective roles
It identifies business goals– It identifies business goals
– It identifies the organizational and operational contexts
• Analyze Market
– It is optional
– Analyze market is not a trivial task
– The marketers’ knowledge about the tendencies of the domain
market segments in which the product lines are inserted is essentialmarket segments in which the product lines are inserted is essential
in this phase
RiPLE - SC :: Domain Scopingp g
• It is defined in a workshop of domain analysis
f• It aims to identify the domains and sub-domains more
relevant for SPL
• The workshop presents four well-defined steps
Review domains– Review domains
– Identify sub-domains
– Analyze sub-domains andy
– Prioritize domains and sub-domains
RiPLE - SC :: Product Scopingp g
• The goal is to identify the products more relevant for SPL
and their features
• Five tasks
Identify products– Identify products
– Construct user stories
– Identify featuresy
– Features review meeting and
– Construct product map
RiPLE - SC :: Product Scoping – Product Mapp g p
RiPLE - SC :: Assets Scopingp g
• The goal of the assets scoping is to determine an
appropriate set of assets for product line
• Three tasks:• Three tasks:
– Create metrics of characterization and benefit
– Apply metricsApply metrics
– Prioritize product map
RiPLE - SC :: Assets Scopingp g
E l f h t i ti d b fit t i i i• Example of characterization and benefit metrics in a generic
domain:
RiPLE-RE: Requirements Engineering
Introduction
• Software Product Lines
– Activities
• Requirements Engineering
– More products and
stakeholders
– Attention to variabilities and
commonalities
– Lack of a systematic process
(Clements and Northrop, 2001)
78
RiPLE-RE :: Overview
79
RiPLE-RE :: Activity Model Scopey
Tasks
80
RiPLE-RE :: Task Elicit
• Identifying commonalities and variabilities
Id tif i f t d• Identifying future needs
• Information source x Context
81
RiPLE-RE :: Task Model Feature
Types Constraints
82
RiPLE-RE :: Task Verifyy
Incompleteness, inconsistency, ambiguity, traceability
d t d di ti i th DRSand standardization in the DRS
Instantiated DRS is useful to verify the consistency,
completeness and ambiguities
Verification Report
• - Problem type, cause and severity
83
RiPLE-RE :: Activity Define Requirementsy
Tasks
84
RiPLE-RE :: Task Describe Requirements [1]
Variability Scope
– Whole requirement (Mandatory and variant)
– Requirement text fragment (Variation Point)
Requirement Attributes
– Id
Point Variation Attributes
– Id
– Type
– Name
– Variability Type
– Description
– Variants
– CardinalityVariability Type
– Binding Time
– Priority
R ti l
Cardinality
– Binding Time
– Implication
E l i– Rationale
– Description
– Implication
– Exclusion
85
– Exclusion
RiPLE-RE :: Task Describe Requirements [3]
• Template in XML
86
RiPLE-RE :: Task Describe Requirements
87
88
RiPLE-RE :: Activity Define Use Casesy
Tasks
89
RiPLE-RE :: Task Describe Use Cases [1]
• Variability Scope
– Whole use case (Mandatory and variant)
– Use case part (Variation Point)
Use Case Attributes Point Variation Attributes
– Id
– Name
– Variability Type
– Main Flow
– Alternative Flow
E ception Flo
– Id
– Description
Cardinalityy yp
– Binding Time
– Rationale
Actors
– Exception Flow
– Post Conditions
– Implication
– Cardinality
– Variants
– Binding Time
– Actors
– Dependency
– Preconditions
– Exclusion – Implication
– Exclusion
90
RiPLE-RE :: Task Describe Use Case
oint
ations
riationP
mallvaria
Var
insm
91
RiPLE-RE :: Traceabilityy
External Association
Composition
Implication
Exclusion
Internal Association
92
RiPLE-DE - Design
RiPLE-DE Overview
RiPLE-DE Overview
• The main purpose is to be pluggable
Req irements implementation e ol tion– Requirements, implementation, evolution
• InputsInputs
– Features model (Mandatory)
– Stakeholders list (Mandatory)
– Non-functional requirements (Mandatory)
– Quality scenarios (Optional)
D i i t (O ti l)– Domain requirements (Optional)
– Domain use cases (Optional)
• Outputs
– Domain Specific Software Architecture (DSSA)p ( )
– Quality Scenarios Document
Architectural Drivers Identification
• Develop quality scenarios (If not provided)
• Identify main features
• Identify main quality attributes
Architecture Details Definition
• Define which architectural views will be documented and in
which level of details based on stakeholders list
St t l i (M d t )– Structural view (Mandatory)
– Behavioral view (Mandatory)
– Process view (Optional)Process view (Optional)
Architecture Details Definition
Architecture Details Definition
• View Levels
– Structural View
• Low: modules definition
• Medium: modules and component definitions
• High: modules, components, and classes
– Behavioral View
• Low: main sequence diagramsq g
• High: sequence diagrams for all use cases
Process Vie– Process View
• Low: main processes activities of the domain
• High: all processes activities of the domain• High: all processes activities of the domain
Represent Architecture
• Structural View
– Consists of defining modules, components, and classes with its
i bilitvariability
Structural View
• Components are defined
based on the feature
d lmodel
• Groups of features are
defined to form a
component
• The group top level
feature defines the
t i bilitcomponent variability
Structural View
• Classes are defined
according to the features
l ti hi i threlationship using the
guideline proposed by
[Almeida2007][Almeida2007]
Behavioral View
D fi di b d l d fi d i• Define sequence diagrams based on classes defined in
structural view and the messages variability
• Variant messages are represented with the variant id• Variant messages are represented with the variant id
stereotype.
Process View
• Define the main process for the domain
• Define process variabilities• Define process variabilities
• It is not mandatory if the domain does not have complex
processes
Identify Design Decisionsy g
• Consists of identifying and recording the main architectural
decisions for the domain
– Ex.: Programming language
– Application server
• Useful for avoiding architecture deprecation
• It can be defined during all the process life cycle• It can be defined during all the process life cycle
RiPLE-TE - Testing
106
Introduction
• Software Product Line Testing
– Testing as a Software Quality instrument
• Assist developers to identify faults• Assist developers to identify faults
• Determine whether a product can perform as specified by its
requirements
– Peculiar Aspects to Product Lines
• Examines Core Assets
• Examines Product Specific Software• Examines Product-Specific Software
• Interactions among them
– Responsibilities distribution across the organizationp g
– Planning looking at extracting strategic reuse benefits
Source: [Clements, 2001], [McGregor, 2001]
107
Testing Strategiesg g
• Testing Product by Product
– Critical Systems
• Incremental Testing of Product Families
R i T ti– Regression Testing
• Reusable Asset Instantiation
– Test Assets created in CAD
• Division of Responsibilities• Division of Responsibilities
– CAD and PD
108
Source: [Tevanlinna, 2004]
The RiPLE Testing Processg
• Testing considered along the Software Dev. Lifecycle
– Testing Phases X Development Phases
Traceability is truly necessary– Traceability is truly necessary
– Variability concerns must be handled
• Interaction with other RIPLE disciplines
– Scoping – RIPLE-SCScoping RIPLE SC
– Requirements – RIPLE-RE
– Analysis & Design – RIPLE-DE
– Implementation - RIDE
– Evolution – RIPLE-EM
109
The RiPLE Testing Processg
Core Asset Development
RiPLE-
RE
RiPLE-
DE
RiDE
RiPLE-
TE
RiPLE-
SC
RiPLE-
EM
Req. Design Impl.
RiPLE-
TE
Product Development
110
The RiPLE Testing Processg
• Testing Roles
– Test Manager
Test Architect– Test Architect
– Test Analyst
– Tester
One can assume more
than a role as well as a
• Other Stakeholders
– Developer
than a role as well as a
role can be assumed by
more than one individual.
– Customer
– Software Architect
P j t M– Project Manager
– Requirements Analyst
– Configuration Manager
111
Configuration Manager
The RiPLE Testing Processg
• Testing Artifacts
– Test Plans
Test Cases– Test Cases
– Test Reports
– Test Logsg
– Test Scripts
– Test Suites
112
Source: [IEEE, 1998], [McGregor, 2001], [Clements, 2001], [Pressman, 2005],
The RiPLE Testing Processg
Test Planning Static Analysis
Unit Testing Integration
T ti (CAD)
CADCAD
Testing (CAD)
System Testing
AcceptanceIntegration
System Testing
TestingTesting (PD)
PDPD
113
The RiPLE Testing Processg
CADCAD
Test Planning
• Scope, Approach, Resources, Schedule
• Items and Features to be tested
• Testing Tasks to be performed
• Roles and Attributions
• Risk Analysis
114
The RiPLE Testing Processg
CADCAD
Static Analysis
• Validate:
– Feature Model
– Use Cases and Requirements
– Design
F t D d– Feature Dependency
• Checklists and Validation Meeting
• We are not covering “Inspection”
115
The RiPLE Testing Processg
Integration
CADCAD
Unit Testing Integration
Testing (CAD)
• Activities
– Plan Tests
– Create Test Assets
– Execute Tests
R t T t– Report Tests
• Regression Testing when necessary
• A Component is considered a Unit in this approach• A Component is considered a Unit in this approach
116
RiPLE-TE : Unit Testingg
• Objective:
– Exercises a unit (component) of code
– Classes and methods integration
• Source information
Component Code– Component Code
– Component Specification
117
RiPLE-TE : Unit Testingg
118
RiPLE-TE : Unit Testingg
119
RiPLE-TE : Integration Testing (CAD)g g ( )
• Objective:
– Reference Architecture Conformance (Code x Specification)
Module Testing– Module Testing
– Components integration testing
• Source information
– Architecture Specification (e.g.: Behavioral and Structural views)p ( g )
– Feature Model
– Feature Dependency
– Code
120
RiPLE-TE : Integration Testing (CAD)g g ( )
• Integration Testing Strategies
– Non-Incremental (Big-Bang)
– Incremental
• Bottom-up
• Top-Down Depth-First
• Depth-First
• Breadth-First
Breadth-First
121
Feature Model
Rise Chair
122
Test Asset Creation
123
RiPLE-TE : Integration Testing (CAD)g g ( )
• Combinatorial Explosion
124
The RiPLE Testing Processg
PDPD
System Testing
Acceptance
Testing
Integration
Testing (PD)
• Activities
– Plan Tests
– Create Test Assets
– Execute Tests
R t T t– Report Tests
• Regression Testing whenever necessary
125
RiPLE-TE : Integration Test (PD)g ( )
• Objective:
– Product Specific Components Integration Testing
Product Architecture Testing– Product Architecture Testing
• Source information• Source information
– Product Map
– Feature Model
– Feature Dependency
– Architecture Specification
126
Architecture Regression Testingg g
• Objective
– Test the reference architecture after modification or evolution
Conformance between product and reference architectures– Conformance between product and reference architectures
– Test product specific architecture
127
Types Of Regressionyp g
Corrective Regression Progressive Regression
• Specification is not changed • Specification is changed
• Involves minor modification to
code
• Involves major modification
Man test cases can be re sed Fe er test cases can be re sed• Many test cases can be reused • Fewer test cases can be reused
• Invoked at irregular intervals • Invoked at regular intervals
128
Regression Testing Approach steps 1/3g g pp p
1. Graph Generation
– Control Flow Graph
Control Dependency Graph– Control Dependency Graph
– Program Dependency Graph
– JIG (Java Interclass Graph)( p )
2. Graph Comparison
– Compare the graphs for each version of the software (Original
and Modified)
Identify critical paths– Identify critical paths
129
Regression Testing Approach steps 2/3g g pp p
3. Changed Paths Analysis
– Analysis the critical paths
Classify existing Test Case– Classify existing Test Case
• Obsolete
• Reusable
• Retestable
4. Instrumentation
– To be sure about the test cases efficiency and coverage
130
Regression Testing Approach steps 3/3g g pp p
5. Test Design
– Design new test cases (Specification Changes)
Update test cases– Update test cases
6. Test Suite Composition6. Test Suite Composition
– Group Related Test Cases
7. Test Case Priorization
– Critical Variabilities First
– Features for a specific product
– Specific architecture quality attribute
131
RiPLE-EM - Evolution
132
RiPLE-EM :: Overview
2 Fl• 2 Flows
– Core Assets Flow
Product Flow– Product Flow
• 3 Disciplines3 Disciplines
– Change Management
– Build Management
– Release Management
RiPLE-EM :: Overview
RiPLE-EM :: CADxPD Communication
Th P i R (PR) i h• The Propagation Request (PR) is a way to propagate the
evolution (changes made to an asset or product) of a certain
asset or product to another asset or product.p p
• It is managed by the change control tool used.
RiPLE-EM CAD :: Macro Flow
RiPLE-EM CAD ::
Release PlanningRelease Planning
• This activitiy is performed in
parallel with the development,
and it can be refined until theand it can be refined until the
release execution moment
RiPLE-EM CAD :: Macro Flow
RiPLE-EM CAD :: Change Managementg g
RiPLE-EM CAD :: Macro Flow
RiPLE-EM CAD ::
Build ManagementBuild Management
RiPLE-EM CAD :: Macro Flow
RiPLE-EM CAD :: Release Execution
RiPLE-EM PD :: Macro Flow
RiPLE-EM PD ::
Release PlanningRelease Planning
• This activitiy is performed
in parallel with the
development and it candevelopment, and it can
be refined until the
release execution moment
RiPLE-EM PD :: Macro Flow
RiPLE-EM PD ::
Change ManagementChange Management
RiPLE-EM PD :: Macro Flow
RiPLE-EM PD :: Build Managementg
RiPLE-EM PD :: Macro Flow
RiPLE-EM PD :: Release Execution
Case Study: Papers Managementy p g
Software Product Line
152
Motivation
• Lack of accessible and integrated SPL processes
– Isolated projects focused on specific issues
Scope req irements design etc• Scope, requirements, design, etc...
– Lack of details about the processes and their practical results
• Integration and validation of the RiPLE process
– Different disciplines have been developed by different studentsDifferent disciplines have been developed by different students
– Necessity for validating each discipline and its interaction with
others in a more practical way
153
Main Goal
• Creation of a comprehensive reference project
– Dissemination of the reuse culture
• Fully documented SPL (results available online)
– Case study with international visibility
– Acquisition and transference of knowledge among the
participants
– Improvement of the reuse/SPL techniques and tools
154
First step: Domain SelectionFirst step: Domain Selection...
155
Domain
• Document submission systems
– Submission
– Review
– Notification
– Logginggg g
– Report
– ....
Domain
• Initial domain: paper submission
– Easier to understand
– Experts accessible
• Some rise members developed
applications in such domain
– Variabilities enough to create a SPL
– Conferences, journals,
workshops, etc...p ,
Involved peoplep p
• Team
– 13 people (reuse specialists)
• 4 Ph.D students
• 9 M.Sc. students9 M.Sc. students
• 1 customer and 3 domain experts
– Professors
• Roles
– Internal– Internal
• SPL manager; SPL Engineers (SPL Architect, Developer,Testers);
Requitements Analyst; Domain Analyst; Scoping Expert; SQA; CCB
External– External
• Domain Expert; Customer; End Users
Schedule
Phase Period
Phase I – Implementation of core assets and an initial product May-09 - Oct-09
Phase II – Addition of new features and implementation of other products Oct-09 – Mar-10
Phase III – Inclusion of a new product in the product line Mar-10 – Aug-10
Ph I ti iti• Phase I – macro activities
– Scope definition
– Domain analysis
Domain modeling– Domain modeling
– Domain architecture
– Identification of core assets
– Core assets: implementation and componentization– Core assets: implementation and componentization
– Initial product derivation
– Process adaptation
Overview of the process and artifacts
Core Asset Development Management
Non code assets Components (code)
Feature
model Reference
Architecture
SPL Plan
RiPLE
Process (EPF)
Non‐code assets
Use Cases
Features
Q li
Product
Map CM Plan
Process (EPF)
Scope
docs
Features
Interaction
Prototype
Quality
scenarios
Project
website
Traceability
matrix
Test docs
Product Development
Product 1 Product 2 Product N
Product Plan
Product 1
Set of 
features 1
Product 2
Risk Plan
T i i
Set of 
features 2
Set of 
features N
...
May 23, 2013
Trainings
Products: RiSE Chair Family
• R-CHAIR• R-CHAIR
– Conference management
– Submission/revision procedures
• R-CHAIR Plus
– Journal management
– Different submission/revision life cycle– Different submission/revision life cycle
• Smart R-CHAIR
– General event management
– Papers reviewers are defined automatically (conflicts)
Scoping
162
Scopingp g
• Main activities executed
– Analysis of existing systems
Identification of features– Identification of features
– Identification of products
– Creation of the product mapp p
• Artifacts
– Feature list, product map, products description
Scoping: problems and solutions
• Understanding the domain...
– Analysis of existing systems– Analysis of existing systems
• 11 systems analyzed
• Different groups
• Initial identification of features• Initial identification of features
Tool URL
C C // / /CyberChair http://borbala.com/cyberchair/
EasyChair http://www.easychair.org/
JEMS SBC https://submissoes.sbc.org.br/
Journal IET Software http://mc manuscriptcentral com/iet senJournal IET Software http://mc.manuscriptcentral.com/iet-sen
IS Technology Journal http://ees.elsevier.com/infsof/
Agil FACEPE http://agil.facepe.br/
E-Fomento CNPq http://efomento cnpq br/efomento/E-Fomento CNPq http://efomento.cnpq.br/efomento/
Aptor Submission http://www.aptor.com.br/portal/eventos/submissao.php
UFBA http://disciplinas.dcc.ufba.br/MATA63/ProjetoFinal
CMT Microsoft http://cmt.research.microsoft.com/cmt/
Sigepe http://celepar7.pr.gov.br/fup/index.asp?fund=4
Scoping: problems and solutionsp g p
Initial list of features
• Consolidation of the features
Initial list of features
(consolidated)
– Problems with Features
Definition
– Granularity level
– Lack of a “deep” knowledge ofp g
the domain
– the most experienced
professionals were included in thep
group of domain experts
Scoping: problems and solutionsp g p
• Identification of products and
ti f th d t Product mapcreation of the product map
– Lack of metrics to supportpp
the decisions
– What features should be
included in the products?included in the products?
Scoping - Contributionsp g
• Main improvements to the RiPLE-SC
– Pre-scoping phase
– Identification of business goals
– Domain scoping
– Workshop of domain analysis
– Prioritize domains and sub-domains
– Product scoping
– Features review meeting
– Assets scoping
– Create metrics of characterization and benefit
– Prioritize product map
R i tRequirements
168
Requirementsq
• Main activities
– Construction of the Feature Model
– Identification, specification and validation of
requirements and Use Cases
– Contruction of the traceability matrix
Split– Split
Requirementsq
• Artifacts
– Feature model, requirements , use cases,, q , ,
traceability matrix
Requirementsq
• Problems and SolutionsProblems and Solutions
– Redundancy of information (req x ucs x FM)
Construction of tools to manage such redundancies and– Construction of tools to manage such redundancies and
the xml specifications
– Adaptation of the “Split tool”
– Feature validation process
– internal member responsible for validating the features
before sending them to “external evaluation”
Requirementsq
• Problems and Solutions
– Granularity level of the features (recurrent problem!)
– Re-analysis of the feature model
– Distinct feature models (abstraction level)
– Using a model for each (major) stakeholder viewUsing a model for each (major) stakeholder view
– Different tools were used
Requirementsq
• Problems and Solutions
Difficult to identify variabilities in– Difficult to identify variabilities in
screens
– Solution: Prototypes
Screen_UC03_VP1.V1-FromPrevious Screen_UC03_VP1.V2-FromScratch
D iDesign
174
Designg
• Main activities
– Identification and priorization of quality attributes
Definition of architectural views– Definition of architectural views
– Specification of modules, components and classes
Designg
• Artifacts
– Domain specific software architecture document; diagramsDomain specific software architecture document; diagrams
(components, classes, modules)
• core-business: submission, event management, revision
Shared services: logging notification reporting accesscontrol• Shared services: logging, notification, reporting, accesscontrol
– Specification of variabilities
Designg
• Quality scenarios documentation
Scenarios > quality attibutes– Scenarios -> quality attibutes
– Specification of variabilities in the scenarios
Designg
• Problems and solutions
– Lack of a deploy view
Non fuctional variants should be considered– Non-fuctional variants should be considered
• It is important to stablish a limit
• Otherwise the creation of an architecture could be inviable
– Specification of features interactions
• Modification dependencyp y
• Concurrent dependency
• Sequential dependency
Decomposition and Generalization Dependency• Decomposition and Generalization Dependency
• Usage dependency
• Exclude dependency
I l t tiImplementation
179
Implementation
• The architecture was divided in two
p
The architecture was divided in two
layers
The front end (gui): related to– The front-end (gui): related to
the products
Responsible for the product– Responsible for the product
customization and “glue”
– The back-end: related to the
Product
The back-end: related to the
core assets
– Common services– Common services
– Business rules
Core Assets
180
Core Assets
Implementation: Technologiesp g
• In the beginning of the implementation phase some technologies
were discussed by the team
• Front-end: FlexFront end: Flex
– Rich interface
– Flexibility to create new components
• Variability can be developed
– Easy integration with other technologies as Java
• Back-end: Java
– Maturity and team knowledge
Java frameworks used:– Java frameworks used:
• JPA using Hibernate  for the persistence
• Spring  for the inversion of control of the application, transaction and
security management
181
y g
Implementation: Trainingsp g
• Flex: a new technology for some members
– Some trainings were necessary
• Some trainings
Flex concepts– Flex concepts
– Flex and Java integration
– Using of Cairngorm as the Flex MVC architectureg g
182
Implementation: core assetsp
• Core assets developed (8/13):p ( )
– Event Management
– AccessControlService
– DataAccessServiceDataAccessService
– FileUploader
– SubmissionManagementService
PdfGenerator– PdfGenerator
– ReportService
– Notifier
• The core assets were developed with Java
– These components will be used by the productsp y p
– Each product should have the user interface developed in Flex,
as showed previously
183
Implementation: Variabilitiesp
• Decorator Design PatternDecorator Design Pattern
– Optional variability type
– Features:
• Event (mandatory)
• CreateEventFromScratch (variant – mandatory)
• CreateEventFromPrevious (variant – optional)• CreateEventFromPrevious (variant – optional)
• Dependency Injectiony j
– OR variability type
– Features:
R t ( d t )• Report (mandatory)
• PdfExtension type (variant - optional)
• HtmlExtension (variant - optional)( p )
Some data: time distribution
S
Process
adaptations
7%
Other activities
Scope
23%
Trainings
6%
7% 9%
Requirements
23%
Design
17%
Implementation
15%
Time distribuition
17%
120
140
160
180
200
Scope
Requirements
Design
40
60
80
100
120
Hours
Design
Implementation
Trainings
Process adaptations
Other activities
0
20
Activities
Some data
• Scope
– 3 products
– 41 features identified
• Requirementsq
– 49 functional
– 18 non-functional
28 use cases specified– 28 use cases specified
– 23 screens (prototype)
• Design
– 15 quality scenarios
– 13 components
– 7 modules7 modules
• Implementation
– 8 core assets implemented
20 l– 20 classes
General Issues and Lessons Learned
• Feature definition and granularity level
Th t h ld h th i i !– The team should share the same vision!
• Domain expert Vs Experienced users
– Two different concepts!
• Initial SPL tasks can be time wasting
• Difficult to follow the process
– Lack of standardization among the RiPLE disciplines
– Adaptations were peformed during the project
• Big team and people idleg
– Too many people to work in the same activity
• Team motivation: conflict of interests
• Difficulty of dealing with distribution
Next Stepsp
Phase I Phase II Phase III
May-09 Out-09 Mar-10 Aug-10
We are here!
• Derivation of products• Derivation of products
• Validation of the RiPLE EM• Validation of the RiPLE-EM
• Products evolution and derivation
• Validation of the RiPLE-TE
• Assets and products
RiPLE Future DirectionsRiPLE – Future Directions
189
New Directions
• Research
– Risk Management
– Measurement
– Feature InteractionFeature Interaction
– Architecture Recovery
– Quality Attributes
Q lit– Quality
• Inspection
• Test case selection | priorization
– Product Derivation
– Introduction in Companies
– Tools
• Agile
ConclusionsConclusions
191
Conclusions
• RiPLE
– Scoping
– Requirements
– DesignDesign
– Test
– Evolution
• Case Study
– On going project
You can participate!– You can participate!
• Industrial case
New directions• New directions
More information
• RiSE – www.rise.com.br
• RiSE Labs – www.rise.com.br/research
• INES – www.ines.org.br
• World of Reuse – worldofreuse.blogspot.com/
• CRUiSE - http://cruise.cesar.org.br/
• Events• Events
– WiRE – http://www.rise.com.br/eventos/wire2009/
– RiSS - http://riss.rise.com.br/
RiPLE: The RiSE Process for
Product Line Engineering
Eduardo Almeida, Marcela Balbino, Danuza Neiva, Ednaldo Dilorenzo,
Paulo Silveira, Ivan Machado, Thiago Burgos, Vanilson Burégio, Silvio Meira
194Sep 10th 2009 SBCARS 2009 – Natal - Brazil

Mais conteúdo relacionado

Destaque

Relatorio Master Class - Projeto Americas
Relatorio Master Class - Projeto Americas Relatorio Master Class - Projeto Americas
Relatorio Master Class - Projeto Americas Assespro Nacional
 
A ação social como resultado prático
A ação social como resultado práticoA ação social como resultado prático
A ação social como resultado práticoJoel Manhaes
 
PEC João Vitor Korc
PEC  João Vitor KorcPEC  João Vitor Korc
PEC João Vitor KorcFran Buzzi
 
O mes de junho na história
O mes de junho na históriaO mes de junho na história
O mes de junho na históriaGisele Santos
 
China tour
China tourChina tour
China tourcheby49
 
W H O Medical Schools
W H O Medical SchoolsW H O Medical Schools
W H O Medical Schoolsguest60fe22
 
GDC 2014 - Emerging Communities: a Snapshot of the Brazilian Indie Game Devel...
GDC 2014 - Emerging Communities: a Snapshot of the Brazilian Indie Game Devel...GDC 2014 - Emerging Communities: a Snapshot of the Brazilian Indie Game Devel...
GDC 2014 - Emerging Communities: a Snapshot of the Brazilian Indie Game Devel...Bruno Campagnolo
 
Rfs Scott Fain W Loan Mod
Rfs Scott Fain W Loan ModRfs Scott Fain W Loan Mod
Rfs Scott Fain W Loan ModScott-Fain.com
 
[EN] Aastra - Vertical Market - Industry
[EN] Aastra - Vertical Market - Industry[EN] Aastra - Vertical Market - Industry
[EN] Aastra - Vertical Market - IndustryVincent Perquia
 
Arquitetura ibm pc
Arquitetura ibm pcArquitetura ibm pc
Arquitetura ibm pcTiago
 
Apresentação farma ago 11
Apresentação farma ago 11Apresentação farma ago 11
Apresentação farma ago 11Roberto Falcão
 
Arquitetura ibm pc
Arquitetura ibm pcArquitetura ibm pc
Arquitetura ibm pcEMSNEWS
 
0165 k2 b_mobile_la_empresa_en_sus_manos
0165 k2 b_mobile_la_empresa_en_sus_manos0165 k2 b_mobile_la_empresa_en_sus_manos
0165 k2 b_mobile_la_empresa_en_sus_manosGeneXus
 

Destaque (20)

ApresentaçãO Institucional InglêS 18.08.2009
ApresentaçãO Institucional InglêS 18.08.2009ApresentaçãO Institucional InglêS 18.08.2009
ApresentaçãO Institucional InglêS 18.08.2009
 
Webquest
WebquestWebquest
Webquest
 
Apostila asf lucio-campos
Apostila asf lucio-camposApostila asf lucio-campos
Apostila asf lucio-campos
 
CV
CVCV
CV
 
Relatorio Master Class - Projeto Americas
Relatorio Master Class - Projeto Americas Relatorio Master Class - Projeto Americas
Relatorio Master Class - Projeto Americas
 
A ação social como resultado prático
A ação social como resultado práticoA ação social como resultado prático
A ação social como resultado prático
 
PEC João Vitor Korc
PEC  João Vitor KorcPEC  João Vitor Korc
PEC João Vitor Korc
 
Floristica viçosa
Floristica viçosaFloristica viçosa
Floristica viçosa
 
O mes de junho na história
O mes de junho na históriaO mes de junho na história
O mes de junho na história
 
China tour
China tourChina tour
China tour
 
W H O Medical Schools
W H O Medical SchoolsW H O Medical Schools
W H O Medical Schools
 
GDC 2014 - Emerging Communities: a Snapshot of the Brazilian Indie Game Devel...
GDC 2014 - Emerging Communities: a Snapshot of the Brazilian Indie Game Devel...GDC 2014 - Emerging Communities: a Snapshot of the Brazilian Indie Game Devel...
GDC 2014 - Emerging Communities: a Snapshot of the Brazilian Indie Game Devel...
 
Rfs Scott Fain W Loan Mod
Rfs Scott Fain W Loan ModRfs Scott Fain W Loan Mod
Rfs Scott Fain W Loan Mod
 
[EN] Aastra - Vertical Market - Industry
[EN] Aastra - Vertical Market - Industry[EN] Aastra - Vertical Market - Industry
[EN] Aastra - Vertical Market - Industry
 
Arquitetura ibm pc
Arquitetura ibm pcArquitetura ibm pc
Arquitetura ibm pc
 
Apresentação farma ago 11
Apresentação farma ago 11Apresentação farma ago 11
Apresentação farma ago 11
 
Nutrição Unisinos
Nutrição UnisinosNutrição Unisinos
Nutrição Unisinos
 
Arquitetura ibm pc
Arquitetura ibm pcArquitetura ibm pc
Arquitetura ibm pc
 
Ead Dupla
Ead   DuplaEad   Dupla
Ead Dupla
 
0165 k2 b_mobile_la_empresa_en_sus_manos
0165 k2 b_mobile_la_empresa_en_sus_manos0165 k2 b_mobile_la_empresa_en_sus_manos
0165 k2 b_mobile_la_empresa_en_sus_manos
 

Semelhante a Minicourse - RiPLE : The RiSE Process for Product Line Engineering

7 - Architetture Software - Software product line
7 - Architetture Software - Software product line7 - Architetture Software - Software product line
7 - Architetture Software - Software product lineMajong DevJfu
 
PLE-Business-Overview-Schmid
PLE-Business-Overview-SchmidPLE-Business-Overview-Schmid
PLE-Business-Overview-SchmidKlaus Schmid
 
Cincom Smalltalk News
Cincom Smalltalk NewsCincom Smalltalk News
Cincom Smalltalk NewsESUG
 
Howard Gebb Resume
Howard Gebb ResumeHoward Gebb Resume
Howard Gebb ResumeHoward Gebb
 
Does the Cloud Change Anything? What can be learned from the Changing Enterpr...
Does the Cloud Change Anything? What can be learned from the Changing Enterpr...Does the Cloud Change Anything? What can be learned from the Changing Enterpr...
Does the Cloud Change Anything? What can be learned from the Changing Enterpr...Flexera
 
What is the Siemens Open Library, and How it Decreased Development Time for E...
What is the Siemens Open Library, and How it Decreased Development Time for E...What is the Siemens Open Library, and How it Decreased Development Time for E...
What is the Siemens Open Library, and How it Decreased Development Time for E...DMC, Inc.
 
PDD-CH-3 product design and development
PDD-CH-3  product design and developmentPDD-CH-3  product design and development
PDD-CH-3 product design and developmentRashmiSN9
 
Open Product Lines - Frank van der Linden, Philips
Open Product Lines - Frank van der Linden, PhilipsOpen Product Lines - Frank van der Linden, Philips
Open Product Lines - Frank van der Linden, Philipsmfrancis
 
ppt_se.bdfhrfykjyftiktgdukhydiyiuoyu8otrfu
ppt_se.bdfhrfykjyftiktgdukhydiyiuoyu8otrfuppt_se.bdfhrfykjyftiktgdukhydiyiuoyu8otrfu
ppt_se.bdfhrfykjyftiktgdukhydiyiuoyu8otrfutubashaikh26
 
2014-wso2 platform-v1.1.0
2014-wso2 platform-v1.1.02014-wso2 platform-v1.1.0
2014-wso2 platform-v1.1.0aaronwso2
 
Software engineering.pptx
Software engineering.pptxSoftware engineering.pptx
Software engineering.pptxJAGADEESWARIS6
 
Chpter 2 manufacturing environment
Chpter 2 manufacturing environmentChpter 2 manufacturing environment
Chpter 2 manufacturing environmentshibasunar
 
Ecotech Presentation.pdf
Ecotech Presentation.pdfEcotech Presentation.pdf
Ecotech Presentation.pdfJobPuneRS
 
SPM Lecture 1 - Introduction
SPM Lecture 1 - IntroductionSPM Lecture 1 - Introduction
SPM Lecture 1 - IntroductionGarm Lucassen
 
Software Product Lines by Dr. Indika Kumara
Software Product Lines by Dr. Indika KumaraSoftware Product Lines by Dr. Indika Kumara
Software Product Lines by Dr. Indika KumaraThejan Wijesinghe
 

Semelhante a Minicourse - RiPLE : The RiSE Process for Product Line Engineering (20)

7 - Architetture Software - Software product line
7 - Architetture Software - Software product line7 - Architetture Software - Software product line
7 - Architetture Software - Software product line
 
productdesign.ppt
productdesign.pptproductdesign.ppt
productdesign.ppt
 
PLE-Business-Overview-Schmid
PLE-Business-Overview-SchmidPLE-Business-Overview-Schmid
PLE-Business-Overview-Schmid
 
The Future of DevOps and UrbanCode
The Future of DevOps and UrbanCodeThe Future of DevOps and UrbanCode
The Future of DevOps and UrbanCode
 
Cincom Smalltalk News
Cincom Smalltalk NewsCincom Smalltalk News
Cincom Smalltalk News
 
Howard Gebb Resume
Howard Gebb ResumeHoward Gebb Resume
Howard Gebb Resume
 
Does the Cloud Change Anything? What can be learned from the Changing Enterpr...
Does the Cloud Change Anything? What can be learned from the Changing Enterpr...Does the Cloud Change Anything? What can be learned from the Changing Enterpr...
Does the Cloud Change Anything? What can be learned from the Changing Enterpr...
 
What is the Siemens Open Library, and How it Decreased Development Time for E...
What is the Siemens Open Library, and How it Decreased Development Time for E...What is the Siemens Open Library, and How it Decreased Development Time for E...
What is the Siemens Open Library, and How it Decreased Development Time for E...
 
PDD-CH-3 product design and development
PDD-CH-3  product design and developmentPDD-CH-3  product design and development
PDD-CH-3 product design and development
 
Open Product Lines - Frank van der Linden, Philips
Open Product Lines - Frank van der Linden, PhilipsOpen Product Lines - Frank van der Linden, Philips
Open Product Lines - Frank van der Linden, Philips
 
ppt_se.bdfhrfykjyftiktgdukhydiyiuoyu8otrfu
ppt_se.bdfhrfykjyftiktgdukhydiyiuoyu8otrfuppt_se.bdfhrfykjyftiktgdukhydiyiuoyu8otrfu
ppt_se.bdfhrfykjyftiktgdukhydiyiuoyu8otrfu
 
ppt_se.pdf
ppt_se.pdfppt_se.pdf
ppt_se.pdf
 
2014-wso2 platform-v1.1.0
2014-wso2 platform-v1.1.02014-wso2 platform-v1.1.0
2014-wso2 platform-v1.1.0
 
Software engineering.pptx
Software engineering.pptxSoftware engineering.pptx
Software engineering.pptx
 
Chpter 2 manufacturing environment
Chpter 2 manufacturing environmentChpter 2 manufacturing environment
Chpter 2 manufacturing environment
 
Ecotech Presentation.pdf
Ecotech Presentation.pdfEcotech Presentation.pdf
Ecotech Presentation.pdf
 
SPM Lecture 1 - Introduction
SPM Lecture 1 - IntroductionSPM Lecture 1 - Introduction
SPM Lecture 1 - Introduction
 
Sbs overview r4
Sbs overview r4Sbs overview r4
Sbs overview r4
 
1
11
1
 
Software Product Lines by Dr. Indika Kumara
Software Product Lines by Dr. Indika KumaraSoftware Product Lines by Dr. Indika Kumara
Software Product Lines by Dr. Indika Kumara
 

Mais de Vanilson Buregio

Ensinando e Aprendendo com Tecnologia: Como Inovar em Sala de Aula?
Ensinando e Aprendendo com Tecnologia: Como Inovar em Sala de Aula?Ensinando e Aprendendo com Tecnologia: Como Inovar em Sala de Aula?
Ensinando e Aprendendo com Tecnologia: Como Inovar em Sala de Aula?Vanilson Buregio
 
2013 05-27-arquitetura uma-questao_de_estilo_nti-vaab
2013 05-27-arquitetura uma-questao_de_estilo_nti-vaab2013 05-27-arquitetura uma-questao_de_estilo_nti-vaab
2013 05-27-arquitetura uma-questao_de_estilo_nti-vaabVanilson Buregio
 
Socm_www2013: Social Machines: A Unified Paradigm to describe Web-Oriented Sy...
Socm_www2013: Social Machines: A Unified Paradigm to describe Web-Oriented Sy...Socm_www2013: Social Machines: A Unified Paradigm to describe Web-Oriented Sy...
Socm_www2013: Social Machines: A Unified Paradigm to describe Web-Oriented Sy...Vanilson Buregio
 
Software, abstração de que?
Software, abstração de que?Software, abstração de que?
Software, abstração de que?Vanilson Buregio
 
C.R.U.I.S.E. - Component Reuse In Software Engineering
C.R.U.I.S.E. - Component Reuse In Software EngineeringC.R.U.I.S.E. - Component Reuse In Software Engineering
C.R.U.I.S.E. - Component Reuse In Software EngineeringVanilson Buregio
 
Arquitetura, implementações além do "concreto"?
Arquitetura, implementações além do "concreto"?Arquitetura, implementações além do "concreto"?
Arquitetura, implementações além do "concreto"?Vanilson Buregio
 
Sem tempo, sem foco, sem respostas... e agora?!
Sem tempo, sem foco, sem respostas... e agora?!Sem tempo, sem foco, sem respostas... e agora?!
Sem tempo, sem foco, sem respostas... e agora?!Vanilson Buregio
 
Arquitetura, uma questão de "estilo"?
Arquitetura, uma questão de "estilo"?Arquitetura, uma questão de "estilo"?
Arquitetura, uma questão de "estilo"?Vanilson Buregio
 

Mais de Vanilson Buregio (10)

Ensinando e Aprendendo com Tecnologia: Como Inovar em Sala de Aula?
Ensinando e Aprendendo com Tecnologia: Como Inovar em Sala de Aula?Ensinando e Aprendendo com Tecnologia: Como Inovar em Sala de Aula?
Ensinando e Aprendendo com Tecnologia: Como Inovar em Sala de Aula?
 
13socm04 buregio
13socm04 buregio13socm04 buregio
13socm04 buregio
 
Socm2013 collective memo
Socm2013 collective memoSocm2013 collective memo
Socm2013 collective memo
 
2013 05-27-arquitetura uma-questao_de_estilo_nti-vaab
2013 05-27-arquitetura uma-questao_de_estilo_nti-vaab2013 05-27-arquitetura uma-questao_de_estilo_nti-vaab
2013 05-27-arquitetura uma-questao_de_estilo_nti-vaab
 
Socm_www2013: Social Machines: A Unified Paradigm to describe Web-Oriented Sy...
Socm_www2013: Social Machines: A Unified Paradigm to describe Web-Oriented Sy...Socm_www2013: Social Machines: A Unified Paradigm to describe Web-Oriented Sy...
Socm_www2013: Social Machines: A Unified Paradigm to describe Web-Oriented Sy...
 
Software, abstração de que?
Software, abstração de que?Software, abstração de que?
Software, abstração de que?
 
C.R.U.I.S.E. - Component Reuse In Software Engineering
C.R.U.I.S.E. - Component Reuse In Software EngineeringC.R.U.I.S.E. - Component Reuse In Software Engineering
C.R.U.I.S.E. - Component Reuse In Software Engineering
 
Arquitetura, implementações além do "concreto"?
Arquitetura, implementações além do "concreto"?Arquitetura, implementações além do "concreto"?
Arquitetura, implementações além do "concreto"?
 
Sem tempo, sem foco, sem respostas... e agora?!
Sem tempo, sem foco, sem respostas... e agora?!Sem tempo, sem foco, sem respostas... e agora?!
Sem tempo, sem foco, sem respostas... e agora?!
 
Arquitetura, uma questão de "estilo"?
Arquitetura, uma questão de "estilo"?Arquitetura, uma questão de "estilo"?
Arquitetura, uma questão de "estilo"?
 

Último

THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 

Último (20)

THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 

Minicourse - RiPLE : The RiSE Process for Product Line Engineering

  • 1. DO MOREDO MORE w w w . r i s e . c o m . b r
  • 2. RiPLE: The RiSE Process for Product Line Engineering Eduardo Almeida, Marcela Balbino, Danuza Neiva, Ednaldo Dilorenzo, Paulo Silveira, Ivan Machado, Thiago Burgos, Vanilson Burégio, Silvio Meira 2Sep 10th 2009 SBCARS 2009 – Natal - Brazil
  • 3. Agendag • Part I – Software Process – Introduction to RiPLE – Software Product Lines: An overviewSoftware Product Lines: An overview – RiPLE process • Riple-SC Ri l RE• Riple-RE • Riple-DE • Part II – RiPLE process (cont.) • Riple-TE • Riple EM• Riple-EM – Case Study – Conclusion – Future Directions
  • 4. Software ProcessSoftware Process 4Sep 10th 2009 SBCARS 2009 – Natal - Brazil
  • 5. Software Process • Software Development – complex systems time to market– time-to-market – distributed development – …. • Expertsp • Turnover
  • 6. Software Process – cont. • Importance – Who What– What – When – How • Users • Organization
  • 7. Software Process – cont. • A software process is a set of activities that leads to the production of a software product • Influences – Project | Methods | Tools– Project | Methods | Tools – Knowledge – Cost – Contract – ….. [Sommerville, 2008]
  • 8. Software Process – cont. • Process Model – Software Reuse • Why a new process?
  • 10. The State-of-the-Art – cont. • Systematic Reviews – Scoping • in evaluationin evaluation – Requirements • in evaluation Design– Design • European Conference on Software Architecture (ECSA 2008) – Testing • in evaluation – Evolution • in evaluation – Tools • Journal of Information and Software technology 2009
  • 11. RiPLE – The RiSE Process for Product Line Engineering
  • 13. RiPLE – RiSE Product Line Engineering Process • Stepsp – Core Assets Development – Product Development • Concepts D i– Domain – Feature • Foundations – Process ModelProcess Model – Domain-driven – Iterative | Incremental
  • 14. RiPLE – cont. • Elements – Guidelines Principles– Principles – Language – Roles – Assets – Activities
  • 15. Software Product Lines (SPL)Software Product Lines (SPL) 15Sep 10th 2009 SBCARS 2009 – Natal - Brazil
  • 16. A little bit of history… 16
  • 17. The basis of Product Line Engineering....g g • Henry Ford • “The father of assembly-line automation” • Model T production (1908) • Main concept: Interchangeble parts • based on the ideas of Honoré Blanc and Eli Whitney • Streamlined the production process
  • 18. The Economy of scale!y • Line of motor cars • affordable, built quickly, high quality “A h“Any customer can have a car painted any colour th t h t lthat he wants so long as it is black” - Henry Ford
  • 19. The Economies of scale! • Line of motor cars • affordable, built quickly, high quality “A h“Any customer can have a car painted any colour th t h t lthat he wants so long as it is black” - Henry Ford C t i h i hCertain choices where extremely limited!
  • 20. Product Line Engineering (PLE)g g ( ) • Economies of Scope • Mass customization: producing goods and services to meet individual customersmeet individual customers needs • Create an underlying architecture for an Economies of l Economies of organization's product platform scale scope multiple identical instances of a i l d i multiple similar but distinct d i d • Core assets can be reused to engineer new products from the single design are produced collectively, rather than individually designs and prototypes are produced collectively, rather engineer new products from the basic family y y, than individually
  • 21. Software Product Lines (SPL)( ) • Based on the ideas of PLE i bilit• Fundamental principle: variability management • Allows to adapt a product to• Allows to adapt a product to the customer needs • Adaptation is typically performed during SPL development
  • 22. The roots.... • On the Design and Development of Program Families Parnas, D.L.;, ; IEEE Transactions on S ft E i iSoftware Engineering, Vol. 02, Issue 01, March 1976, pp. 1 - 9 David Lorge ParnasDavid Lorge Parnas
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28. Software Product Lines “A software product line is a set of software-intensive“A software product line is a set of software-intensive systems sharing a common, managed set of features that satisfy the specific needs of a systems sharing a common, managed set of features that satisfy the specific needs of a particular market segment or mission and that are developed from a common set of core particular market segment or mission and that are developed from a common set of core assets in a prescribed way. Paul Clements and Linda Northrop 2002 assets in a prescribed way. Paul Clements and Linda Northrop 2002Paul Clements and Linda Northrop, 2002Paul Clements and Linda Northrop, 2002
  • 29. Essential Factors • Investment • Planning • Direction • Business Strategy M tManagement
  • 30. Is Product Lines a new approach? • Small-Grained Reuse • Single-System Development with Reuseg y p • Component-Based Development • Reconfigurable Architecture R l d i f• Release and versions of Single Products
  • 31. Organizational BenefitsOrganizational Benefits • To achieve large-scale productivity gains • To improve time-to-market • To maintain market presence • To improve product quality • To increase customer satisfaction • To achieve reuse goals • To enable mass customization
  • 32. Product Line asset repository Benefits • Requirements • Architecture • Components • Modeling and Analysis • Testing • Planning
  • 34. Core Asset Development Core Asset Development Management
  • 35. Core assets • Core assets are the basis for production of products in• Core assets are the basis for production of products in the product line • Core assets – Architecture {scope, styles, patterns, and frameworks} – Components – Test plans, Test cases – DocumentationDocumentation – Domain models – Requirements C i l ff th h lf (COTS) t– Commercial off-the-shelf (COTS) components
  • 36. Production Plan A d ti l d ib h th d t• A production plan describes how the products are produced from the core assets – {reuser’s guide}{reuser s guide} • A Set of attached process {with the glue}A Set of attached process {with the glue} • Production Plan describes: – Tools – Metrics, Metric Plan
  • 38. Management • Critical role in the successful fielding of a product line • Technical – Core asset developmentCore asset development – Product development • Organizational – Trainingg – Funding – Risks
  • 39. Some Successful CasesSome Successful Cases
  • 40. P d Li H ll f FProduct Line Hall of Fame http://www.sei.cmu.edu/productlines/plp_hof.html
  • 41.
  • 42. Nokia: Mobile Phones • Case study – Mobile phones • Previous scenario – The initial software architecture for this product line addressed variations in hardware, communication standards, and user interfacesinterfaces
  • 43. Nokia: Mobile Phones • Challenges – Language Challenge Abstract – The Hardware Challenge The Feature Challenge– The Feature Challenge • Strategies• Strategies – The current architecture is component based in the client- server style It allows separate service providers to be pluggedserver style. It allows separate service providers to be plugged in or taken out without restarting the system
  • 44. Nokia: Mobile Phones • Current Scenario – 32 different phones are manufactured covering six different protocol standards, a wide variety of functional features and capabilities, different user interface designs, and many platforms and environmentsand many platforms and environments • Results and Metrics – Nokia Mobile Phones is the world's largest mobile phone manufacturer, and they believe that software product linemanufacturer, and they believe that software product line engineering has helped it to reach that position
  • 45. PHILIPS: Product Line of SW for TV Sets • Case study – Televisions sets • Previous scenario Whil i iti ll l l i ti f h d TV t i– While initially solely consisting of hardware, TVs now contain fully equipped embedded computers to control the hardware and to implement extra featuresand to implement extra features – These computers started small, with 1 kilobyte of code around 1980, resulting in many million lines of code today, g y y
  • 46. PHILIPS: Product Line of SW for TV Sets • Challenges – Complexity – Diversity, since televisions are produced in many different variants
  • 47. PHILIPS: Product Line of SW for TV Sets • Strategies – The first step was the definition of a software component d lmodel – The second step was the creation of a product line architecture – Changes had to be made to the existing development processes, which were optimized for the creation of single productsproducts – The fourth step was the adaptation of the development organization to accommodate product line developmentorganization to accommodate product line development
  • 48. PHILIPS: Product Line of SW for TV Sets • Current Scenario – Since 2002, all Philips' mid-range and high-end televisions have software derived from this product line – The product line supports three different hardware platformsp pp p • Results and Metrics – Today, there are 20 different software releases per year where each release serving 1-5 differentyear, where each release serving 1 5 different product types
  • 49. Background – Importantg p Concepts 49Sep 10th 2009 SBCARS 2009 – Natal - Brazil
  • 50. Motivation • Variability – The ability or the tendency to change • Variability modelling – Goal: To support the development and the reuse of variable development assets – Iterative processIterative process • Abstraction levels –– CommonCommon and VariableVariable features of the domain {spl} are identified Domain requirements– Domain requirements – Domain architecture – Implementation – Test • Where –– DomainDomain engineeringengineering {definition} A li ti i i { l it d}– Application engineering {exploited} • Defining variability – The sumsum ofof allall activitiesactivities concerned with the identification and documentation ofThe sumsum ofof allall activitiesactivities concerned with the identification and documentation of variability
  • 51. Definitions • Managed Variability – Defining and exploiting variability throughout the different life cycle stages of a spl – IssuesIssues • Supporting activities concerned with defining variability • Managing variable assets • Supporting activities concerned with resolving variability • Collecting storing and managing trace information necessary to fulfil these tasksCollecting, storing, and managing trace information necessary to fulfil these tasks • Examples –– A softwareA software componentcomponent cancan supportsupport differentdifferent implementationsimplementations – A search can be active oror passivep – A GUI component for threethree differentdifferent mobile phones • How to identify variability? –– WhatWhat doesdoes varyvary??WhatWhat doesdoes varyvary?? • Variability subject – is a variable item of the real world or a variable property of such na item –– WhyWhy does itdoes it varyvary?? •• StakeholderStakeholder needsneeds technicaltechnical reasonsreasons marketmarket•• StakeholderStakeholder needsneeds,, technicaltechnical reasonsreasons,, marketmarket –– HowHow does itdoes it varyvary?? • Variability object – is a particular instance of a variability subject Examples• Examples – Variability subject - Search – Variability object – Active, Passive, Content...
  • 52. Definitions (cont.) • Variation Point – It is a representation of a variability subject within domain assets enriched by contextual informationIt is a representation of a variability subject within domain assets enriched by contextual information • Variant – It is a representation of a variability object within domain assets • Variation Point and Variants – Used to define the variability of a domain [spl] • How to identify them? 1. To identify the item of the real world that varies {variability subject} 2 To define a variation point2. To define a variation point 3. To define the variants • Examplesp – Customers, Analysts, Researchers.... – Search: “Passive”, “Active” {1} – Variation Point –Search Types – Variants – Passive, Active, Content, Facets, Keywords....Variants Passive, Active, Content, Facets, Keywords....
  • 53. Definitions (cont.) • Variability in time – It is the existence of different versions of an asset that are valid at different times Si l i i d i { l} i i– Single-system engineering or domain {spl} engineering – Evolution {configuration management} • Variability in space – It is the existence of an asset in different shapes at the same time – Browsing {requirements, use cases, test cases, components...} – New trend in research • External and Internal Variability – External – visible to customers – Internal – hidden from customers L E V E R E F I N Customer needs… L S O F A N E M E N Design Requirements B S T . T Internal Variabilty Tests Components
  • 54. Documentation of Variability • Required information – What varies?– What varies? • Documentation of the variation points – Why does it vary?Why does it vary? • Textual annotations of variation points and variants – How does it vary?How does it vary? • Documenting the available variants and linking them to domain elements – For whom is it documented?For whom is it documented? • Benefits – Decision making – Communication – Traceabilityy
  • 55. Variability constraints • Variant constraint dependency – Variant requires variantq • Notification x Interest – Variant excludes variant • Variant to Variation Point constraint dependency – Variant requires variation pointVariant requires variation point • Asset publish x Access control – Variant excludes variation point • Variation Point constraint dependency – Variation Point requires Variation PointVariation Point requires Variation Point • Publish x Search – Variation Point excludes Variation Point
  • 56. Features and Feature Model • Feature – An end-user-visible characteristic of a system – A distinguishable characteristic of a concept that is relevant to some stakeholder of– A distinguishable characteristic of a concept that is relevant to some stakeholder of the concept • Elements• Elements – Feature diagram – Feature definitions – Composition rules – Rationale for features
  • 58. Feature Modeling: The importance • Reusable software – Variability • Key technique• Key technique – To Identify and capture variability • To avoid – Relevant features and variations points are not included in the reusable softwaresoftware – Many features and variations points are included but never used {complexity, costs}
  • 59. Feature Models • Represents the common and the variable features of concept i t dinstances and ... • Dependencies between the variable featuresDependencies between the variable features • Elements – Feature Diagram – Semantic descriptions of each features – Client programs – Exemplar systems – Constraints – Priorities
  • 60. Feature Diagrams (cont.) Mandatory Features C f2f1 f4f3 Feature set {C f f f f }Feature set {C, f1, f2, f3, f4}
  • 61. Feature Diagrams (cont.) Optional Features C f2f1 f3 Feature set {C} {C f } {C f f } {C f } {C f f } {C f f f }Feature set {C} , {C, f1}, {C, f1, f3}, {C, f2}, {C, f1, f2}, {C, f1, f3, f2}
  • 62. Feature Diagrams (cont.) Alternative Features C f1 f2 f3 f4 f5 Feature set {C f f } {C f f } {C f f } {C f f } {C f f } {CFeature set {C, f1, f3} , {C, f1, f4}, {C, f1, f5}, {C, f2, f3}, {C, f2, f4}, {C, f2, f5}
  • 63. RiPLE – The RiSE Process for Product Line Engineering
  • 64. RiPLE • RiPLE-SC: Scoping RiPLE RE R i t• RiPLE-RE: Requirements RiPLE DE D i• RiPLE-DE: Design RiPLE TE T t• RiPLE-TE: Test RiPLE EM E ol tion• RiPLE-EM: Evolution
  • 66. Scoping on SPLp g • What is Scoping?What is Scoping? – It is the initial phase of a SPLp – It aims to identify products, features, potential of the domain and reusable assets Wh S i ?• Why Scoping? It determine the viability of the SPL– It determine the viability of the SPL – It maximizes the economical value of the SPL
  • 67. Software Product Lines (SPL) and Agile Methods (AM)( ) g ( ) A SPL aims to determine a set of products and features associated• A SPL aims to determine a set of products and features associated and have as base a reusable platform • AM are a set of methods that have how base the values defined by the Agile Manifesto, these are: – individuals and interactions over processes and tools; – working software over comprehensive documentation; – customer collaboration over contract negotiation; and – responding to change over following a plan • But in spite of clear differences both can have their particularBut, in spite of clear differences, both can have their particular benefits joined in search of a same objective 67
  • 68. RiPLE - SC • Motivation – Lack of a complete scoping process which maximize the t ti l f th i AM d SPLpotential of the union among AM and SPL G lGoal – To define an agile scoping process by providing phases, tasks, i t t t l d id li f t ti finputs, outputs, roles and guidelines for construction of a planning iterative and incremental which use as base agile aspects, making possible determine of form agile a scope which maximize the economical return with the SPL
  • 69. RiPLE - SC :: Overview • It is performed in an iterative and incremental way using agile values, principles and techniques • It is defined in a systematic way
  • 70. RiPLE - SC :: Overview • The RiPLE-SC consists of four main phasesp – Pre-Scoping – Domain Scoping P d t S i– Product Scoping – Assets Scoping • The roles are relevant in these phases – Scoping expertp g p – Customer – Domain expert Marketer– Marketer – Developer – Architect – SPL manager
  • 71. RiPLE - SC :: Pre-Scopingp g • Pre-Scoping meeting – It defines stakeholders and respective roles It identifies business goals– It identifies business goals – It identifies the organizational and operational contexts • Analyze Market – It is optional – Analyze market is not a trivial task – The marketers’ knowledge about the tendencies of the domain market segments in which the product lines are inserted is essentialmarket segments in which the product lines are inserted is essential in this phase
  • 72. RiPLE - SC :: Domain Scopingp g • It is defined in a workshop of domain analysis f• It aims to identify the domains and sub-domains more relevant for SPL • The workshop presents four well-defined steps Review domains– Review domains – Identify sub-domains – Analyze sub-domains andy – Prioritize domains and sub-domains
  • 73. RiPLE - SC :: Product Scopingp g • The goal is to identify the products more relevant for SPL and their features • Five tasks Identify products– Identify products – Construct user stories – Identify featuresy – Features review meeting and – Construct product map
  • 74. RiPLE - SC :: Product Scoping – Product Mapp g p
  • 75. RiPLE - SC :: Assets Scopingp g • The goal of the assets scoping is to determine an appropriate set of assets for product line • Three tasks:• Three tasks: – Create metrics of characterization and benefit – Apply metricsApply metrics – Prioritize product map
  • 76. RiPLE - SC :: Assets Scopingp g E l f h t i ti d b fit t i i i• Example of characterization and benefit metrics in a generic domain:
  • 78. Introduction • Software Product Lines – Activities • Requirements Engineering – More products and stakeholders – Attention to variabilities and commonalities – Lack of a systematic process (Clements and Northrop, 2001) 78
  • 80. RiPLE-RE :: Activity Model Scopey Tasks 80
  • 81. RiPLE-RE :: Task Elicit • Identifying commonalities and variabilities Id tif i f t d• Identifying future needs • Information source x Context 81
  • 82. RiPLE-RE :: Task Model Feature Types Constraints 82
  • 83. RiPLE-RE :: Task Verifyy Incompleteness, inconsistency, ambiguity, traceability d t d di ti i th DRSand standardization in the DRS Instantiated DRS is useful to verify the consistency, completeness and ambiguities Verification Report • - Problem type, cause and severity 83
  • 84. RiPLE-RE :: Activity Define Requirementsy Tasks 84
  • 85. RiPLE-RE :: Task Describe Requirements [1] Variability Scope – Whole requirement (Mandatory and variant) – Requirement text fragment (Variation Point) Requirement Attributes – Id Point Variation Attributes – Id – Type – Name – Variability Type – Description – Variants – CardinalityVariability Type – Binding Time – Priority R ti l Cardinality – Binding Time – Implication E l i– Rationale – Description – Implication – Exclusion 85 – Exclusion
  • 86. RiPLE-RE :: Task Describe Requirements [3] • Template in XML 86
  • 87. RiPLE-RE :: Task Describe Requirements 87
  • 88. 88
  • 89. RiPLE-RE :: Activity Define Use Casesy Tasks 89
  • 90. RiPLE-RE :: Task Describe Use Cases [1] • Variability Scope – Whole use case (Mandatory and variant) – Use case part (Variation Point) Use Case Attributes Point Variation Attributes – Id – Name – Variability Type – Main Flow – Alternative Flow E ception Flo – Id – Description Cardinalityy yp – Binding Time – Rationale Actors – Exception Flow – Post Conditions – Implication – Cardinality – Variants – Binding Time – Actors – Dependency – Preconditions – Exclusion – Implication – Exclusion 90
  • 91. RiPLE-RE :: Task Describe Use Case oint ations riationP mallvaria Var insm 91
  • 92. RiPLE-RE :: Traceabilityy External Association Composition Implication Exclusion Internal Association 92
  • 95. RiPLE-DE Overview • The main purpose is to be pluggable Req irements implementation e ol tion– Requirements, implementation, evolution • InputsInputs – Features model (Mandatory) – Stakeholders list (Mandatory) – Non-functional requirements (Mandatory) – Quality scenarios (Optional) D i i t (O ti l)– Domain requirements (Optional) – Domain use cases (Optional) • Outputs – Domain Specific Software Architecture (DSSA)p ( ) – Quality Scenarios Document
  • 96. Architectural Drivers Identification • Develop quality scenarios (If not provided) • Identify main features • Identify main quality attributes
  • 97. Architecture Details Definition • Define which architectural views will be documented and in which level of details based on stakeholders list St t l i (M d t )– Structural view (Mandatory) – Behavioral view (Mandatory) – Process view (Optional)Process view (Optional)
  • 99. Architecture Details Definition • View Levels – Structural View • Low: modules definition • Medium: modules and component definitions • High: modules, components, and classes – Behavioral View • Low: main sequence diagramsq g • High: sequence diagrams for all use cases Process Vie– Process View • Low: main processes activities of the domain • High: all processes activities of the domain• High: all processes activities of the domain
  • 100. Represent Architecture • Structural View – Consists of defining modules, components, and classes with its i bilitvariability
  • 101. Structural View • Components are defined based on the feature d lmodel • Groups of features are defined to form a component • The group top level feature defines the t i bilitcomponent variability
  • 102. Structural View • Classes are defined according to the features l ti hi i threlationship using the guideline proposed by [Almeida2007][Almeida2007]
  • 103. Behavioral View D fi di b d l d fi d i• Define sequence diagrams based on classes defined in structural view and the messages variability • Variant messages are represented with the variant id• Variant messages are represented with the variant id stereotype.
  • 104. Process View • Define the main process for the domain • Define process variabilities• Define process variabilities • It is not mandatory if the domain does not have complex processes
  • 105. Identify Design Decisionsy g • Consists of identifying and recording the main architectural decisions for the domain – Ex.: Programming language – Application server • Useful for avoiding architecture deprecation • It can be defined during all the process life cycle• It can be defined during all the process life cycle
  • 107. Introduction • Software Product Line Testing – Testing as a Software Quality instrument • Assist developers to identify faults• Assist developers to identify faults • Determine whether a product can perform as specified by its requirements – Peculiar Aspects to Product Lines • Examines Core Assets • Examines Product Specific Software• Examines Product-Specific Software • Interactions among them – Responsibilities distribution across the organizationp g – Planning looking at extracting strategic reuse benefits Source: [Clements, 2001], [McGregor, 2001] 107
  • 108. Testing Strategiesg g • Testing Product by Product – Critical Systems • Incremental Testing of Product Families R i T ti– Regression Testing • Reusable Asset Instantiation – Test Assets created in CAD • Division of Responsibilities• Division of Responsibilities – CAD and PD 108 Source: [Tevanlinna, 2004]
  • 109. The RiPLE Testing Processg • Testing considered along the Software Dev. Lifecycle – Testing Phases X Development Phases Traceability is truly necessary– Traceability is truly necessary – Variability concerns must be handled • Interaction with other RIPLE disciplines – Scoping – RIPLE-SCScoping RIPLE SC – Requirements – RIPLE-RE – Analysis & Design – RIPLE-DE – Implementation - RIDE – Evolution – RIPLE-EM 109
  • 110. The RiPLE Testing Processg Core Asset Development RiPLE- RE RiPLE- DE RiDE RiPLE- TE RiPLE- SC RiPLE- EM Req. Design Impl. RiPLE- TE Product Development 110
  • 111. The RiPLE Testing Processg • Testing Roles – Test Manager Test Architect– Test Architect – Test Analyst – Tester One can assume more than a role as well as a • Other Stakeholders – Developer than a role as well as a role can be assumed by more than one individual. – Customer – Software Architect P j t M– Project Manager – Requirements Analyst – Configuration Manager 111 Configuration Manager
  • 112. The RiPLE Testing Processg • Testing Artifacts – Test Plans Test Cases– Test Cases – Test Reports – Test Logsg – Test Scripts – Test Suites 112 Source: [IEEE, 1998], [McGregor, 2001], [Clements, 2001], [Pressman, 2005],
  • 113. The RiPLE Testing Processg Test Planning Static Analysis Unit Testing Integration T ti (CAD) CADCAD Testing (CAD) System Testing AcceptanceIntegration System Testing TestingTesting (PD) PDPD 113
  • 114. The RiPLE Testing Processg CADCAD Test Planning • Scope, Approach, Resources, Schedule • Items and Features to be tested • Testing Tasks to be performed • Roles and Attributions • Risk Analysis 114
  • 115. The RiPLE Testing Processg CADCAD Static Analysis • Validate: – Feature Model – Use Cases and Requirements – Design F t D d– Feature Dependency • Checklists and Validation Meeting • We are not covering “Inspection” 115
  • 116. The RiPLE Testing Processg Integration CADCAD Unit Testing Integration Testing (CAD) • Activities – Plan Tests – Create Test Assets – Execute Tests R t T t– Report Tests • Regression Testing when necessary • A Component is considered a Unit in this approach• A Component is considered a Unit in this approach 116
  • 117. RiPLE-TE : Unit Testingg • Objective: – Exercises a unit (component) of code – Classes and methods integration • Source information Component Code– Component Code – Component Specification 117
  • 118. RiPLE-TE : Unit Testingg 118
  • 119. RiPLE-TE : Unit Testingg 119
  • 120. RiPLE-TE : Integration Testing (CAD)g g ( ) • Objective: – Reference Architecture Conformance (Code x Specification) Module Testing– Module Testing – Components integration testing • Source information – Architecture Specification (e.g.: Behavioral and Structural views)p ( g ) – Feature Model – Feature Dependency – Code 120
  • 121. RiPLE-TE : Integration Testing (CAD)g g ( ) • Integration Testing Strategies – Non-Incremental (Big-Bang) – Incremental • Bottom-up • Top-Down Depth-First • Depth-First • Breadth-First Breadth-First 121
  • 124. RiPLE-TE : Integration Testing (CAD)g g ( ) • Combinatorial Explosion 124
  • 125. The RiPLE Testing Processg PDPD System Testing Acceptance Testing Integration Testing (PD) • Activities – Plan Tests – Create Test Assets – Execute Tests R t T t– Report Tests • Regression Testing whenever necessary 125
  • 126. RiPLE-TE : Integration Test (PD)g ( ) • Objective: – Product Specific Components Integration Testing Product Architecture Testing– Product Architecture Testing • Source information• Source information – Product Map – Feature Model – Feature Dependency – Architecture Specification 126
  • 127. Architecture Regression Testingg g • Objective – Test the reference architecture after modification or evolution Conformance between product and reference architectures– Conformance between product and reference architectures – Test product specific architecture 127
  • 128. Types Of Regressionyp g Corrective Regression Progressive Regression • Specification is not changed • Specification is changed • Involves minor modification to code • Involves major modification Man test cases can be re sed Fe er test cases can be re sed• Many test cases can be reused • Fewer test cases can be reused • Invoked at irregular intervals • Invoked at regular intervals 128
  • 129. Regression Testing Approach steps 1/3g g pp p 1. Graph Generation – Control Flow Graph Control Dependency Graph– Control Dependency Graph – Program Dependency Graph – JIG (Java Interclass Graph)( p ) 2. Graph Comparison – Compare the graphs for each version of the software (Original and Modified) Identify critical paths– Identify critical paths 129
  • 130. Regression Testing Approach steps 2/3g g pp p 3. Changed Paths Analysis – Analysis the critical paths Classify existing Test Case– Classify existing Test Case • Obsolete • Reusable • Retestable 4. Instrumentation – To be sure about the test cases efficiency and coverage 130
  • 131. Regression Testing Approach steps 3/3g g pp p 5. Test Design – Design new test cases (Specification Changes) Update test cases– Update test cases 6. Test Suite Composition6. Test Suite Composition – Group Related Test Cases 7. Test Case Priorization – Critical Variabilities First – Features for a specific product – Specific architecture quality attribute 131
  • 133. RiPLE-EM :: Overview 2 Fl• 2 Flows – Core Assets Flow Product Flow– Product Flow • 3 Disciplines3 Disciplines – Change Management – Build Management – Release Management
  • 135. RiPLE-EM :: CADxPD Communication Th P i R (PR) i h• The Propagation Request (PR) is a way to propagate the evolution (changes made to an asset or product) of a certain asset or product to another asset or product.p p • It is managed by the change control tool used.
  • 136. RiPLE-EM CAD :: Macro Flow
  • 137. RiPLE-EM CAD :: Release PlanningRelease Planning • This activitiy is performed in parallel with the development, and it can be refined until theand it can be refined until the release execution moment
  • 138. RiPLE-EM CAD :: Macro Flow
  • 139. RiPLE-EM CAD :: Change Managementg g
  • 140. RiPLE-EM CAD :: Macro Flow
  • 141. RiPLE-EM CAD :: Build ManagementBuild Management
  • 142. RiPLE-EM CAD :: Macro Flow
  • 143. RiPLE-EM CAD :: Release Execution
  • 144. RiPLE-EM PD :: Macro Flow
  • 145. RiPLE-EM PD :: Release PlanningRelease Planning • This activitiy is performed in parallel with the development and it candevelopment, and it can be refined until the release execution moment
  • 146. RiPLE-EM PD :: Macro Flow
  • 147. RiPLE-EM PD :: Change ManagementChange Management
  • 148. RiPLE-EM PD :: Macro Flow
  • 149. RiPLE-EM PD :: Build Managementg
  • 150. RiPLE-EM PD :: Macro Flow
  • 151. RiPLE-EM PD :: Release Execution
  • 152. Case Study: Papers Managementy p g Software Product Line 152
  • 153. Motivation • Lack of accessible and integrated SPL processes – Isolated projects focused on specific issues Scope req irements design etc• Scope, requirements, design, etc... – Lack of details about the processes and their practical results • Integration and validation of the RiPLE process – Different disciplines have been developed by different studentsDifferent disciplines have been developed by different students – Necessity for validating each discipline and its interaction with others in a more practical way 153
  • 154. Main Goal • Creation of a comprehensive reference project – Dissemination of the reuse culture • Fully documented SPL (results available online) – Case study with international visibility – Acquisition and transference of knowledge among the participants – Improvement of the reuse/SPL techniques and tools 154
  • 155. First step: Domain SelectionFirst step: Domain Selection... 155
  • 156. Domain • Document submission systems – Submission – Review – Notification – Logginggg g – Report – ....
  • 157. Domain • Initial domain: paper submission – Easier to understand – Experts accessible • Some rise members developed applications in such domain – Variabilities enough to create a SPL – Conferences, journals, workshops, etc...p ,
  • 158. Involved peoplep p • Team – 13 people (reuse specialists) • 4 Ph.D students • 9 M.Sc. students9 M.Sc. students • 1 customer and 3 domain experts – Professors • Roles – Internal– Internal • SPL manager; SPL Engineers (SPL Architect, Developer,Testers); Requitements Analyst; Domain Analyst; Scoping Expert; SQA; CCB External– External • Domain Expert; Customer; End Users
  • 159. Schedule Phase Period Phase I – Implementation of core assets and an initial product May-09 - Oct-09 Phase II – Addition of new features and implementation of other products Oct-09 – Mar-10 Phase III – Inclusion of a new product in the product line Mar-10 – Aug-10 Ph I ti iti• Phase I – macro activities – Scope definition – Domain analysis Domain modeling– Domain modeling – Domain architecture – Identification of core assets – Core assets: implementation and componentization– Core assets: implementation and componentization – Initial product derivation – Process adaptation
  • 160. Overview of the process and artifacts Core Asset Development Management Non code assets Components (code) Feature model Reference Architecture SPL Plan RiPLE Process (EPF) Non‐code assets Use Cases Features Q li Product Map CM Plan Process (EPF) Scope docs Features Interaction Prototype Quality scenarios Project website Traceability matrix Test docs Product Development Product 1 Product 2 Product N Product Plan Product 1 Set of  features 1 Product 2 Risk Plan T i i Set of  features 2 Set of  features N ... May 23, 2013 Trainings
  • 161. Products: RiSE Chair Family • R-CHAIR• R-CHAIR – Conference management – Submission/revision procedures • R-CHAIR Plus – Journal management – Different submission/revision life cycle– Different submission/revision life cycle • Smart R-CHAIR – General event management – Papers reviewers are defined automatically (conflicts)
  • 163. Scopingp g • Main activities executed – Analysis of existing systems Identification of features– Identification of features – Identification of products – Creation of the product mapp p • Artifacts – Feature list, product map, products description
  • 164. Scoping: problems and solutions • Understanding the domain... – Analysis of existing systems– Analysis of existing systems • 11 systems analyzed • Different groups • Initial identification of features• Initial identification of features Tool URL C C // / /CyberChair http://borbala.com/cyberchair/ EasyChair http://www.easychair.org/ JEMS SBC https://submissoes.sbc.org.br/ Journal IET Software http://mc manuscriptcentral com/iet senJournal IET Software http://mc.manuscriptcentral.com/iet-sen IS Technology Journal http://ees.elsevier.com/infsof/ Agil FACEPE http://agil.facepe.br/ E-Fomento CNPq http://efomento cnpq br/efomento/E-Fomento CNPq http://efomento.cnpq.br/efomento/ Aptor Submission http://www.aptor.com.br/portal/eventos/submissao.php UFBA http://disciplinas.dcc.ufba.br/MATA63/ProjetoFinal CMT Microsoft http://cmt.research.microsoft.com/cmt/ Sigepe http://celepar7.pr.gov.br/fup/index.asp?fund=4
  • 165. Scoping: problems and solutionsp g p Initial list of features • Consolidation of the features Initial list of features (consolidated) – Problems with Features Definition – Granularity level – Lack of a “deep” knowledge ofp g the domain – the most experienced professionals were included in thep group of domain experts
  • 166. Scoping: problems and solutionsp g p • Identification of products and ti f th d t Product mapcreation of the product map – Lack of metrics to supportpp the decisions – What features should be included in the products?included in the products?
  • 167. Scoping - Contributionsp g • Main improvements to the RiPLE-SC – Pre-scoping phase – Identification of business goals – Domain scoping – Workshop of domain analysis – Prioritize domains and sub-domains – Product scoping – Features review meeting – Assets scoping – Create metrics of characterization and benefit – Prioritize product map
  • 169. Requirementsq • Main activities – Construction of the Feature Model – Identification, specification and validation of requirements and Use Cases – Contruction of the traceability matrix Split– Split
  • 170. Requirementsq • Artifacts – Feature model, requirements , use cases,, q , , traceability matrix
  • 171. Requirementsq • Problems and SolutionsProblems and Solutions – Redundancy of information (req x ucs x FM) Construction of tools to manage such redundancies and– Construction of tools to manage such redundancies and the xml specifications – Adaptation of the “Split tool” – Feature validation process – internal member responsible for validating the features before sending them to “external evaluation”
  • 172. Requirementsq • Problems and Solutions – Granularity level of the features (recurrent problem!) – Re-analysis of the feature model – Distinct feature models (abstraction level) – Using a model for each (major) stakeholder viewUsing a model for each (major) stakeholder view – Different tools were used
  • 173. Requirementsq • Problems and Solutions Difficult to identify variabilities in– Difficult to identify variabilities in screens – Solution: Prototypes Screen_UC03_VP1.V1-FromPrevious Screen_UC03_VP1.V2-FromScratch
  • 175. Designg • Main activities – Identification and priorization of quality attributes Definition of architectural views– Definition of architectural views – Specification of modules, components and classes
  • 176. Designg • Artifacts – Domain specific software architecture document; diagramsDomain specific software architecture document; diagrams (components, classes, modules) • core-business: submission, event management, revision Shared services: logging notification reporting accesscontrol• Shared services: logging, notification, reporting, accesscontrol – Specification of variabilities
  • 177. Designg • Quality scenarios documentation Scenarios > quality attibutes– Scenarios -> quality attibutes – Specification of variabilities in the scenarios
  • 178. Designg • Problems and solutions – Lack of a deploy view Non fuctional variants should be considered– Non-fuctional variants should be considered • It is important to stablish a limit • Otherwise the creation of an architecture could be inviable – Specification of features interactions • Modification dependencyp y • Concurrent dependency • Sequential dependency Decomposition and Generalization Dependency• Decomposition and Generalization Dependency • Usage dependency • Exclude dependency
  • 179. I l t tiImplementation 179
  • 180. Implementation • The architecture was divided in two p The architecture was divided in two layers The front end (gui): related to– The front-end (gui): related to the products Responsible for the product– Responsible for the product customization and “glue” – The back-end: related to the Product The back-end: related to the core assets – Common services– Common services – Business rules Core Assets 180 Core Assets
  • 181. Implementation: Technologiesp g • In the beginning of the implementation phase some technologies were discussed by the team • Front-end: FlexFront end: Flex – Rich interface – Flexibility to create new components • Variability can be developed – Easy integration with other technologies as Java • Back-end: Java – Maturity and team knowledge Java frameworks used:– Java frameworks used: • JPA using Hibernate  for the persistence • Spring  for the inversion of control of the application, transaction and security management 181 y g
  • 182. Implementation: Trainingsp g • Flex: a new technology for some members – Some trainings were necessary • Some trainings Flex concepts– Flex concepts – Flex and Java integration – Using of Cairngorm as the Flex MVC architectureg g 182
  • 183. Implementation: core assetsp • Core assets developed (8/13):p ( ) – Event Management – AccessControlService – DataAccessServiceDataAccessService – FileUploader – SubmissionManagementService PdfGenerator– PdfGenerator – ReportService – Notifier • The core assets were developed with Java – These components will be used by the productsp y p – Each product should have the user interface developed in Flex, as showed previously 183
  • 184. Implementation: Variabilitiesp • Decorator Design PatternDecorator Design Pattern – Optional variability type – Features: • Event (mandatory) • CreateEventFromScratch (variant – mandatory) • CreateEventFromPrevious (variant – optional)• CreateEventFromPrevious (variant – optional) • Dependency Injectiony j – OR variability type – Features: R t ( d t )• Report (mandatory) • PdfExtension type (variant - optional) • HtmlExtension (variant - optional)( p )
  • 185. Some data: time distribution S Process adaptations 7% Other activities Scope 23% Trainings 6% 7% 9% Requirements 23% Design 17% Implementation 15% Time distribuition 17% 120 140 160 180 200 Scope Requirements Design 40 60 80 100 120 Hours Design Implementation Trainings Process adaptations Other activities 0 20 Activities
  • 186. Some data • Scope – 3 products – 41 features identified • Requirementsq – 49 functional – 18 non-functional 28 use cases specified– 28 use cases specified – 23 screens (prototype) • Design – 15 quality scenarios – 13 components – 7 modules7 modules • Implementation – 8 core assets implemented 20 l– 20 classes
  • 187. General Issues and Lessons Learned • Feature definition and granularity level Th t h ld h th i i !– The team should share the same vision! • Domain expert Vs Experienced users – Two different concepts! • Initial SPL tasks can be time wasting • Difficult to follow the process – Lack of standardization among the RiPLE disciplines – Adaptations were peformed during the project • Big team and people idleg – Too many people to work in the same activity • Team motivation: conflict of interests • Difficulty of dealing with distribution
  • 188. Next Stepsp Phase I Phase II Phase III May-09 Out-09 Mar-10 Aug-10 We are here! • Derivation of products• Derivation of products • Validation of the RiPLE EM• Validation of the RiPLE-EM • Products evolution and derivation • Validation of the RiPLE-TE • Assets and products
  • 189. RiPLE Future DirectionsRiPLE – Future Directions 189
  • 190. New Directions • Research – Risk Management – Measurement – Feature InteractionFeature Interaction – Architecture Recovery – Quality Attributes Q lit– Quality • Inspection • Test case selection | priorization – Product Derivation – Introduction in Companies – Tools • Agile
  • 192. Conclusions • RiPLE – Scoping – Requirements – DesignDesign – Test – Evolution • Case Study – On going project You can participate!– You can participate! • Industrial case New directions• New directions
  • 193. More information • RiSE – www.rise.com.br • RiSE Labs – www.rise.com.br/research • INES – www.ines.org.br • World of Reuse – worldofreuse.blogspot.com/ • CRUiSE - http://cruise.cesar.org.br/ • Events• Events – WiRE – http://www.rise.com.br/eventos/wire2009/ – RiSS - http://riss.rise.com.br/
  • 194. RiPLE: The RiSE Process for Product Line Engineering Eduardo Almeida, Marcela Balbino, Danuza Neiva, Ednaldo Dilorenzo, Paulo Silveira, Ivan Machado, Thiago Burgos, Vanilson Burégio, Silvio Meira 194Sep 10th 2009 SBCARS 2009 – Natal - Brazil