SlideShare a Scribd company logo
1 of 25
Software Quality Lab
Markus Unterauer
Consultant and trainer
You can‘t control what you can‘t
measure
Measuring requirements quality
www.software-quality-lab.com | improve your quality
At the end of this session you know …
Agenda
 Why good requirements are important
 What makes good requirements
 How you can measure requirements quality
 How to define metrics using G-Q-M
 How you use metrics to improve
Slide 2
www.software-quality-lab.com | improve your quality
… and how reality often looks like
Why good requirements are
important
Slide 3
www.software-quality-lab.com | improve your quality
Requirements are the foundation of every SW
Requirements quality
Slide 4
Source: fpm1979 via Flickr.com (https://www.flickr.com/photos/fpm1979/9660419677)
www.software-quality-lab.com | improve your quality
… and the source of all evil
Requirements quality
Slide 5
Bad requirements
Unrealistic plans
Unplanned activities
Activities are
unpredictable
Delays
Unfulfilled
expectations
Poor quality
Misunderstandings
Time pressure
Overtime
Defects
Source:JamesW.Grenning,RenaissanceSoftwareConsultingCompany,Boston2008
www.software-quality-lab.com | improve your quality
If we specify badly …
Requirements quality
Slide 6
Source: Thomas R. Stegelmann via Flickr.com
https://www.flickr.com/photos/thomasrstegelmann/2731846156Source: Joel Kramer via Flickr.com
https://www.flickr.com/photos/75001512@N00/4518848983
www.software-quality-lab.com | improve your quality
… we often realize it (too) late
Requirements quality
Slide 7
55% a lle rFeh le ren ts tehen in der
An fo rde rungs– und En tw u rfsphase
rozen ta lle r
n tw ick lungs -
feh le r
An fo rde rungs -
und En tw u rfs -
phase
Techn ische
En tw u rfsphase
Kons truk tion -–
und S ys tem -
tes tphase
Abnahm e tes t
und Be triebs -
phase
En tw ick lungs -
phasen
60
50
40
30
20
10
En tw u rfs feh le r Log ische Feh le r S yn tax feh le r
E
E
E
G
G
G
G
E = E ingeb rach te Feh le r
G = G e fundene Feh le r
eh le rbese itigungskos ten (abge le ite tvon A lbe rts 1985 )
Most requirements
defects are found
in operation phase!
Percentage
of all
development
defects
Development
phase
Design defect Logical defect Syntax defect
Requirements
and conception
Technical design Construction and
system test
Acceptance and
operations
E = Entry point of defect
G = Defect found
55% of all defects occur in
requirements and conception phase
www.software-quality-lab.com | improve your quality
… what results in high follow up costs
Requirements quality
Slide 8
Idea Specification Implementation Testing Operations
Effortfordefectcorrection
5minutes
1hour
1 PD
3 PD
15 PD
Phase, in which a requirement defect is found
Effort for correcting a requirements defect
depending on when the defect is found
The later a
requirement defect is
found, the more
effort is needed for
correction
www.software-quality-lab.com | improve your quality
Status quo and causes
Slide 9
www.software-quality-lab.com | improve your quality
Requirements Engineering figures
Requirements quality
Productivity
 75% of all companies do RE insufficiently
 61% are unsatisfied with execution, 70% with documentation
 50% of all success factors for projects lie in RE
Efficiency
 16% of total project effort is used for RE
Quality
 53% of all requirements are written in prose text
 2-3% requirements creep per month
 40-50% of total effort used for correcting RE related defects
 58% of all testers see insufficient requirements as biggest challenge
Slide 10
[Ebert],[Wingroveetal.],[Jones],[SwissQConsultingAG],[StandishReport],]Yangetal.]
www.software-quality-lab.com | improve your quality
… and how to get them
We need better requirements!
Slide 11
www.software-quality-lab.com | improve your quality
Measurement as basis for all improvements
Requirements quality
Slide 12
Define goal and
path to reach it
Discover, where we are
Identify gap, to where
we should be
Find corrective measures
Go next step Goal reached 
www.software-quality-lab.com | improve your quality
Proper metrics show the way to our goal
How to measure requirements
Slide 13
Source:DchicviaFlickr,https://www.flickr.com/photos/agenciamodels/6118171675
www.software-quality-lab.com | improve your quality
Boundaries show, when to act
How to measure requirements
Slide 14
Upper boundary
Lower boundary
Ideal value
Measured value
Time
www.software-quality-lab.com | improve your quality
Criteria for good requirements
Requirements quality
 Reader acceptance criteria
 Synchronized
 Valid and current
 Realizable
 Understandable
 IEEE 830-1998
 Rated
 Unambiguous
 Correct
 Consistent
 Testable
 Traceable
 Complete
Quality criteria based upon IREB® Certified Professional for Requirements Engineering
| Slide 15
www.software-quality-lab.com | improve your quality
Define proper metrics with G-Q-M
How to measure requirements
1. Goal
 What should be done for whom?
 Which aspects do we want to change? What is the context?
