Top Banner
1 COSC 4406 COSC 4406 Software Engineering Software Engineering Haibin Zhu, Ph.D. Haibin Zhu, Ph.D. Dept. of Computer Science and mathematics, Dept. of Computer Science and mathematics, Nipissing University, 100 College Dr., North Bay, Nipissing University, 100 College Dr., North Bay, ON P1B 8L7, Canada, ON P1B 8L7, Canada, [email protected] , , http://www.nipissingu.ca/faculty/haibinz http://www.nipissingu.ca/faculty/haibinz
45
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: L4406-19.ppt

1

COSC 4406COSC 4406

Software Software EngineeringEngineering

Haibin Zhu, Ph.D.Haibin Zhu, Ph.D.Dept. of Computer Science and mathematics, Nipissing University, Dept. of Computer Science and mathematics, Nipissing University,

100 College Dr., North Bay, ON P1B 8L7, Canada, 100 College Dr., North Bay, ON P1B 8L7, Canada, [email protected], http://www.nipissingu.ca/faculty/haibinz, http://www.nipissingu.ca/faculty/haibinz

Page 2: L4406-19.ppt

2

Lecture 18Lecture 18 Risk and Quality Risk and Quality

ManagementManagement

Page 3: L4406-19.ppt

3

Project RisksProject Risks

What can go wrong?What can go wrong?What is the likelihood?What is the likelihood?What will the damage be?What will the damage be?What can we do about it?What can we do about it?

Page 4: L4406-19.ppt

4

Reactive Risk Reactive Risk ManagementManagement

project team reacts to risks when they occurproject team reacts to risks when they occur mitigation—plan for additional resources in mitigation—plan for additional resources in

anticipation of fire fightinganticipation of fire fighting fix on failure—resource are found and applied fix on failure—resource are found and applied

when the risk strikeswhen the risk strikes crisis management—failure does not respond crisis management—failure does not respond

to applied resources and project is in jeopardyto applied resources and project is in jeopardy

Page 5: L4406-19.ppt

5

Proactive Risk Proactive Risk ManagementManagement

formal risk analysis is performedformal risk analysis is performed organization corrects the root causes of riskorganization corrects the root causes of risk

TQM concepts and statistical SQATQM concepts and statistical SQA examining risk sources that lie beyond the bounds examining risk sources that lie beyond the bounds

of the softwareof the software developing the skill to manage change developing the skill to manage change

Page 6: L4406-19.ppt

6

Seven PrinciplesSeven Principles Maintain a global perspectiveMaintain a global perspective—view software risks within the context of system and the —view software risks within the context of system and the

business problem business problem Take a forward-looking viewTake a forward-looking view—think about the risks that may arise in the future; establish —think about the risks that may arise in the future; establish

contingency plans contingency plans Encourage open communicationEncourage open communication—if someone states a potential risk, don’t discount it. —if someone states a potential risk, don’t discount it. IntegrateIntegrate—a consideration of risk must be integrated into the software process—a consideration of risk must be integrated into the software process Emphasize a continuous processEmphasize a continuous process—the team must be vigilant throughout the software process, —the team must be vigilant throughout the software process,

modifying identified risks as more information is known and adding new ones as better insight is modifying identified risks as more information is known and adding new ones as better insight is achieved.achieved.

Develop a shared product visionDevelop a shared product vision—if all stakeholders share the same vision of the software, it —if all stakeholders share the same vision of the software, it likely that better risk identification and assessment will occur.likely that better risk identification and assessment will occur.

Encourage teamworkEncourage teamwork—the talents, skills and knowledge of all stakeholder should be pooled—the talents, skills and knowledge of all stakeholder should be pooled

Page 7: L4406-19.ppt

7

RISK

Risk Management Risk Management ParadigmParadigm

controlcontrol

identifyidentify

analyzeanalyze

planplan

tracktrack

Page 8: L4406-19.ppt

8

Risk IdentificationRisk Identification Product sizeProduct size—risks associated with the overall size of the software to be —risks associated with the overall size of the software to be

built or modified.built or modified. Business impactBusiness impact—risks associated with constraints imposed by —risks associated with constraints imposed by

