PeachPay_Admin_ConvesioPay_Integration D

Total Complexity 147
Dependencies 4
Dependents 1
Total lines 1,055
Lines of code 637
Logical lines of code 374
Comment lines 250
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
handle_test_gateway_class()
B
35 20 83
handle_convesiopay_connect()
B
32 16 107
get_available_payment_methods()
B
41 18 50
maybe_sync_on_admin_load()
A
48 14 30
handle_convesiopay_disconnect()
A
42 11 51
handle_gateway_toggle_and_sync()
A
45 9 42
do_admin_page()
A
47 8 40
sync_payment_methods_with_convesiopay()
A
48 7 33
sync_payment_methods_from_api_response()
S
53 6 22
get_decrypted_config()
S
57 5 16
get_convesiopay_gateway_states()
S
55 4 21
filter_gateways_by_api_methods()
S
59 4 15
decrypt_data()
S
59 4 14
get_encryption_key()
S
70 3 5
auto_enable_convesiopay_gateways()
S
59 2 15
auto_disable_convesiopay_gateways()
S
60 2 14
encrypt_data()
S
65 2 9
instance()
S
68 2 8
init()
S
58 1 15
enqueue_admin_scripts()
S
64 2 10
on_gateway_setting_updated()
S
68 2 7
handle_manual_sync()
S
68 2 8
add_admin_menu()
S
65 1 10
__construct()
S
79 1 3
is_convesiopay_gateway()
S
66 1 9