CnbAppRemote B

Total Complexity 86
Dependencies 7
Dependents 33
Total lines 627
Lines of code 365
Logical lines of code 216
Comment lines 117
Methods 50
Properties 0

Methods 50

Method Rating Maintainability Complexity Lines of code
cnb_remote_handle_response()
S
54 6 21
cnb_remote_get_args()
S
56 4 18
cnb_remote_post()
S
58 3 15
cnb_remote_delete()
S
60 3 13
cnb_remote_patch()
S
60 3 13
cnb_clean_site_url()
S
57 2 19
cnb_remote_create_domain()
S
63 3 10
cnb_remote_create_condition()
S
63 3 10
cnb_remote_create_action()
S
63 3 10
cnb_remote_create_button()
S
63 3 10
cnb_remote_get()
S
60 2 13
cnb_remote_delete_domain()
S
66 2 8
cnb_remote_delete_condition()
S
66 2 8
cnb_remote_delete_action()
S
66 2 8
cnb_remote_delete_apikey()
S
66 2 8
cnb_remote_update_action()
S
63 2 10
cnb_remote_update_button()
S
66 2 8
cnb_remote_update_wp_button()
S
64 2 9
cnb_remote_update_condition()
S
64 2 9
cnb_get_api_base()
S
74 2 4
cnb_remote_update_domain()
S
66 2 8
cnb__get_transient_base()
S
69 2 7
cnb_remote_delete_button()
S
66 2 8
cnb_remote_get_apikeys()
S
76 1 4
get_site_url()
S
81 1 3
cnb_remote_get_button_for_condition()
S
75 1 4
cnb_remote_create_apikey()
S
70 1 6
cnb_remote_create_billing_portal()
S
76 1 4
cnb_remote_get_apikey_via_ott()
S
74 1 4
cnb_remote_get_action()
S
75 1 4
cnb_remote_get_condition()
S
75 1 4
cnb_remote_update_user_info()
S
75 1 4
cnb_get_user_base()
S
78 1 3
cnb_incr_transient_base()
S
78 1 3
cnb_get_transient_base()
S
79 1 3
cnb_wp_request()
S
68 1 7
wp_remote_delete()
S
71 1 5
wp_remote_patch()
S
71 1 5
cnb_remote_get_user_info()
S
76 1 4
cnb_remote_get_wp_domain()
S
72 1 5
cnb_remote_get_conditions()
S
76 1 4
cnb_remote_get_domain()
S
75 1 4
cnb_remote_get_domains()
S
76 1 4
cnb_remote_get_button()
S
75 1 4
cnb_remote_get_button_full()
S
75 1 4
cnb_remote_get_buttons()
S
76 1 4
cnb_remote_get_buttons_full()
S
76 1 4
cnb_remote_get_actions()
S
76 1 4
cnb_remote_get_button_for_action()
S
75 1 4
cnb_remote_email_activation()
S
64 1 10