C# 클래스 ArchiMetrics.Analysis.Metrics.TypeMetricsCalculator

상속: SemanticModelMetricsCalculator
파일 보기 프로젝트 열기: jjrdk/ArchiMetrics 1 사용 예제들

공개 메소드들

메소드 설명
CalculateFrom ( TypeDeclarationSyntaxInfo typeNode, IEnumerable metrics ) : Task
TypeMetricsCalculator ( Microsoft.CodeAnalysis.SemanticModel semanticModel, Solution solution, ITypeDocumentation>.IAsyncFactory documentationFactory ) : Common.System

비공개 메소드들

메소드 설명
CalculateAfferentCoupling ( Microsoft.CodeAnalysis.SyntaxNode node ) : Task
CalculateAveMaintainabilityIndex ( IEnumerable memberMetrics ) : double
CalculateClassCoupling ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax type, IEnumerable memberMetrics ) : IEnumerable
CalculateDepthOfInheritance ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax type ) : int
GetAccessModifier ( SyntaxTokenList tokenList ) : AccessModifierKind
GetEfferentCoupling ( Microsoft.CodeAnalysis.SyntaxNode classDeclaration, ISymbol sourceSymbol ) : int
GetMetricKind ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax type ) : TypeMetricKind

메소드 상세

CalculateFrom() 공개 메소드

public CalculateFrom ( TypeDeclarationSyntaxInfo typeNode, IEnumerable metrics ) : Task
typeNode TypeDeclarationSyntaxInfo
metrics IEnumerable
리턴 Task

TypeMetricsCalculator() 공개 메소드

public TypeMetricsCalculator ( Microsoft.CodeAnalysis.SemanticModel semanticModel, Solution solution, ITypeDocumentation>.IAsyncFactory documentationFactory ) : Common.System
semanticModel Microsoft.CodeAnalysis.SemanticModel
solution Solution
documentationFactory ITypeDocumentation>.IAsyncFactory
리턴 Common.System