Asserting Frame Properties

Yoonsik Cheon, Bozhen Liu, Carlos Rubio-Medrano

2024

Abstract

Frame axioms and properties are crucial for ensuring the correctness of operations by defining which parts of a program’s state may change during operation execution. Despite their significance, there has been no known method for asserting frame properties of operations for runtime checks. This paper introduces a practical approach that utilizes abstract models and executable assertions to effectively check frame properties at runtime. By defining abstract models that capture relevant state variables and their relationships, programmers can specify abstractly the parts of an object’s state that may change during operation execution. These frame properties, specified in terms of abstract models and embedded as executable assertions within the code, enforce behavioral constraints and improve the readability, maintainability, and reusability of the assertion code. Additionally, the approach supports the concept of observable side effects.

Download


Paper Citation


in Harvard Style

Cheon Y., Liu B. and Rubio-Medrano C. (2024). Asserting Frame Properties. In Proceedings of the 19th International Conference on Software Technologies - Volume 1: ICSOFT; ISBN 978-989-758-706-1, SciTePress, pages 145-152. DOI: 10.5220/0012786600003753


in Bibtex Style

@conference{icsoft24,
author={Yoonsik Cheon and Bozhen Liu and Carlos Rubio-Medrano},
title={Asserting Frame Properties},
booktitle={Proceedings of the 19th International Conference on Software Technologies - Volume 1: ICSOFT},
year={2024},
pages={145-152},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0012786600003753},
isbn={978-989-758-706-1},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 19th International Conference on Software Technologies - Volume 1: ICSOFT
TI - Asserting Frame Properties
SN - 978-989-758-706-1
AU - Cheon Y.
AU - Liu B.
AU - Rubio-Medrano C.
PY - 2024
SP - 145
EP - 152
DO - 10.5220/0012786600003753
PB - SciTePress