SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Portugal
Process Improvement in High Maturity
Environments
Improving the Efficiency of Code Reviews
André Ferreira
Software Quality Assurance Engineer
Critical Software S.A.

2013-10-18
Outline

© 2013 CMMI Portugal Conference Series – All Rights reserved.

1. SPI success - evaluation and measurement
2. CMMI High Maturity Processes Areas - a framework to drive
SPI initiatives

3. SPI initiative at Critical Software – Improving the efficiency of
Code Reviews
4. Recommendations/guidelines to improve the probability of
success of SPI initiatives.

2
SPI success: reports on SPI Success.
Medium
Improvement

# Data
points

Lowest
Improvement

Highest
Improvement

Cost
© 2013 CMMI Portugal Conference Series – All Rights reserved.

Performance
category

34%

29

3%

87%

Schedule

50%

22

2%

95%

Productivity

61%

20

11%

329%

Quality

48%

34

2%

132%

Customer
Satisfaction

14%

7

-4%

55%

Return on
Investment

[4.0:1]

22

[1.7:1]

[27.7:1]

Performance Results of CMMI-Based Process Improvement –Technical Report
CMU/SEI-2006-TR-004 ESC-TR-2006-004

3
SPI success: evaluation of SPI Success - I

© 2013 CMMI Portugal Conference Series – All Rights reserved.

Evaluation and validity of SPI success is questionable.

Hard to establish a clear relation of SPI initiative and SPI
results. Results are not questionable by themselves, but a clear
understanding of how success relates to SPI is unclear, mainly as result of:

1.
2.
3.
4.
5.

Confounding factors – not considering relevant factors, validity threat
Incomplete context descriptions – context of SPI not fully described
Evaluation validity – threats to validity not discussed
Measurement validity – measurement definition inconsistencies
Measurement scope – missing the big picture

Unterkalmsteiner et.al. (2011). Evaluation and Measurement of Software Process Improvement A Systematic Literature Review. IEEE Transactions on Software Engineering

4
© 2013 CMMI Portugal Conference Series – All Rights reserved.

SPI success: evaluation of SPI Success - I

Causation
established

Presence of
confounding factors

Y(SPI sucess) = f ( f1, f2, f,3)

Y’(SPI sucess) = f’ (?, ?, f1, f2, f3, ?)

5
Process
Management
Project
Management

© 2013 CMMI Portugal Conference Series – All Rights reserved.

CMMI High Maturity Framework Overview
Support
BO

OPM

PPBs

Project QPPOs

OPP

QPM

OIP

QPPOs

CAR

Defects

Performance
Issues

Corrective Actions

6
© 2013 CMMI Portugal Conference Series – All Rights reserved.

SPI Initiative

Improving the Efficiency of
Code Reviews

7
SPI Initiative – Opportunity Identification
OPM.SP 1.1/OPM.SP1.2

© 2013 CMMI Portugal Conference Series – All Rights reserved.

1. Annual Review Business Objectives



Business objective: Improve organizational profit margins
QPPOs: Improve project profit margins – do the
same/better for less

2. Feedback from projects
 Issues with review procedure – cumbersome - to much
time managing review records.

 Lead to establish a performance baseline of total
appraisal cost for code reviews.
8
SPI Initiative – Opportunity Identification

© 2013 CMMI Portugal Conference Series – All Rights reserved.

OPM.SP1.2/OPM.SP 1.3
 Analysis of performance data
 Feedback from projects was confirmed to be an
issue – statistical analysis of a control chart.
 Code review is a - fat process!
 Opportunity identified:
 Decrease appraisal cost of performing code
review procedure by:
 Improving efficiency (less effort) but control
impact on effectiveness

9
SPI Initiative – Potential Improvement I
OPM.SP 1.3

𝐶𝑜𝑄 = 𝑠𝑢𝑚(𝐼 + 𝐸 + 𝐴 + 𝑃)

High

Cost

© 2013 CMMI Portugal Conference Series – All Rights reserved.

Cost of Quality (CoQ) Management model

Total cost of
quality
(I) Internal
and (E)
External
failure costs

(A) Appraisal and
(P) Preventive
costs

Low
100%
defective

Quality

100%
good

10
SPI Initiative – Potential Improvement I
OPM.SP 1.3

Process Management

© 2013 CMMI Portugal Conference Series – All Rights reserved.

Rationale of impact on QPPOs

BO

Project
Gross
Margin
>= Target

QPPOs

Processes

