Trace Analysis for Aspect Application pdfauthor
نویسندگان
چکیده
AspectJ is a language implementing aspect oriented programming on top of Java. Usually aspect application influences not only observable behavior but changes program flow internally. To test if an aspect works as intended, we suggest trace analysis to capture these internal changes. We demonstrate how trace analysis can be used for impact analysis. It can also be used to validate that refactorings which replaced scattered code by an aspect did not change system behavior.
منابع مشابه
Interference Analysis for AspectJ pdfauthor
AspectJ is a language implementing aspect-oriented programming on top of Java. Besides modification of program flow and state using advice, AspectJ offers language elements to statically modify existing classes by changing their position in the inheritance hierarchy or introducing new members. This can lead to binding interference, i.e. the dynamic lookup of method calls not affected directly b...
متن کاملA Classification of Pointcut Language Constructs pdfauthor
Aspect-oriented systems provide pointcut languages in order to specify selection criteria for join points which in turn will be adapted. However, a closer look into current pointcut languages reveals that there are large differences among them. Consequently different aspect-oriented system permit to specify different selection criteria. This also means that it is in general hard to state whethe...
متن کاملPCDiff: Attacking the Fragile Pointcut Problem pdfauthor
Aspect oriented programming has been proposed as a way to improve modularity of software systems by allowing encapsulation of cross-cutting concerns. To do so, aspects specify where new functionality should apply using pointcuts. Unfortunately todays mainstream aspect oriented languages suffer from pointcut languages where pointcut declarations result in a high coupling between aspect and base ...
متن کاملAnalysis of AspectJ Programs pdfauthor
Program Analysis is increasingly used to enhance program understanding and find flaws in programs. In contrast to testing, it can guarantee properties of a program. Up to now, in the context of program analysis, aspect oriented programming (AOP) has mostly been used for program instrumentation (tracing), but has not been itself subject to analytical methods. This paper identifies sources of fla...
متن کاملReview of preconcentration and solid phase extraction for the determination of trace Lead
Spectrometric techniques for the analysis of trace lead have developed rapidly due to the increasing need for accurate measurements at extremely low levels of this element in diverse matrices. This review covers separation and preconcentration procedures, and considers the features of the application with several spectrometric techniques. The use of an appropriate sample handling technique is a...
متن کامل