Moose comes with a powerful tool to navigate the models: the Pharo inspector. The Pharo inspector allows one to inspect an object: see its variables, and modify them. The moose platform creates several plugins to enhance the Moose Users experience and provides information each software engineer required.
In the following, we will present the main features.
It is super easy to browse a model with the Moose Inspector.
From an open playground (or Moose Playground) execute inspect
on the variable that contains the model.
Several actions are then available:
Model properties include the number of classes and methods that are interesting to determine the size of the project.
When inspecting the model, the inspector shows us several categories that we can use to navigate inside the model. To navigate, you only need to click on an item of the shown list.
Items that begin with
All model
are concepts that have been imported in the model. In category such asall classes
, we explore normal concepts and stubs
The inspector also offers several visualizations for the groups of concepts. For instance, it is easy to visualize the hierarchy/system complexity of a group of class or its UML.
To do so, one needs: