SlideShare a Scribd company logo
1 of 36
Mikhail Pavlov


Process Performance
Baselines and Models
  CMMI High Maturity Practices in
        Software Testing
Hello!
             My name is Mikhail Pavlov




60 minutes       silent mode         questions


                        2
Disclaimer
All numbers, charts and trends in this
presentation are used solely for illustrative
purposes.
Samples of measurements are not based
either on industry or a certain company
project results.
All coincidences with real measurements
results and companies are accidental.

                    3
Software Testing
      Background
in software testing since 1988

defended Ph.D. thesis on compiler testing 1994

test lead/test analyst 2000-2004

quality manager 2009-2012

translated two software bestsellers into Russian

ISTQB FL certified 2011

                     4
Experience in CMMI
participated in 4 official CMMI Appraisals in roles of:

   test lead

   head of training organization

   appraisal team member

   consultant

implemented CMMI high maturity requirements in 3
organizations

Certified Internal Appraisal Team Member

                           5
What is CMMI?
Designed for software
engineering organizations

Current version 1.3

Three constellations

   CMMI for Development

   CMMI for Acquisition

   CMMI for Services


                            6
CMMI Maturity Levels




         7
CMMI Can Help:
High Maturity Process Areas
  Level 4

     Organization Process Performance

     Quantitative Project Management

  Level 5

     Causal Analysis and Resolution

     Organization Performance
     Management


                           8
What we will be talking
       about?
SIMPLE RULES       SIMPLE SAMPLES




               9
What And How Do You
      Measure?

Elementary
measurements

Compound
measurements

Indicators/KPIs



                  10
Why Do You Collect
  Measurements?


Do you know how your team works?

Can you predict a level of your product
quality?
Three Simple Rules


Set a goal

Build/find a model

Separate common
variations from special




                     12
0
                                                                                                                                                  100
                                                                                                                                                                      200
                                                                                                                                                                                           300
                                                                                                                                                                                                                400
                                                                                                                                                                                                                                    500
                                                                                                                                                                                                                                                         600
                                                                                                                                                                                                                                                                              700




                                                                                                                                            0

                                                           1
No. of defects




100
 50
  0
 50
