SlideShare a Scribd company logo
1 of 22
COSMIC Approximate Sizing 
using a 
Fuzzy Logic Approach - 
A Case Study with 
Industry Participants 
Francisco Valdés Souto & Alain Abran 
École de Technologie Supérieure 
francisco.valdes.1@ens.etsmtl.ca 
alain.abran@etsmtl.ca 
© 2014 Valdés-Souto & Abran 1
The Sizing Problem 
FSM methods 
work best when 
the information 
to be measured– 
is fully known. 
Early phases: 
only non 
detailed 
information is 
available. 
2 
UC 
Identification 
FP 
Identification 
© 2014 Valdés-Souto & Abran
Henderson et al.: 
investigated the 
relationship 
between FP & 
KLOC 
Valdés et al. proposed 
a solution using the 
fuzzy logic model from 
[3-5], referred to as the 
EPCU model 
1992 1997 2003 2004 2007 2011 2012 2013 
Meli: 
A. Early Function 
Points (EFP), based 
on IFPUG 4.0, 
B. Extended FP (XFP): 
EFP & 3 correction 
factors. 
Related Works on 
Approximation of Functional Size 
Desharnais et al.: 
analysed 2 
techniques: Function 
Points Simplified (FPS) 
a& Backfiring 
Conte et al.: 
Early & Quick 
(E&Q) COSMIC - 
more tests 
needed to 
adjust or to 
confirm it 
Vogelezang et al. : study 
of 50 projects to define 
size bands using the 
quartile approach. 
Santillo: 
Analytic Hierarchy 
Process, for 
making choices 
among 
alternatives 
Almakadmeh: 
A framework to assign scaling factors 
for identifying the level of granularity 
of functional requirements 
specifications. 
The state of the art on approximate 
COSMIC FSM was discussed at 
IWSM/MENSURA 2013 
3 
© 2014 Valdés-Souto & Abran
2nd Generation FSM method: COSMIC & 
General Approach to Approximate Sizing 
© 2014 Valdés-Souto & Abran 4
Approximate Sizing Approaches 
in the COSMIC Measurement Manual 
Early sizing: 
• for use early in the 
life cycle of a project: 
– before the 
Functional User 
Requirements (FUR) 
are detailed and 
specified. 
Rapid sizing: 
• for use when there is 
not enough time to 
measure the 
required software 
using the standard 
method 
5 
© 2014 Valdés-Souto & Abran
Approximate Sizing Examples in the COSMIC 
Advanced & Related Topics Manual 
Example 1: Average Functional Process approach. 
Example 2: Fixed Size Classification approach. 
Example 3: Equal Size Bands approach. (Vogelezang: Refined 
Approximate or Quartile approach) 
Example 4: Average Use Case approach. 
Each example based on 2 main assumptions: 
1. Historical data exist for calculating the scaling factor (average, or 
size bands). 
2. The whole set of requirements is described, or at least there is a 
commitment, defined by the requirements, about the scope of 
the software to be developed. 
© 2014 Valdés-Souto & Abran 6
Example 3: Equal Size Bands approach 
• Historical data set: 
– 37 business application development projects, each having a total size 
greater than 100 CFP. (Vogelezang , 2007): 
• Quartile values of the Functional Process from this dataset: 
Small = 4.8 CFP, Medium =7.7 CFP, Large = 10.7, and Very 
Large = 16.4 CFP 
7 
© 2014 Valdés-Souto & Abran
8 
Fuzzy Logic EstimationModel 
© 2014 Valdés-Souto & Abran
Roles in the Fuzzy Logic Model 
The domain expert: 
• Selects the types of input & output variables 
• Selects the ranges of values for each variable 
• Assigns the inference rules between the 
inputs & output variables 
The estimator (junior or expert): 
• Select among the range of values of the input 
variables 
9 
© 2014 Valdés-Souto & Abran
Roles in the Fuzzy Logic Model 
The tool builder : 
• Selects: 
– the fuzzy logic maths options 
• Ex. Trapezoidal shape, triangle shape, etc 
– Fuzzification options 
– De-fuzzication options 
• Builds the estimation software tool as a shell 
for the variables selected by the domain 
experts 
10 
© 2014 Valdés-Souto & Abran
EPCU: Estimation of Projects in a Context of Uncertainty 
11 
Fuzzy Logic Estimation Model 
Tool used for this exploratory research: 
The fuzzy logic estimation model developed in the PhD 
thesis of Francisco Valdes in 2011: 
Model initially tested with the estimation of projects duration 
F. Valdés & A. Abran - IWSM-Mensura 2007 (Palma de Mallorca, Spain) 
© 2014 Valdés-Souto & Abran
EPCU Model with Fuzzy Logic 
Some characteristics of fuzzy logic estimation models 
(Valdés et al., 2007, 2010, 2011): 
1. Designed to deal with vague information (i.e. usually described by 
linguistic variables). 
2. Generates estimates with less dispersion than the experience-based 
approach. 
3. Enables a systematic replication: whatever the level of skills of the 
people who assign the values for the input variables. 
4. In the early phases (imperfect information environments) may be 
preferable to the experience-based estimation approach, under 
similar experimental conditions. 
5. The performance of the EPCU estimation process for most of the 
projects is significantly better than that of the experience-based 
estimation approach, based on the quality criteria used. 
12 
© 2014 Valdés-Souto & Abran
COSMIC Approximate Sizing Using the 
EPCU Model 
• Variable 1: 
Perception of the size of 
the Use Case (subjective, 
experience-based). 
• Variable 2: 
The number of Objects of 
Interest related to the Use 
Case (subjective, 
experience-based). 
Functional Size 
Estimated for each 
Use Case (CFP) 
What variables influence the size 
of a Use Case? What is the possible range for 
the output variable? 
(Vogelezang , 2007) 13 
© 2014 Valdés-Souto & Abran
Case Study– Model Designer 
A) Defines the Input variables with linguistic values 
(fuzzy sets): 
– Input variable 1: Size of Use Case= relative size from 
small to very large 
– Input variable 2: No. of objects of interest = Low, Average, 
and High 
• Domain of membership function: from 0 to 5 ε R. 
B) Defines the Output variable with a: 
– Min of a Use Case = 2 FP 
– Max of a Use Case = 16.4 CFP 
14 
© 2014 Valdés-Souto & Abran
Case Study Participants 
• Case Study with 8 practitioners: 
– not familiar with the COSMIC method, 
– with no historical data for approximating the FSM using COSMIC, 
– did not know the EPCU model, 
– did not participate in the definition of the EPCU context. 
The only information available had = 
– A form with the list of Use Cases 
– Their own experience with the business process related to the project 
• The Case Study= a simulation of the early size estimation step 
with both approaches (Equal size band & Fuzzy Logic). 
15 
© 2014 Valdés-Souto & Abran
Experiment Design 
ALFA software 
system/ 14 Use 
Case descriptions 
EPCU Model 
1- Define Input variables & membership 
functions, 
2- Define the Inference rules between 
the input variables & output variable 
(Functional Size in CFP) 
3-Define Output variable & membership 
functions 
2. Selecting a Measurement Reference 
3. Knowing the ALFA Software System 
4. Data Collection 
5. Data Analysis 
1. Define de EPCU Context for 
Approximate Sizing 
Participants provided only with the ALFA list 
of Use Cases: assign values to the 2 input 
variables, based on their experience. 
16 
© 2014 Valdés-Souto & Abran
Participants tasks 
A) Equal Size Band Model: 
- Consider the UC as FP and Classify each of the 14 
Use Cases from Small to Very Large (4 linguistic 
categories) 
B) Fuzzy logic model: 
B1) Assign for each Use Case a relative size between 
0 & 5 
B2) Assign for each Use Case a relative number of 
Objects of Interest between 0 & 5. 
17 
© 2014 Valdés-Souto & Abran
Case Study Data & Analysis 
18 
© 2014 Valdés-Souto & Abran
Case Study Data Analysis 
Equal Size Bands approach & real value Fuzzy Logic EPCU model & the real value 
• MMRE= 63% and SDMRE = 5% 
• Maximum MMRE = 67% & Min MMRE = 
54%. 
• MMRE = 45% & SDMRE= 18%. 
• Maximum MMRE = 75% & Minimum MMRE = 
20%. 
• Practitioners are not familiar with the COSMIC 
method. 
19 
© 2014 Valdés-Souto & Abran
Exploratory Research Observations 
• Participants did not know the COSMIC sizing method 
• The Equal Size Band led to less accurate COSMIC sizes: 
– With 9 participants for the same set of UC. 
• The fuzzy logic model led to more accurate of size: 
– The better results obtained could be associated to the use of use cases 
instead of functional process, even though the use cases is at a higher 
level of granularity than the functional processes. 
20 
© 2014 Valdés-Souto & Abran
Exploratory Research Observations 
• Fuzzy Logic approach: 
– it does not use bands, but rather a continuous range in ε R, which is 
represented by a membership function. 
– But it is sensitive to min-max values 
Large scale experiments needed with: 
• More case studies 
• More participants for each case study 
• Analyze the original data set of Equal Size Bands Approach in 
order to define a “cut-off” instead to use the average for the 
last band. 
21 
© 2014 Valdés-Souto & Abran
Questions? 
22 
© 2014 Valdés-Souto & Abran

