SlideShare una empresa de Scribd logo
1 de 72
Descargar para leer sin conexión
Software Estimation: Transforming Dust into Gold? 
Alain Abran École de Technologie Supérieure, University of Québec, Montréal, Canada alain.abran@etsmtl.ca 
24th International Workshop on Software Measurement & 9th International Conf. on Software Process and Product Measurement - IWSM-MENSURA 2014 Rotterdam, Oct.6- 8 2014
© Copyrights Abran 2014 
2 
Alain Abran 
20 years 
20 years 
+ 35 PhD 
Development 
Maintenance 
Process Improvements 
ISO: 19761, 9216, 25000, 15939, 14143, 19760
© Copyrights Abran 2014 
Key Topics Addressed A lot of software estimation practices share characteristics of craft practices, in comparison to current professional practices from engineering & sciences. The goal of estimation in an uncertainty context is not come up with accurate estimate but to provide the required insights to manage uncertainty. How do our current practices in software estimation stack up with best practices in project management? 
3
© Copyrights Abran 2014 
Or? 
(Software) Estimation
© Copyrights Abran 2014 
5 
Software Estimation by ‘Experts’
© Copyrights Abran 2014 
Estimation expectations
© Copyrights Abran 2014
© Copyrights Abran 2014 
© Copyrights Abran 2014
© Copyrights Abran 2014 
© Copyrights Abran 2014
© Copyrights Abran 2014 
© Copyrights Abran 2014
© Copyrights Abran 2014 
© Copyrights Abran 2014
© Copyrights Abran 2014
© Copyrights Abran 2014
© Copyrights Abran 2014 
14
© Copyrights Abran 2014 
15 
Adjustment Phase
© Copyrights Abran 2014 
A look at the prevalent estimation approach: 
The ‘COCOMO-like’ approach 
16
© Copyrights Abran 2014 
17 
© Copyrights Abran 2014
© Copyrights Abran 2014 
18
© Copyrights Abran 2014 
19 
COCOMO-like estimation models: 
Effort is a function of Size & +15 step-functions 
An Estimate
© Copyrights Abran 2014 
20 
COCOMO-like estimation models: 
Effort is a function of Size & +15 step-functions 
Error Range ?
© Copyrights Abran 2014 
21
© Copyrights Abran 2014 
22 
COCOMO-like estimation models: Effort is a functIon of Size & 
+15 step-functions 
of unknown quality combined into a single number! 
Greater 
Error 
Ranges
© Copyrights Abran 2014 
23 
© Copyrights Abran 2014
© Copyrights Abran 2014 
Kemerer 1987 on COCOMO81 
Small scale replication studies - 17 projects 
24 
Basic 
Exponential on Size 
Intermediate 
& 15 cost drivers 
Detailed 
& 4 project phases 
R2 
(max=1.0) 
0.68 
0.60 
0.52 
MMRE 
(mean magnitude or relative errors) 
610% 
583% 
607%
© Copyrights Abran 2014 
25
© Copyrights Abran 2014 
KEMERER 1987 
On another Estimation Model: 
With complex mathematical formula 
Claims of being based on +4,000 projects 
…. 
Still being marketed in 2014 
…at a very high cost! 
26
© Copyrights Abran 2014 
KEMERER 1987 on Estimation Tool Y 
Small scale replication study – 17 projects 
MMRE = 772% 
With both large + & - 
(i.e. cannot be calibrated!) 
27
© Copyrights Abran 2014 
Larger scale replication study - MMRE 
Programming language, size range [in Function Points] 
(1) 
Vendor’s black-box estimation tool (%) 
(2) 
White-box models built directly from the data (%) 
Access [200,800] 
341 
15 
C [200, 800] 
1653 
50 
C++ [70, 500] 
97 
86 
C++ [750, 1250] 
95 
24 
Cobol [60, 400] 
400 
42 
Cobol [401, 3500] 
348 
51 
Cobol II [80, 180] 
89 
29 
Cobol II [180, 500] 
109 
46 
Natural [20, 620] 
243 
50 
Natural [621, 3500] 
347 
35 
Oracle [100, 2000] 
319 
120 
PL1 [80, 450] 
274 
45 
PL1 [550, 2550] 
895 
21 
Powerbuilder [60, 400] 
95 
29 
SQL [280, 800] 
136 
81 
SQL [801, 4500] 
127 
45 
Telon [70, 650] 
100 
22 
Visual Basic [30, 600] 
122 
54 
Min 
89 
15 
Max 
1,653 
120 
28
© Copyrights Abran 2014 
Larger scale replication study - MMRE 
Programming language, size range [in Function Points] 
(1) 
Vendor’s black-box estimation tool (%) 
(2) 
White-box models built directly from the data (%) 
Access [200,800] 
341 
15 
C [200, 800] 
1653 
50 
C++ [70, 500] 
97 
86 
C++ [750, 1250] 
95 
24 
Cobol [60, 400] 
400 
42 
Cobol [401, 3500] 
348 
51 
Cobol II [80, 180] 
89 
29 
Cobol II [180, 500] 
109 
46 
Natural [20, 620] 
243 
50 
Natural [621, 3500] 
347 
35 
Oracle [100, 2000] 
319 
120 
PL1 [80, 450] 
274 
45 
PL1 [550, 2550] 
895 
21 
Powerbuilder [60, 400] 
95 
29 
SQL [280, 800] 
136 
81 
SQL [801, 4500] 
127 
45 
Telon [70, 650] 
100 
22 
Visual Basic [30, 600] 
122 
54 
Min 
89 
15 
Max 
1,653 
120 
29
© Copyrights Abran 2014 
30 
Software Estimation by ‘Experts’
© Copyrights Abran 2014 
The bundled models!
© Copyrights Abran 2014 
Estimation Outcomes! 
32 
Quick & 
Easy…
© Copyrights Abran 2014 
COCOMO-like estimation models 
The ‘feel-good’ dead end! 
33 
Quick & 
Easy…
© Copyrights Abran 2014
© Copyrights Abran 2014 
Criteria for the Quality of the Estimation Models 
Academic literature: R2 (coefficient of determination) MMRE (mean magnitude of relative errors) MARE (Median of relative errors), etc….. Residuals of errors ramdonly distributed Statistical significance (spearman test). Etc. 
35
© Copyrights Abran 2014 
Criteria for the Quality of the Estimation Models 
Academic literature: 
Complex criteria for the verification of the outputs of the estimation models 
but … 
no verification: 
-That the models’ assumptions are met! 
-Nor of the inputs themselves 
36
© Copyrights Abran 2014
© Copyrights Abran 2014 
38
© Copyrights Abran 2014
© Copyrights Abran 2014 
Invalid range
© Copyrights Abran 2014 
Invalidity range
© Copyrights Abran 2014 
42 
A New Software 
Metric to Complement 
Function Points 
The Software Non-functional 
Assessment Process (SNAP)
© Copyrights Abran 2014 
43 
Author Very strong relationship of SNAP with Effort R2 = 0 ,89 (R2 max = 1,0)
© Copyrights Abran 2014 
Author’s assertion on Figure 4: R2 = .89 Significance F = 1.7 * 10-23 Spearman = .85 Runs = pass 
& Spearman test for rank correlation of .85, with an associated confidence of statistical significance of greater than 99% (p-value <.0001). 
44
© Copyrights Abran 2014 
45
© Copyrights Abran 2014 
46 
Invalidity Range
© Copyrights Abran 2014 
Author’s assertion on Figure 4: R2 = .89 Significance F = 1.7 * 10-23 Spearman = .85 Runs = pass 
& Spearman test for rank correlation of .85, with an associated confidence of statistical significance of greater than 99% (p-value <.0001). 
But: 
These numbers & stats are invalid 
the necessary requirements for a regression are not met! (Presence of large outliers = meaningless stats numbers!!) 
47
© Copyrights Abran 2014 
What it really looked like for the range for which there is enough data points Approxmimatively: An R2 = 0.3 Not R2 = 0.89 (R2 max = 1,0) 
CONCLUSION: invalid approach to empirically adopt SNAP!
© Copyrights Abran 2014 
49 
Hell is paved all over 
with good intentions!
© Copyrights Abran 2014
© Copyrights Abran 2014
© Copyrights Abran 2014 
52 
Invalidity Range
© Copyrights Abran 2014 
Project Scope 
The dreamer 
Accounting 
Marketing 
The visionnary 
53 
Stakeholders initial 
wishes
© Copyrights Abran 2014 
Imprecise Inputs at Feasibility Analysis – Much Greater Error Range 
54
© Copyrights Abran 2014 
Project Scope 
Agreed Project 
Scope! 
The dreamer 
Accounting 
Marketing 
The visionnary 
55 
Stakeholders initial 
wishes
© Copyrights Abran 2014 
Estimation Models: The Uncertainty Cone: Requirements Specs 
56
© Copyrights Abran 2014 
Scales in Plans - Architects & Engineers 
57 
© Almakadmeh-Abran © Almakadmeh-Abran 2012
© Copyrights Abran 2014 
Scales in Software Documents? 
58 
© Almakadmeh 2013
© Copyrights Abran 2014 
Scales in Software Documents? 
59 
© Almakadmeh 2013
© Copyrights Abran 2014 
An investigation of an existing functional size approximation technique: reproducibility 
60 
Difference of functional size approximation 
© Almakadmeh 2013 
Participant 
code 
Approximate functional size 
using an approximation technique X 
(Min, Most-likely, Max) (in CFP) 
Percentage difference in functional size approximation 
(w.r.t. Most-likely value) 
A6 
(45, 74, 93) 
− 90% 
A12 
(57, 114, 179) 
− 84% 
A3 
(238, 543, 910) 
− 23% 
A9 
(250, 545, 909) 
− 23% 
A5 
(299, 592, 962) 
− 16% 
A2 
(250, 705, 1250) 
0% 
A1 
(521, 1071, 1616) 
+ 52% 
A11 
(581, 1185, 1972) 
+ 68% 
A8 
(697, 1454, 2472) 
+ 106% 
A7 
(964, 2077, 3450) 
+ 195% 
A4 
(1181, 2369, 3957) 
+ 236% 
A10 
(2265, 4510, 7408) 
+ 540% 
Minimum 
− 90% 
Maximum 
+ 540% 
12 Participants
© Copyrights Abran 2014 
An investigation of an existing functional size approximation technique: accuracy 
61 
Accuracy of the functional size approximation 
© Almakadmeh 2013 
12 Participants 
Participant 
code 
Approximated functional size using the E&Q COSMIC technique in CFP 
(min, most-likely, max) (1) 
Reference functional size for accuracy criteria (2) 
MRE calculated using values in (1) and (2) 
(min, most-likely, max) 
A6 
(45, 74, 93) 
79 CFP 
(43%, 7%, 17%) 
A12 
(57, 114, 179) 
(28%, 44%, 126%) 
A3 
(238, 543, 910) 
(200%, 585%, 1047%) 
A9 
(250, 545, 909) 
(215%, 587%, 1046%) 
A5 
(299, 592, 962) 
(277%, 646%, 1113%) 
A2 
(250, 705, 1250) 
(215%, 789%, 1476%) 
A1 
(521, 1071, 1616) 
(557%, 1251%, 1938%) 
A11 
(581, 1185, 1972) 
(633%, 1394%, 2387%) 
A8 
(697, 1454, 2472) 
(779%, 1733%, 3017%) 
A7 
(964, 2077, 3450) 
(1115%, 2519%, 4250%) 
A4 
(1181, 2369, 3957) 
(1389%, 2887%, 4890%) 
A10 
(2265, 4510, 7408) 
(2756%, 5587%, 9241%) 
Average MRE on functional size approximations 
(all 12 participants) 
(684%, 1502%, 2546%) 
Average MRE on functional size approximations (except participants A6 & A12) 
(814%, 1798%, 3041%)
© Copyrights Abran 2014 
Software Size? Lines of code 
Or Function Points: 
–+30 variations 
–& 5 International Standards! 
62
© Copyrights Abran 2014 
Lack of universally accepted references & Impact 
63
© Copyrights Abran 2014 
FP to LOC convertion ratios in Estimation Models 
What happened to Ariane 5 spacecraft … and why? 
64
© Copyrights Abran 2014
© Copyrights Abran 2014 
Estimation Approaches 
The ‘feel-good’ dead end! 
66 
Quick & 
Easy…
© Copyrights Abran 2014 
http://www.projectcodemeter.com/cost_estimation/kop3.html 
ProjectCodeMeter Is a professional software tool for project managers to measure and estimate the Time, Cost, Complexity, Quality and Maintainability of software projects as well as Development Team Productivity by analyzing their source code. 
Using a modern software sizing algorithm called Weighted Micro Function Points (WMFP) a successor to solid ancestor scientific methods as COCOMO, COSYSMO, Maintainability Index, Cyclomatic Complexity, and Halstead Complexity, It produces more accurate results than traditional software sizing tools, while being faster and simpler to configure. 
67
© Copyrights Abran 2014 
Gold 
Estimation at the 
Renaissance
© Copyrights Abran 2014 
Estimation Models in the Renaissance
© Copyrights Abran 2014 
Books as 
Sources of 
Estimation 
Models
71 © Copyrights Abran 2014 
You want to know more the quality of 
estimation models & inputs to these 
models?
© Copyrights Abran 2014 
72 
alain.abran@etsmtl.ca