Decrease on overall CoQ will
have a positive impact in the
ability of projects to meet
Project Gross Margin (QPPO)

EBT

Verificati
on/ Code
reviews

𝐶𝑜𝑄 = 𝑠𝑢𝑚(𝐼 + 𝐸 + 𝐴 + 𝑃)
Rework

11
SPI Initiative – Potential Improvement II
OPM.SP 1.3

High

Cost

© 2013 CMMI Portugal Conference Series – All Rights reserved.

Hypothesis1: Less effort spent performing code reviews will
contribute to a reduction in total appraisal cost.

Total cost of
quality
Internal and
external failure
costs
Appraisal and
preventive
costs

Low
100%
defective

Quality

100%
good

12
SPI Initiative – Potential Improvement II
OPM.SP 1.3

© 2013 CMMI Portugal Conference Series – All Rights reserved.

Hypothesis1: Less effort spent performing each code review will
contribute to a reduction in total appraisal cost

 Rationale of estimation of potential benefit
 (1) Assuming a 10x decrease on managing
review records -> x hours saved per review
 (2) y number of reviews performed each year
Total benefit (TH1)
 TH1(hours) = x*y

 TH1(€) = ~4K€/year
13
SPI Initiative – Potential Improvement III
OPM.SP 1.3

© 2013 CMMI Portugal Conference Series – All Rights reserved.

Hypothesis 2: Less effort per code review can be used to
perform additional code reviews (re-invest in Appraisal Cost)



Motivate an increase of # code reviews in projects with little
investment in code reviews
Motivate re-investment of effort saved to perform additional
code reviews (increase code coverage)

...with the final objective of decrease Total Cost of Quality by
decreasing considerably the Internal and External Failure
costs.

14
SPI Initiative – Potential Improvement III
OPM.SP 1.3

High

Cost

© 2013 CMMI Portugal Conference Series – All Rights reserved.

Hypothesis 2: Less effort per code review can be used to
perform additional code reviews (Increase Appraisal Costs)

Total cost of
quality
Internal and
external failure
costs
Appraisal and
preventive
costs

Low
100%
defective

Quality

100%
good

15
SPI Initiative – Potential Improvement III
OPM.SP 1.3

 Estimation of potential benefit
© 2013 CMMI Portugal Conference Series – All Rights reserved.






Based on performance baselines it takes 5x more to fix a
defect at ST when compared to code reviews
Projects who invest in code reviews, on average, have less
defects/LOC found in ST (corroborates the model) with a
typical distribution of [74%/24%] distribution of code reviews
VS. ST defects
Projects who invest less in code reviews have [5%/94%]
defect distribution

In the scenario of these projects with lower investment in code review
shifting to a bigger investment in code reviews, having an approximation
to a ratio of [74%/24/] we estimated potential savings of 70K€ for a year
timeframe.

TH2(€) = 70K€
16
SPI Initiative – ROI
OPM.SP 1.3

© 2013 CMMI Portugal Conference Series – All Rights reserved.

𝑟𝑒𝑡𝑢𝑟𝑛 − 𝑖𝑛𝑣𝑒𝑠𝑡𝑚𝑒𝑛𝑡
𝑖𝑛𝑣𝑒𝑠𝑡𝑚𝑒𝑛𝑡

 Estimation of potential benefit ROI =
 Hypothesis 1
 Tool license cost: 3.6K
 Management of SPI initiative:
Deployment + Training: 3K€
 ROI [ 0.4:1]
 Hypothesis 2
 Tool license cost: 3.6K
 Management of SPI initiative:
Deployment + Training: 3K€
 ROI [ 9.6:1]

17
SPI Initiative – Elicit Improvements

© 2013 CMMI Portugal Conference Series – All Rights reserved.

OPM.SP2.1/SP2.2
 A target was given to identify approaches that could
decrease in 10x the time to manage code review
records
 Several tools were identified and analyzed in a DAR
initiative – ‘smoke test’.

 Crucible came as the best option as it enabled to set-up
a review in less than 10 minutes among other relevant
factors related to infrastructure.

18
SPI Initiative – Pilot

© 2013 CMMI Portugal Conference Series – All Rights reserved.

OPM.SP2.3/SP2.4
 Criteria of success in supporting H1.
 Decrease review setup/manage records is
consistent below 10m/code review
 Impact on defect detection ability (def/kloc) is
non negative
 Pilot lasted 3 months and involved 5 project and a
workshop with SPA area members.

19
SPI Initiative – Pilot Results
OPM.SP2.4

