| Percentage | Lines | ||
|---|---|---|---|
| Pluggable |
|
76 % | 73 |
| HTTPResponseException |
|
78 % | 24 |
| AbstractChargeWithToken |
|
100 % | 9 |
| AbstractGetPaymentData |
|
100 % | 8 |
| KeyVerifier |
|
100 % | 17 |
| AbstractPlugin |
|
100 % | 19 |
| AbstractFetchAllPlans |
|
100 % | 8 |
| AbstractFetchPlan |
|
100 % | 8 |
| VerifyHttpStatusResponseCode |
|
100 % | 12 |
| GbowoFactory |
|
100 % | 75 |
| CRAP Score | Lines | ||
|---|---|---|---|
| functions.php ➔ toQueryParams() | 4 | 20 | |
| ChargeWithToken::handle() | 4 | 26 | |
| GetPaymentData::handle() | 4 | 31 | |
| UnsubscribeCustomer::handle() | 4 | 33 | |
| GbowoFactory::validateCustomAdapters() | 4 | 14 | |
| GetPaymentData::handle() | 3 | 22 | |
| Pluggable::getPlugin() | 2 | 10 | |
| Pluggable::callPlugin() | 2 | 16 | |
| AmplifypayAdapter::authorizeTransaction() | 2 | 17 | |
| AmplifypayAdapter::setHttpClient() | 2 | 13 | |