Previous DI Service Lifetimes Domain-Driven Design (DDD) Next

Agile and QA Metrics Definitions and Examples

Agile and QA Metrics — Definitions, Formulas, and Examples

These metrics can be used in any project based on their suitability.

Spillover Index

Definition: Measures the percentage of backlog items that were committed but not completed in a sprint.

Formula: (Committed − Delivered) × 100 / Committed

Example: Committed = 20, Delivered = 16

Result: (20 − 16) × 100 / 20 = 20%

Velocity

Definition: Indicates how many story points a team completes per sprint per team member.

Formula: Delivered story points / Team size

Example: Delivered = 64, Team size = 8

Result: 64 / 8 = 8 SP/person/sprint

Overall Productivity

Definition: Effort spent per unit of software size delivered.

Formula: Actual effort / Size

Example: Effort = 400 hours, Size = 100 SP

Result: 400 / 100 = 4.00 h/SP

Requirement Analysis Effort Density

Definition: Effort spent on requirement analysis per unit of estimated size.

Formula: Requirements Analysis Effort / Size

Example: Effort = 50 hours, Size = 100 SP

Result: 50 / 100 = 0.50 h/SP

Coding Productivity

Definition: Effort spent on coding per unit of estimated size.

Formula: Coding Effort / Size

Example: Effort = 180 hours, Size = 100 SP

Result: 180 / 100 = 1.80 h/SP

Code Review Effort Density

Definition: Effort spent on code review per unit of estimated size.

Formula: Code Review Effort / Size

Example: Effort = 40 hours, Size = 100 SP

Result: 40 / 100 = 0.40 h/SP

Code Review Defect Density

Definition: Number of defects found during code review per hour spent reviewing.

Formula: Code Review Defects / Code Review Effort

Example: Defects = 12, Effort = 40 hours

Result: 12 / 40 = 0.30 defects/hour

Code Review Rework Effort Density

Definition: Effort spent on rework due to code review per unit of estimated size.

Formula: Rework Effort / Size

Example: Effort = 15 hours, Size = 100 SP

Result: 15 / 100 = 0.15 h/SP

Unit Testing Effort Density

Definition: Effort spent on unit testing per unit of estimated size.

Formula: Unit Testing Effort / Size

Example: Effort = 60 hours, Size = 100 SP

Result: 60 / 100 = 0.60 h/SP

Test Execution Effort Density

Definition: Effort spent on executing test cases per unit of estimated size.

Formula: Test Execution Effort / Size

Example: Effort = 120 hours, Size = 100 SP

Result: 120 / 100 = 1.20 h/SP

Defect Density (During Testing)

Definition: Number of defects found during testing per hour spent executing test cases.

Formula: Defects / Test Execution Effort

Example: Defects = 24, Effort = 120 hours

Result: 24 / 120 = 0.20 defects/hour

Post-Delivery Defect Density

Definition: Number of defects found by customer after delivery per unit of estimated size.

Formula: Post-Delivery Defects / Size

Example: Defects = 5, Size = 100 SP

Result: 5 / 100 = 0.05 defects/SP

Resource Utilization

Definition: Measures how much of the allocated effort was actually used.

Formula: (Total Effort / Allocated Effort) × 100

Example: Total = 400 hours, Allocated = 450 hours

Result: (400 / 450) × 100 = 88.89%

Cost of Quality (COQ)

Definition: Total effort spent on prevention, appraisal, and failure activities to ensure quality.

Formula: COQ = Prevention + Appraisal + Failure

COQ %: (COQ / Total Effort) × 100

Example:

  • Prevention = 40 hours
  • Appraisal = 150 hours
  • Failure = 65 hours
  • Total COQ = 255 hours
  • Total Effort = 400 hours

Result: (255 / 400) × 100 = 63.75%

Back to Index
Previous DI Service Lifetimes Domain-Driven Design (DDD) Next
*