management or the marketplace.management or the marketplace. Customer characteristicsCustomer characteristics—risks associated with the sophistication of the —risks associated with the sophistication of the

customer and the developer's ability to communicate with the customer in customer and the developer's ability to communicate with the customer in a timely manner.a timely manner.

Process definitionProcess definition—risks associated with the degree to which the software —risks associated with the degree to which the software process has been defined and is followed by the development process has been defined and is followed by the development organization.organization.

Development environmentDevelopment environment—risks associated with the availability and —risks associated with the availability and quality of the tools to be used to build the product.quality of the tools to be used to build the product.

Technology to be builtTechnology to be built—risks associated with the complexity of the system —risks associated with the complexity of the system to be built and the "newness" of the technology that is packaged by the to be built and the "newness" of the technology that is packaged by the system.system.

Staff size and experienceStaff size and experience—risks associated with the overall technical and —risks associated with the overall technical and project experience of the software engineers who will do the work.project experience of the software engineers who will do the work.

Page 9: L4406-19.ppt

9

Assessing Project Risk-IAssessing Project Risk-I

Have top software and customer managers Have top software and customer managers formally committed to support the project?formally committed to support the project?

Are end-users enthusiastically committed to the Are end-users enthusiastically committed to the project and the system/product to be built?project and the system/product to be built?

Are requirements fully understood by the Are requirements fully understood by the software engineering team and their customers?software engineering team and their customers?

Have customers been involved fully in the Have customers been involved fully in the definition of requirements?definition of requirements?

Do end-users have realistic expectations?Do end-users have realistic expectations?

Page 10: L4406-19.ppt

10

Assessing Project Risk-IIAssessing Project Risk-II

Is project scope stable?Is project scope stable? Does the software engineering team have the Does the software engineering team have the

right mix of skills?right mix of skills? Are project requirements stable?Are project requirements stable? Does the project team have experience with the Does the project team have experience with the

technology to be implemented?technology to be implemented? Is the number of people on the project team Is the number of people on the project team

adequate to do the job?adequate to do the job? Do all customer/user constituencies agree on the

importance of the project and on the requirements for the system/product to be built?

Page 11: L4406-19.ppt

11

Risk ComponentsRisk Components

performance riskperformance risk—the degree of uncertainty that —the degree of uncertainty that the product will meet its requirements and be fit the product will meet its requirements and be fit for its intended use.for its intended use.

cost riskcost risk—the degree of uncertainty that the —the degree of uncertainty that the project budget will be maintained.project budget will be maintained.

support risksupport risk—the degree of uncertainty that the —the degree of uncertainty that the resultant software will be easy to correct, adapt, resultant software will be easy to correct, adapt, and enhance.and enhance.

schedule riskschedule risk—the degree of uncertainty that the —the degree of uncertainty that the project schedule will be maintained and that the project schedule will be maintained and that the product will be delivered on time.product will be delivered on time.

Page 12: L4406-19.ppt

12

Risk ProjectionRisk Projection

Risk projectionRisk projection, also called , also called risk estimation,risk estimation, attempts to rate each risk in two waysattempts to rate each risk in two ways the likelihood or probability that the risk is real the likelihood or probability that the risk is real the consequences of the problems associated with the the consequences of the problems associated with the

risk, should it occur. risk, should it occur. The are four risk projection steps:The are four risk projection steps:

establish a scale that reflects the perceived likelihood of a riskestablish a scale that reflects the perceived likelihood of a risk delineate the consequences of the riskdelineate the consequences of the risk estimate the impact of the risk on the project and the product,estimate the impact of the risk on the project and the product, note the overall accuracy of the risk projection so that there note the overall accuracy of the risk projection so that there

will be no misunderstandings.will be no misunderstandings.

Page 13: L4406-19.ppt

13

Building a Risk TableBuilding a Risk Table

RiskRisk ProbabilityProbability ImpactImpact RMMMRMMM

RiskRiskMitigationMitigationMonitoringMonitoring

& & ManagementManagement

Page 14: L4406-19.ppt

14

Building the Risk TableBuilding the Risk Table

Estimate the Estimate the probabilityprobability of occurrence of occurrence Estimate the Estimate the impactimpact on the project on a on the project on a

