The change scenario which best illustrates this di®erence is denoted by the HW
release 2 (CS2). The purpose of this scenario is to add six new contracted use cases to
the HW system. This involves modifying a sub-set of the HW classes in all layers
(which is acceptable to perform evolution). However, the OO implementation
requires further modification to add features related to the design by contract concern.
The AO implementation is able to quantify and capture these changes involving
DbC features via pointcuts rather than modifying existing ones in the base
code. Moreover, still regarding change scenario 2, the AO solution is still superior in
terms of added (DbC) LOC.
.