A formal approach to analyzing interference problems in aspect-oriented designs

  • Authors:
  • Xin Chen;Nan Ye;Wenxu Ding

  • Affiliations:
  • State Key Laboratory for Novel Software Technology, Nanjing University and Department of Computer Science and Technology, Nanjing University, Nanjing, Jiangsu, P.R. China;State Key Laboratory for Novel Software Technology, Nanjing University and Department of Computer Science and Technology, Nanjing University, Nanjing, Jiangsu, P.R. China;State Key Laboratory for Novel Software Technology, Nanjing University and Department of Computer Science and Technology, Nanjing University, Nanjing, Jiangsu, P.R. China

  • Venue:
  • UTP'10 Proceedings of the Third international conference on Unifying theories of programming
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Interference problems in aspect-oriented designs refer to the undesired interference between aspects and base programs that can lead to the emergence of unexpected behaviors, which do harm to the correctness of the entire system. We present a rigorous approach to analyzing the interference problems in aspect-oriented designs. Formal representations of classes and aspects are defined in terms of designs in UTP, while the weaving techniques in AOP are interpreted as the compositions of corresponding formal models. Conflicts between an aspect and base programs as well as between two aspects can be detected by calculating the weakest preconditions. Furthermore, the calculation also provides informative guidelines on how to solve the conflicts it found. Early detecting and removing conflicts in aspect-oriented design models can improve their qualities and save plenty of costs.