A model-driven approach to enforce crosscutting assertion checking

  • Authors:
  • Jing Zhang;Jeff Gray;Yuehua Lin

  • Affiliations:
  • University of Alabama at Birmingham, Birmingham, AL;University of Alabama at Birmingham, Birmingham, AL;University of Alabama at Birmingham, Birmingham, AL

  • Venue:
  • MACS '05 Proceedings of the 2005 workshop on Modeling and analysis of concerns in software
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Design by Contract provides an effective principle to enable the construction of robust software by describing properties of a module using logical assertions. This paper presents a model-driven approach for weaving assertion checking aspects into a large software system. The approach is based on a technique called two-level aspect weaving. At the top level, crosscutting assertions are weaved into a model by use of a model weaver. The second step of the weaving process occurs when the Model-Driven Program Transformation technique is applied to perform large-scale adaptation of the underlying source code from the contracts specified in the high-level models. The paper briefly presents a case study to illustrate the concept.