Evaluating maintainability with code metrics for model-to-model transformations

  • Authors:
  • Lucia Kapová;Thomas Goldschmidt;Steffen Becker;Jörg Henss

  • Affiliations:
  • Chair for Software Design and Quality, Universität Karlsruhe (TH), Karlsruhe, Germany;Chair for Software Design and Quality, Universität Karlsruhe (TH), Karlsruhe, Germany;Chair for Software Design and Quality, Universität Karlsruhe (TH), Karlsruhe, Germany;Chair for Software Design and Quality, Universität Karlsruhe (TH), Karlsruhe, Germany

  • Venue:
  • QoSA'10 Proceedings of the 6th international conference on Quality of Software Architectures: research into Practice - Reality and Gaps
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Using model-to-model transformations to generate analysis models or code from architecture models is sought to promote compliance and reuse of components. The maintainability of transformations is influenced by various characteristics - as with every programming language artifact. Code metrics are often used to estimate code maintainability. However, most of the established metrics do not apply to declarative transformation languages (such as QVT Relations) since they focus on imperative (e.g. object-oriented) coding styles. One way to characterize the maintainability of programs are code metrics. However, the vast majority of these metrics focus on imperative (e.g., object-oriented) coding styles and thus cannot be reused as-is for transformations written in declarative languages. In this paper we propose an initial set of quality metrics to evaluate transformations written in the declarative QVT Relations language. We apply the presented set of metrics to several reference transformations to demonstrate how to judge transformation maintainability based on our metrics.