| Percentage | Lines | ||
|---|---|---|---|
| Credentials |
|
100 % | 39 |
| BancontactPayment |
|
100 % | 36 |
| Charge |
|
100 % | 50 |
| CreditCardPayment |
|
100 % | 41 |
| IdealPayment |
|
100 % | 35 |
| PaypalPayment |
|
100 % | 32 |
| SofortPayment |
|
100 % | 53 |
| WireTransferPayment |
|
100 % | 34 |
| Gateway |
|
100 % | 55 |
| MoneyConverter |
|
100 % | 53 |
| CRAP Score | Lines | ||
|---|---|---|---|
| BancontactPayment::toArray() | 2 | 12 | |
| Charge::__construct() | 2 | 5 | |
| CreditCardPayment::toArray() | 2 | 12 | |
| DirectDebitPayment::toArray() | 2 | 15 | |
| WireTransferPayment::toArray() | 2 | 10 | |
| Gateway::__construct() | 2 | 18 | |
| Payment::setUrlIfAvailable() | 2 | 8 | |
| Credentials::__construct() | 1 | 5 | |
| Credentials::getMerchantKey() | 1 | 4 | |
| Credentials::getMerchantSecret() | 1 | 4 | |