IConfiguration vs IOptions NET
Synchronous and Asynchronous in .NET Core
Model Binding and Validation in ASP.NET Core
ControllerBase vs Controller in ASP.NET Core
ConfigureServices and Configure methods
IHostedService interface in .NET Core
ASP.NET Core request processing
| DI Service Lifetimes | Domain-Driven Design (DDD) | |
Agile and QA Metrics Definitions and Examples |
These metrics can be used in any project based on their suitability.
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%
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
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
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
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
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
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
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
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
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
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
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
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%
Definition: Total effort spent on prevention, appraisal, and failure activities to ensure quality.
Formula: COQ = Prevention + Appraisal + Failure
COQ %: (COQ / Total Effort) × 100
Example:
Result: (255 / 400) × 100 = 63.75%
| DI Service Lifetimes | Domain-Driven Design (DDD) | |