Woo_Fortnox_Hub C

Total Complexity 121
Dependencies 10
Dependents 1
Total lines 835
Lines of code 580
Logical lines of code 333
Comment lines 62
Methods 29
Properties 11

Methods 29

Method Rating Maintainability Complexity Lines of code
maybe_load_plugin()
C
32 25 97
fortnox_event()
B
40 17 55
ajax_fortnox_connection()
A
41 9 55
ajax_wcfh_processing_button()
A
42 8 54
fortnox_admin()
A
50 8 25
fortnox_nonce()
S
42 5 48
ajax_fortnox_check_activation()
S
52 6 26
init()
S
53 6 22
ajax_fortnox_price_stocklevel_message()
S
56 4 18
ajax_wc_product_message()
S
56 4 18
ajax_clear_notice()
S
59 3 15
maybe_upgrade_to_fortnox_hub_2_0_0()
S
60 3 13
add_admin_styles_and_scripts()
S
51 2 25
ajax_clear_cache()
S
60 2 13
fortnox_modal_admin()
S
63 1 16
instance()
S
71 2 6
is_front_end()
S
79 2 3
check_configuration()
S
65 2 9
woocommerce_precheck()
S
71 2 6
show_infotext()
S
60 1 12
__construct()
S
62 1 11
tomorrow_morning()
S
77 1 3
add_action_links()
S
69 1 6
includes()
S
68 1 8
set_fortnox_hub_version_upgraded()
S
80 1 3
fortnox_hub_version_greater_than()
S
79 1 3
is_fortnox_hub_new_install()
S
80 1 3
initAPIClient()
S
79 1 3
include_settings()
S
75 1 4