| Fault model and test-case generation for the composition of aspects |
| Full text |
Pdf
(880 KB)
|
Source
|
ACM SIGSOFT Software Engineering Notes
archive
Volume 34 , Issue 1 (January 2009)
table of contents
SECTION: Article abstracts with full text online
table of contents
Pages 1-6
Year of Publication: 2009
ISSN:0163-5948
|
|
Authors
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 12, Downloads (12 Months): 111, Citation Count: 0
|
|
|
ABSTRACT
Aspect-Oriented Programming (AOP) is an emerging paradigm that enhances the modularity of Object-Oriented Programming (OOP) by eliminating tangling and scattering in the code. The scattering code is encapsulated within a module called an Aspect. A join point is an execution point in a program. When there is more than one aspect sharing the same join point then it becomes necessary to identify the faults that occur during their composition. A Fault model is instrumental in identifying the faults that can occur in any software system. Research works so far have focused on the composition of Aspects only from the implementation standpoint. It is necessary to identify these faults during the design process, early in the software development lifecycle. This would help in adopting better coding strategies that result in modular, reusable and maintainable code. Towards this objective, this paper proposes a candidate fault model that identifies the faults which occur during Aspect Composition from the design. Use-case scenarios and sequence diagrams are used to reflect the design of the system. The proposed fault model identifies the faults from the sequence diagrams. Test cases are generated from the design using black-box testing strategy. The proposed fault model is also applied to an illustrative case study and has been validated using test case coverage analysis.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
I. Nagy, L. Bergmans and M. Aksit "Composing Aspects at Shared Join Points" , in Proceedings of International Conference NetObjectDays, NODe 2005.
|
| |
2
|
R. T. Alexander, J. M. Bieman., and A. A. Andrews, "Towards the Systematic Testing of Aspect-Oriented Programs", Technical Report CS-04-105, Colorado State University, 2004.
|
| |
3
|
G. Kiczales, J. Lamping, A. Mendhekar, C. Maeda, C.V. Lopes, J. Loingster and J. Irwin , "Aspect-Oriented Programming". In Proceedings of ECOOP'97, LNCS 1241, pp. 220--242.
|
| |
4
|
A. Colyer, A. Clement, G. Harley and M. Webter, "Eclipse AspectJ", Pearson Education 2005, ISBN 0-32-124587-3.
|
| |
5
|
A. Charfi and M. Riveill, "Transparent and Dynamic Aspect Composition", Technical Report, Darmstadt University of Technology, Germany, 2006.
|
| |
6
|
M. Naveed, M. K. Abdullah, K. Rashid, and H. F. Ahmad, "Representing Shared Join Points with State Charts: A High Level Design Approach", Transactions on Engineering, Computing and Technology, vol 15, October 2006.
|
| |
7
|
|
| |
8
|
I. Nagy, L. Bergmans, M. Aksit, "Declarative Aspect Composition", Technical Report, http://trese.ewi.utwente.nl/publications/publications.php?action=showPublication&ub_id=34 6, University of Twente, April 2005.
|
 |
9
|
|
| |
10
|
Gregor Kiczales , Erik Hilsdale , Jim Hugunin , Mik Kersten , Jeffrey Palm , William G. Griswold, An Overview of AspectJ, Proceedings of the 15th European Conference on Object-Oriented Programming, p.327-353, June 18-22, 2001
|
| |
11
|
Aspect-Oriented Software Development Website. http://www.aosd.net/.
|
| |
12
|
A. Rashid, N. M. Ali: "A State-based Join Point Model for AOP" .Workshop on Views, Aspects and Roles -- VAR (held with ECOOP 2005).
|
| |
13
|
The AspectJ Team, "The AspectJ Programming Guide," 2001.
|
| |
14
|
P. Massicotte, L. Badri, M. Badri, "Towards a Tool Supporting Integration Testing of Aspect-Oriented Programs", in Journal of Object Technology, vol.6, no.1, January-February 2007, pp.67--89 http://www.jot.fm/issues/issue_2007_01/article1
|
|