Hi Alexandre,

The CK Metric I am looking for is CBO (Coupling Between Object Classes) for a class. The entire CK metrics suite was proposed in 1994 and several measures are controversial in OO software (read more here: http://www.virtualmachinery.com/sidebar3.htm). So, thinking about my first request for "CK metrics", it might be hard to decide how to implement all of these for a general case that is FAMIX. 

Looking more into what's in MOOSE, I see that CBO for a class can be estimated as CBO <= fanIn + fanOut. The "true" CK CBO value should not count an afferent and efferent link twice if it is to/from the same class (it's why I use <= in the estimation). See more at http://stackoverflow.com/a/29877357/1168342 -- I think CBO defined this way would be easy to calculate for a FAMIX class, but I didn't look at fanIn and fanOut yet to see when/how/where they're calculated. 

I'm not sure how many people would want to see CBO in MOOSE. We're doing studies involving fault/change proneness, and CBO has been used as a measure quite often in published research in that area. It's why it would be useful to us.

Cheers,

C. Fuhrman 

On Mon, Feb 20, 2017 at 2:04 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi Cris,

Indeed, CK Metrics should be one-click away from a Moose Model.
I have just implemented many of the CK metrics in the latest version of Moose (I updated Famix-Extensions in fact). 


Is this what you had in Mind?

Cheers,
Alexandre


On Feb 20, 2017, at 1:48 PM, Cris Fuhrman <fuhrmanator@gmail.com> wrote:

Hello!

I'm wondering if it's in the scope of Moose to get to the standard CK metrics for a model? It seems it's been done experimentally (https://pdfs.semanticscholar.org/0eb2/14ec7c6288dc13564580beafc2609b09118b.pdf) and I also found the momfe paper from 2002 (http://scg.unibe.ch/archive/projects/Bute02a.pdf) but appeared not to have all the CK metrics.

I also found the right-click on a Moose Model -> Export -> Export model to MSE, but there was nothing that looked like standard CK metrics in the exported file. 

We are particularly trying to generate CBO (for a research comparison) for a few classes and would like to be able to do all our work in Moose if possible (especially with the visualizations in a RTView). 

Cheers,

C. Fuhrman

On Wed, Oct 5, 2016 at 11:58 AM, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
Hi guys,

Do you have good reference links to publications (yours or from other people) which uses Moose metrics for example in a "Material and Methods" section?

I mean *not* Moose projects publications (projects derived from Moose), but those projects which uses Moose analysis to report Cyclomatic Complexity, Halstead Length, WMC, DIT, CBO, etc . I want to see what and how people reports metrics for a software project using Moose. If publication is in a Journal outside of the field of Software Engineering field that would be better.

Cheers,

Hernán


_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev

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




_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev