CKWC_Integration A

Total Complexity 74
Dependencies 6
Dependents 9
Total lines 1,249
Lines of code 637
Logical lines of code 216
Comment lines 410
Methods 28
Properties 6

Methods 28

Method Rating Maintainability Complexity Lines of code
init_form_fields()
A
26
1 239
get_integration_screen_name()
A
54 8 24
admin_options()
S
44 5 51
maybe_import_configuration()
S
49 6 29
enqueue_scripts()
S
46 5 42
generate_subscription_html()
S
46 4 40
maybe_get_and_store_access_token()
S
52 4 26
maybe_export_configuration()
S
53 4 24
maybe_disconnect()
S
57 4 17
enqueue_styles()
S
58 4 16
generate_sync_past_orders_button_html()
S
56 3 19
generate_custom_field_html()
S
50 2 30
__construct()
S
56 2 17
has_refresh_token()
S
78 2 3
update_credentials()
S
66 2 8
get_option_bool()
S
69 2 7
has_api_secret()
S
78 2 3
is_enabled()
S
79 2 3
has_access_token()
S
78 2 3
has_access_and_refresh_token()
S
79 2 3
option_exists()
S
79 1 3
get_api_key()
S
80 1 3
get_refresh_token()
S
80 1 3
get_access_token()
S
80 1 3
get_api_secret()
S
80 1 3
has_api_key()
S
79 1 3
generate_oauth_disconnect_html()
S
73 1 5
resources_delete()
S
64 1 10