PR_DHL_WC D

Total Complexity 150
Dependencies 22
Dependents 1
Total lines 982
Lines of code 637
Logical lines of code 371
Comment lines 151
Methods 49
Properties 12

Methods 49

Method Rating Maintainability Complexity Lines of code
get_api_url()
A
48 13 29
set_account_details()
A
45 8 40
get_dhl_preferred_day_time()
A
48 8 34
is_eu_exception()
S
55 7 18
dhl_enqueue_scripts()
S
49 6 31
test_dhl_connection_callback()
S
48 5 35
password_expiration_notice_callback()
S
54 6 20
is_crossborder_shipment()
S
57 6 16
create_dhl_label_folder()
S
53 5 23
get_pr_dhl_wc_order()
S
56 5 18
get_pr_dhl_wc_product()
S
57 5 17
is_shipping_domestic()
S
59 4 15
add_admin_body_class()
S
63 5 10
get_shipping_dhl_settings()
S
60 4 14
add_shipping_method()
S
60 4 14
get_log_url()
S
61 4 12
log_msg()
S
62 4 11
load_plugin()
S
61 3 13
dhl_get_myaccount_callback()
S
53 2 25
define_constants()
S
49 1 30
wizard_enqueue_scripts()
S
59 1 17
is_packstation()
S
67 2 8
generate_barcode()
S
64 2 9
dhl_label_folder_check()
S
70 2 6
is_parcelshop()
S
67 2 8
environment_check()
S
69 2 7
instance()
S
72 2 6
get_dhl_factory()
S
66 2 9
get_dhl_label_folder_dir()
S
68 2 7
get_dhl_label_folder_url()
S
68 2 7
dhl_myaccount_pwd_expiration_month_callback()
S
68 2 8
define()
S
75 2 5
dhl_myaccount_pwd_expiration_week_callback()
S
68 2 8
declare_product_editor_compatibility()
S
72 2 5
declare_wc_hpos_compatibility()
S
72 2 5
checkout_block()
S
64 2 10
is_post_office()
S
67 2 8
myaccount_enqueue_scripts()
S
60 1 14
init_hooks()
S
58 1 14
register_pr_dhl_block_category()
S
64 1 11
get_eu_iso2()
S
82 1 3
get_base_postcode()
S
79 1 3
get_currency_symbol()
S
79 1 3
get_base_country()
S
75 1 4
notice_wc_required()
S
71 1 7
load_textdomain()
S
77 1 3
init()
S
73 1 5
includes()
S
69 1 7
__construct()
S
72 1 5