scale of 1 to 5, wherescale of 1 to 5, where 1 = low impact on project success1 = low impact on project success 5 = catastrophic impact on project success5 = catastrophic impact on project success

sort the table by probability and impactsort the table by probability and impact

Page 15: L4406-19.ppt

15

Risk Exposure (Impact)Risk Exposure (Impact)

The overall risk exposure, RE, is determined using the following relationship [HAL98]:

RE = P x C

where P is the probability of occurrence for a risk, and C is the cost to the project should the risk occur.

Page 16: L4406-19.ppt

16

Risk Exposure ExampleRisk Exposure Example

Risk identification.Risk identification. Only 70 percent of the software Only 70 percent of the software components scheduled for reuse will, in fact, be integrated into components scheduled for reuse will, in fact, be integrated into the application. The remaining functionality will have to be the application. The remaining functionality will have to be custom developed.custom developed.

Risk probability.Risk probability. 80% (likely). 80% (likely). Risk impact.Risk impact. 60 reusable software components were planned. If 60 reusable software components were planned. If

only 70 percent can be used, 18 components would have to be only 70 percent can be used, 18 components would have to be developed from scratch (in addition to other custom software that developed from scratch (in addition to other custom software that has been scheduled for development). Since the average has been scheduled for development). Since the average component is 100 LOC and local data indicate that the software component is 100 LOC and local data indicate that the software engineering cost for each LOC is $14.00, the overall cost (impact) engineering cost for each LOC is $14.00, the overall cost (impact) to develop the components would be 18 x 100 x 14 = $25,200.to develop the components would be 18 x 100 x 14 = $25,200.

Risk exposure. Risk exposure. RE = 0.80 x 25,200 ~ $20,200. RE = 0.80 x 25,200 ~ $20,200.

Page 17: L4406-19.ppt

17

mitigationmitigation—how can we avoid the risk?—how can we avoid the risk? monitoringmonitoring—what factors can we track that —what factors can we track that

will enable us to determine if the risk is will enable us to determine if the risk is becoming more or less likely?becoming more or less likely?

managementmanagement—what contingency plans do —what contingency plans do we have if the risk becomes a reality?we have if the risk becomes a reality?

Risk Mitigation, Risk Mitigation, Monitoring,Monitoring,

and Management and Management

Page 18: L4406-19.ppt

18

Risk Due to Product SizeRisk Due to Product Size

• • estimated size of the product in LOC or FP?estimated size of the product in LOC or FP?

• • estimated size of product in number of programs, estimated size of product in number of programs, files, transactions?files, transactions?

• • percentage deviation in size of product from percentage deviation in size of product from average for previous products?average for previous products?

• • size of database created or used by the product?size of database created or used by the product?

• • number of users of the product?number of users of the product?

• • number of projected changes to the requirements number of projected changes to the requirements for the product? before delivery? after delivery?for the product? before delivery? after delivery?

• • amount of reused software?amount of reused software?

Attributes that affect risk:Attributes that affect risk:

Page 19: L4406-19.ppt

19

Risk Due to Business Risk Due to Business ImpactImpact

• • affect of this product on company revenue?affect of this product on company revenue?• • visibility of this product by senior management?visibility of this product by senior management?• • reasonableness of delivery deadline?reasonableness of delivery deadline?

• • number of customers who will use this product number of customers who will use this product

• • interoperability constraintsinteroperability constraints

• • sophistication of end users?sophistication of end users?

• • amount and quality of product documentation that amount and quality of product documentation that must be produced and delivered to the customer?must be produced and delivered to the customer?

• • governmental constraintsgovernmental constraints

• • costs associated with late delivery?costs associated with late delivery?

• • costs associated with a defective product?costs associated with a defective product?

Attributes that affect risk:Attributes that affect risk:

Page 20: L4406-19.ppt

20

Risks Due to the Risks Due to the CustomerCustomer

• • Have you worked with the customer in the past?Have you worked with the customer in the past?

• • Does the customer have a solid idea of requirements?Does the customer have a solid idea of requirements?

• • Has the customer agreed to spend time with you? Has the customer agreed to spend time with you?

