کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
550338 872588 2013 15 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Usage and testability of AOP: An empirical study of AspectJ
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر تعامل انسان و کامپیوتر
پیش نمایش صفحه اول مقاله
Usage and testability of AOP: An empirical study of AspectJ
چکیده انگلیسی

ContextBack in 2001, the MIT announced aspect-oriented programming as a key technology in the next 10 years. Nowadays, 10 years later, AOP is still not widely adopted.ObjectiveThe objective of this work is to understand the current status of AOP practice through the analysis of open-source project which use AspectJ.MethodFirst we analyze different dimensions of AOP usage in 38 AspectJ projects. We investigate the degree of coupling between aspects and base programs, and the usage of the pointcut description language. A second part of our study focuses on testability as an indicator of maintainability. We also compare testability metrics on Java and AspectJ implementations of the HealthWatcher aspect-oriented benchmark.ResultsThe first part of the analysis reveals that the number of aspects does not increase with the size of the base program, that most aspects are woven in every places in the base program and that only a small portion of the pointcut language is used. The second part about testability reveals that AspectJ reduces the size of modules, increases their cohesion but also increases global coupling, thus introducing a negative impact on testability.ConclusionThese observations and measures reveal a major trend: AOP is currently used in a very cautious way. This cautious usage could come from a partial failure of AspectJ to deliver all promises of AOP, in particular an increased software maintainability.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information and Software Technology - Volume 55, Issue 2, February 2013, Pages 252–266
نویسندگان
, , , ,