measurement models conform to a Software
Measurement metamodel; b) the definition of
generic measurement methods are applicable to any
model-based software artifact; and c) support for
computing measures, for storing results and for
enhancing decision making.
The availability of a language which allows us to
represent those elements which must be taken into
account in the measurement processes might,
therefore, be important in decision making and in
process improvement. It is thus of interest to
consider the use of Domain Specific Languages
(DSLs) such as the Software Modelling
Measurement Language (SMML)(Mora, Ruiz et al.,
2008).
These aspects constitute the main interest of this
paper: in which the application of MDA principles,
standards and tools are used in software
measurement. We present the Software
Measurement Framework (SMF), a generic
framework to define measurement models which
conform to a common measurement metamodel, and
to measure any software entity with regard to a
domain metamodel. MOMENT environment has
been used, which supports the automatic model
management MDA compliant. These measurement
models involved in the framework can be defined by
using SMML. SMML is integrated in SMF and
permits software measurement models to be created
in a simple and intuitive manner. This language has
been done by using the Software Measurement
Metamodel (SMM)(García, Serrano et al., 2007),
(Mora, Ruiz et al., 2008) as the Domain Definition
Metamodel (DDMM). The task of the SMML is to
facilitate the definition of software measurement
models, which is the starting point in the generic
software measurement process.
The remainder of the paper is organized as
follows. Section 2 provides an overview of related
works. Section 4 presents the SMML and Section 3
describes the Software Measurement Framework
(SMF), including conceptual architecture,
technological aspects, and method. In Section 5 the
use of the framework and SMML is illustrated with
an example. Finally, conclusions and future works
are outlined in Section 6.
2 RELATED WORKS
We have found numerous publications which deal
with tools that have important success factors in
software measurement efforts (Komi-Sirviö,
Parviainen et al., 2001), which supply work
environments and general approximations
(Kempkens, Rösch et al., 2000), or which give
architectures more specific solutions (Jokikyyny and
Lassenius, 1999), (Brown and Dennis, 2004)
includes a list of tools which support the creation,
control and analysis of software measurements.
(Auer, Graser et al., 2003) furthermore examines
various software measurement tools, such as
MetricFlame, MetricCenter, Estimate Professional,
CostXPert and ProjectConsole, in heterogenic
environments.
It is also possible to find certain proposals
through which to tackle software measurement
which are more integrated and less specific than in
the aforementioned cases. (Palza, Fuhrman et al.,
2003) proposes the MMR tool which is based on the
CMMI model for the evolution of software
processes, and it is possible to consult similar tools
in (Harrison 2004), (Scotto, Sillitti et al., 2004),
(Lavazza and Agostini, 2005). These proposals are,
however, restricted to concrete domains or to
evaluation models of specific quality.
(Vépa, Bézivin et al., 2006) presents a metamodel
which allows the storage of measurement data, and a
set of transformations through which to carry out the
measurement of models based on a metamodel is
presented. This paper focuses upon the technological
aspects needed to implement the software
measurement with ATL technology, by offering the
user a variety of graphic representations of the
measurement results obtained.
This final proposal and that which is presented
here are complementary as they both focus upon two
key support elements of generic measurement: the
conceptual base, which is the main contribution of
FMESP, and technological implementation. Some
differences from technological point of view exist.
The measurements which are applied in the work
of (Vépa, Bézivin et al., 2006) are previously
defined in the ATL transformation archives. The
measurable entities are typical of the metamodels
presented in this work (KM3 (Jouault and Bézivin,
2006) and UML2). For example, the measurable
entities for a model which is expressed in km3 might
be package, class, attribute, reference etc.
The measurements in the proposal presented here are
defined by the user, i.e. the model transformation
needed to carry out the measurement it is not a
model previously defined, but this model is defined
according to the users needs. The measurement
definition is possible thanks to the software
measurement model, which contains all that is
relative to the measurement to be carried out in each
case. Moreover, the measurable entities are those
ICSOFT 2008 - International Conference on Software and Data Technologies
306