Analyzing many large projects

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Analyzing many large projects

abergel
Hi!

I am currently analyzing 80 Pharo applications for which I need to compute for each class of these 80 applications, the lcom2 and lcom3 metrics.
Computing these metrics needs to have the attributes, methods, and access in the moose model. Which is rather heavy. I have tried to augment the memory setting given to the VM, but this does not work much. For now, I am trying to run moose as follows:

/Users/alexandrebergel/Dropbox/PharoVM/Pharo.app/Contents/MacOS/Pharo  -memory 5000m /Users/alexandrebergel/Downloads/moose-5-10/moose-5.0.image

Is there an alternative to this? What I could do, is for each project, create a full model, call #lcom2 and #lcom3 on each class to compute the metric, and then trim out the model by removing what I do not need (everything except FAMIXClass). Is there an easy way to do such a transformation on a moose model?

Cheers,
Alexandre

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Analyzing many large projects

jfabry

Mircea gave me a demo last week of his work on Pangea. I think it could be of help in your case.

On May 5, 2014, at 11:12 AM, Alexandre Bergel <[hidden email]> wrote:

> Hi!
>
> I am currently analyzing 80 Pharo applications for which I need to compute for each class of these 80 applications, the lcom2 and lcom3 metrics.
> Computing these metrics needs to have the attributes, methods, and access in the moose model. Which is rather heavy. I have tried to augment the memory setting given to the VM, but this does not work much. For now, I am trying to run moose as follows:
>
> /Users/alexandrebergel/Dropbox/PharoVM/Pharo.app/Contents/MacOS/Pharo  -memory 5000m /Users/alexandrebergel/Downloads/moose-5-10/moose-5.0.image
>
> Is there an alternative to this? What I could do, is for each project, create a full model, call #lcom2 and #lcom3 on each class to compute the metric, and then trim out the model by removing what I do not need (everything except FAMIXClass). Is there an easy way to do such a transformation on a moose model?
>
> Cheers,
> Alexandre
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Analyzing many large projects

Andrei Chis
Yes, Pangea could help you: http://scg.unibe.ch/research/pangea

Right now in pangea we start from from a collection of java systems (+100) generate for each the mse, generate for each an image.
When you run an analysis we run the analysis in each image (in parallel) and give you the results.

However, you'll need to add your collection of systems as a new corpus in Pangea.
That should go more or less without problems, but we didn't really test that yet.

Cheers,
Andrei


On Mon, May 5, 2014 at 5:30 PM, Johan Fabry <[hidden email]> wrote:

Mircea gave me a demo last week of his work on Pangea. I think it could be of help in your case.

On May 5, 2014, at 11:12 AM, Alexandre Bergel <[hidden email]> wrote:

> Hi!
>
> I am currently analyzing 80 Pharo applications for which I need to compute for each class of these 80 applications, the lcom2 and lcom3 metrics.
> Computing these metrics needs to have the attributes, methods, and access in the moose model. Which is rather heavy. I have tried to augment the memory setting given to the VM, but this does not work much. For now, I am trying to run moose as follows:
>
> /Users/alexandrebergel/Dropbox/PharoVM/Pharo.app/Contents/MacOS/Pharo  -memory 5000m /Users/alexandrebergel/Downloads/moose-5-10/moose-5.0.image
>
> Is there an alternative to this? What I could do, is for each project, create a full model, call #lcom2 and #lcom3 on each class to compute the metric, and then trim out the model by removing what I do not need (everything except FAMIXClass). Is there an easy way to do such a transformation on a moose model?
>
> Cheers,
> Alexandre
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Analyzing many large projects

abergel
I will grab Mircea today

Alexandre


On May 5, 2014, at 11:38 AM, Andrei Chis <[hidden email]> wrote:

> Yes, Pangea could help you: http://scg.unibe.ch/research/pangea
>
> Right now in pangea we start from from a collection of java systems (+100) generate for each the mse, generate for each an image.
> When you run an analysis we run the analysis in each image (in parallel) and give you the results.
>
> However, you'll need to add your collection of systems as a new corpus in Pangea.
> That should go more or less without problems, but we didn't really test that yet.
>
> Cheers,
> Andrei
>
>
> On Mon, May 5, 2014 at 5:30 PM, Johan Fabry <[hidden email]> wrote:
>
> Mircea gave me a demo last week of his work on Pangea. I think it could be of help in your case.
>
> On May 5, 2014, at 11:12 AM, Alexandre Bergel <[hidden email]> wrote:
>
> > Hi!
> >
> > I am currently analyzing 80 Pharo applications for which I need to compute for each class of these 80 applications, the lcom2 and lcom3 metrics.
> > Computing these metrics needs to have the attributes, methods, and access in the moose model. Which is rather heavy. I have tried to augment the memory setting given to the VM, but this does not work much. For now, I am trying to run moose as follows:
> >
> > /Users/alexandrebergel/Dropbox/PharoVM/Pharo.app/Contents/MacOS/Pharo  -memory 5000m /Users/alexandrebergel/Downloads/moose-5-10/moose-5.0.image
> >
> > Is there an alternative to this? What I could do, is for each project, create a full model, call #lcom2 and #lcom3 on each class to compute the metric, and then trim out the model by removing what I do not need (everything except FAMIXClass). Is there an easy way to do such a transformation on a moose model?
> >
> > Cheers,
> > Alexandre
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
>
>
>
> ---> Save our in-boxes! http://emailcharter.org <---
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev