teSting eStimation 181
Total Function points 5 [UFPB 1 ADD 1 CHGA]2[CHGB2DELFP]
UFPB: Function points previously counted before enhancement.
ADD: Newly added functionality which leads to new function points after
enhancements.
CHGA: Changed function points counted after enhancements.
CHGB: Changed function points before enhancements.
DELFP: Deleted function points.
(a) can you explain hoW tpa Works?
There are three main elements which determine estimates for black box
testing: size, test strategy, and productivity. Using all three elements we can
determine the estimate for black box testing for a given project. Let’s take a
look at these elements.
Size: The most important aspect of estimating is definitely the size of the
project. The size of a project is mainly defined by the number of function
points. But a function point fails or pays the least attention to the following
factors:
Complexity: Complexity defines how many conditions exist
in function points identified during a project. More conditions
means more test cases which means more testing estimates.
For instance, the following is an application which takes the
customer name from the end user. If the customer name is
greater than 20 characters then the application should give
an error. So for this case there will be one test case. But let’s
say the end user also puts one more condition that if the user
inputs any invalid character then the application should give
an error. Because there is one more extra condition in the
project the complexity has increased, which also means that
we need to test two cases. The following illustrates this figure.
n