Moose demo: detecting futile interfaces

Moose is an extensive platform for software and data analysis. To make it easier to digest, I will start complementing the book I am writing at themoosebook.org with a series of online demos.

Today we start with a short demo of how to play with the basic interface of Moose to find out which interfaces has only one implementor.

The scenario is quite simple. We first select all the types. From these we select the interfaces using each isInterface. Afterwards we select those interfaces that have only one subclass by using each subclassHiearchy size = 1.

Posted by Tudor Girba at 19 April 2011, 10:21 pm with tags moose, demo, assessment link