PR_DHL_WC D

Total Complexity 157
Dependencies 20
Dependents 1
Total lines 1,006
Lines of code 627
Logical lines of code 383
Comment lines 153
Methods 47
Properties 12

Methods 47

Method Rating Maintainability Complexity Lines of code
get_api_url()
A
45 16 37
set_account_details()
A
45 8 40
get_dhl_preferred_day_time()
A
48 8 33
get_pr_dhl_wc_order()
S
53 7 22
get_pr_dhl_wc_product()
S
55 7 19
test_dhl_connection_callback()
S
48 6 34
is_eu_exception()
S
55 7 18
dhl_enqueue_scripts()
S
49 6 31
add_shipping_method()
S
55 6 20
get_shipping_dhl_settings()
S
57 6 18
is_crossborder_shipment()
S
57 6 16
create_dhl_label_folder()
S
53 5 23
password_expiration_notice_callback()
S
57 5 16
add_admin_body_class()
S
63 5 10
is_shipping_domestic()
S
59 4 15
add_vn_states()
S
62 4 12
get_log_url()
S
61 4 12
log_msg()
S
62 4 11
dhl_get_myaccount_callback()
S
55 2 21
define_constants()
S
47 1 33
wizard_enqueue_scripts()
S
59 1 17
is_parcelshop()
S
67 2 8
load_plugin()
S
64 2 10
is_post_office()
S
67 2 8
generate_barcode()
S
64 2 9
dhl_label_folder_check()
S
70 2 6
declare_wc_hpos_compatibility()
S
72 2 5
is_packstation()
S
67 2 8
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
environment_check()
S
69 2 7
define()
S
75 2 5
myaccount_enqueue_scripts()
S
60 1 14
init_hooks()
S
59 1 14
get_eu_iso2()
S
82 1 3
init()
S
73 1 5
includes()
S
72 1 6
load_textdomain()
S
77 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
72 1 7
dhl_myaccount_pwd_expiration_month_callback()
S
76 1 4
dhl_myaccount_pwd_expiration_week_callback()
S
76 1 4
__construct()
S
74 1 4