e.g. „Improve the quality for all new projects“
2. Question
 Which questions guide us to the measurement goal?
e.g. „How understandable are our requirements?“
3. Metric
 How can we answer the questions using metrics?
e.g. „Average sentence length in words“
Slide 16
Define goals
Find
questions
Answer
questions
www.software-quality-lab.com | improve your quality
Example
How to measure requirements
Slide 17
Metric
Question
Goal We want to improve the
quality of our specifications!
How unambiguous are our
requirements?
Number of
weak phrases
Number of
sentences in
passive form
How complete are our
requirements?
Number of
empty chapters
www.software-quality-lab.com | improve your quality
Question: How unambiguous are our requirements?
Goal: Improve requirements quality
 Percentage of weak phrases („could“, „should“, „rather“,
„mostly“, …) within the top 20
 Percentage of foreign words and abbreviations
 Percentage of sentences with subordinate clauses
 Number of universal quantifiers („all“, „never “, „none“, …)
 Average sentence length (number of words)
 Number of complex terms (terms with „-“)
 Models per chapter
 Percentage of concatenated sentences („and“, „but“, …)
 Percentage of comparatives („faster“, „easier“, …)
Slide 18
www.software-quality-lab.com | improve your quality
Document metrics in a metric handbook
How to measure requirements
Slide 19
Metric Weak Phrases
Goal Specification must be unambiguous. Weak phrases point out unclear
requirements.
Level Sentence
Value Less misunderstandings
Less effort for discussions
Formula wp = nwp / s * 100
wp ….. weak phrases
nwp … number of weak phrases
s …… number of sentences
Method Automatic calculation using VBA macro
Datasource Word version of specification
Interval Before each sprint
Responsible Product Owner
www.software-quality-lab.com | improve your quality
Reporting and analysis
How to measure requirements
Observation
 Because of the high number of
concatenated sentences and filler
words, the average sentence length
is too long
Valuation
 Understandability: 82%
 Unambiguity: 78%
Recommendations
 Split up long sentences
(„One requirement per sentence!“)
 Eliminate filler words
Slide 20
Sentence length
in words
Filler words
within top 20
Weak phrases per
100 sentences
Tables with
> 30 rows
Concatenated
sentences per 100
www.software-quality-lab.com | improve your quality
Sample metrics with target range
How to measure requirements
Slide 21
Metric Target range
Sentence length (in words or lines) < 15 (ca. 1.5 lines)
Percentage of weak phrases
< 0,25 per page
0 within Top 20
Percentage of sentences with
subordinate clauses
< 15%
Number of tables with > 30 rows 0
Percentage of concatenated sentences < 5%
www.software-quality-lab.com | improve your quality
Efficiency in measurement means automation
How to measure requirements
Slide 22
Size:
- Pages: 5
- Words: 1066
- Sentences: 104
Complexity:
- Words per sentence: 13,25
- Tables with > 30 rows: 0
Weak phrases:
- „as possible“: 4 (every 26 sentences)
- „rarely“: 2 (every 52 sentences)
- „often“: 2 (every 52 sentences)
- „many“: 2 (every 52 sentences)
- „some“: 2 (every 52 sentences)
…
www.software-quality-lab.com | improve your quality
Tips for starting your requirements quality metric system
How to measure requirements
 Define metrics top down, not bottom up
 Goal > Question > metric
 Not: „Hey, look how many things we can measure!“
 Concentrate on 5 - 10 metrics, e.g. these:
 Sentence length (in words or lines)
 Percentage of weak phrases
 Percentage of sentences with subordinate clauses
 Number of tables with > 30 rows
 Percentage of concatenated sentences
 Define lower and upper boundary together with your team
 … or measure without boundaries for some iterations and define boundaries then
 Start with automatically measurable measures
 Define, what to do with the metrics
Slide 23
Image:http://pixabay.com/en/bulb-light-lamp-electric-160207/
www.software-quality-lab.com | improve your quality
Summary
Key learnings from this session
 Poor requirements lead to bad software
 Measuring requirements quality using metrics is essential
 Objectivly judge quality
 Derive actions and evaluate effectiveness
 Use GQM method for metric definition
 G – Define goals
 Q – Ask questions
 M – Define metrics to answer the questions
 Automate measurement
Slide 24
Your Partner in Software Quality and Testing
Software Quality Lab GmbH
www.software-quality-lab.com
Consulting | Service | Academy | Tool Expertise
Markus Unterauer
markus.unterauer@software-quality-lab.com

More Related Content

What's hot

A New Model for Testing
A New Model for TestingA New Model for Testing
A New Model for TestingSQALab
 
Introduction to Quality Improvement
Introduction to Quality ImprovementIntroduction to Quality Improvement
Introduction to Quality ImprovementJoan Dembowski
 
