CONTENTS DELETED
The author has deleted this message.
|
On Sep 11, 2011, at 9:21 PM, Júlio Martins wrote: > Hi people! > > I was learning about mse file and I noticed that it record a set of metrics. I would like to know what metrics are aseessed during the pasring to mse file? > I need to generate some especific metric, but first I want to know what metrics are avaible to me take a better decision to implement this. have in some place a list of metrics avaible? Hi julio Metrics are not computed during the parsing of MSE files. There are two kinds of metrics: - some that are computed at FAMIX extraction time (for example cyclomatic complexity, LOC) - the other metrics are computer when there are needed (number of variables, number of methods) > An another question, if were the case, I needed to create my especific metric. Would be possible implement this? Sure Normally adding a metrics in Moose is a question of minutes. Have a look at numberOfMethods for an example Stef > > See ya! > Julio Martins > > View this message in context: MSE file and Metrics > Sent from the Moose mailing list archive at Nabble.com. > _______________________________________________ > 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 |
CONTENTS DELETED
The author has deleted this message.
|
Hi, actually, it also depends on how you generate the MSE file. The ones your are looking at were created with infusion I believe. VerveineJ extracts only two metrics: - number of instruction - Cyclomatic complexity. The reason is that these two cannot be computed from the data we have in the meta-model. Anything that can be computed from the metamodel (e.g. dependencies between packages/classes/methods) should be done in Moose. I believe Infusion as a different approach and computes much more things because it can used standalone. As for the metrics in moose, you can use the pragmas or not. Using the pragmas will allow your metric to appear automagically in the moose browser (in the metric tab). If you don't put the pragma, you can still use it, but only in your programs nicolas De: "Jùlio" <[hidden email]> _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |