Extending Design by Contract for Aspect-Oriented Programming

Computer Science – Software Engineering

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

Design by Contract (DbC) and runtime enforcement of program assertions enables the construction of more robust software. It also enables the assignment of blame in error reporting. Unfortunately, there is no support for runtime contract enforcement and blame assignment for Aspect-Oriented Programming (AOP). Extending DbC to also cover aspects brings forward a plethora of issues related to the correct order of assertion validation. We show that there is no generally correct execution sequence of object assertions and aspect assertions. A further classification of aspects as agnostic, obedient, or rebellious defines the order of assertion validation that needs to be followed. We describe the application of this classification in a prototyped DbC tool for AOP named Cona, where aspects are used for implementing contracts, and contracts are used for enforcing assertions on aspects.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Extending Design by Contract for Aspect-Oriented Programming does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Extending Design by Contract for Aspect-Oriented Programming, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Extending Design by Contract for Aspect-Oriented Programming will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-513147

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.