SlideShare a Scribd company logo
Are real metrics
predictive for the future?
Rob.Baarda@Sogeti.nl
Agenda
• Introduction
• Objectives? GQM!
• Real metrics
• Considerations
• Use real metrics in your future
Which test metrics?
Test basis
Test object Test
Execution Defects
Repair
Production
Specifying
test
cases /
scripts Test cases/
scripts
Test Process
Size test
basis
Size test
object # defects in
test object
# defects in
production
For each process:
# hours effort
lead time
# test cases
# = number of
# defects in
test basis
# repair
rounds
Deductible metrics
• Effort estimation = # hours /size (FP, KLOC)
• Productivity = # test cases / # hours
• Efficiency =
# defects / (# hours or # test cases)
> Specification
> Test execution
> Retest of repaired defects
• DDP Defect Detection Percentage (Europe)
DRE Defect Removal Efficiency (USA)
• Defect injection rate for rework
• Damage prevented in €?
HOW to get data?
HOW to organize?
Dutch test metrics experiences
• Dutch initiative to
gather test metrics
• Parties involved
>NESMA
Netherlands Software Metrics Association
>Testnet
Dutch Testing community
>LaQuSO
Laboratory for Software Quality
Universities Eindhoven & Nijmegen
Approach
Goal Question Metrics (GQM)
6
Goals
1. Test manager
Support in planning and
controlling the testing project
2. Organization Benchmark around
1. Test process
2. Test products
3. IT-products
To improve test process, IT
process
7
Some Questions
• Test manager
> Number of test cases needed for my project
> What percentage of the project team should be
allocated to testing
> How many retests are executed
• Organization Benchmark
> What is the defect detection & removal efficiency
(at what phase)
> What test coverage do I need to ensure adequate
testing
> How many defects does development insert
when repair others
What we have - Structure
Project
Test project
Test activity
Incidents/
Defects
Project
activity
Be careful using the data
Lack of statistical evidence
Feedback example test effort
% test
effort /
project
effort
% test effort / project effort
Project effort (man-day)
0
10
20
30
40
50
60
0 500 1000 1500 2000 2500 3000
Be careful using the data
Lack of statistical evidence
Feedback example test productivity
Test productivity
Size in Function Points
# Test
hours
/ FP
0
2
4
6
8
10
12
14
16
18
0 100 200 300 400 500 600
Be careful using the data
Lack of statistical evidence
Feedback example defects per fp
0
0,2
0,4
0,6
0,8
1
1,2
0 100 200 300 400 500 600 700 800 900
Number of defects / function point
Size in Function Points
#
defects
/ fp
Be careful using the data
Lack of statistical evidence
Defect Detection Percentage
Defect Removal Efficiency
DDP
(%)
84
85
86
87
88
89
90
91
92
0 100 200 300 400 500 600 700 800 900 1000
Size in SKLOC
Defect Detection Percentage
Defect Removal Efficiency
Be careful using the data
Lack of statistical evidence
Processes around metrics
• Collection in a project
> Embedded in daily work
> Weekly summarisation
> Sanity checks
> Cost: about 2% project budget
• Distribution
• For a benchmark on the level of:
> Project releases
> Organisation
> Country
> International: www.ISBSG.org
International Software Benchmarking Standards
Group
Some Considerations for future use
1. Accuracy of definitions
2. Number of types of defects
3. Is a batch test case the same as an online
test case?
4. Only testing of functionality or also
security, performance, usability
5. How to include regression testing?
6. Measure personal productivity?
7. Predictive value
average (mean), median, standard
deviation, correlations with?
Prediction model needed?
10 similar projects
Project
Func
Design Construct System test
Function
Points
FD-hrs
per fp
Constr-hrs
per fp
Systemtest-
hrs per fp
1 285 465 183 95 3,00 4,89 1,93
2 631 1847 694 305 2,07 6,06 2,28
3 599 845 540 197 3,04 4,29 2,74
4 159 496 185 57 2,79 8,70 3,25
5 81,5 1057 306,5 93 0,88 11,37 3,30
6 416 1017 281,5 80 5,20 12,71 3,52
7 528 1069 605 137 3,85 7,80 4,42
8 566 3118 756 176 3,22 17,72 4,30
9 848 5834 1776 265 3,20 22,02 6,70
10 508 4666 2204 285 1,78 16,37 7,73
Average 4,0
Standard deviation
From wikipedia
Standard deviation =
the mean root square (RMS)
deviation of the values
from their mean(=average): σ
Some statistics for ST hours/fp
• Average = 4.0
• Standard deviation = 1.8 
As predictor: 68% will be between
2.2 and 5.8
• Does not really help as prediction
Additional info
Project Func Design Construct System test
Function
Points
FD-hrs
per fp
Constr-hrs
per fp
Systemtest-
hrs per fp
Grafical
system
1 285 465 183 95 3,00 4,89 1,93 0
2 631 1847 694 305 2,07 6,06 2,28 0
3 599 845 540 197 3,04 4,29 2,74 0
4 159 496 185 57 2,79 8,70 3,25 0
5 81,5 1057 306,5 93 0,88 11,37 3,30 0
6 416 1017 281,5 80 5,20 12,71 3,52 0
7 528 1069 605 137 3,85 7,80 4,42 0
8 566 3118 756 176 3,22 17,72 4,30 1
9 848 5834 1776 265 3,20 22,02 6,70 1
10 508 4666 2204 285 1,78 16,37 7,73 1
And now
• Non-GIS
> Average = 3.1
> Standard deviation = 0.8
> As predictor: 68% within 2.3 and 3.9
• GIS
> Average = 6.2
> Standard deviation = 1.4
> As predictor: 68% within 4.8 and 7.6
• Overall
> Average = 4.0
> Standard deviation = 1.8
> As predictor: 68% within 2.2 and 5.8
Use metrics in your future
1. Starting point for project
> Use estimation model, mostly linear, use categories
Small, Middle, Large
> Use “common” metrics
Possible source:
Chapter 11 of TMap®
Next book
1. Look at your real project data, consistent
with prediction?
> Yes: GO TO End
1. Find the major factor influencing
2. Adapt your
1. Estimation model
2. Metrics
3. GO TO 2
Wrap up
• Metrics are possible
• Useful to predict
• Linear model needs localized fine
tuning
Test Metrics can predict your future!

