GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing  >  Testing Basics
Go To First  |  Previous Question  |  Next Question 
 Testing Basics  |  Question 169 of 203    Print  
What is Defect Density and how can we calculate Defect Density ?

  
Total Answers and Comments: 4 Last Update: September 11, 2009     Asked by: Puneetmehta79 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 04, 2007 07:43:38   #1  
safoora Member Since: February 2007   Contribution: 1    

RE: What is Defect Density and how can we calculate De...
Defect density is one of the metric which is equal to the ratio of number of defects to the number of lines of code .
 
Is this answer useful? Yes | No
March 07, 2007 00:35:38   #2  
Sachin Umrikar        

RE: What is Defect Density and how can we calculate De...
Defect Density:


Defect Density Defect/unit size

Ex: Suppose 10 bugs are found in 1 KLOC
Therefore DD is 10/KLOC

 
Is this answer useful? Yes | No
August 11, 2009 05:01:42   #3  
preethi.gollamandala Member Since: September 2008   Contribution: 88    

RE: What is Defect Density and how can we calculate Defect Density ?
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.
Elaboration The 'defects' are:
  • confirmed and agreed upon (not just reported).
  • Dropped defects are not counted.

The period might be for one of the following:
  • for a duration (say the first month the quarter or the year).
  • for each phase of the software life cycle.
  • for the whole of the software life cycle.
The size is measured in one of the following:
  • Function Points (FP)
  • Source Lines of Code
Defect Density Formula

Number of Defects

Defect Density --------------------------------


Size

Defect Density Uses


  • For comparing the relative number of defects in various software components so that high-risk components can be identified and resources focused towards them
  • 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 useful? Yes | No
September 09, 2009 02:16:53   #4  
mathan_vel Member Since: December 2007   Contribution: 422    

RE: What is Defect Density and how can we calculate Defect Density ?
Defect density is a measure of the total known defects divided by the size of the software entity being measured.

Number of Known Defects
---------------------------------
Size

The Number of Known Defects is the count of total defects identified against a particular software entity during a particular time period. Examples include:
Defect to date since the creation of module
Defects found in a program during an inspection
Defects to date since the shipment of a release to the customer

Size is a normalizer that allows comparisons between different software entities (i.e. modules releases products).
Size is typically counted either in Lines of Code or Function Points.

Uses: Defect Density is used to compare the relative number of defects in various software components. This helps identify candidates for additional inspection or testing or for possible reengineering or replacement.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape