SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Metrics & Measurements
A Product Ship Perspective
                  Vijayan Reddy
                    Quality Manager
                     Adobe Systems
                     22/March/2007
Metrics & Measurements : Why



Objective Indicators for Product
Quality
Check Points at various phase
Watch Quality of Testing
Avoiding Subjective Decisions
Metrics : Why


Informative
    Track the Progress of Quality
    Improvement
Aiding Decisions
    Are We Good to Enter / Exit a phase
Triggering Action Items
    Bad Metrics : Fix Product Fast !
    Are We Slipping? Then look where to
    do better.
Essential Minimal Metrics…
K.I.S.S
    Less Overhead in Collection of
    Metrics
    Discussed
        Product Health Parameters
        Ship Readiness Metrics
    Not Discussed
        Project Management Metrics
        Process Efficiency Metrics



Applicable for Me?
    No One Size Fits All Theory
    Apply due judgment
Dev Phase : Code Metrics
Code Cyclomatic Complexity

Coding Violations DPMO
   Automated Code Review
        Guidelines & Practices
             Naming, Comments, Indent
             guidelines
             Hard coded values, Strings
             Uncaught Exceptions
             Un-freed Memory
             High Logical Nesting
        Possible Bugs
             Fall through Switch Cases

History Of Violations & Baselining
Dev Phase : Test Addition Metrics
Traceability Matrix : Tracks                Metrics
   Requirements
   Features                                    % Tests Added as per Planned Matrix
   Sub Features                                       Status of Test Addition
   Test Scenario                               % Tests Per Feature
   Test Case                                          Reinforce Weightages of features on
   Test Data                                          Criticality.
                                                      Input for Planning Test Cycles for
   Place Holder for Bugs / Changelist Ids
                                                      estimation of test execution tasks.


                                               % New Tests Vs Legacy Tests
                                               Test Bugs Fixed Vs Known Test Failures
Test Phase : Execution Metrics

Test Passes Covered
    Functional
    Non Functional
Tests Executed
    Pass Ratio Progress
    Regressions Rate
MTBC / MTBF Trends
Builds / Fixes Covered
Platforms / Languages Covered
Test Phase : Test Coverage Metrics
Code Coverage
   Packages / Classes Coverage
   Method Coverage
   Statement Coverage
   Condition / Path Coverage

Coverage Driven Test Development
Quality Check on Completeness of
Testing
Test Phase : Stability Trends
                                                                         Stability T rends : Features
Most Stable / Buggy Features
                                                       70
    Prioritize Testing on Buggy Features               60

    Feature wise Regression Incidence                  50


Most Fixed / Changed Features                          40




                                            Failures
                                                       30
Most Stable / Buggy Platform                           20

    Prioritize Testing on Platform Builds              10

    Stability                                           0
                                                       1xxx20   1xxx21         1xxx22            1xxx23   1xxx24   1xxx25
                                                                                        Builds



                                                                            Fe ature Wise Bugs




                                                                                                                       A
                                                                                                                       B
                                                                                                                       C
                                                                                                                       D
                                                                                                                       E
                                                                                                                       F
                                                                                                                       G
                                                                                                                       H
                                                                                                                       I
                                                                                                                       J
Test Phase : Prediction Metrics
                Bug Glide Path
                             Prediction based on Find Rate, Fix Rate, Deferral Rate
                             Daily Update on Actuals
                Predict Hitting Zero Bug Count Date

                                                                              Open Bug Status & Prediction
                                                                              (Includes actual open, new and needs Targeting)



70


60


50


40


30


20


10


 0
     12/15/06




                  12/22/06




                                  12/29/06




                                             01/05/07




                                                        01/12/07




                                                                   01/19/07




                                                                              01/26/07




                                                                                         02/02/07




                                                                                                    02/09/07




                                                                                                               02/16/07




                                                                                                                          02/23/07




                                                                                                                                       03/02/07




                                                                                                                                                  03/09/07




                                                                                                                                                             03/16/07




                                                                                                                                                                        03/23/07




                                                                                                                                                                                   03/30/07




                                                                                                                                                                                              04/06/07
                              Predicted                                          Plan                                          Combine Actual