Más contenido relacionado

Similar a Iwsm2014 transforming dust into pots of gold (alain abran)

IWSM2014 COSMIC masterclass part 4 - estimating with COSMIC (Alain Abran)
IWSM2014   COSMIC masterclass part 4 - estimating with COSMIC (Alain Abran)IWSM2014   COSMIC masterclass part 4 - estimating with COSMIC (Alain Abran)
IWSM2014 COSMIC masterclass part 4 - estimating with COSMIC (Alain Abran)
Nesma
 
[TestWarez 2017] Od testowania do monitoringu jakości – wyzwania Continuous ...
[TestWarez 2017]  Od testowania do monitoringu jakości – wyzwania Continuous ...[TestWarez 2017]  Od testowania do monitoringu jakości – wyzwania Continuous ...
[TestWarez 2017] Od testowania do monitoringu jakości – wyzwania Continuous ...
Stowarzyszenie Jakości Systemów Informatycznych (SJSI)
 
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...
Altair
 

Similar a Iwsm2014 transforming dust into pots of gold (alain abran) (20)

IWSM2014 COSMIC masterclass part 4 - estimating with COSMIC (Alain Abran)
IWSM2014   COSMIC masterclass part 4 - estimating with COSMIC (Alain Abran)IWSM2014   COSMIC masterclass part 4 - estimating with COSMIC (Alain Abran)
IWSM2014 COSMIC masterclass part 4 - estimating with COSMIC (Alain Abran)
 
