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

Why Equivalence Partitioning is called equivalence or what is the significance of equivalence term in ECP?

1639


Hi,Please can any one tell me about SAP Testing concepts.

1553


What icon is used in WinRunner to get an explanation of the syntax of TSL?

1571


could anyone explain application testing in sequence order i don't have any experience in that

1523


1. what is a date guidelines ?

1663






Test cases have written according to Flow of the software working or according to Screens?

1460


In our project, we use Withdrawal Indent, we are confused to use heading as "Withdrawal Indent" or "Withdraw Indent". Please suggest me which one to use ASAP, Thanks in advance

1546


What is your approach when requirements change continuously?

719


What are the basic forms of variations?

1694


Encapsulation of attributes and operations inside objects makes it easy to obtain object state information during testing. is it true.explain

1647


Am putting E-commerce project in my resume can any one please tell me about E-commerce application explaination..

2449


Hi Friends, Can anubody give me brief overview of Automation tools.. (basics of tools-summary)of following tools? 1.Qualty Center 2.Load Runner 3.Win Runner 4.Q.T.P mail me on ...rachna.huda@gmail.com

1714


What is user acceptance testing (uat)?

661


What is middle ware testing?? what are the companies using this tech?

1759


What's the difference between alpha and beta testing?

655