Test Estimation Hacks: Tips, Tricks and Tools Webinar
Test Estimation Hacks: Tips, Tricks and Tools WebinarTest Estimation Hacks: Tips, Tricks and Tools Webinar
Test Estimation Hacks: Tips, Tricks and Tools WebinarQASymphony
 
Injecting Threat Modeling into the SDLC by Susan Bradley
Injecting Threat Modeling into the SDLC by Susan BradleyInjecting Threat Modeling into the SDLC by Susan Bradley
Injecting Threat Modeling into the SDLC by Susan BradleyQA or the Highway
 
Agile testing practice
Agile testing practiceAgile testing practice
Agile testing practiceMary Jiang
 
Advancing Testing Using Axioms
Advancing Testing Using AxiomsAdvancing Testing Using Axioms
Advancing Testing Using AxiomsSQALab
 
Agile Testing and Test Automation
Agile Testing and Test AutomationAgile Testing and Test Automation
Agile Testing and Test AutomationNaveen Kumar Singh
 
Growing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersGrowing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersTEST Huddle
 
Agile Testing and BDD with Gauge
Agile Testing and BDD with GaugeAgile Testing and BDD with Gauge
Agile Testing and BDD with GaugeOnur Erdogan
 
! Testing for agile teams
! Testing for agile teams! Testing for agile teams
! Testing for agile teamsDennis Popov
 
14 lessons for successful testing outsourcing
14 lessons for successful testing outsourcing14 lessons for successful testing outsourcing
14 lessons for successful testing outsourcingSQALab
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfullyTEST Huddle
 
John Fodeh - Spend Wisely, Test Well
John Fodeh - Spend Wisely, Test WellJohn Fodeh - Spend Wisely, Test Well
John Fodeh - Spend Wisely, Test WellTEST Huddle
 
Way to Agile - USTH
Way to Agile - USTHWay to Agile - USTH
Way to Agile - USTHHien Nguyen
 
Scrum_BLR 11th meet up 13 dec-2014 - SDET - They Way to go for Testers - Jaya...
Scrum_BLR 11th meet up 13 dec-2014 - SDET - They Way to go for Testers - Jaya...Scrum_BLR 11th meet up 13 dec-2014 - SDET - They Way to go for Testers - Jaya...
Scrum_BLR 11th meet up 13 dec-2014 - SDET - They Way to go for Testers - Jaya...Scrum Bangalore
 
Test team dynamics, Антон Мужайло
Test team dynamics, Антон МужайлоTest team dynamics, Антон Мужайло
Test team dynamics, Антон МужайлоSigma Software
 

What's hot (20)

A New Model for Testing
A New Model for TestingA New Model for Testing
A New Model for Testing
 
Introduction to Quality Improvement
Introduction to Quality ImprovementIntroduction to Quality Improvement
Introduction to Quality Improvement
 
Test Estimation Hacks: Tips, Tricks and Tools Webinar
Test Estimation Hacks: Tips, Tricks and Tools WebinarTest Estimation Hacks: Tips, Tricks and Tools Webinar
Test Estimation Hacks: Tips, Tricks and Tools Webinar
 
Injecting Threat Modeling into the SDLC by Susan Bradley
Injecting Threat Modeling into the SDLC by Susan BradleyInjecting Threat Modeling into the SDLC by Susan Bradley
Injecting Threat Modeling into the SDLC by Susan Bradley
 
Agile testing practice
Agile testing practiceAgile testing practice
Agile testing practice
 
Advancing Testing Using Axioms
Advancing Testing Using AxiomsAdvancing Testing Using Axioms
Advancing Testing Using Axioms
 
Agile Testing and Test Automation
Agile Testing and Test AutomationAgile Testing and Test Automation
Agile Testing and Test Automation
 
Growing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersGrowing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for Testers
 
Agile Testing and BDD with Gauge
Agile Testing and BDD with GaugeAgile Testing and BDD with Gauge
Agile Testing and BDD with Gauge
 
! Testing for agile teams
! Testing for agile teams! Testing for agile teams
! Testing for agile teams
 
14 lessons for successful testing outsourcing
14 lessons for successful testing outsourcing14 lessons for successful testing outsourcing
14 lessons for successful testing outsourcing
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfully
 
John Fodeh - Spend Wisely, Test Well
John Fodeh - Spend Wisely, Test WellJohn Fodeh - Spend Wisely, Test Well
John Fodeh - Spend Wisely, Test Well
 
New model
New modelNew model
New model
 
Continuous testing the new must have skill of tomorrow's tech leaders
Continuous testing  the new must have skill of tomorrow's tech leadersContinuous testing  the new must have skill of tomorrow's tech leaders
Continuous testing the new must have skill of tomorrow's tech leaders
 
Way to Agile - USTH
Way to Agile - USTHWay to Agile - USTH
Way to Agile - USTH
 
What is agile
What is agileWhat is agile
What is agile
 