Test Phase : Bug Metrics
Daily Auto Reminders
    Bugs To Target
    Bugs To Fix
    Bugs To Test
    Deferred Bugs
Bugs Incidence / Fix Trends
Average Life Time of Bugs
% of Re-Opened Bugs
% of False Alarms
Ready to Ship? : ZBC
                Bug Glide Path
                          Is ZBC achieved from Release Candidate build
                          Any Spike in Open Bugs recently?
                          Any Crash Landing of the curve recently?

                                                                              Open Bug Status & Prediction
                                                                              (Includes actual open, new and needs Targeting)



70


60


50


40


30


20


10


 0
     12/15/06




                   12/22/06




                                  12/29/06




                                             01/05/07




                                                        01/12/07




                                                                   01/19/07




                                                                              01/26/07




                                                                                         02/02/07




                                                                                                    02/09/07




                                                                                                               02/16/07




                                                                                                                          02/23/07




                                                                                                                                       03/02/07




                                                                                                                                                  03/09/07




                                                                                                                                                             03/16/07




                                                                                                                                                                        03/23/07




                                                                                                                                                                                   03/30/07




                                                                                                                                                                                              04/06/07
                              Predicted                                          Plan                                          Combine Actual
Ready To Ship ? : Tested Enough?
Number of Test Passes
Functional Stability
    Along the Builds
    Along the Configurations
    Along the Features
All Regressions Cleared?
All Failures Tracked?



Code Coverage
    Have we Tested Enough?
Ready to Ship? : Bug Metrics

      Are We Finding Less Severe Bugs ?                                                     Are We Finding Less Priority Bugs?
                          Bugs Incidence : Priority Based                                                              Bugs Incide nce : Se v e rity

 25                                                                                       20

                                                                                          18
 20                                                                                       16
                                                                                          14
 15                                                                                 P4    12                                                                                    S4
                                                                                    P3    10                                                                                    S3

 10                                                                                 P2                                                                                          S2
                                                                                           8
                                                                                    P1                                                                                          S1
                                                                                           6
  5                                                                                        4

                                                                                           2
   0                                                                                        0
15/02/2007   22/02/2007    01/03/2007    08/03/2007       15/03/2007   22/03/2007        15/02/2007   22/02/2007      01/03/2007    08/03/2007     15/03/2007      22/03/2007




          Are We Still Fixing High Priority Bugs ?                                                          Are We Still Fixing Highly Critical
       Bugs?
                              Fixing T re nd : Priority                                                            Fixing T re nd : Se v e rity Base d


 20                                                                                        20
 18                                                                                        18
 16                                                                                        16
 14                                                                                        14
 12                                                                                 P4     12                                                                                   S4
 10                                                                                 P3     10                                                                                   S3
                                                                                    P2         8                                                                                S2
  8
                                                                                    P1                                                                                          S1
  6                                                                                            6

  4                                                                                            4

  2                                                                                            2
                                                                                            0
   0
                                                                                         15/02/2007   22/02/2007     01/03/2007    08/03/2007    15/03/2007     22/03/2007
15/02/2007   22/02/2007    01/03/2007    08/03/2007       15/03/2007   22/03/2007
Ready to Ship? : Bug Metrics
                                                                          Found / Fixed / Deferred : Priority Based

                                                           250
Bugs Found vs Fixed vs Deferred
Are We Fixing the Right Bugs?                              200



Are We Deferring the Wrong Bugs?                           150                                                              Found
                                                                                                                            Fixed
                                                                                                                            False Alarm
Deferral Rate : Are We Deferring Our Way                   100
                                                                                                                            Deferred

to the Release?                                             50



                                                             0
                                                                 P1             P2             P3             P4




      Ov e rall Distribution of Found Bugs                            Found / Fixe d / De fe rre d : Se v e rity Base d

                                                           250

          46
          9%
     44                                                    200
     9%

                                                           150                                                            Found
                                             Fixed
                                                                                                                          Fixed
                                             False Alarm
                                                                                                                          False Alarm
                                             Deferred      100
                                                                                                                          Deferred

                                                            50
                        411
                        82%
                                                             0
                                                                 S1            S2            S3             S4
