Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Q1: In a software project, 10 errors were introduced in the Software Requirement

ID: 3742565 • Letter: Q

Question

Q1: In a software project, 10 errors were introduced in the Software Requirements Specification document. All of those errors were amplified by a factor of 1:2 during the design phase where an additional 20 design errors were also introduced. All the errors from the design phase gets amplified 1:1.5 into code where an additional 30 errors were introduced. If no requirements and design reviews are conducted, unit testing finds 30% of all errors, integration-testing finds 30% of the remaining errors, and validation tests find 50% of the remaining errors, then how many errors will be released to the field?

Q2: In the above scenario, project manager decided to introduce requirements, design, and code reviews with 60% effectiveness in uncovering errors. How many errors will be released to the field?

Q3: Consider the scenarios in Q1 and Q2. If each of the errors released to the field costs $4800 to find and correct, and each error found in review costs $240 to find and correct, then how much money is saved by conducting reviews?

Explanation / Answer

Q1 First of all Let's calculate Total Errors

SRS: 10

After Design Phase: 10(2) + 20 = 40

During code Phase: 40(1.5) + 30 =90 (All the errors from design phase not only design errors so 40(1.5))

Total error count after unit testing = 90 - (0.3)(90) = 63

Total error count after Integration testing = 63- (0.3)(63) = 44.1 =~44

Total error count after Validation testing = 44- (0.5)(44) = 22

So 22 Errors will be released to field.

------------------------------------------------------------------------

Q2

SRS with review: 10 - 6 = 4

After Design Phase with review: (4(2) + 20)(1-0.6) = 28(0.4) = ~11

During code Phase with review: (11(1.5) + 30 )(1-0.6) = ~19

Total error count after unit testing = 19- (0.3)(19) = ~13

Total error count after Integration testing = 13- (0.3)(13) = ~9

Total error count after Validation testing = 9- (0.5)(9) = ~5

So 5 Errors will be released to field.

------------------------------------------------------------------------------
Q3
Error found in SRS review 10(0.6) =6
Error found in Design review 28(0.6) =17
Error found in Code review 47(0.6) =28

Total = 51

Total field cost find and fix of 51 errors = 51*4800 =244800
Total review cost of find and fix 51 errors = 51*240 =12240
Total money saved = 244800-12240 = 232560