The Top Ten things that have been proven to effect software reliability

Softrel, LLC
20 Towne Drive #130
Bluffton, SC 29910
http://www.softrel.com
321-514-4659
January 22, 2015
amneufelder@softrel.com
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole
without written permission from Ann Marie Neufelder.
About Ann Marie Neufelder
 Chairperson of the IEEE 1633 Recommended Practices
for Software Reliability
 Since 1983 has been a software engineer or manager for
DoD and commercial software applications
 Co-Authored first DoD Guidebook on software reliability
 Developed NASAs webinar on Software FMEA and FTA
 Has trained every NASA center and every major defense
contractor on software reliability
 Has patent pending for model to predict software defect
density
 Has conducted software reliability predictions for
numerous military and commercial vehicles and aircraft,
space systems, medical devices and equipment,
semiconductors, commercial electronics.
2
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
There are 3 basic things that determine the
software MTTF and MTTCF
 This presentation will focus on the defect and defect density
reduction of defects that escape development and testing
Factor Sensitivity Comments
Fielded defect
density/defects
Cutting this in half
-> doubles MTBF.
Reducing defects requires elimination of
development practices that aren’t
effective as well as embracing those that
are
Effective code
size
Cutting effective size
in half -> doubles
MTBF.
• COTS and reuse can have big impact
• Error in size prediction has direct impact
on error in reliability prediction
Reliability
growth– how many
hours real end user
operate tank per
month after
deployment
Non-linear
relationship.
More of this after delivery means MTTF at
end of growth period is better but MTTF upon
delivery is less because more defects are
found earlier.
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
If you ask a software engineer to rank the top 10
factors associated with unreliable software – this is
what they might say…
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
Ranking Factors Where this factor actually ranks
1 Not enough calendar time to finish 457 - because usually late projects are late
because they started late and not because of
insufficient time
2 Too much noise 352
3 Insufficient design tools 126
4 Agile development So far, not a single project in our DB used this
completely and consistently from start to finish.
5 Existing code is too difficult to change 146
6 Number of years of experience with a
particular language
400 – What matters is the industry experience
7 Our software is inherently more
difficult to develop
370 – Everyone thinks this
8 Everybody has poor coding style 423 – While code with good style may be less
error prone, that doesn’t mean its defect free
9 Object oriented design and code 395 – While OO code may be more cohesive,
that doesn’t mean its defect free
10 If they would just leave me alone I
could write great code
Our data shows that the reverse is true
If you ask a software process engineer to rank the top 10 factors
associated with unreliable software – this is what they might say…
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
Ranking Factors Where this factor actually ranks
1 Capability Maturity 417 - Organizations with low CMM can and have developed reliable
software. Defect density reduction in our DB plateaued at level 3.
2 Process improvement
activities
8 – The right activities tailored to the process can avoid a failed
project but not necessarily result in a successful project
3 Metrics 54 – Not all metrics are relevant for reducing defects. Too many
metrics or poorly timed metrics won’t reduce defects either.
4 Code reviews 366 - Because the criteria for the reviews is often missing or not
relevant to reducing defects
5 Independent SQA
audits
359 – Probability because the audits focus on product and often
miss technique
6 Popular metrics such
as complexity
430 – Fastest way tor reduce complexity is to reduce exception
handling which is necessary for reliability.
7 Peer reviews #368 - Because peer reviews are often lacking a clear agenda and
because peers don’t necessarily understand the requirements
8 Traceability of
requirements
61 – The problem is what’s NOT in the requirements. Requirements
almost never discuss negative or unexpected behavior.
9 Independent test
organization
295 – Organizations with this are less motivated to do developer
testing
10 High ratio of testers
to software engineers
380 – Those that have this are often not doing developer testing
This is the top 10 list based on hard facts and data
1. Avoid Big Blobs – “Code a little – Test a little”. Avoid big and long releases, avoid big
teams working on same code, avoid reinvention of the wheel. Planning ahead and with
daily or weekly detail. Micromanage the development progress.
2. Mandatory developer white box testing at module, class and integration level
3. Techniques that make it easier to visualize the requirements, design, code, test
or defects
4. Identifying, designing, coding and testing what the software should NOT do
5. Understand the end user. Employ software engineers with DOMAIN
experience. Involve customers in requirements, Prototyping, etc.
6. Not skipping requirements, design, unit test, test, change control, etc. even for
small releases.
7. Defect reduction techniques – Formal product reviews, SFMEAs, root cause
analysis.
8. Process improvement activities – tailored to the needs of the project
9. Maintaining version and source control, defect tracking, prioritizing changes.
Avoiding undocumented changes to requirements, design or code. Verifying
changes to code don’t have an unexpected impact.
10. Techniques for how to test the software better instead of longer
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
How the “Top Ten” list was developed
 Since 1993 Ann Marie Neufelder has benchmarked 679
development factors versus actual defect data
 156 factors were either employed by everyone or employed by