Ready to Ship ? : Non Functional Metrics
Performance Metrics (Product Dependent
Let us assume Web Application for Eg.)
    Launch / Startup Time
    Http Response Time
    Concurrent Http Requests Handled
    Users Serviced
    Successful / Failed Requests
    Average Transaction Time
    Baseline / Goal Results Comparison
Ready to Ship ? : Non Functional Metrics
Reliability Metrics
    MTBC / MTBF
Scalability
Memory Profiling / Foot print
    Footprint Size for various platforms
    Memory Usage : Startup, Under Load,
    Under No Load
Ready to Ship ? : Other Checks

Security
    List of Risks & Mitigated Risks
Memory Leaks
    Found / Fixed
    Size of Existing Leaks
Beta / Customer Feedback
    Issues Reported / Fixed
    Open Issues
    Incidences Trend Since Beta
Ready to Ship ? Guess SO !
Questions
Thanks!


              References
       Wikipedia : Hammurapi
Wikipedia : Cobertura, Emma, JCoverage

Weitere ähnliche Inhalte

Andere mochten auch

Aims2011 slacc-presentation final-version
Aims2011 slacc-presentation final-versionAims2011 slacc-presentation final-version
Aims2011 slacc-presentation final-versionictseserv
 
reliability based design optimization for cloud migration
reliability based design optimization for cloud migrationreliability based design optimization for cloud migration
reliability based design optimization for cloud migrationNishmitha B
 
Massimiliano Raks, Naples University on SPECS: Secure provisioning of cloud s...
Massimiliano Raks, Naples University on SPECS: Secure provisioning of cloud s...Massimiliano Raks, Naples University on SPECS: Secure provisioning of cloud s...
Massimiliano Raks, Naples University on SPECS: Secure provisioning of cloud s...SLA-Ready Network
 
Cloud migration pattern using microservices
Cloud migration pattern using microservicesCloud migration pattern using microservices
Cloud migration pattern using microservicesSeong-Bok Lee
 
5 Cloud Migration Experiences Not to Be Repeated
5 Cloud Migration Experiences Not to Be Repeated5 Cloud Migration Experiences Not to Be Repeated
5 Cloud Migration Experiences Not to Be RepeatedHostway|HOSTING
 
Forecast 2014 Keynote: State of Cloud Migration…What's Occurring Now, and Wha...
Forecast 2014 Keynote: State of Cloud Migration…What's Occurring Now, and Wha...Forecast 2014 Keynote: State of Cloud Migration…What's Occurring Now, and Wha...
Forecast 2014 Keynote: State of Cloud Migration…What's Occurring Now, and Wha...Open Data Center Alliance
 
Tracking SLAs In Cloud
Tracking SLAs In CloudTracking SLAs In Cloud
Tracking SLAs In CloudSatish Agrawal
 
Assess enterprise applications for cloud migration
Assess enterprise applications for cloud migrationAssess enterprise applications for cloud migration
Assess enterprise applications for cloud migrationnanda1505
 
Planning for a (Mostly) Hassle-Free Cloud Migration | VTUG 2016 Winter Warmer
Planning for a (Mostly) Hassle-Free Cloud Migration | VTUG 2016 Winter WarmerPlanning for a (Mostly) Hassle-Free Cloud Migration | VTUG 2016 Winter Warmer
Planning for a (Mostly) Hassle-Free Cloud Migration | VTUG 2016 Winter WarmerJoe Conlin
 
SLAs in Virtualized Cloud Computing Infrastructures with QoS Assurance
SLAs in Virtualized Cloud Computing Infrastructures with QoS AssuranceSLAs in Virtualized Cloud Computing Infrastructures with QoS Assurance
SLAs in Virtualized Cloud Computing Infrastructures with QoS Assurancetcucinotta
 
