public void Read(Domain.Member member, CheckStylesItem item)
        {
            var linesOfCode = IntParser.Match(item.Message).Value.AsInt();

            member.StartLine   = item.Line;
            member.EndLine     = member.StartLine + linesOfCode + PuppyCrawlMethodFudgeFactor;
            member.LinesOfCode = linesOfCode;
        }
Пример #2
0
 public void Read(Domain.Instance type, CheckStylesItem item)
 {
     type.AnonymousInnerClassLength += IntParser.Match(item.Message).Value.AsInt();
 }
 public void Read(Domain.Instance type, CheckStylesItem item)
 {
     type.ClassDataAbstractionCoupling = IntParser.Match(item.Message).Value.AsInt();
 }
Пример #4
0
 public void Read(Domain.Member member, CheckStylesItem item)
 {
     member.BooleanExpressionComplexity = IntParser.Match(item.Message).Value.AsInt();
 }
 public void Read(Domain.Member member, CheckStylesItem item)
 {
     member.NestedIfDepth = IntParser.Match(item.Message).Value.AsInt();
 }
 public void Read(Member member, CheckStylesItem item)
 {
     member.NumberOfParameters = IntParser.Match(item.Message).Value.AsInt();
 }
 public void Read(Domain.Instance type, CheckStylesItem item)
 {
     type.ClassFanOutComplexity = IntParser.Match(item.Message).Value.AsInt();
 }