written 5.6 years ago by |
Calculating Static Test Points:
The number of static test points for the system is calculated as STP=FP×ΣQCsw/500
where
STP = Static test point
FP = Total function point assigned to the system
QCsw = Quality characteristic factor, wherein weights are assigned to static quality characteristics
Static quality characteristic refers to what can be tested with a checklist. QCsw is assigned the value 16 for each quality characteristic, which can be tested statically using the checklist.
Total test points (TTP)=DTP+STP
Calculating Dynamic Test Points:
The number of dynamic test points for each function in the system is calculated as DTP=FP×FDCw×QCdw
Where
DTP= Number of dynamic test points
FP= Function point assigned to function
FDCw= Weight-assigned function-dependent factors
QCdw= Quality characteristic factor, wherein weights are assigned to dynamic quality characterstic
FDCw is calculated as
FDCw=((FIw+UINw+I+C)÷20)×U
Where
FIw= Function importance rated by users
UINw= Weights given to usage intensity of the function, that is, how frequently the function is being used.
I= Weights given to the function for interfacing with other functions, that is, if there is a change in function, how many functions in the system will be affected
C= Weights given to the complexity of function, that is, how many conditions are in the algorithm of function
U= Uniformity factor
The ratings done for providing weights to each factor of FDCw can be seen in below table.
Factor/Rating | Function Importance (FI) | Function Usage Intensity (UIN) | Interfacing (I) | Complexity (C) | Uniformity Factor |
---|---|---|---|---|---|
Low | 3 | 2 | 2 | 3 | 0.6 For the function, wherein test specifications are largely reused such as in clone function or dummy function.Otherwise, it is 1 |
Normal | 6 | 4 | 4 | 6 | 0.6 For the function, wherein test specifications are largely reused such as in clone function or dummy function.Otherwise, it is 1 |
High | 12 | 12 | 8 | 12 | 0.6 For the function, wherein test specifications are largely reused such as in clone function or dummy function.Otherwise, it is 1 |
QCdw is calculated based on four dynamic quality characteristics, namely suitability, security, usability, and efficiency. First, the rating to every quality characteristic is given and then, a weight to every QC is provided. Based on the rating and weights, QCdw is calculated.
QCdw=∑(rating of QC/4)×weight factor of QC
Rating and weights are provided based on the following characteristics, are shown in below table
Characteristic/Rating | Not Important (0) | Relatively Unimportant (3) | Medium Importance (4) | Very Important (5) | Extremely Important (6) |
---|---|---|---|---|---|
Suitability | 0.75 | 0.75 | 0.75 | 0.75 | 0.75 |
Security | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 |
Usability | 0.10 | 0.10 | 0.10 | 0.10 | 0.10 |
Efficiency | 0.10 | 0.10 | 0.10 | 0.10 | 0.10 |