This namespace contains functions for model statistics and analytics.
This namespace contains functions for model statistics and analytics.
(check-nodes model)
Validates the content references in the model.
Validates the content references in the model.
(check-relations model)
Validates the relations in the model.
Validates the relations in the model.
(check-views model)
Validates the references in the views.
Validates the references in the views.
(count-elements-per-namespace coll)
Returns a map with the count of identifiable elements per namespace in the given coll
.
Returns a map with the count of identifiable elements per namespace in the given `coll`.
(count-elements-per-type coll)
Returns a map with the count of views per type in the given coll
.
Returns a map with the count of views per type in the given `coll`.
(count-external coll)
Returns a map with the count of external and internal elements in the given coll
.
Returns a map with the count of external and internal elements in the given `coll`.
(count-nodes-per-type coll)
Returns a map with the count of nodes per type in the given coll
.
Returns a map with the count of nodes per type in the given `coll`.
(count-relations-per-type coll)
Returns a map with the count of relations per type in the given coll
.
Returns a map with the count of relations per type in the given `coll`.
(count-synthetic coll)
Returns a map with the count of synthetic and normal elements in the given coll
.
Returns a map with the count of synthetic and normal elements in the given `coll`.
(count-views-per-type coll)
Returns a map with the count of views per type in the given coll
.
Returns a map with the count of views per type in the given `coll`.
(namespace-match? r)
Returns true, if the relation namespace matches the referrer namespace.
Returns true, if the relation namespace matches the referrer namespace.
(unidentifiable-elements coll)
Returns the elements without an id in the given coll
.
Returns the elements without an id in the given `coll`.
(unmatched-relation-namespaces coll)
Checks if the relation namespace matches the referrer namespace.
Checks if the relation namespace matches the referrer namespace.
(unnamed-elements coll)
Returns the elements without an id in the given coll
.
Returns the elements without an id in the given `coll`.
(unnamespaced-elements coll)
Returns the elements without a namespaced id.
Returns the elements without a namespaced id.
(unrelated-nodes model)
Returns the set of ids of identifiable model nodes not taking part in any relation.
Returns the set of ids of identifiable model nodes not taking part in any relation.
(unresolved-refs model element)
Checks references in an element.
Checks references in an element.
(unresolved-related model rel)
Checks references in a relation.
Checks references in a relation.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close