1 / 13

Statistical Software Quality Assurance

Statistical Software Quality Assurance. Implies Information about defects is collected and categorized An attempt is made to trace each defect to underlying cause Use of Pareto Principle to identify vital causes (80% of defects can be traced to 20% of causes/mistakes)

lundy
Download Presentation

Statistical Software Quality Assurance

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Statistical Software Quality Assurance • Implies • Information about defects is collected and categorized • An attempt is made to trace each defect to underlying cause • Use of Pareto Principle to identify vital causes (80% of defects can be traced to 20% of causes/mistakes) • Move to correct the problems that have caused the defects

  2. Software Engineering II Lecture 30 Fakhar Lodhi

  3. Recap

  4. Example • Information about defects is collected for one year and categorized as follows: • Incomplete or erroneous specifications (IES) • Misinterpretation of customer communication (MCC) • Intentional deviation from specifications (IDS) • Violation of programming standards (VPS) • Error in data representation (EDR) • Inconsistent component interface (ICI) • Error in digital logic (EDL) • Incomplete or erroneous testing (IET) • Inaccurate or incomplete documentation (IID) • Error in programming language translation or design (PLT) • Ambiguous or inconsistent human computer interface (HCI) • Miscellaneous (MIS)

  5. IES, MCC and EDR are vital errors - cause 53% of all errors

  6. IES, EDR, PLT and EDL constitute about 80% of serious errors

  7. Excel example • Now start corrective action focused on vital few • For example for EDR • Review the data representation techniques to identify the possible improvement areas • Adopt a use case tool for data modeling and perform stringent data design reviews

  8. Error Index (EI) Used to develop an overall indication of improvement in software quality • Ei – the total number of errors uncovered during the ith step in the SE process • Si – number of serious errors • Mi – number of moderate errors • Ti – number of minor errors • PSi – product size at the ith step • ws, wm, wt – weighting factors for serious, moderate, and minor errors • Recommended values – 10, 3, 1 respectively

  9. Error Index (EI) • At each step of the software process a Phase Index is computed PIi = ws(Si/Ei) + wm(Mi/Ei) + wt(Ti/Ei) • EI – cumulative effect on each PIi = ∑(i x PIi)/PSi • Weighting errors encountered in the SE processes more heavily than those encountered earlier • Used to develop an overall indication of improvement in software quality

  10. Software Reliability • Defined as: • Probability of failure free operation of a computer program in a specified environment for a specified time • E.g. program X is estimated to have a reliability of 0.96 over 8 elapsed hours. • What is meant by the term failure? • Failure is non-conformance to software requirements • Grading • From annoying to catastrophic • Time to fix from minutes to months • Ripples from fixing

  11. Software reliability • Hardware versus software reliability • Hardware reliability is predicted on failure due to wear, rather than failure due to design • Software – no wear and tear • Mean time between failure – MTBF • MTBF = MTTF + MTTR where MTTF is mean time to failure and MTTR is mean time to repair

  12. Software reliability • Arguably MTBF is far better than defects/kloc • Each error does not have the same failure rate • User is concerned with failure and not with total error count

More Related