Skip to content

moosetechnology/ClassBlueprint

Repository files navigation

ClassBlueprint

The idea behind the original Class Blueprint visualization is to present the internal structure of classes in terms of fields, their accesses, and the method call-flow. Additional semantic information was represented using colors.

The Class Blueprint V2 also supports dead code identification, methods under tests and calling relationships between class and instance level methods. In addition, the Class Blueprint V2 enhances the understanding of fields by showing how fields of super-/subclasses are accessed, and stresses the extension category of a method (monomorphic, polymorphic or megamorphic) to convey how a given method fits into its wider context.

Setting up the visualization:

In a Moose 11 image:

Load the visualization using the script:

Metacello new
  baseline: 'ClassBlueprint';
  repository: 'github://moosetechnology/ClassBlueprint/src';
  load

In a Moose 10 image:

Load the visualization using the script:

Metacello new
  baseline: 'ClassBlueprint';
  repository: 'github://moosetechnology/ClassBlueprint:v2.2.2/src';
  load

In a Moose 9 image:

  1. Load the latest version of Roassal,

image

  1. Load the visualization using the script:
Metacello new
  baseline: 'ClassBlueprint';
  repository: 'github://moosetechnology/ClassBlueprint:v2.2.1/src';
  load

Creating the Moose Model of your project:

  1. image
  2. image
  3. image
  4. image

Inspecting the Moose Model:

image

The visualization:

Screenshot 2022-06-18 at 14 58 01

A full presentation on how to use the visualization can be found here: https://github.com/NourDjihan/ClassBlueprint/blob/master/ClassBlueprintV2Presentation.key