示例#1
0
 private void AnalyzeMethod(Method method)
 {
     var stCount = method.NumberOfLines();
     var types = method.ReferencedTypes();
     var cc = method.CyclomaticComplexity();
     methodInfos.Add(method.FullName, Tuple.Create(stCount, cc, types.Select(t => t.FullName).ToList()));
 }