Title :
Aspect-oriented modularization of assertion crosscutting objects
Author :
Ishio, Takashi ; Kamiya, Toshihiro ; Kusumoto, Shinji ; Inoue, Katsuro
Author_Institution :
Graduate Sch. of Inf. Sci. & Technol., Osaka Univ., Japan
Abstract :
Assertion checking is a powerful tool to detect software faults during debugging, testing and maintenance. Although assertion documents the behavior of one component, it is hard to document relations and interactions among several objects since such assertion statements are spread across the modules. Therefore, we propose to modularize such assertion as an aspect in order to improve software maintainability. In this paper, taking Observer pattern as an example, we point out that some assertions tend to be crosscutting, and propose a modularization of such assertion with aspect-oriented language. We show a limitation of traditional assertion and effectiveness of assertion aspect through the case study, and discuss various situations to which assertion aspects are applicable.
Keywords :
formal verification; object-oriented languages; object-oriented programming; program debugging; program testing; software fault tolerance; software maintenance; aspect-oriented language; aspect-oriented modularization; assertion statement; program debugging; software fault detection; software maintainability; software testing; Computer industry; Fault detection; Information science; Information technology; Java; Protection; Robustness; Software debugging; Software maintenance; Software tools;
Conference_Titel :
Software Engineering Conference, 2005. APSEC '05. 12th Asia-Pacific
Print_ISBN :
0-7695-2465-6
DOI :
10.1109/APSEC.2005.43