Skip to content

Generating metaproduct for family-based verification does not encode feature model correctly #1105

Description

@ekuiter

If I use the FeatureIDE > FeatureHouse > Generate Meta Product menu option, the generated code seems to contain errors in the feature model encoding in the JML contracts.
For example, generating a metaproduct for the example project IntList-FH-JML, the following JML specification is generated:
grafik
I am pretty sure that this should be (i.e. referencing the FeatureModel class):

@ requires (FM.FeatureModel.root) && (FM.FeatureModel.root || !FM.FeatureModel.base) && (FM.FeatureModel.root || !FM.FeatureModel.cons) && 

KeY also cannot load this metaproduct:
grafik
Am I missing something? If this is a bug, is it due to FeatureIDE or FeatureHouse (or wherever metaproduct generation is implemented?)

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions