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

            mtdMetrics.Loc = loc.GetLocCount(mtd);
        }
Exemple #2
0
        public void CalculateClassMetrics(ProjectAnalysisData prj, ClassMetrics clsMetrics, ClassAnalysisData cls,
                                          SemanticModel sclsmodel)
        {
            LocRule loc = new LocRule();

            clsMetrics.Loc = loc.GetLocCount(cls.ClassDeclarationSyntax);
        }