• • Is the customer willing to participate in reviews?Is the customer willing to participate in reviews?

• • Is the customer technically sophisticated?Is the customer technically sophisticated?

• • Is the customer willing to let your people do their Is the customer willing to let your people do their job—that is, will the customer resist looking over your job—that is, will the customer resist looking over your shoulder during technically detailed work?shoulder during technically detailed work?

• • Does the customer understand the software Does the customer understand the software engineering process?engineering process?

Questions that must be answered:Questions that must be answered:

Page 21: L4406-19.ppt

21

Risks Due to Process Risks Due to Process MaturityMaturity

• • Have you established a common process framework? Have you established a common process framework? • • Is it followed by project teams?Is it followed by project teams?• • Do you have management support for Do you have management support for software engineering software engineering • • Do you have a proactive approach to SQA? Do you have a proactive approach to SQA? • • Do you conduct formal technical reviews?Do you conduct formal technical reviews?

• • Are CASE tools used for analysis, design and Are CASE tools used for analysis, design and testing?testing?• • Are the tools integrated with one another?Are the tools integrated with one another?

• • Have document formats been established?Have document formats been established?

Questions that must be answered:Questions that must be answered:

Page 22: L4406-19.ppt

22

Technology RisksTechnology Risks

• • Is the technology new to your organization?Is the technology new to your organization?• • Are new algorithms, I/O technology required?Are new algorithms, I/O technology required? • • Is new or unproven hardware involved?Is new or unproven hardware involved?• • Does the application interface with new software?Does the application interface with new software?• • Is a specialized user interface required? Is a specialized user interface required? • • Is the application radically different?Is the application radically different?• • Are you using new software engineering methods?Are you using new software engineering methods?

• • Are you using unconventional software development Are you using unconventional software development methods, such as formal methods, AI-based approaches, methods, such as formal methods, AI-based approaches, artificial neural networks?artificial neural networks?

• • Are there significant performance constraints?Are there significant performance constraints?

• • Is there doubt the functionality requested is "do-able?"Is there doubt the functionality requested is "do-able?"

Questions that must be answered:Questions that must be answered:

Page 23: L4406-19.ppt

23

Staff/People RisksStaff/People Risks

• • Are the best people available?Are the best people available?• • Does staff have the right skills?Does staff have the right skills?• • Are enough people available?Are enough people available?• • Are staff committed for entire duration?Are staff committed for entire duration?• • Will some people work part time? Will some people work part time? • • Do staff have the right expectations?Do staff have the right expectations?• • Have staff received necessary training?Have staff received necessary training?• • Will turnover among staff be low?Will turnover among staff be low?

Questions that must be answered:Questions that must be answered:

Page 24: L4406-19.ppt

24

Project:Project: Embedded software for XYZ system Embedded software for XYZ systemRisk type:Risk type: schedule risk schedule riskPriority (1 low ... 5 critical):Priority (1 low ... 5 critical): 4 4Risk factor:Risk factor: Project completion will depend on tests which require Project completion will depend on tests which require hardware component under development. Hardware component hardware component under development. Hardware component delivery may be delayeddelivery may be delayedProbability:Probability: 60 % 60 %Impact: Impact: Project completion will be delayed for each day that Project completion will be delayed for each day that hardware is unavailable for use in software testinghardware is unavailable for use in software testingMonitoring approach:Monitoring approach: Scheduled milestone reviews with hardware groupScheduled milestone reviews with hardware groupContingency plan:Contingency plan: Modification of testing strategy to accommodate delay usingModification of testing strategy to accommodate delay using software simulationsoftware simulationEstimated resources:Estimated resources: 6 additional person months beginning 7-1-96 6 additional person months beginning 7-1-96

Recording Risk Recording Risk InformationInformation

Page 25: L4406-19.ppt

25

QualityQuality

The The American Heritage DictionaryAmerican Heritage Dictionary defines defines qualityquality as as ““a characteristic or attribute of something.” a characteristic or attribute of something.”

For software, two kinds of quality may be For software, two kinds of quality may be encountered: encountered: Quality of designQuality of design encompasses requirements, encompasses requirements,

