Fault self-defection of automatic testing systems by means of aspect-oriented programming

An Aspect Oriented approach to implement fault detection in automatic measurement systems is proposed. Faults are handled by means of “aspects”, a specific software unit to better modularize issues transversal to many modules (“crosscutting concerns”). In this way, maintainability and reusability of a measurement software are improved: indeed, once a modification of the fault detection policy occurs, only the related aspects have to be modified. As an experimental case study, this technique has been applied to the fault self-detection of a flexible framework for magnetic measurements, developed at the European Organization for Nuclear Research (CERN).