100
150
200
250
                                                                                                                                                0

                                                           2
                 Le




                                                                                                                                                   1

                                                           3
                   ga
                       c
                 Bu y




                                                                                                                                                       1

                                                           4
                   ild
                       _




                                                                                                                                             92 96 100 108
                 Bu 0_




                                                                                                                                                           3
                   ild IBM
                       _




                                                           5
                 Bu 7_
                   ild 0_
                       _     0




                                                                                                                                                               7

                                                           6
                 Bu 7_ 01
                   ild    0_
                       _     0




                                                           7
                 Bu 7_ 02
                   ild    0_




                                                                                                                                                           132 143 149
                       _     0
                 Bu 7_ 03




                                                           8
                   ild    0_
                       _     0
                 Bu 7_ 04
                   ild    0_




                                                           9
                       _     0




                                                                                                                                                                       173 194
                 Bu 7_ 05
                   ild    0_
                       _     0




                                                           10
                 Bu 7_ 06
                   ild    0_
                       _     0




                                                           11
                 Bu 7_ 07
                   ild 0_
                       _     0




                                                                                                                                                                   8 16 16 17 24 32
                 Bu 7_ 07
                   ild 0_ _Le
                       _     0
                 Bu 7_ 08 gac
                   ild 0_         y
                       _     0                                                                                                                                                 205 215 216 224
                 Bu 7_ 09
                   ild 0_
                       _     0
                 Bu 7_ 10
                   ild 0_
                       _     0
                                                                                                                                                                                          63 90 90
                 Bu 7_ 11
                                                                                                                                                                                               247 248




                   ild 0_
                       _     0
                                                                                                                                                                                                      103



                 Bu 7_ 13
                   ild 0_ _B
                       _     0
                 Bu 7_ 13
                   ild 0_ _Le
                             0
                                                                                                                                                                                                       260 269




                       _
                 Bu 7_ 14 gac
                                  y
                                                                                                                                                                                                          154 164




                   ild 0_
                       _     0
                                                                                                                                                                                                               314




                 Bu 7_ 15
                   ild 0_
                       _     0
                 Bu 7_ 17
                   ild 0_
                       _     0
                 Bu 7_ 18
                                                                                                                                                                                                                   349 357




                   ild 0_
                       _     0
                 Bu 7_ 19
                   ild 0_
                                      Not closed defects


                       _     0
                 Bu 7_ 20
                   ild 0_
                       _     0
                 Bu 7_ 21
                   ild 0_
                                                                                                                                                                                                                                                                                                                                                  Testing?




                       _     0
                                                                                                                                                                                                                           379 382 402




                 Bu 7_ 22
                   ild 0_
                       _     0
                 Bu 7_ 23
                   ild 0_
                       _     0
                                                                                                                                                                                                                  188 197 199 200 205 211 211




                 Bu 7_ 23
                   ild 0_ _Le
                             0
                                                                                                                                                                                                                                                                                             Ratio of Closed defects to Acknowledged defects




                       _
                                                                                                                                                                                                                                              220




                 Bu 7_ 24 gac
                                  y
                                                                                                                                                                                                                                       414 418 438




                   ild 0_
                       _     0
                 Bu 7_ 25
                                            Verified




                   ild 0_
                       _     0
                 Bu 7_ 26
                                                                                                                                                                                                                                                  278 304




                   ild 0_
                       _     0
                 Bu 7_ 27
                   ild 0_
                       _     0
                                                                                                                                                                                                                                                                                                                                               When Can I Stop


                                                                                                                                                                                                                                                          364




                                            New
                                                                                                                                                                                                                                                   456 460 480




                 Bu 7_ 28
                   ild 0_
                       _     0
                                                                                                                                                                                                                                                              400




                 Bu 7_ 29
                                                                                                                                                                                                                                                               510




                   ild    0_
                       _     0
                 Bu 7_ 30
                                                                                                                                                                                                                                                                                                Verified




                          0_
                                                                                                                                                                                                                                                                   567




                   ild
                       _     0
                 Bu 7_ 31
                                                                                                                                                                                                                                                                  464 490




                   ild    0_
                       _     0
                                            Not Closed




                 Bu 7_ 33
                   ild    0_
                       _7 03
                         _0 4
                           _0
                               35
                                                                                                                                                                                                                                                                                                Acknowl'd total




                                                                                                                                                                                                                                                                          506 515 524 525




                                                           12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
                                                                                                                                                                                                                                                                       599 610 624 625 625
Sample for Quick
              Analysis
 30



22.5

                                            Defect density (DD) =
  15                                        number of defects /
                                            added product size

 7.5



  0
       1   2   3   4   5   6   7        8


                                   14
Separate Common from
        Special
 variations

    common causes -
    system behavior

    special causes -
    subject for root-
    cause analysis
    (ultra performance,
    problems, influence
    of external factors,
    or etc.)

                           15
Control Chart 1/3  XmR Chart
  30.0

                                                                      25.51
  22.5



  15.0
                                                                      11.88
   7.5



    0                                                                  0
         1   2     3        4               5           6     7   8

                       DD       LCL             Mean    ULC


Mean = (x1+...xn)/n
R(i)=|X(i+1)-X(i)| - moving range                      Sigma - 68.27%
Rav=(R(1)+...+R(n-1))/(n-1)                            2Sigma - 95.45%
UCL(X)=Mean + 2.66*Rav                                 3Sigma - 99.73%
LCL(X)=Mean - 2.66*Rav
                                      16
Control Chart 2/3
                                XmR Chart
30.0



22.5



15.0



 7.5



  0
       1        2    3          4      5       6    7        8



           -2sigma       DD           LCL          ULC
           -sigma        Mean         +sigma       +2sigma




             Assuming that a stochastic variable has a normal
             distribution we have sigma equal to standard deviation
                                                                 17
Control Chart 3/3
Special reason or assignable cause sample
Assignable causes require additional analysis




                                                DRE=PreUAT/
                                                (PreUAT+UAT)




                                  18