More Related Content

What's hot

Cause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case DesignCause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case DesignTechWell
 
DSUS_MAO_2012_Jie
DSUS_MAO_2012_JieDSUS_MAO_2012_Jie
DSUS_MAO_2012_JieMDO_Lab
 
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODEL
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODELEXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODEL
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODELijaia
 
Model based test case prioritization using neural network classification
Model based test case prioritization using neural network classificationModel based test case prioritization using neural network classification
Model based test case prioritization using neural network classificationcseij
 
Automated exam question set generator using utility based agent and learning ...
Automated exam question set generator using utility based agent and learning ...Automated exam question set generator using utility based agent and learning ...
Automated exam question set generator using utility based agent and learning ...Journal Papers
 
Principles of effort estimation
Principles of effort estimationPrinciples of effort estimation
Principles of effort estimationCS, NcState
 
On the Value of User Preferences in Search-Based Software Engineering
On the Value of User Preferences in Search-Based Software EngineeringOn the Value of User Preferences in Search-Based Software Engineering
On the Value of User Preferences in Search-Based Software EngineeringAbdel Salam Sayyad
 
Functional Safety in ML-based Cyber-Physical Systems
Functional Safety in ML-based Cyber-Physical SystemsFunctional Safety in ML-based Cyber-Physical Systems
Functional Safety in ML-based Cyber-Physical SystemsLionel Briand
 
