YIT_Plugin_Panel_WooCommerce D

Total Complexity 200
Dependencies 1
Dependents 2
Total lines 977
Lines of code 584
Logical lines of code 376
Comment lines 237
Methods 24
Properties 6

Methods 24

Method Rating Maintainability Complexity Lines of code
woocommerce_update_options()
D
33 34 80
sanitize_option()
C
39 31 52
add_fields()
C
29 25 132
save_toggle_element_options()
A
44 15 39
admin_enqueue_scripts()
A
43 12 45
set_default_options()
A
52 10 23
maybe_unserialize_panel_data()
A
56 10 15
__construct()
A
46 7 37
add_yith_field()
A
53 8 20
add_body_class()
S
55 7 18
check_for_save_single_option()
S
62 7 10
render_panel_content_page()
S
55 5 20
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