specifications, and the design of the system. specifications, and the design of the system. Quality of conformanceQuality of conformance is an issue focused primarily on is an issue focused primarily on

implementation.implementation. user satisfaction = compliant product + good quality + user satisfaction = compliant product + good quality +

delivery within budget and scheduledelivery within budget and schedule

Page 26: L4406-19.ppt

26

Software QualitySoftware Quality

Conformance to explicitly stated functional Conformance to explicitly stated functional and performance requirements, explicitly and performance requirements, explicitly documented development standards, and documented development standards, and implicit characteristics that are expected of implicit characteristics that are expected of all professionally developed software. all professionally developed software.

Page 27: L4406-19.ppt

27

Cost of QualityCost of Quality Prevention costsPrevention costs include include

quality planningquality planning formal technical reviewsformal technical reviews test equipmenttest equipment TrainingTraining

Internal failure costsInternal failure costs include include reworkrework repairrepair failure mode analysisfailure mode analysis

External failure costsExternal failure costs are are complaint resolutioncomplaint resolution product return and replacementproduct return and replacement help line supporthelp line support warranty workwarranty work

Page 28: L4406-19.ppt

28

Software Quality Software Quality AssuranceAssurance

FormalTechnicalReviews

Test Planning& ReviewMeasurement

Analysis&

Reporting

ProcessDefinition &Standards

Page 29: L4406-19.ppt

29

Role of the SQA Group-IRole of the SQA Group-I

Prepares an SQA plan for a project. Prepares an SQA plan for a project. The plan identifiesThe plan identifies

evaluations to be performedevaluations to be performed audits and reviews to be performedaudits and reviews to be performed standards that are applicable to the projectstandards that are applicable to the project procedures for error reporting and trackingprocedures for error reporting and tracking documents to be produced by the SQA groupdocuments to be produced by the SQA group amount of feedback provided to the software project teamamount of feedback provided to the software project team

Participates in the development of the project’s software Participates in the development of the project’s software process description.process description.

The SQA group reviews the process description for compliance with The SQA group reviews the process description for compliance with organizational policy, internal software standards, externally imposed organizational policy, internal software standards, externally imposed standards (e.g., ISO-9001), and other parts of the software project standards (e.g., ISO-9001), and other parts of the software project plan.plan.

Page 30: L4406-19.ppt

30

Role of the SQA Group-IIRole of the SQA Group-II Reviews software engineering activities to verify compliance Reviews software engineering activities to verify compliance

with the defined software process.with the defined software process. identifies, documents, and tracks deviations from the process and identifies, documents, and tracks deviations from the process and

verifies that corrections have been made.verifies that corrections have been made. Audits designated software work products to verify Audits designated software work products to verify

compliance with those defined as part of the software process.compliance with those defined as part of the software process. reviews selected work products; identifies, documents, and tracks reviews selected work products; identifies, documents, and tracks

deviations; verifies that corrections have been madedeviations; verifies that corrections have been made periodically reports the results of its work to the project manager.periodically reports the results of its work to the project manager.

Ensures that deviations in software work and work products Ensures that deviations in software work and work products are documented and handled according to a documented are documented and handled according to a documented procedure.procedure.

Records any noncompliance and reports to senior Records any noncompliance and reports to senior management.management.

Noncompliance items are tracked until they are resolved.Noncompliance items are tracked until they are resolved.

Page 31: L4406-19.ppt

31

Why SQA Activities Pay Why SQA Activities Pay Off?Off?cost to findcost to find

and fix a defectand fix a defect

100100

1010

loglogscalescale

11

Req.Req.DesignDesign

codecodetesttest

systemsystemtesttest

fieldfielduseuse

0.750.75 1.001.001.501.50

3.003.00

10.0010.00

60.00-100.0060.00-100.00

Page 32: L4406-19.ppt

32

Reviews & InspectionsReviews & Inspections

... there is no particular reason... there is no particular reasonwhy your friend and colleaguewhy your friend and colleaguecannot also be your sternest critic.cannot also be your sternest critic.

Jerry WeinbergJerry Weinberg

Page 33: L4406-19.ppt

33

What Are Reviews?What Are Reviews? a meeting conducted by technical people a meeting conducted by technical people

