PeachPay_Payment_Gateway D

Total Complexity 145
Dependencies 5
Dependents 2
Total lines 1,119
Lines of code 684
Logical lines of code 234
Comment lines 298
Methods 39
Properties 17

Methods 39

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