Skip to main content

Table 8 Results of test adaptation effort measurement—group A and group B

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

Application Name

Total

%.

Churn LOC TC

 

Test requirements

 

LOC

size

ADD

%ADD

MOD

%MOD

REM

%REM

Equiv.

Bound.

Total

 

TC

diff.

      

classes

values

TC

Group A: OO - OA

 

1. AbstractFactoryOO

20

       

4

1

4

AbstractFactoryOA

20

0

0

0

0

0

0

0

   

2. BooleanOO

29

       

7

3

7

BooleanOA

37

+ 27.58

8

27.58

1

3.44

0

0

   

3. BridgeOO

76

       

16

2

16

BridgeOA

76

0

0

0

0

0

0

0

   

4. ChessOO

281

       

28

13

39

ChessOA

302

+ 7.47

21

7.47

8

2.84

0

0

   

5. InterpreterOO

47

       

48

2

48

InterpreterOA

47

0

0

0

0

0

0

0

   

6. VendingMachineOO

41

       

9

10

10

VendingMachineOA

43

+ 4.87

2

4.87

5

12.19

0

0

   

7. QuestionDatabaseOO

47

       

5

3

8

QuestionDatabaseOA

47

0

0

0

6

12.76

0

0

   

Average

 

+ 5.70

 

5.70

 

4.46

 

0

   

Group B: OA - OO

 

8. ATM-logOA

111

       

9

5

15

ATM-logOO

111

0

0

0

4

3.6

0

0

   

9. ChainOfResponsabilityOA

108

       

6

0

6

ChainOfResponsabilityOO

96

−11.11

0

0

18

16.66

12

11.11

   

10. FlyweightOA

36

       

4

4

4

FlyweightOO

36

0

2

5.55

4

11.11

2

5.55

   

11. MementoOA

31

       

2

2

3

MementoOO

31

0

0

0

8

25.8

0

0

   

12. ShopSystemOA

256

       

22

35

30

ShopSystemOO

256

0

0

0

0

0

0

0

   

13. TelecomOA

257

       

12

16

23

TelecomOO

244

−5.05

0

0

15

5.83

13

5.05

   

7. QuestionDatabaseOA

50

       

5

5

6

QuestionDatabaseOO

54

+ 8

4

8

2

4

0

0

   

Average

 

−1.16

 

1.93

 

9.57

 

3.10