How useful is self-supervised pretraining for Visual tasks?
How useful is self-supervised pretraining for Visual tasks?How useful is self-supervised pretraining for Visual tasks?
How useful is self-supervised pretraining for Visual tasks?Seunghyun Hwang
 

What's hot (9)

Cause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case DesignCause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case Design
 
DSUS_MAO_2012_Jie
DSUS_MAO_2012_JieDSUS_MAO_2012_Jie
DSUS_MAO_2012_Jie
 
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODEL
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODELEXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODEL
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODEL
 
Model based test case prioritization using neural network classification
Model based test case prioritization using neural network classificationModel based test case prioritization using neural network classification
Model based test case prioritization using neural network classification
 
Automated exam question set generator using utility based agent and learning ...
Automated exam question set generator using utility based agent and learning ...Automated exam question set generator using utility based agent and learning ...
Automated exam question set generator using utility based agent and learning ...
 
Principles of effort estimation
Principles of effort estimationPrinciples of effort estimation
Principles of effort estimation
 
On the Value of User Preferences in Search-Based Software Engineering
On the Value of User Preferences in Search-Based Software EngineeringOn the Value of User Preferences in Search-Based Software Engineering
On the Value of User Preferences in Search-Based Software Engineering
 
Functional Safety in ML-based Cyber-Physical Systems
Functional Safety in ML-based Cyber-Physical SystemsFunctional Safety in ML-based Cyber-Physical Systems
Functional Safety in ML-based Cyber-Physical Systems
 
How useful is self-supervised pretraining for Visual tasks?
How useful is self-supervised pretraining for Visual tasks?How useful is self-supervised pretraining for Visual tasks?
How useful is self-supervised pretraining for Visual tasks?
 

Similar to Iwsm2014 cosmic approximate sizing using a fuzzy logic approach (alain abran)

Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Lionel Briand
 
Testing of Object-Oriented Software
Testing of Object-Oriented SoftwareTesting of Object-Oriented Software
Testing of Object-Oriented SoftwarePraveen Penumathsa
 
Effect of Temporal Collaboration Network, Maintenance Activity, and Experienc...
Effect of Temporal Collaboration Network, Maintenance Activity, and Experienc...Effect of Temporal Collaboration Network, Maintenance Activity, and Experienc...
Effect of Temporal Collaboration Network, Maintenance Activity, and Experienc...ESEM 2014
 
Assessment Model for Opportunistic Routing
Assessment Model for Opportunistic RoutingAssessment Model for Opportunistic Routing
Assessment Model for Opportunistic RoutingWaldir Moreira
 
solving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theorysolving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theorySubham kumar
 
Recuriter Recommendation System
Recuriter Recommendation SystemRecuriter Recommendation System
Recuriter Recommendation SystemIRJET Journal
 
Analysis of Educational Robotics activities using a machine learning approach
Analysis of Educational Robotics activities using a machine learning approachAnalysis of Educational Robotics activities using a machine learning approach
Analysis of Educational Robotics activities using a machine learning approachLorenzo Cesaretti
 
Testing software
Testing softwareTesting software
Testing softwareBlueTree5
 
CEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.pptCEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.pptMRDNI
 
