• DocumentCode
    2208934
  • Title

    Fixing Configuration Inconsistencies across File Type Boundaries

  • Author

    Elsner, Christoph ; Lohmann, Daniel ; Schröder-Preikschat, Wolfgang

  • Author_Institution
    Siemens Corp. Technol., Erlangen, Germany
  • fYear
    2011
  • fDate
    Aug. 30 2011-Sept. 2 2011
  • Firstpage
    116
  • Lastpage
    123
  • Abstract
    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.
  • Keywords
    computational linguistics; configuration management; file organisation; software reliability; C header file; automatic detection; configuration file; configuration inconsistency; domain-specific language; feature model; file type boundary; integrated round-tripping mechanism; marker mechanism; multiple configuration file type; pragmatic framework; round-trip mechanism; semantic validity; software configuration; tool-supported process; user guidance; Adaptation models; Biological system modeling; Bridges; Concrete; Java; Software; XML; Model Inconsistency Fixing; Software Configuration; Software Product Line;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering and Advanced Applications (SEAA), 2011 37th EUROMICRO Conference on
  • Conference_Location
    Oulu
  • Print_ISBN
    978-1-4577-1027-8
  • Type

    conf

  • DOI
    10.1109/SEAA.2011.26
  • Filename
    6068333