PeachPay_Payment_Gateway D

Total Complexity 152
Dependencies 6
Dependents 2
Total lines 1,181
Lines of code 726
Logical lines of code 249
Comment lines 313
Methods 42
Properties 17

Methods 42

Method Rating Maintainability Complexity Lines of code
is_available()
C
43 26 40
get_supported_countries()
A
51 14 27
get_supported_currencies()
A
51 14 27
calculate_payment_method_fee()
A
47 13 34
get_order_details()
S
38 3 74
country_filter_setting()
S
48 4 35
currency_filter_settings()
S
48 4 35
get_maximum_charge()
S
61 5 14
validate_fields()
S
59 5 14
payment_fields()
S
55 4 22
get_order_line_items()
S
57 4 15
custom_max_amount_settings()
S
52 3 25
payment_method_form()
S
55 3 23
fee_settings()
S
45 1 49
add_payment_meta()
S
67 4 8
get_icon()
S
61 3 12
get_minimum_charge()
S
65 3 11
custom_min_amount_settings()
S
54 2 20
__construct()
S
56 2 19
hooks()
S
58 2 15
get_customer_ip()
S
64 3 10
get_customer_user_agent()
S
64 3 10
register_feature()
S
59 2 14
admin_options()
S
52 1 28
payment_field_powered_by_notice()
S
63 2 12
payment_field_test_mode_notice()
S
65 2 11
active_locations_setting()
S
58 1 17
get_payment_description()
S
68 2 7
should_refresh_checkout()
S
69 2 7
process_payment()
S
63 2 10
get_title_filter()
S
71 2 6
prepare_payment_result()
S
58 1 15
enabled_setting()
S
60 1 14
gateway_title_setting()
S
62 1 13
get_settings_breadcrumbs()
S
63 1 11
get_callback_url()
S
79 1 3
enqueue_checkout_scripts()
S
98 1 1
payment_field_tokenize_error_notice()
S
83 1 5
get_protected()
S
70 1 8
get_settings_url()
S
79 1 3
enqueue_admin_scripts()
S
98 1 1
action_needed_form()
S
98 1 1