CEN6070.1.Chapter10.1 (1).ppt
CEN6070.1.Chapter10.1 (1).pptCEN6070.1.Chapter10.1 (1).ppt
CEN6070.1.Chapter10.1 (1).pptdheeraj438799
 
CEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.pptCEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.pptEshakRajendran1
 
CEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.pptCEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.pptBalaji Kt
 
Hybrid Solution of the Cold-Start Problem in Context-Aware Recommender Systems
Hybrid Solution of the Cold-Start Problem in Context-Aware Recommender SystemsHybrid Solution of the Cold-Start Problem in Context-Aware Recommender Systems
Hybrid Solution of the Cold-Start Problem in Context-Aware Recommender SystemsMatthias Braunhofer
 
Online Consumer Panel simulator - First Version demo: Sampling Operations Ana...
Online Consumer Panel simulator - First Version demo: Sampling Operations Ana...Online Consumer Panel simulator - First Version demo: Sampling Operations Ana...
Online Consumer Panel simulator - First Version demo: Sampling Operations Ana...evaristoc
 

Similar to Iwsm2014 cosmic approximate sizing using a fuzzy logic approach (alain abran) (20)

Iwsm2014 cosmic approximate sizing using a fuzzy logic approach (alain abran)
Iwsm2014   cosmic approximate sizing using a fuzzy logic approach (alain abran)Iwsm2014   cosmic approximate sizing using a fuzzy logic approach (alain abran)
Iwsm2014 cosmic approximate sizing using a fuzzy logic approach (alain abran)
 
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Testing of Object-Oriented Software
Testing of Object-Oriented SoftwareTesting of Object-Oriented Software
Testing of Object-Oriented Software
 
Effect of Temporal Collaboration Network, Maintenance Activity, and Experienc...
Effect of Temporal Collaboration Network, Maintenance Activity, and Experienc...Effect of Temporal Collaboration Network, Maintenance Activity, and Experienc...
Effect of Temporal Collaboration Network, Maintenance Activity, and Experienc...
 
Furuyama - analysis of factors that affect productivity
Furuyama - analysis of factors that affect productivityFuruyama - analysis of factors that affect productivity
Furuyama - analysis of factors that affect productivity
 
Assessment Model for Opportunistic Routing
Assessment Model for Opportunistic RoutingAssessment Model for Opportunistic Routing
Assessment Model for Opportunistic Routing
 
11 generalsisation of fluent
11 generalsisation of fluent11 generalsisation of fluent
11 generalsisation of fluent
 
IWSM 2014 Overview of COSMIC related papers (Charles Symons)
IWSM 2014 Overview of COSMIC related papers (Charles Symons)IWSM 2014 Overview of COSMIC related papers (Charles Symons)
IWSM 2014 Overview of COSMIC related papers (Charles Symons)
 
solving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theorysolving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theory
 
Recuriter Recommendation System
Recuriter Recommendation SystemRecuriter Recommendation System
Recuriter Recommendation System
 
Analysis of Educational Robotics activities using a machine learning approach
Analysis of Educational Robotics activities using a machine learning approachAnalysis of Educational Robotics activities using a machine learning approach
Analysis of Educational Robotics activities using a machine learning approach
 
Testing software
Testing softwareTesting software
Testing software
 
CEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.pptCEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.ppt
 
CEN6070.1.Chapter10.1 (1).ppt
CEN6070.1.Chapter10.1 (1).pptCEN6070.1.Chapter10.1 (1).ppt
CEN6070.1.Chapter10.1 (1).ppt
 
CEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.pptCEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.ppt
 
CEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.pptCEN6070.1.Chapter10.1.ppt
CEN6070.1.Chapter10.1.ppt
 
Costing ass4
Costing ass4Costing ass4
Costing ass4
 
Hybrid Solution of the Cold-Start Problem in Context-Aware Recommender Systems
Hybrid Solution of the Cold-Start Problem in Context-Aware Recommender SystemsHybrid Solution of the Cold-Start Problem in Context-Aware Recommender Systems
Hybrid Solution of the Cold-Start Problem in Context-Aware Recommender Systems
 
Online Consumer Panel simulator - First Version demo: Sampling Operations Ana...
Online Consumer Panel simulator - First Version demo: Sampling Operations Ana...Online Consumer Panel simulator - First Version demo: Sampling Operations Ana...
Online Consumer Panel simulator - First Version demo: Sampling Operations Ana...
 

More from Nesma

2024-04 - Nesma webinar - Benchmarking.pdf
2024-04 - Nesma webinar - Benchmarking.pdf2024-04 - Nesma webinar - Benchmarking.pdf
2024-04 - Nesma webinar - Benchmarking.pdfNesma
 
Agile Team Performance Measurement webinar
Agile Team Performance Measurement webinarAgile Team Performance Measurement webinar
Agile Team Performance Measurement webinarNesma
 
