| Percentage | Lines | ||
|---|---|---|---|
| RedirectTransactionRequestMessage |
|
0 % | 96 |
| StatusRequestMessage |
|
0 % | 61 |
| WooCommerce |
|
0 % | 31 |
| Methods |
|
0 % | 220 |
| Integration |
|
0 % | 125 |
| Gateway |
|
13 % | 342 |
| Client |
|
76 % | 150 |
| GatewaysRequestMessage |
|
100 % | 55 |
| DirectTransactionResponseMessage |
|
100 % | 48 |
| TransactionParser |
|
100 % | 15 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Gateway::start() | 272 | 116 | |
| WooCommerce::woocommerce_available_payment_gateways() | 30 | 24 | |
| Gateway::get_available_payment_methods() | 30 | 23 | |
| Gateway::update_status() | 20 | 39 | |
| Methods::transform_gateway_method() | 12 | 12 | |
| Methods::transform() | 12 | 10 | |
| Gateway::get_gateways() | 12 | 26 | |
| Client::parse_xml() | 8 | 19 | |
| Statuses::transform() | 8 | 25 | |
| Client::get_status() | 6 | 10 | |