Skip to main content

Table 5 Target applications—study of reuse of test sets across paradigms

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

Application name

Description

Total LOC

#C

#C/#A

  

OO/AO

  

1. AbstractFactory (DP)

Creates the initial GUI that allows the user to choose a factory and generate a new GUI with the elements that the respective factory provides [67]

90/97

4

4/1

2. Boolean

Testing boolean formulas with terms AND, OR, XOR, NOT and variables [XXXCITATIONID68,XXXCITATIONID69]

301/316

12

10/2

3. Bridge (DP)

Decouple an abstraction from its implementation so that the two can vary independently [67]

76/82

6

6/1

4. Chess

Chess game containing GUI [35]

1155/945

13

13/1

5. Interpreter (DP)

This system implements an interpreter for a language of boolean expressions [67]

118/126

8

8/1

6. VendingMachine

VendingMachine consists in an application for a vending machine into which the customer inserts coins in order to get drinks [70]

209/245

9

9/1

7. Question Database

Facilitate the management, reuse and improving collection of questions of evidence prepared by teachers [71]

6447/6479

27

27/5

8. ATM-log

Manager application of the bank account [35]

496/519

12

11/1

9. ChainOfResponsability (DP)

This system implements an GUI interface based in design pattern ChainOfResponsability [67]

96/150

5

5/2

10. Flyweight (DP)

This system show on the screen a message with characters in upper or lower case according with the parameters [67]

44/61

4

4/2

11. Memento (DP)

This system records a value in a point of execution [67]

29/64

2

3/ 2

12. ShopSystem

Simplified e-commerce system [69]

360/381

10

8/8

13. Telecom

This system calculates and reports the charges and duration of phone calls (local and long distance calls) [72]

186/197

8

8/2

  1. #C number of classes, #C/#A number of classes and aspects