Passed
Push — master ( 1f5936...ef809d )
by Alec
05:25
created

615 -20 Covered Lines

624 -20 Total Lines

98.6 % -0.045% Code Coverage

PHP Classes Changes

 
100%
AssetFactory added
 
100%
Asset added
 
100%
AllocationCalculator added
 
100%
AssetFunctions added
 
100%
Currency added
100%
 
MoneyFactory removed
100%
 
Currency removed
100%
 
Nameable removed
100%
 
Money removed
100%
 
MoneyFunctions removed
100%
 
AllocationCalculator removed
100%
 
G removed

CRAP Changes

 
3
AllocationCalculator::allocateRemainder() added
 
3
AssetFunctions::min() added
 
3
Asset::assertAmount() added
 
3
AssetFunctions::max() added
 
2
AssetFunctions::subtract() added
 
2
AssetFunctions::divide() added
 
2
AssetFunctions::ratioOf() added
 
2
AssetFunctions::equals() added
 
2
AllocationCalculator::computeTotal() added
 
2
Currency::__construct() added
view more  
4
 
G::range() removed
3
 
Money::assertAmount() removed
3
 
MoneyFunctions::max() removed
3
 
AllocationCalculator::allocateRemainder() removed
3
 
MoneyFunctions::min() removed
2
 
MoneyFunctions::ratioOf() removed
2
 
MoneyFunctions::subtract() removed
2
 
MoneyFunctions::equals() removed
2
 
MoneyFunctions::add() removed
2
 
AllocationCalculator::allocate() removed
view more