3 references to Volume
Roslyn.Diagnostics.Analyzers (3)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.FieldMetricData.cs (1)
47
double computationalComplexityVolume = Math.Max(0.0, Math.Log(computationalComplexityMetrics.
Volume
)); //avoid Log(0) = -Infinity
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.MethodMetricData.cs (1)
58
double computationalComplexityVolume = Math.Max(0.0, Math.Log(computationalComplexityMetrics.
Volume
)); //avoid Log(0) = -Infinity
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.NamedTypeMetricData.cs (1)
170
avgComputationalComplexityVolume = computationalComplexityMetrics.
Volume
/ effectiveChildrenCount;