What Defect Density?

Answer Posted / lakshmanaraj bg

Defect density is one of the most important factors that allow one to decide if a piece of software is ready to be released.

One of the easiest ways to judge whether a program is ready to release is to measure its defect density—the number of defects per line of code.

Defect Density is the number of confirmed defects detected in software/component during a defined period of development/operation divided by the size of the software/component.

In theory, one can find all the defects and count them, however it is impossible to find all the defects within any reasonable amount of time.

Estimating defect density can become difficult for high reliability software, since the remaining defects can be extremely hard to test.

Defect seeding will work only if the distribution of seeded defects is similar to the existing.

DEFECT DENSITY FORMULA:

Defect Density = Number of Defects
_______________________
Size

USES:

1. For comparing the relative number of defects in various software components so that high-risk components can be identified and resources focused towards them.


2. For comparing software/products so that ‘quality’ of each software/product can be quantified and resources focused towards those with low quality.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is defect cascading in software testing?

725


What is validation in software testing?

708


On login window for username and password auto populated field means what !

1251


1.what is the approach while writing test cases in your project. 2.tell some intresting scenareo in your project

1814


Can you explian $ pillar of Agile

827






What is bucket testing?

656


How do you Prepare a Defect Managemnt Policy

1626


How do you estimate white box testing?

662


what is port testing and do it comes in manual testing?

1670


how will you test a wine filled bottle along with 100 glasses

1862


Hi everyone, My name is Salil Mishra. I am having 1.7 years of experience in manual testing. But as i m 2008 passout, there are limited position for me in the companies. Please help me out in getting a good job guys..I f you find something then please mail me at salilmishra29@gmail.com

1529


What are the tasks of test closure activities in software testing?

623


what type of testing techniques are using after accept the build?

1633


What and why is api testing?

944


Hi,all i have a desktop App. which have a feature, It's a demo version if u want full version then u have to perches it. Pls give me some idea ASAP how can i break the App.

1499