C, is the inheritance test complexity estimation for class
. Recall that we want to test pure methods and retest overridden methods but we do not test inherited methods. As an example of estimating the number of test stubs required,
assume that their exist a class called with two methods and three member objects: O1, O2, O3. Let O1 have three pure methods and one overridden method, let O2 have four pure methods and two overridden methods, and let O3 have two pure methods and no overridden methods. The following
formula determines the estimation: