1 write to MaintainabilityIndex
Metrics (1)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
52
MaintainabilityIndex
= maintainabilityIndex;
9 references to MaintainabilityIndex
Metrics (9)
MetricsOutputWriter.cs (1)
100
WriteMetric("MaintainabilityIndex", data.
MaintainabilityIndex
.ToString(CultureInfo.InvariantCulture), writer);
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.AssemblyMetricData.cs (1)
65
maintainabilityIndexTotal += child.
MaintainabilityIndex
* child.Children.Length;
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
155
builder.Append($"{symbolName}: (Lines: {SourceLines}, ExecutableLines: {ExecutableLines}, MntIndex: {
MaintainabilityIndex
}, CycCxty: {CyclomaticComplexity}");
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.EventMetricData.cs (1)
44
maintainabilityIndexTotal += child.
MaintainabilityIndex
;
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.NamedTypeMetricData.cs (3)
87
child.
MaintainabilityIndex
:
114
var orderedFieldDatas = children.Where(c => c.Symbol.Kind == SymbolKind.Field).OrderBy(c => c.
MaintainabilityIndex
);
118
if (fieldData.
MaintainabilityIndex
> indexThreshold)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.NamespaceMetricData.cs (1)
55
maintainabilityIndexTotal += child.
MaintainabilityIndex
;
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.PropertyMetricData.cs (1)
45
maintainabilityIndexTotal += child.
MaintainabilityIndex
;