Software Cost Estimation webinar January 2024.pdf
Software Cost Estimation webinar January 2024.pdfSoftware Cost Estimation webinar January 2024.pdf
Software Cost Estimation webinar January 2024.pdfNesma
 
Nesma event June '23 - How to use objective metrics as a basis for agile cost...
Nesma event June '23 - How to use objective metrics as a basis for agile cost...Nesma event June '23 - How to use objective metrics as a basis for agile cost...
Nesma event June '23 - How to use objective metrics as a basis for agile cost...Nesma
 
Nesma event June '23 - NEN Practice Guideline - NPR.pdf
Nesma event June '23 - NEN Practice Guideline - NPR.pdfNesma event June '23 - NEN Practice Guideline - NPR.pdf
Nesma event June '23 - NEN Practice Guideline - NPR.pdfNesma
 
Nesma event June '23 - Easy Function Sizing - Introduction.pdf
Nesma event June '23 - Easy Function Sizing - Introduction.pdfNesma event June '23 - Easy Function Sizing - Introduction.pdf
Nesma event June '23 - Easy Function Sizing - Introduction.pdfNesma
 
Automotive Software Cost Estimation - The UCE Approach - Emmanuel Mary
Automotive Software Cost Estimation - The UCE Approach - Emmanuel MaryAutomotive Software Cost Estimation - The UCE Approach - Emmanuel Mary
Automotive Software Cost Estimation - The UCE Approach - Emmanuel MaryNesma
 
The COSMIC battle between David and Goliath - Paul Hussein
The COSMIC battle between David and Goliath - Paul HusseinThe COSMIC battle between David and Goliath - Paul Hussein
The COSMIC battle between David and Goliath - Paul HusseinNesma
 
Succesful Estimating - It's how you tell the story - Amritpal Singh Agar
Succesful Estimating - It's how you tell the story - Amritpal Singh AgarSuccesful Estimating - It's how you tell the story - Amritpal Singh Agar
Succesful Estimating - It's how you tell the story - Amritpal Singh AgarNesma
 
(Increasing) Predictability of large Government ICT Projects - Koos Veefkind
(Increasing) Predictability of large Government ICT Projects - Koos Veefkind(Increasing) Predictability of large Government ICT Projects - Koos Veefkind
(Increasing) Predictability of large Government ICT Projects - Koos VeefkindNesma
 
CEBoK for Software Past Present Future - Megan Jones
CEBoK for Software Past Present Future - Megan JonesCEBoK for Software Past Present Future - Megan Jones
CEBoK for Software Past Present Future - Megan JonesNesma
 
Agile Development and Agile Cost Estimation - A return to basic principles - ...
Agile Development and Agile Cost Estimation - A return to basic principles - ...Agile Development and Agile Cost Estimation - A return to basic principles - ...
Agile Development and Agile Cost Estimation - A return to basic principles - ...Nesma
 
Resolving Cost Management and Key Pitfalls of Agile Software Development - Da...
Resolving Cost Management and Key Pitfalls of Agile Software Development - Da...Resolving Cost Management and Key Pitfalls of Agile Software Development - Da...
Resolving Cost Management and Key Pitfalls of Agile Software Development - Da...Nesma
 
Project Succes is a Choice - Joop Schefferlie
Project Succes is a Choice - Joop SchefferlieProject Succes is a Choice - Joop Schefferlie
Project Succes is a Choice - Joop SchefferlieNesma
 
Afrekenen met functiepunten
Afrekenen met functiepuntenAfrekenen met functiepunten
Afrekenen met functiepuntenNesma
 
Agile teams get a grip - martijn groenewegen
Agile teams   get a grip - martijn groenewegenAgile teams   get a grip - martijn groenewegen
Agile teams get a grip - martijn groenewegenNesma
 
The fact that your poject is agile is not (necessarily) a cost driver arlen...
The fact that your poject is agile is not (necessarily) a cost driver   arlen...The fact that your poject is agile is not (necessarily) a cost driver   arlen...
The fact that your poject is agile is not (necessarily) a cost driver arlen...Nesma
 
Software sizing as an essential measure past present and future - Dan Galorat...
Software sizing as an essential measure past present and future - Dan Galorat...Software sizing as an essential measure past present and future - Dan Galorat...
Software sizing as an essential measure past present and future - Dan Galorat...Nesma
 
A benchmark based approach to determine language verbosity - Hans Kuijpers - ...
A benchmark based approach to determine language verbosity - Hans Kuijpers - ...A benchmark based approach to determine language verbosity - Hans Kuijpers - ...
A benchmark based approach to determine language verbosity - Hans Kuijpers - ...Nesma
 
