4 references to GetAverageRoundedMetricValue
Roslyn.Diagnostics.Analyzers (4)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.AssemblyMetricData.cs (1)
69
int maintainabilityIndex = grandChildCount > 0 ? MetricsHelper.
GetAverageRoundedMetricValue
(maintainabilityIndexTotal, grandChildCount) : 100;
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.EventMetricData.cs (1)
50
int maintainabilityIndex = !children.IsEmpty ? MetricsHelper.
GetAverageRoundedMetricValue
(maintainabilityIndexTotal, children.Length) : 100;
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.NamespaceMetricData.cs (1)
69
int maintainabilityIndex = !children.IsEmpty ? MetricsHelper.
GetAverageRoundedMetricValue
(maintainabilityIndexTotal, children.Length) : 100;
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.PropertyMetricData.cs (1)
51
int maintainabilityIndex = !children.IsEmpty ? MetricsHelper.
GetAverageRoundedMetricValue
(maintainabilityIndexTotal, children.Length) : 100;