Code Analysis: Print Invoice & Delivery Notes for WooCommerce 5.5.0

Function Rating Maintainability Complexity Lines of code
WooCommerce_Delivery_Notes::update()
D
26
45 126
WCDN_Settings::add_assets()
D
18
24 373
wcdn_get_order_info()
D
26
36 149
get_product_name()
C
32 27 94
Tyche_Plugin_Tracking::tracking_data()
B
34 21 80
WCDN_Print::populate_orders()
B
38 21 63
WCDN_Writepanel::my_bulk_action_handler()
B
30 8 197
WCDN_Theme::attach_pdf_to_emails()
A
46 16 37
WCDN_Print::get_print_page_url()
A
43 15 45
Tyche_Plugin_Deactivation::tyche_plugin_deactivation_submit_action()
A
46 13 35
wcdn_add_refunded_order_totals()
A
43 10 46
wcdn_print_extra_fields()
A
50 11 28
WCDN_Component::wcdn_get_faq()
A
34 1 173
WCDN_Writepanel::create_box_content()
A
45 10 38
wcdn_customization_emailattachto()
A
48 10 32
WCDN_Writepanel::confirm_bulk_actions()
A
53 10 21
wcdn_content()
A
47 9 34
WCDN_Theme::add_email_print_url()
A
55 10 17
Tyche_Plugin_Deactivation::enqueue_scripts()
A
34 3 120
wcdn_template_stylesheet()
A
48 9 30
wcdn_get_formatted_item_price()
A
51 9 26
Tyche_Plugin_Tracking::display_tracker_html_template()
A
52 9 20
WCDN_Component::__construct()
A
44 7 43
WooCommerce_Delivery_Notes::wcdn_delete_file_callbak()
A
51 8 27
Tyche_Plugin_Tracking::send_tracking_data()
A
45 7 42
WCDN_Settings::output_image_select()
A
44 6 55
WCDN_Theme::create_print_button_order_page()
A
52 8 22
Tyche_Plugin_Deactivation::init_vars()
S
58 8 15
WCDN_Writepanel::is_order_post_page()
S
62 8 10
WCDN_Print::template_redirect_admin()
S
61 8 10
wcdn_order_item_count()
S
58 7 14
Tyche_Plugin_Tracking::init_tracker()
S
59 7 12
WCDN_Print::generate_template()
S
52 6 25
WCDN_Print::cdn_print_local_pickup_address()
S
53 6 25
WooCommerce_Delivery_Notes::wcdn_create_dir()
S
55 6 19
WCDN_Print::build_template_locations()
S
48 5 34
WCDN_Print::__construct()
S
37 1 92
wcdn_save_document()
S
49 5 32
WCDN_Settings::generate_template_type_fields()
S
48 5 32
wcdn_pdf_company_logo()
S
49 5 27
WCDN_Writepanel::add_listing_actions()
S
56 5 16
WCDN_Print::get_template_file_location()
S
59 5 14
wcdn_customization_selectbox()
S
51 4 27
WooCommerce_Delivery_Notes::wcdn_remove_save_btn()
S
64 5 11
WCDN_Settings::load_image_ajax()
S
61 5 11
wcdn_navigation_style()
S
100 1 67
WooCommerce_Delivery_Notes::ts_reset_tracking_setting()
S
55 4 20
wcdn_customization()
S
42 1 65
WCDN_Print::template_redirect_theme()
S
63 5 9
WCDN_Writepanel::is_order_edit_page()
S
63 5 10
WCDN_Settings::get_options_styles()
S
65 5 9
WCDN_Theme::create_print_button_account_page()
S
60 4 11
WCDN_TS_Woo_Active::ts_check_if_woocommerce_active()
S
62 4 11
WCDN_Settings::get_template_description()
S
55 3 17
wcdn_get_pdf_template()
S
57 3 16
wcdn_additional_product_fields()
S
63 4 10
WCDN_Settings::array_merge_at()
S
59 3 15
WCDN_Theme::add_scripts()
S
68 4 6
WooCommerce_Delivery_Notes::is_woocommerce_activated()
S
62 4 10
WCDN_Settings::wcdn_remove_shoplogo()
S
69 4 6
WCDN_Print::parse_request()
S
63 4 10
Tyche_Plugin_Tracking::init_vars()
S
59 3 14
WCDN_Print::wdn_add_extra_data_after_items()
S
61 3 12
wcdn_remove_semicolon_from_totals()
S
62 3 11
wcdn_rtl()
S
61 2 21
WooCommerce_Delivery_Notes::wcdn_ts_add_plugin_tracking_data()
S
56 2 18
WooCommerce_Delivery_Notes::load()
S
56 2 17
wcdn_has_refund()
S
68 3 8
WCDN_Print::add_endpoints()
S
65 3 9
WCDN_Writepanel::add_scripts()
S
67 3 7
WCDN_Theme::get_template_type()
S
62 3 10
WCDN_Theme::is_woocommerce_tracking_page()
S
76 3 3
WooCommerce_Delivery_Notes::wcdn_ts_tracker_display_notice()
S
68 3 7
WCDN_Writepanel::add_styles()
S
69 3 6
wcdn_customization_numberfield()
S
60 2 14
WCDN_Print::get_order_invoice_number()
S
58 2 14
wcdn_company_logo()
S
60 2 13
wcdn_customization_colorfield()
S
60 2 13
wcdn_customization_textfield()
S
60 2 13
wcdn_customization_numbering()
S
55 1 28
WooCommerce_Delivery_Notes::wcdn_deactivation_enquaue_script()
S
53 1 27
Tyche_Plugin_Tracking::__construct()
S
60 2 12
wcdn_customization_label()
S
51 1 26
WCDN_Print::get_order_invoice_date()
S
62 2 11
create_pdf()
S
54 1 20
WooCommerce_Delivery_Notes::add_settings_link()
S
58 1 16
wcdn_get_template_content()
S
69 2 7
wcdn_get_customer_notes()
S
71 2 5
add_guest_access_token_to_order_blocks()
S
75 2 5
WCDN_Print::add_query_vars()
S
71 2 6
WCDN_Settings::wcdn_add_admin_field_reset_button()
S
72 2 5
Tyche_Plugin_Deactivation::__construct()
S
65 2 8
WCDN_Component::ts_get_plugin_locale()
S
63 2 10
WCDN_Print::get_order()
S
71 2 6
WooCommerce_Delivery_Notes::localise()
S
67 2 7
Tyche_Plugin_Deactivation::plugin_action_links()
S
69 2 6
WCDN_TS_Woo_Active::__construct()
S
66 2 8
Tyche_Plugin_Tracking::schedule_cron_job()
S
71 2 5
get_adjusted_quantity()
S
68 2 7
WCDN_TS_Woo_Active::ts_check_woo_installed()
S
70 2 7
WooCommerce_Delivery_Notes::instance()
S
72 2 6
WCDN_Writepanel::add_box()
S
66 2 8
wcdn_company_name()
S
64 2 9
Tyche_Plugin_Tracking::dismiss_notice()
S
66 2 8
wcdn_has_customer_notes()
S
68 2 8
WCDN_Component::ts_get_plugin_name()
S
63 2 10
wcdn_get_document_template()
S
63 2 10
WCDN_Theme::print_link_in_email()
S
63 2 10
WCDN_Settings::create_image()
S
63 2 10
add_guest_access_token_to_order()
S
75 2 5
WooCommerce_Delivery_Notes::include_classes()
S
66 2 9
WooCommerce_Delivery_Notes::define()
S
75 2 5
WCDN_Writepanel::load_admin_hooks()
S
62 1 11
WCDN_Settings::menu()
S
64 1 11
WooCommerce_Delivery_Notes::define_constants()
S
68 1 7
WCDN_Print::load_hooks()
S
82 1 3
wcdn_navigation()
S
72 1 7
WooCommerce_Delivery_Notes::init_hooks()
S
68 1 7
wcdn_get_orders()
S
78 1 4
Tyche_Plugin_Tracking::reset_tracker_setting()
S
76 1 4
wcdn_get_personal_notes()
S
75 1 4
WCDN_TS_Woo_Active::ts_disabled_notice()
S
72 1 5
wcdn_get_order()
S
77 1 4
WCDN_Settings::add_settings_page()
S
75 1 4
WooCommerce_Delivery_Notes::include_template_functions()
S
73 1 6
wcdn_remove_payment_method_from_totals()
S
74 1 5
WCDN_Settings::output()
S
80 1 3
WCDN_Theme::load_hooks()
S
65 1 8
Tyche_Plugin_Tracking::cron_schedule()
S
68 1 7
add_guest_access_token()
S
73 1 5
WooCommerce_Delivery_Notes::__construct()
S
71 1 6
WooCommerce_Delivery_Notes::__wakeup()
S
78 1 3
WCDN_Settings::__construct()
S
64 1 9
wcdn_customer_notes()
S
76 1 4
WCDN_Writepanel::register_my_bulk_actions()
S
68 1 6
wcdn_get_template_title()
S
74 1 4
wcdn_imprint()
S
77 1 4
wcdn_get_company_logo_id()
S
75 1 4
wcdn_company_info()
S
75 1 4
wcdn_get_imprint()
S
75 1 4
wcdn_get_order_invoice_date()
S
77 1 4
wcdn_get_template_type()
S
75 1 4
WCDN_Theme::__construct()
S
79 1 3
wcdn_get_print_link()
S
75 1 4
wcdn_document_title()
S
79 1 3
wcdn_has_shipping_address()
S
83 1 3
wcdn_get_policies_conditions()
S
75 1 4
WooCommerce_Delivery_Notes::init_tracker_completed()
S
76 1 4
WCDN_Settings::redirect_to_wcdn_settings()
S
77 1 4
wcdn_personal_notes()
S
77 1 4
wcdn_init()
S
82 1 3
WCDN_Writepanel::__construct()
S
79 1 3
WooCommerce_Delivery_Notes::__clone()
S
78 1 3
wcdn_policies_conditions()
S
77 1 4
wcdn_get_order_invoice_number()
S
77 1 4