Variability models (e.g., feature models) are a common way for the representation of variabilities and commonalities of software artifacts. Such models can be translated to a logical representation and thus allow different operations for quality assurance and other types of model property analysis. Specifically, complex and often large-scale feature models can become faulty, i.e., do not represent the expected variability properties of the underlying software artifact. In this paper, we introduce DirectDebug which is a direct diagnosis approach to the automated testing and debugging of variability models. The algorithm helps software engineers by supporting an automated identification of faulty constraints responsible for an unintended behavior of a variability model. This approach can significantly decrease development and maintenance efforts for such models.
翻译:易变模型(例如,特征模型)是代表软件文物的可变性和共性的一种常见方式,这种模型可以转换为逻辑代表,从而可以进行不同的质量保证操作和其他类型的示范财产分析,具体地说,复杂而且往往是大型的特征模型可能会发生错误,即不代表软件文物的预期可变性。在本文中,我们引入了直接调试,这是自动测试和调试可变模型的一种直接诊断方法。算法有助于软件工程师,支持自动识别对易变模型无意行为负责的缺陷限制。这种方法可以大大减少这些模型的发展和维护工作。