no one in the database.
 The benchmarking was conducted on the remaining 523 factors.
 75 complete sets and 74 incomplete sets of actual fielded defect
data
 See backup slides for a summary of the projects in this database
 Benchmarking results yielded
 Ranked list of each factor by sensitivity to fielded defect density
 A model to predict defect density before the code is even written
 Refer to white paper “The Cold Hard Truth about Reliable
Software, Revision 6e”
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
These are the actual fielded defect densities for
each of the projects in the database.
0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
0 10 20 30 40 50 60
Actual fielded defect density of each project in database
If you can predict where
your software release is
with respect to those in
our database, you can
predict the reliability
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
These
software
projects
were
distressed
These
software
projects
were
successful
The 523 factors and the 4 P’s and a T
Factor
category
Number of
factors in this
category
Examples of factors in this category
Product 50 Size, complexity, OO design, whether the
requirements are consistent, code that is old and
fragile, etc.
Product risks 12 Risks imposed by end users, government
regulations, customers, product maturity, etc.
People 38 Turnover, geographical location, amount of noise
in work area, number of years of experience in
the applicable industry, number of software
people, ratio of software developers to testers,
etc.
Process 121 Procedures, compliance, exit criteria, standards,
etc.
Technique 302 The specific methods, approaches and tools that
are used to develop the software. Example:
Using a SFMEA to help identify the exceptions
that should be designed and coded.
Now let’s see which development activities have been covered.
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
The 523 factors by development phases/activities
Activity associated with factor #Factors
Scheduling and personnel assignments 32
Project execution – making sure that work gets done on time and with desired
functionality
24
Software development planning 10
Requirements analysis 42
Architectural design 3
Design 32
Detailed design 22
Firmware design* 1
Graphical User Interface design* 2
Database design* 1
Network design* 1
Implementation – coding 54
Corrective action – correcting defects 11
Configuration Management (CM), source and version control 27
Unit testing – testing from a developers perspective 48
Systems testing – testing from a black box perspective 75
Regression testing – retesting after some changes have been made to the
baseline
4
Defect tracking 17
Process improvement 24
Reliability engineering 18
Software Quality Assurance 25
No activity – these are related to operational profile and inherent risks 33
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
The factors associated with increased
defect density
1. Using short term contractors to write code that requires
domain expertise and is sensitive to your company
2. Reinventing the wheel – failing to buy off the shelf when
you can
3. Large projects spanning over many years with many people
4. “Throw over the wall” testing approach
Now that we’ve seen what causes high defect density, let’s see what causes a
failed project…
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
All failed projects had these things
in common
 They started the project late
 They had more than 3 things that required a
learning curve
 New system/target hardware
 New tools or environment
 New processes
 New product (version 1)
 New software people
 They failed to mitigate known risks early in the
project
What’s not on these lists is as important as
what IS on these lists….
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
The factors that didn’t correlate one way or the
other to reduced defect density
 Metrics such as complexity, depth of nesting, etc.
 Interruptions to software engineers (some interruptions are
good while others are not)
 Having more than 40% of staff doing testing full time (usually
indicates poor developer testing)
 CMMi levels > 3
 Coding standards that don’t have criteria that are actually
related to defects
 Metrics that aren’t useful for either progress reporting,
scheduling or defect removal
 Peer walkthrus (when the peers don’t have domain or
industry experience)
 Superficial test cases
 Number of years of experience with a particular language
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
Conclusions
 The benchmarking results were used to identify the factors
that result in fewer or more defects
 The ranked list was used to develop a model to predict
defect density before the code is written
 This model is available in
○ The Software Reliability Toolkit
○ The Software Reliability Toolkit Training Class
○ The Frestimate software
○ The Software Reliability Assessment services
 Traditional software reliability models are used late in testing
when there is little opportunity to improve the software
without delaying the schedule
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
Backup slides
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
Software reliability defined
 Probability of success of the software over some specified mission
time
 Term commonly used to describe an entire collection of software
metrics.
 Also defined as a function of
 Inherent defects
○ Introduced during requirements translation, design, code,
corrective action, integration, and interface definition with
other software and hardware
 Operational profile
○ Duty cycle
○ Spectrum of end users
○ Number of install sites/end users
○ Product maturity
These things
can be
predicted
before the
code is
written
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
Related Terms
 Error
 Related to human mistakes made while developing the software
 Ex: Human forgets that b may approach 0 in algorithm c = a/b
 Fault or defect
 Related to the design or code
 Ex: This code is implemented without exception handling “c = a/b;”
 Defect rate is from developer’s perspective
 Defects measured/predicted during testing or operation
 Defect density = defects/normalized size
 Failure
 An event
 Ex: During execution the conditions are so that the value of b approaches 0
and the software crashes or hangs
 Failure rate is from system or end user’s perspective
 KSLOC
 1000 source lines of code – common measure of software size
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
Who’s doing software reliability
predictions?
 Space systems
 Missiles defense systems
 Naval craft
 Commercial ground vehicles
 Military ground vehicles
 Inertial Navigation and GPS
 Command and Control and Communication
 Electronic Warfare
 General aviation
 Medical devices
 Healthcare/EMR software
 Major appliances
 Commercial electronics
 Semiconductor fabrication equipment
 HVAC
 Energy
