Total Complexity | 73 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 399 |
Lines of code | 243 |
Logical lines of code | 137 |
Comment lines | 94 |
Methods | 14 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
capture_payment() | 48 | 11 | 29 | |
add_capture_charge_order_action() | 53 | 9 | 21 | |
filter_checkout_sections() | 52 | 8 | 23 | |
maybe_reset_api_credentials() | 53 | 8 | 21 | |
display_order_fee_and_payout() | 48 | 6 | 35 | |
cancel_authorization() | 54 | 6 | 18 | |
show_wc_version_warning() | 50 | 5 | 31 | |
maybe_redirect_to_ppec_settings() | 61 | 6 | 12 | |
is_authorized_only() | 66 | 5 | 8 | |
maybe_capture_charge() | 66 | 3 | 8 | |
show_decimal_warning() | 64 | 2 | 12 | |
force_zero_decimal() | 68 | 2 | 7 | |
__construct() | 59 | 1 | 14 | |
gateway_admin_url() | 75 | 1 | 4 |