Applying design by contract to feature-oriented programming

FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2012(2012)

引用 45|浏览0
暂无评分
摘要
Feature-oriented programming (FOP) is an extension of ob- ject-oriented programming to support software variability by refining existing classes and methods. In order to increase the reliability of all implemented program variants, we integrate design by contract (DbC) with FOP. DbC is an approach to build reliable object-oriented software by specifying methods with contracts. Contracts are annotations that document and formally specify behavior, and can be used for formal verification of correctness or as test oracles. We present and discuss five approaches to define contracts of methods and their refinements in FOP. Furthermore, we share our insights gained by performing five case studies. This work is a foundation for research on the analysis of feature-oriented programs (e.g., for verifying functional correctness or for detecting feature interactions).
更多
查看译文
关键词
feature interaction,functional correctness,feature-oriented programming,reliable object-oriented software,feature-oriented program,ject-oriented programming,program variant,software variability,case study,formal verification
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要