Measure Framework for Invasive Couple in Aspect Oriented System
AOP turns up with the ability to modularize crosscutting concerns,which makes it capable of dealing with the problems of code scattering and code tangling in Object-Oriented Programming.And the ability works at the expense of introducing a novel kind of coupling between underlying programs and aspects.This kind of coupling shows certain invasiveness to the underlying programs.It destroys information encapsulation of the underlying programs and seriously affects the quality of the whole system.Most work about coupling measure did not paid enough attention on this kind of coupling.And the metrics proposed special for this kind of coupling are few.A framework for interactions between underlying programs and aspects in AO systems is presented.Based on the framework,a framework for invasiveness measure in AO systems is proposed.The framework shows the invasive impaction to the underlying programs made by aspects in different views including a single or several aspects to a single entity in underlying programs or the whole underlying programs.