public void CalculateMethodMetrics(ProjectAnalysisData prj, ClassMetrics clsMetrics, ClassAnalysisData cls, MethodMetrics mtdMetrics, MethodDeclarationSyntax mtd, SemanticModel sclsmodel) { LocRule loc = new LocRule(); mtdMetrics.Loc = loc.GetLocCount(mtd); }
public void CalculateClassMetrics(ProjectAnalysisData prj, ClassMetrics clsMetrics, ClassAnalysisData cls, SemanticModel sclsmodel) { LocRule loc = new LocRule(); clsMetrics.Loc = loc.GetLocCount(cls.ClassDeclarationSyntax); }