Presentation is loading. Please wait.

Presentation is loading. Please wait.

S T A M © 2000, KPA Ltd. Software Trouble Assessment Matrix Software Trouble Assessment Matrix *This presentation is extracted from SOFTWARE PROCESS QUALITY:

Similar presentations


Presentation on theme: "S T A M © 2000, KPA Ltd. Software Trouble Assessment Matrix Software Trouble Assessment Matrix *This presentation is extracted from SOFTWARE PROCESS QUALITY:"— Presentation transcript:

1 S T A M © 2000, KPA Ltd. Software Trouble Assessment Matrix Software Trouble Assessment Matrix *This presentation is extracted from SOFTWARE PROCESS QUALITY: Management and Control by Kenett and Baker, Marcel Dekker Inc., 1998. It was first published as "Assessing Software development and Inspection Errors", Quality Progress, pp. 109-112, October 1994 with corrections in the issue of February 1995. KPA Ltd. and Tel Aviv University Assessing Software Inspection Processes with STAM* Ron S. Kenett

2 S T A M © 2000, KPA Ltd. Presentation agenda Software life cycles Inspection processes Measurement programs Assessing software inspection processes

3 S T A M © 2000, KPA Ltd. Presentation agenda Software life cycles Inspection processes Measurement programs Assessing software inspection processes

4 S T A M © 2000, KPA Ltd. Informal software life cycle Marketing Requirements Spec System Requirements Spec System Design Spec Software Requirements Spec Software Test Spec System Integration Spec System Test Spec Acceptance Test Spec Design and Construction Artifacts

5 S T A M © 2000, KPA Ltd. Design a little... Implement a little... Test a little... Web applications life cycle

6 S T A M © 2000, KPA Ltd. Requirements stage (Program Statement) Proposal stage Analysis Definition END Design stage (Draft Requirements Specification) (Requirements Specification) (Proposal) (Project Plans) Proposal and Project Planning Code stage Verification stage (Functional Description) (Design) (Code and Unit Test) (Documentation) (Technical Testing) (System Testing) Change to Requirements? Develop Proposal and Project Plans to fulfill project requirements Analyze requirements, categorize to expose incomplete areas, and prioritize by importance Gather initial requirements, clarify requirements for understanding Change Control Update all related documents, code, and tests to reflect the change Formal software life cycle

7 S T A M © 2000, KPA Ltd. Software Life Cycle Phases RequirementsAnalysis Top Level DesignDetailedDesign SystemTestsUnitTests Program- ming AcceptanceTests

8 S T A M © 2000, KPA Ltd. Presentation agenda Software life cycles Inspection processes Measurement programs Assessing software inspection processes

9 S T A M © 2000, KPA Ltd. The software development matrix Key Activities Work Products Work Product Development Practices Inspection Practices Work Product Control Practices

10 S T A M © 2000, KPA Ltd. SEI Capability Maturity Model Maturity Level Software Inspection Features Characteristics Defined Defect removal, Entry, Exit Defined processes, peer reviews Initial Depends entirely on individuals.None Repeatable Policies, procedures, experience base Writing-Task Rules, QA Policies, Inspection Procedures Managed Quantitative goals for product & process Optimum rates, quality level at exit & entry, data summary, d-base Optimizing Entire organization. focused on continuous process improvement Defect Prevention Process Improvements logging, Owners, Proc. Change Mgt. Team Based on Paulk et al, “Capability Maturity Model Version 1.1”, IEEE Software, July 1993.

11 S T A M © 2000, KPA Ltd. Presentation agenda Software life cycles Inspection processes Measurement programs Assessing software inspection processes

12 S T A M © 2000, KPA Ltd. Software Measurement Programs

13 S T A M © 2000, KPA Ltd. Measurement Program Implementation

14 S T A M © 2000, KPA Ltd. 4.5.1 Plan/Evaluate Phase 4.5.1.1 Reasons for implementation  Establish a baseline from which to determine trends  Quantify how much was delivered in terms the client understands  Help in estimating and planning projects  Compare the effectiveness and efficiency of current processes, tools, and techniques  Identify and proliferate best practices  Identify and implement changes that will result in productivity, quality, and cost improvements  Establish an ongoing program for continuous improvement  Quantitatively prove the success of improvement initiatives  Establish better communication with customers  Manage budgets for software development more effectively Measurement Program Implementation: Plan/Evaluate Phase

15 S T A M © 2000, KPA Ltd. 4.5.1 Plan/Evaluate Phase 4.5.1.2 Questions to help identify goals  How fast can we deliver reliable software to our customers? Does it satisfy their requirements?  Can we efficiently estimate the development cost and schedule? Are the estimates accurate?  What can we do to improve our systems-development life cycle and shorten the cycle time?  What is the quality of the software we deliver? Has it improved with the introduction of new tools or techniques?  How much are we spending to support existing software? Why does one system cost more than another to support?  Which systems should be re-engineered or replaced? When?  Should we buy or build new software systems?  Are we becoming more effective and efficient at software development? Why? Why not?  How can we better leverage our information technology?  Has our investment in a particular technology increased our productivity? Measurement Program Implementation: Plan/Evaluate Phase

16 S T A M © 2000, KPA Ltd. 4.5.1 Plan/Evaluate Phase 4.5.1.3 Identification of sponsors 4.5.1.4 Identification of roles and responsibilities  Who will decide what, how, and when to collect the measurement information?  Who will be responsible for collecting the measurement information?  How will the data be collected? What standards (internal or external) will be used?  At which phases will the data be collected? Where will it be stored?  Who will ensure consistency of data reporting and collection?  Who will input and maintain the measurement information?  Who will report measurement results? When?  What will be reported to each level of management?  Who will interpret and apply the measurement results?  Who is responsible for training?  Who will maintain an active interest in the measurement program to ensure full usage of the measurement information?  Who will evaluate measurement results and improve the measurement program?  Who will ensure adequate funding support? Measurement Program Implementation: Plan/Evaluate Phase

