using System;
using AnticipatingMinds.CodeInsight;
namespace AnticipatingMinds.Metrics{
/// <summary>
/// Summary description for CodeMetricsFactory.
/// </summary>
public class AnticipatingMindsMetricsFactory : CodeMetricsFactory
{
public override CodeMetric[] GetMetrics()
{
return metrics;
}
private CodeMetric[] metrics = new CodeMetric[]
{
new AssembliesCount(),
new AssemblyFilesCount(),
new AssemblyTypesCount(),
new TypeMembersCount(),
new TypeFunctionalMembersCount(),
new CyclomaticComplexity(),
new StatementsCount(),
new LinesCount()
};
}
}
|