CleanMixer.Metrics.MetricsMap (clean_mixer v0.11.2)
Link to this section Summary
Link to this section Types
Link to this type
entity()
Specs
entity() :: CleanMixer.ArchMap.Component.t() | CleanMixer.ArchMap.Dependency.t()
Link to this type
metric_name()
Specs
metric_name() :: atom()
Link to this type
metric_value()
Specs
metric_value() :: term()
Specs
Link to this type
t(key)
Specs
t(key) :: %{optional(key) => %{}}
Link to this section Functions
Link to this function
compute_component_metrics(arch_map)
Specs
compute_component_metrics(CleanMixer.ArchMap.t()) :: t(CleanMixer.ArchMap.Component.t())
Link to this function
compute_dep_metrics(arch_map, component_metrics)
Specs
compute_dep_metrics(CleanMixer.ArchMap.t(), t(CleanMixer.ArchMap.Component.t())) :: t(CleanMixer.ArchMap.Dependency.t())
Link to this function
deviation(metrics_map, metric)
Specs
deviation(t(), metric_name()) :: metric_value()
Link to this function
mean(metrics_map, metric)
Specs
mean(t(), metric_name()) :: metric_value()
Link to this function
metric(metrics_map, entity, metric)
Specs
metric(t(), entity(), metric_name()) :: metric_value()
Link to this function
metrics_of(metrics_map, entity)
Specs
Link to this function
sigmas_count(metrics_map, entity, metric)
Specs
sigmas_count(t(), entity(), metric_name()) :: float()