YIT_Plugin_Panel_WooCommerce D

Total Complexity 167
Dependencies 1
Dependents 1
Total lines 741
Lines of code 401
Logical lines of code 264
Comment lines 223
Methods 22
Properties 6

Methods 22

Method Rating Maintainability Complexity Lines of code
sanitize_option()
C
39 31 52
woocommerce_update_options()
C
36 29 65
admin_enqueue_scripts()
A
44 16 40
save_toggle_element_options()
A
44 15 39
set_default_options()
A
52 10 23
maybe_unserialize_panel_data()
A
56 10 15
add_yith_field()
A
53 8 20
__construct()
A
48 7 31
check_for_save_single_option()
S
62 7 10
sanitize_onoff_value()
S
63 6 9
admin_body_class()
S
62 6 9
get_current_tab()
S
63 4 9
yit_upload()
S
67 3 7
yit_panel()
S
59 2 14
print_panel_content()
S
61 2 12
init_actions()
S
61 2 11
add_fields()
S
67 2 8
get_available_tabs()
S
74 2 4
add_allowed_screen_id()
S
66 2 8
delete_default_options_set_option()
S
80 1 3
yit_upload_update()
S
82 1 3
print_tabs_nav()
S
65 1 9