Dynamic Coupling Measurement for Aspect-Oriented Software

Author
YangZuo
Advisor
ShenBeiJun , ZhaoJianJun
School
Shanghai Jiaotong University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
99
Citations
2

Request the full text

Abstract

Aspect-oriented programming (AOP) is a new technique that packages the behavior which impacts multiple classes into a reusable module. It eliminates the code tangling and scattering caused by object-oriented programming (OOP). The code is more readable and easier to maintain. With the gradual perfection of AOP, coupling measurement for aspect-oriented (AO) software could help to accurately locate the design defects resulting from the over-high coupling of modules. Coupling is an internal software attribute that can be used to indicate the strength of association established by a connection from one module to another. Low coupling is a main tenet in the measurement of high-quality modular software. A common way to define and measure coupling for AO software is through structural properties and static code analysis. However, because of dynamic binding and the common presence of unused aspect code, the resulting coupling measures are imprecise as they do not perfectly reflect the actual coupling taking place among aspects and/or classes at runtime, which brings opportunities and challenges to the AOP dynamic coupling measurement.How coupling can be defined and precisely measured through dynamic analysis of AO systems written in AspectJ based on the analogous theories of OOP are described in this paper. Firstly, a coupling framework for AO systems is specially designed to dynamically count the dependencies between aspects and classes in the systems. Secondly, based on this framework, a coupling measure suite for dynamic assessing the coupling in AO software is proposed. The mathematical properties of these measures are also discussed to show measures satisfy the properties that a good coupling measure should have. Lastly, a dynamic coupling metrics collection tool for AO programs, ADCMT (AOP Dynamic Coupling Measurement Tool), has been designed and implemented in this paper. The detailed solution of dynamic coupling measurement for AO software in this paper is proposed for the first time. With good usability and extensibility, ADCMT is the first tool dealing with dynamic coupling analysis for aspect-oriented programs.

Table of contents

Abstract 2-4 ABSTRACT 4-10 first chapter 10-19 1.1 Background 10-13 < br /> 1.2 significance 13-14 1.3 research status 14-16 1.4 the main thesis work 16-18 1.5 the paper is organized 18-19 Chapter related technologies 19-27 2.1 program Analysis 19-20 2.2 AOP Overview 20-22 2.2.1 AOP a few basic concepts 20-21 2.2.2 AOP implementation principle 21-22 2.3 support for AOP framework and language 22-24 2.3.1 AspectWerkz 22 2.3.2 JBoss AOP 22-23 2.3.3 Spring 23 2.3.4 Nanning 23 2.3.5 AspectJ 23-24 2.4 ASPECTJ 24-26 2.4. 1 AspectJ weaving in 24 2.4.2 AspectJ in the crosscut 24-25 2.4.3 AspectJ crosscutting element in 25-26 2.5 Chapter Summary 26-27 Chapter dynamic coupling aspect-oriented software metrics framework 27-36 3.1 granularity 27-28 < br /> 3.1.1 metrics domain 27 3.1.2 calculation Contact 27-28 3.2 relationship 28-34 3.2. a connection point on coupling 28-33 3.2.2 call-based coupling 33-34 3.3 impact trajectory 34-35 3.3.1 output coupling 34 3.3.2 input coupling 34-35 3.4 Summary 35-36 Chapter aspect-oriented software dynamic coupling metrics 36-48 4.1 jargon definitions 36-39 4.1.1 collection 36-38 4.1.2 relations 38-39 4.2 metric 39-45 4.2.1 dynamic coupling metrics categories 39-41 4.2.2 dynamic coupling metrics 41-45 4.3 dynamic coupling metrics mathematical properties 45-46 4.3.1 nonnegative 45 4.3.2 null 45 4.3.3 monotonic 45-46 4.3.4 merge aspects affecting 46 4.3.5 non-related aspects into 46 4.4 Summary 46-48 Chapter dynamic coupling aspect-oriented software metrics tool design and implementation 48-71 5.1 ADCMT overall design tools 48-52 5.1.1 ADCMT tools process 48-49 5.1.2 ADCMT general framework tool designed 49-52 5.2 ADCMT tools to achieve the basic method 52-54 5.3 ADCMT various subsystems of the design and implementation of 54-63 5.3.1 AOP process Cartridge subsystem 54-60 5.3.2 monitoring information collection subsystem 60-61 5.3.3 metrics analysis subsystem 61-62 5.3.4 interface representations subsystem 62-63 5.4 experiments and conclusions 63-70 5.4.1 experimental Design 63-64 5.4.2 experimental sample program and experimental evaluation of results 64-70 5.5 Chapter Summary 70-71 Chapter VI Conclusion 71-73 6.1 summarizes the main conclusions and working 71-72 6.2 research Prospects 72-73 References 73-77 Appendix 77-81 Acknowledgements 81-82 master's degree papers published during 82-84

Related dissertations

  1. JAAS security aspect-oriented design and implementation
  2. Aspect-oriented software technology based security framework for research
    XiongJunFeng ·Chongqing University ·2004 ·Master's thesis
  3. Study on Optimization for Models of Pro-poor Tourism in Enshi Autonomous Prefecture
    LiXiaoQin ·China University of Geosciences ·2013 ·Master's thesis
  4. Research on the Coupling Problem between Corporate Social Responsibility Strategy and Financial Strategy Based on the Symbiosis Theory
  5. The Relationship Between Corporate Strategy and Business Model From an Coupled Perspective
    LiHua ·Beijing Jiaotong University ·2014 ·Master's thesis
  6. Research on the Coupled Development Coordination Mechanism between High-Tech Service Industry and Manufacturing Industry
    ShiYiMing ·Anhui University of Engineering ·2013 ·Master's thesis
  7. The rapid city area of man land system evolution of the spatiotemporal coupling ring Bohai city group as an example
    ZhengYuanWen ·Shandong Normal University ·2014 ·Master's thesis
  8. Global Value Chain Perspective Upgrading of Industrial Clusters in Liaoning Province
    ChenChuan ·Liaoning University of Technology ·2014 ·Master's thesis
  9. Innovation Research of Urban Recycling Economic System and Its Operating Mechanism in Shandong Peninsula
    GuXingGuo ·Shandong Normal University ·2014 ·Master's thesis
  10. Study on Automatic Leveling Control System of Vehicle Platform Based on Neural Network
    WangBing ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. Synchronization Analysis of a Class of Complex Biological Neural Network
    DanDan ·Donghua University ·2014 ·Master's thesis
  12. The Research of Data Warehouse Performance Optimization Technology Based on the Coupling Index and Materialized View
    MaYingYing ·Hunan University ·2013 ·Master's thesis
  13. The Design and Implementation of Vehicle Insurance System Based on Mobile Platform
    ZuoSiYu ·Jilin University ·2013 ·Master's thesis
  14. Research on Large-scale Array Channel Modeling and Multi-user MIMO Coordinated Scheduling Algorithms
  15. Study on Synchronization of High Frequency Thermoacoustic Oscillators
  16. Design of X band quadrature voltage controlled oscillator
  17. Research of CO2Laser MOPA System
  18. Research on Sports Dance and Ballet Basic Training of Coupling
    ZhouWen ·Wuhan Institute of Physical Education ·2013 ·Master's thesis
  19. Coupling of Schema Theory and the "Book of Songs" Decoding Research
    MouXiuWen ·Northeast Normal University ·2013 ·Doctoral dissertation
  20. Research Spatial Coupling on Settlement and Water-soil Resource Based on the Irrigation
    GaoJing ·Northwest Normal University ·2013 ·Master's thesis