CRAP Report Detail

(Sorted by Coverage)

Project: /home/john/Documents/Training/Test Coverage/Labs/Solutions/tax-calculator

Overview Page | CRAP Load | CRAP | Complexity
Method Complexity Coverage CRAP CRAP Load

public void <init>()

com.wakaleo.jpt.taxcalculator . InvalidYearException

1 0.00 % 2.00 0

public void <init>(java.lang.String, java.lang.Throwable)

com.wakaleo.jpt.taxcalculator . InvalidYearException

1 0.00 % 2.00 0

public void <init>(java.lang.Throwable)

com.wakaleo.jpt.taxcalculator . InvalidYearException

1 0.00 % 2.00 0

static void <clinit>()

com.wakaleo.jpt.taxcalculator.impl . TaxCalculationTheoryTest

1 0.00 % 2.00 0

static void <clinit>()

com.wakaleo.jpt.taxcalculator.impl . TaxCalculatorImpl

1 0.00 % 2.00 0

public double getMaxiumuRevenue()

com.wakaleo.jpt.taxcalculator.impl . TaxRate

1 0.00 % 2.00 0

public double getMinimumRevenue()

com.wakaleo.jpt.taxcalculator.impl . TaxRate

1 0.00 % 2.00 0

public double getRate()

com.wakaleo.jpt.taxcalculator.impl . TaxRate

1 0.00 % 2.00 0

public void <init>(java.lang.String)

com.wakaleo.jpt.taxcalculator . InvalidYearException

1 100.00 % 1.00 0

public void <init>()

com.wakaleo.jpt.taxcalculator.impl . TaxCalculationTheoryTest

1 100.00 % 1.00 0

public void incomeUpTo38000IsTaxedAtLowestRate(double, int)

com.wakaleo.jpt.taxcalculator.impl . TaxCalculationTheoryTest

1 100.00 % 1.00 0

public void <init>()

com.wakaleo.jpt.taxcalculator.impl . TaxCalculatorImpl

1 100.00 % 1.00 0

public void <init>(double, double, double)

com.wakaleo.jpt.taxcalculator.impl . TaxRate

1 100.00 % 1.00 0

public double calculateTax(double)

com.wakaleo.jpt.taxcalculator.impl . TaxRate

1 100.00 % 1.00 0

public double calculateIncomeTax(double, int)

com.wakaleo.jpt.taxcalculator.impl . TaxCalculatorImpl

4 100.00 % 4.00 0

private double getApplicableAmount(double)

com.wakaleo.jpt.taxcalculator.impl . TaxRate

4 100.00 % 4.00 0