© 2013 CMMI Portugal Conference Series – All Rights reserved.

 Performance baseline with pilot results was created.


Review setup/manage records was under 10m
resulting in a 12x decrease on overall effort – change

in performance tested with statistical
significance.


Defect defection rate has not affected:
when compared to existing performance baseline
(44 defect/KLOC)

Overall, Crucible supported H1 and therefore a base to
approach H2 with a higher degree of confidence.
20
SPI Initiative – Deployment
OPM.SP3.1/SP3.2/SP3.3

© 2013 CMMI Portugal Conference Series – All Rights reserved.

 Phase currently in progress
– Evaluation of ROI will be over a 1 year period
– Monitoring cost of quality
– For the second year end beyond the NPV will
replace ROI for Cost/Benefit analysis of SPI
initiative

21
SPI Recommendations

© 2013 CMMI Portugal Conference Series – All Rights reserved.

Seek to establish your Governance Model (GM)




Use/create a GM that supports the rationale of your
network of Objectives vs. Processes
Start small, measure the least as possible, focus on
making the model reliable.
Only with a minimal statistical confidence on cause and
effect you are able to estimate ROI of SPI

Y(Repeatable SPI sucess) = f (f1,f2,f3)
Y’(Risky SPI initiative) = f‘(?, ?, f1, f2, ?)
22
© 2013 CMMI Portugal Conference Series – All Rights reserved.

You can contact me at:
al-ferreira@criticalsoftware.com
or
csw-quality@criticalsoftware.com

Questions?

23

Weitere ähnliche Inhalte

Was ist angesagt?

Engineering design guildline_general_plant_cost_estimating_rev01web
Engineering design guildline_general_plant_cost_estimating_rev01webEngineering design guildline_general_plant_cost_estimating_rev01web
Engineering design guildline_general_plant_cost_estimating_rev01web
GABISA DEMISIE
 
Lean six sigma tollgate template videos only
Lean six sigma tollgate template videos onlyLean six sigma tollgate template videos only
Lean six sigma tollgate template videos only
Steven Bonacorsi
 
Innovation Benefits Realization for Industrial Research (Part-8)
Innovation Benefits Realization for Industrial Research (Part-8)Innovation Benefits Realization for Industrial Research (Part-8)
Innovation Benefits Realization for Industrial Research (Part-8)
Iain Sanders
 
Ops 571 final exam mcq`s correct answers 100%
Ops 571 final exam mcq`s correct answers 100%Ops 571 final exam mcq`s correct answers 100%
Ops 571 final exam mcq`s correct answers 100%
Austing_3
 
Workshop Presentation_Final
Workshop Presentation_FinalWorkshop Presentation_Final
Workshop Presentation_Final
MICHAEL BLUMBERG
 
CV - Yuri Crispim (inglês)
CV - Yuri Crispim (inglês)CV - Yuri Crispim (inglês)
CV - Yuri Crispim (inglês)
Yuri Crispim
 

Was ist angesagt? (20)

Mentoring LSS newsletter
Mentoring LSS newsletterMentoring LSS newsletter
Mentoring LSS newsletter
 
Engineering design guildline_general_plant_cost_estimating_rev01web
Engineering design guildline_general_plant_cost_estimating_rev01webEngineering design guildline_general_plant_cost_estimating_rev01web
Engineering design guildline_general_plant_cost_estimating_rev01web
 
Lean six sigma tollgate template videos only
Lean six sigma tollgate template videos onlyLean six sigma tollgate template videos only
Lean six sigma tollgate template videos only
 
Fmq lqos introduction npi rev 2
Fmq  lqos introduction npi rev 2Fmq  lqos introduction npi rev 2
Fmq lqos introduction npi rev 2
 
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Financial Integration
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Financial Integration Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Financial Integration
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Financial Integration
 
Lt Gen Arnold W. Bunch, Jr
Lt Gen Arnold W. Bunch, JrLt Gen Arnold W. Bunch, Jr
Lt Gen Arnold W. Bunch, Jr
 
Orange case study v0 04 lar 210110
Orange case study v0 04 lar 210110Orange case study v0 04 lar 210110
Orange case study v0 04 lar 210110
 
John dermody intro
John dermody introJohn dermody intro
John dermody intro
 
6 sigma
6 sigma6 sigma
6 sigma
 
Innovation Benefits Realization for Industrial Research (Part-8)
Innovation Benefits Realization for Industrial Research (Part-8)Innovation Benefits Realization for Industrial Research (Part-8)
Innovation Benefits Realization for Industrial Research (Part-8)
 
