Saved in:
Bibliographic Details
Main Authors: Martín, Daniel San, Angulo, Guisella, de Camargo, Valter Vieira
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2401.16382
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918139478933504
author Martín, Daniel San
Angulo, Guisella
de Camargo, Valter Vieira
author_facet Martín, Daniel San
Angulo, Guisella
de Camargo, Valter Vieira
contents Self-adaptive systems (SASs) adjust their behavior at runtime in response to internal or external change. The MAPE-K model, which includes Monitors, Analyzers, Planners, Executors, and shared Knowledge, is a reference for structuring feedback loops. As SASs evolve, implementations can drift from the intended MAPE-K architecture, compromising planned quality attributes. Architectural Conformance Checking (ACC) addresses this risk by comparing the current implementation to a specification of the architecture. General purpose ACC techniques are flexible, but lack SAS specific semantics, leading to ambiguous specifications and missed violations. We present REMEDY, an ACC approach designed for MAPE-K based SASs. REMEDY provides three elements: a domain specific language for expressing planned architectures in MAPE-K terms, a tool that extracts the implemented architecture, and a conformance engine that reports violations. By encoding SAS domain rules and reusing MAPE-K abstractions, REMEDY reduces specification effort and lowers error rates relative to general ACC. We evaluate REMEDY through a robotic SAS case study and a controlled experiment with software engineering students. Results show higher modeling productivity and effective detection of architectural drift, supporting more reliable verification of conformance to the MAPE-K reference model.
format Preprint
id arxiv_https___arxiv_org_abs_2401_16382
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A MAPE-K-Based Method for Architectural Conformance Checking in Self-Adaptive Systems
Martín, Daniel San
Angulo, Guisella
de Camargo, Valter Vieira
Software Engineering
Self-adaptive systems (SASs) adjust their behavior at runtime in response to internal or external change. The MAPE-K model, which includes Monitors, Analyzers, Planners, Executors, and shared Knowledge, is a reference for structuring feedback loops. As SASs evolve, implementations can drift from the intended MAPE-K architecture, compromising planned quality attributes. Architectural Conformance Checking (ACC) addresses this risk by comparing the current implementation to a specification of the architecture. General purpose ACC techniques are flexible, but lack SAS specific semantics, leading to ambiguous specifications and missed violations. We present REMEDY, an ACC approach designed for MAPE-K based SASs. REMEDY provides three elements: a domain specific language for expressing planned architectures in MAPE-K terms, a tool that extracts the implemented architecture, and a conformance engine that reports violations. By encoding SAS domain rules and reusing MAPE-K abstractions, REMEDY reduces specification effort and lowers error rates relative to general ACC. We evaluate REMEDY through a robotic SAS case study and a controlled experiment with software engineering students. Results show higher modeling productivity and effective detection of architectural drift, supporting more reliable verification of conformance to the MAPE-K reference model.
title A MAPE-K-Based Method for Architectural Conformance Checking in Self-Adaptive Systems
topic Software Engineering
url https://arxiv.org/abs/2401.16382