Course
JMeter Tutorial for Beginners: Learn in 7 Days
JMeter Training Summary Apache Jmeter is a popular open-source performance testing tool. This...
Defect Density is the number of defects confirmed in software/module during a specific period of operation or development divided by the size of the software/module. It enables one to decide if a piece of software is ready to be released.
Defect density is counted per thousand lines of code also known as KLOC.
A formula to measure Defect Density:
Defect Density = Defect count/size of the release
Size of release can be measured in terms of a line of code (LoC).
Suppose, you have 3 modules integrated into your software product. Each module has the following number of bugs discovered-
Total bugs = 10+20+10 =40
The total line of code for each module is
Total Line of Code = 1000+1500+500 = 3000
Defect Density is calculated as:
Defect Density = 40/3000 = 0.013333 defects/loc = 13.333 defects/Kloc
However, there is no fixed standard for bug density, studies suggest that one Defect per thousand lines of code is generally considered as a sign of good project quality.
Factors that affect the defect density metrics
JMeter Training Summary Apache Jmeter is a popular open-source performance testing tool. This...
{loadposition top-ads-automation-testing-tools} Performance Testing Tools help in the process of...
What is SDLC? SDLC is a systematic process for building software that ensures the quality and...
Before we pen down more details on the type of web testing, lets quickly define Web Testing. What is...
{loadposition top-ads-automation-testing-tools} Crowdsource testing is the practice of sending out...
Exploratory testing is a type of software testing in which test cases are not created in advance,...