More Related Content

PPTX
T19 performance testing effort - estimation or guesstimation revised
TEST Huddle
 
PPT
'Model Based Test Design' by Mattias Armholt
TEST Huddle
 
PPT
Michael Snyman - Software Test Automation Success
TEST Huddle
 
PDF
Edwin Van Loon - How Much Testing is Enough - EuroSTAR 2010
TEST Huddle
 
PDF
Christian Bk Hansen - Agile on Huge Banking Mainframe Legacy Systems - EuroST...
TEST Huddle
 
PPT
Hakan Fredriksson - Experiences With MBT and Qtronic
TEST Huddle
 
PPT
'Customer Testing & Quality In Outsourced Development - A Story From An Insur...
TEST Huddle
 
PPT
'Architecture Testing: Wrongly Ignored!' by Peter Zimmerer
TEST Huddle
 
T19 performance testing effort - estimation or guesstimation revised
TEST Huddle
 
'Model Based Test Design' by Mattias Armholt
TEST Huddle
 
Michael Snyman - Software Test Automation Success
TEST Huddle
 
Edwin Van Loon - How Much Testing is Enough - EuroSTAR 2010
TEST Huddle
 
Christian Bk Hansen - Agile on Huge Banking Mainframe Legacy Systems - EuroST...
TEST Huddle
 
Hakan Fredriksson - Experiences With MBT and Qtronic
TEST Huddle
 
'Customer Testing & Quality In Outsourced Development - A Story From An Insur...
TEST Huddle
 
'Architecture Testing: Wrongly Ignored!' by Peter Zimmerer
TEST Huddle
 

What's hot (20)

