Using Dynamic Aspects to Distill Business Rules from Legacy Code
Isabel Michiels, Kris De Schutter, Ghislain Hoffman, Theo D’Hondt · Ghent University Academic Bibliography (Ghent University) · 2004
Large organizations often rely on business rules to express their business constraints and very often these rules are scattered throughout different parts of the source code. Although call-stack context and other dynamic events provide a valuable view on (old) code, checking why the output of their system produces certain values remains a complex and time-consuming process. In this paper we advocate the use of dynamic aspects to facilitate and optimize the process of distilling business rules from legacy code. We demonstrate this use through a possible scenario of investigation of a small but real life case study and conclude with our envisioned practical implementation.