Payment_Gateways A

Total Complexity 64
Dependencies 6
Dependents 8
Total lines 395
Lines of code 242
Logical lines of code 109
Comment lines 85
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
load_gateways()
A
47 9 34
set_current_gateway()
A
56 8 19
notify_admin_payment_gateway_enabled()
S
43 5 56
was_gateway_enabled()
S
65 7 8
get_available_payment_gateways()
S
59 6 13
add_to_payment_settings_fields()
S
55 4 20
one_gateway_supports()
S
61 4 12
get_gateway()
S
67 3 7
payment_gateways()
S
66 3 9
payment_gateway_settings_option_changed()
S
71 2 6
get_payment_gateway_by_order()
S
72 2 5
get_available_payment_gateway()
S
69 2 7
filter_valid_gateway_class()
S
79 2 3
add_gateways_data()
S
60 1 13
add_to_settings_api()
S
60 1 13
__construct()
S
72 1 5
get_enabled_gateways()
S
78 1 3
get_available_gateways()
S
78 1 3
get_gateways()
S
82 1 3
get_payment_gateway_ids()
S
79 1 3