• DocumentCode
    1732188
  • Title

    A Metamodel for the Measurement of Object-Oriented Systems: An Analysis using Alloy

  • Author

    McQuillan, Jacqueline A. ; Power, James F.

  • Author_Institution
    Dept. of Comput. Sci., Nat. Univ. of Ireland, Maynooth
  • fYear
    2008
  • Firstpage
    288
  • Lastpage
    297
  • Abstract
    This paper presents a MOF-compliant metamodel for calculating software metrics and demonstrates how it is used to generate a metrics tool that calculates coupling and cohesion metrics. We also describe a systematic approach to the analysis of MOF-compliant metamodels and illustrate the approach using the presented metamodel. In this approach, we express the metamodel using UML and OCL and harness existing automated tools in a framework that generates a Java implementation and an Alloy specification of the metamodel, and use this both to examine the metamodel constraints, and to generate instantiations of the metamodel. Moreover, we describe how the approach can be used to generate test data for any software based on a MOF-compliant metamodel. We extend our framework to support this approach and use it to generate a test suite for the metrics calculation tool that is based on our metamodel.
  • Keywords
    Java; Unified Modeling Language; software metrics; Alloy specification; Java implementation; MOF-compliant metamodel; OCL; UML; meta object facility; object constrained language; object-oriented system; software metrics; unified modelling language; Application software; Automatic testing; Computer science; Java; Object oriented modeling; Software measurement; Software metrics; Software quality; Software testing; Unified modeling language; Alloy; metamodels; model testing; object-oriented metrics;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification, and Validation, 2008 1st International Conference on
  • Conference_Location
    Lillehammer
  • Print_ISBN
    978-0-7695-3127-4
  • Type

    conf

  • DOI
    10.1109/ICST.2008.58
  • Filename
    4539556