SRE - drupal day aveiro 2016
SRE - drupal day aveiro 2016SRE - drupal day aveiro 2016
SRE - drupal day aveiro 2016
 
[TestWarez 2017] Od testowania do monitoringu jakości – wyzwania Continuous ...
[TestWarez 2017]  Od testowania do monitoringu jakości – wyzwania Continuous ...[TestWarez 2017]  Od testowania do monitoringu jakości – wyzwania Continuous ...
[TestWarez 2017] Od testowania do monitoringu jakości – wyzwania Continuous ...
 
[EN] Success Story ArianeGroup
[EN] Success Story ArianeGroup[EN] Success Story ArianeGroup
[EN] Success Story ArianeGroup
 
ARTIST: a global approach to cloudify applications, OW2 Open Cloud Forum at C...
ARTIST: a global approach to cloudify applications, OW2 Open Cloud Forum at C...ARTIST: a global approach to cloudify applications, OW2 Open Cloud Forum at C...
ARTIST: a global approach to cloudify applications, OW2 Open Cloud Forum at C...
 
Keynote 2 - The 20% of software engineering practices that contribute to 80% ...
Keynote 2 - The 20% of software engineering practices that contribute to 80% ...Keynote 2 - The 20% of software engineering practices that contribute to 80% ...
Keynote 2 - The 20% of software engineering practices that contribute to 80% ...
 
