WC_Settings_Emailplatform A

Total Complexity 61
Dependencies 4
Dependents 0
Total lines 717
Lines of code 421
Logical lines of code 148
Comment lines 186
Methods 37
Properties 1

Methods 37

Method Rating Maintainability Complexity Lines of code
get_settings()
A
27
6 180
get_fields()
S
53 4 24
get_lists()
S
53 4 24
log()
S
64 4 10
checks()
S
70 3 6
is_valid()
S
79 3 3
save()
S
63 3 10
sysinfo_field()
S
54 1 26
get_instance()
S
71 2 6
has_list()
S
72 2 6
wc_enqueue_js()
S
68 2 8
output()
S
62 1 15
get_sections()
S
66 2 8
opt_in_checkbox_display_location()
S
80 1 3
namespace_prefixed()
S
80 1 3
api_token()
S
80 1 3
emailplatform_api_error_msg()
S
69 1 6
emailplatform_no_fields_found()
S
77 1 3
api_username()
S
80 1 3
emailplatform_no_lists_found()
S
77 1 3
is_enabled()
S
79 1 3
emailplatform()
S
75 1 4
get_message()
S
68 1 9
display_opt_in()
S
79 1 3
occurs()
S
80 1 3
opt_in_checkbox_default_status()
S
80 1 3
get_list()
S
80 1 3
opt_in_label()
S
80 1 3
double_opt_in()
S
79 1 3
register_hooks()
S
63 1 9
get_option()
S
80 1 3
init()
S
73 1 5
__construct()
S
68 1 7
debug_enabled()
S
79 1 3
get_firstname()
S
80 1 3
has_api_token()
S
76 1 4
get_lastname()
S
80 1 3