YIT_Plugin_Panel_WooCommerce D

Total Complexity 210
Dependencies 1
Dependents 2
Total lines 965
Lines of code 601
Logical lines of code 390
Comment lines 203
Methods 24
Properties 6

Methods 24

Method Rating Maintainability Complexity Lines of code
woocommerce_update_options()
D
33 32 81
add_fields()
C
28
28 135
sanitize_option()
C
39 31 52
save_toggle_element_options()
B
42 18 43
admin_enqueue_scripts()
A
42 13 48
add_yith_field()
A
51 11 23
set_default_options()
A
52 10 23
maybe_unserialize_panel_data()
A
56 10 15
__construct()
A
45 7 38
render_panel_content_page()
S
54 7 22
add_body_class()
S
55 7 18
check_for_save_single_option()
S
62 7 10
admin_body_class()
S
62 6 9
sanitize_onoff_value()
S
63 6 9
yit_upload()
S
67 3 7
yit_panel()
S
58 2 15
print_tabs_nav()
S
62 2 11
get_available_tabs()
S
74 2 4
init_actions()
S
62 2 10
add_allowed_screen_id()
S
66 2 8
print_panel_content()
S
63 1 11
get_current_tab()
S
79 1 3
delete_default_options_set_option()
S
80 1 3
yit_upload_update()
S
82 1 3