• DocumentCode
    3723021
  • Title

    Experiences from Designing and Validating a Software Modernization Transformation (E)

  • Author

    Alexandru F. Iosif-Lazar;Ahmad Salim Al-Sibahi;Aleksandar S. Dimovski;Juha Erik Savolainen;Krzysztof Sierszecki;Andrzej Wasowski

  • Author_Institution
    IT Univ. of Copenhagen, Copenhagen, Denmark
  • fYear
    2015
  • Firstpage
    597
  • Lastpage
    607
  • Abstract
    Software modernization often involves complex code transformations that convert legacy code to new architectures or platforms, while preserving the semantics of the original programs. We present the lessons learnt from an industrial software modernization project of considerable size. This includes collecting requirements for a code-to-model transformation, designing and implementing the transformation algorithm, and then validating correctness of this transformation for the code-base at hand. Our transformation is implemented in the TXL rewriting language and assumes specifically structured C++ code as input, which it translates to a declarative configuration model. The correctness criterion for the transformation is that the produced model admits the same configurations as the input code. The transformation converts C++ functions specifying around a thousand configuration parameters. We verify the correctness for each run individually, using translation validation and symbolic execution. The technique is formally specified and is applicable automatically for most of the code-base.
  • Keywords
    "Software","Semantics","Switches","Object oriented modeling","Complexity theory","Industries","Power electronics"
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering (ASE), 2015 30th IEEE/ACM International Conference on
  • Type

    conf

  • DOI
    10.1109/ASE.2015.84
  • Filename
    7372047