Software sizing the cornerstone for iceaa's scebok - Carol Dekkers
Software sizing the cornerstone for iceaa's scebok - Carol DekkersSoftware sizing the cornerstone for iceaa's scebok - Carol Dekkers
Software sizing the cornerstone for iceaa's scebok - Carol DekkersNesma
 

More from Nesma (20)

2024-04 - Nesma webinar - Benchmarking.pdf
2024-04 - Nesma webinar - Benchmarking.pdf2024-04 - Nesma webinar - Benchmarking.pdf
2024-04 - Nesma webinar - Benchmarking.pdf
 
Agile Team Performance Measurement webinar
Agile Team Performance Measurement webinarAgile Team Performance Measurement webinar
Agile Team Performance Measurement webinar
 
Software Cost Estimation webinar January 2024.pdf
Software Cost Estimation webinar January 2024.pdfSoftware Cost Estimation webinar January 2024.pdf
Software Cost Estimation webinar January 2024.pdf
 
Nesma event June '23 - How to use objective metrics as a basis for agile cost...
Nesma event June '23 - How to use objective metrics as a basis for agile cost...Nesma event June '23 - How to use objective metrics as a basis for agile cost...
Nesma event June '23 - How to use objective metrics as a basis for agile cost...
 
Nesma event June '23 - NEN Practice Guideline - NPR.pdf
Nesma event June '23 - NEN Practice Guideline - NPR.pdfNesma event June '23 - NEN Practice Guideline - NPR.pdf
Nesma event June '23 - NEN Practice Guideline - NPR.pdf
 
Nesma event June '23 - Easy Function Sizing - Introduction.pdf
Nesma event June '23 - Easy Function Sizing - Introduction.pdfNesma event June '23 - Easy Function Sizing - Introduction.pdf
Nesma event June '23 - Easy Function Sizing - Introduction.pdf
 
Automotive Software Cost Estimation - The UCE Approach - Emmanuel Mary
Automotive Software Cost Estimation - The UCE Approach - Emmanuel MaryAutomotive Software Cost Estimation - The UCE Approach - Emmanuel Mary
Automotive Software Cost Estimation - The UCE Approach - Emmanuel Mary
 
The COSMIC battle between David and Goliath - Paul Hussein
The COSMIC battle between David and Goliath - Paul HusseinThe COSMIC battle between David and Goliath - Paul Hussein
The COSMIC battle between David and Goliath - Paul Hussein
 
Succesful Estimating - It's how you tell the story - Amritpal Singh Agar
Succesful Estimating - It's how you tell the story - Amritpal Singh AgarSuccesful Estimating - It's how you tell the story - Amritpal Singh Agar
Succesful Estimating - It's how you tell the story - Amritpal Singh Agar
 
(Increasing) Predictability of large Government ICT Projects - Koos Veefkind
(Increasing) Predictability of large Government ICT Projects - Koos Veefkind(Increasing) Predictability of large Government ICT Projects - Koos Veefkind
(Increasing) Predictability of large Government ICT Projects - Koos Veefkind
 
CEBoK for Software Past Present Future - Megan Jones
CEBoK for Software Past Present Future - Megan JonesCEBoK for Software Past Present Future - Megan Jones
CEBoK for Software Past Present Future - Megan Jones
 
Agile Development and Agile Cost Estimation - A return to basic principles - ...
Agile Development and Agile Cost Estimation - A return to basic principles - ...Agile Development and Agile Cost Estimation - A return to basic principles - ...
Agile Development and Agile Cost Estimation - A return to basic principles - ...
 
Resolving Cost Management and Key Pitfalls of Agile Software Development - Da...
Resolving Cost Management and Key Pitfalls of Agile Software Development - Da...Resolving Cost Management and Key Pitfalls of Agile Software Development - Da...
Resolving Cost Management and Key Pitfalls of Agile Software Development - Da...
 
Project Succes is a Choice - Joop Schefferlie
Project Succes is a Choice - Joop SchefferlieProject Succes is a Choice - Joop Schefferlie
Project Succes is a Choice - Joop Schefferlie
 
Afrekenen met functiepunten
Afrekenen met functiepuntenAfrekenen met functiepunten
Afrekenen met functiepunten
 
Agile teams get a grip - martijn groenewegen
Agile teams   get a grip - martijn groenewegenAgile teams   get a grip - martijn groenewegen
Agile teams get a grip - martijn groenewegen
 
The fact that your poject is agile is not (necessarily) a cost driver arlen...
The fact that your poject is agile is not (necessarily) a cost driver   arlen...The fact that your poject is agile is not (necessarily) a cost driver   arlen...
The fact that your poject is agile is not (necessarily) a cost driver arlen...
 