Outsourcing SLA versus Cloud SLA by Jurian Burgers
Outsourcing SLA versus Cloud SLA by Jurian BurgersOutsourcing SLA versus Cloud SLA by Jurian Burgers
Outsourcing SLA versus Cloud SLA by Jurian BurgersITpreneurs
 
Hierarchical SLA-based Service Selection for Multi-Cloud Environments
Hierarchical SLA-based Service Selection for Multi-Cloud EnvironmentsHierarchical SLA-based Service Selection for Multi-Cloud Environments
Hierarchical SLA-based Service Selection for Multi-Cloud EnvironmentsSoodeh Farokhi
 
Autonomic SLA-driven Provisioning for Cloud Applications
Autonomic SLA-driven Provisioning for Cloud ApplicationsAutonomic SLA-driven Provisioning for Cloud Applications
Autonomic SLA-driven Provisioning for Cloud Applicationsnbonvin
 
Measureable Cloud Migration
Measureable Cloud MigrationMeasureable Cloud Migration
Measureable Cloud MigrationTori Wieldt
 
Cloud Migration: Tales from the Trenches
Cloud Migration: Tales from the TrenchesCloud Migration: Tales from the Trenches
Cloud Migration: Tales from the TrenchesHostway|HOSTING
 
SQ-006: Quality Metrics and Measurements
SQ-006: Quality Metrics and MeasurementsSQ-006: Quality Metrics and Measurements
SQ-006: Quality Metrics and MeasurementsDigiLEAF Inc
 
Taking the Mystery Out of Public Cloud Migration - ScienceLogic
Taking the Mystery Out of Public Cloud Migration - ScienceLogicTaking the Mystery Out of Public Cloud Migration - ScienceLogic
Taking the Mystery Out of Public Cloud Migration - ScienceLogicScienceLogic
 

Andere mochten auch (20)

Aims2011 slacc-presentation final-version
Aims2011 slacc-presentation final-versionAims2011 slacc-presentation final-version
Aims2011 slacc-presentation final-version
 
reliability based design optimization for cloud migration
reliability based design optimization for cloud migrationreliability based design optimization for cloud migration
reliability based design optimization for cloud migration
 
Massimiliano Raks, Naples University on SPECS: Secure provisioning of cloud s...
Massimiliano Raks, Naples University on SPECS: Secure provisioning of cloud s...Massimiliano Raks, Naples University on SPECS: Secure provisioning of cloud s...
Massimiliano Raks, Naples University on SPECS: Secure provisioning of cloud s...
 
Cloud migration pattern using microservices
Cloud migration pattern using microservicesCloud migration pattern using microservices
Cloud migration pattern using microservices
 
5 Cloud Migration Experiences Not to Be Repeated
5 Cloud Migration Experiences Not to Be Repeated5 Cloud Migration Experiences Not to Be Repeated
5 Cloud Migration Experiences Not to Be Repeated
 
Forecast 2014 Keynote: State of Cloud Migration…What's Occurring Now, and Wha...
Forecast 2014 Keynote: State of Cloud Migration…What's Occurring Now, and Wha...Forecast 2014 Keynote: State of Cloud Migration…What's Occurring Now, and Wha...
Forecast 2014 Keynote: State of Cloud Migration…What's Occurring Now, and Wha...
 
Tracking SLAs In Cloud
Tracking SLAs In CloudTracking SLAs In Cloud
Tracking SLAs In Cloud
 
Assess enterprise applications for cloud migration
Assess enterprise applications for cloud migrationAssess enterprise applications for cloud migration
Assess enterprise applications for cloud migration
 
Cloud computing final
Cloud computing finalCloud computing final
Cloud computing final
 
How we measure quality of JIRA deployments to Cloud?
How we measure quality of JIRA deployments to Cloud?How we measure quality of JIRA deployments to Cloud?
How we measure quality of JIRA deployments to Cloud?
 
Planning for a (Mostly) Hassle-Free Cloud Migration | VTUG 2016 Winter Warmer
Planning for a (Mostly) Hassle-Free Cloud Migration | VTUG 2016 Winter WarmerPlanning for a (Mostly) Hassle-Free Cloud Migration | VTUG 2016 Winter Warmer
Planning for a (Mostly) Hassle-Free Cloud Migration | VTUG 2016 Winter Warmer
 