Ops 571 final exam mcq`s correct answers 100%
Ops 571 final exam mcq`s correct answers 100%Ops 571 final exam mcq`s correct answers 100%
Ops 571 final exam mcq`s correct answers 100%
 
Workshop Presentation_Final
Workshop Presentation_FinalWorkshop Presentation_Final
Workshop Presentation_Final
 
Cost management
Cost managementCost management
Cost management
 
CV - Yuri Crispim (inglês)
CV - Yuri Crispim (inglês)CV - Yuri Crispim (inglês)
CV - Yuri Crispim (inglês)
 
IRJET- Value Engineering-An Approach to Enhance Real Estate Industry
IRJET- Value Engineering-An Approach to Enhance Real Estate IndustryIRJET- Value Engineering-An Approach to Enhance Real Estate Industry
IRJET- Value Engineering-An Approach to Enhance Real Estate Industry
 
RUC 2003 reducing time to market using follow-the-sun techniques
RUC 2003   reducing time to market using follow-the-sun techniques RUC 2003   reducing time to market using follow-the-sun techniques
RUC 2003 reducing time to market using follow-the-sun techniques
 
COQ-Vestas
COQ-VestasCOQ-Vestas
COQ-Vestas
 
Transfer pricing in sap
Transfer pricing in sapTransfer pricing in sap
Transfer pricing in sap
 
Cv linked in
Cv linked inCv linked in
Cv linked in
 
Pmp cost chapter 7
Pmp cost chapter 7Pmp cost chapter 7
Pmp cost chapter 7
 

Ähnlich wie Process Improvement in High Maturity Environments Improving the Efficiency of Code Reviews

PMINEO_2012_03_OPM3_Organizational_PM_Maturity
PMINEO_2012_03_OPM3_Organizational_PM_MaturityPMINEO_2012_03_OPM3_Organizational_PM_Maturity
PMINEO_2012_03_OPM3_Organizational_PM_Maturity
Bob Zoller
 
Six Sigma Final PPT - Revised
Six Sigma Final PPT - RevisedSix Sigma Final PPT - Revised
Six Sigma Final PPT - Revised
Somrita Ghatak
 

Ähnlich wie Process Improvement in High Maturity Environments Improving the Efficiency of Code Reviews (20)

III Conferência CMMI Portugal, Presentation 6: Process Improvement in High Ma...
III Conferência CMMI Portugal, Presentation 6: Process Improvement in High Ma...III Conferência CMMI Portugal, Presentation 6: Process Improvement in High Ma...
III Conferência CMMI Portugal, Presentation 6: Process Improvement in High Ma...
 
PMINEO_2012_03_OPM3_Organizational_PM_Maturity
PMINEO_2012_03_OPM3_Organizational_PM_MaturityPMINEO_2012_03_OPM3_Organizational_PM_Maturity
PMINEO_2012_03_OPM3_Organizational_PM_Maturity
 
III Conferência CMMI Portugal, Keynote 1: Agile Methods and Capability Maturi...
III Conferência CMMI Portugal, Keynote 1: Agile Methods and Capability Maturi...III Conferência CMMI Portugal, Keynote 1: Agile Methods and Capability Maturi...
III Conferência CMMI Portugal, Keynote 1: Agile Methods and Capability Maturi...
 
ISMA 9 - van Heeringen - Using IFPUG and ISBSG to improve organization success
ISMA 9 - van Heeringen - Using IFPUG and ISBSG to improve organization successISMA 9 - van Heeringen - Using IFPUG and ISBSG to improve organization success
ISMA 9 - van Heeringen - Using IFPUG and ISBSG to improve organization success
 
Six Sigma Final PPT - Revised
Six Sigma Final PPT - RevisedSix Sigma Final PPT - Revised
Six Sigma Final PPT - Revised
 
III Conferência CMMI Portugal, Presentation 3: Lessons learned about multiple...
III Conferência CMMI Portugal, Presentation 3: Lessons learned about multiple...III Conferência CMMI Portugal, Presentation 3: Lessons learned about multiple...
III Conferência CMMI Portugal, Presentation 3: Lessons learned about multiple...
 
Lessons learned about multiple model appraisals - How to get costs reduction
Lessons learned about multiple model appraisals - How to get costs reduction Lessons learned about multiple model appraisals - How to get costs reduction
Lessons learned about multiple model appraisals - How to get costs reduction
 
