Sw Software Metrics

2,610 views

Published on

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

No Downloads
Views
Total views
2,610
On SlideShare
0
From Embeds
0
Number of Embeds
43
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Sw Software Metrics

  1. 1. Software Metrics SW
  2. 2. Software metrics/measurements benefits <ul><li>Establish/evaluate/monitor the Software QA </li></ul><ul><li>Increase effectiveness of Software Reviews and Testing </li></ul><ul><li>Provide inputs for planning and process improvements </li></ul><ul><li>Validate a metrics set </li></ul><ul><li>Improve software quality and reliability </li></ul>
  3. 3. Applicability of measures-IEEE Std. 982.2 <ul><li>Concept Requirements Design Implementation Test Release </li></ul><ul><li>1. Fault Density X X X X X X </li></ul><ul><li>2. Defect Density X X X X X X </li></ul><ul><li>3. Cumulative failure profile X X X X X X </li></ul><ul><li>4. Fault - days number X X X X X </li></ul><ul><li>5. Functional test coverage X X </li></ul><ul><li>6. Cause and effect graphing X X X X </li></ul><ul><li>7. Requirements traceability X X </li></ul><ul><li>8. Defect indices X X X X X </li></ul><ul><li>9. Error distribution(s) X X X X X </li></ul><ul><li>10. Software maturity index X X X X </li></ul><ul><li>11. Man hour/major defect X X X X X </li></ul><ul><li>12. # of conflicting requirements X </li></ul><ul><li>13. # entries/exits per module X X </li></ul>
  4. 4. <ul><li>Concept Requirements Design Implementation Test Release </li></ul><ul><li>14. Sw Sci Measures X </li></ul><ul><li>15. Graph-th complex/arch X X </li></ul><ul><li>16. Cyclomatic complex. X X </li></ul><ul><li>17. Minimal UTC det. X X </li></ul><ul><li>18. Run reliability X X </li></ul><ul><li>19. Design structure X </li></ul><ul><li>20. Mean time for Kf X X </li></ul><ul><li>21. Sw p level X X </li></ul><ul><li>22. Estimate # faults rem. X X </li></ul><ul><li>23. Req. compliance X </li></ul><ul><li>24. Test coverage X X X X </li></ul><ul><li>25. Data/info flow com. X X </li></ul><ul><li>26. Reliability gr. funct X X </li></ul>Applicability of measures-IEEE Std. 982.2
  5. 5. Applicability of measures-IEEE Std. 982.2 <ul><li>Concept Requirements Design Implementation Test Release </li></ul><ul><li>27. Residual Fault Count X X </li></ul><ul><li>28. Failure Analysis X X </li></ul><ul><li>29. Test Sufficiency X X </li></ul><ul><li>30. Mean-time-to-failure X X </li></ul><ul><li>31. Faillure Rate X X </li></ul><ul><li>32. Sw doc and source listings X X X </li></ul><ul><li>33. RELY (Required sw rel) X X X X X X </li></ul><ul><li>34. Sw release readiness X X </li></ul><ul><li>35. Completness X X X </li></ul><ul><li>36. Test accuracy X </li></ul><ul><li>37. Sys perf rely X X X X X </li></ul><ul><li>38. Indep proc rely X </li></ul><ul><li>39. Combined HW/SW op avail X X </li></ul>
  6. 6. Software measure categories <ul><li>Software product measures </li></ul><ul><ul><li>Errors, Faults, Failures </li></ul></ul><ul><ul><ul><li>count of defects (human, program, malfunctions). </li></ul></ul></ul><ul><ul><li>Mean-Time-To-Failure; Failure Rate </li></ul></ul><ul><ul><ul><li>defect occurence and time. </li></ul></ul></ul><ul><ul><li>Reliability Growth and Projection </li></ul></ul><ul><ul><ul><li>change in failure-freeness under testing and in operation. </li></ul></ul></ul><ul><ul><li>Remaining Product Faults </li></ul></ul><ul><ul><ul><li>failure-freeness in development, test or maintenance. </li></ul></ul></ul><ul><ul><li>Completeness and Consistency </li></ul></ul><ul><ul><ul><li>module integration / communication. </li></ul></ul></ul><ul><ul><li>Complexity </li></ul></ul><ul><li>Software process measures </li></ul><ul><ul><li>Management control </li></ul></ul><ul><ul><ul><li>guidance of development and maintenance. </li></ul></ul></ul><ul><ul><li>Coverage </li></ul></ul><ul><ul><ul><li>all related tasks to develop the sw. </li></ul></ul></ul><ul><ul><li>Risk; Benefit; Cost Evaluation </li></ul></ul><ul><ul><ul><li>process tradeoff cost/schedule/performance. </li></ul></ul></ul>
  7. 7. Software measure classification-IEEE Std. 982.1 <ul><li>SW PRODUCT MEASURES SW DEVELOPMENT MEASURES </li></ul><ul><li>Errors; MTTF Reliability Remaining Completeness Complexity Management Coverage RiskBenefit; </li></ul><ul><li>Faults; Failure Growth& Product & Control Cost </li></ul><ul><li>Failures; Rate Projection Faults Consistency Evaluation </li></ul><ul><li>1. Fault Density X X X X X X X X X </li></ul><ul><li>2. Defect Density X </li></ul><ul><li>3. Cumulative failure profile X </li></ul><ul><li>4. Fault - days number X X </li></ul><ul><li>5. Functional test coverage X X X </li></ul><ul><li>6. Cause and effect graphing X X </li></ul><ul><li>7. Requirements traceability X X X </li></ul><ul><li>8. Defect indices X X </li></ul><ul><li>9. Error distribution(s) X </li></ul><ul><li>10. Software maturity index X X </li></ul><ul><li>11. Man hour/major defect X X X X </li></ul><ul><li>12. # of conflicting reqs X X X </li></ul><ul><li>13. # entries/exits module X </li></ul>
  8. 8. <ul><li>SW PRODUCT MEASURES SW DEVELOPMENT MEASURES </li></ul><ul><li>Errors; MTTF Reliability Remaining Completeness Complexity Management Coverage RiskBenefit; </li></ul><ul><li>Faults; Failure Growth& Product & Control Cost </li></ul><ul><li>Failures; Rate Projection Faults Consistency Evaluation </li></ul><ul><li>14. Sw Sci Measures X X X </li></ul><ul><li>15. Graph-th complex/arch X </li></ul><ul><li>16. Cyclomatic complex. X X </li></ul><ul><li>17. Minimal UTC det. X X </li></ul><ul><li>18. Run reliability X X </li></ul><ul><li>19. Design structure X X </li></ul><ul><li>20. Mean time for Kf X X </li></ul><ul><li>21. Sw p level X </li></ul><ul><li>22. Estimate # faults rem. X </li></ul><ul><li>23. Req. compliance X X X </li></ul><ul><li>24. Test coverage X X </li></ul><ul><li>25. Data/info flow com. X </li></ul><ul><li>26. Reliability gr. funct X </li></ul>Software measure classification-IEEE Std. 982.1
  9. 9. Applicability of measures-IEEE Std. 982.2 <ul><li>SW PRODUCT MEASURES SW DEVELOPMENT MEASURES </li></ul><ul><li>Errors; MTTF Reliability Remaining Completeness Complexity Management Coverage RiskBenefit; </li></ul><ul><li>Faults; Failure Growth& Product & Control Cost </li></ul><ul><li>Failures; Rate Projection Faults Consistency Evaluation </li></ul><ul><li>27. Residual Fault Count X X </li></ul><ul><li>28. Failure Analysis X X </li></ul><ul><li>29. Test Sufficiency X X </li></ul><ul><li>30. Mean-time-to-failure X X </li></ul><ul><li>31. Faillure Rate X X </li></ul><ul><li>32. Sw doc and s. listings X X </li></ul><ul><li>33. RELY (Required sw rel) X X </li></ul><ul><li>34. Sw release readiness X </li></ul><ul><li>35. Completness X X </li></ul><ul><li>36. Test accuracy X X X </li></ul><ul><li>37. Sys perf rely X </li></ul><ul><li>38. Indep proc rely X </li></ul><ul><li>39. Combined HW/SW op avail X </li></ul>
  10. 10. Software metrics methodology - software development phases correspondence Requirements Analysis Phase. 1. Establish the software quality requirements. Design Phase. 2. Identify the software quality metrics. Development Phase. 3. Implement the software quality metrics Collect data and compute the metric values. Test Phase or later phases, depending on the specific metrics set. Later projects phases or future projects when sufficient direct quality data is available for analyzing, calibrating and validating metrics. 4. Analyze the software metrics results. 5. Validate the software quality metrics. Software Development Phase Steps of the software metrics methodology IEEE Std. 1061

×