YITH_WCAN_Preset B

Total Complexity 76
Dependencies 7
Dependents 5
Total lines 740
Lines of code 267
Logical lines of code 132
Comment lines 368
Methods 38
Properties 7

Methods 38

Method Rating Maintainability Complexity Lines of code
__construct()
S
52 7 24
get_filters()
S
55 5 21
set_filter()
S
55 5 18
has_relevant_filters()
S
60 5 15
get_additional_classes()
S
58 4 15
save()
S
63 3 11
get_post()
S
71 3 6
user_can()
S
63 3 10
__get()
S
65 3 9
set_filters()
S
62 2 12
get_admin_delete_url()
S
62 2 12
get_admin_clone_url()
S
62 2 12
current_user_can()
S
68 2 7
get_max_filter_id()
S
74 2 4
set_layout()
S
74 2 4
delete_filter()
S
67 2 8
get_raw_filters()
S
65 2 9
should_show_filters_placeholders()
S
77 2 3
delete_filters()
S
82 1 3
get_title()
S
79 1 3
get_admin_edit_url()
S
67 1 9
count_filters()
S
80 1 3
get_slug()
S
82 1 3
is_enabled()
S
79 1 3
needs_pagination()
S
80 1 3
get_layout()
S
79 1 3
get_selector()
S
79 1 3
has_filter()
S
75 1 4
get_pages()
S
79 1 3
disable()
S
80 1 3
enable()
S
80 1 3
set_enabled()
S
80 1 3
set_selector()
S
80 1 3
set_slug()
S
81 1 3
set_title()
S
80 1 3
get_fields()
S
79 1 3
should_lazy_load_filters()
S
77 1 3
has_filters()
S
80 1 3