18
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
About the projects in this
database…
29%
5%
7%
10%
1%
5%
5%
38%
Defense
Space
Medical
Commercial electronics
Commercial transportation
Commercial software
Energy
Semiconductor fabrication
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
The benchmarking revealed 7 percentile groups in
which the project defect densities are clustered
20
•Percentile group predictions…
•Pertain to a specific product release
•Based on the number of risks and strengths
•Can only change if or when risks or strengths change
•Some risks/strengths are temporary; others can’t be changed at all
•Can transition in the wrong direction on same product if
•New risks/obstacles added
•Strengths are abandoned
•World class does not mean defect free. It simply means better than
the defect density ranges in database.
Fewer fielded defects
97%
Failed
10%
Very
good
75%
Fair
50%
Average
25%
Good
More risks than strengths More strengths than risksStrengths and risks
Offset each other
More fielded defects
90%
Poor
3%
World
Class
Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
1 of 20

Recommended

Five Common Mistakes made when Conducting a Software FMECA by
Five Common Mistakes made when Conducting a Software FMECAFive Common Mistakes made when Conducting a Software FMECA
Five Common Mistakes made when Conducting a Software FMECAAnn Marie Neufelder
967 views16 slides
Software Failure Modes Effects Analysis Overview by
Software Failure Modes Effects Analysis OverviewSoftware Failure Modes Effects Analysis Overview
Software Failure Modes Effects Analysis OverviewAnn Marie Neufelder
719 views75 slides
Automation Testing by Selenium Web Driver by
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverCuelogic Technologies Pvt. Ltd.
27.1K views56 slides
An Introduction to Software Failure Modes Effects Analysis (SFMEA) by
An Introduction to Software Failure Modes Effects Analysis (SFMEA)An Introduction to Software Failure Modes Effects Analysis (SFMEA)
An Introduction to Software Failure Modes Effects Analysis (SFMEA)Ann Marie Neufelder
41.4K views50 slides
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ... by
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...Simplilearn
688 views65 slides
An overview of selenium webdriver by
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriverAnuraj S.L
4.1K views60 slides

More Related Content

What's hot

Software Common Defect Enumeration by
Software Common Defect EnumerationSoftware Common Defect Enumeration
Software Common Defect EnumerationAnnMarieNeufelder1
112 views21 slides
test_automation_POC by
test_automation_POCtest_automation_POC
test_automation_POCRafael Battesti
1.4K views12 slides
Selenium by
SeleniumSelenium
SeleniumBatch2016
438 views40 slides
Handle Exceptions in Selenium Webdriver | Edureka by
Handle Exceptions in Selenium Webdriver | EdurekaHandle Exceptions in Selenium Webdriver | Edureka
Handle Exceptions in Selenium Webdriver | EdurekaEdureka!
263 views20 slides
Test Automation Strategies For Agile by
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For AgileNaresh Jain
54K views38 slides
Introduction to software FMEA by
Introduction to software FMEAIntroduction to software FMEA
Introduction to software FMEAAnnMarieNeufelder1
274 views77 slides

What's hot(20)

Selenium by Batch2016
SeleniumSelenium
Selenium
Batch2016438 views
Handle Exceptions in Selenium Webdriver | Edureka by Edureka!
Handle Exceptions in Selenium Webdriver | EdurekaHandle Exceptions in Selenium Webdriver | Edureka
Handle Exceptions in Selenium Webdriver | Edureka
Edureka!263 views
Test Automation Strategies For Agile by Naresh Jain
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
Naresh Jain54K views
Selenium Concepts by Swati Bansal
Selenium ConceptsSelenium Concepts
Selenium Concepts
Swati Bansal13.1K views
Web automation using selenium.ppt by Ana Sarbescu
Web automation using selenium.pptWeb automation using selenium.ppt
Web automation using selenium.ppt
Ana Sarbescu2.1K views
QuerySurge for DevOps by RTTS
QuerySurge for DevOpsQuerySurge for DevOps
QuerySurge for DevOps
RTTS40.6K views
Selenium- A Software Testing Tool by Zeba Tahseen
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
Zeba Tahseen1.2K views
Site reliability engineering by Jason Loeffler
Site reliability engineeringSite reliability engineering
Site reliability engineering
Jason Loeffler612 views
Software development life cycle yazılım geliştirme yaşam döngüsü by Mesut Günes
Software development life cycle   yazılım geliştirme yaşam döngüsüSoftware development life cycle   yazılım geliştirme yaşam döngüsü
Software development life cycle yazılım geliştirme yaşam döngüsü
Mesut Günes5.3K views
Automation - web testing with selenium by Tzirla Rozental
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
Tzirla Rozental1.2K views
Codeless Test Automation - A Webinar Presentation by Inflectra
Codeless Test Automation - A Webinar PresentationCodeless Test Automation - A Webinar Presentation
Codeless Test Automation - A Webinar Presentation
Inflectra684 views
How to Build a Platform Team by VMware Tanzu
How to Build a Platform TeamHow to Build a Platform Team
How to Build a Platform Team
VMware Tanzu878 views

