Skip to Main Content
Aspect-oriented software development method solves crosscutting problem by separating concerns and aspect-oriented software can be modeled by extending UML. This paper proposes a method to describe the aspects and core components as well as weaving between them through introducing aspect into UML statechart. Then the extended UML statechart is described in formal semantics of CSP, a kind of process algebra, which introduces formal dynamic semantics into UML and makes it possible to verify and prove the model in a formal way. The ATM system is used as an example to illustrate the efficiency of the aspect-oriented statechart described in CSP. Finally, FDR, a model checker, is used to perform verification of the CSP code for the ATM system.