Lean Manufacturing Cost Cutting Methods
Lean Manufacturing   Cost Cutting MethodsLean Manufacturing   Cost Cutting Methods
Lean Manufacturing Cost Cutting Methods
 
2006 017 001_23922
2006 017 001_239222006 017 001_23922
2006 017 001_23922
 
Vff project presentation-2009-10-19-1
Vff project presentation-2009-10-19-1Vff project presentation-2009-10-19-1
Vff project presentation-2009-10-19-1
 
Smef 2008 Harold Van Heeringen Outsourcing Test Activities How To Prove C...
Smef 2008 Harold Van Heeringen   Outsourcing Test Activities   How To Prove C...Smef 2008 Harold Van Heeringen   Outsourcing Test Activities   How To Prove C...
Smef 2008 Harold Van Heeringen Outsourcing Test Activities How To Prove C...
 
CMMI Project Planning Presentation
CMMI Project Planning PresentationCMMI Project Planning Presentation
CMMI Project Planning Presentation
 
Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...
Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...
Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...
 
III Conferência CMMI Portugal, Presentation 2: Process tailoring the missing ...
III Conferência CMMI Portugal, Presentation 2: Process tailoring the missing ...III Conferência CMMI Portugal, Presentation 2: Process tailoring the missing ...
III Conferência CMMI Portugal, Presentation 2: Process tailoring the missing ...
 
Six sigma in various industries
Six sigma in various industriesSix sigma in various industries
Six sigma in various industries
 
РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...
РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...
РАМЕЛЛА БАСЕНКО «ROI of automation or how to sell your automation ideas to cu...
 
Krishnan_Resume
Krishnan_ResumeKrishnan_Resume
Krishnan_Resume
 
Viresh Jugali CV
Viresh Jugali CVViresh Jugali CV
Viresh Jugali CV
 
Some tips for startupers. MLSDev brochure
Some tips for startupers. MLSDev brochureSome tips for startupers. MLSDev brochure
Some tips for startupers. MLSDev brochure
 
20160512 predictive and adaptive approach
20160512   predictive and adaptive approach20160512   predictive and adaptive approach
20160512 predictive and adaptive approach
 

Kürzlich hochgeladen

NewBase 17 May 2024 Energy News issue - 1725 by Khaled Al Awadi_compresse...
NewBase   17 May  2024  Energy News issue - 1725 by Khaled Al Awadi_compresse...NewBase   17 May  2024  Energy News issue - 1725 by Khaled Al Awadi_compresse...
NewBase 17 May 2024 Energy News issue - 1725 by Khaled Al Awadi_compresse...
Khaled Al Awadi
 
zidauu _business communication.pptx /pdf
zidauu _business  communication.pptx /pdfzidauu _business  communication.pptx /pdf
zidauu _business communication.pptx /pdf
zukhrafshabbir
 

Kürzlich hochgeladen (20)

بروفايل شركة ميار الخليج للاستشارات الهندسية.pdf
بروفايل شركة ميار الخليج للاستشارات الهندسية.pdfبروفايل شركة ميار الخليج للاستشارات الهندسية.pdf
بروفايل شركة ميار الخليج للاستشارات الهندسية.pdf
 
NewBase 17 May 2024 Energy News issue - 1725 by Khaled Al Awadi_compresse...
NewBase   17 May  2024  Energy News issue - 1725 by Khaled Al Awadi_compresse...NewBase   17 May  2024  Energy News issue - 1725 by Khaled Al Awadi_compresse...
NewBase 17 May 2024 Energy News issue - 1725 by Khaled Al Awadi_compresse...
 
How to refresh to be fit for the future world
How to refresh to be fit for the future worldHow to refresh to be fit for the future world
How to refresh to be fit for the future world
 
PitchBook’s Guide to VC Funding for Startups
PitchBook’s Guide to VC Funding for StartupsPitchBook’s Guide to VC Funding for Startups
PitchBook’s Guide to VC Funding for Startups
 
Innomantra Viewpoint - Building Moonshots : May-Jun 2024.pdf
Innomantra Viewpoint - Building Moonshots : May-Jun 2024.pdfInnomantra Viewpoint - Building Moonshots : May-Jun 2024.pdf
Innomantra Viewpoint - Building Moonshots : May-Jun 2024.pdf
 
Daftar Rumpun, Pohon, dan Cabang Ilmu (2024).pdf
Daftar Rumpun, Pohon, dan Cabang Ilmu (2024).pdfDaftar Rumpun, Pohon, dan Cabang Ilmu (2024).pdf
Daftar Rumpun, Pohon, dan Cabang Ilmu (2024).pdf
 