Viewers also liked

Four things that are almost guaranteed to reduce the reliability of a softwa... by
Four things that are almost guaranteed to reduce the reliability of a softwa...Four things that are almost guaranteed to reduce the reliability of a softwa...
Four things that are almost guaranteed to reduce the reliability of a softwa...Ann Marie Neufelder
814 views14 slides
Revised IEEE 1633 Recommended Practices for Software Reliability by
Revised IEEE 1633 Recommended Practices for Software ReliabilityRevised IEEE 1633 Recommended Practices for Software Reliability
Revised IEEE 1633 Recommended Practices for Software ReliabilityAnn Marie Neufelder
2.9K views31 slides
MANIFESTAÇÃO AO SUBSTITUTIVO DO SENADO FEDERAL AO PROJETO DE LEI DA CÂMARA Nº... by
MANIFESTAÇÃO AO SUBSTITUTIVO DO SENADO FEDERAL AO PROJETO DE LEI DA CÂMARA Nº...MANIFESTAÇÃO AO SUBSTITUTIVO DO SENADO FEDERAL AO PROJETO DE LEI DA CÂMARA Nº...
MANIFESTAÇÃO AO SUBSTITUTIVO DO SENADO FEDERAL AO PROJETO DE LEI DA CÂMARA Nº...Brasscom
515 views6 slides
Tic by
TicTic
TicUnaiff98
93 views10 slides
Rodillos vibratorios en Obra by
Rodillos vibratorios en ObraRodillos vibratorios en Obra
Rodillos vibratorios en ObraJOHNNY JARA RAMOS
166 views24 slides
Prezi by
PreziPrezi
Prezianyalouise99
144 views18 slides

Viewers also liked(20)

Four things that are almost guaranteed to reduce the reliability of a softwa... by Ann Marie Neufelder
Four things that are almost guaranteed to reduce the reliability of a softwa...Four things that are almost guaranteed to reduce the reliability of a softwa...
Four things that are almost guaranteed to reduce the reliability of a softwa...
Revised IEEE 1633 Recommended Practices for Software Reliability by Ann Marie Neufelder
Revised IEEE 1633 Recommended Practices for Software ReliabilityRevised IEEE 1633 Recommended Practices for Software Reliability
Revised IEEE 1633 Recommended Practices for Software Reliability
Ann Marie Neufelder2.9K views
MANIFESTAÇÃO AO SUBSTITUTIVO DO SENADO FEDERAL AO PROJETO DE LEI DA CÂMARA Nº... by Brasscom
MANIFESTAÇÃO AO SUBSTITUTIVO DO SENADO FEDERAL AO PROJETO DE LEI DA CÂMARA Nº...MANIFESTAÇÃO AO SUBSTITUTIVO DO SENADO FEDERAL AO PROJETO DE LEI DA CÂMARA Nº...
MANIFESTAÇÃO AO SUBSTITUTIVO DO SENADO FEDERAL AO PROJETO DE LEI DA CÂMARA Nº...
Brasscom515 views
Mastery Journal Timeline by Laurence Ramsey by Laurence Ramsey
Mastery Journal Timeline by Laurence Ramsey Mastery Journal Timeline by Laurence Ramsey
Mastery Journal Timeline by Laurence Ramsey
Laurence Ramsey200 views
Claudio Gagliardini - Social Media: marketing o relazioni by Elena Minchenok
Claudio Gagliardini - Social Media: marketing o relazioniClaudio Gagliardini - Social Media: marketing o relazioni
Claudio Gagliardini - Social Media: marketing o relazioni
Elena Minchenok486 views
FEDOROV, A. MEDIA LITERACY EDUCATION. МOSCOW: ICO “INFORMATION FOR ALL”. ... by Alexander Fedorov
FEDOROV, A.  MEDIA  LITERACY  EDUCATION.  МOSCOW: ICO “INFORMATION FOR ALL”. ...FEDOROV, A.  MEDIA  LITERACY  EDUCATION.  МOSCOW: ICO “INFORMATION FOR ALL”. ...
FEDOROV, A. MEDIA LITERACY EDUCATION. МOSCOW: ICO “INFORMATION FOR ALL”. ...
Alexander Fedorov515 views
Minteer, 777X Fuel System Team Lead Historical Resume 170201 by David Minteer
Minteer, 777X Fuel System Team Lead Historical Resume 170201Minteer, 777X Fuel System Team Lead Historical Resume 170201
Minteer, 777X Fuel System Team Lead Historical Resume 170201
David Minteer264 views
Remodelación de París y eclecticismo by Elianebutterfly
Remodelación de París y eclecticismoRemodelación de París y eclecticismo
Remodelación de París y eclecticismo
Elianebutterfly489 views
Public Matters December 2015 by Carly Mars
Public Matters December 2015Public Matters December 2015
Public Matters December 2015
Carly Mars271 views

