CleanMixer.Metrics.MetricsMap (clean_mixer v0.11.5) View Source

Link to this section Summary

Link to this section Types

Specs

Specs

metric_name() :: atom()

Specs

metric_value() :: term()

Specs

t() :: t(entity())

Specs

t(key) :: %{optional(key) => %{}}

Link to this section Functions

Link to this function

compute_component_metrics(arch_map)

View Source

Specs

compute_component_metrics(CleanMixer.ArchMap.t()) ::
  t(CleanMixer.ArchMap.Component.t())
Link to this function

compute_dep_metrics(arch_map, component_metrics)

View Source

Specs

Link to this function

deviation(metrics_map, metric)

View Source

Specs

deviation(t(), metric_name()) :: metric_value()
Link to this function

mean(metrics_map, metric)

View Source

Specs

mean(t(), metric_name()) :: metric_value()
Link to this function

metric(metrics_map, entity, metric)

View Source

Specs

metric(t(), entity(), metric_name()) :: metric_value()
Link to this function

metrics_of(metrics_map, entity)

View Source

Specs

metrics_of(t(), entity()) :: map()
Link to this function

sigmas_count(metrics_map, entity, metric)

View Source

Specs

sigmas_count(t(), entity(), metric_name()) :: float()