SLAs in Virtualized Cloud Computing Infrastructures with QoS Assurance
SLAs in Virtualized Cloud Computing Infrastructures with QoS AssuranceSLAs in Virtualized Cloud Computing Infrastructures with QoS Assurance
SLAs in Virtualized Cloud Computing Infrastructures with QoS Assurance
 
Outsourcing SLA versus Cloud SLA by Jurian Burgers
Outsourcing SLA versus Cloud SLA by Jurian BurgersOutsourcing SLA versus Cloud SLA by Jurian Burgers
Outsourcing SLA versus Cloud SLA by Jurian Burgers
 
Hierarchical SLA-based Service Selection for Multi-Cloud Environments
Hierarchical SLA-based Service Selection for Multi-Cloud EnvironmentsHierarchical SLA-based Service Selection for Multi-Cloud Environments
Hierarchical SLA-based Service Selection for Multi-Cloud Environments
 
Autonomic SLA-driven Provisioning for Cloud Applications
Autonomic SLA-driven Provisioning for Cloud ApplicationsAutonomic SLA-driven Provisioning for Cloud Applications
Autonomic SLA-driven Provisioning for Cloud Applications
 
Measureable Cloud Migration
Measureable Cloud MigrationMeasureable Cloud Migration
Measureable Cloud Migration
 
Cloud Migration: Tales from the Trenches
Cloud Migration: Tales from the TrenchesCloud Migration: Tales from the Trenches
Cloud Migration: Tales from the Trenches
 
SQ-006: Quality Metrics and Measurements
SQ-006: Quality Metrics and MeasurementsSQ-006: Quality Metrics and Measurements
SQ-006: Quality Metrics and Measurements
 
Cloud Migration
Cloud MigrationCloud Migration
Cloud Migration
 
Taking the Mystery Out of Public Cloud Migration - ScienceLogic
Taking the Mystery Out of Public Cloud Migration - ScienceLogicTaking the Mystery Out of Public Cloud Migration - ScienceLogic
Taking the Mystery Out of Public Cloud Migration - ScienceLogic
 

Ähnlich wie Metrics & Measurements: Objective Indicators for Product Quality

TDD sharevison team
TDD sharevison teamTDD sharevison team
TDD sharevison teamKhou Suylong
 
Ensuring reliability in lean new product development part2of2 24
Ensuring reliability in lean new product development part2of2 24Ensuring reliability in lean new product development part2of2 24
Ensuring reliability in lean new product development part2of2 24ASQ Reliability Division
 
Smart debugger
Smart debuggerSmart debugger
Smart debuggerTao He
 
Test-Driven Development (TDD)
Test-Driven Development (TDD)Test-Driven Development (TDD)
Test-Driven Development (TDD)Brian Rasmussen
 
Zimmerman.mary
Zimmerman.maryZimmerman.mary
Zimmerman.maryNASAPMC
 
The Speed to Cool: Agile Testing & Building Quality In
The Speed to Cool: Agile Testing & Building Quality InThe Speed to Cool: Agile Testing & Building Quality In
The Speed to Cool: Agile Testing & Building Quality InCraig Smith
 
Product Based Earned Value
Product Based Earned ValueProduct Based Earned Value
Product Based Earned ValueWILLCOXDJ
 
Quality assurance in the early stages of the product
Quality assurance in the early stages of the productQuality assurance in the early stages of the product
Quality assurance in the early stages of the productMaksym Vovk
 
DevOps at TestausOSY 20june2017
DevOps at TestausOSY 20june2017DevOps at TestausOSY 20june2017
DevOps at TestausOSY 20june2017Jouni Jätyri
 
OCCF: A Framework for Developing Test Coverage Measurement Tools Supporting M...
OCCF: A Framework for Developing Test Coverage Measurement Tools Supporting M...OCCF: A Framework for Developing Test Coverage Measurement Tools Supporting M...
OCCF: A Framework for Developing Test Coverage Measurement Tools Supporting M...Kazunori Sakamoto
 
