It is given to us that:
Now,
a. Error Total
error total = minor error + major error
error total = 12 + 6
error total = 18.
Ans = 18 errors
b. Error density per UML diagram
error density = total error / total number of UML diagram
error density = 18 / 18.
error density = 1.
Ans = 1 error per total number of UML diagram
c. Error total per requirements model page
Total per requirements model page = total error / total number of model pages
Total per requirements model page = 18 / 36.
Total per requirements model page = 1 / 2.
Total per requirements model page = 0.5.
Ans = 0.5 error per requirement model page.
d. Error total If there are 5000 lines of code
Here Total line of codes is given 5000 as per question.
We know that the total number of error = 18.
Well in the question there is no mention of the ratio of the number of lines of code over the error nor the total lines of codes evaluated is given. Hence total error will be 18 only. But yes if you are taling about error density then we can calculate it as :
Defect density = total error / Total lines of code
Defect density = 18 / 5000
Defect density = 0.0036 defects per LOC
e. Total review effort in person hours.
Its given it took 4 hours for 4 people to review prior to actual review and it took 2 hours for 6 people to actually review it.
Hence
Total review effort in person hours = (4 / 4) + (2 / 6)
Total review effort in person hours = 1 + (1 / 3)
Total review effort in person hours = 1 + 0.33
Total review effort in person hours = 1.33
Ans = 1.33 person hours
Get Answers For Free
Most questions answered within 1 hours.