What are Software Testing Methodologies | Software Testing Techniques | Edureka
What are Software Testing Methodologies | Software Testing Techniques | EdurekaWhat are Software Testing Methodologies | Software Testing Techniques | Edureka
What are Software Testing Methodologies | Software Testing Techniques | Edureka
 
Deep learning in manufacturing predicting and preventing manufacturing defect...
Deep learning in manufacturing predicting and preventing manufacturing defect...Deep learning in manufacturing predicting and preventing manufacturing defect...
Deep learning in manufacturing predicting and preventing manufacturing defect...
 
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...
Surrogate Model-Based Reliability Analysis of Composite UAV Wing facilitation...
 
Redefine Triage by Learning the Golden Nuggets of APM From Noted "APM Best Pr...
Redefine Triage by Learning the Golden Nuggets of APM From Noted "APM Best Pr...Redefine Triage by Learning the Golden Nuggets of APM From Noted "APM Best Pr...
Redefine Triage by Learning the Golden Nuggets of APM From Noted "APM Best Pr...
 
Design optimization of BOP for fatigue and strength in HPHT environment using...
Design optimization of BOP for fatigue and strength in HPHT environment using...Design optimization of BOP for fatigue and strength in HPHT environment using...
Design optimization of BOP for fatigue and strength in HPHT environment using...
 
