Your SlideShare is downloading. ×
0
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Software Inspection And Defect Management
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Software Inspection And Defect Management

8,257

Published on

Published in: Technology, Business
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
8,257
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
729
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • This presentation reports on the evaluation of Review and Software Inspection which is part of the Software Development Process for the Back-end software of the ATLAS Data Acquisition system. .
  • Transcript

    • 1. Software Inspection and Defect Management Kubendran G
    • 2. Content <ul><li>Introduction </li></ul><ul><li>Quality Management </li></ul><ul><li>Defect </li></ul><ul><ul><li>Defect management </li></ul></ul><ul><ul><li>Defect Classification </li></ul></ul><ul><ul><li>Cost to fix Defects </li></ul></ul><ul><ul><li>Defect Trends </li></ul></ul><ul><ul><li>Defect Control </li></ul></ul><ul><li>Inspection – Review </li></ul><ul><li>Software Inspection Process </li></ul><ul><li>Case study </li></ul><ul><ul><li>In Formal Inspection </li></ul></ul><ul><ul><li>Formal Inspection </li></ul></ul><ul><ul><ul><li>Roles, Responsibility and Process </li></ul></ul></ul><ul><li>Benefits of Inspections </li></ul><ul><li>Conclusions & Questioners </li></ul><ul><li>Feedback </li></ul>
    • 3. Project Efforts <ul><li>Rework is the cost of detection of defects, correction of defects, detection of regression defects and correction of regression defects </li></ul>Effort and Time + Rework Work
    • 4. Rework <ul><li>Phase – wise Distribution of Rework </li></ul><ul><ul><li>Requirements : 1% </li></ul></ul><ul><ul><li>Preliminary Design : 4% </li></ul></ul><ul><ul><li>Detailed design : 8% </li></ul></ul><ul><ul><li>Code & Unit Test : 12% </li></ul></ul><ul><ul><li>Integration & System Test : 19% </li></ul></ul><ul><ul><li>Total Rework : 44% </li></ul></ul>
    • 5. Overview of Quality Management <ul><li>Reduce Rework to reduce time and costs of Projects </li></ul><ul><li>Quality Assurance - Prevention of defects </li></ul><ul><li>Quality Control - Detect defect early </li></ul><ul><li>Testing can be static and dynamic </li></ul><ul><li>Testing- Testing application. </li></ul>
    • 6. Defect <ul><li>Defect, fault, Problem, Error, Incident, Anomaly, Variance, Failure, Inconsistency, Feature, Bug </li></ul><ul><li>The software does not do something that the product specifications says it should do </li></ul><ul><li>The software does something that the product specification says it should not do </li></ul>
    • 7. Potential Defects <ul><li>The software does something that the product specifications does not mention </li></ul><ul><li>The software does not do something the specifications does not mention but should </li></ul><ul><li>The software is difficult to understand, hard to use, is slow or – in the tester’s eyes – will be viewed by the end user as just plain not right. </li></ul>
    • 8. Defects 4 Cs <ul><li>Clear </li></ul><ul><li>Consistent </li></ul><ul><li>Correct </li></ul><ul><li>Complete </li></ul>
    • 9. Causes of Defects <ul><li>Omission : I forgot something that I knew I had to do </li></ul><ul><li>Ignorance : I forgot something, because I did not know, I had to do it </li></ul><ul><li>Commission : I did something wrong although I knew how to do it right </li></ul><ul><li>Typography : I typed something wrong though I knew how to do it right </li></ul>
    • 10. Causes of Defects <ul><li>Knowledge : I did something wrong because I did not know how to do it </li></ul><ul><li>Information : I did something wrong because I did not have the right information or information was misleading </li></ul><ul><li>External : I did nothing wrong. The problem was somewhere else and the defect was introduced by some other person </li></ul>
    • 11. Defect classification <ul><li>INSPECTION REPORT </li></ul><ul><ul><li>Major Defect </li></ul></ul><ul><ul><li>Minor Defect </li></ul></ul><ul><ul><li>Potential Defect ( Investigate, Clarify) </li></ul></ul><ul><ul><li>Q – to be sorted during third hour off-line </li></ul></ul><ul><ul><li>PROCESS ANALYSIS MEETING REPORT </li></ul></ul><ul><ul><li>Process Improvement Suggestion </li></ul></ul><ul><ul><li>Product Improvement Suggestion </li></ul></ul>
    • 12. Cost to fix Defects
    • 13. Defects Trends Defects Profile without Reviews Design Requirements Code Unit Test Integration Test System Test 20 40 100 50 20 10
    • 14. Defects Control Defects Profile with Reviews Design Requirements Code Unit Test Integration Test System Test 5 (20) 10(40) 15(100) 7 (50) 3 (20) 1(10) Reviews Reviews Reviews
    • 15. Review - Inspection <ul><li>Review: </li></ul><ul><ul><ul><li>Presentation of each SW Component to the Group in each Development Phase </li></ul></ul></ul><ul><ul><ul><li>Discussion and Coordination with other components </li></ul></ul></ul><ul><ul><ul><li>Goal: Clarification and Accept/Reject Decision </li></ul></ul></ul><ul><li>Inspection: </li></ul><ul><ul><ul><li>Quality Improvement Process to the software project </li></ul></ul></ul><ul><ul><ul><li>Goal: Defect Detection & Defect Prevention </li></ul></ul></ul>
    • 16. What is Software Inspection/ Review <ul><li>Review is a team process to identify defects in software work products early and efficiently. </li></ul><ul><li>Review is a process where a group of people scrutinize a work product with the intention of finding defects. </li></ul><ul><li>They find the defects, discuss and help eliminate the defects and the cause of defects </li></ul><ul><li>Review is a powerful, efficient and effective process for defect management </li></ul>
    • 17. Software Inspection Process Document Inspection Document Inspection Document Inspection Code Inspection Document Inspection Applying Testing Tools Code Inspection Requirements Design Test Implementation Implementation Test Quality Control Test Plan
    • 18. Inspection - Objectives <ul><li>Defect Detection </li></ul><ul><ul><li>documents are checked for cleanness and consistency against rules </li></ul></ul><ul><li>Defect Prevention </li></ul><ul><ul><li>learning from defects found </li></ul></ul><ul><ul><li>suggesting improvements </li></ul></ul>Benefits
    • 19. What is Software Inspection/ Review (cont..) <ul><li>A simple process to identify defects </li></ul><ul><li>Highly structured meeting </li></ul><ul><li>Forum for independent evaluation </li></ul><ul><li>Form of static analysis or static testing </li></ul><ul><li>Early, in-process validation technique </li></ul><ul><li>Form of quality and reliability engineering </li></ul><ul><li>Performed by software engineering </li></ul>
    • 20. Objectives of Software Inspection <ul><li>Identify as many defects as possible </li></ul><ul><li>Identify defects in early stages of life cycle </li></ul><ul><li>Identify defects before testing and fielding </li></ul><ul><li>Identify defects cheaply and inexpensively </li></ul><ul><li>Reduce development and maintenance costs </li></ul><ul><li>Shorten development cycle time </li></ul><ul><li>Quantitatively control quality and reliability </li></ul>
    • 21. InFormal and Formal Inspection <ul><li>Informal Case Study </li></ul><ul><li>Formal Case Study </li></ul>
    • 22. Formal Inspection Process Log Bugs, agreed by all . Defect Logging Meeting The rework is verified, final inspection data is collected and summarized, and the inspection is officially closed. - Baseline the doc. Follow up Action, Update the bug status. Rework Root cause analysis. Process Analysis Meeting Team members inspect the work individually looking for defects in the work product. Individual Preparation Optional phase where team members who are unfamiliar with the work product to be inspected receive orientation. Overview Meeting Identifies work product to be inspected and sets the inspection schedule. Review Planning Description Inspection Stage
    • 23. The Formal Inspection Team <ul><li>Author </li></ul><ul><ul><li>The individual that assumes the role of Author will be ultimately responsible for updating the work product after the inspection. </li></ul></ul><ul><ul><li>PM. </li></ul></ul><ul><li>Moderator </li></ul><ul><ul><li>The Moderator is responsible for ensuring that the inspection procedures are performed through out the entire inspection process. </li></ul></ul><ul><ul><li>Lead. </li></ul></ul><ul><li>Reader </li></ul><ul><ul><li>The reader is responsible for leading the Inspection Team through the inspection meeting by reading aloud small logical units, paraphrasing where appropriate. </li></ul></ul><ul><li>Recorder </li></ul><ul><ul><li>The Recorder will document all defects that arise from the inspection meeting. </li></ul></ul><ul><ul><li>This documentation will include where the defect was found. </li></ul></ul><ul><li>Inspector </li></ul><ul><ul><li>All of the Inspection Team individuals are also considered to play the Inspector role, independent of other roles assigned. </li></ul></ul><ul><li>Observers or Passive player or QA </li></ul>
    • 24. Benefits of Inspections <ul><li>IBM </li></ul><ul><ul><li>Inspections Resulted in: </li></ul></ul><ul><ul><ul><li>23% Increase in coding Productivity </li></ul></ul></ul><ul><ul><ul><li>38% Reduction in Defects detected after Unit test </li></ul></ul></ul><ul><li>AT&T </li></ul><ul><ul><li>Inspections Resulted in: </li></ul></ul><ul><ul><ul><li>14% Increase in Productivity </li></ul></ul></ul><ul><ul><ul><li>Tenfold Increase in Quality </li></ul></ul></ul><ul><ul><li>Inspections are 20 times more effective than Testing </li></ul></ul><ul><li>HP </li></ul><ul><ul><li>80% of Defects detected by Inspections were unlikely to be detected by other means </li></ul></ul>
    • 25. Conclusions Reviews prepare the ground and stabilize SDP Adaptation of the inspection method for the Environment Gain in quality and experience Appreciated by authors and peers Help for team building in a distributed environment Team Success
    • 26. Future <ul><li>Good understanding for the next phase: </li></ul><ul><ul><li>stabilize inspection process and keep style </li></ul></ul><ul><ul><li>provide a helpful framework based on experience </li></ul></ul><ul><ul><li>use it through entire development cycle </li></ul></ul><ul><ul><li>‘ lighter’ inspection - faster turnaround time </li></ul></ul><ul><ul><li>use sampling techniques </li></ul></ul><ul><ul><li>keep real logging meetings where possible </li></ul></ul><ul><ul><li>provide metrics </li></ul></ul><ul><ul><li>stay flexible and efficient </li></ul></ul>Quality http://atddoc.cern.ch/Atlas/DaqSoft/sde/Welcome.html doris.burckhart@cern.ch

    ×