zidauu _business communication.pptx /pdf
zidauu _business  communication.pptx /pdfzidauu _business  communication.pptx /pdf
zidauu _business communication.pptx /pdf
 
Chapter 2ppt Entrepreneurship freshman course.pptx
Chapter 2ppt Entrepreneurship freshman course.pptxChapter 2ppt Entrepreneurship freshman course.pptx
Chapter 2ppt Entrepreneurship freshman course.pptx
 
TriStar Gold Corporate Presentation May 2024
TriStar Gold Corporate Presentation May 2024TriStar Gold Corporate Presentation May 2024
TriStar Gold Corporate Presentation May 2024
 
HAL Financial Performance Analysis and Future Prospects
HAL Financial Performance Analysis and Future ProspectsHAL Financial Performance Analysis and Future Prospects
HAL Financial Performance Analysis and Future Prospects
 
FEXLE- Salesforce Field Service Lightning
FEXLE- Salesforce Field Service LightningFEXLE- Salesforce Field Service Lightning
FEXLE- Salesforce Field Service Lightning
 
Copyright: What Creators and Users of Art Need to Know
Copyright: What Creators and Users of Art Need to KnowCopyright: What Creators and Users of Art Need to Know
Copyright: What Creators and Users of Art Need to Know
 
Falcon Invoice Discounting Setup for Small Businesses
Falcon Invoice Discounting Setup for Small BusinessesFalcon Invoice Discounting Setup for Small Businesses
Falcon Invoice Discounting Setup for Small Businesses
 
Powers and Functions of CPCB - The Water Act 1974.pdf
Powers and Functions of CPCB - The Water Act 1974.pdfPowers and Functions of CPCB - The Water Act 1974.pdf
Powers and Functions of CPCB - The Water Act 1974.pdf
 
Making Sense of Tactile Indicators: A User-Friendly Guide
Making Sense of Tactile Indicators: A User-Friendly GuideMaking Sense of Tactile Indicators: A User-Friendly Guide
Making Sense of Tactile Indicators: A User-Friendly Guide
 
Pitch Deck Teardown: Terra One's $7.5m Seed deck
Pitch Deck Teardown: Terra One's $7.5m Seed deckPitch Deck Teardown: Terra One's $7.5m Seed deck
Pitch Deck Teardown: Terra One's $7.5m Seed deck
 
Event Report - IBM Think 2024 - It is all about AI and hybrid
Event Report - IBM Think 2024 - It is all about AI and hybridEvent Report - IBM Think 2024 - It is all about AI and hybrid
Event Report - IBM Think 2024 - It is all about AI and hybrid
 
HR and Employment law update: May 2024.
HR and Employment law update:  May 2024.HR and Employment law update:  May 2024.
HR and Employment law update: May 2024.
 
Creative Ideas for Interactive Team Presentations
Creative Ideas for Interactive Team PresentationsCreative Ideas for Interactive Team Presentations
Creative Ideas for Interactive Team Presentations
 
How Do Venture Capitalists Make Decisions?
How Do Venture Capitalists Make Decisions?How Do Venture Capitalists Make Decisions?
How Do Venture Capitalists Make Decisions?
 

