Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Overview of Defect Clustering

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Defect Clustering :
When bugs are not properly distributed all over the application then some minor quantity of features causes a major quality-related issue in an application which is called defect clustering. A range of culprits gets indulged for the defect clustering purpose. For example, legacy code is prone to breaking the recent features which undergo frequent changes, and 3rd part integration also gets involved.  

There are some more key indicators of defect clustering like the notable number of test cases, but issues still become visible regularly. There is always two or more issue feature in which the bug seems to crop up very frequently.

Overview : 
Defect clustering in real shows how the distribution of defect are not across the application evenly rather it’s more on the centralized side with a limited section of the application. It’s basically a large system in which size changes, complexity, and mistakes impact the quality of the system and do affect a targeted module.    

This concept is based on a Pareto principle also known as the 80-20 rule, which its generally stated that approximately 80% of the issue occurs due to 20% of the module. So, while this process of testing, most of the testers go through the phenomena i.e., where the area of code is complex and tricky. Then this information is used by the test designers in making the risk assessment planning the tests on the other hand help in maintaining track with hotspots.

How to Minimize the defect?
It seems general but if the organization starts hunting around in its metrics in order to find major issues revolving around a particular application. If the product feature or code-based. So, there the most gain can be made if the improvement initiative focuses on specific software. Repurposing a few extra resources and muscle can a difference in the targeted technology rather than abounding everything else in the interim.

Dealing Cluster in software Testing : 
Generally, defect tends to cluster in the area of the software under test where the causes can be complexity, algorithms, or a higher number of integration in a few constrained segment of software. These defects clusters can be tricky to deal with and find.

Advantage :

  • A maximum number of defects are detected due to the tester being surrounded in the same area
  • Takes less time hence, time consumption is less in the process and it also cost-effective
  • The initial iteration of testing is useful in identifying the defect cluster. moreover, it provides leverage to the tester as they use the gathered information while testing the application.

Disadvantages :

  • At the starting stages iteration is useful but it’s not the base for the final test case further the defects needs to be ought and checked out in the software final conclusion cant be known through the initial iteration.
  • Review Tests are done very carefully to avoid further introduction or defects.So creates confusion and wastage of time and also hampers the quantity and efficiency of the software.
My Personal Notes arrow_drop_up
Last Updated : 07 Jul, 2022
Like Article
Save Article
Similar Reads