Code Analysis: Print Invoice & Delivery Notes for WooCommerce 4.7.2

Function Rating Maintainability Complexity Lines of code
wcdn_get_order_info()
A
42 13 48
WooCommerce_Delivery_Notes::update()
A
48 14 29
WCDN_Writepanel::my_bulk_action_handler()
A
42 11 53
WCDN_Settings::get_settings()
A
29 1 190
wcdn_add_refunded_order_totals()
A
43 10 46
WCDN_Print::populate_orders()
A
48 11 30
wcdn_print_extra_fields()
A
50 11 28
WCDN_Component::wcdn_get_faq()
A
34 1 173
WCDN_Print::get_print_page_url()
A
47 10 32
WCDN_Writepanel::confirm_bulk_actions()
A
53 10 21
WCDN_Theme::add_email_print_url()
A
55 10 17
wcdn_get_formatted_item_price()
A
51 9 26
WCDN_TS_Tracker::ts_send_tracking_data()
A
46 8 38
WCDN_TS_Tracker::ts_get_server_info()
A
51 9 23
WCDN_TS_Tracker::ts_get_all_plugins()
A
49 8 31
WCDN_Settings::output_image_select()
A
44 6 55
WCDN_Theme::create_print_button_order_page()
A
52 8 22
WCDN_Writepanel::create_box_content()
S
50 7 28
WCDN_TS_deactivate::deactivate_options()
S
43 5 53
WCDN_Print::template_redirect_admin()
S
61 8 10
wcdn_order_item_count()
S
58 7 14
WCDN_TS_tracking::ts_tracking_actions()
S
60 7 11
WCDN_Print::cdn_print_local_pickup_address()
S
53 6 25
WCDN_Print::generate_template()
S
52 6 24
WCDN_TS_tracking::ts_add_reset_tracking_setting()
S
47 5 39
WCDN_Print::build_template_locations()
S
48 5 34
WCDN_Print::__construct()
S
37 1 92
WCDN_Settings::generate_template_type_fields()
S
48 5 32
WCDN_TS_Tracker::ts_get_wordpress_info()
S
55 5 18
WooCommerce_Delivery_Notes::wcdn_ts_add_plugin_tracking_data()
S
55 5 17
WCDN_Writepanel::add_listing_actions()
S
56 5 16
WCDN_Print::get_template_file_location()
S
59 5 14
WCDN_Settings::load_image_ajax()
S
61 5 11
wcdn_navigation_style()
S
100 1 67
WCDN_Print::template_redirect_theme()
S
63 5 9
WCDN_Settings::get_options_styles()
S
65 5 9
WCDN_TS_deactivate::_submit_uninstall_reason_action()
S
50 3 27
WCDN_TS_Woo_Active::ts_check_if_woocommerce_active()
S
62 4 11
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_Writepanel::is_order_post_page()
S
66 4 8
WCDN_Settings::get_setting_position()
S
66 4 8
WCDN_Print::parse_request()
S
63 4 10
WCDN_Component::__construct()
S
49 2 30
wcdn_company_logo()
S
52 2 30
WCDN_Print::wdn_add_extra_data_after_items()
S
61 3 12
wcdn_remove_semicolon_from_totals()
S
62 3 11
WCDN_TS_Faq_Support::__construct()
S
55 2 18
WCDN_Settings::get_template_description()
S
55 2 18
WooCommerce_Delivery_Notes::load()
S
57 2 16
WCDN_TS_tracking::ts_track_usage_data()
S
56 2 16
WCDN_TS_tracking::ts_reset_tracking_setting()
S
65 3 8
wcdn_has_refund()
S
68 3 8
WCDN_Theme::create_print_button_account_page()
S
62 3 10
WCDN_Print::add_endpoints()
S
65 3 9
WCDN_Theme::get_template_type()
S
62 3 10
WCDN_Theme::is_woocommerce_tracking_page()
S
76 3 3
WCDN_TS_Faq_Support::ts_add_new_settings_tab()
S
63 3 10
WCDN_TS_Faq_Support::ts_add_tab_content()
S
72 3 5
WCDN_Writepanel::add_styles()
S
69 3 6
WCDN_Writepanel::add_scripts()
S
67 3 7
WCDN_Writepanel::is_order_edit_page()
S
67 3 8
WooCommerce_Delivery_Notes::wcdn_deactivate_add_questions()
S
52 1 29
WCDN_Print::get_order_invoice_number()
S
61 2 11
WCDN_TS_tracking::__construct()
S
54 1 20
WCDN_TS_deactivate::ts_load_all_str()
S
54 1 20
WooCommerce_Delivery_Notes::add_settings_link()
S
58 1 16
WCDN_TS_tracking::ts_rereset_tracking_callback()
S
64 2 8
WCDN_TS_deactivate::ts_plugin_settings_link()
S
70 2 6
WooCommerce_Delivery_Notes::define()
S
75 2 5
WCDN_TS_Tracker::ts_get_theme_info()
S
67 2 7
WCDN_Component::ts_get_plugin_name()
S
63 2 10
WCDN_TS_Woo_Active::ts_check_woo_installed()
S
70 2 7
wcdn_get_template_content()
S
69 2 7
WCDN_Settings::wcdn_add_admin_field_reset_button()
S
72 2 5
wcdn_company_name()
S
64 2 9
WCDN_Theme::print_link_in_email()
S
63 2 10
WCDN_TS_deactivate::maybe_load_deactivate_options()
S
66 2 8
WCDN_TS_Woo_Active::__construct()
S
66 2 8
WCDN_Component::ts_get_plugin_locale()
S
63 2 10
WCDN_Print::add_query_vars()
S
71 2 6
WCDN_TS_tracking::ts_schedule_cron_job()
S
71 2 5
WooCommerce_Delivery_Notes::instance()
S
72 2 6
wcdn_get_customer_notes()
S
71 2 5
WCDN_Print::get_order()
S
71 2 6
WCDN_Settings::create_image()
S
63 2 10
WooCommerce_Delivery_Notes::include_classes()
S
66 2 9
WooCommerce_Delivery_Notes::localise()
S
67 2 7
wcdn_has_customer_notes()
S
68 2 8
WCDN_TS_tracking::ts_admin_notices_scripts()
S
61 1 13
WCDN_TS_Tracker::ts_get_tracking_data()
S
60 1 13
wcdn_content()
S
61 1 13
WCDN_TS_tracking::ts_add_new_settings_field()
S
61 1 12
WCDN_TS_Faq_Support::ts_add_meta_footer_text()
S
66 1 11
WCDN_TS_Faq_Support::ts_faq_support_page()
S
64 1 11
WCDN_Settings::__construct()
S
61 1 11
WCDN_Print::load_hooks()
S
82 1 3
wcdn_get_order_invoice_number()
S
77 1 4
WCDN_TS_Faq_Support::ts_add_submenu()
S
65 1 10
wcdn_get_print_link()
S
75 1 4
WCDN_TS_Tracker::ts_get_last_send_time()
S
78 1 3
wcdn_imprint()
S
77 1 4
WCDN_TS_tracking::ts_add_cron_schedule()
S
68 1 7
WCDN_Print::get_order_invoice_date()
S
67 1 7
WCDN_TS_tracking::ts_admin_notices()
S
72 1 5
wcdn_policies_conditions()
S
77 1 4
wcdn_get_company_logo_id()
S
75 1 4
WCDN_TS_Tracker::ts_get_wc_country()
S
76 1 4
WCDN_TS_Tracker::ts_get_wc_plugin_version()
S
80 1 3
wcdn_get_imprint()
S
75 1 4
wcdn_customer_notes()
S
76 1 4
WCDN_Settings::output()
S
73 1 5
WCDN_TS_Faq_Support::ts_get_plugin_url()
S
79 1 3
WCDN_TS_deactivate::load_str()
S
79 1 3
wcdn_get_template_title()
S
74 1 4
wcdn_get_order()
S
77 1 4
wcdn_template_stylesheet()
S
68 1 7
WCDN_TS_Tracker::__construct()
S
72 1 5
wcdn_company_info()
S
75 1 4
wcdn_get_personal_notes()
S
75 1 4
WooCommerce_Delivery_Notes::include_template_functions()
S
78 1 4
WooCommerce_Delivery_Notes::__wakeup()
S
78 1 3
WCDN_Settings::add_assets()
S
64 1 8
WCDN_Theme::__construct()
S
79 1 3
wcdn_document_title()
S
79 1 3
wcdn_remove_payment_method_from_totals()
S
74 1 5
wcdn_personal_notes()
S
77 1 4
WooCommerce_Delivery_Notes::init_hooks()
S
75 1 4
WCDN_Settings::add_settings_page()
S
75 1 4
WCDN_Writepanel::register_my_bulk_actions()
S
68 1 6
wcdn_navigation()
S
72 1 7
WooCommerce_Delivery_Notes::wcdn_get_data_for_opt_out()
S
70 1 6
WCDN_TS_Faq_Support::ts_get_template_path()
S
79 1 3
wcdn_has_shipping_address()
S
83 1 3
WCDN_TS_Tracker::ts_get_wc_city()
S
76 1 4
WooCommerce_Delivery_Notes::__construct()
S
74 1 5
WCDN_Writepanel::load_admin_hooks()
S
64 1 9
WCDN_Theme::load_hooks()
S
67 1 7
WCDN_Writepanel::add_box()
S
77 1 3
WCDN_Writepanel::__construct()
S
79 1 3
wcdn_init()
S
82 1 3
WCDN_TS_Faq_Support::ts_admin_menus()
S
66 1 9
wcdn_get_template_type()
S
75 1 4
WCDN_TS_Woo_Active::ts_disabled_notice()
S
72 1 5
WCDN_TS_tracking::ts_reset_tracking_setting_section_callback()
S
89 1 2
wcdn_get_policies_conditions()
S
75 1 4
WCDN_Settings::save()
S
70 1 6
WCDN_TS_Faq_Support::admin_head()
S
79 1 3
wcdn_get_orders()
S
78 1 4
WooCommerce_Delivery_Notes::define_constants()
S
68 1 7
WCDN_TS_deactivate::init()
S
64 1 9
WooCommerce_Delivery_Notes::__clone()
S
78 1 3
wcdn_get_order_invoice_date()
S
77 1 4