Assignable (Special)
 Causes of Variation
There are 8 main types of assignable causes

   Point outside control limits

   Nine points in a row on one side of the central line

   Six points in a row steadily in(de)creasing

   Fourteen points in a row alternating up and down

   ...

Every assignable cause is a subject for analysis

                            19
Process Performance
      Baseline
A snapshot of a set of process performance
indicators which characterize process or
subprocess behavior

Based on statistical elaboration and segregation
of project data

  statistical and probability models

  categorization of objects under measurements


                     20
Single Malt vs Blended
        Scotch




          21
Process Performance
   Baseline: PDDD (sample)
               Project
Project Type             Platform   Indicator Unit   Mean   LCL   UCL
                Size

                                         Defect/
   Blend       Middle     Java                       1.32    0    4.71
                                         KSLOC
                                         Defect/
   Blend       Small      Other                      1.39    0    3.58
                                         KSLOC
                                         Defect/
   Dev         Middle     .Net                       1.21    0    4.21
                                         KSLOC
                                         Defect/
Maintenance    Small      Java                       0.35    0    0.89
                                         KSLOC



                                    22
Key PPB Rules

Defined for statistically stable process

Recalculated on regular basis until historical
data are not “enough”

Needs redefinition from scratch if the process
it determines is significantly changed



                     23
Process Improvements




                         Narrowing distribution
Shift of the Mean
                                range

                    24
PPB: Shift Sample
                       PDDD
                                                                                  PPB FOR PDDD
 5.00
                                                            3.00
 3.75                                                       2.25

 2.50                                                       1.50

 1.25                                                       0.75

                                                                 0
   0                                                             Release     11      13     15   17
   Release 2   4   6   8   10   12   14   16   18


                                     DD        LCL        Mean         ULC


                 Mann-Whitney Test:
verifies a hypothesis that two sets of data come from
                 different populations
                                                     25
Summary: Process
Performance Baseline

Based on historical data

Mathematical statistics is used to create

Defines natural process range of an indicator

Assists in project estimation and planning,
monitoring and control and process improvement



                       26
Process Performance
      Models
Process-performance models are used to

  PREDICT the value of a process-performance
  measure from the values of other process,
  product, and service measurements and

  CONTROL the process outcome

Process-performance models are based on

  probabilistic nature of software development
  process

                     27
How It Works
                 Ask question
                  about your
                 observations
Analyze data
and conclude                    Create working
(is hypothesis                    hypothesis
     true)?
                 Collect data
                  and use
                 controllable
                   factors
                      28
PPM Sample: Prediction
  of Delivered Quality

 Goal - ensure that a level of product quality
 would be as expected by customer

 Model - find measures which can be obtained
 before delivery and their relation with the
 aimed measure



                      29
Mapping Goals and
   Forming Working
      Hypothesis
Customer-defined KPI - post-delivery defect
density should be not greater than 5

Internal measurable objective is PDDD < 4.31

Analyze relationship between PDDD and DD
(defect density before delivery)


                    30
Create Model: Input
                        DD XmR Chart
20
                                                           Release    DD     PDDD   AC    Excl

                                                             1       5.32    0.07
15
                                                             2       6.56    0.27

                                                             3       8.61    1.14
10
                                                             4.0     8.25    1.06

                                                             4.1     8.27    0.80
 5
                                                             5.0     6.33    1.12

                                                             5.1     13.00   1.67
 0
     1   2    3   4     4.1   5   5.1 5.1.1 6   6.1   7     5.1.1    8.67    0.67

         DD       LCL         Mean       UCL                 6       19.06   1.55   Yes   Yes

                                                             6.1     10.28   0.42

                                                             7       13.49   1.22

                                                      31
Create Statistics-Based
        Model
Build plot

Select linear as criterion function

Calculate linear function’s
coefficients

Hypothesis is verified (regression
analysis) - 71% is fine

Calculate predicted values using
the obtained function

If DD does not exceed 15.2 a
predicted PDDD value would not
exceed 4.31 with 95% probability

                                32
