hudson.plugins.crap4j.calculation
Class HealthBuilder

java.lang.Object
  extended by hudson.plugins.crap4j.calculation.HealthBuilder

public class HealthBuilder
extends java.lang.Object


Constructor Summary
HealthBuilder()
           
HealthBuilder(double threshold)
           
 
Method Summary
protected  double calculateHealthOf(double crapMethodPercentage)
           
 hudson.model.HealthReport getHealthReportFor(ProjectCrapBean crap)
           
protected  java.lang.String getHealthSummary(int crapMethodCount, double crapMethodPercentage)
           
 double getThreshold()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HealthBuilder

public HealthBuilder()

HealthBuilder

public HealthBuilder(double threshold)
Method Detail

getThreshold

public double getThreshold()

getHealthReportFor

public hudson.model.HealthReport getHealthReportFor(ProjectCrapBean crap)

calculateHealthOf

protected double calculateHealthOf(double crapMethodPercentage)

getHealthSummary

protected java.lang.String getHealthSummary(int crapMethodCount,
                                            double crapMethodPercentage)


Copyright © 2009. All Rights Reserved.