Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Re: Model metrics and model difference
Re: Model metrics and model difference [message #26360] Thu, 29 March 2007 21:24 Go to next message
Jean Bezivin is currently offline Jean BezivinFriend
Messages: 38
Registered: July 2009
Member
Dear Frank,

There are definitively a lot of activities going on in these two areas
(computing model metrics and model differences).

For model metrics several projects are currently going on
using model transformation to implement libraries of model metrics.

An initial paper may be found at:
http://www.sciences.univ-nantes.fr/lina/atl/www/papers/Measu ringModelRepositories.pdf
but this project has much evolved since.

The first idea is to separate the expression of the measure from the
expression of the presentation
of the measure. You may find two examples of presentations expressed in ATL
below:

http://www.eclipse.org/m2m/atl/atlTransformations/Table2SVGP ieChart/ExampleTable2SVGPieChart%5Bv00.03%5D.pdf
http://www.eclipse.org/m2m/atl/atlTransformations/Table2Tabu larHTML/ExampleTable2TabularHTML%5Bv00.03%5D.pdf

The second idea is to consider that similar measures may apply on different
metamodels.
For example measuring the average number of attributes per class may apply
to a UML
model as well as to a Java model. This idea of generic measures is highly
interesting.
With an abstract definition of models, similar measures
can also apply to a terminal model (e.g. a UML class model)
and to a metamodel (a KM3 metamodel).

Now for the second subject of "model diff", there is also here an
important activity as apparent from a panel at the latest Eclipse conf
in Santa Clara.

Some pointers:

http://www.eclipsecon.org/2007/index.php?page=sub/&id=35 93
http://dev.eclipse.org/mhonarc/lists/emft-dev/pdfSZvoIOSC58. pdf
http://www.eclipse.org/gmt/amw/usecases/diff/

all the best,

Jean


"Frank Jensen" <fj@uni-koblenz.de> a
Re: Model metrics and model difference [message #26529 is a reply to message #26360] Fri, 30 March 2007 12:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fj.uni-koblenz.de

Hi Jean,

thank you very much for that extended reply, I appreciate the time
you've spend on working this out.

I have to admit that I expected such an answer although I was hoping for
something more stalwart like "no problem frank, take your .uml file and
put it in method xy from framework z" ;-)

Before I've written my request I did - of course - investigate what
projects exist and was really overwhelmed of how many project deal with
this, at least at the first glance trivial, topic. The sad side of this
is, that it's not easy for an novice like me to get to the point where I
can get a benefit of these projects. And, what makes it even worse for
me, it is way to time consuming when time is limited.

Don't get me wrong, this complex of themes is something I'm really
interested in, but currently it's just one aspect out of many I have to
deal with in a relatively short time. Propably further investigations
have to wait till I've finished my thesis. In the meanwhile I'll try to
compute the metrics by 'stupidly' parsing the uml files. The collected
classes and attributes will be used to determine differences of two
models as well. I think the DISTANCE framework (Poels et al.) could be
usefull here.

Once again, thank you very much,
Frank

Jean.Bezivin schrieb:
>
> An initial paper may be found at:
> http://www.sciences.univ-nantes.fr/lina/atl/www/papers/Measu ringModelRepositories.pdf
> but this project has much evolved since.
>

Funny, seems that Genero, Piattini, Poels, etc. are a must on every
reference list when metrics are involved.
Re: Model metrics and model difference [message #26556 is a reply to message #26360] Fri, 30 March 2007 12:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Hugo.Bruneliere.univ-nantes.fr

Dear Frank,

Within the Eclipse/GMT MoDisco component, there is a complete use case
concerning the computation and visualization of metrics on Bugzilla
models: http://www.eclipse.org/gmt/modisco/useCases/BugzillaMetrics/

This may give you some ideas about how it is possible to produce metrics
from any kind of models (including UML models) and then to build
different visualizations of these metrics (in HTML, Excel, SVG, etc),
all the steps of the overall process being implemented by M2M
transformations (using ATL).

Best regards,

Hugo

Jean.Bezivin a écrit :
> Dear Frank,
>
> There are definitively a lot of activities going on in these two areas
> (computing model metrics and model differences).
>
> For model metrics several projects are currently going on
> using model transformation to implement libraries of model metrics.
>
> An initial paper may be found at:
> http://www.sciences.univ-nantes.fr/lina/atl/www/papers/Measu ringModelRepositories.pdf
> but this project has much evolved since.
>
> The first idea is to separate the expression of the measure from the
> expression of the presentation
> of the measure. You may find two examples of presentations expressed in ATL
> below:
>
> http://www.eclipse.org/m2m/atl/atlTransformations/Table2SVGP ieChart/ExampleTable2SVGPieChart%5Bv00.03%5D.pdf
> http://www.eclipse.org/m2m/atl/atlTransformations/Table2Tabu larHTML/ExampleTable2TabularHTML%5Bv00.03%5D.pdf
>
> The second idea is to consider that similar measures may apply on different
> metamodels.
> For example measuring the average number of attributes per class may apply
> to a UML
> model as well as to a Java model. This idea of generic measures is highly
> interesting.
> With an abstract definition of models, similar measures
> can also apply to a terminal model (e.g. a UML class model)
> and to a metamodel (a KM3 metamodel).
>
> Now for the second subject of "model diff", there is also here an
> important activity as apparent from a panel at the latest Eclipse conf
> in Santa Clara.
>
> Some pointers:
>
> http://www.eclipsecon.org/2007/index.php?page=sub/&id=35 93
> http://dev.eclipse.org/mhonarc/lists/emft-dev/pdfSZvoIOSC58. pdf
> http://www.eclipse.org/gmt/amw/usecases/diff/
>
> all the best,
>
> Jean
>
>
> "Frank Jensen" <fj@uni-koblenz.de> a écrit dans le message de news:
> euh7la$u6b$4@build.eclipse.org...
>> Hi,
>>
>> I'm currently writing my master thesis where I have to evaluate quality of
>> models. Therefore I have to deal with model metrics (number of classes,
>> number of attributes, etc.) and differences between models. Can you give
>> my any advices on this topic? I'm using the UML2 meta model so maybe there
>> are already some tools which provide such a functionality.
>>
>> Thanks in advance,
>> Frank
>
>

--
--------------------------------------------------------
Hugo Bruneliere - R&D Engineer
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssiniere
44322 Nantes Cedex 3 - France
office +33 2 51 12 58 10 /\ cell.+33 6 07 42 45 30
EMail: Hugo.Bruneliere@univ-nantes.fr
http://www.sciences.univ-nantes.fr/lina/atl/
--------------------------------------------------------
Re: Model metrics and model difference [message #26988 is a reply to message #26556] Sun, 01 April 2007 10:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fj.uni-koblenz.de

Hi Hugo,

thank you very much. I have seen that example before but didn't get the
point, My imagination of what a modell is used to be a bit limited I
suppose :-)

If I get things right, then I could calculate the metrics of an uml file
when I
1. take a proper uml meta model (like the one in the zoo)
2. define a proper metrics meta model (like the one in km32metrics)
3. define an approriate transformation between 1. and 2.
4. execute atl on an arbitrary uml model

Is this correct?

Best regards,
Frank

Hugo Bruneliere schrieb:
> Dear Frank,
>
> Within the Eclipse/GMT MoDisco component, there is a complete use case
> concerning the computation and visualization of metrics on Bugzilla
> models: http://www.eclipse.org/gmt/modisco/useCases/BugzillaMetrics/
>
> This may give you some ideas about how it is possible to produce metrics
> from any kind of models (including UML models) and then to build
> different visualizations of these metrics (in HTML, Excel, SVG, etc),
> all the steps of the overall process being implemented by M2M
> transformations (using ATL).
>
> Best regards,
>
> Hugo
>
Re: Model metrics and model difference [message #27185 is a reply to message #26988] Mon, 02 April 2007 12:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Hugo.Bruneliere.univ-nantes.fr

Hi Frank,

Yes this is correct, this is the general process we used during our
different experiments on building metrics from various kinds of models.

You can define your own metrics metamodel (using the simple KM3 language
for example http://wiki.eclipse.org/index.php/KM3). You may also reused
the generic one provided within the "Bugzilla Metrics" MoDisco use case
(and thus be able to also reuse the set of generic transformations for
building metrics visualizations).
Concerning this last point, we will provide soon in the MoDisco toolbox
(available from http://www.eclipse.org/gmt/modisco/) an ATL project
gathering these generic transformations for building metrics visualizations.

Best regards,

Hugo

Frank Jensen a écrit :
> Hi Hugo,
>
> thank you very much. I have seen that example before but didn't get the
> point, My imagination of what a modell is used to be a bit limited I
> suppose :-)
>
> If I get things right, then I could calculate the metrics of an uml file
> when I
> 1. take a proper uml meta model (like the one in the zoo)
> 2. define a proper metrics meta model (like the one in km32metrics)
> 3. define an approriate transformation between 1. and 2.
> 4. execute atl on an arbitrary uml model
>
> Is this correct?
>
> Best regards,
> Frank
>
> Hugo Bruneliere schrieb:
>> Dear Frank,
>>
>> Within the Eclipse/GMT MoDisco component, there is a complete use case
>> concerning the computation and visualization of metrics on Bugzilla
>> models: http://www.eclipse.org/gmt/modisco/useCases/BugzillaMetrics/
>>
>> This may give you some ideas about how it is possible to produce
>> metrics from any kind of models (including UML models) and then to
>> build different visualizations of these metrics (in HTML, Excel, SVG,
>> etc), all the steps of the overall process being implemented by M2M
>> transformations (using ATL).
>>
>> Best regards,
>>
>> Hugo
>>


--
--------------------------------------------------------
Hugo Bruneliere - R&D Engineer
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssiniere
44322 Nantes Cedex 3 - France
office +33 2 51 12 58 10 /\ cell.+33 6 07 42 45 30
EMail: Hugo.Bruneliere@univ-nantes.fr
http://www.sciences.univ-nantes.fr/lina/atl/
--------------------------------------------------------
Re: Model metrics and model difference [message #29040 is a reply to message #27185] Wed, 04 April 2007 08:39 Go to previous message
Eclipse UserFriend
Originally posted by: Hugo.Bruneliere.univ-nantes.fr

Hi Frank,

I just want to tell you that the "Metrics Visualization Builder" project
(I talked about in my previous email) has been committed to the
Eclipse/GMT MoDisco toolbox:

http://www.eclipse.org/gmt/modisco/toolBox/MetricsVisualizat ionBuilder/

Best regards,

Hugo

Hugo Bruneliere a écrit :
> Hi Frank,
>
> Yes this is correct, this is the general process we used during our
> different experiments on building metrics from various kinds of models.
>
> You can define your own metrics metamodel (using the simple KM3 language
> for example http://wiki.eclipse.org/index.php/KM3). You may also reused
> the generic one provided within the "Bugzilla Metrics" MoDisco use case
> (and thus be able to also reuse the set of generic transformations for
> building metrics visualizations).
> Concerning this last point, we will provide soon in the MoDisco toolbox
> (available from http://www.eclipse.org/gmt/modisco/) an ATL project
> gathering these generic transformations for building metrics
> visualizations.
>
> Best regards,
>
> Hugo
>
> Frank Jensen a écrit :
>> Hi Hugo,
>>
>> thank you very much. I have seen that example before but didn't get
>> the point, My imagination of what a modell is used to be a bit limited
>> I suppose :-)
>>
>> If I get things right, then I could calculate the metrics of an uml
>> file when I
>> 1. take a proper uml meta model (like the one in the zoo)
>> 2. define a proper metrics meta model (like the one in km32metrics)
>> 3. define an approriate transformation between 1. and 2.
>> 4. execute atl on an arbitrary uml model
>>
>> Is this correct?
>>
>> Best regards,
>> Frank
>>
>> Hugo Bruneliere schrieb:
>>> Dear Frank,
>>>
>>> Within the Eclipse/GMT MoDisco component, there is a complete use
>>> case concerning the computation and visualization of metrics on
>>> Bugzilla models:
>>> http://www.eclipse.org/gmt/modisco/useCases/BugzillaMetrics/
>>>
>>> This may give you some ideas about how it is possible to produce
>>> metrics from any kind of models (including UML models) and then to
>>> build different visualizations of these metrics (in HTML, Excel, SVG,
>>> etc), all the steps of the overall process being implemented by M2M
>>> transformations (using ATL).
>>>
>>> Best regards,
>>>
>>> Hugo
>>>
>
>


--
--------------------------------------------------------
Hugo Bruneliere - R&D Engineer
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssiniere
44322 Nantes Cedex 3 - France
office +33 2 51 12 58 10 /\ cell.+33 6 07 42 45 30
EMail: Hugo.Bruneliere@univ-nantes.fr
http://www.sciences.univ-nantes.fr/lina/atl/
--------------------------------------------------------
Previous Topic:[ATL] : java.lang.NullPointerException
Next Topic:java.util.EmptyStackException
Goto Forum:
  


Current Time: Tue Mar 19 11:25:22 GMT 2024

Powered by FUDForum. Page generated in 0.48226 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top