0
  • I wonder how can we apply the defect arrival rate to discover the progress in our testing projects from developers and testers side ?
  • Is there a risk by applying such approach ?
1

There aren't any black and white rules in testing, everything is project and product dependent.

https://www.istqb.org/images/Articles/kale_The%20key%20principle%20of%20testing.pdf

"Testing is context dependent"

The decision to use metrics in a project should consider many factors, a few would be:

  1. How critical is the product
  2. Do the organization and product follow a zero bug policy
  3. Can we release the product with known bugs
  4. Team maturity
  5. Release pace (How fast a product needs to be released)

Defect arrival rate:

https://jazz.net/devops_adoption_framework/devops.core.tech.common.extend_supp-ibm/customcategories/defects_52741311.html

Defect arrival date shows how many new defects were identified during the specified unit of time. Example, the number of new bugs per sprint, or per month etc.

In most companies more than defect arrival rate, number of open bugs is considered for making release decision. Meaning how many bugs under different severity and priority are there still there to be fixed.

If company has a zero high bugs and ignore low bug policy, then the product will be released only after all high bugs are fixed.

Advantages of Defect arrival curve:

  1. It helps in deciding whether development sprint is shorter than required, meaning do we need to have a longer sprint for ensuring quality development.
  2. Do we bring more tasks or user stories to the current sprint than we could deliver, this might be affecting the quality of sprint.
  3. Do we need split user stories again to smaller user stories, and need to have a more efficient effort estimation process.
  4. Do we need to restructure our test pyramid and ensure testing is pushed to the left of the pipeline. Meaning more unit, integration and API testing.
  5. Having identified more defects (even minor) in the last sprint before release could be an indicator that there may be defect masking in the system. Meaning minor bugs may be masking more critical ones, do we need to spend more time testing it rigorously.
  6. Is there more defect spillage from unit test > integration > backend > Front end. This indicates we need to improve our testing approaches in the left of the pipeline.

Tips:

  1. All KPIs should be used for process change and release decision making, it should not be taken as a way to validate the efficiency of developer or tester.
  2. Open bugs are sometimes more efficient than defect arrival curve in agile teams but can use it to improve the agile process

This post in Linkedin by @Avinash Magdum looks interesting and could give more metrics relating to defect:

https://www.linkedin.com/pulse/software-quality-through-defect-metrics-avinash-magdum/

| improve this answer | |
  • 2
    Do you have sources for those quotes? – jonrsharpe May 30 at 7:54
  • @PDhide this is really interesting ! Do you belive it's a good metric to use ? I find that although all those advantages it has lots of negative effects I see that may be testers will try to have big number of bugs at the start of the sprint so that the risk of trivial and non coherent bugs will increase and also developers will be stressed if important defects are found at the end. What do you think about possible risks with this metric ? – Emna Ayadi May 30 at 9:32
  • 1
    @EmnaAyadi this approach makes sense as the project gains maturity , for a project that is being build from scratch and just been few Sprints would should high bugs initially . But during mid project cycle this can be highly effective to know whether we on the right track. – PDHide May 30 at 11:27
  • 1
    And develoment team feeling stressed , is when we work as different entities . When the management sees everyone has a team , Importance is on fixing the bug than blaming the dev team . This I already mentioned in the comment , like more Sprint length , more unit tests , it's all chance to improve the process . – PDHide May 30 at 11:29
  • @PDHide Thanks for making things crystal clear ! – Emna Ayadi May 30 at 12:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.