Percentage | Lines | ||
---|---|---|---|
WalletProxy |
|
100 % | 43 |
Transaction |
|
100 % | 43 |
Wallet |
|
100 % | 239 |
CanPay |
|
100 % | 86 |
Transfer |
|
100 % | 59 |
Tax |
|
100 % | 17 |
HasWallets |
|
100 % | 82 |
CRAP Score | Lines | ||
---|---|---|---|
Wallet::exchange() | 3 | 18 | |
Wallet::forceExchange() | 3 | 18 | |
Wallet::getBalanceAttribute() | 3 | 10 | |
CanPay::refund() | 3 | 24 | |
CanPay::pay() | 3 | 20 | |
HasWallets::refund() | 3 | 24 | |
HasWallets::getWallet() | 3 | 16 | |
Wallet::safeExchange() | 2 | 6 | |
Wallet::withdraw() | 2 | 7 | |
Wallet::addBalance() | 2 | 12 | |