+
+ print "\nAll public entities:"
+ filters = new ModelFilter(public_visibility)
+ v = new TestModelVisitor(filters)
+ v.enter_visit(model)
+ v.cpt.print_elements(10)
+
+ print "\nAll documented public entities:"
+ filters = new ModelFilter(public_visibility, accept_empty_doc = false)
+ v = new TestModelVisitor(filters)
+ v.enter_visit(model)
+ v.cpt.print_elements(10)
+
+ print "\nNames:"
+ print "\n# Classes of entities"
+ var cpt
+ cpt = new Counter[String]
+ for n, e in names do
+ cpt.inc(e.class_name)
+ end
+ cpt.print_summary
+ cpt.print_elements(10)
+
+ print "\n# Name length of entities"
+ cpt = new Counter[String]
+ for n, e in names do
+ cpt[n] = n.length
+ end
+ cpt.print_summary
+ cpt.print_elements(10)
+
+ print "\n# All entities"
+ for n, e in names do
+ var c = ""
+ var d = e.mdoc_or_fallback
+ if d != null and d.content.not_empty then c = d.content.first
+ print "{n}\t{e.class_name}\t{e.location}\t{c}"
+ end