Monitor, Control and
          Analysis
                Acknowledged         Size Added
  Build Id    defects (cumulative)   (cumulative)   DD (current) Flag raised

Build_8_001          99              5832             16.98         Yes
Build_8_011        233               17116            13.61
Build_8_021        396               37872            10.46
Build_8_031        637               48268             13.2
Build_8_036        655               54002            12.13

     Post delivery defect density for
           Release 8.0 = 1.98
                                         33
Summary
Testing measurements are an empirical and scientific assistance in resolution of
problems in software development process

When performing measurements
    do not forget to set a goal;

    build a model to control its parameters;

    separate common causes from special ones

Use process performance baseline

    to know how you work
    to estimate and monitor project execution

Create a process performance model

         if you want to predict and control parameters on the phase when they
         cannot be measured
See you again!


  In April at yvrTesting session

          I will present

“Forgotten? Ignored? Obsolete?”

   Static Testing Techniques
Thank you!

          Mikhail Pavlov

 email mikhail.pavlov@gmail.com

LinkedIn http://www.linkedin.com/
        in/mikhailpavlov

      Twitter @m__pavlov

       phone 604 4403601


                           36

More Related Content

Viewers also liked

SEO and Analytics for Wordpress
SEO and Analytics for WordpressSEO and Analytics for Wordpress
SEO and Analytics for Wordpressjeremyflint
 
Software Developer Productivity: What we know and how to make it better
Software Developer Productivity: What we know and how to make it betterSoftware Developer Productivity: What we know and how to make it better
Software Developer Productivity: What we know and how to make it betterTasktop
 
Harassment Guidelines for Managers and Supervisors
Harassment Guidelines for Managers and SupervisorsHarassment Guidelines for Managers and Supervisors
Harassment Guidelines for Managers and SupervisorsCalvin House
 
Comparació de dos parcs naturals
Comparació de dos parcs naturalsComparació de dos parcs naturals
Comparació de dos parcs naturalsrraquelrodriguez
 
CMMI for Development Workshop
CMMI for Development WorkshopCMMI for Development Workshop
CMMI for Development WorkshopSherif Salah
 
Measuring_team_performance
Measuring_team_performanceMeasuring_team_performance
Measuring_team_performanceVibhuti Verma
 
APP MOBILE MENSA UNIVERSITARIA
APP MOBILE MENSA UNIVERSITARIAAPP MOBILE MENSA UNIVERSITARIA
APP MOBILE MENSA UNIVERSITARIAFederico Bonafede
 
Sexual Harassment Training-Managers 2015
Sexual Harassment Training-Managers 2015Sexual Harassment Training-Managers 2015
Sexual Harassment Training-Managers 2015Lisa Z. Garvic
 
Measuring team performance with Polls
Measuring team performance with PollsMeasuring team performance with Polls
Measuring team performance with PollsPeter Rainey
 
The Tips & Tools You Need to Build a Successful Hiring Process
The Tips & Tools You Need to Build a Successful Hiring ProcessThe Tips & Tools You Need to Build a Successful Hiring Process
The Tips & Tools You Need to Build a Successful Hiring ProcessFormstack
 
Stauff Wind Energy Solutions
Stauff Wind Energy SolutionsStauff Wind Energy Solutions
Stauff Wind Energy SolutionsWaldo Sanchez
 
Overview of cmmi v1.3
Overview of cmmi v1.3Overview of cmmi v1.3
Overview of cmmi v1.3dp4824
 

Viewers also liked (15)

SEO and Analytics for Wordpress
SEO and Analytics for WordpressSEO and Analytics for Wordpress
SEO and Analytics for Wordpress
 
Software Developer Productivity: What we know and how to make it better
Software Developer Productivity: What we know and how to make it betterSoftware Developer Productivity: What we know and how to make it better
Software Developer Productivity: What we know and how to make it better
 
Harassment Guidelines for Managers and Supervisors
Harassment Guidelines for Managers and SupervisorsHarassment Guidelines for Managers and Supervisors
Harassment Guidelines for Managers and Supervisors
 
