YIT_Plugin_Panel_WooCommerce B

Total Complexity 99
Dependencies 1
Dependents 1
Total lines 538
Lines of code 249
Logical lines of code 159
Comment lines 189
Methods 18
Properties 5

Methods 18

Method Rating Maintainability Complexity Lines of code
woocommerce_update_options()
B
43 19 40
sanitize_option()
A
55 12 17
admin_enqueue_scripts()
A
46 10 34
set_default_options()
A
52 10 22
maybe_unserialize_panel_data()
A
57 9 15
__construct()
S
51 7 24
add_yith_field()
S
57 6 15
admin_body_class()
S
67 6 6
get_current_tab()
S
64 4 9
yit_upload()
S
67 3 7
_init_actions()
S
61 2 11
print_panel_content()
S
63 2 11
get_available_tabs()
S
74 2 4
add_fields()
S
67 2 8
add_allowed_screen_id()
S
66 2 8
yit_panel()
S
61 1 12
delete_default_options_set_option()
S
80 1 3
yit_upload_update()
S
82 1 3