for technical peoplefor technical people a technical assessment of a work a technical assessment of a work

product created during the software product created during the software engineering processengineering process

a software quality assurance mechanisma software quality assurance mechanism a training grounda training ground

Page 34: L4406-19.ppt

34

What Reviews Are NotWhat Reviews Are Not

A project summary or progress assessmentA project summary or progress assessment A meeting intended solely to impart informationA meeting intended solely to impart information A mechanism for political or personal reprisal!A mechanism for political or personal reprisal!

Page 35: L4406-19.ppt

35

The PlayersThe Players

reviewreviewleaderleader

producerproducer

recorderrecorder reviewerreviewer

standards bearer (SQA)standards bearer (SQA)

maintenance maintenance oracleoracle

user repuser rep

Page 36: L4406-19.ppt

36

Conducting the Conducting the ReviewReviewbe prepared—evaluate be prepared—evaluate

product before the reviewproduct before the review

review the product, not review the product, not the producerthe producer

keep your tone mild, ask keep your tone mild, ask questions instead of questions instead of making accusationsmaking accusations

stick to the review agendastick to the review agenda

raise issues, don't resolve themraise issues, don't resolve them

avoid discussions of style—stick to technical avoid discussions of style—stick to technical correctnesscorrectness

schedule reviews as project tasksschedule reviews as project tasks

record and report all review resultsrecord and report all review results

1.1.

2.2.

3.3.

4.4.

5.5.

6.6.

7.7.

8.8.

Page 37: L4406-19.ppt

37

Review Options MatrixReview Options Matrix

trained leadertrained leaderagenda establishedagenda establishedreviewers prepare in advancereviewers prepare in advanceproducer presents productproducer presents product““reader” presents productreader” presents productrecorder takes notesrecorder takes noteschecklists used to find errorschecklists used to find errorserrors categorized as founderrors categorized as foundissues list createdissues list createdteam must sign-off on resultteam must sign-off on result

IPR—informal peer review WT—WalkthroughIPR—informal peer review WT—WalkthroughIN—Inspection RRR—round robin reviewIN—Inspection RRR—round robin review

IPRIPR WTWT ININ RRRRRR

nonomaybemaybemaybemaybemaybemaybenonomaybemaybenononononononono

yesyesyesyesyesyesyesyesnonoyesyesnonononoyesyesyesyes

yesyesyesyesyesyesnonoyesyesyesyesyesyesyesyesyesyesyesyes

yesyesyesyesyesyesnonononoyesyesnonononoyesyesmaybemaybe

**

*

Page 38: L4406-19.ppt

38

Sample-Driven Reviews (SDRs)Sample-Driven Reviews (SDRs)

SDRs attempt to quantify those work products that are primary targets for SDRs attempt to quantify those work products that are primary targets for full FTRs.full FTRs.

To accomplish this …To accomplish this … Inspect a fraction aInspect a fraction aii of each software work product, of each software work product, i. i. Record the number Record the number

of faults, fof faults, fii found within a found within aii.. Develop a gross estimate of the number of faults within work product Develop a gross estimate of the number of faults within work product ii by by

multiplying fmultiplying fii by 1/a by 1/aii.. Sort the work products in descending order according to the gross Sort the work products in descending order according to the gross

estimate of the number of faults in each.estimate of the number of faults in each. Focus available review resources on those work products that have the Focus available review resources on those work products that have the

highest estimated number of faults.highest estimated number of faults.

Page 39: L4406-19.ppt

39

Metrics Derived from ReviewsMetrics Derived from Reviews

inspection time per page of documentationinspection time per page of documentationinspection time per KLOC or FPinspection time per KLOC or FP

errors uncovered per reviewer hourerrors uncovered per reviewer hourerrors uncovered per preparation hourerrors uncovered per preparation hour

errors uncovered per SE task (e.g., design)errors uncovered per SE task (e.g., design)number of minor errors (e.g., typos)number of minor errors (e.g., typos)

number of errors found during preparationnumber of errors found during preparation

number of major errorsnumber of major errors (e.g., nonconformance to req.) (e.g., nonconformance to req.)

inspection effort per KLOC or FPinspection effort per KLOC or FP

