Ideally, a variability model is a correct and complete representation of product line features and constraints among them. Together with a mapping between features and code, this ensures that only valid products can be configured and derived. However, in practice the modeled constraints might be neither complete nor correct, which causes problems in the configuration and product derivation phases. This paper presents an approach to reverse engineer variability constraints from the implementation, and thus improve the correctness and completeness of variability models. We extended the concept of feature effect analysis to extract variability constraints from code artifacts of the Bosch PS-EC large-scale product line. We present an industrial application of the approach and discuss its required modifications to handle non-Boolean variability and heterogeneous artifact types.
翻译:理想的情况是,可变模式是对产品系列特征和制约因素的正确和完整表述。在对特征和代码进行测绘的同时,这确保只能对有效产品进行配置和衍生;然而,在实际操作中,模型限制可能既不完整也不正确,从而在配置和产品衍生阶段造成问题。本文件介绍了一种方法,用以扭转实施过程中的工程师可变性制约,从而改进可变模型的正确性和完整性。我们扩大了特征影响分析的概念,从Bosch PS-EC大型产品系列的编码工艺中提取可变性制约。我们介绍了该方法的工业应用,并讨论了处理非Boolean变异性和异性工艺类型所需的修改。