Comparació de dos parcs naturals
Comparació de dos parcs naturalsComparació de dos parcs naturals
Comparació de dos parcs naturals
 
CMMI for Development Workshop
CMMI for Development WorkshopCMMI for Development Workshop
CMMI for Development Workshop
 
Measuring_team_performance
Measuring_team_performanceMeasuring_team_performance
Measuring_team_performance
 
Introduction to CMMI-DEV v1.3 - Day 4
Introduction to CMMI-DEV v1.3  - Day 4Introduction to CMMI-DEV v1.3  - Day 4
Introduction to CMMI-DEV v1.3 - Day 4
 
APP MOBILE MENSA UNIVERSITARIA
APP MOBILE MENSA UNIVERSITARIAAPP MOBILE MENSA UNIVERSITARIA
APP MOBILE MENSA UNIVERSITARIA
 
Sexual Harassment Training-Managers 2015
Sexual Harassment Training-Managers 2015Sexual Harassment Training-Managers 2015
Sexual Harassment Training-Managers 2015
 
Introduction to CMMI-DEV v1.3 - Day 3
Introduction to CMMI-DEV v1.3  - Day 3Introduction to CMMI-DEV v1.3  - Day 3
Introduction to CMMI-DEV v1.3 - Day 3
 
Measuring team performance with Polls
Measuring team performance with PollsMeasuring team performance with Polls
Measuring team performance with Polls
 
The Tips & Tools You Need to Build a Successful Hiring Process
The Tips & Tools You Need to Build a Successful Hiring ProcessThe Tips & Tools You Need to Build a Successful Hiring Process
The Tips & Tools You Need to Build a Successful Hiring Process
 
PDCA & Tools
PDCA & ToolsPDCA & Tools
PDCA & Tools
 
Stauff Wind Energy Solutions
Stauff Wind Energy SolutionsStauff Wind Energy Solutions
Stauff Wind Energy Solutions
 
Overview of cmmi v1.3
Overview of cmmi v1.3Overview of cmmi v1.3
Overview of cmmi v1.3
 

