On 19 Oct 2010, at 12:26, Simon Denier wrote:
On 19 oct. 2010, at 11:48, Cyrille Delaunay wrote:
> You can try with the moose-suite provided here:
> I build a model from Merlin. Then export and import it. Normaly you should not be
able to open a SystemComplexity view.
I can't reproduce the problem with a latest dev.
I did exactly this and it works fine:
- import the package named Merlin
- export the model into merlin.mse
- import the model from merlin.mse
- spawn System Complexity on both all famixclasses, and on allmodelclasses and everything
works fine, except that there is no color.
> Should the property be annoted with 'fame' pragmas, or is it better to modify
the exporter to take into account the current used pragmas
Problem is, before exporting the metric, you have to compute the value, and then it takes
a lot of time and the mse file gets quite big. Metrics used to be included in older mse,
but we exclude them since most of the time we can compute them again. Note that infusion
does export some metrics.
Now what we need is a way to select what we want to export in the mse. I think that an
incremental metamodel builder is the way to go. I don't want metrics to be included in
the default metamodel, there are too many of them.
I would say that the metrics that we want to have exported should be explicitly annotated
with Fame descriptions. This would be useful for things like lines of code or cyclomatic
complexity, which are primitive metrics that cannot be computed out of the model alone.
> 2010/10/19 Tudor Girba <tudor.girba(a)gmail.com>
> Hi Cyrille,
> I cannot reproduce that. Could you send a small sample MSE, or at least point to
which model you try?
> In any case, the exporter does not export the properties that are just marked with
<property:longName:description:> pragmas, although it would be nice if it would do
> On 19 Oct 2010, at 10:49, Cyrille Delaunay wrote:
> > Hello,
> > I have a smalltalk moose-model, for which I can display SystemComplexity. All
work fine. Then I export it as MSE and then import it from the MSE file. When I try to
reopen System-complexity all seem to be broken (I have a red square).
> > Does that means that the model is not well exported ? Maybe some required
properties are not described by correct FAame-Pragmas, and are therefore not exported ?
> > _______________________________________________
> > Moose-dev mailing list
> > Moose-dev(a)iam.unibe.ch
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> "We cannot reach the flow of things unless we let go."
> Moose-dev mailing list
> Moose-dev mailing list
Moose-dev mailing list
"Reasonable is what we are accustomed with."