首页> 外文会议>37th EUROMICRO Conference on Software Engineering and Advanced Applications >Fixing Configuration Inconsistencies across File Type Boundaries
【24h】

Fixing Configuration Inconsistencies across File Type Boundaries

机译:解决跨文件类型边界的配置不一致问题

获取原文

摘要

Creating a valid software configuration often involves multiple configuration file types, such as feature models, domain-specific languages, or C header files with preprocessor defines. Enforcing constraints across file types boundaries already at configuration is necessary to prevent inconsistencies, which otherwise are costly to discover and resolve later on. We present a pragmatic framework to specify and apply inconsistency-resolving fixes on configuration files of arbitrary types. The framework converts each configuration file to a model, checks it for consistency, applies fixes, and serializes it back again. We argue that conventionally programmed fixes and round-trip mechanisms (i.e., converters and serializers) are indispensable for practical applicability and can provide sufficient reliability when following usual development practices. We have developed round-trip mechanisms for seven different configuration file types and two fixing mechanisms. One fixing mechanism extends previous work by combining automatic detection of correct fix locations with a marker mechanism that reduces the number of locations. A tool-supported process for applying the fixes provides user guidance and integrates additional semantic validity checks on serialized configuration files of complex types (e.g., feature models). Evaluations reveal a speed up in inconsistency fixing and that the performance of the currently integrated round-tripping and fixing mechanisms is competitive.
机译:创建有效的软件配置通常涉及多种配置文件类型,例如功能模型,特定于域的语言或带有预处理程序定义的C头文件。配置时已经在文件类型边界上强制实施约束是必要的,以防止出现不一致的情况,否则以后发现和解决这些问题的成本很高。我们提出了一个实用的框架,用于在任意类型的配置文件上指定和应用解决不一致问题的修补程序。框架将每个配置文件转换为模型,检查其一致性,应用修订,然后再次序列化。我们认为,常规编程的修复程序和往返机制(即转换器和序列化器)对于实际适用性是必不可少的,并且在遵循常规开发实践时可以提供足够的可靠性。我们已经为7种不同的配置文件类型和2种修复机制开发了往返机制。一种固定机构通过结合自动检测正确的固定位置和减少位置数量的标记机构来扩展以前的工作。工具支持的修补程序应用程序提供了用户指南,并在复杂类型(例如功能部件模型)的序列化配置文件上集成了其他语义有效性检查。评估显示,不一致修复的速度加快了,并且当前集成的往返和修复机制的性能具有竞争力。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号