Scrum_BLR 11th meet up 13 dec-2014 - SDET - They Way to go for Testers - Jaya...
Scrum_BLR 11th meet up 13 dec-2014 - SDET - They Way to go for Testers - Jaya...Scrum_BLR 11th meet up 13 dec-2014 - SDET - They Way to go for Testers - Jaya...
Scrum_BLR 11th meet up 13 dec-2014 - SDET - They Way to go for Testers - Jaya...
 
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
 
Test team dynamics, Антон Мужайло
Test team dynamics, Антон МужайлоTest team dynamics, Антон Мужайло
Test team dynamics, Антон Мужайло
 

Viewers also liked

DevTalks.ro - How do we Measure Software
DevTalks.ro - How do we Measure SoftwareDevTalks.ro - How do we Measure Software
DevTalks.ro - How do we Measure SoftwareRuben Darius Moldovan
 
CISQ and Software Quality Measurement - Software Assurance Forum (March 2010)
CISQ and Software Quality Measurement - Software Assurance Forum (March 2010)CISQ and Software Quality Measurement - Software Assurance Forum (March 2010)
CISQ and Software Quality Measurement - Software Assurance Forum (March 2010)CISQ - Consortium for IT Software Quality
 
Practical Software Measurement
Practical Software MeasurementPractical Software Measurement
Practical Software Measurementaliraza786
 
Software Engineering 2 lecture slide
Software Engineering 2 lecture slideSoftware Engineering 2 lecture slide
Software Engineering 2 lecture slideAdil Mehmoood
 
Software engineering 101 - The basics you should hear about at least once
Software engineering 101 - The basics you should hear about at least onceSoftware engineering 101 - The basics you should hear about at least once
Software engineering 101 - The basics you should hear about at least onceAlexey (Mr_Mig) Migutsky
 
Establishing a Software Measurement Process
Establishing a Software Measurement ProcessEstablishing a Software Measurement Process
Establishing a Software Measurement Processaliraza786
 
Life Cycle Approach To Managing Projects
Life Cycle Approach To Managing ProjectsLife Cycle Approach To Managing Projects
Life Cycle Approach To Managing Projectsswam45
 
DISE - Introduction to Software Engineering
DISE - Introduction to Software EngineeringDISE - Introduction to Software Engineering
DISE - Introduction to Software EngineeringRasan Samarasinghe
 
Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)Angelin R
 
Introduction To Software Engineering
Introduction To Software EngineeringIntroduction To Software Engineering
Introduction To Software EngineeringLeyla Bonilla
 

Viewers also liked (12)

DevTalks.ro - How do we Measure Software
DevTalks.ro - How do we Measure SoftwareDevTalks.ro - How do we Measure Software
DevTalks.ro - How do we Measure Software
 
Metrics Sirisha
Metrics  SirishaMetrics  Sirisha
Metrics Sirisha
 
CISQ and Software Quality Measurement - Software Assurance Forum (March 2010)
CISQ and Software Quality Measurement - Software Assurance Forum (March 2010)CISQ and Software Quality Measurement - Software Assurance Forum (March 2010)
CISQ and Software Quality Measurement - Software Assurance Forum (March 2010)
 
Practical Software Measurement
Practical Software MeasurementPractical Software Measurement
Practical Software Measurement
 
Software Engineering 2 lecture slide
Software Engineering 2 lecture slideSoftware Engineering 2 lecture slide
Software Engineering 2 lecture slide
 
Software engineering 101 - The basics you should hear about at least once
Software engineering 101 - The basics you should hear about at least onceSoftware engineering 101 - The basics you should hear about at least once
Software engineering 101 - The basics you should hear about at least once
 
Establishing a Software Measurement Process
Establishing a Software Measurement ProcessEstablishing a Software Measurement Process
Establishing a Software Measurement Process
 
Life Cycle Approach To Managing Projects
Life Cycle Approach To Managing ProjectsLife Cycle Approach To Managing Projects
Life Cycle Approach To Managing Projects
 
DISE - Introduction to Software Engineering
DISE - Introduction to Software EngineeringDISE - Introduction to Software Engineering
DISE - Introduction to Software Engineering
 
Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)
 
Agile metrics and quality
Agile metrics and qualityAgile metrics and quality
Agile metrics and quality
 
Introduction To Software Engineering
Introduction To Software EngineeringIntroduction To Software Engineering
Introduction To Software Engineering
 

Similar to You cant control what you cant measure - Measuring requirements quality

Lessons learned from measuring software development processes
Lessons learned from measuring software development processesLessons learned from measuring software development processes
Lessons learned from measuring software development processesMarkus Unterauer
 
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011TEST Huddle
 
Improving the Development Lifecycle with a Quality-Centric Approach
Improving the Development Lifecycle with a Quality-Centric ApproachImproving the Development Lifecycle with a Quality-Centric Approach
Improving the Development Lifecycle with a Quality-Centric ApproachSeapine Software
 
