rup and measurement activity
TRANSCRIPT
1 / 28
SMEF 2004
A Proposed Measurement A Proposed Measurement Role in the Rational Unified Role in the Rational Unified
Process and its Process and its Implementation with ISO Implementation with ISO
19761: COSMIC19761: COSMIC--FFPFFP
Saadi Azzouz, Alain AbranÉcole de Technologie Supérieure – ETS
Montréal, Québec, Canada.
[email protected] [email protected]
Software MeasurementSoftware Measurement
2 / 28
¤ Objective¤ Software size¤ Standard ISO 19761¤ RUP new measurement activity¤ Tool measurement basis¤ Solution¤ Results¤ Conclusion
SummarySummary
3 / 28
Objective
ISO 19761 Standard
Software size RUP Process
ISO 19761 functional size of software developed within
Rational Unified Process
Predict – Measure software size at the first steps of development process
Functional Size MeasurementFunctional Size Measurement
4 / 28
ISO 19761 Standard ISO 19761 Standard
COSMIC-FFPCommon Software Measurement International
Consortium - Full Function Point
5 / 28
Generic data flowCOSMIC-FFP phases
Measurement phase
Functionalsize of themeasuredsoftware
Mappingphase
FURs ofthe
softwareto be
measured
Measurement rules and
procedures
COSMIC-FFP functional size
model
Mappingrules and
procedures
COSMIC-FFP software FURs
model
Mapping phase Measurement phase
ISO 19761 StandardISO 19761 Standard
6 / 28
ISO 19761 StandardISO 19761 StandardGeneric data flow
Storage areaUsers
Back endSoftware to be measuredFront end
FP (FP (FunctionalityFunctionality))
Software
Devices
DG
Attr.E
X
DG
Attr.
W
R
7 / 28
RUP and measurement activityRUP and measurement activityThe process - Static structure
TemplatesToolMentorsGuidelines
Workflow
Artifact
Activity
Worker
Org
anizatio
na
lon
gco
nten
t
Organization along time
8 / 28
RUP and measurement activityRUP and measurement activity
Minor
control Point
Minor
control Point
Minor
control Point
Minor
control Point
Major control Point
Iteration 8
Iteration 7
Major control Point
Iteration 6
Iteration 5
Iteration 4
Major control Point
Iteration 3
Iteration 2
Major control Point
Iteration1
TransitionConstructionElaborationInception
The process - Dynamic structure
9 / 28
RUP and measurement activityRUP and measurement activityMeasurement activity
RA
TION
AL R
OS
E TOO
L
TOO
L FOR
AU
TOM
ATIN
G TH
E MEA
SU
REM
ENT
OF FU
NC
TION
AL S
IZE
User disciplinesToolsGenerator disciplines
Implementing, testing and deployment
Project management
Configuration management and change
management
1 2 3 4
LOCs
Business modeling
Requirements analysis
Analysis and Design
History of data basemeasurements
10 / 28
Automated measurement Automated measurement
Automation Automation isis veryvery useful useful but but needs oversightneeds oversight
COSMIC-FFP
The second step of measurement : The
scenario level
The third step of measurement : The Cosmic-FFP level
The first step of measurement : The Use case
level
RUP
11 / 28
Automated measurementAutomated measurementMapping of COSMIC-FFP concepts to UML
Layer 1
FP (FP (FunctionalityFunctionality))
Software
Devices
DGAttr.
W
RDGAttr.
E
X
Layer 2, …
Use case
Class
?
CO
SM
IC-F
FP
concepts UM
L Notation Actors Message
Properties
12 / 28
Automated measurementAutomated measurementMapping of COSMIC-FFP concepts to UML
COSMIC-FFP Concept UML equivalent
Class property PData attribute
UML class PData group
No UML equivalent (A new UML stereotype is created to distinguish a trigger event from a simple message in use-case diagrams )
Triggering event
Operation (message) PData movement
Use case PFunctional process
UML actor PCOSMIC-FFP user
No UML equivalent (Has to be identified manually)Software Layer
Use case diagram PSoftware boundary
13 / 28
Automated measurementAutomated measurementMeasurement levels
Unit convention
• Data movements
• Type (E,X,R,W)
• Scenarios• Objets
• Use-cases • Actors• Interactions
Precursor Indicators (numbers)
• Detailed scenarios
• Analyse & Design
• Scenariodiagrams
• Analyse & Design
• Use-case diagrams
• Business modeling
• Requirements analysis
RUP artifactsused
Development phase
Cfsu
Sfsu
Ufsu
HIG
H A
bstractio
n level
LOW
x Ufsu = y Sfsu = z Cfsu
14 / 28
Solution Overview Solution Overview
Tool basisTool basis : : Mapping of COSMICMapping of COSMIC--FFP FFP concepts to UML notationconcepts to UML notation
15 / 28
Solution OverviewSolution Overview
Measurement method
Standard ISO 19761(COSMIC-FFP)
Environnement
Rational UnifiedProcess
Artifacts for measurement
Rational Rose
Mapping ofCOSMIC-FFP concepts to
UML notation
Extraction tool
Rational Extensibility
Interface
Automation of COSMIC-FFP procedures and rules
Specifications for the
Automationtool
ObjectiveSoftware size, ISO19761, RUP
Architecture of the solution
16 / 28
Measurement activity
Solution Overview Solution Overview
Artefacts (Use cases, Scenario diagrams, …)Rational Rose
MeasurementTool
utility
MeasurementActivity
Auther activitiesActivities
TransitionConstructionElaborationInceptionPhases
17 / 28
Tool implementation
Target software
Functional sizeStored results
Editing / Printingresults
COSMIC-FFPRules and
Procedures
Artifacts of the project to be measured(in Rational Rose environment)
Solution OverviewSolution Overview
18 / 28
The three measurement levels
• Data movements .• Type (E,X,R,W, ?)
• Scenarios• Objects
• Use Cases• Actors• Use case interactions
COSMIC-FFP level(Cfsu)
Scenario level(Sfsu)
Use case level (Ufsu)
Stored results by software type (MIS, real time, embedded, etc.)
Analysis and synthesis
x Ufsu = y Sfsu = z Cfsu
Estimations : • Time,• Effort,• Costs, …
Solution OverviewSolution Overview
19 / 28
ResultsResults
IntegratingIntegrating thethemeasurement tool measurement tool
as an as an AddAdd--In toIn toRational RoseRational Rose
25 / 28
ConclusionConclusionAdvantages:¤ Measurement results at 3 levels of abstraction¤ Good results with Rice Cooker & Valve Control
case studiesðDelta = 1 cfsu between manual and automated
measurements
¤ Requires rigor in the specifications
Constraints:¤ Operates on one layer¤ Limited to Rational Rose tool
26 / 28
� A. Abran, J.M., Desharnais, S. Oligny, D. St-Pierre and C. Symons, "COSMIC FFP Measurement Manual - Version 2.2, The COSMIC Implementation Guide for ISO/IEC 19761: 2003," École de technologie supérieure – ETS, Montréal (Canada) 2003, p. 81. To download a copy: http://132.208.130.41/FFPguide/FFPGuideRegister.html� S. Azzouz, "Calcul avec ISO 19761 de la taille fonctionnel des logiciels développés avec Rational Unified Process", Master degree thesis report, Department of Computer Sciences, Université du Québec à Montréal, Montréal, Canada, 2003.� COSMIC Group, "Rice Cooker – Cosmic Group Case Study", École de technologie supérieure, Université du Québec, Montréal, Canada, January 26, 2003 version http://www.lrgl.uqam.ca/cosmic-ffp/casestudies/� COSMIC Group, "Valve Control System – Cosmic Group Case Study", École de technologie supérieure, Université du Québec, Montréal, Canada, January 25, 2003 version http://www.lrgl.uqam.ca/cosmic-ffp/casestudies/� G. Booch, J. Rumbaugh and I Jacobson. “The Unified Modeling Language User Guide,” Addison-Wesley , 1999� V. Béro, G. Lévesque and A. Abran, “Application de la méthode FFP à partir d’une spécification selon la notation UML: Comte-rendu des premiers essais d’application et questions,” p. 18� P. Kruchten, “The Rational Unified Process, an introduction,“ Addison Wesley, March 2000, p. 298.� P. Kruchten, “The RUP platform,” Montréal-SPIN,Montréal,Canada, Nov. 2003, p 33� M. Jenner, "Automation of Counting of Functional Size Using COSMIC-FFP in UML", 12th International Workshop on Software Measurement – IWSM 2002, Magdeburg, Germany, Oct. 7-9, 2002, pp. 43-51.
ReferencesReferences