private void SetCyclomaticComplexity(PreparedMetricsReport metrics) { _CyclomaticComplexity.Update( metrics.Rated.AverageRatedCyclomaticComplexity, metrics.CommonKnowledge.NumberOfMethods, metrics.CyclomaticComplexityHotspots.Count(), metrics.CyclomaticComplexityHistogram.GeometricalFit.Parameter); }
private void SetClassSize(PreparedMetricsReport metrics) { _ClassSize.Update( metrics.Rated.AverageRatedClassSize, metrics.CommonKnowledge.NumberOfTypes, metrics.ClassSizeHotspots.Count(), metrics.ClassSizeHistogram.GeometricalFit.Parameter); }
private void SetACD(PreparedMetricsReport metrics) { _AverageComponentDependency.Update( metrics.Rated.AverageComponentDependency, metrics.CommonKnowledge.NumberOfTypes, metrics.CumulativeComponentDependencyHotspots.Count(), metrics.CumulativeComponentDependencyHistogram.GeometricalFit.Parameter); }
private void SetNamespacesWithCycles(PreparedMetricsReport metrics) { _NamespacesWithCycles.Update( metrics.Rated.NamespacesWithCyclicDependencies, metrics.CommonKnowledge.NumberOfNamespaces, metrics.NumberOfNamespacesInCycleHotspots.Count(), metrics.NumberOfNamespacesInCycleHistogram.GeometricalFit.Parameter); }
private void SetNumberOfNonStaticPublicFields(PreparedMetricsReport metrics) { _NonStaticPublicFields.Update( metrics.Rated.AverageRatedNumberOfNonStaticPublicFields, metrics.CommonKnowledge.NumberOfTypes, metrics.NumberOfNonStaticPublicFieldsHotspots.Count(), metrics.NumberOfNonStaticPublicFieldsHistogram.GeometricalFit.Parameter); }
private void SetMethodLength(PreparedMetricsReport metrics) { _MethodLength.Update( metrics.Rated.AverageRatedMethodLength, metrics.CommonKnowledge.NumberOfMethods, metrics.MethodLengthHotspots.Count(), metrics.MethodLengthHistogram.GeometricalFit.Parameter); }