Process Improvement in High Maturity Environments Improving the Efficiency of Code Reviews

  • 1. Portugal Process Improvement in High Maturity Environments Improving the Efficiency of Code Reviews André Ferreira Software Quality Assurance Engineer Critical Software S.A. 2013-10-18
  • 2. Outline © 2013 CMMI Portugal Conference Series – All Rights reserved. 1. SPI success - evaluation and measurement 2. CMMI High Maturity Processes Areas - a framework to drive SPI initiatives 3. SPI initiative at Critical Software – Improving the efficiency of Code Reviews 4. Recommendations/guidelines to improve the probability of success of SPI initiatives. 2
  • 3. SPI success: reports on SPI Success. Medium Improvement # Data points Lowest Improvement Highest Improvement Cost © 2013 CMMI Portugal Conference Series – All Rights reserved. Performance category 34% 29 3% 87% Schedule 50% 22 2% 95% Productivity 61% 20 11% 329% Quality 48% 34 2% 132% Customer Satisfaction 14% 7 -4% 55% Return on Investment [4.0:1] 22 [1.7:1] [27.7:1] Performance Results of CMMI-Based Process Improvement –Technical Report CMU/SEI-2006-TR-004 ESC-TR-2006-004 3
  • 4. SPI success: evaluation of SPI Success - I © 2013 CMMI Portugal Conference Series – All Rights reserved. Evaluation and validity of SPI success is questionable. Hard to establish a clear relation of SPI initiative and SPI results. Results are not questionable by themselves, but a clear understanding of how success relates to SPI is unclear, mainly as result of: 1. 2. 3. 4. 5. Confounding factors – not considering relevant factors, validity threat Incomplete context descriptions – context of SPI not fully described Evaluation validity – threats to validity not discussed Measurement validity – measurement definition inconsistencies Measurement scope – missing the big picture Unterkalmsteiner et.al. (2011). Evaluation and Measurement of Software Process Improvement A Systematic Literature Review. IEEE Transactions on Software Engineering 4
  • 5. © 2013 CMMI Portugal Conference Series – All Rights reserved. SPI success: evaluation of SPI Success - I Causation established Presence of confounding factors Y(SPI sucess) = f ( f1, f2, f,3) Y’(SPI sucess) = f’ (?, ?, f1, f2, f3, ?) 5
  • 6. Process Management Project Management © 2013 CMMI Portugal Conference Series – All Rights reserved. CMMI High Maturity Framework Overview Support BO OPM PPBs Project QPPOs OPP QPM OIP QPPOs CAR Defects Performance Issues Corrective Actions 6
  • 7. © 2013 CMMI Portugal Conference Series – All Rights reserved. SPI Initiative Improving the Efficiency of Code Reviews 7
  • 8. SPI Initiative – Opportunity Identification OPM.SP 1.1/OPM.SP1.2 © 2013 CMMI Portugal Conference Series – All Rights reserved. 1. Annual Review Business Objectives   Business objective: Improve organizational profit margins QPPOs: Improve project profit margins – do the same/better for less 2. Feedback from projects  Issues with review procedure – cumbersome - to much time managing review records.  Lead to establish a performance baseline of total appraisal cost for code reviews. 8
  • 9. SPI Initiative – Opportunity Identification © 2013 CMMI Portugal Conference Series – All Rights reserved. OPM.SP1.2/OPM.SP 1.3  Analysis of performance data  Feedback from projects was confirmed to be an issue – statistical analysis of a control chart.  Code review is a - fat process!  Opportunity identified:  Decrease appraisal cost of performing code review procedure by:  Improving efficiency (less effort) but control impact on effectiveness 9
  • 10. SPI Initiative – Potential Improvement I OPM.SP 1.3 𝐶𝑜𝑄 = 𝑠𝑢𝑚(𝐼 + 𝐸 + 𝐴 + 𝑃) High Cost © 2013 CMMI Portugal Conference Series – All Rights reserved. Cost of Quality (CoQ) Management model Total cost of quality (I) Internal and (E) External failure costs (A) Appraisal and (P) Preventive costs Low 100% defective Quality 100% good 10
  • 11. SPI Initiative – Potential Improvement I OPM.SP 1.3 Process Management © 2013 CMMI Portugal Conference Series – All Rights reserved. Rationale of impact on QPPOs BO Project Gross Margin >= Target QPPOs Processes Decrease on overall CoQ will have a positive impact in the ability of projects to meet Project Gross Margin (QPPO) EBT Verificati on/ Code reviews 𝐶𝑜𝑄 = 𝑠𝑢𝑚(𝐼 + 𝐸 + 𝐴 + 𝑃) Rework 11
  • 12. SPI Initiative – Potential Improvement II OPM.SP 1.3 High Cost © 2013 CMMI Portugal Conference Series – All Rights reserved. Hypothesis1: Less effort spent performing code reviews will contribute to a reduction in total appraisal cost. Total cost of quality Internal and external failure costs Appraisal and preventive costs Low 100% defective Quality 100% good 12
  • 13. SPI Initiative – Potential Improvement II OPM.SP 1.3 © 2013 CMMI Portugal Conference Series – All Rights reserved. Hypothesis1: Less effort spent performing each code review will contribute to a reduction in total appraisal cost  Rationale of estimation of potential benefit  (1) Assuming a 10x decrease on managing review records -> x hours saved per review  (2) y number of reviews performed each year Total benefit (TH1)  TH1(hours) = x*y  TH1(€) = ~4K€/year 13
  • 14. SPI Initiative – Potential Improvement III OPM.SP 1.3 © 2013 CMMI Portugal Conference Series – All Rights reserved. Hypothesis 2: Less effort per code review can be used to perform additional code reviews (re-invest in Appraisal Cost)   Motivate an increase of # code reviews in projects with little investment in code reviews Motivate re-investment of effort saved to perform additional code reviews (increase code coverage) ...with the final objective of decrease Total Cost of Quality by decreasing considerably the Internal and External Failure costs. 14
  • 15. SPI Initiative – Potential Improvement III OPM.SP 1.3 High Cost © 2013 CMMI Portugal Conference Series – All Rights reserved. Hypothesis 2: Less effort per code review can be used to perform additional code reviews (Increase Appraisal Costs) Total cost of quality Internal and external failure costs Appraisal and preventive costs Low 100% defective Quality 100% good 15
  • 16. SPI Initiative – Potential Improvement III OPM.SP 1.3  Estimation of potential benefit © 2013 CMMI Portugal Conference Series – All Rights reserved.    Based on performance baselines it takes 5x more to fix a defect at ST when compared to code reviews Projects who invest in code reviews, on average, have less defects/LOC found in ST (corroborates the model) with a typical distribution of [74%/24%] distribution of code reviews VS. ST defects Projects who invest less in code reviews have [5%/94%] defect distribution In the scenario of these projects with lower investment in code review shifting to a bigger investment in code reviews, having an approximation to a ratio of [74%/24/] we estimated potential savings of 70K€ for a year timeframe. TH2(€) = 70K€ 16
  • 17. SPI Initiative – ROI OPM.SP 1.3 © 2013 CMMI Portugal Conference Series – All Rights reserved. 𝑟𝑒𝑡𝑢𝑟𝑛 − 𝑖𝑛𝑣𝑒𝑠𝑡𝑚𝑒𝑛𝑡 𝑖𝑛𝑣𝑒𝑠𝑡𝑚𝑒𝑛𝑡  Estimation of potential benefit ROI =  Hypothesis 1  Tool license cost: 3.6K  Management of SPI initiative: Deployment + Training: 3K€  ROI [ 0.4:1]  Hypothesis 2  Tool license cost: 3.6K  Management of SPI initiative: Deployment + Training: 3K€  ROI [ 9.6:1] 17
  • 18. SPI Initiative – Elicit Improvements © 2013 CMMI Portugal Conference Series – All Rights reserved. OPM.SP2.1/SP2.2  A target was given to identify approaches that could decrease in 10x the time to manage code review records  Several tools were identified and analyzed in a DAR initiative – ‘smoke test’.  Crucible came as the best option as it enabled to set-up a review in less than 10 minutes among other relevant factors related to infrastructure. 18
  • 19. SPI Initiative – Pilot © 2013 CMMI Portugal Conference Series – All Rights reserved. OPM.SP2.3/SP2.4  Criteria of success in supporting H1.  Decrease review setup/manage records is consistent below 10m/code review  Impact on defect detection ability (def/kloc) is non negative  Pilot lasted 3 months and involved 5 project and a workshop with SPA area members. 19
  • 20. SPI Initiative – Pilot Results OPM.SP2.4 © 2013 CMMI Portugal Conference Series – All Rights reserved.  Performance baseline with pilot results was created.  Review setup/manage records was under 10m resulting in a 12x decrease on overall effort – change in performance tested with statistical significance.  Defect defection rate has not affected: when compared to existing performance baseline (44 defect/KLOC) Overall, Crucible supported H1 and therefore a base to approach H2 with a higher degree of confidence. 20
  • 21. SPI Initiative – Deployment OPM.SP3.1/SP3.2/SP3.3 © 2013 CMMI Portugal Conference Series – All Rights reserved.  Phase currently in progress – Evaluation of ROI will be over a 1 year period – Monitoring cost of quality – For the second year end beyond the NPV will replace ROI for Cost/Benefit analysis of SPI initiative 21
  • 22. SPI Recommendations © 2013 CMMI Portugal Conference Series – All Rights reserved. Seek to establish your Governance Model (GM)    Use/create a GM that supports the rationale of your network of Objectives vs. Processes Start small, measure the least as possible, focus on making the model reliable. Only with a minimal statistical confidence on cause and effect you are able to estimate ROI of SPI Y(Repeatable SPI sucess) = f (f1,f2,f3) Y’(Risky SPI initiative) = f‘(?, ?, f1, f2, ?) 22
  • 23. © 2013 CMMI Portugal Conference Series – All Rights reserved. You can contact me at: al-ferreira@criticalsoftware.com or csw-quality@criticalsoftware.com Questions? 23