Similar to The Top Ten things that have been proven to effect software reliability

The Top Ten things that have been proven to effect software reliability by
The Top Ten things that have been proven to effect software reliabilityThe Top Ten things that have been proven to effect software reliability
The Top Ten things that have been proven to effect software reliabilityAnn Marie Neufelder
376 views14 slides
Software reliability engineering by
Software reliability engineeringSoftware reliability engineering
Software reliability engineeringMark Turner CRP
5.8K views113 slides
Lect2 conventional software management by
Lect2 conventional software managementLect2 conventional software management
Lect2 conventional software managementmeena466141
540 views20 slides
IEEE 1633 Recommended Practices for Reliable Software by
IEEE 1633 Recommended Practices for Reliable SoftwareIEEE 1633 Recommended Practices for Reliable Software
IEEE 1633 Recommended Practices for Reliable SoftwareAnn Marie Neufelder
58 views34 slides
Reliable software in a continuous integration/continuous deployment (CI/CD) e... by
Reliable software in a continuous integration/continuous deployment (CI/CD) e...Reliable software in a continuous integration/continuous deployment (CI/CD) e...
Reliable software in a continuous integration/continuous deployment (CI/CD) e...Ann Marie Neufelder
22 views42 slides
Unit i FUNDAMENTALS OF SOFTWARE ENGINEERING by
Unit i FUNDAMENTALS OF SOFTWARE ENGINEERINGUnit i FUNDAMENTALS OF SOFTWARE ENGINEERING
Unit i FUNDAMENTALS OF SOFTWARE ENGINEERINGSangeetha Rangarajan
393 views88 slides

Similar to The Top Ten things that have been proven to effect software reliability(20)

The Top Ten things that have been proven to effect software reliability by Ann Marie Neufelder
The Top Ten things that have been proven to effect software reliabilityThe Top Ten things that have been proven to effect software reliability
The Top Ten things that have been proven to effect software reliability
Software reliability engineering by Mark Turner CRP
Software reliability engineeringSoftware reliability engineering
Software reliability engineering
Mark Turner CRP5.8K views
Lect2 conventional software management by meena466141
Lect2 conventional software managementLect2 conventional software management
Lect2 conventional software management
meena466141540 views
IEEE 1633 Recommended Practices for Reliable Software by Ann Marie Neufelder
IEEE 1633 Recommended Practices for Reliable SoftwareIEEE 1633 Recommended Practices for Reliable Software
IEEE 1633 Recommended Practices for Reliable Software
Reliable software in a continuous integration/continuous deployment (CI/CD) e... by Ann Marie Neufelder
Reliable software in a continuous integration/continuous deployment (CI/CD) e...Reliable software in a continuous integration/continuous deployment (CI/CD) e...
Reliable software in a continuous integration/continuous deployment (CI/CD) e...
How BDD enables True CI/CD by Roger Turnau
How BDD enables True CI/CDHow BDD enables True CI/CD
How BDD enables True CI/CD
Roger Turnau190 views
How to build confidence in your release cycle by DiUS
How to build confidence in your release cycleHow to build confidence in your release cycle
How to build confidence in your release cycle
DiUS36 views
software testing and quality assurance .pdf by MUSAIDRIS15
software testing and quality assurance .pdfsoftware testing and quality assurance .pdf
software testing and quality assurance .pdf
MUSAIDRIS153 views
Rhonda Software Quality Assurance Services by Rhonda Software
Rhonda Software Quality Assurance ServicesRhonda Software Quality Assurance Services
Rhonda Software Quality Assurance Services
Rhonda Software3.7K views
Il paradigma DevOps e Continuous Delivery Automation by HP Enterprise Italia
Il paradigma DevOps e Continuous Delivery Automation Il paradigma DevOps e Continuous Delivery Automation
Il paradigma DevOps e Continuous Delivery Automation
Create code confidence for better application security by Rogue Wave Software
Create code confidence for better application security Create code confidence for better application security
Create code confidence for better application security
IBM Innovate 2013 Session: DevOps 101 by Sanjeev Sharma
IBM Innovate 2013 Session: DevOps 101IBM Innovate 2013 Session: DevOps 101
IBM Innovate 2013 Session: DevOps 101
Sanjeev Sharma14.5K views
Mike Spaulding - Building an Application Security Program by centralohioissa
Mike Spaulding - Building an Application Security ProgramMike Spaulding - Building an Application Security Program
Mike Spaulding - Building an Application Security Program
centralohioissa1.1K views
Building an AppSec Team Extended Cut by Mike Spaulding
Building an AppSec Team Extended CutBuilding an AppSec Team Extended Cut
Building an AppSec Team Extended Cut
Mike Spaulding219 views

Recently uploaded