PPT
Derk jan de Grood - ET, Best of Both Worlds
TEST Huddle
 
PPT
Mattias Diagl - Low Budget Tooling - Excel-ent
TEST Huddle
 
PPT
Edwin Van Loon - Exploitation Testing revised
TEST Huddle
 
PPT
'Houston We Have A Problem' by Rien van Vugt & Maurice Siteur
TEST Huddle
 
PPT
Robert Magnusson - TMMI Level 2 - A Practical Approach
TEST Huddle
 
PPTX
'Growing to a Next Level Test Organisation' by Tim Koomen
TEST Huddle
 
PPT
John Brennen - Red Hot Testing in a Green World
TEST Huddle
 
PPT
'Continuous Quality Improvements – A Journey Through The Largest Scrum Projec...
TEST Huddle
 
PDF
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
TEST Huddle
 
PPT
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
TEST Huddle
 
PPT
John Kent - An Entity Model for Software Testing
TEST Huddle
 
PPT
'Automated Reliability Testing via Hardware Interfaces' by Bryan Bakker
TEST Huddle
 
PPT
Wim Demey - Regression Testing in a Migration Project
TEST Huddle
 
PPT
'How To Apply Lean Test Management' by Bob van de Burgt
TEST Huddle
 
PPTX
Mickiel Vroon - Test Environment, The Future Achilles’ Heel
TEST Huddle
 
PPT
'Acceptance Testing' by Erik Boelen
TEST Huddle
 
PPTX
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
TEST Huddle
 
PPTX
risk based testing and regression testing
Toshi Patel
 
PPT
Elise Greveraars - Tester Needed? No Thanks, We Use MBT!
TEST Huddle
 
PPT
Testing Metrics
PM Venkatesha Babu
 
Derk jan de Grood - ET, Best of Both Worlds
TEST Huddle
 
Mattias Diagl - Low Budget Tooling - Excel-ent
TEST Huddle
 
Edwin Van Loon - Exploitation Testing revised
TEST Huddle
 
'Houston We Have A Problem' by Rien van Vugt & Maurice Siteur
TEST Huddle
 
Robert Magnusson - TMMI Level 2 - A Practical Approach
TEST Huddle
 
'Growing to a Next Level Test Organisation' by Tim Koomen
TEST Huddle
 
John Brennen - Red Hot Testing in a Green World
TEST Huddle
 
'Continuous Quality Improvements – A Journey Through The Largest Scrum Projec...
TEST Huddle
 
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
TEST Huddle
 
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
TEST Huddle
 
John Kent - An Entity Model for Software Testing
TEST Huddle
 
'Automated Reliability Testing via Hardware Interfaces' by Bryan Bakker
TEST Huddle
 
Wim Demey - Regression Testing in a Migration Project
TEST Huddle
 
'How To Apply Lean Test Management' by Bob van de Burgt
TEST Huddle
 
Mickiel Vroon - Test Environment, The Future Achilles’ Heel
TEST Huddle
 
'Acceptance Testing' by Erik Boelen
TEST Huddle
 
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
TEST Huddle
 
risk based testing and regression testing
Toshi Patel
 
Elise Greveraars - Tester Needed? No Thanks, We Use MBT!
TEST Huddle
 
Testing Metrics
PM Venkatesha Babu
 
Ad

Viewers also liked (20)

PPTX
'Where Exploration And Automation Meet: Getting The Most From Automated Funct...
TEST Huddle
 
PPT
Erik Beolen - The Power of Risk
TEST Huddle
 
PDF
Anne Mette Hass - I Don't Want To Be A Tester Anymore - EuroSTAR 2010
TEST Huddle
 
PPT
Herman- Pieter Nijhof - Where Do Old Testers Go?
TEST Huddle
 
PPTX
'Team Work Within The Test Team - (E2)Q + p + P = TW' by Malini Mohankumar
TEST Huddle
 
PPTX
Bj Rollison - Pobabillistic Stochastic Test Data
TEST Huddle
 