17 S T A M © 2000, KPA Ltd. 4.5.2 Analysis Phase 4.5.2.1 Analysis of audience and identification of target metrics 4.5.2.2 Definition of Software Metrics 4.5.3 Implement/Measure Phase 4.5.3.1 Organizing for Just In Time training and education processes 4.5.3.2 Reporting and publishing results 4.5.4 Improve Phase 4.5.4.1 Managing expectations 4.5.4.2 Managing with metrics Measurement Program Implementation: Analysis/Implementation/Improve Phases

18 S T A M © 2000, KPA Ltd. Source: SEI, 1994, number of organizations: 261 1997, number of organizations 606 Statistics from formal assessments “ the tip of the iceberg”

19 S T A M © 2000, KPA Ltd. Most organizations are moving towards level 2 INITIAL REPEATABLE Requirements Management Project Planning Project Tracking & Oversight Subcontract Management Quality Assurance Configuration Management Requirements Management Project Planning Project Tracking & Oversight Subcontract Management Quality Assurance Configuration Management

20 S T A M © 2000, KPA Ltd. CMM Level 2 Key Process Areas Requirements Management Software Project Planning Software Configuration Management Software Quality Assurance Software Subcontract Management Software Project Tracking and Oversight

21 S T A M © 2000, KPA Ltd. Software Development Management Dashboard “it works only for organizations above level 2” PP and PTO RM CM PP and PTO QA

22 S T A M © 2000, KPA Ltd. Presentation agenda Software life cycles Inspection processes Measurement programs Assessing software inspection processes

23 S T A M © 2000, KPA Ltd. Software Trouble Assessment Matrix When were errors detected? When were errors detected? Depends on the inspection process efficiency - i.e., how it performs When errors could have been detected? When errors could have been detected? Depends on the inspection process effectiveness - i.e., how it was designed When were errors created? When were errors created? Depends on the overall performance of the software development process

24 S T A M © 2000, KPA Ltd. Software Life Cycle Phases RequirementsAnalysis Top Level DesignDetailedDesign SystemTestsUnitTests Program- ming AcceptanceTests

25 S T A M © 2000, KPA Ltd. When were errors detected? RequirementsAnalysis Top Level DesignDetailedDesign SystemTestsUnitTests Program- ming AcceptanceTests 3 7 2 25 31 29 13

26 S T A M © 2000, KPA Ltd. When were errors detected? Life Cycle PhaseNumber of Errors Requirements Analysis3 Top Level design7 Detailed Design2 Programming25 Unit Tests31 System Tests29 Acceptance Test13 Cumulative profile = S1

27 S T A M © 2000, KPA Ltd. When errors could have been detected? Life Cycle PhaseNumber of Errors Requirements Analysis8 Top Level design14 Detailed Design10 Programming39 Unit Tests8 System Tests26 Acceptance Test5 Cumulative profile = S2

28 S T A M © 2000, KPA Ltd. When were errors created? Life Cycle PhaseNumber of Errors Requirements Analysis34 Top Level design22 Detailed Design17 Programming27 Unit Tests5 System Tests5 Acceptance Test0 Cumulative profile = S3

29 S T A M © 2000, KPA Ltd. S1, S2, S3 cumulative profiles

30 S T A M © 2000, KPA Ltd. The Software Trouble Assessment Matrix When were errors created? When were errors detected?

31 S T A M © 2000, KPA Ltd. S T A M The S oftware T rouble A ssessment M atrix When were errors created? When were errors detected?

32 S T A M © 2000, KPA Ltd. Definition of STAM Metrics Negligence ratio: ratio: indicates the amount of errors that escaped through the inspection process filters. INSPECTION EFFICIENCY Evaluation ratio: ratio: measures the delay of the inspection process in identifying errors relative to the phase in which they occurred. INSPECTION EFFECTIVENESS Prevention ratio: ratio: an index of how early errors are detected in the development life cycle relative to the total number of reported errors. DEVELOPMENT PROCESS EXECUTION

33 S T A M © 2000, KPA Ltd. Areas under cumulative profiles: S1 = 337 S2 = 427 S3 = 588 Negligence ratio: 100 x (S2 - S1)/S1 = 26.7% Evaluation ratio: 100 x (S3 - S2)/S2 = 37.7% Prevention ratio: 100 x S1/(7 x total) = 43.7% Computation of STAM Metrics

34 S T A M © 2000, KPA Ltd. 1. Errors are detected 27% later than they should have been (I.e. if the inspection processes worked perfectly) 2. The design of the inspection processes imply that errors are detected 38% into the phase following their creation. 3. Ideally all errors are requirements errors, and they are detected in the requirements phase. In this example only 47% of this ideal is materialized implying significant opportunities for improvement. Interpretation of STAM Metrics

35 S T A M © 2000, KPA Ltd. Inspection processes need to be designed in the context of a software life cycle Inspection processes need to be evaluated using quantitative metrics STAM metrics provide such an evaluation STAM metrics should be integrated in an overall measurement program Conclusions


Download ppt "S T A M © 2000, KPA Ltd. Software Trouble Assessment Matrix Software Trouble Assessment Matrix *This presentation is extracted from SOFTWARE PROCESS QUALITY:"

Similar presentations


Ads by Google