GDSC Mikroskil Members Onboarding 2023.pdf by
GDSC Mikroskil Members Onboarding 2023.pdfGDSC Mikroskil Members Onboarding 2023.pdf
GDSC Mikroskil Members Onboarding 2023.pdfgdscmikroskil
59 views62 slides
Searching in Data Structure by
Searching in Data StructureSearching in Data Structure
Searching in Data Structureraghavbirla63
14 views8 slides
Ansari: Practical experiences with an LLM-based Islamic Assistant by
Ansari: Practical experiences with an LLM-based Islamic AssistantAnsari: Practical experiences with an LLM-based Islamic Assistant
Ansari: Practical experiences with an LLM-based Islamic AssistantM Waleed Kadous
7 views29 slides
SUMIT SQL PROJECT SUPERSTORE 1.pptx by
SUMIT SQL PROJECT SUPERSTORE 1.pptxSUMIT SQL PROJECT SUPERSTORE 1.pptx
SUMIT SQL PROJECT SUPERSTORE 1.pptxSumit Jadhav
22 views26 slides
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf by
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdfASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdfAlhamduKure
6 views11 slides
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc... by
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...csegroupvn
6 views210 slides

Recently uploaded(20)

GDSC Mikroskil Members Onboarding 2023.pdf by gdscmikroskil
GDSC Mikroskil Members Onboarding 2023.pdfGDSC Mikroskil Members Onboarding 2023.pdf
GDSC Mikroskil Members Onboarding 2023.pdf
gdscmikroskil59 views
Searching in Data Structure by raghavbirla63
Searching in Data StructureSearching in Data Structure
Searching in Data Structure
raghavbirla6314 views
Ansari: Practical experiences with an LLM-based Islamic Assistant by M Waleed Kadous
Ansari: Practical experiences with an LLM-based Islamic AssistantAnsari: Practical experiences with an LLM-based Islamic Assistant
Ansari: Practical experiences with an LLM-based Islamic Assistant
M Waleed Kadous7 views
SUMIT SQL PROJECT SUPERSTORE 1.pptx by Sumit Jadhav
SUMIT SQL PROJECT SUPERSTORE 1.pptxSUMIT SQL PROJECT SUPERSTORE 1.pptx
SUMIT SQL PROJECT SUPERSTORE 1.pptx
Sumit Jadhav 22 views
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf by AlhamduKure
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdfASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
AlhamduKure6 views
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc... by csegroupvn
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
csegroupvn6 views
Design of machine elements-UNIT 3.pptx by gopinathcreddy
Design of machine elements-UNIT 3.pptxDesign of machine elements-UNIT 3.pptx
Design of machine elements-UNIT 3.pptx
gopinathcreddy34 views
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth by Innomantra
BCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for GrowthBCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for Growth
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth
Innomantra 10 views
Web Dev Session 1.pptx by VedVekhande
Web Dev Session 1.pptxWeb Dev Session 1.pptx
Web Dev Session 1.pptx
VedVekhande13 views
_MAKRIADI-FOTEINI_diploma thesis.pptx by fotinimakriadi
_MAKRIADI-FOTEINI_diploma thesis.pptx_MAKRIADI-FOTEINI_diploma thesis.pptx
_MAKRIADI-FOTEINI_diploma thesis.pptx
fotinimakriadi10 views
Design_Discover_Develop_Campaign.pptx by ShivanshSeth6
Design_Discover_Develop_Campaign.pptxDesign_Discover_Develop_Campaign.pptx
Design_Discover_Develop_Campaign.pptx
ShivanshSeth645 views
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx by lwang78
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx
lwang78165 views
Créativité dans le design mécanique à l’aide de l’optimisation topologique by LIEGE CREATIVE
Créativité dans le design mécanique à l’aide de l’optimisation topologiqueCréativité dans le design mécanique à l’aide de l’optimisation topologique
Créativité dans le design mécanique à l’aide de l’optimisation topologique
LIEGE CREATIVE5 views

