WC_Settings_Page_iZettle B

Total Complexity 86
Dependencies 6
Dependents 0
Total lines 1,883
Lines of code 1,569
Logical lines of code 381
Comment lines 52
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
get_izettle_settings()
D
0
46 1,335
authorize_processing()
A
46 7 40
show_connection_status()
S
50 6 26
update_settings()
S
48 3 34
refresh_from_error()
S
56 3 19
get_product_types()
S
65 3 10
show_clear_products_button()
S
61 2 12
__construct()
S
51 1 24
force_connection()
S
69 2 7
izettle_connection_options_description()
S
82 1 3
izettle_advanced_options_description()
S
82 1 3
get_izettle_sections()
S
63 1 10
izettle_products_from_izettle_options_description()
S
82 1 3
izettle_products_to_izettle_options_description()
S
82 1 3
show_force_token_button()
S
63 1 10
show_izettle_stocklevel_from_izettle_options_manual_button()
S
80 1 3
show_izettle_product_button()
S
81 1 3
show_sync_wc_products_button()
S
81 1 3
get_post_statuses()
S
72 1 5
izettle_stocklevel_from_izettle_options_description()
S
82 1 3
izettle_stocklevel_from_woocommerce_options_description()
S
82 1 3
show_connection_button()
S
64 1 10