Enhancing Software Quality
Enhancing Software QualityEnhancing Software Quality
Enhancing Software QualityAnand Prabhala
 
Defect free development - QS Tag2019
Defect free development - QS Tag2019Defect free development - QS Tag2019
Defect free development - QS Tag2019Arnon Axelrod
 
Testing Metrics: Project, Product, Process
Testing Metrics: Project, Product, ProcessTesting Metrics: Project, Product, Process
Testing Metrics: Project, Product, ProcessTechWell
 
2008 09 06 Eric Ries Haas Columbia Customer Development Engineering
2008 09 06 Eric Ries Haas Columbia Customer Development Engineering2008 09 06 Eric Ries Haas Columbia Customer Development Engineering
2008 09 06 Eric Ries Haas Columbia Customer Development Engineeringguest472f47
 
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...TEST Huddle
 
Extreme programming talk wise consulting - www.talkwiseconsulting
Extreme programming   talk wise consulting - www.talkwiseconsultingExtreme programming   talk wise consulting - www.talkwiseconsulting
Extreme programming talk wise consulting - www.talkwiseconsultingtalkwiseone
 
Extreme Programming Talk Wise Consulting Www.Talkwiseconsulting
Extreme  Programming    Talk Wise  Consulting   Www.TalkwiseconsultingExtreme  Programming    Talk Wise  Consulting   Www.Talkwiseconsulting
Extreme Programming Talk Wise Consulting Www.Talkwiseconsultingtalkwiseone
 
Risk Driven Testing
Risk Driven TestingRisk Driven Testing
Risk Driven TestingJorge Boria
 
Testwarez 2009 Use Proper Tool
Testwarez 2009 Use Proper ToolTestwarez 2009 Use Proper Tool
Testwarez 2009 Use Proper ToolAdam Sandman
 
Best practices quality assurance
Best practices   quality assuranceBest practices   quality assurance
Best practices quality assuranceShakal Shukla
 
Introduction to Software Review
Introduction to Software ReviewIntroduction to Software Review
Introduction to Software ReviewPhilip Johnson
 
QAustral Testing
QAustral   TestingQAustral   Testing
QAustral Testingcusmaim
 
Bcc exceed ste_cert
Bcc exceed ste_certBcc exceed ste_cert
Bcc exceed ste_certSusan L.
 

Similar to You cant control what you cant measure - Measuring requirements quality (20)

Lessons learned from measuring software development processes
Lessons learned from measuring software development processesLessons learned from measuring software development processes
Lessons learned from measuring software development processes
 
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
 
Improving the Development Lifecycle with a Quality-Centric Approach
Improving the Development Lifecycle with a Quality-Centric ApproachImproving the Development Lifecycle with a Quality-Centric Approach
Improving the Development Lifecycle with a Quality-Centric Approach
 
Enhancing Software Quality
Enhancing Software QualityEnhancing Software Quality
Enhancing Software Quality
 
Defect free development - QS Tag2019
Defect free development - QS Tag2019Defect free development - QS Tag2019
Defect free development - QS Tag2019
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Testing Metrics: Project, Product, Process
Testing Metrics: Project, Product, ProcessTesting Metrics: Project, Product, Process
Testing Metrics: Project, Product, Process
 
2008 09 06 Eric Ries Haas Columbia Customer Development Engineering
2008 09 06 Eric Ries Haas Columbia Customer Development Engineering2008 09 06 Eric Ries Haas Columbia Customer Development Engineering
2008 09 06 Eric Ries Haas Columbia Customer Development Engineering
 
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...
 
Extreme programming talk wise consulting - www.talkwiseconsulting
Extreme programming   talk wise consulting - www.talkwiseconsultingExtreme programming   talk wise consulting - www.talkwiseconsulting
Extreme programming talk wise consulting - www.talkwiseconsulting
 
Extreme Programming Talk Wise Consulting Www.Talkwiseconsulting
Extreme  Programming    Talk Wise  Consulting   Www.TalkwiseconsultingExtreme  Programming    Talk Wise  Consulting   Www.Talkwiseconsulting
Extreme Programming Talk Wise Consulting Www.Talkwiseconsulting
 
Risk Driven Testing
Risk Driven TestingRisk Driven Testing
Risk Driven Testing
 
Testwarez 2009 Use Proper Tool
Testwarez 2009 Use Proper ToolTestwarez 2009 Use Proper Tool
Testwarez 2009 Use Proper Tool
 
Tec314f
Tec314fTec314f
Tec314f
 
1st module.....
1st module.....1st module.....
1st module.....
 
Qualilogy services 201409v1
Qualilogy services 201409v1Qualilogy services 201409v1
Qualilogy services 201409v1
 
Best practices quality assurance
Best practices   quality assuranceBest practices   quality assurance
Best practices quality assurance
 
Introduction to Software Review
Introduction to Software ReviewIntroduction to Software Review
Introduction to Software Review
 
QAustral Testing
QAustral   TestingQAustral   Testing
QAustral Testing
 