PPT
Paula O' Grady - Prioritising tests? - Use Your Gut Instinct
TEST Huddle
 
PPTX
Julien Bensaid - The Damage Zone
TEST Huddle
 
PDF
Torben Hoelgaard - Implementing Change - EuroSTAR 2011
TEST Huddle
 
PPT
Lauri Pietarinen - What's Wrong With My Test Data
TEST Huddle
 
PPT
Ian Smith - Mobile Software Testing - Facing Future Challenges
TEST Huddle
 
PDF
Stefaan Luckermans - Number for Passion, Passion for Numbers - EuroSTAR 2010
TEST Huddle
 
PPT
Graham Bath - SOA: Whats in it for Testers?
TEST Huddle
 
PDF
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
TEST Huddle
 
PDF
Doron Reuveni - The Mobile App Quality Challenge - EuroSTAR 2010
TEST Huddle
 
PPT
Martin Koojj - Testers in the Board of Directors
TEST Huddle
 
PDF
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010
TEST Huddle
 
PPT
Scott Andress - Collaboration not Competition updated
TEST Huddle
 
PPT
Darius Silingas - From Model Driven Testing to Test Driven Modelling
TEST Huddle
 
PPT
Otto Vinter - Analysing Your Defect Data for Improvement Potential
TEST Huddle
 
'Where Exploration And Automation Meet: Getting The Most From Automated Funct...
TEST Huddle
 
Erik Beolen - The Power of Risk
TEST Huddle
 
Anne Mette Hass - I Don't Want To Be A Tester Anymore - EuroSTAR 2010
TEST Huddle
 
Herman- Pieter Nijhof - Where Do Old Testers Go?
TEST Huddle
 
'Team Work Within The Test Team - (E2)Q + p + P = TW' by Malini Mohankumar
TEST Huddle
 
Bj Rollison - Pobabillistic Stochastic Test Data
TEST Huddle
 
Paula O' Grady - Prioritising tests? - Use Your Gut Instinct
TEST Huddle
 
Julien Bensaid - The Damage Zone
TEST Huddle
 
Torben Hoelgaard - Implementing Change - EuroSTAR 2011
TEST Huddle
 
Lauri Pietarinen - What's Wrong With My Test Data
TEST Huddle
 
Ian Smith - Mobile Software Testing - Facing Future Challenges
TEST Huddle
 
Stefaan Luckermans - Number for Passion, Passion for Numbers - EuroSTAR 2010
TEST Huddle
 
Graham Bath - SOA: Whats in it for Testers?
TEST Huddle
 
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
TEST Huddle
 
Doron Reuveni - The Mobile App Quality Challenge - EuroSTAR 2010
TEST Huddle
 
Martin Koojj - Testers in the Board of Directors
TEST Huddle
 
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010
TEST Huddle
 
Scott Andress - Collaboration not Competition updated
TEST Huddle
 
Darius Silingas - From Model Driven Testing to Test Driven Modelling
TEST Huddle
 
Otto Vinter - Analysing Your Defect Data for Improvement Potential
TEST Huddle
 
Ad

Similar to Rob Baarda - Are Real Test Metrics Predictive for the Future? (20)

PPT
Managing software project, software engineering
Rupesh Vaishnav
 
PPT
Key Measurements For Testers
Gopi Raghavendra
 
PPT
Key Measurements For Testers
QA Programmer
 
PPT
Sw quality metrics
Sruthi Balaji
 
PDF
How to (Effectively) Measure Quality across Software Deliverables
TechWell
 
PPT
A Regression Analysis Approach for Building a Prediction Model for System Tes...
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
PPTX
Software testing metrics | David Tzemach
David Tzemach
 
PDF
Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)
lifove
 
PPT
Cukic Promise08 V3
gregoryg
 
PPTX
Feature Selection Techniques for Software Fault Prediction (Summary)
SungdoGu
 
PDF
Software testing defect prediction model a practical approach
eSAT Journals
 
PDF
Survey on Software Defect Prediction
lifove
 
