Let's begin by modeling the costs for analyzing, designing, and developing 10,000 lines of code. Let's further assume our software effort is 5,088 hours to analyze, design, and code 10,000 lines of code.
Let's also begin by estimating the cost of software testing and assume that good software testing is in place so as to be conservative. Let's assume that we started with 1,000 software defects. Let's further assume that our software testing process nabs two- thirds of our 1,000 defects or 667 software defects. Let's also assume it takes 10 hours to find each of the 667 software defects. That comes to 6,670 software testing hours.
Let's use our total life cycle cost model to determine the cost of developing 10,000 lines of code using software testing. The formula is software size multiplied by 10.51, less the test hours times nine. Our total life cycle cost for using software testing alone is 45,099.97 hours. Multiply 45,099.97 by $100, and the total life cycle cost of using software testing is $4,509,997 to develop 10,000 lines of code.
Now let's determine the total life cycle cost of developing 10,000 lines of code using the Personal Software Process SM . The formula is software size divided by 25. Our total life cycle cost for using the Personal Software Process SM is 400 hours. Multiply 400 by $100. The total life cycle cost of using the Personal Software Process SM is $40,000 to develop 10,000 lines of code. Table 9 illustrates the benefits of the Personal Software Process SM .
State | Total Life Cycle Cost |
---|---|
Before PSP SM | $4,509,997 |
After PSP SM | $40,000 |
Benefits | $4,469,997 |
Now we are ready to estimate the benefits of using the Personal Software Process SM to help produce 10,000 lines of code. Subtract $40,000 from $4,509,997, which represents total life cycle costs. The benefits of using the Personal Software Process SM to help produce 10,000 lines of code are $4,469,997.