Soft quality & standards
Soft quality & standardsSoft quality & standards
Soft quality & standards
 
Soft quality & standards
Soft quality & standardsSoft quality & standards
Soft quality & standards
 
Rajeshkanna_Resume
Rajeshkanna_ResumeRajeshkanna_Resume
Rajeshkanna_Resume
 
DSUS_MAO_2012_Jie
DSUS_MAO_2012_JieDSUS_MAO_2012_Jie
DSUS_MAO_2012_Jie
 
State of DevOps 2018: Continuous Testing is Required for DevOps Success
State of DevOps 2018: Continuous Testing is Required for DevOps SuccessState of DevOps 2018: Continuous Testing is Required for DevOps Success
State of DevOps 2018: Continuous Testing is Required for DevOps Success
 
Automation Essentials for the Age of Agile
Automation Essentials for the Age of AgileAutomation Essentials for the Age of Agile
Automation Essentials for the Age of Agile
 
Logrando valor de negocio con AWS
Logrando valor de negocio con AWSLogrando valor de negocio con AWS
Logrando valor de negocio con AWS
 
[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...
[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...
[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...
 
IRJET- Enhancing Line Efficiency of Road Machinery Assembly Line at Volvo...
IRJET-  	  Enhancing Line Efficiency of Road Machinery Assembly Line at Volvo...IRJET-  	  Enhancing Line Efficiency of Road Machinery Assembly Line at Volvo...
IRJET- Enhancing Line Efficiency of Road Machinery Assembly Line at Volvo...
 

Más de Nesma

Más de 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
 

Último

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Último (20)

Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 

Iwsm2014 transforming dust into pots of gold (alain abran)

  • 1. Software Estimation: Transforming Dust into Gold? Alain Abran École de Technologie Supérieure, University of Québec, Montréal, Canada alain.abran@etsmtl.ca 24th International Workshop on Software Measurement & 9th International Conf. on Software Process and Product Measurement - IWSM-MENSURA 2014 Rotterdam, Oct.6- 8 2014
  • 2. © Copyrights Abran 2014 2 Alain Abran 20 years 20 years + 35 PhD Development Maintenance Process Improvements ISO: 19761, 9216, 25000, 15939, 14143, 19760
  • 3. © Copyrights Abran 2014 Key Topics Addressed A lot of software estimation practices share characteristics of craft practices, in comparison to current professional practices from engineering & sciences. The goal of estimation in an uncertainty context is not come up with accurate estimate but to provide the required insights to manage uncertainty. How do our current practices in software estimation stack up with best practices in project management? 3
  • 4. © Copyrights Abran 2014 Or? (Software) Estimation
  • 5. © Copyrights Abran 2014 5 Software Estimation by ‘Experts’
  • 6. © Copyrights Abran 2014 Estimation expectations
  • 8. © Copyrights Abran 2014 © Copyrights Abran 2014
  • 9. © Copyrights Abran 2014 © Copyrights Abran 2014
  • 10. © Copyrights Abran 2014 © Copyrights Abran 2014
  • 11. © Copyrights Abran 2014 © Copyrights Abran 2014
  • 15. © Copyrights Abran 2014 15 Adjustment Phase
  • 16. © Copyrights Abran 2014 A look at the prevalent estimation approach: The ‘COCOMO-like’ approach 16
  • 17. © Copyrights Abran 2014 17 © Copyrights Abran 2014
  • 19. © Copyrights Abran 2014 19 COCOMO-like estimation models: Effort is a function of Size & +15 step-functions An Estimate
  • 20. © Copyrights Abran 2014 20 COCOMO-like estimation models: Effort is a function of Size & +15 step-functions Error Range ?
  • 22. © Copyrights Abran 2014 22 COCOMO-like estimation models: Effort is a functIon of Size & +15 step-functions of unknown quality combined into a single number! Greater Error Ranges
  • 23. © Copyrights Abran 2014 23 © Copyrights Abran 2014
  • 24. © Copyrights Abran 2014 Kemerer 1987 on COCOMO81 Small scale replication studies - 17 projects 24 Basic Exponential on Size Intermediate & 15 cost drivers Detailed & 4 project phases R2 (max=1.0) 0.68 0.60 0.52 MMRE (mean magnitude or relative errors) 610% 583% 607%
  • 26. © Copyrights Abran 2014 KEMERER 1987 On another Estimation Model: With complex mathematical formula Claims of being based on +4,000 projects …. Still being marketed in 2014 …at a very high cost! 26
  • 27. © Copyrights Abran 2014 KEMERER 1987 on Estimation Tool Y Small scale replication study – 17 projects MMRE = 772% With both large + & - (i.e. cannot be calibrated!) 27
  • 28. © Copyrights Abran 2014 Larger scale replication study - MMRE Programming language, size range [in Function Points] (1) Vendor’s black-box estimation tool (%) (2) White-box models built directly from the data (%) Access [200,800] 341 15 C [200, 800] 1653 50 C++ [70, 500] 97 86 C++ [750, 1250] 95 24 Cobol [60, 400] 400 42 Cobol [401, 3500] 348 51 Cobol II [80, 180] 89 29 Cobol II [180, 500] 109 46 Natural [20, 620] 243 50 Natural [621, 3500] 347 35 Oracle [100, 2000] 319 120 PL1 [80, 450] 274 45 PL1 [550, 2550] 895 21 Powerbuilder [60, 400] 95 29 SQL [280, 800] 136 81 SQL [801, 4500] 127 45 Telon [70, 650] 100 22 Visual Basic [30, 600] 122 54 Min 89 15 Max 1,653 120 28
  • 29. © Copyrights Abran 2014 Larger scale replication study - MMRE Programming language, size range [in Function Points] (1) Vendor’s black-box estimation tool (%) (2) White-box models built directly from the data (%) Access [200,800] 341 15 C [200, 800] 1653 50 C++ [70, 500] 97 86 C++ [750, 1250] 95 24 Cobol [60, 400] 400 42 Cobol [401, 3500] 348 51 Cobol II [80, 180] 89 29 Cobol II [180, 500] 109 46 Natural [20, 620] 243 50 Natural [621, 3500] 347 35 Oracle [100, 2000] 319 120 PL1 [80, 450] 274 45 PL1 [550, 2550] 895 21 Powerbuilder [60, 400] 95 29 SQL [280, 800] 136 81 SQL [801, 4500] 127 45 Telon [70, 650] 100 22 Visual Basic [30, 600] 122 54 Min 89 15 Max 1,653 120 29
  • 30. © Copyrights Abran 2014 30 Software Estimation by ‘Experts’
  • 31. © Copyrights Abran 2014 The bundled models!
  • 32. © Copyrights Abran 2014 Estimation Outcomes! 32 Quick & Easy…
  • 33. © Copyrights Abran 2014 COCOMO-like estimation models The ‘feel-good’ dead end! 33 Quick & Easy…
  • 35. © Copyrights Abran 2014 Criteria for the Quality of the Estimation Models Academic literature: R2 (coefficient of determination) MMRE (mean magnitude of relative errors) MARE (Median of relative errors), etc….. Residuals of errors ramdonly distributed Statistical significance (spearman test). Etc. 35
  • 36. © Copyrights Abran 2014 Criteria for the Quality of the Estimation Models Academic literature: Complex criteria for the verification of the outputs of the estimation models but … no verification: -That the models’ assumptions are met! -Nor of the inputs themselves 36
  • 40. © Copyrights Abran 2014 Invalid range
  • 41. © Copyrights Abran 2014 Invalidity range
  • 42. © Copyrights Abran 2014 42 A New Software Metric to Complement Function Points The Software Non-functional Assessment Process (SNAP)
  • 43. © Copyrights Abran 2014 43 Author Very strong relationship of SNAP with Effort R2 = 0 ,89 (R2 max = 1,0)
  • 44. © Copyrights Abran 2014 Author’s assertion on Figure 4: R2 = .89 Significance F = 1.7 * 10-23 Spearman = .85 Runs = pass & Spearman test for rank correlation of .85, with an associated confidence of statistical significance of greater than 99% (p-value <.0001). 44
  • 46. © Copyrights Abran 2014 46 Invalidity Range
  • 47. © Copyrights Abran 2014 Author’s assertion on Figure 4: R2 = .89 Significance F = 1.7 * 10-23 Spearman = .85 Runs = pass & Spearman test for rank correlation of .85, with an associated confidence of statistical significance of greater than 99% (p-value <.0001). But: These numbers & stats are invalid the necessary requirements for a regression are not met! (Presence of large outliers = meaningless stats numbers!!) 47
  • 48. © Copyrights Abran 2014 What it really looked like for the range for which there is enough data points Approxmimatively: An R2 = 0.3 Not R2 = 0.89 (R2 max = 1,0) CONCLUSION: invalid approach to empirically adopt SNAP!
  • 49. © Copyrights Abran 2014 49 Hell is paved all over with good intentions!
  • 52. © Copyrights Abran 2014 52 Invalidity Range
  • 53. © Copyrights Abran 2014 Project Scope The dreamer Accounting Marketing The visionnary 53 Stakeholders initial wishes
  • 54. © Copyrights Abran 2014 Imprecise Inputs at Feasibility Analysis – Much Greater Error Range 54
  • 55. © Copyrights Abran 2014 Project Scope Agreed Project Scope! The dreamer Accounting Marketing The visionnary 55 Stakeholders initial wishes
  • 56. © Copyrights Abran 2014 Estimation Models: The Uncertainty Cone: Requirements Specs 56
  • 57. © Copyrights Abran 2014 Scales in Plans - Architects & Engineers 57 © Almakadmeh-Abran © Almakadmeh-Abran 2012
  • 58. © Copyrights Abran 2014 Scales in Software Documents? 58 © Almakadmeh 2013
  • 59. © Copyrights Abran 2014 Scales in Software Documents? 59 © Almakadmeh 2013
  • 60. © Copyrights Abran 2014 An investigation of an existing functional size approximation technique: reproducibility 60 Difference of functional size approximation © Almakadmeh 2013 Participant code Approximate functional size using an approximation technique X (Min, Most-likely, Max) (in CFP) Percentage difference in functional size approximation (w.r.t. Most-likely value) A6 (45, 74, 93) − 90% A12 (57, 114, 179) − 84% A3 (238, 543, 910) − 23% A9 (250, 545, 909) − 23% A5 (299, 592, 962) − 16% A2 (250, 705, 1250) 0% A1 (521, 1071, 1616) + 52% A11 (581, 1185, 1972) + 68% A8 (697, 1454, 2472) + 106% A7 (964, 2077, 3450) + 195% A4 (1181, 2369, 3957) + 236% A10 (2265, 4510, 7408) + 540% Minimum − 90% Maximum + 540% 12 Participants
  • 61. © Copyrights Abran 2014 An investigation of an existing functional size approximation technique: accuracy 61 Accuracy of the functional size approximation © Almakadmeh 2013 12 Participants Participant code Approximated functional size using the E&Q COSMIC technique in CFP (min, most-likely, max) (1) Reference functional size for accuracy criteria (2) MRE calculated using values in (1) and (2) (min, most-likely, max) A6 (45, 74, 93) 79 CFP (43%, 7%, 17%) A12 (57, 114, 179) (28%, 44%, 126%) A3 (238, 543, 910) (200%, 585%, 1047%) A9 (250, 545, 909) (215%, 587%, 1046%) A5 (299, 592, 962) (277%, 646%, 1113%) A2 (250, 705, 1250) (215%, 789%, 1476%) A1 (521, 1071, 1616) (557%, 1251%, 1938%) A11 (581, 1185, 1972) (633%, 1394%, 2387%) A8 (697, 1454, 2472) (779%, 1733%, 3017%) A7 (964, 2077, 3450) (1115%, 2519%, 4250%) A4 (1181, 2369, 3957) (1389%, 2887%, 4890%) A10 (2265, 4510, 7408) (2756%, 5587%, 9241%) Average MRE on functional size approximations (all 12 participants) (684%, 1502%, 2546%) Average MRE on functional size approximations (except participants A6 & A12) (814%, 1798%, 3041%)
  • 62. © Copyrights Abran 2014 Software Size? Lines of code Or Function Points: –+30 variations –& 5 International Standards! 62
  • 63. © Copyrights Abran 2014 Lack of universally accepted references & Impact 63
  • 64. © Copyrights Abran 2014 FP to LOC convertion ratios in Estimation Models What happened to Ariane 5 spacecraft … and why? 64
  • 66. © Copyrights Abran 2014 Estimation Approaches The ‘feel-good’ dead end! 66 Quick & Easy…
  • 67. © Copyrights Abran 2014 http://www.projectcodemeter.com/cost_estimation/kop3.html ProjectCodeMeter Is a professional software tool for project managers to measure and estimate the Time, Cost, Complexity, Quality and Maintainability of software projects as well as Development Team Productivity by analyzing their source code. Using a modern software sizing algorithm called Weighted Micro Function Points (WMFP) a successor to solid ancestor scientific methods as COCOMO, COSYSMO, Maintainability Index, Cyclomatic Complexity, and Halstead Complexity, It produces more accurate results than traditional software sizing tools, while being faster and simpler to configure. 67
  • 68. © Copyrights Abran 2014 Gold Estimation at the Renaissance
  • 69. © Copyrights Abran 2014 Estimation Models in the Renaissance
  • 70. © Copyrights Abran 2014 Books as Sources of Estimation Models
  • 71. 71 © Copyrights Abran 2014 You want to know more the quality of estimation models & inputs to these models?
  • 72. © Copyrights Abran 2014 72 alain.abran@etsmtl.ca