26
Presented by Deep kumar sharma M.Tech (1 sem) 06/06/22 1

Defect analysis and prevention methods

Embed Size (px)

DESCRIPTION

define about defect

Citation preview

Page 1: Defect analysis and prevention methods

Presented by

Deep kumar sharma

M.Tech (1 sem)

04/10/23 1

Page 2: Defect analysis and prevention methods

1. What is Defect Analysis2. Defect Prevention Key Process Area3. Defect Analysis Procedure4. Action Team Activities5. Summary

04/10/23 2

Page 3: Defect analysis and prevention methods

• Examination of information about problems• Intent to identify causes of defects so that they can be

prevented or detected earlier Many different approaches called defect analysis or root

cause analysis – employ many different techniques Software

04/10/23 3

Page 4: Defect analysis and prevention methods

• Error - a mistake made by a member of the software team• Defect - a section of code or documentation that must be changed

to correct a failure• Failure - a situation in which the software fails to execute as

intended• Problem Report - usually documentation that a failure has occurred

during testing or use. May also be used to document defects found in inspections and reviews.

Software Defect can be defined as “Imperfections in software development process that would cause software to fail to meet the

desired expectations”.

04/10/23 4

Page 5: Defect analysis and prevention methods

3.The Defect Causal Chain

Defect(Quality)

Error(Process)

1 + 1 = 3

Failure(Reliability)

PumpingStation

OILCO

Accident(Safety)

OILCO

CausalAnaysisCausal

AnalysisDebuggingDebugging

04/10/23 5

Page 6: Defect analysis and prevention methods

CausalAnalysis

ProcessAnalysis

ActionPlanning

ProjectSoftwareProcess

Data

Out of ControlSignal & Data

ProposedAction(s)

CorrectiveAction(s)

04/10/23 6

Page 7: Defect analysis and prevention methods

• Assigns responsibility for causal analysis of a process to the software team

• Bases analysis on a sample of problems rather than an exhaustive study of all problems

• The software team proposes actions to:

– prevent problems

– find problems earlier• Assigns responsibility for implementing proposals to a

management action team

04/10/23 7

Page 8: Defect analysis and prevention methods

CausalAnalysisMeeting

SoftwareEvaluation

SoftwareProduction

ProblemsIdentified

Software

ActionTeam

Meeting

ProblemDatabase

Sample ofProblems

RecommendedActions

Long-termActions

Problemsto Fix

Organization Process

Short-termActions

Baseline forFuture Projects

Improvement Cycle

04/10/23 8

Page 9: Defect analysis and prevention methods

04/10/23 9

Page 10: Defect analysis and prevention methods

Purpose◦ To identify the cause of defects and prevent them from

recurring KPA goals

◦ Defect prevention activities are planned◦ Common causes of defects are sought out and identified◦ Common causes of defects are prioritized and systematically

eliminated

04/10/23 10

Page 11: Defect analysis and prevention methods

Defect prevention is an important activity in any software project. In most software organizations, the project team focuses on defect

detection and rework.. It is therefore advisable to make measures that prevent the defect

from being introduced in the product right from early stages of the project

04/10/23 11

Page 12: Defect analysis and prevention methods

Phase KickoffMeeting

CausalAnalysis

Team

ActionTeam

Project Phase (ongoing work)

Defects

SuggestedActions

Process Improvements

Improved ProcessesLessons Learned

Interim ProcessImprovements

Prepared Team

ProcessAssets

DP ActivityPlanning

04/10/23 12

Page 13: Defect analysis and prevention methods

• Defines focus, composition, roles, and responsibilities of defect causal analysis team(s)

• Defines charter, composition, roles, and responsibility of action team(s)

04/10/23 13

Page 14: Defect analysis and prevention methods

04/10/23 14

Page 15: Defect analysis and prevention methods

Type of Defect

Nu

mb

er

INTERFACE

DATALOGIC

INITIALIZATION

COMPUTATION

04/10/23 15

Page 16: Defect analysis and prevention methods

Type of Defect

Rew

ork

INTERFACE

DATA

LOGIC

INITIALIZATION

COMPUTATION

04/10/23 16

Page 17: Defect analysis and prevention methods

• Simple graphical technique• Helps to sort and relate many factors• Developed as a team (facilitated)• Focus for discussion - not a definitive result• Also called an Ishikawa or Fishbone Diagram

04/10/23 17

Page 18: Defect analysis and prevention methods

• State problem (effect) - Use statement of Systematic Error - Draw main branch

• Insert headings for generic causes

– methods

– people

– tools/environment

– Input• Highlight principal/operative causes(s) - circle

04/10/23 18

Page 19: Defect analysis and prevention methods

Misuse ofComputingEnvironment

Input Methods

People Tools

Lack of

Know

ledge

Lack

of

Con

vent

ions

04/10/23 19

Page 20: Defect analysis and prevention methods

04/10/23 20

Page 21: Defect analysis and prevention methods

• Meets regularly to consider proposed actions • Must include management - needs resources• May include technical personnel • Select and prioritize proposals• Resolve conflicts and combine related proposals• Plan and schedule implementation• Allocate resources and assign responsibility • Monitor progress and effectiveness • Communicate actions and status to the teams

04/10/23 21

Page 22: Defect analysis and prevention methods

04/10/23 22

Page 23: Defect analysis and prevention methods

design code function test system test

Nu

mb

er

of

De

fec

ts

Expected Trend

1.Example of ODC Trend

FunctionAssignmentCheckingTiming

Legend

ODC(Orthogonal defect classification) defect type process signature

04/10/23 23

Page 24: Defect analysis and prevention methods

• Most organizations with well-defined processes can benefit from some application of DCA

• Maximum benefit obtained from

– Following a systematic approach

– Involving the developers/maintainers

– Pursuing a strategy derived from an objective understanding of improvement opportunities

• DCA can be applied to any process that receives feedback on its defects or failures

04/10/23 24

Page 25: Defect analysis and prevention methods

Ajit Ashok Shenvi,2009,”Defect Prevention with Orthogonal Defect Classification”, In Proc- ISEC ’09, February 23-26, 2009 Defect Prevention by SEI’s CMM Model Version 1.1., http://www.dfs.mil/technology/pal/cmm/vl/dp Linda Westfall, Defect Density Mukesh soni, 1997, Defect Prevention: Reducing cost and improving quality” published in IEEE Computer, (Volume 30, Issue 8), August 1997.

04/10/23 25

Page 26: Defect analysis and prevention methods

04/10/23 26