Recently uploaded

Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Recently uploaded (20)

Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Process Performance Models and Process Performance Baselines

  • 1. Mikhail Pavlov Process Performance Baselines and Models CMMI High Maturity Practices in Software Testing
  • 2. Hello! My name is Mikhail Pavlov 60 minutes silent mode questions 2
  • 3. Disclaimer All numbers, charts and trends in this presentation are used solely for illustrative purposes. Samples of measurements are not based either on industry or a certain company project results. All coincidences with real measurements results and companies are accidental. 3
  • 4. Software Testing Background in software testing since 1988 defended Ph.D. thesis on compiler testing 1994 test lead/test analyst 2000-2004 quality manager 2009-2012 translated two software bestsellers into Russian ISTQB FL certified 2011 4
  • 5. Experience in CMMI participated in 4 official CMMI Appraisals in roles of: test lead head of training organization appraisal team member consultant implemented CMMI high maturity requirements in 3 organizations Certified Internal Appraisal Team Member 5
  • 6. What is CMMI? Designed for software engineering organizations Current version 1.3 Three constellations CMMI for Development CMMI for Acquisition CMMI for Services 6
  • 8. CMMI Can Help: High Maturity Process Areas Level 4 Organization Process Performance Quantitative Project Management Level 5 Causal Analysis and Resolution Organization Performance Management 8
  • 9. What we will be talking about? SIMPLE RULES SIMPLE SAMPLES 9
  • 10. What And How Do You Measure? Elementary measurements Compound measurements Indicators/KPIs 10
  • 11. Why Do You Collect Measurements? Do you know how your team works? Can you predict a level of your product quality?
  • 12. Three Simple Rules Set a goal Build/find a model Separate common variations from special 12
  • 13. 0 100 200 300 400 500 600 700 0 1 No. of defects 100 50 0 50 100 150 200 250 0 2 Le 1 3 ga c Bu y 1 4 ild _ 92 96 100 108 Bu 0_ 3 ild IBM _ 5 Bu 7_ ild 0_ _ 0 7 6 Bu 7_ 01 ild 0_ _ 0 7 Bu 7_ 02 ild 0_ 132 143 149 _ 0 Bu 7_ 03 8 ild 0_ _ 0 Bu 7_ 04 ild 0_ 9 _ 0 173 194 Bu 7_ 05 ild 0_ _ 0 10 Bu 7_ 06 ild 0_ _ 0 11 Bu 7_ 07 ild 0_ _ 0 8 16 16 17 24 32 Bu 7_ 07 ild 0_ _Le _ 0 Bu 7_ 08 gac ild 0_ y _ 0 205 215 216 224 Bu 7_ 09 ild 0_ _ 0 Bu 7_ 10 ild 0_ _ 0 63 90 90 Bu 7_ 11 247 248 ild 0_ _ 0 103 Bu 7_ 13 ild 0_ _B _ 0 Bu 7_ 13 ild 0_ _Le 0 260 269 _ Bu 7_ 14 gac y 154 164 ild 0_ _ 0 314 Bu 7_ 15 ild 0_ _ 0 Bu 7_ 17 ild 0_ _ 0 Bu 7_ 18 349 357 ild 0_ _ 0 Bu 7_ 19 ild 0_ Not closed defects _ 0 Bu 7_ 20 ild 0_ _ 0 Bu 7_ 21 ild 0_ Testing? _ 0 379 382 402 Bu 7_ 22 ild 0_ _ 0 Bu 7_ 23 ild 0_ _ 0 188 197 199 200 205 211 211 Bu 7_ 23 ild 0_ _Le 0 Ratio of Closed defects to Acknowledged defects _ 220 Bu 7_ 24 gac y 414 418 438 ild 0_ _ 0 Bu 7_ 25 Verified ild 0_ _ 0 Bu 7_ 26 278 304 ild 0_ _ 0 Bu 7_ 27 ild 0_ _ 0 When Can I Stop 364 New 456 460 480 Bu 7_ 28 ild 0_ _ 0 400 Bu 7_ 29 510 ild 0_ _ 0 Bu 7_ 30 Verified 0_ 567 ild _ 0 Bu 7_ 31 464 490 ild 0_ _ 0 Not Closed Bu 7_ 33 ild 0_ _7 03 _0 4 _0 35 Acknowl'd total 506 515 524 525 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 599 610 624 625 625
  • 14. Sample for Quick Analysis 30 22.5 Defect density (DD) = 15 number of defects / added product size 7.5 0 1 2 3 4 5 6 7 8 14
  • 15. Separate Common from Special variations common causes - system behavior special causes - subject for root- cause analysis (ultra performance, problems, influence of external factors, or etc.) 15
  • 16. Control Chart 1/3 XmR Chart 30.0 25.51 22.5 15.0 11.88 7.5 0 0 1 2 3 4 5 6 7 8 DD LCL Mean ULC Mean = (x1+...xn)/n R(i)=|X(i+1)-X(i)| - moving range Sigma - 68.27% Rav=(R(1)+...+R(n-1))/(n-1) 2Sigma - 95.45% UCL(X)=Mean + 2.66*Rav 3Sigma - 99.73% LCL(X)=Mean - 2.66*Rav 16
  • 17. Control Chart 2/3 XmR Chart 30.0 22.5 15.0 7.5 0 1 2 3 4 5 6 7 8 -2sigma DD LCL ULC -sigma Mean +sigma +2sigma Assuming that a stochastic variable has a normal distribution we have sigma equal to standard deviation 17
  • 18. Control Chart 3/3 Special reason or assignable cause sample Assignable causes require additional analysis DRE=PreUAT/ (PreUAT+UAT) 18
  • 19. Assignable (Special) Causes of Variation There are 8 main types of assignable causes Point outside control limits Nine points in a row on one side of the central line Six points in a row steadily in(de)creasing Fourteen points in a row alternating up and down ... Every assignable cause is a subject for analysis 19
  • 20. Process Performance Baseline A snapshot of a set of process performance indicators which characterize process or subprocess behavior Based on statistical elaboration and segregation of project data statistical and probability models categorization of objects under measurements 20
  • 21. Single Malt vs Blended Scotch 21
  • 22. Process Performance Baseline: PDDD (sample) Project Project Type Platform Indicator Unit Mean LCL UCL Size Defect/ Blend Middle Java 1.32 0 4.71 KSLOC Defect/ Blend Small Other 1.39 0 3.58 KSLOC Defect/ Dev Middle .Net 1.21 0 4.21 KSLOC Defect/ Maintenance Small Java 0.35 0 0.89 KSLOC 22
  • 23. Key PPB Rules Defined for statistically stable process Recalculated on regular basis until historical data are not “enough” Needs redefinition from scratch if the process it determines is significantly changed 23
  • 24. Process Improvements Narrowing distribution Shift of the Mean range 24
  • 25. PPB: Shift Sample PDDD PPB FOR PDDD 5.00 3.00 3.75 2.25 2.50 1.50 1.25 0.75 0 0 Release 11 13 15 17 Release 2 4 6 8 10 12 14 16 18 DD LCL Mean ULC Mann-Whitney Test: verifies a hypothesis that two sets of data come from different populations 25
  • 26. Summary: Process Performance Baseline Based on historical data Mathematical statistics is used to create Defines natural process range of an indicator Assists in project estimation and planning, monitoring and control and process improvement 26
  • 27. Process Performance Models Process-performance models are used to PREDICT the value of a process-performance measure from the values of other process, product, and service measurements and CONTROL the process outcome Process-performance models are based on probabilistic nature of software development process 27
  • 28. How It Works Ask question about your observations Analyze data and conclude Create working (is hypothesis hypothesis true)? Collect data and use controllable factors 28
  • 29. PPM Sample: Prediction of Delivered Quality Goal - ensure that a level of product quality would be as expected by customer Model - find measures which can be obtained before delivery and their relation with the aimed measure 29
  • 30. Mapping Goals and Forming Working Hypothesis Customer-defined KPI - post-delivery defect density should be not greater than 5 Internal measurable objective is PDDD < 4.31 Analyze relationship between PDDD and DD (defect density before delivery) 30
  • 31. Create Model: Input DD XmR Chart 20 Release DD PDDD AC Excl 1 5.32 0.07 15 2 6.56 0.27 3 8.61 1.14 10 4.0 8.25 1.06 4.1 8.27 0.80 5 5.0 6.33 1.12 5.1 13.00 1.67 0 1 2 3 4 4.1 5 5.1 5.1.1 6 6.1 7 5.1.1 8.67 0.67 DD LCL Mean UCL 6 19.06 1.55 Yes Yes 6.1 10.28 0.42 7 13.49 1.22 31
  • 32. Create Statistics-Based Model Build plot Select linear as criterion function Calculate linear function’s coefficients Hypothesis is verified (regression analysis) - 71% is fine Calculate predicted values using the obtained function If DD does not exceed 15.2 a predicted PDDD value would not exceed 4.31 with 95% probability 32
  • 33. Monitor, Control and Analysis Acknowledged Size Added Build Id defects (cumulative) (cumulative) DD (current) Flag raised Build_8_001 99 5832 16.98 Yes Build_8_011 233 17116 13.61 Build_8_021 396 37872 10.46 Build_8_031 637 48268 13.2 Build_8_036 655 54002 12.13 Post delivery defect density for Release 8.0 = 1.98 33
  • 34. Summary Testing measurements are an empirical and scientific assistance in resolution of problems in software development process When performing measurements do not forget to set a goal; build a model to control its parameters; separate common causes from special ones Use process performance baseline to know how you work to estimate and monitor project execution Create a process performance model if you want to predict and control parameters on the phase when they cannot be measured
  • 35. See you again! In April at yvrTesting session I will present “Forgotten? Ignored? Obsolete?” Static Testing Techniques
  • 36. Thank you! Mikhail Pavlov email mikhail.pavlov@gmail.com LinkedIn http://www.linkedin.com/ in/mikhailpavlov Twitter @m__pavlov phone 604 4403601 36