Software sizing as an essential measure past present and future - Dan Galorat...
Software sizing as an essential measure past present and future - Dan Galorat...Software sizing as an essential measure past present and future - Dan Galorat...
Software sizing as an essential measure past present and future - Dan Galorat...
 
A benchmark based approach to determine language verbosity - Hans Kuijpers - ...
A benchmark based approach to determine language verbosity - Hans Kuijpers - ...A benchmark based approach to determine language verbosity - Hans Kuijpers - ...
A benchmark based approach to determine language verbosity - Hans Kuijpers - ...
 
Software sizing the cornerstone for iceaa's scebok - Carol Dekkers
Software sizing the cornerstone for iceaa's scebok - Carol DekkersSoftware sizing the cornerstone for iceaa's scebok - Carol Dekkers
Software sizing the cornerstone for iceaa's scebok - Carol Dekkers
 

Iwsm2014 cosmic approximate sizing using a fuzzy logic approach (alain abran)

  • 1. COSMIC Approximate Sizing using a Fuzzy Logic Approach - A Case Study with Industry Participants Francisco Valdés Souto & Alain Abran École de Technologie Supérieure francisco.valdes.1@ens.etsmtl.ca alain.abran@etsmtl.ca © 2014 Valdés-Souto & Abran 1
  • 2. The Sizing Problem FSM methods work best when the information to be measured– is fully known. Early phases: only non detailed information is available. 2 UC Identification FP Identification © 2014 Valdés-Souto & Abran
  • 3. Henderson et al.: investigated the relationship between FP & KLOC Valdés et al. proposed a solution using the fuzzy logic model from [3-5], referred to as the EPCU model 1992 1997 2003 2004 2007 2011 2012 2013 Meli: A. Early Function Points (EFP), based on IFPUG 4.0, B. Extended FP (XFP): EFP & 3 correction factors. Related Works on Approximation of Functional Size Desharnais et al.: analysed 2 techniques: Function Points Simplified (FPS) a& Backfiring Conte et al.: Early & Quick (E&Q) COSMIC - more tests needed to adjust or to confirm it Vogelezang et al. : study of 50 projects to define size bands using the quartile approach. Santillo: Analytic Hierarchy Process, for making choices among alternatives Almakadmeh: A framework to assign scaling factors for identifying the level of granularity of functional requirements specifications. The state of the art on approximate COSMIC FSM was discussed at IWSM/MENSURA 2013 3 © 2014 Valdés-Souto & Abran
  • 4. 2nd Generation FSM method: COSMIC & General Approach to Approximate Sizing © 2014 Valdés-Souto & Abran 4
  • 5. Approximate Sizing Approaches in the COSMIC Measurement Manual Early sizing: • for use early in the life cycle of a project: – before the Functional User Requirements (FUR) are detailed and specified. Rapid sizing: • for use when there is not enough time to measure the required software using the standard method 5 © 2014 Valdés-Souto & Abran
  • 6. Approximate Sizing Examples in the COSMIC Advanced & Related Topics Manual Example 1: Average Functional Process approach. Example 2: Fixed Size Classification approach. Example 3: Equal Size Bands approach. (Vogelezang: Refined Approximate or Quartile approach) Example 4: Average Use Case approach. Each example based on 2 main assumptions: 1. Historical data exist for calculating the scaling factor (average, or size bands). 2. The whole set of requirements is described, or at least there is a commitment, defined by the requirements, about the scope of the software to be developed. © 2014 Valdés-Souto & Abran 6
  • 7. Example 3: Equal Size Bands approach • Historical data set: – 37 business application development projects, each having a total size greater than 100 CFP. (Vogelezang , 2007): • Quartile values of the Functional Process from this dataset: Small = 4.8 CFP, Medium =7.7 CFP, Large = 10.7, and Very Large = 16.4 CFP 7 © 2014 Valdés-Souto & Abran
  • 8. 8 Fuzzy Logic EstimationModel © 2014 Valdés-Souto & Abran
  • 9. Roles in the Fuzzy Logic Model The domain expert: • Selects the types of input & output variables • Selects the ranges of values for each variable • Assigns the inference rules between the inputs & output variables The estimator (junior or expert): • Select among the range of values of the input variables 9 © 2014 Valdés-Souto & Abran
  • 10. Roles in the Fuzzy Logic Model The tool builder : • Selects: – the fuzzy logic maths options • Ex. Trapezoidal shape, triangle shape, etc – Fuzzification options – De-fuzzication options • Builds the estimation software tool as a shell for the variables selected by the domain experts 10 © 2014 Valdés-Souto & Abran
  • 11. EPCU: Estimation of Projects in a Context of Uncertainty 11 Fuzzy Logic Estimation Model Tool used for this exploratory research: The fuzzy logic estimation model developed in the PhD thesis of Francisco Valdes in 2011: Model initially tested with the estimation of projects duration F. Valdés & A. Abran - IWSM-Mensura 2007 (Palma de Mallorca, Spain) © 2014 Valdés-Souto & Abran
  • 12. EPCU Model with Fuzzy Logic Some characteristics of fuzzy logic estimation models (Valdés et al., 2007, 2010, 2011): 1. Designed to deal with vague information (i.e. usually described by linguistic variables). 2. Generates estimates with less dispersion than the experience-based approach. 3. Enables a systematic replication: whatever the level of skills of the people who assign the values for the input variables. 4. In the early phases (imperfect information environments) may be preferable to the experience-based estimation approach, under similar experimental conditions. 5. The performance of the EPCU estimation process for most of the projects is significantly better than that of the experience-based estimation approach, based on the quality criteria used. 12 © 2014 Valdés-Souto & Abran
  • 13. COSMIC Approximate Sizing Using the EPCU Model • Variable 1: Perception of the size of the Use Case (subjective, experience-based). • Variable 2: The number of Objects of Interest related to the Use Case (subjective, experience-based). Functional Size Estimated for each Use Case (CFP) What variables influence the size of a Use Case? What is the possible range for the output variable? (Vogelezang , 2007) 13 © 2014 Valdés-Souto & Abran
  • 14. Case Study– Model Designer A) Defines the Input variables with linguistic values (fuzzy sets): – Input variable 1: Size of Use Case= relative size from small to very large – Input variable 2: No. of objects of interest = Low, Average, and High • Domain of membership function: from 0 to 5 ε R. B) Defines the Output variable with a: – Min of a Use Case = 2 FP – Max of a Use Case = 16.4 CFP 14 © 2014 Valdés-Souto & Abran
  • 15. Case Study Participants • Case Study with 8 practitioners: – not familiar with the COSMIC method, – with no historical data for approximating the FSM using COSMIC, – did not know the EPCU model, – did not participate in the definition of the EPCU context. The only information available had = – A form with the list of Use Cases – Their own experience with the business process related to the project • The Case Study= a simulation of the early size estimation step with both approaches (Equal size band & Fuzzy Logic). 15 © 2014 Valdés-Souto & Abran
  • 16. Experiment Design ALFA software system/ 14 Use Case descriptions EPCU Model 1- Define Input variables & membership functions, 2- Define the Inference rules between the input variables & output variable (Functional Size in CFP) 3-Define Output variable & membership functions 2. Selecting a Measurement Reference 3. Knowing the ALFA Software System 4. Data Collection 5. Data Analysis 1. Define de EPCU Context for Approximate Sizing Participants provided only with the ALFA list of Use Cases: assign values to the 2 input variables, based on their experience. 16 © 2014 Valdés-Souto & Abran
  • 17. Participants tasks A) Equal Size Band Model: - Consider the UC as FP and Classify each of the 14 Use Cases from Small to Very Large (4 linguistic categories) B) Fuzzy logic model: B1) Assign for each Use Case a relative size between 0 & 5 B2) Assign for each Use Case a relative number of Objects of Interest between 0 & 5. 17 © 2014 Valdés-Souto & Abran
  • 18. Case Study Data & Analysis 18 © 2014 Valdés-Souto & Abran
  • 19. Case Study Data Analysis Equal Size Bands approach & real value Fuzzy Logic EPCU model & the real value • MMRE= 63% and SDMRE = 5% • Maximum MMRE = 67% & Min MMRE = 54%. • MMRE = 45% & SDMRE= 18%. • Maximum MMRE = 75% & Minimum MMRE = 20%. • Practitioners are not familiar with the COSMIC method. 19 © 2014 Valdés-Souto & Abran
  • 20. Exploratory Research Observations • Participants did not know the COSMIC sizing method • The Equal Size Band led to less accurate COSMIC sizes: – With 9 participants for the same set of UC. • The fuzzy logic model led to more accurate of size: – The better results obtained could be associated to the use of use cases instead of functional process, even though the use cases is at a higher level of granularity than the functional processes. 20 © 2014 Valdés-Souto & Abran
  • 21. Exploratory Research Observations • Fuzzy Logic approach: – it does not use bands, but rather a continuous range in ε R, which is represented by a membership function. – But it is sensitive to min-max values Large scale experiments needed with: • More case studies • More participants for each case study • Analyze the original data set of Equal Size Bands Approach in order to define a “cut-off” instead to use the average for the last band. 21 © 2014 Valdés-Souto & Abran
  • 22. Questions? 22 © 2014 Valdés-Souto & Abran