In practice, inconsistencies between architectural documentation and the code might arise due to improper implementation of the architecture or the separate, uncontrolled evolution of the code. Several approaches have been proposed to detect the inconsistencies between the architecture and the code but these tend to be limited for capturing inconsistencies that might occur at runtime. We present a runtime verification approach for detecting inconsistencies between the dynamic behavior of the architecture and the actual code. The approach is supported by a set of tools that implement the architecture and the code patterns in Prolog, and support the automatic generation of runtime monitors for detecting inconsistencies. We illustrate the approach and the toolset for a Crisis Management System case study.
Revised: September 3, 2013 |
Published: July 16, 2012
Citation
Ciraci S., H. Sozer, and B. Tekinerdogan. 2012.An Approach for Detecting Inconsistencies between Behavioral Models of the Software Architecture and the Code. In IEEE 36th Annual Computer Software and Applications Conference (COMPSAC 2012), July 16-20, 2012, Izmir, Turkey, edited by X Bai, et al, 257-266. Los Alamitos, California:IEEE Computer Society.PNNL-SA-85848.doi:10.1109/COMPSAC.2012.36