The Top Ten things that have been proven to effect software reliability

  • 1. Softrel, LLC 20 Towne Drive #130 Bluffton, SC 29910 http://www.softrel.com 321-514-4659 January 22, 2015 amneufelder@softrel.com Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 2. About Ann Marie Neufelder  Chairperson of the IEEE 1633 Recommended Practices for Software Reliability  Since 1983 has been a software engineer or manager for DoD and commercial software applications  Co-Authored first DoD Guidebook on software reliability  Developed NASAs webinar on Software FMEA and FTA  Has trained every NASA center and every major defense contractor on software reliability  Has patent pending for model to predict software defect density  Has conducted software reliability predictions for numerous military and commercial vehicles and aircraft, space systems, medical devices and equipment, semiconductors, commercial electronics. 2 Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 3. There are 3 basic things that determine the software MTTF and MTTCF  This presentation will focus on the defect and defect density reduction of defects that escape development and testing Factor Sensitivity Comments Fielded defect density/defects Cutting this in half -> doubles MTBF. Reducing defects requires elimination of development practices that aren’t effective as well as embracing those that are Effective code size Cutting effective size in half -> doubles MTBF. • COTS and reuse can have big impact • Error in size prediction has direct impact on error in reliability prediction Reliability growth– how many hours real end user operate tank per month after deployment Non-linear relationship. More of this after delivery means MTTF at end of growth period is better but MTTF upon delivery is less because more defects are found earlier. Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 4. If you ask a software engineer to rank the top 10 factors associated with unreliable software – this is what they might say… Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder. Ranking Factors Where this factor actually ranks 1 Not enough calendar time to finish 457 - because usually late projects are late because they started late and not because of insufficient time 2 Too much noise 352 3 Insufficient design tools 126 4 Agile development So far, not a single project in our DB used this completely and consistently from start to finish. 5 Existing code is too difficult to change 146 6 Number of years of experience with a particular language 400 – What matters is the industry experience 7 Our software is inherently more difficult to develop 370 – Everyone thinks this 8 Everybody has poor coding style 423 – While code with good style may be less error prone, that doesn’t mean its defect free 9 Object oriented design and code 395 – While OO code may be more cohesive, that doesn’t mean its defect free 10 If they would just leave me alone I could write great code Our data shows that the reverse is true
  • 5. If you ask a software process engineer to rank the top 10 factors associated with unreliable software – this is what they might say… Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder. Ranking Factors Where this factor actually ranks 1 Capability Maturity 417 - Organizations with low CMM can and have developed reliable software. Defect density reduction in our DB plateaued at level 3. 2 Process improvement activities 8 – The right activities tailored to the process can avoid a failed project but not necessarily result in a successful project 3 Metrics 54 – Not all metrics are relevant for reducing defects. Too many metrics or poorly timed metrics won’t reduce defects either. 4 Code reviews 366 - Because the criteria for the reviews is often missing or not relevant to reducing defects 5 Independent SQA audits 359 – Probability because the audits focus on product and often miss technique 6 Popular metrics such as complexity 430 – Fastest way tor reduce complexity is to reduce exception handling which is necessary for reliability. 7 Peer reviews #368 - Because peer reviews are often lacking a clear agenda and because peers don’t necessarily understand the requirements 8 Traceability of requirements 61 – The problem is what’s NOT in the requirements. Requirements almost never discuss negative or unexpected behavior. 9 Independent test organization 295 – Organizations with this are less motivated to do developer testing 10 High ratio of testers to software engineers 380 – Those that have this are often not doing developer testing
  • 6. This is the top 10 list based on hard facts and data 1. Avoid Big Blobs – “Code a little – Test a little”. Avoid big and long releases, avoid big teams working on same code, avoid reinvention of the wheel. Planning ahead and with daily or weekly detail. Micromanage the development progress. 2. Mandatory developer white box testing at module, class and integration level 3. Techniques that make it easier to visualize the requirements, design, code, test or defects 4. Identifying, designing, coding and testing what the software should NOT do 5. Understand the end user. Employ software engineers with DOMAIN experience. Involve customers in requirements, Prototyping, etc. 6. Not skipping requirements, design, unit test, test, change control, etc. even for small releases. 7. Defect reduction techniques – Formal product reviews, SFMEAs, root cause analysis. 8. Process improvement activities – tailored to the needs of the project 9. Maintaining version and source control, defect tracking, prioritizing changes. Avoiding undocumented changes to requirements, design or code. Verifying changes to code don’t have an unexpected impact. 10. Techniques for how to test the software better instead of longer Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 7. How the “Top Ten” list was developed  Since 1993 Ann Marie Neufelder has benchmarked 679 development factors versus actual defect data  156 factors were either employed by everyone or employed by no one in the database.  The benchmarking was conducted on the remaining 523 factors.  75 complete sets and 74 incomplete sets of actual fielded defect data  See backup slides for a summary of the projects in this database  Benchmarking results yielded  Ranked list of each factor by sensitivity to fielded defect density  A model to predict defect density before the code is even written  Refer to white paper “The Cold Hard Truth about Reliable Software, Revision 6e” Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 8. These are the actual fielded defect densities for each of the projects in the database. 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 0 10 20 30 40 50 60 Actual fielded defect density of each project in database If you can predict where your software release is with respect to those in our database, you can predict the reliability Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder. These software projects were distressed These software projects were successful
  • 9. The 523 factors and the 4 P’s and a T Factor category Number of factors in this category Examples of factors in this category Product 50 Size, complexity, OO design, whether the requirements are consistent, code that is old and fragile, etc. Product risks 12 Risks imposed by end users, government regulations, customers, product maturity, etc. People 38 Turnover, geographical location, amount of noise in work area, number of years of experience in the applicable industry, number of software people, ratio of software developers to testers, etc. Process 121 Procedures, compliance, exit criteria, standards, etc. Technique 302 The specific methods, approaches and tools that are used to develop the software. Example: Using a SFMEA to help identify the exceptions that should be designed and coded. Now let’s see which development activities have been covered. Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 10. The 523 factors by development phases/activities Activity associated with factor #Factors Scheduling and personnel assignments 32 Project execution – making sure that work gets done on time and with desired functionality 24 Software development planning 10 Requirements analysis 42 Architectural design 3 Design 32 Detailed design 22 Firmware design* 1 Graphical User Interface design* 2 Database design* 1 Network design* 1 Implementation – coding 54 Corrective action – correcting defects 11 Configuration Management (CM), source and version control 27 Unit testing – testing from a developers perspective 48 Systems testing – testing from a black box perspective 75 Regression testing – retesting after some changes have been made to the baseline 4 Defect tracking 17 Process improvement 24 Reliability engineering 18 Software Quality Assurance 25 No activity – these are related to operational profile and inherent risks 33 Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 11. The factors associated with increased defect density 1. Using short term contractors to write code that requires domain expertise and is sensitive to your company 2. Reinventing the wheel – failing to buy off the shelf when you can 3. Large projects spanning over many years with many people 4. “Throw over the wall” testing approach Now that we’ve seen what causes high defect density, let’s see what causes a failed project… Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 12. All failed projects had these things in common  They started the project late  They had more than 3 things that required a learning curve  New system/target hardware  New tools or environment  New processes  New product (version 1)  New software people  They failed to mitigate known risks early in the project What’s not on these lists is as important as what IS on these lists…. Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 13. The factors that didn’t correlate one way or the other to reduced defect density  Metrics such as complexity, depth of nesting, etc.  Interruptions to software engineers (some interruptions are good while others are not)  Having more than 40% of staff doing testing full time (usually indicates poor developer testing)  CMMi levels > 3  Coding standards that don’t have criteria that are actually related to defects  Metrics that aren’t useful for either progress reporting, scheduling or defect removal  Peer walkthrus (when the peers don’t have domain or industry experience)  Superficial test cases  Number of years of experience with a particular language Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 14. Conclusions  The benchmarking results were used to identify the factors that result in fewer or more defects  The ranked list was used to develop a model to predict defect density before the code is written  This model is available in ○ The Software Reliability Toolkit ○ The Software Reliability Toolkit Training Class ○ The Frestimate software ○ The Software Reliability Assessment services  Traditional software reliability models are used late in testing when there is little opportunity to improve the software without delaying the schedule Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 15. Backup slides Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 16. Software reliability defined  Probability of success of the software over some specified mission time  Term commonly used to describe an entire collection of software metrics.  Also defined as a function of  Inherent defects ○ Introduced during requirements translation, design, code, corrective action, integration, and interface definition with other software and hardware  Operational profile ○ Duty cycle ○ Spectrum of end users ○ Number of install sites/end users ○ Product maturity These things can be predicted before the code is written Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 17. Related Terms  Error  Related to human mistakes made while developing the software  Ex: Human forgets that b may approach 0 in algorithm c = a/b  Fault or defect  Related to the design or code  Ex: This code is implemented without exception handling “c = a/b;”  Defect rate is from developer’s perspective  Defects measured/predicted during testing or operation  Defect density = defects/normalized size  Failure  An event  Ex: During execution the conditions are so that the value of b approaches 0 and the software crashes or hangs  Failure rate is from system or end user’s perspective  KSLOC  1000 source lines of code – common measure of software size Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 18. Who’s doing software reliability predictions?  Space systems  Missiles defense systems  Naval craft  Commercial ground vehicles  Military ground vehicles  Inertial Navigation and GPS  Command and Control and Communication  Electronic Warfare  General aviation  Medical devices  Healthcare/EMR software  Major appliances  Commercial electronics  Semiconductor fabrication equipment  HVAC  Energy 18 Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 19. About the projects in this database… 29% 5% 7% 10% 1% 5% 5% 38% Defense Space Medical Commercial electronics Commercial transportation Commercial software Energy Semiconductor fabrication Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.
  • 20. The benchmarking revealed 7 percentile groups in which the project defect densities are clustered 20 •Percentile group predictions… •Pertain to a specific product release •Based on the number of risks and strengths •Can only change if or when risks or strengths change •Some risks/strengths are temporary; others can’t be changed at all •Can transition in the wrong direction on same product if •New risks/obstacles added •Strengths are abandoned •World class does not mean defect free. It simply means better than the defect density ranges in database. Fewer fielded defects 97% Failed 10% Very good 75% Fair 50% Average 25% Good More risks than strengths More strengths than risksStrengths and risks Offset each other More fielded defects 90% Poor 3% World Class Copyright © SoftRel, LLC 2011. This presentation may not be copied in part or in whole without written permission from Ann Marie Neufelder.

Editor's Notes

  1. As of this writing, there is not a universally accepted definition of software reliability. The definition shown above, however, is commonly used in industry. The definition is basically stating that software reliability is a function of how software is used and the inherent fault content of the software. The most controversial part of this definition is the unqualified use of the term “time”. We will define time later in this presentation.
  2. This chart simplifies the differences between errors, faults and failures. During this class we will be counting either faults or failures depending on what phase of the lifecycle war are measuring and what models we are using to measure reliability.