PPT
Cs 568 Spring 10 Lecture 5 Estimation
Lawrence Bernstein
 
PDF
DefectmodelsinSparseenvironments
pbaxter
 
PPTX
Predictive Analytics based Regression Test Optimization
STePINForum
 
PDF
Function Points
Chris Farrell
 
PDF
Nesma autumn conference 2015 - Functional testing miniguide - Ignacio López C...
Nesma
 
PDF
Towards a Better Understanding of the Impact of Experimental Components on De...
Chakkrit (Kla) Tantithamthavorn
 
PPT
Software Quality Metrics
Mufaddal Nullwala
 
DOCX
Metrics used in testing
Madan Mohan Reddy
 
Managing software project, software engineering
Rupesh Vaishnav
 
Key Measurements For Testers
Gopi Raghavendra
 
Key Measurements For Testers
QA Programmer
 
Sw quality metrics
Sruthi Balaji
 
How to (Effectively) Measure Quality across Software Deliverables
TechWell
 
A Regression Analysis Approach for Building a Prediction Model for System Tes...
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
Software testing metrics | David Tzemach
David Tzemach
 
Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)
lifove
 
Cukic Promise08 V3
gregoryg
 
Feature Selection Techniques for Software Fault Prediction (Summary)
SungdoGu
 
Software testing defect prediction model a practical approach
eSAT Journals
 
Survey on Software Defect Prediction
lifove
 
Cs 568 Spring 10 Lecture 5 Estimation
Lawrence Bernstein
 
DefectmodelsinSparseenvironments
pbaxter
 
Predictive Analytics based Regression Test Optimization
STePINForum
 
Function Points
Chris Farrell
 
Nesma autumn conference 2015 - Functional testing miniguide - Ignacio López C...
Nesma
 
Towards a Better Understanding of the Impact of Experimental Components on De...
Chakkrit (Kla) Tantithamthavorn
 
Software Quality Metrics
Mufaddal Nullwala
 
Metrics used in testing
Madan Mohan Reddy
 

More from TEST Huddle (20)

PPTX
Why We Need Diversity in Testing- Accenture
TEST Huddle
 
PPTX
Keys to continuous testing for faster delivery euro star webinar
TEST Huddle
 
PPTX
Why you Shouldnt Automated But You Will Anyway
TEST Huddle
 
PDF
Being a Tester in Scrum
TEST Huddle
 
PDF
Leveraging Visual Testing with Your Functional Tests
TEST Huddle
 
PPTX
Using Test Trees to get an Overview of Test Work
TEST Huddle
 
PPTX
Big Data: The Magic to Attain New Heights
TEST Huddle
 
PPTX
Will Robots Replace Testers?
TEST Huddle
 
PPTX
TDD For The Rest Of Us
TEST Huddle
 
PDF
Scaling Agile with LeSS (Large Scale Scrum)
TEST Huddle
 
PPTX
Creating Agile Test Strategies for Larger Enterprises
TEST Huddle
 
PPTX
Is There A Risk?
TEST Huddle
 
PDF
Are Your Tests Well-Travelled? Thoughts About Test Coverage
TEST Huddle
 
PDF
Growing a Company Test Community: Roles and Paths for Testers
TEST Huddle
 
PDF
Do we need testers on agile teams?
TEST Huddle
 
PDF
How to use selenium successfully
TEST Huddle
 
PDF
Testers & Teams on the Agile Fluency™ Journey
TEST Huddle
 
PDF
Practical Test Strategy Using Heuristics
TEST Huddle
 
PDF
Thinking Through Your Role
TEST Huddle
 
PDF
Using Selenium 3 0
TEST Huddle
 
Why We Need Diversity in Testing- Accenture
TEST Huddle
 
Keys to continuous testing for faster delivery euro star webinar
TEST Huddle
 
Why you Shouldnt Automated But You Will Anyway
TEST Huddle
 
Being a Tester in Scrum
TEST Huddle
 
Leveraging Visual Testing with Your Functional Tests
TEST Huddle
 
