Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Definition (Hover Text)

measures ratio of the total number of defects (bugs) linked to closed stories and the size of a closed stories

Source Tools

Jira, Azure

Graph type

Line

Filters

<None>

Hover Format on KPI

Sprint Name: <<Percentage Value>>

Defects: <<Value>>

Total Size of Closed stories : <<Value>>

Fields on Overlay

  1. Sprint Name

  2. Story ID

  3. Issue Description

  4. Linked Defects to Story

  5. Size(story point/hours)

Business Logic

Calculation Formula

No. of defects tagged to all stories closed in a sprint/ Total size of stories closed in the iteration

Trend

Positive trend indication - Decrease

Maturity Levels

M1: > 90%

M2: 60% -90%

M3: 25%-60%

M4: 10-25%

M5: <10%

Instance level thresholds

Global Configurations- (Field Mapping)

Global Configurations- (Field Mapping)

Processor Fields

Whenever we update the defect mapping and issue type mapping, whether we add or remove any issue type, we must run the processor. This is necessary to show the changes in the KPI.

Defect Mapping :

image-20240704-094534.pngImage Added

 

Processor Fields

NA

KPI Specific fields

  • Issue Type Mapping

    • Issue Type which will have Linked defects eg; Story Enabler Story, Tech Story

  • WorkFlow Status Mapping

    Status consider for Issue closure eg; Closed, Done, Ready for Delivery

    Mandatory fields

     

    Project Settings

    1. Navigate to Project Settings: Start by going to the Project Settings in your application.

    2. Access the Mapping Section: Within Project Settings, find and click on the Mapping option.

    3. Mandatory Field: In the Mapping section, you’ll find the Mandatory Field. This is where you’ll configure the necessary global mapping fields.

    4. Configure the Fields:

    Defect Mapping :

    • Issue Type to identify Defect - all the issue type that signify defect

    image-20240704-094534.pngImage Added

    Issue type Mapping :

    • Issue type for subtask Defect - Any specified issue category will be treated as a subtask that is linked to a story.`

     

    image-20240704-104755.pngImage Added

    Mandatory fields

     

    How to Validate KPI

    Suggested ways of working

    Sample JQLs

    project in ("XYZ") and component =ABC and type in (Defect) and issueFunction in linkedIssuesOf("type in (Story) AND sprint in(406)")

    Benefits of KPI

    How does the KPI help

    The Defect Density KPI measures the number of defects per unit of code or product, helping teams improve product quality, reduce costs, and increase customer satisfaction by identifying areas for improvement and prioritizing testing efforts.

    ...