Bdd development flow process from end to end
Bdd development flow process from end to endBdd development flow process from end to end
Bdd development flow process from end to endSriram Angajala
 
Java Unit Testing Tool Competition — Fifth Round
Java Unit Testing Tool Competition — Fifth RoundJava Unit Testing Tool Competition — Fifth Round
Java Unit Testing Tool Competition — Fifth RoundAnnibale Panichella
 
Bridging the communication Gap & Continuous Delivery
Bridging the communication Gap & Continuous DeliveryBridging the communication Gap & Continuous Delivery
Bridging the communication Gap & Continuous Deliverymasoodjan
 
Requirements & scope
Requirements & scopeRequirements & scope
Requirements & scopeCraig Brown
 
Jmeter Tester Certification
Jmeter Tester CertificationJmeter Tester Certification
Jmeter Tester CertificationVskills
 
Continuous Delivery for Front-End Engineers
Continuous Delivery for Front-End EngineersContinuous Delivery for Front-End Engineers
Continuous Delivery for Front-End EngineersSergey Bolshchikov
 
Good pedagogical practice driving learning analytics: OpenMentor, Open Commen...
Good pedagogical practice driving learning analytics: OpenMentor, Open Commen...Good pedagogical practice driving learning analytics: OpenMentor, Open Commen...
Good pedagogical practice driving learning analytics: OpenMentor, Open Commen...Denise Whitelock
 
Estimating the requirements determination of a project
Estimating the requirements determination of a projectEstimating the requirements determination of a project
Estimating the requirements determination of a projectJohnny Russo
 

Ähnlich wie Metrics & Measurements: Objective Indicators for Product Quality (20)

TDD sharevison team
TDD sharevison teamTDD sharevison team
TDD sharevison team
 
Ensuring reliability in lean new product development part2of2 24
Ensuring reliability in lean new product development part2of2 24Ensuring reliability in lean new product development part2of2 24
Ensuring reliability in lean new product development part2of2 24
 
Smart debugger
Smart debuggerSmart debugger
Smart debugger
 
Test-Driven Development (TDD)
Test-Driven Development (TDD)Test-Driven Development (TDD)
Test-Driven Development (TDD)
 
Zimmerman.mary
Zimmerman.maryZimmerman.mary
Zimmerman.mary
 
The Speed to Cool: Agile Testing & Building Quality In
The Speed to Cool: Agile Testing & Building Quality InThe Speed to Cool: Agile Testing & Building Quality In
The Speed to Cool: Agile Testing & Building Quality In
 
Product Based Earned Value
Product Based Earned ValueProduct Based Earned Value
Product Based Earned Value
 
Quality assurance in the early stages of the product
Quality assurance in the early stages of the productQuality assurance in the early stages of the product
Quality assurance in the early stages of the product
 
Agile Testing
Agile TestingAgile Testing
Agile Testing
 
DevOps at TestausOSY 20june2017
DevOps at TestausOSY 20june2017DevOps at TestausOSY 20june2017
DevOps at TestausOSY 20june2017
 
OCCF: A Framework for Developing Test Coverage Measurement Tools Supporting M...
OCCF: A Framework for Developing Test Coverage Measurement Tools Supporting M...OCCF: A Framework for Developing Test Coverage Measurement Tools Supporting M...
OCCF: A Framework for Developing Test Coverage Measurement Tools Supporting M...
 
Bdd development flow process from end to end
Bdd development flow process from end to endBdd development flow process from end to end
Bdd development flow process from end to end
 
Student Data Tracking
Student Data TrackingStudent Data Tracking
Student Data Tracking
 
Java Unit Testing Tool Competition — Fifth Round
Java Unit Testing Tool Competition — Fifth RoundJava Unit Testing Tool Competition — Fifth Round
Java Unit Testing Tool Competition — Fifth Round
 
Bridging the communication Gap & Continuous Delivery
Bridging the communication Gap & Continuous DeliveryBridging the communication Gap & Continuous Delivery
Bridging the communication Gap & Continuous Delivery
 
