Dear List,
When I am browsing a Java model, let's say ArgoUML, I cannot browse
the source code of the model.
Pressing 'Browsing source code' when right clicking on an entity seems
ineffective.
Is there a way to fix this? If no, I could work on this. Any hint
where to start?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
is there a good web site about oo metrics ? I need to get an overview
over different metrics (independent if moose implement them or not)
Greetings
Hans
We are on freenode
irc://chat.freenode.net/fame-dev
cheers,
AA
> Any way to remotely join (mostly as an observer)?
>
> Thanks ... Sophie
>
> ----- Original Message -----
>
> > Dear All,
> >
> > this Friday, a Fame sprint will take place in Bern.
> >
> > Program
> > - 11:00 rehearsal of Models at Runtime presentation.
> > - Afterwards, happy hacking and pair programing.
> >
> > Links
> > - http://www.iam.unibe.ch/~akuhn/d/Kuhn-2008-MRT-Fame.pdf
> > - http://smallwiki.unibe.ch/fame/issues
> >
> > You are welcome to participate and/or attend the rehearsal.
> >
> > @Moose - if you have feature requests, please reply to this mail or
> > add them on the wiki page! For example, I have seen that you are
> > about to impl a visitor, this sounds like a nice job for Fame code
> > generation.
> >
> > cheers,
> > Adrian
> >
> > --
> > Adrian Kuhn
> > Software Composition Group
> > University of Bern, Switzerland
> > http://www.iam.unibe.ch/~akuhn
> > _______________________________________________
> > Moose-dev mailing list
> > Moose-dev at iam.unibe.ch
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
can we get all the packages from a list of classes?
Doru
is there a way that the script does not just need a predicate and
return a subset but can get a full block
If I have a list of classes I would like to get a group with all the
packages of the classes.
So a kind of flatCollect on the result
Stef
Dear All,
this Friday, a Fame sprint will take place in Bern.
Program
- 11:00 rehearsal of Models at Runtime presentation.
- Afterwards, happy hacking and pair programing.
Links
- http://www.iam.unibe.ch/~akuhn/d/Kuhn-2008-MRT-Fame.pdf
- http://smallwiki.unibe.ch/fame/issues
You are welcome to participate and/or attend the rehearsal.
@Moose - if you have feature requests, please reply to this mail or
add them on the wiki page! For example, I have seen that you are
about to impl a visitor, this sounds like a nice job for Fame code
generation.
cheers,
Adrian
--
Adrian Kuhn
Software Composition Group
University of Bern, Switzerland
http://www.iam.unibe.ch/~akuhn
Hi all,
I would like to add some properties in the list "Select properties to
add:" when I push "+" button.
I have added this in my fonction in FamoosClass :
<property: #LCOM1
longName: 'Lake of cohesion'
description: 'Lake of cohesion'
>
but it don't appear in the list.
Thanks for help
Jannik
On 22 Sep 2008, at 16:37 , Holger Guhl wrote:
> The project is for company CAST that has software for software
> quality assessment.
I know them, that's cool!
> I have a simple question: Do you have more analysis methods and
> metrics that are not yet published with Moose?
You can find a pre-release of (some of) my current work here
http://www.iam.unibe.ch/~akuhn/d/Kuhn-2008-WCRE-SoftwareMap.pdf
> And how about correctness of the measured values? The class comment
> states: "Right now only Number of MessageSends is computed in a
> correct manner." On the first glance, I cannot see which of the
> measured values could be wrong. Any hint on inappropriate
> computation or improvement would be appreciated. The only thing I
> see a bit confusing is the computation of two McCabe numbers
> #cyclomaticNumber and #cyclomaticNumber2. Unfortunately, the class
> comment does not tell enough.
Correctness of measured values is a big issue. The correctness of the
numbers that Moose produces is unknown. Even such simple measurements
as the number of classes or method invocations might be wrong! Why?
Moose uses the FAMIX model that has the aim to be language
independent, which can only be achieved at the cost of less
precision. Famix is this a lossy representation of software rather
than precise, think JPEG vs PNG. For that reason I suggested some
time ago to add an error range to all numbers, and started to take a
look at some of the numbers. That is why there are two diff McCabe
measurements. As far I recall, #cyclomaticNumber2 is more correct
than #cyclomaticNumber. I only looked at McCabe and found it is not
correct, so I guess other measurements need careful review too. But
alas, I did not have time to complete that work...
cheers,
AA
Hi All,
I would like to use iplasma and I have some questions about it :
- is it always maintained ?
- is there any important bugs ?
- have you any idea about its future evolution ?
Thanks
Jannik
Hi all
in FAMIX2Class I have
metamodelBelongsTo
^(Property
name: #belongsTo
type: FAMIX2Namespace)
strategy: MooseStrategy;
oppositeName: #class;
isComposite: true;
yourself
What is a MooseStrategy: an object that controls the way objects are
stored
but it looks like only used in Meta.
Stef
Hi all
I have
metamodelBelongsTo
^(Property
name: #belongsTo
type: FAMIX2Namespace)
strategy: MooseStrategy;
oppositeName: #class;
isComposite: true;
yourself
But Property is a Meta related entity so should we remove Property and
the methods using it?
Who said that it was obvious :(
Stef
Hello Jacopo,
You cannot model initializers in FAMIX (neither field initialization,
nor instance or static initialization blocks). The same applies for
doublebrace initialization, and many other features of Java. The main
reason why is that Famix is supposed to be language independent and
thus a lossy model of software rather than a precise one, think of
JPEG vs GIF. Which is okay as long Famix is used for coarse-grained
high-level analysis, it is obvious that Famix would be a bad choice
for eg program transformation.
But you best address this question to the Moose mailing list (see
foward in CC). Fame is about the (meta)metamodeling-infrastructure
only, not about concrete metamodels such as Famix. I have left the
Moose team start fo this year, and maybe what I just said above is
obsolete in the meantime...
cheers,
AA
On 16 Sep 2008, at 12:11 , Jacopo Malnati wrote:
> Hello everybody,
>
> still in the context of exporting Java code to MSE, I don't know
> how to handle a dependency that comes from the initialization of a
> class field.
>
> Let's say that a class has a field "myField" of type "MyType" and
> that it gets declared in the body of the class and initialized with
> a constructor, in place.
> Something like:
>
> MyClass {
> MyType myField = new MyType(...)
>
> }
>
> Now, this is an invocation (of a constructor) but in Famix 2.2 an
> invocation is between 2 AbstractBehaviouralEntity and in this case,
> it's not. In fact the initialization of a class field can be
> outside any method, therefore I don't know how to model this
> dependency.
>
> Is there any way I can model it? Or Famix 2.2 doesn't allow me to
> model this situation?
>
> Thanks :)
>
> Jacopo
Hi,
Thanks for the report. I know that MooseSuiteLoader parcel has
problems connecting to our store for some strange reasons, but I do
not have errors loading the latest version of Moose.
If you want to try to load the latest version, please just load the
package "Moose Config". This one has as prerequisites the various
components of Moose. We usually set the "Load the latest Development"
setting before loading.
If you try it, please tell us if you still get the error.
Cheers,
Doru
On Sep 8, 2008, at 5:56 PM, Holger Guhl wrote:
> Hi, folks,
> maybe I'm not the first one to mention, but I have some problems when
> loading the recent Moose Suite using the MooseSuiteLoader parcel. I
> got
> two unloadable reports:
>> Warning: Package "Clustering" cannot be loaded.
>>
>> The following classes cannot be loaded because their superclasses are
>> neither in the image nor in the package being loaded:
>> ClusteringData (subclass of Root.Smalltalk.Hapax.SymetricMatrix)
>> VectorItem (subclass of Root.Smalltalk.Hapax.VectorDecorator)
>> ClusteringVector (subclass of Root.Smalltalk.Hapax.ArrayVector)
>> DistanceSquare (subclass of Root.Smalltalk.Hapax.SymetricMatrix)
>> CorrelationVector (subclass of Root.Smalltalk.Hapax.Vector)
>>
>> Warning: Package "SmallDudeUtils" cannot be loaded.
>>
>> The following classes cannot be loaded because their superclasses are
>> neither in the image nor in the package being loaded:
>> BooleanSymetricMatrix (subclass of
>> Root.Smalltalk.Hapax.SymetricMatrix)
>> BooleanVector (subclass of Root.Smalltalk.Hapax.Vector)
>> BooleanMatrix (subclass of Root.Smalltalk.Hapax.Matrix)
>>
> I could fix it by manually loading LinearAlgebra
> (2.1.72.matter.1,matter)= and then reload the packages listed above. I
> hope it was correct to use the most recent versions.
> The next problem I had was (after pressing the "Moose" button in the
> VisualLauncher)
> Unhandled exception: Key not found:
> during SCG.Moose.MooseBrowser class>>buildHistoryIcon
> The method wants to retrieve an icon from ToolbarIconLibrary.
> This can easily be fixed: Just add UIPainter to the prerequisites.
>
> Best regards
>
> Holger Guhl
> --
> Senior Consultant * Certified Scrum Master * Holger.Guhl(a)heeg.de
> Tel: +49 231 9 75 99 21 * Fax: +49 231 9 75 99 20
> Georg Heeg eK Dortmund
> Handelsregister: Amtsgericht Dortmund A 12812
>
> _______________________________________________
> Moose mailing list
> Moose(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose
--
www.tudorgirba.comwww.tudorgirba.com/blog
"Some battles are better lost than fought."
Begin forwarded message:
> From: Holger Guhl <holger(a)heeg.de>
> Date: September 8, 2008 5:56:47 PM CEDT
> To: moose(a)iam.unibe.ch
> Subject: [Moose] Some problems when loading recent Moose Suite
>
> Hi, folks,
> maybe I'm not the first one to mention, but I have some problems when
> loading the recent Moose Suite using the MooseSuiteLoader parcel. I
> got
> two unloadable reports:
>> Warning: Package "Clustering" cannot be loaded.
>>
>> The following classes cannot be loaded because their superclasses are
>> neither in the image nor in the package being loaded:
>> ClusteringData (subclass of Root.Smalltalk.Hapax.SymetricMatrix)
>> VectorItem (subclass of Root.Smalltalk.Hapax.VectorDecorator)
>> ClusteringVector (subclass of Root.Smalltalk.Hapax.ArrayVector)
>> DistanceSquare (subclass of Root.Smalltalk.Hapax.SymetricMatrix)
>> CorrelationVector (subclass of Root.Smalltalk.Hapax.Vector)
>>
>> Warning: Package "SmallDudeUtils" cannot be loaded.
>>
>> The following classes cannot be loaded because their superclasses are
>> neither in the image nor in the package being loaded:
>> BooleanSymetricMatrix (subclass of
>> Root.Smalltalk.Hapax.SymetricMatrix)
>> BooleanVector (subclass of Root.Smalltalk.Hapax.Vector)
>> BooleanMatrix (subclass of Root.Smalltalk.Hapax.Matrix)
>>
> I could fix it by manually loading LinearAlgebra
> (2.1.72.matter.1,matter)= and then reload the packages listed above. I
> hope it was correct to use the most recent versions.
> The next problem I had was (after pressing the "Moose" button in the
> VisualLauncher)
> Unhandled exception: Key not found:
> during SCG.Moose.MooseBrowser class>>buildHistoryIcon
> The method wants to retrieve an icon from ToolbarIconLibrary.
> This can easily be fixed: Just add UIPainter to the prerequisites.
>
> Best regards
>
> Holger Guhl
> --
> Senior Consultant * Certified Scrum Master * Holger.Guhl(a)heeg.de
> Tel: +49 231 9 75 99 21 * Fax: +49 231 9 75 99 20
> Georg Heeg eK Dortmund
> Handelsregister: Amtsgericht Dortmund A 12812
>
> _______________________________________________
> Moose mailing list
> Moose(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose
Hi.
I am quite interested in using this to have more explicit representation of
my models, and get some of the boiler-plate bits like accessors for 2-way
associations code-generated. Is there anything like a short tutorial to help
get started? I don't expect to be doing fancy meta-meta things for some
time.
Thanks! -- Sophie
Hi,
| class |
class := FAMIXClass new.
class name: 'AClass'.
class addToMethods: (FAMIXMethod new name: 'aMethod'; yourself).
class addToMethods: (FAMIXMethod new name: 'anotherMethod'; yourself).
(class mooseDescription allAttributes detect: [:p | p name ==
#methods]) getFrom: class
The following code returns:
an Array(an OrderedCollection(a FAMIXMethod #aMethod a FAMIXMethod
#anotherMethod))
Shouldn't it be instead?:
an OrderedCollection(a FAMIXMethod #aMethod a FAMIXMethod
#anotherMethod)
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Fabrizio,
The problem is that CodeCrawler is not maintained since several years
and it probably does not work with the latest version of Moose. So, I
do not have an answer for you :(.
Cheers,
Doru
On Sep 5, 2008, at 12:23 PM, Fabrizio Faustinoni wrote:
>
> Ok, i found how to install codeCrawler, but , i alwas more error....
> can you help me? thx
>
>
> From: fabry_00(a)hotmail.com
> To: girba(a)iam.unibe.ch
> Subject: RE: [Moose] problem install
> Date: Fri, 5 Sep 2008 12:07:40 +0200
>
> Thanks,Thanks,Thanks,Thanks for the help!!!!
>
> So, i follow the instruction ( there was another error ( error.jpg
> attached) i pushed continue, but i thing that it isn't important) (i
> try to load internalRelease and after Development, i have always the
> same error), after tathl i didn't see the codeCrawler Icon as in
> this videohttp://www.inf.unisi.ch/faculty/lanza/codecrawler.html .
> So, after, i try again to load MooseSuiteLoaderFromSCGStore again,
> but ther'is the same error that i posted befor!
> How do i install codeCrawler?
> Thanks again!.
> Fabrizio
>
>
>
> > CC: moose-dev(a)iam.unibe.ch
> > From: girba(a)iam.unibe.ch
> > To: fabry_00(a)hotmail.com
> > Subject: Re: [Moose] problem install
> > Date: Fri, 5 Sep 2008 10:22:34 +0200
> >
> > Hi Fabrizio
> >
> > Please try again, this time following the instructions from:
> > http://moose.unibe.ch/download/scgstore
> >
> > Cheers,
> > Doru
> >
> > On Sep 5, 2008, at 9:21 AM, Fabrizio Faustinoni wrote:
> >
> > > Good Morning, I am a student of University of MILAN (italy)
> > > (università degli studi milano bicocca),
> > > I need to install CodeDrawler ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> > > ),
> > > I follow the seguent instruction ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> > > ) for install visualWorks, but after that i load
> > > MooseSuiteLoaderFromSCGStore.pcl ( from the file brower of
> > > visualWorks), it asked me to "Download lastest moose suite
> > > development Version", then i click OK, after some operations there
> > > is an error (attached images ), i try to solve de error but i
> > > failed! Can you help me?
> > > THanx and sorry for my bad english.
> > > Fabrizio
> > >
> > > Scopri i nuovi giochi per il tuo Messenger. Mettiti in gioco!
> > > _______________________________________________
> > > Moose mailing list
> > > Moose(a)iam.unibe.ch
> > > https://www.iam.unibe.ch/mailman/listinfo/moose
> >
> > --
> > www.tudorgirba.com
> > www.tudorgirba.com/blog
> >
> > "If you interrupt the barber while he is cutting your hair, you will
> > end up with a messy haircut."
> >
>
> Foto, blog, amici. crea il tuo spazio online! C'è Spaces!
> Scopri i nuovi giochi per il tuo Messenger. Mettiti in gioco!
> <error2.JPG><error.JPG>
--
www.tudorgirba.comwww.tudorgirba.com/blog
"The coherence of a trip is given by the clearness of the goal."
Begin forwarded message:
> From: Fabrizio Faustinoni <fabry_00(a)hotmail.com>
> Date: September 5, 2008 9:21:23 AM CEDT
> To: <moose(a)iam.unibe.ch>
> Subject: [Moose] problem install
>
> Good Morning, I am a student of University of MILAN (italy)
> (università degli studi milano bicocca),
> I need to install CodeDrawler ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> ),
> I follow the seguent instruction ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> ) for install visualWorks, but after that i load
> MooseSuiteLoaderFromSCGStore.pcl ( from the file brower of
> visualWorks), it asked me to "Download lastest moose suite
> development Version", then i click OK, after some operations there
> is an error (attached images ), i try to solve de error but i
> failed! Can you help me?
> THanx and sorry for my bad english.
> Fabrizio
>
> Scopri i nuovi giochi per il tuo Messenger. Mettiti in gioco!
> _______________________________________________
> Moose mailing list
> Moose(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose
Hi Fabrizio
Please try again, this time following the instructions from:
http://moose.unibe.ch/download/scgstore
Cheers,
Doru
On Sep 5, 2008, at 9:21 AM, Fabrizio Faustinoni wrote:
> Good Morning, I am a student of University of MILAN (italy)
> (università degli studi milano bicocca),
> I need to install CodeDrawler ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> ),
> I follow the seguent instruction ( http://moose.unibe.ch/download?_s=lKodFeROpiPCfJhz&_k=KMXuKpsl&_n&80
> ) for install visualWorks, but after that i load
> MooseSuiteLoaderFromSCGStore.pcl ( from the file brower of
> visualWorks), it asked me to "Download lastest moose suite
> development Version", then i click OK, after some operations there
> is an error (attached images ), i try to solve de error but i
> failed! Can you help me?
> THanx and sorry for my bad english.
> Fabrizio
>
> Scopri i nuovi giochi per il tuo Messenger. Mettiti in gioco!
> _______________________________________________
> Moose mailing list
> Moose(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose
--
www.tudorgirba.comwww.tudorgirba.com/blog
"If you interrupt the barber while he is cutting your hair, you will
end up with a messy haircut."
So can somebody smart explain to me the following
before in Squeak incomingInvocations was
incomingInvocations
incomingInvocations isNil ifTrue: [ incomingInvocations :=
OrderedCollection new ].
in oscar changes it is
incomingInvocations
<MSEProperty: #incomingInvocations type: #FAMIXInvocation opposite:
#candidates> <mulivalued> <derived>
^ incomingInvocations values
So what should I do.
Because now I do not know! But I'm certainly stupid for sure.
What I know is that this metastuff gets in our way.
I do not care about reproducing complete code (which we cannot in FAME
because lazy initialization and other useful code level
idioms are not represented) and now instead of focusing on Moose I
have to deal with meta representation concerns.
Really I think that we got trapped there.
Knowing where to stop is as important as doing it. Next time I will
fight really hard against any smart cleaner cooler meta meta stuff.
Which is sad because I know what I'm talking about.
Stef