Skip to main content

Table 1 Results of evaluation study of structural-based testing approaches

From: Testing of aspect-oriented programs: difficulties and lessons learned based on theoretical and practical experience

Application and basic metrics Pairwise [14] Multi-level integration [24] Pointcut-based [16]
         Max      
  #C #A #u #u. #ad. %ad. #u. Depth #ad. %ad. #u. #ad. %ad.
     TCs TCs TCs TCs Depth TCs TCs TCs TCs TCs
1. Stack 4 2 13 5 0 0 5 4 0 0 5 0 0
2. Subj-obs 5 2 14 6 0 0 6 2 0 0 6 0 0
3. Bean 1 1 15 5 0 0 5 4 0 0 5 0 0
4. Telecom 6 3 46 22 2 9 23 3 2 9 22 1 5
5. Music 10 2 45 19 3 16 22 4 4 18 19 3 16
6. Shape 5 1 52 25 6 24 14 6 21 150 25 0 0
Average 5.2 1.8 30.8 13.7 1.8 8.2 12.5 3.8 4.5 29.5 13.7 0.7 3.5
  1. #C number of classes, #A number of aspects, #u number of units, #u.TCs number of tests for units, #ad.TC number of tests added to cover criteria, %ad.TC % of tests added to cover criteria