Requirements & scope
Requirements & scopeRequirements & scope
Requirements & scope
 
Jmeter Tester Certification
Jmeter Tester CertificationJmeter Tester Certification
Jmeter Tester Certification
 
Continuous Delivery for Front-End Engineers
Continuous Delivery for Front-End EngineersContinuous Delivery for Front-End Engineers
Continuous Delivery for Front-End Engineers
 
Good pedagogical practice driving learning analytics: OpenMentor, Open Commen...
Good pedagogical practice driving learning analytics: OpenMentor, Open Commen...Good pedagogical practice driving learning analytics: OpenMentor, Open Commen...
Good pedagogical practice driving learning analytics: OpenMentor, Open Commen...
 
Estimating the requirements determination of a project
Estimating the requirements determination of a projectEstimating the requirements determination of a project
Estimating the requirements determination of a project
 

Kürzlich hochgeladen

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 

Kürzlich hochgeladen (20)

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 

Metrics & Measurements: Objective Indicators for Product Quality

  • 1. Metrics & Measurements A Product Ship Perspective Vijayan Reddy Quality Manager Adobe Systems 22/March/2007
  • 2. Metrics & Measurements : Why Objective Indicators for Product Quality Check Points at various phase Watch Quality of Testing Avoiding Subjective Decisions
  • 3. Metrics : Why Informative Track the Progress of Quality Improvement Aiding Decisions Are We Good to Enter / Exit a phase Triggering Action Items Bad Metrics : Fix Product Fast ! Are We Slipping? Then look where to do better.
  • 4. Essential Minimal Metrics… K.I.S.S Less Overhead in Collection of Metrics Discussed Product Health Parameters Ship Readiness Metrics Not Discussed Project Management Metrics Process Efficiency Metrics Applicable for Me? No One Size Fits All Theory Apply due judgment
  • 5. Dev Phase : Code Metrics Code Cyclomatic Complexity Coding Violations DPMO Automated Code Review Guidelines & Practices Naming, Comments, Indent guidelines Hard coded values, Strings Uncaught Exceptions Un-freed Memory High Logical Nesting Possible Bugs Fall through Switch Cases History Of Violations & Baselining
  • 6. Dev Phase : Test Addition Metrics Traceability Matrix : Tracks Metrics Requirements Features % Tests Added as per Planned Matrix Sub Features Status of Test Addition Test Scenario % Tests Per Feature Test Case Reinforce Weightages of features on Test Data Criticality. Input for Planning Test Cycles for Place Holder for Bugs / Changelist Ids estimation of test execution tasks. % New Tests Vs Legacy Tests Test Bugs Fixed Vs Known Test Failures
  • 7. Test Phase : Execution Metrics Test Passes Covered Functional Non Functional Tests Executed Pass Ratio Progress Regressions Rate MTBC / MTBF Trends Builds / Fixes Covered Platforms / Languages Covered
  • 8. Test Phase : Test Coverage Metrics Code Coverage Packages / Classes Coverage Method Coverage Statement Coverage Condition / Path Coverage Coverage Driven Test Development Quality Check on Completeness of Testing
  • 9. Test Phase : Stability Trends Stability T rends : Features Most Stable / Buggy Features 70 Prioritize Testing on Buggy Features 60 Feature wise Regression Incidence 50 Most Fixed / Changed Features 40 Failures 30 Most Stable / Buggy Platform 20 Prioritize Testing on Platform Builds 10 Stability 0 1xxx20 1xxx21 1xxx22 1xxx23 1xxx24 1xxx25 Builds Fe ature Wise Bugs A B C D E F G H I J
  • 10. Test Phase : Prediction Metrics Bug Glide Path Prediction based on Find Rate, Fix Rate, Deferral Rate Daily Update on Actuals Predict Hitting Zero Bug Count Date Open Bug Status & Prediction (Includes actual open, new and needs Targeting) 70 60 50 40 30 20 10 0 12/15/06 12/22/06 12/29/06 01/05/07 01/12/07 01/19/07 01/26/07 02/02/07 02/09/07 02/16/07 02/23/07 03/02/07 03/09/07 03/16/07 03/23/07 03/30/07 04/06/07 Predicted Plan Combine Actual
  • 11. Test Phase : Bug Metrics Daily Auto Reminders Bugs To Target Bugs To Fix Bugs To Test Deferred Bugs Bugs Incidence / Fix Trends Average Life Time of Bugs % of Re-Opened Bugs % of False Alarms
  • 12. Ready to Ship? : ZBC Bug Glide Path Is ZBC achieved from Release Candidate build Any Spike in Open Bugs recently? Any Crash Landing of the curve recently? Open Bug Status & Prediction (Includes actual open, new and needs Targeting) 70 60 50 40 30 20 10 0 12/15/06 12/22/06 12/29/06 01/05/07 01/12/07 01/19/07 01/26/07 02/02/07 02/09/07 02/16/07 02/23/07 03/02/07 03/09/07 03/16/07 03/23/07 03/30/07 04/06/07 Predicted Plan Combine Actual
  • 13. Ready To Ship ? : Tested Enough? Number of Test Passes Functional Stability Along the Builds Along the Configurations Along the Features All Regressions Cleared? All Failures Tracked? Code Coverage Have we Tested Enough?
  • 14. Ready to Ship? : Bug Metrics Are We Finding Less Severe Bugs ? Are We Finding Less Priority Bugs? Bugs Incidence : Priority Based Bugs Incide nce : Se v e rity 25 20 18 20 16 14 15 P4 12 S4 P3 10 S3 10 P2 S2 8 P1 S1 6 5 4 2 0 0 15/02/2007 22/02/2007 01/03/2007 08/03/2007 15/03/2007 22/03/2007 15/02/2007 22/02/2007 01/03/2007 08/03/2007 15/03/2007 22/03/2007 Are We Still Fixing High Priority Bugs ? Are We Still Fixing Highly Critical Bugs? Fixing T re nd : Priority Fixing T re nd : Se v e rity Base d 20 20 18 18 16 16 14 14 12 P4 12 S4 10 P3 10 S3 P2 8 S2 8 P1 S1 6 6 4 4 2 2 0 0 15/02/2007 22/02/2007 01/03/2007 08/03/2007 15/03/2007 22/03/2007 15/02/2007 22/02/2007 01/03/2007 08/03/2007 15/03/2007 22/03/2007
  • 15. Ready to Ship? : Bug Metrics Found / Fixed / Deferred : Priority Based 250 Bugs Found vs Fixed vs Deferred Are We Fixing the Right Bugs? 200 Are We Deferring the Wrong Bugs? 150 Found Fixed False Alarm Deferral Rate : Are We Deferring Our Way 100 Deferred to the Release? 50 0 P1 P2 P3 P4 Ov e rall Distribution of Found Bugs Found / Fixe d / De fe rre d : Se v e rity Base d 250 46 9% 44 200 9% 150 Found Fixed Fixed False Alarm False Alarm Deferred 100 Deferred 50 411 82% 0 S1 S2 S3 S4
  • 16. Ready to Ship ? : Non Functional Metrics Performance Metrics (Product Dependent Let us assume Web Application for Eg.) Launch / Startup Time Http Response Time Concurrent Http Requests Handled Users Serviced Successful / Failed Requests Average Transaction Time Baseline / Goal Results Comparison
  • 17. Ready to Ship ? : Non Functional Metrics Reliability Metrics MTBC / MTBF Scalability Memory Profiling / Foot print Footprint Size for various platforms Memory Usage : Startup, Under Load, Under No Load
  • 18. Ready to Ship ? : Other Checks Security List of Risks & Mitigated Risks Memory Leaks Found / Fixed Size of Existing Leaks Beta / Customer Feedback Issues Reported / Fixed Open Issues Incidences Trend Since Beta
  • 19. Ready to Ship ? Guess SO !
  • 21. Thanks! References Wikipedia : Hammurapi Wikipedia : Cobertura, Emma, JCoverage