Bcc exceed ste_cert
Bcc exceed ste_certBcc exceed ste_cert
Bcc exceed ste_cert
 

More from Markus Unterauer

Rückwärts denken vorwärts handeln - Requirements Reverse Engineering bei Syst...
Rückwärts denken vorwärts handeln - Requirements Reverse Engineering bei Syst...Rückwärts denken vorwärts handeln - Requirements Reverse Engineering bei Syst...
Rückwärts denken vorwärts handeln - Requirements Reverse Engineering bei Syst...Markus Unterauer
 
Notfallvorsorge in der Stadt - Staatliche Notfallvorsorge in Österreich
Notfallvorsorge in der Stadt - Staatliche Notfallvorsorge in ÖsterreichNotfallvorsorge in der Stadt - Staatliche Notfallvorsorge in Österreich
Notfallvorsorge in der Stadt - Staatliche Notfallvorsorge in ÖsterreichMarkus Unterauer
 
Man kann nicht nicht planen
Man kann nicht nicht planenMan kann nicht nicht planen
Man kann nicht nicht planenMarkus Unterauer
 
Was machen unsere Anwender so? Prozessmodellierung mit BPMN
Was machen unsere Anwender so? Prozessmodellierung mit BPMNWas machen unsere Anwender so? Prozessmodellierung mit BPMN
Was machen unsere Anwender so? Prozessmodellierung mit BPMNMarkus Unterauer
 
"Das Reiten eines hässlichen Pferdes ist verboten" - Gesetze aus Sicht eines ...
"Das Reiten eines hässlichen Pferdes ist verboten" - Gesetze aus Sicht eines ..."Das Reiten eines hässlichen Pferdes ist verboten" - Gesetze aus Sicht eines ...
"Das Reiten eines hässlichen Pferdes ist verboten" - Gesetze aus Sicht eines ...Markus Unterauer
 
Tipps für Requirements Management Tools
Tipps für Requirements Management ToolsTipps für Requirements Management Tools
Tipps für Requirements Management ToolsMarkus Unterauer
 
Erfolgsfaktoren im Requirements Engineering
Erfolgsfaktoren im Requirements EngineeringErfolgsfaktoren im Requirements Engineering
Erfolgsfaktoren im Requirements EngineeringMarkus Unterauer
 
Software Quality Lab - Beratung und Training für mehr Qualität und Effizienz ...
Software Quality Lab - Beratung und Training für mehr Qualität und Effizienz ...Software Quality Lab - Beratung und Training für mehr Qualität und Effizienz ...
Software Quality Lab - Beratung und Training für mehr Qualität und Effizienz ...Markus Unterauer
 
Traceability von Software Anforderungen
Traceability von Software AnforderungenTraceability von Software Anforderungen
Traceability von Software AnforderungenMarkus Unterauer
 

More from Markus Unterauer (12)

Rückwärts denken vorwärts handeln - Requirements Reverse Engineering bei Syst...
Rückwärts denken vorwärts handeln - Requirements Reverse Engineering bei Syst...Rückwärts denken vorwärts handeln - Requirements Reverse Engineering bei Syst...
Rückwärts denken vorwärts handeln - Requirements Reverse Engineering bei Syst...
 
Notfallvorsorge in der Stadt - Staatliche Notfallvorsorge in Österreich
Notfallvorsorge in der Stadt - Staatliche Notfallvorsorge in ÖsterreichNotfallvorsorge in der Stadt - Staatliche Notfallvorsorge in Österreich
Notfallvorsorge in der Stadt - Staatliche Notfallvorsorge in Österreich
 
Specification by example
Specification by exampleSpecification by example
Specification by example
 
Definition of Ready
Definition of ReadyDefinition of Ready
Definition of Ready
 
Man kann nicht nicht planen
Man kann nicht nicht planenMan kann nicht nicht planen
Man kann nicht nicht planen
 
Was machen unsere Anwender so? Prozessmodellierung mit BPMN
Was machen unsere Anwender so? Prozessmodellierung mit BPMNWas machen unsere Anwender so? Prozessmodellierung mit BPMN
Was machen unsere Anwender so? Prozessmodellierung mit BPMN
 
Risikobasiertes testen
Risikobasiertes testenRisikobasiertes testen
Risikobasiertes testen
 
"Das Reiten eines hässlichen Pferdes ist verboten" - Gesetze aus Sicht eines ...
"Das Reiten eines hässlichen Pferdes ist verboten" - Gesetze aus Sicht eines ..."Das Reiten eines hässlichen Pferdes ist verboten" - Gesetze aus Sicht eines ...
"Das Reiten eines hässlichen Pferdes ist verboten" - Gesetze aus Sicht eines ...
 
Tipps für Requirements Management Tools
Tipps für Requirements Management ToolsTipps für Requirements Management Tools
Tipps für Requirements Management Tools
 
