Final-Chapter 4 Defect Management-updated-RECENT
Final-Chapter 4 Defect Management-updated-RECENT
Introduction
i. Software defects are expensive.
ii. The cost of finding and correcting defects represents one of the most expensive
software development activities.
iii. While defects may be inevitable, we can minimize their number and impact on
our projects.
iv. To do this development teams need to implement a defect management process
that focuses on preventing defects, catching defects as early in the process as
possible, and minimizing the impact of defects.
v. A little investment in this process can yield significant returns.
Defect Management :
Defect Management is the process of recognizing and recording
defects, classifying them, investigating them, taking action to resolve them, and
disposing of them when resolved.
Status Wise:
i. Open
ii. Closed
iii. Deferred
iv. Cancelled
Or
Or
While reporting the bug to developer, your Bug Report should contain the
following information
a) Estimating Defects
i. Intuitively the number of maximum potential defects is equal to the number of
acceptance test cases which is 1.2 x Function Points.
b) Preventing, Discovering and Removing Defects
i. To reduce the number of defects delivered with a software project an organization
can engage in a variety of activities.
ii. While defect prevention is much more effective and efficient in reducing the
number of defects, most organization conduct defect discovery and removal.
iii. Discovering and removing defects is an expensive and inefficient process.
iv. It is much more efficient for an organization to conduct activities that prevent
defects.
i. An organization with a project of 2,500 function points and was about medium at
defect discovery and removal would have 1,650 defects remaining after all defect
removal and discovery activities.
ii. The calculation is 2,500 x 1.2 = 3,000 potential defects.
iii. The organization would be able to remove about 45% of the defects or 1,350
defects.
iv. The total potential defects (3,000) less the removed defects (1,350) equals the
remaining defects of 1,650.
e) Defect Prevention
d) State-Transition Diagrams
ii. Weaknesses
Soap opera tests have the opposite problem; they're so complex that if
something goes wrong, it may take a fair bit of troubleshooting to find
exactly where the error came from!
f) Code-Based Coverage Models
Imagine that you have a black-box recorder that writes down every single line of
code as it executes.
i. Strengths
Programmers love code coverage. It allows them to attach a number— an
actual, hard, real number, such as 75%—to the performance of their unit
tests, and they can challenge themselves to improve the score.
Meanwhile, looking at the code that isn't covered also can yield
opportunities for improvement and bugs!
ii. Weaknesses
Customer-level coverage tools are expensive, programmer-level tools that
tend to assume the team is doing automated unit testing and has a continuous-
integration server and a fair bit of discipline.
After installing the tool, most people tend to focus on statement coverage—
the least powerful of the measures.
Even decision coverage doesn't deal with situations where the decision
contains defects, or when there are other, hidden equivalence classes; say, in
the third-party library that isn't measured in the same way as your compiled
source code is.
Having code-coverage numbers can be helpful, but using them as a form of
process control can actually encourage wrong behaviours. In my experience,
it's often best to leave these measures to the programmers, to measure
optionally for personal improvement (and to find dead spots), not as a proxy
for actual quality.
g) Regression and High-Volume Test Techniques
6 MARKS
1. Describe the requirement defects and coding defects in details.
WINTER 2016
4 MARKS
1. Draw labelled diagram of defect management process. List any two
characteristics of defect management process.
2. Explain the defect template with its attributes.
3. List the different techniques to detect defects. Describe any two of them.
4. What are the different points to be noted in reporting defects?
6 MARKS
1. Describe the requirement defects and coding defects in details.
6 MARKS
1. Enlist any six attributes of defect. Describe them with suitable example.
WINTER 2017
4 MARKS
1. Explain Defect Management Process.
2. Explain defect life cycle to identify status of defect with proper labelled
diagram.
3. Which parameters are considered while writing good defect report ?
Also write contents of defect template.
4. Define the terms Error, Defect, Fault and Bug in relation with Software
testing.
5. Give the defect classification and its meaning.
6 MARKS
1. What are the points considered while estimating impact of a defect ?
Also explain techniques to find defect.
SUMMER 2018
4 MARKS
1. Explain Requirement defects and Design defects.
2. Explain Defect template.
3. What are different techniques for finding defects ? Explain in detail.
4. Give any two root causes of defects. Also give any two effects of defects.
5. Explain Defect Life Cycle with diagram.
6 MARKS
1. Describe Defect Management Process with neat & labelled diagram.
WINTER 2018
4 MARKS
2. Explain defect management process with proper diagram.
3. Explain defect Report Template with it‘s attributes.
4. What are different techniques for finding defects ? Explain any one
technique with an example.
5. What is test case ? Which parameters are to be considered while
documenting test cases ?
6. Explain defect prevention cycle with neat diagram.
6 MARKS
23 | Chapter 4 Defect Management by Vaishali Rane
1. Explain defect classification with an example.
SUMMER 2019
4 MARKS
1. Explain the process, how the bug is reported.
2. Describe defect template with its attributes.
3. Explain defect life cycle with diagram.
4. Explain the impact of equivalence partitioning in coding & testing.
8 MARKS
WINTER 2019
2 MARKS
1. Define Defect
2. State any four advantages of using tools.
3. Define Bug, Error, Fault and Failure.
4-MARKS
1. Enlist different techniques for finding defects and describe any
one technique with an example.
6-MARKS
1. Draw a diagram for defect life cycle and write example for defect
template.