arrow
Return

Feature-oriented contract composition

delete2019-06-01
delete6
PRE
AI
T
Thomas Thüm
A
Alexander Knüppel *
S
Stefan Krüger
S
Stefanie Bolle
I
Ina Schaefer
DOI:10.1016/j.jss.2019.01.044delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
A software product line comprises a set of products that share a common code base, but vary in specific characteristics called features. Ideally, features of a product line are developed in isolation and composed subsequently. Product lines are increasingly used for safety-critical software, for which quality assurance becomes indispensable. While the verification of product lines gained considerable interest in research over the last decade, the subject of how to specify product lines is only covered rudimentarily. A challenge to overcome is composition; similar to inheritance in object-oriented programming, features of a product line may refine other features along with their specifications. To investigate how refinement and composition of specifications can be established, we derive a notion of feature-oriented contracts comprising preconditions, postconditions, and framing conditions of a method. We discuss six mechanisms to perform contract composition between original and refining contracts. Moreover, we identify and discuss desired properties for contract composition and evaluate which properties are established by which mechanism. Our three main insights are that (a) contract refinement is seldom but crucial, (b) the Liskov principle does not apply to features, and (c) it is sufficient to accommodate techniques from object-orientation in the contract-composition mechanisms for handling frame refinements. (C) 2019 Elsevier Inc. All rights reserved.
Keywords:
Feature-oriented programming
Software product lines
Design by contract
Deductive verification
Formal methods
Featured Transition Systems: Foundations for Verifying Variability-Intensive Systems and Their Application to LTL Model Checking
err2013-08-01
err167
PREAI
errClassen, Andreas; Cordy, Maxime; Schobbens, Pierre-Yves; Heymans, Patrick; Legay, Axel; Raskin, Jean-Francois
errShare
errSave
Interaction detection in configurable systems-A formal approach featuring roles
err2023-02-01
err3
PREAI
errChrszon, Philipp; Baier, Christel; Dubslaff, Clemens; Klueppelholz, Sascha
errShare
errSave
errShare
errSave
Aspectual feature modules
err2008-03-01
err84
errOAAI
errApel, Sven; Leich, Thomas; Saake, Gunter
errShare
errSave
Efficient static analysis and verification of featured transition systems
err2021-10-23
err15
errOAAI
errter Beek, Maurice H.; Damiani, Ferruccio; Lienhardt, Michael; Mazzanti, Franco; Paolini, Luca
errShare
errSave
Test scenario generation for feature-based context-oriented software systems
err2023-03-01
err7
PREAI
errMartou, Pierre; Mens, Kim; Duhoux, Benoit; Legay, Axel
errShare
errSave

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.5K
Citations:
1.0W

Organization

B
Braunschweig University of Technology
Scholars:
7.8K
Papers: 6.7K
Citations: 8.1K
U
university of paderborn
Scholars:
38
Papers: 23
Citations: 1.7K
Cited Papers

Cited Papers

errShare
errSave
Developmental hearing loss impairs signal detection in noise: putative central mechanisms
err2014-09-09
err0
errOAAI
errJennifer D. Gay; Sergiy V. Voytenko; Alexander V. Galazyuk; Merri J. Rosen
errShare
errSave
Specification and Verification: The Spec# Experience
err2011-06-01
err96
PREAI
errBarnett, Mike; Faehndrich, Manuel; Leino, K. Rustan M.; Mueller, Peter; Schulte, Wolfram; Venter, Herman
errShare
errSave
Analysis of Specific Proteins in Prostatic Fluid for Detecting Prostatic Malignancy
err1979-03-01
err0
PREAI
errJohn T. Grayhack; Earl F. Wendel; Lyda Oliver; Chung Lee
errShare
errSave