ACM Home Page
Please provide us with feedback. Feedback
Automated testing of pointcuts in AspectJ programs
Full text PdfPdf (108 KB)
Source Dynamic Languages Symposium archive
Companion to the 21st ACM SIGPLAN symposium on Object-oriented programming systems, languages, and applications table of contents
Portland, Oregon, USA
SESSION: OOPSLA student research competition chair's welcome table of contents
Pages: 758 - 759  
Year of Publication: 2006
ISBN:1-59593-491-X
Author
Prasanth Anbalagan  North Carolina State University, Raleigh, NC
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 40,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1176617.1176711
What is a DOI?

ABSTRACT

Aspect-Oriented Programming (AOP) is a methodology that provides new modularization of software systems by dealing explicitly with separation of concerns in software development. AspectJ, a language designed to support AOP uses abstractions like pointcuts, advice, and aspects to achieve AOP's primary functionality. Pointcuts are constructs modeled using expressions that identify events during the execution of a program called join points. It is likely that developers tend to write expressions with incorrect strength thereby selecting additional events than intended to or leaving out necessary events. This causes aspects, the set cross-cutting concerns, to fail. Our framework automatically tests pointcuts to identify their strength and determines variants of the expression with different strengths which the developer can inspect to choose an expression with the correct strength. The framework selects and ranks the list of variants based on a similarity measure. The framework eases the task for developers to inspect variants that resemble closely to the original expression.


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
M.Mortensen and R. T. Alexander. An approach for adequate testing of AspectJ programs. In Proc. 1st Workshop on Testing Aspect-Oriented Programs (WTAOP), March 2005.
 
2
Y. Yamazaki, K. Sakurai, S. Matsuura, H. Masuhara, H. Hashiura, and S. Komiya. A unit testing framework for aspects without weaving. In Proc. 1st Workshop on Testing Aspect-Oriented Programs (WTAOP), March 2005.