I have a Question on what's the formula to calculate defect density
for example-we have a 2 week sprint with velocity 40 story points , say we found 2 Regression Issues , Do we also account for intrasprint bugs created for each story as part of it just defects only?
I m assuming it's calculated ==no of defects/ Total Story Points ==2/40==5%