Hi,
I want to redefine the soft engineering metrics (in famix-extension-metrics) using MooseChef which is more concise and generic.
But for this I need to remove the implicit withoutSelfLoops from some query.
If anybody has something agains this removal, let him come forth and speak now or remain silent forever and ever.
Here is an example of how nice MooseChef can be.
Consider:
myClasses collect: [:c | c queryAllOutgoingDependencies atClassScope withinMyPackage]
instead of:
myClasses collect: [:c | (c invokedClasses select: [:invoked | invoked packageScope = self])
union:
((c superclass isNil not and: [c superclass packageScope = self])
ifTrue: [{c superclass}]
ifFalse: [#()])]
Hi Tudor!
Thanks for help!
During the time when I was trying to understand how to populate a chart
model, I had the impression that charts need an instance of Collection to
work properly. You used a specie of Collection too in your example, so it
seems that I was correct in my supposition. I tried use an instance of Set
to populate a model but I was not able to get a result, only when I choose
an instance of OrderedCollection i was able to construct the chart.
Take advantage of your example, I would like to know how increases the
space between the bars of a vertical bar chart. When there is many data to
show, the bar diminish and when I try increase the size of a bar, all bars
gets united and the visualization gets bad,
On 30 November 2011 12:05, Tudor Girba-2 [via Smalltalk] <
ml-node+s1294792n4123105h44(a)n4.nabble.com> wrote:
> Hi,
>
> Here is a simple example:
> chart := ESDiagramRenderer new.
> chart verticalBarDiagram
> y: [:eachAssociation | eachAssociation value];
> identifier: [:eachAssociation | eachAssociation key];
> regularAxis;
> models: {'a'->3 . 'b'->30 . 'c'->12}.
> chart open
>
> The input is the collection of association. For each entry, you will
> get a bar, where the size of the bar is provided by executing the y
> block, and the label associated with the bar will be provided by
> executing the identifier block.
>
> If you give us more details, we can probably help more.
>
> Cheers,
> Doru
>
> On Wed, Nov 30, 2011 at 2:58 PM, Andre Hora <[hidden email]<http://user/SendEmail.jtp?type=node&node=4123105&i=0>>
> wrote:
>
> > What is specifically your problem?
> > To better understand EyeSee you can check the examples in ESExamples.
> They
> > are very simple and intuitive.
> > The model you pass to EyeSee is independent of "type of data". You can
> pass
> > a MooseGroup, a collection, etc.
> >
> > 2011/11/30 Júlio Martins <[hidden email]<http://user/SendEmail.jtp?type=node&node=4123105&i=1>>
>
> >>
> >> Hi!
> >>
> >> I need create a vertical bar chart with and I am having some difficulty
> to
> >> deal of EyeSee technology.
> >>
> >> My great difficulty is populate the chart model with correct data that
> >> will appear in my chart. I cannot understand what type of data this
> model
> >> accept, for example I tryed to put an instance of MooseGroup, but it
> didn't
> >> work.
> >> I search for some help, but the only thing that i found was examples of
> >> charts between classes of EyeSee, but this examples don't talk for
> itself
> >> because it haven't any comments.
> >>
> >> Might someone help to understand better the EyeSee?
> >>
> >> Thanks in advance
> >> Julio Martins
> >>
> >> ________________________________
> >> View this message in context: EyeSee
> >> Sent from the Moose mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email] <http://user/SendEmail.jtp?type=node&node=4123105&i=2>
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >
> >
> >
> > --
> > Andre Hora
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4123105&i=3>
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4123105&i=4>
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://forum.world.st/EyeSee-tp4122989p4123105.html
> To start a new topic under Moose, email
> ml-node+s1294792n1310756h25(a)n4.nabble.com
> To unsubscribe from Moose, click here<http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&no…>
> .
> NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instan…>
>
--
View this message in context: http://forum.world.st/EyeSee-tp4127930p4127930.html
Sent from the Moose mailing list archive at Nabble.com.
Hi,
Is it possible to display a tooltip when selecting an item of a list?
Like the popupText in Mondrian.
I found helpMessage, but it seems to be used only for searching... couldn't really see it working.
Best Regards,
Veronica
Hi!
I need create a vertical bar chart with and I am having some difficulty to
deal of EyeSee technology.
My great difficulty is populate the chart model with correct data that will
appear in my chart. I cannot understand what type of data this model
accept, for example I tryed to put an instance of MooseGroup, but it didn't
work.
I search for some help, but the only thing that i found was examples of
charts between classes of EyeSee, but this examples don't talk for itself
because it haven't any comments.
Might someone help to understand better the EyeSee?
Thanks in advance
Julio Martins
--
View this message in context: http://forum.world.st/EyeSee-tp4122989p4122989.html
Sent from the Moose mailing list archive at Nabble.com.
Hi,
I just wanted to let you know that over the past days I spent some
time resurrecting Dynamix, the implementation of a meta-model for
dynamic analysis.
I will probably finish working on it in the following couple of weeks.
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
HI guys
we will send the following version of a deliverable to the ANR.
We plan to use this version (and its follow up) to describe FAMIX30 officially.
Any feedback is welcome. I should thank doru for the diagrams (I put you as a co-author and if you do not want I can remove you).
We will maintain this version
+ add a hal entry and a bib entry for it.
I will send it around.
stef
Alex
two remarks:
- what is the level of reification because we reify a lot and it can be discarded.
- did you check the orion model
because with orion you only represent the delta and this is a big difference.
Stef
On Nov 24, 2011, at 2:05 PM, Alexandre Bergel wrote:
> Having a reification in Moose of 100 versions of Mondrian for example :-)
>
> Just answering the question 'Which classes and methods of Mondrian have changed more than 10 times since the day Mondrian was born?' cannot be easily done without a lot of memory
>
> Alexandre
>
>
> On 24 Nov 2011, at 03:27, Francois Stephany wrote:
>
>> I'm wondering: how big is a dataset > 500MB ? I've no idea how big it is.
>> Alex, what is your use case (in practice!) for more than 500MB?
>>
>> On 23/11/11 18:25, Igor Stasenko wrote:
>>> It is problematic, and requires different memory management than we
>>> currently have.
>>> I think if you need really big data sets, then use gemstone, which is
>>> developed to deal with that specifically.
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
Hi,
I have some problem to import a moose model that i have previously exported.
The error that appear is the following:
'Element ''Famix'' not found.'
The MSE exported from the MooseModel is attached.
The elements of the model contain a method "annotation" that look like this:
annotation
<MSEClass: #Column super: #FAMIXRelationalEntity>
<package: #FAMIX>
Once i have the moose model i export it with "exportToMSE" than i try to import the model again with "importFromMSE".
Any idea why i have that problem? Do you need more info to understand the problem?
Cheers,
Fabrizio
FAMIXBehaviouralEntity is an abstract superclass for any kind of behavior.
For example, functions and methods. It has a name because it is a named
entity but it also has a signature in the format: methodName(paramType1,
paramType2). The signature property is necessary for a behavioral entity.
An external parser should provide a few metrics that cannot be derived from
the model such as cyclomatic complexity, numberOfStatements and
numberOfConditionals. Other metrics can be computed from the model if
enough information is provided such as numberOfLinesOfCode (from source
anchor) and numberOfComments (from FAMIXComment).
It provides properties to manage:
(i) parameters
(ii) local variables
(iii) accesses to variables, and
(iv) invocations to and from other behavioural entities.
Optionally, it can also specify a declaredType (e.g. return types for
functions). This is useful for modeling behaviours from statically typed
languages.
Strange, the Fuel tests are green on my image and I have the last version of all packages.
Alexandre
On 23 Nov 2011, at 18:27, admin(a)moosetechnology.org wrote:
> See <http://hudson.moosetechnology.org/job/moose-latest-dev/710/>
>
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
I am building a small browser in Glamour to monitor events. I have a list such as:
constructor list
title: 'events';
display: [ :event | event allEvents ]
Is there a way to refresh the list once the Glamour GUI has showed up?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
We produced a test that shows a bug related to the classScope.
In Moose-Tests-SmalltalkImporter-LAN-AlexandreBergel.10 we added testClassVariable. This test fails. We need to make the appropriate change to make it pass. This bug prevents us from using MooseChef
In our local image we check the belongsTo in the method classScope. This makes mooseChef happy.
Anyone can have a look at it please?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
---------- Forwarded message ----------
From: Stéphane Ducasse <stephane.ducasse(a)inria.fr>
Date: Thu, Nov 24, 2011 at 1:14 PM
Subject: [Esug-list] 18 months Postdoc position in Reengineering available
To: ESUG Members <esug-list(a)lists.esug.org>
> From: Stéphane Ducasse <stephane.ducasse(a)inria.fr>
> Subject: 18 months Postdoc position in Reengineering available
> Date: November 23, 2011 9:52:01 AM GMT+01:00
> To: ERCIM WG Software Evolution ERCIM WG Software Evolution Mailing List <evol(a)lists.inf.unisi.ch>
>
> http://rmod.lille.inria.fr/web/pier/blog/2011-05-22
>
> Postdoc position in software engineering at University of Chile in cooperation with INRIA
>
> A post-doctoral research position is available with the Pleiad Lab (Universityof Chile) and the RMoD Group (INRIA Lille Nord Europe). The position is scheduled to start in January 2012, but earlier dates are possible. The phd should be defended no prior than 2010.
>
> The position is targeted for research on software maintenance and software visualization. Validation of research hypotheses will be carried out using the Pharo programming language. Experience with it, or any other Smalltalk dialect, is a plus (but not necessary).
>
> The postdoctoral researcher will be expected to develop independent research initiatives within the scope of the position, design and contribute to the research experiments conducted by Pleiad and RMoD. There is no teaching duty associated with this position.
>
> Both Pleiad and RMoD offer a creative, productive and multicultural staff and students, with many collaboration opportunities. Pleiad and RMoD have an extensive expertise and an advanced infrastructure related to software analysis, data mining, testing, meta-modeling and language semantics.
>
> The position is funded by INRIA for a period of 18 months. In order to foster the collaboration between France and Chili, the candidate will have to share his time between Lille, France and Santiago, Chile.
>
> The candidate must hold a PhD in computer science.
>
> Contact Persons:
>
> • Alexandre Bergel and Stéphane Ducasse
> • http://pleiad.dcc.uchile.cl
> • http://rmod.lille.inria.fr
> • http://www.pharo-project.org
> • http://www.moosetechnology.org
_______________________________________________
Esug-list mailing list
Esug-list(a)lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
--
www.tudorgirba.com
"Every thing has its own flow"
FamixInheritance>>name seems superflous because it overrides a superclass
method with the same behavior.
We tried to remove the entity but then a (seemingly unrelated) test is
failing in FamixModelExtractionTest>>testReferenceModel.
We didn't commit this change in the repository fearing that something might
fail.
Hi,
It looks like the commit activity is going up. Great!
The side effect is that we now run into concurrent changes and thus,
we need to deal with merges. As a discipline, please try to follow the
following routine:
- before commit, look at the changes
- commit (do not forget the descriptive comment :))
- after the commit, browse the remote repository to see if there is no
concurrent change
- if a concurrent change appeared, merge
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Hi Santiago,
I noticed that you committed a change to Famix-Core.
The comment says that the intention of the commit was to add WMC to
package. This is Ok.
The problem is that in the process, you also:
- deleted FAMIXClass>>isInterface and FAMIXClass>>isInterface:
- introduced null checks in core methods (classScope, packageScope and
namespaceScope)
I am sure that the first one was a mistake. But, for the second one
you should have raise it for discussion because it has to do with
changing the semantics of those methods.
In general, changes to Core classes should be treated with more care
(this is valid for me as well) :)
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 754 by alexandr...(a)gmail.com: MoosePanel and evaluation tab
http://code.google.com/p/moose-technology/issues/detail?id=754
The evaluation tab works with Cmd-o, but it operates only if the text is
selected. Which is awkward
Hi!
Apparently there is something wrong I do in the evaluation script pane in a MoosePanel.
How can I have the result of the script in the right most pane?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
We are currently implementing some statistics functionalities in Hismo.
The idea is to be able to identify correlation between two metrics, computing the standard deviation.
We will commit in a couple of hours.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
FAMIXAssociation is an abstract superclass for relationships between Famix
named entities. It defines a polymorphic API refined by subclasses:
essentially from, to, next and previous.
>From and To properties are abstract at this level, but specific
implementations can have multiple ends and properties.
For example, FAMIXInheritance has:
(i) From mapped to the subclass;
(ii) To mapped to the superclass.
Next and Previous properties provide an order of the appearence of these
associations in code. The order is calculated within a particular
relationship for example, method invocation order within a calling method
(from).
For example in java, the following code
method a() { b(); c(); }
will produce two invocation associations first from method a to method b,
and second from method a to method c. These associations are bound together
and can be navigated with previous and next.
Hi!
Metrics for smalltalk code are lazy computed. It is only when you send #numberOfLinesOfCode to a class or a method that the value is actually computed from the code present in the image.
The current schema is not really optimal when loading multiple versions.
The problem we are facing is that we need to manually call the metric methods after each version is loaded.
Is there a way to force the metrics to be computed while importing code?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
What is the different between objects represented
by FamixUnknownSourceLanguage and FamixCustomSourceLanguage?
Do we have an example to show the difference?
thanx
Usman and Nicolas