Coupling Measurement and Its Applications for Aspect-oriented Programs

Author
ShenHaiHao
Advisor
ZhaoJianJun
School
Shanghai Jiaotong University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
46
Citations
0

Request the full text

Abstract

In current software development, coupling is always used as an indicator to measure the dependencies between system components. Highly coupled systems have strong interconnections, with modules dependent on each other. Normally, writing modules with low coupling is thought to be a desirable goal during software development, because a module with low coupling is easier to maintain and reuse. Coupling metrics are often used as predictors of software external quality attributes such as maintainability, reusability and reliability. Many coupling frameworks are proposed to measure coupling dependencies in object-oriented systems and several studies carry out static coupling dependency analysis in aspect-oriented systems. However, few research works focus on systematic coupling analysis for both static and dynamic coupling measurement in aspect-oriented systems. In this paper, we propose a suite of coupling framework for AspectJ programs. At the core of framework is an invocation relationship between modules. Based on the coupling between modules, we measure the coupling dependencies between components and then overall system coupling.Based on the proposed framework, we present two typical applications in aspect-oriented systems.1. System maintainability evaluation. In this paper, a suite of fine-grained coupling metrics are presented to measure the coupling for software change during system evolution. We identify changed modules by change impact analysis and measure the coupling value for each module. Finally, we employ statistical correlation analysis and propose several indicators to evaluate the impact of software change on system maintainability.2. Aspectual refactoring evaluation. Aspectual refactoring has been widely used in practical software maintenance tasks. However, the study on the coupling impact of aspectual refactoring is still missing. Therefore, it is difficult for programmers to assess whether aspectual refactoring should be applied or not without knowing its effect accurately. In this paper, we propose a coupling framework for both static and dynamic module dependencies. We employ a multiple linear regression model to fit the coupling scattering degree during aspectual refactoring and evaluate the effectiveness of aspectual refactoring.In terms of the proposed framework, we implement two automated tools, AJMetrics and AJDyMetrics, to measure the static and dynamic coupling dependencies in aspect-oriented systems, respectively. We use 23 design patterns, 5 AspectJ benchmarks, and 2 large-scale applications to perform experimental evaluations on our coupling framework. Experimental results demonstrate the accurateness of our tools, the impact of software changes on system maintainability, and the effectiveness of aspectual refactoring.

Table of contents

Summary 3-5 ABSTRACT 5-10 Figures 10-11 Tables 11-12 The first chapter 12-19 1.1 object-Oriented Programming Overview 12-13 aspect -oriented programming 1.2 Overview 13-15 1.3 ASPECTJ language Overview 15 1.4 coupling Metrics and its applications 15-17 1.5 the main contribution of the paper 17-18 1.6 structure of this article 18-19 chapter coupling measurement framework 19-25 2.1 -oriented aspects of the system terminology 19-20 2.2 metric coupling 20-22 2.2.1 for system maintainability assessment 20-21 2.2.2 applies to reconstruct aspects of assessment 21-22 <br / > 2.3 mathematical properties 22-24 2.4 Summary 24-25 Chapter III system maintainability assessment 25-35 3.1 software changes 25-30 3.1.1 object-oriented programming software changes software changes 26-27 3.1.2 -oriented aspects of the program 27-30 <br / > 3.2 software change coupling measure relations 30-31 3.3 software changes and maintenance tasks 31-32 3.4 maintenance tasks and system maintainability relationship 32 3.5 coupling metrics and system maintainability relationship 32-34 3.6 Summary Chapter IV aspect 34-35 Reconstruction assessment 35-44 4.1 multidimensional linear regression model 35 4.2 static and dynamic coupling diffusion 35-36 4.3 build multidimensional linear regression model 36-41 4.3.1 select the initial factor 36-37 4.3.2 select training data 37-39 4.3. 3 collects static and dynamic coupling metrics 39-40 4.3.4 multidimensional linear regression model fitted 40-41 4.3.5 evaluation index 41 4.4 model validation 41-43 4.5 Summary 43-44 Chapter measurement tools to achieve 44-49 5.1 coupling system maintainability metrics applicable assessment coupling metrics 44-46 5.2 Reconstruction application of assessment 46-47 5.3 Cartridge performance cost 47-48 5.4 Summary 48-49 Chapter VI experimental evaluation 49-66 6.1 purpose 49 < br /> 6.2 experimental procedures set 49-52 6.2.1 system maintainability assessment 49-50 6.2.2 evaluate aspects of reconstruction 50 -52 6.3 experimental Procedure 52 6.3.1 system maintainability assessment 52 6.3.2 evaluate aspects of reconstruction 52 <br / > 6.4 results 52-64 6.4.1 system maintainability assessment 52-57 6.4.2 evaluate aspects of reconstruction 57-64 6.5 validity threats 64-65 6.5.1 system maintainability assessment 64 6.5.2 evaluate aspects of reconstruction 64 - 65 6.6 summary 65-66 Chapter VII Full Summary 66-68 7.1 The main conclusions 66 7.2 Prospect 66-68 References 68-72 Thanks 72-75 studying for a Master 's degree during the accepted papers have been published or 75-77

