+# Inheritance usage metrics
+if all or toolcontext.opt_inheritance.value then
+ print ""
+ compute_inheritance_metrics(toolcontext, model)
+end
+
+# Refinement usage metrics
+if all or toolcontext.opt_refinement.value then
+ print ""
+ compute_refinement_metrics(model)
+end
+
+# Self usage metrics
+if all or toolcontext.opt_self.value then
+ print ""
+ compute_self_metrics(modelbuilder)
+end