Page 40: L4406-19.ppt

40

Statistical Statistical SQASQA

ProductProduct& Process& Process

measurement

... an understanding of how to improve quality ...

Collect information on all defectsFind the causes of the defectsMove to provide fixes for the process

Page 41: L4406-19.ppt

41

Six-Sigma for Software Six-Sigma for Software EngineeringEngineering

The term “six sigma” is derived from six standard deviations—3.4 The term “six sigma” is derived from six standard deviations—3.4 instances (defects) per million occurrences—implying an instances (defects) per million occurrences—implying an extremely high quality standard. extremely high quality standard.

The Six Sigma methodology defines three core steps:The Six Sigma methodology defines three core steps: DefineDefine customer requirements and deliverables and project goals via customer requirements and deliverables and project goals via

well-defined methods of customer communicationwell-defined methods of customer communication MeasureMeasure the existing process and its output to determine current the existing process and its output to determine current

quality performance (collect defect metrics)quality performance (collect defect metrics) AnalyzeAnalyze defect metrics and determine the vital few causes.defect metrics and determine the vital few causes. ImproveImprove the process by eliminating the root causes of defects. the process by eliminating the root causes of defects. Control the process to ensure that future work does not reintroduce

the causes of defects.

Page 42: L4406-19.ppt

42

Software ReliabilitySoftware Reliability

A simple measure of reliability is A simple measure of reliability is mean-time-mean-time-between-failurebetween-failure (MTBF), where (MTBF), where

MTBF = MTTF + MTTRMTBF = MTTF + MTTR

The acronyms MTTF and MTTR are mean-time-to-failure and mean-time-to-repair, respectively.

Software availabilitySoftware availability is the probability that a is the probability that a program is operating according to requirements program is operating according to requirements at a given point in time and is defined asat a given point in time and is defined as

Availability = [MTTF/(MTTF + MTTR)] x 100%

Page 43: L4406-19.ppt

43

Software SafetySoftware Safety

Software safetySoftware safety is a software quality assurance is a software quality assurance activity that focuses on the identification and activity that focuses on the identification and assessment of potential hazards that may affect assessment of potential hazards that may affect software negatively and cause an entire system software negatively and cause an entire system to fail. to fail.

If hazards can be identified early in the software If hazards can be identified early in the software process, software design features can be process, software design features can be specified that will either eliminate or control specified that will either eliminate or control potential hazards.potential hazards.

Page 44: L4406-19.ppt

44

Mistake-ProofingMistake-Proofing

Poka-yoke (mistake-proofing) devices—mechanisms that lead to the prevention of a potential quality problem before it

occurs or the rapid detection of quality problems if they are

introduced. An effective poka-yoke device exhibits a set of An effective poka-yoke device exhibits a set of

common characteristics: common characteristics: It is simple and cheap.It is simple and cheap. If a device is too complicated or If a device is too complicated or

expensive, it will not be cost effective.expensive, it will not be cost effective. It is part of the process. It is part of the process. That is, the That is, the poka-yokepoka-yoke device is device is

integrated into an engineering activity.integrated into an engineering activity. It is located near the process task where the mistakes occur.It is located near the process task where the mistakes occur.

Thus, it provides rapid feedback and error correction.Thus, it provides rapid feedback and error correction.

Page 45: L4406-19.ppt

45

ISO 9001:2000 StandardISO 9001:2000 Standard

ISO 9001:2000 is the quality assurance standard ISO 9001:2000 is the quality assurance standard that applies to software engineering. that applies to software engineering.

The standard contains 20 requirements that must The standard contains 20 requirements that must be present for an effective quality assurance be present for an effective quality assurance system. system.

The requirements delineated by ISO 9001:2000 The requirements delineated by ISO 9001:2000 address topics such as address topics such as management responsibility, quality system, contract management responsibility, quality system, contract

review, design control, document and data control, review, design control, document and data control, product identification and traceability, process control, product identification and traceability, process control, inspection and testing, corrective and preventive inspection and testing, corrective and preventive action, control of quality records, internal quality action, control of quality records, internal quality audits, training, servicing, and statistical techniques.audits, training, servicing, and statistical techniques.