Related dissertations

  1. Study on predicting of construction land demand of Xiushui County
    TongHui ·Jiangxi University of Technology ·2012 ·Master's thesis
  2. An empirical study of influence factors of Nanchang City residential real estate prices of multiple linear regression model and VAR model based on
    TuRenWei ·Jiangxi University of Technology ·2013 ·Master's thesis
  3. An empirical analysis of Chinese iron ore trade price
    LiZuoLan ·Yunnan University of Finance ·2013 ·Master's thesis
  4. On External Shocks and Restructuring of Export Product Mix
    WeiLiangLiang ·Anhui University ·2012 ·Master's thesis
  5. The Financial Motivation Analysis on Intellectual Property Management
  6. An Empirical Study of the Influential Factors on the Dividend Policy in Chinese Listed Companies
  7. The Comparative Study on Stock-Holding Preference of China’s Securities Investment Funds and Broker Set of Financial Products
    ChenXiaoRuo ·Nanjing University ·2013 ·Master's thesis
  8. Empirical Research on the Factors Affecting to Employment Duration
    DuJin ·Bohai University ·2013 ·Master's thesis
  9. An empirical study on the influencing factors in Jiaxing city residential real estate prices VAR model and multiple linear regression model based on
    ChenYaWen ·Jiangxi University of Technology ·2012 ·Master's thesis
  10. Analysis on the model of comprehensive factors China economic growth
    LiFeng ·Fudan University ·2012 ·Master's thesis
  11. A Study of Trust in Land Expropriation
    ChenXu ·Guangzhou University ·2012 ·Master's thesis
  12. Research on IPO Under-pricing in China: a Stochastic Frontier Approach
    LiJi ·Harbin Engineering University ·2012 ·Master's thesis
  13. Empirical Research Based on the Direction of Engineering to Enhance the Capability of Independent Innovation in Shanxi Province
  14. The Application of the Teaching Evaluation System in the Data Mining Technology
    LiuJieJing ·Hebei University ·2012 ·Master's thesis
  15. Design and Implementation of Object-oriented Software Configuration Management Support System
    GaoXiang ·Sun Yat-sen University ·2012 ·Master's thesis
  16. Software Change Classification Based on Probabilistic Latent Semantic Analysis
    ZuoMeng ·Chongqing University ·2013 ·Master's thesis
  17. Regional Industry Development Study Based on Fossil Energy Footprint
    ZhuRunZhi ·Beijing Forestry University ·2013 ·Master's thesis
  18. Study on Carbon Storage and Balance of Chinese Main Forest Ecosystems
    ZhaoMin ·Institute of Botany ·2004 ·Doctoral dissertation
  19. Study on the Hyperspectral Prediction Models of Soil Organic Matter and Its Differences among Soil Types
    ZhouQing ·Zhejiang University ·2004 ·Doctoral dissertation
  20. Empirical Study on Factors Influencing Regional Distribution of FDI in China
    BiHuiMin ·Shanghai Jiaotong University ·2008 ·Master's thesis