DocumentCode :
2043485
Title :
Instrumenting contracts with aspect-oriented programming to increase observability and support debugging
Author :
Briand, Lionel C. ; Dzidek, W.J. ; Labiche, Yvan
Author_Institution :
Dept. of Syst. & Comput. Eng., Carleton Univ., Ottawa, Ont., Canada
fYear :
2005
fDate :
26-29 Sept. 2005
Firstpage :
687
Lastpage :
690
Abstract :
In this paper we report on how aspect-oriented programming (AOP), using AspectJ, can be employed to automatically and efficiently instrument contracts and invariants in Java. The paper focuses on the templates to instrument preconditions, postconditions, and class invariants, and the necessary instrumentation for compliance-checking to the Liskov substitution principle.
Keywords :
Java; object-oriented programming; program debugging; software libraries; AOP; AspectJ; Java; Liskov substitution principle; aspect-oriented programming; class invariants; compliance-checking; program debugging; Automatic programming; Contracts; Debugging; Instruments; Java; Laboratories; Law; Observability; Software quality; Systems engineering and theory;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance, 2005. ICSM'05. Proceedings of the 21st IEEE International Conference on
ISSN :
1063-6773
Print_ISBN :
0-7695-2368-4
Type :
conf
DOI :
10.1109/ICSM.2005.55
Filename :
1510174
Link To Document :
بازگشت