Using Test Trees to get an Overview of Test Work
TEST Huddle
 
Big Data: The Magic to Attain New Heights
TEST Huddle
 
Will Robots Replace Testers?
TEST Huddle
 
TDD For The Rest Of Us
TEST Huddle
 
Scaling Agile with LeSS (Large Scale Scrum)
TEST Huddle
 
Creating Agile Test Strategies for Larger Enterprises
TEST Huddle
 
Is There A Risk?
TEST Huddle
 
Are Your Tests Well-Travelled? Thoughts About Test Coverage
TEST Huddle
 
Growing a Company Test Community: Roles and Paths for Testers
TEST Huddle
 
Do we need testers on agile teams?
TEST Huddle
 
How to use selenium successfully
TEST Huddle
 
Testers & Teams on the Agile Fluency™ Journey
TEST Huddle
 
Practical Test Strategy Using Heuristics
TEST Huddle
 
Thinking Through Your Role
TEST Huddle
 
Using Selenium 3 0
TEST Huddle
 

Recently uploaded (20)

DOCX
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
PPTX
Presentation about variables and constant.pptx
kr2589474
 
PDF
Immersive experiences: what Pharo users do!
ESUG
 
PDF
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
PPTX
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
PDF
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
PDF
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
PDF
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PDF
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
PPTX
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
PPTX
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
PPTX
Role Of Python In Programing Language.pptx
jaykoshti048
 
PPT
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
PPTX
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
Presentation about variables and constant.pptx
kr2589474
 
Immersive experiences: what Pharo users do!
ESUG
 
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
Role Of Python In Programing Language.pptx
jaykoshti048
 
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 