Erfolgsfaktoren im Requirements Engineering
Erfolgsfaktoren im Requirements EngineeringErfolgsfaktoren im Requirements Engineering
Erfolgsfaktoren im Requirements Engineering
 
Software Quality Lab - Beratung und Training für mehr Qualität und Effizienz ...
Software Quality Lab - Beratung und Training für mehr Qualität und Effizienz ...Software Quality Lab - Beratung und Training für mehr Qualität und Effizienz ...
Software Quality Lab - Beratung und Training für mehr Qualität und Effizienz ...
 
Traceability von Software Anforderungen
Traceability von Software AnforderungenTraceability von Software Anforderungen
Traceability von Software Anforderungen
 

Recently uploaded

costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
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
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
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
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
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
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
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
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
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?
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
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
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

You cant control what you cant measure - Measuring requirements quality

  • 1. Software Quality Lab Markus Unterauer Consultant and trainer You can‘t control what you can‘t measure Measuring requirements quality
  • 2. www.software-quality-lab.com | improve your quality At the end of this session you know … Agenda  Why good requirements are important  What makes good requirements  How you can measure requirements quality  How to define metrics using G-Q-M  How you use metrics to improve Slide 2
  • 3. www.software-quality-lab.com | improve your quality … and how reality often looks like Why good requirements are important Slide 3
  • 4. www.software-quality-lab.com | improve your quality Requirements are the foundation of every SW Requirements quality Slide 4 Source: fpm1979 via Flickr.com (https://www.flickr.com/photos/fpm1979/9660419677)
  • 5. www.software-quality-lab.com | improve your quality … and the source of all evil Requirements quality Slide 5 Bad requirements Unrealistic plans Unplanned activities Activities are unpredictable Delays Unfulfilled expectations Poor quality Misunderstandings Time pressure Overtime Defects Source:JamesW.Grenning,RenaissanceSoftwareConsultingCompany,Boston2008
  • 6. www.software-quality-lab.com | improve your quality If we specify badly … Requirements quality Slide 6 Source: Thomas R. Stegelmann via Flickr.com https://www.flickr.com/photos/thomasrstegelmann/2731846156Source: Joel Kramer via Flickr.com https://www.flickr.com/photos/75001512@N00/4518848983
  • 7. www.software-quality-lab.com | improve your quality … we often realize it (too) late Requirements quality Slide 7 55% a lle rFeh le ren ts tehen in der An fo rde rungs– und En tw u rfsphase rozen ta lle r n tw ick lungs - feh le r An fo rde rungs - und En tw u rfs - phase Techn ische En tw u rfsphase Kons truk tion -– und S ys tem - tes tphase Abnahm e tes t und Be triebs - phase En tw ick lungs - phasen 60 50 40 30 20 10 En tw u rfs feh le r Log ische Feh le r S yn tax feh le r E E E G G G G E = E ingeb rach te Feh le r G = G e fundene Feh le r eh le rbese itigungskos ten (abge le ite tvon A lbe rts 1985 ) Most requirements defects are found in operation phase! Percentage of all development defects Development phase Design defect Logical defect Syntax defect Requirements and conception Technical design Construction and system test Acceptance and operations E = Entry point of defect G = Defect found 55% of all defects occur in requirements and conception phase
  • 8. www.software-quality-lab.com | improve your quality … what results in high follow up costs Requirements quality Slide 8 Idea Specification Implementation Testing Operations Effortfordefectcorrection 5minutes 1hour 1 PD 3 PD 15 PD Phase, in which a requirement defect is found Effort for correcting a requirements defect depending on when the defect is found The later a requirement defect is found, the more effort is needed for correction
  • 9. www.software-quality-lab.com | improve your quality Status quo and causes Slide 9
  • 10. www.software-quality-lab.com | improve your quality Requirements Engineering figures Requirements quality Productivity  75% of all companies do RE insufficiently  61% are unsatisfied with execution, 70% with documentation  50% of all success factors for projects lie in RE Efficiency  16% of total project effort is used for RE Quality  53% of all requirements are written in prose text  2-3% requirements creep per month  40-50% of total effort used for correcting RE related defects  58% of all testers see insufficient requirements as biggest challenge Slide 10 [Ebert],[Wingroveetal.],[Jones],[SwissQConsultingAG],[StandishReport],]Yangetal.]
  • 11. www.software-quality-lab.com | improve your quality … and how to get them We need better requirements! Slide 11
  • 12. www.software-quality-lab.com | improve your quality Measurement as basis for all improvements Requirements quality Slide 12 Define goal and path to reach it Discover, where we are Identify gap, to where we should be Find corrective measures Go next step Goal reached 
  • 13. www.software-quality-lab.com | improve your quality Proper metrics show the way to our goal How to measure requirements Slide 13 Source:DchicviaFlickr,https://www.flickr.com/photos/agenciamodels/6118171675
  • 14. www.software-quality-lab.com | improve your quality Boundaries show, when to act How to measure requirements Slide 14 Upper boundary Lower boundary Ideal value Measured value Time
  • 15. www.software-quality-lab.com | improve your quality Criteria for good requirements Requirements quality  Reader acceptance criteria  Synchronized  Valid and current  Realizable  Understandable  IEEE 830-1998  Rated  Unambiguous  Correct  Consistent  Testable  Traceable  Complete Quality criteria based upon IREB® Certified Professional for Requirements Engineering | Slide 15
  • 16. www.software-quality-lab.com | improve your quality Define proper metrics with G-Q-M How to measure requirements 1. Goal  What should be done for whom?  Which aspects do we want to change? What is the context? e.g. „Improve the quality for all new projects“ 2. Question  Which questions guide us to the measurement goal? e.g. „How understandable are our requirements?“ 3. Metric  How can we answer the questions using metrics? e.g. „Average sentence length in words“ Slide 16 Define goals Find questions Answer questions
  • 17. www.software-quality-lab.com | improve your quality Example How to measure requirements Slide 17 Metric Question Goal We want to improve the quality of our specifications! How unambiguous are our requirements? Number of weak phrases Number of sentences in passive form How complete are our requirements? Number of empty chapters
  • 18. www.software-quality-lab.com | improve your quality Question: How unambiguous are our requirements? Goal: Improve requirements quality  Percentage of weak phrases („could“, „should“, „rather“, „mostly“, …) within the top 20  Percentage of foreign words and abbreviations  Percentage of sentences with subordinate clauses  Number of universal quantifiers („all“, „never “, „none“, …)  Average sentence length (number of words)  Number of complex terms (terms with „-“)  Models per chapter  Percentage of concatenated sentences („and“, „but“, …)  Percentage of comparatives („faster“, „easier“, …) Slide 18
  • 19. www.software-quality-lab.com | improve your quality Document metrics in a metric handbook How to measure requirements Slide 19 Metric Weak Phrases Goal Specification must be unambiguous. Weak phrases point out unclear requirements. Level Sentence Value Less misunderstandings Less effort for discussions Formula wp = nwp / s * 100 wp ….. weak phrases nwp … number of weak phrases s …… number of sentences Method Automatic calculation using VBA macro Datasource Word version of specification Interval Before each sprint Responsible Product Owner
  • 20. www.software-quality-lab.com | improve your quality Reporting and analysis How to measure requirements Observation  Because of the high number of concatenated sentences and filler words, the average sentence length is too long Valuation  Understandability: 82%  Unambiguity: 78% Recommendations  Split up long sentences („One requirement per sentence!“)  Eliminate filler words Slide 20 Sentence length in words Filler words within top 20 Weak phrases per 100 sentences Tables with > 30 rows Concatenated sentences per 100
  • 21. www.software-quality-lab.com | improve your quality Sample metrics with target range How to measure requirements Slide 21 Metric Target range Sentence length (in words or lines) < 15 (ca. 1.5 lines) Percentage of weak phrases < 0,25 per page 0 within Top 20 Percentage of sentences with subordinate clauses < 15% Number of tables with > 30 rows 0 Percentage of concatenated sentences < 5%
  • 22. www.software-quality-lab.com | improve your quality Efficiency in measurement means automation How to measure requirements Slide 22 Size: - Pages: 5 - Words: 1066 - Sentences: 104 Complexity: - Words per sentence: 13,25 - Tables with > 30 rows: 0 Weak phrases: - „as possible“: 4 (every 26 sentences) - „rarely“: 2 (every 52 sentences) - „often“: 2 (every 52 sentences) - „many“: 2 (every 52 sentences) - „some“: 2 (every 52 sentences) …
  • 23. www.software-quality-lab.com | improve your quality Tips for starting your requirements quality metric system How to measure requirements  Define metrics top down, not bottom up  Goal > Question > metric  Not: „Hey, look how many things we can measure!“  Concentrate on 5 - 10 metrics, e.g. these:  Sentence length (in words or lines)  Percentage of weak phrases  Percentage of sentences with subordinate clauses  Number of tables with > 30 rows  Percentage of concatenated sentences  Define lower and upper boundary together with your team  … or measure without boundaries for some iterations and define boundaries then  Start with automatically measurable measures  Define, what to do with the metrics Slide 23 Image:http://pixabay.com/en/bulb-light-lamp-electric-160207/
  • 24. www.software-quality-lab.com | improve your quality Summary Key learnings from this session  Poor requirements lead to bad software  Measuring requirements quality using metrics is essential  Objectivly judge quality  Derive actions and evaluate effectiveness  Use GQM method for metric definition  G – Define goals  Q – Ask questions  M – Define metrics to answer the questions  Automate measurement Slide 24
  • 25. Your Partner in Software Quality and Testing Software Quality Lab GmbH www.software-quality-lab.com Consulting | Service | Academy | Tool Expertise Markus Unterauer markus.unterauer@software-quality-lab.com