Rob Baarda - Are Real Test Metrics Predictive for the Future?

  • 2. Agenda • Introduction • Objectives? GQM! • Real metrics • Considerations • Use real metrics in your future
  • 3. Which test metrics? Test basis Test object Test Execution Defects Repair Production Specifying test cases / scripts Test cases/ scripts Test Process Size test basis Size test object # defects in test object # defects in production For each process: # hours effort lead time # test cases # = number of # defects in test basis # repair rounds
  • 4. Deductible metrics • Effort estimation = # hours /size (FP, KLOC) • Productivity = # test cases / # hours • Efficiency = # defects / (# hours or # test cases) > Specification > Test execution > Retest of repaired defects • DDP Defect Detection Percentage (Europe) DRE Defect Removal Efficiency (USA) • Defect injection rate for rework • Damage prevented in €? HOW to get data? HOW to organize?
  • 5. Dutch test metrics experiences • Dutch initiative to gather test metrics • Parties involved >NESMA Netherlands Software Metrics Association >Testnet Dutch Testing community >LaQuSO Laboratory for Software Quality Universities Eindhoven & Nijmegen Approach Goal Question Metrics (GQM)
  • 6. 6 Goals 1. Test manager Support in planning and controlling the testing project 2. Organization Benchmark around 1. Test process 2. Test products 3. IT-products To improve test process, IT process
  • 7. 7 Some Questions • Test manager > Number of test cases needed for my project > What percentage of the project team should be allocated to testing > How many retests are executed • Organization Benchmark > What is the defect detection & removal efficiency (at what phase) > What test coverage do I need to ensure adequate testing > How many defects does development insert when repair others
  • 8. What we have - Structure Project Test project Test activity Incidents/ Defects Project activity Be careful using the data Lack of statistical evidence
  • 9. Feedback example test effort % test effort / project effort % test effort / project effort Project effort (man-day) 0 10 20 30 40 50 60 0 500 1000 1500 2000 2500 3000 Be careful using the data Lack of statistical evidence
  • 10. Feedback example test productivity Test productivity Size in Function Points # Test hours / FP 0 2 4 6 8 10 12 14 16 18 0 100 200 300 400 500 600 Be careful using the data Lack of statistical evidence
  • 11. Feedback example defects per fp 0 0,2 0,4 0,6 0,8 1 1,2 0 100 200 300 400 500 600 700 800 900 Number of defects / function point Size in Function Points # defects / fp Be careful using the data Lack of statistical evidence
  • 12. Defect Detection Percentage Defect Removal Efficiency DDP (%) 84 85 86 87 88 89 90 91 92 0 100 200 300 400 500 600 700 800 900 1000 Size in SKLOC Defect Detection Percentage Defect Removal Efficiency Be careful using the data Lack of statistical evidence
  • 13. Processes around metrics • Collection in a project > Embedded in daily work > Weekly summarisation > Sanity checks > Cost: about 2% project budget • Distribution • For a benchmark on the level of: > Project releases > Organisation > Country > International: www.ISBSG.org International Software Benchmarking Standards Group
  • 14. Some Considerations for future use 1. Accuracy of definitions 2. Number of types of defects 3. Is a batch test case the same as an online test case? 4. Only testing of functionality or also security, performance, usability 5. How to include regression testing? 6. Measure personal productivity? 7. Predictive value average (mean), median, standard deviation, correlations with? Prediction model needed?
  • 15. 10 similar projects Project Func Design Construct System test Function Points FD-hrs per fp Constr-hrs per fp Systemtest- hrs per fp 1 285 465 183 95 3,00 4,89 1,93 2 631 1847 694 305 2,07 6,06 2,28 3 599 845 540 197 3,04 4,29 2,74 4 159 496 185 57 2,79 8,70 3,25 5 81,5 1057 306,5 93 0,88 11,37 3,30 6 416 1017 281,5 80 5,20 12,71 3,52 7 528 1069 605 137 3,85 7,80 4,42 8 566 3118 756 176 3,22 17,72 4,30 9 848 5834 1776 265 3,20 22,02 6,70 10 508 4666 2204 285 1,78 16,37 7,73 Average 4,0
  • 16. Standard deviation From wikipedia Standard deviation = the mean root square (RMS) deviation of the values from their mean(=average): σ
  • 17. Some statistics for ST hours/fp • Average = 4.0 • Standard deviation = 1.8  As predictor: 68% will be between 2.2 and 5.8 • Does not really help as prediction
  • 18. Additional info Project Func Design Construct System test Function Points FD-hrs per fp Constr-hrs per fp Systemtest- hrs per fp Grafical system 1 285 465 183 95 3,00 4,89 1,93 0 2 631 1847 694 305 2,07 6,06 2,28 0 3 599 845 540 197 3,04 4,29 2,74 0 4 159 496 185 57 2,79 8,70 3,25 0 5 81,5 1057 306,5 93 0,88 11,37 3,30 0 6 416 1017 281,5 80 5,20 12,71 3,52 0 7 528 1069 605 137 3,85 7,80 4,42 0 8 566 3118 756 176 3,22 17,72 4,30 1 9 848 5834 1776 265 3,20 22,02 6,70 1 10 508 4666 2204 285 1,78 16,37 7,73 1
  • 19. And now • Non-GIS > Average = 3.1 > Standard deviation = 0.8 > As predictor: 68% within 2.3 and 3.9 • GIS > Average = 6.2 > Standard deviation = 1.4 > As predictor: 68% within 4.8 and 7.6 • Overall > Average = 4.0 > Standard deviation = 1.8 > As predictor: 68% within 2.2 and 5.8
  • 20. Use metrics in your future 1. Starting point for project > Use estimation model, mostly linear, use categories Small, Middle, Large > Use “common” metrics Possible source: Chapter 11 of TMap® Next book 1. Look at your real project data, consistent with prediction? > Yes: GO TO End 1. Find the major factor influencing 2. Adapt your 1. Estimation model 2. Metrics 3. GO TO 2
  • 21. Wrap up • Metrics are possible • Useful to predict • Linear model needs localized fine tuning Test Metrics can predict your future!

Editor's Notes

  • #21: Extra Voorbeeld: schatting bij testline Guido N. : 3 categorieën, ronde 1: extra categorie (ES), ronde2: staffelregels voor grotere aantallen (= meenemen inleereffect)