Code Analysis: Woo Invoice 3.1.9

Function Rating Maintainability Complexity Lines of code
woo_invoice_settings()
D
27
43 131
Woo_Invoice_Helper::get_address2()
D
32 34 89
WebAppick\AppServices\Insights::deactivate_scripts()
C
23
11 382
WebAppick\AppServices\Promotions::__show_promos()
C
37 25 73
Woo_Invoice_Activator::activate()
C
34 23 100
WebAppick\AppServices\License::activate_client_license()
B
42 19 46
Woo_Invoice_Helper::get_address()
B
40 18 58
Woo_Invoice_Helper::get_order_number()
B
43 18 46
Woo_Invoice_Helper::get_custom_address()
B
40 17 59
WebAppick\AppServices\Insights::support_ticket_submission()
B
38 16 68
Woo_Invoice_Template::get_product_total_section()
B
40 16 59
Woo_Invoice_PDF::paper_size()
B
48 17 31
WebAppick\AppServices\License::send_request()
A
39 12 69
WebAppick\AppServices\Updater::check_plugin_update()
A
49 14 29
Woo_Invoice_Template::get_order_section()
A
36 9 91
WebAppick\AppServices\License::show_active_license_info()
A
45 12 42
woo_invoice_docs()
A
40 10 69
Woo_Invoice_Hooks::generate_packing_slip()
A
48 12 33
Woo_Invoice_Hooks::woo_invoice_pro_generate_shipping_label()
A
48 12 33
Woo_Invoice_Hooks::generate_invoice()
A
48 12 32
Woo_Invoice_PDF::get_watermark()
A
50 12 28
WebAppick\AppServices\License::__admin_notices()
A
47 11 35
Woo_Invoice_Template::get_order_note_section()
A
48 11 31
WebAppick\AppServices\Updater::__children_to_array()
A
57 12 14
WebAppick\AppServices\Updater::check_theme_update()
A
51 11 25
woo_invoice_download_fonts_callback()
A
43 9 52
Woo_Invoice_PDF::generate_pdf()
A
42 9 51
Woo_Invoice_Template::get_invoice_template()
A
45 9 42
Woo_Invoice_Hooks::add_my_account_order_view_action_download_invoice()
A
54 10 19
Woo_Invoice_Template::get_css()
A
43 8 48
Woo_Invoice_Helper::format_price()
A
44 8 45
WebAppick\AppServices\License::check_license_status()
A
51 9 26
Woo_Invoice_Template::get_packing_template()
A
46 8 39
WebAppick\AppServices\Insights::send_tracking_data()
A
54 9 20
Woo_Invoice_PDF::mpdf_config()
A
44 7 49
Woo_Invoice_Hooks::add_my_account_order_action_download_invoice()
A
54 9 18
WebAppick\AppServices\Insights::__get_server_info()
A
54 9 17
Woo_Invoice_Template::get_footer_section()
A
45 7 47
Woo_Invoice_Orders::get_orders_info()
A
43 7 46
WebAppick\AppServices\Insights::__get_all_plugins()
A
50 8 27
WebAppick\AppServices\Insights::admin_notice()
A
43 6 54
Woo_Invoice_Orders::get_order_info()
A
51 8 24
WebAppick\AppServices\Insights::init()
A
53 8 22
WebAppick\AppServices\Insights::uninstall_reason_submission()
A
47 7 32
Woo_Invoice_Hooks::__construct()
S
49 7 28
Woo_Invoice_Hooks::attach_invoice_to_order_email()
S
50 7 27
Woo_Invoice_Orders::get_product_title()
S
51 7 26
Woo_Invoice_Helper::get_invoice_logo()
S
51 7 24
Woo_Invoice_Template::get_product_section()
S
44 5 52
woo_invoice_review_notice()
S
53 7 21
Woo_Invoice_Orders::get_order_items()
S
47 6 35
WebAppick\AppServices\License::menu_output()
S
45 5 47
WebAppick\AppServices\License::deactivate_client_license()
S
57 7 15
WebAppick\AppServices\License::add_settings_page()
S
51 6 26
WebAppick\AppServices\License::migrate_license_from_wc_am()
S
52 6 24
WebAppick\AppServices\Insights::__get_uninstall_reasons()
S
42 3 61
WebAppick\AppServices\Updater::get_information()
S
56 6 16
woo_invoice_dashboard_widget_render()
S
51 5 28
Woo_Invoice_Orders::get_order_post_meta()
S
60 6 12
Woo_Invoice_Engine::generate_invoice()
S
54 5 20
Woo_Invoice_Engine::generate_packing_slip()
S
54 5 20
Woo_Invoice_Engine::generate_shipping_label()
S
54 5 20
WebAppick\AppServices\Promotions::__get_promos()
S
56 5 17
woo_invoice_get_invoice_number()
S
57 5 16
WebAppick\AppServices\Insights::__construct()
S
65 6 8
Woo_Invoice_Orders::get_item_dimension()
S
64 6 10
Woo_Invoice_Orders::get_shipping_total()
S
59 5 15
WebAppick\AppServices\Promotions::__webappick_dismiss_promo()
S
58 5 14
WebAppick\AppServices\Updater::plugins_api_filter()
S
60 5 14
WebAppick\AppServices\Insights::handle_optIn_optOut()
S
61 5 12
Woo_Invoice_Template::get_packing_total_section()
S
52 4 22
Woo_Invoice_Orders::get_product_total_weight()
S
55 4 18
Woo_Invoice_Hooks::add_invoice_download_link()
S
57 4 16
WebAppick\AppServices\Client::send_request()
S
50 3 30
Woo_Invoice_Helper::get_paid_stamp()
S
62 5 10
WebAppick\AppServices\License::handle_license_page_form()
S
60 4 15
WebAppick\AppServices\License::admin_menu()
S
61 4 14
woo_invoice_process_date_macros()
S
60 4 13
WebAppick\AppServices\License::redirect_to_license_page()
S
60 4 13
WebAppick\AppServices\License::generateInstanceId()
S
60 4 13
WebAppick\AppServices\Insights::get_tracking_data()
S
50 3 27
Woo_Invoice_Template::set_rtl()
S
62 4 12
WebAppick\AppServices\License::is_valid()
S
62 4 12
Woo_Invoice_Hooks::add_invoice_order_action_button()
S
52 3 22
Woo_Invoice_Hooks::logo_selector_print_scripts()
S
53 1 48
WebAppick\AppServices\Client::set_basename_and_slug()
S
55 3 18
Woo_Invoice_Hooks::woo_invoice_font_download_ajax()
S
56 3 17
woo_invoice_hide_promotion()
S
58 3 16
Woo_Invoice_Template::get_html_start()
S
58 3 16
Woo_Invoice_Orders::get_item_weight()
S
64 4 10
WebAppick\AppServices\Insights::__get_wp_info()
S
63 4 10
WebAppick\AppServices\Insights::theme_deactivated()
S
50 2 30
Woo_Invoice_Helper::get_bank_accounts()
S
65 4 9
WebAppick\AppServices\License::activation_deactivation()
S
59 3 14
Woo_Invoice_Orders::get_item_image()
S
61 3 13
WebAppick\AppServices\Insights::__get_admin()
S
61 3 12
WebAppick\AppServices\Promotions::__init_internal()
S
60 3 12
WebAppick\AppServices\Insights::__get_user_ip_address()
S
63 3 11
WebAppick\AppServices\Insights::__get_site_name()
S
63 3 11
WebAppick\AppServices\License::setLicense()
S
54 2 22
WebAppick\AppServices\Promotions::__get_promo_styles()
S
64 1 34
Woo_Invoice_Helper::get_state_label()
S
68 3 7
Woo_Invoice_Orders::get_item_title()
S
70 3 6
WebAppick\AppServices\License::licenses_style()
S
66 1 30
Woo_Invoice_Hooks::woo_invoice_bulk_action_handler()
S
64 3 10
Woo_Invoice_Hooks::save_pdf_template()
S
64 3 9
WebAppick\AppServices\License::plugin_action_links()
S
68 3 6
Woo_Invoice_Loader::run()
S
66 3 8
WebAppick\AppServices\License::getLicense()
S
65 3 10
Woo_Invoice_Helper::get_formatted_date()
S
66 3 8
WebAppick\AppServices\Promotions::__is_promo_active()
S
76 3 3
WebAppick\AppServices\Updater::init()
S
67 3 8
WebAppick\AppServices\Updater::get_cached_version_info()
S
67 3 7
Woo_Invoice_Orders::get_order_total_fees()
S
66 3 8
Woo_Invoice_WebAppickAPI::insight_init()
S
51 1 29
Woo_Invoice::__construct()
S
61 2 13
Woo_Invoice_Template::get_header_section()
S
52 1 28
Woo_Invoice_Helper::product_tax_rate()
S
61 2 12
woo_invoice_save_review_notice()
S
62 2 11
WebAppick\AppServices\Insights::init_common()
S
61 2 11
Woo_Invoice_WebAppickAPI::__construct()
S
61 2 11
Woo_Invoice_Hooks::pdf_meta_box_markup()
S
54 1 25
Woo_Invoice_Admin::enqueue_common_scripts()
S
55 1 22
WebAppick\AppServices\Promotions::__get_promo_scripts()
S
70 1 18
Woo_Invoice_WebAppickAPI::support_response()
S
55 1 18
Woo_Invoice_Admin::enqueue_scripts()
S
56 1 17
Woo_Invoice::load_dependencies()
S
58 1 16
Woo_Invoice_Orders::get_product_total_quantity()
S
68 2 7
WebAppick\AppServices\Insights::plugin_action_links()
S
64 2 10
WebAppick\AppServices\Promotions::init()
S
69 2 6
WebAppick\AppServices\Insights::init_plugin()
S
64 2 9
WebAppick\AppServices\Updater::set_cached_version_info()
S
70 2 6
Woo_Invoice_Engine::save_invoice()
S
63 2 10
WebAppick\AppServices\Insights::__schedule_event()
S
70 2 6
Woo_Invoice_Orders::get_discount_total()
S
71 2 6
WebAppick\AppServices\Insights::deactivation_cleanup()
S
67 2 8
Woo_Invoice_Orders::get_item_quantity()
S
68 2 7
woo_invoice_downloaded_font_count()
S
67 2 8
WebAppick\AppServices\Client::updater()
S
69 2 6
WebAppick\AppServices\License::get_input_license_value()
S
78 2 3
WebAppick\AppServices\Insights::__notice_dismissed()
S
68 2 7
Woo_Invoice_Hooks::add_invoice_number_to_order()
S
70 2 6
WebAppick\AppServices\Insights::__get_user_counts()
S
65 2 9
WebAppick\AppServices\Insights::activate_plugin()
S
64 2 9
Woo_Invoice_Hooks::woo_invoice_download_view_order_page()
S
64 2 10
Woo_Invoice_Orders::get_item_tax()
S
65 2 9
Woo_Invoice_Orders::tax_rate_id()
S
73 2 5
WebAppick\AppServices\License::schedule_cron_event()
S
70 2 6
Woo_Invoice_Orders::get_tax_total()
S
78 2 3
WebAppick\AppServices\Promotions::__construct()
S
71 2 6
WebAppick\AppServices\Client::__construct()
S
68 2 7
WebAppick\AppServices\Client::insights()
S
70 2 6
WebAppick\AppServices\Promotions::clear_hidden_promos()
S
67 2 7
WebAppick\AppServices\Client::license()
S
70 2 6
Woo_Invoice_WebAppickAPI::get_instance()
S
72 2 6
WebAppick\AppServices\License::init()
S
62 2 10
Woo_Invoice_Orders::get_refunded_total()
S
71 2 6
Woo_Invoice_Orders::get_net_total()
S
68 2 7
Woo_Invoice_Helper::get_country_label()
S
69 2 7
WebAppick\AppServices\Client::promotions()
S
70 2 6
Woo_Invoice_WebAppickAPI::data_we_collect()
S
62 1 13
Woo_Invoice_WebAppickAPI::support_ticket_template()
S
61 1 13
Woo_Invoice_Hooks::action_after_account_orders_js()
S
66 1 12
WebAppick\AppServices\License::show_license_page_card_header()
S
67 1 12
WebAppick\AppServices\License::add_menu_page()
S
64 1 11
Woo_Invoice_Template::get_html_end()
S
67 1 10
WebAppick\AppServices\Client::getClientVersion()
S
82 1 3
Woo_Invoice_WebAppickAPI::supportErrorResponse()
S
67 1 8
Woo_Invoice::define_admin_hooks()
S
69 1 6
Woo_Invoice::get_loader()
S
82 1 3
woo_invoice_before_document()
S
73 1 5
Woo_Invoice::installer()
S
91 1 2
Woo_Invoice_Helper::__construct()
S
80 1 3
Woo_Invoice_Hooks::register_bulk_packing_slip_actions()
S
75 1 4
WebAppick\AppServices\Insights::data_we_collect()
S
68 1 7
WebAppick\AppServices\Client::getProjectId()
S
82 1 3
Woo_Invoice::get_version()
S
82 1 3
WebAppick\AppServices\Promotions::__is_promo_hidden()
S
79 1 3
woo_invoice_before_shipping_address()
S
73 1 5
WebAppick\AppServices\License::clear_scheduler()
S
81 1 3
Woo_Invoice_Hooks::add_custom_meta_box()
S
77 1 3
woo_invoice_plugin_action_links()
S
68 1 6
WebAppick\AppServices\Client::getApiVersion()
S
82 1 3
WebAppick\AppServices\License::__getLicenceAPI()
S
82 1 3
WebAppick\AppServices\License::restoreAPI_URL()
S
78 1 3
Woo_Invoice_Orders::__construct()
S
73 1 5
woo_invoice_custom_style()
S
74 1 5
Woo_Invoice_WebAppickAPI::tracker_opt_in()
S
81 1 3
Woo_Invoice_Admin::enqueue_base_styles()
S
77 1 3
Woo_Invoice_Orders::get_order_total()
S
79 1 3
WebAppick\AppServices\Client::getType()
S
82 1 3
WebAppick\AppServices\Insights::__is_local_server()
S
77 1 3
WebAppick\AppServices\Client::getSlug()
S
82 1 3
WebAppick\AppServices\Insights::optOut()
S
72 1 5
WebAppick\AppServices\Client::getName()
S
82 1 3
Woo_Invoice::run()
S
82 1 3
WebAppick\AppServices\Updater::delete_cached_version_info()
S
80 1 3
woo_invoice_download_fonts_interval()
S
68 1 7
WebAppick\AppServices\Insights::add_removable_query_args()
S
71 1 6
woo_invoice_before_seller_info()
S
73 1 5
WebAppick\AppServices\Client::getBasename()
S
82 1 3
woo_invoice_before_customer_notes()
S
73 1 5
WebAppick\AppServices\Insights::get_data_collection_description()
S
81 1 3
WebAppick\AppServices\License::add_submenu_page()
S
65 1 10
woo_invoice_before_item_meta()
S
73 1 5
WebAppick\AppServices\Insights::notice()
S
77 1 4
WebAppick\AppServices\Insights::optIn()
S
68 1 7
Woo_Invoice_Hooks::register_bulk_invoice_actions()
S
75 1 4
woo_invoice_after_order_data()
S
73 1 5
Woo_Invoice_Orders::get_item_total_price()
S
76 1 4
WebAppick\AppServices\Promotions::__enqueue_deps()
S
77 1 4
WebAppick\AppServices\License::project_deactivation()
S
75 1 5
WebAppick\AppServices\Insights::get_opt_out_url()
S
78 1 3
Woo_Invoice_Admin::__construct()
S
77 1 4
WebAppick\AppServices\Updater::run_plugin_hooks()
S
71 1 5
Woo_Invoice_Template::get_paid_stamp_section()
S
80 1 3
WebAppick\AppServices\Insights::init_theme()
S
72 1 5
WebAppick\AppServices\Insights::__get_last_send()
S
78 1 3
woo_invoice_add_dashboard_widgets()
S
74 1 4
WebAppick\AppServices\Insights::get_opt_in_url()
S
78 1 3
WebAppick\AppServices\License::__construct()
S
65 1 8
WebAppick\AppServices\Client::getFile()
S
82 1 3
woo_invoice_after_document()
S
73 1 5
Woo_Invoice_Admin::load_admin_menu()
S
64 1 8
WebAppick\AppServices\Insights::get_post_count()
S
66 1 9
WebAppick\AppServices\Insights::is_tracking_allowed()
S
78 1 3
WebAppick\AppServices\Insights::add_weekly_schedule()
S
68 1 7
WebAppick\AppServices\License::check_update()
S
79 1 3
WebAppick\AppServices\License::setAPI_URL()
S
78 1 3
WebAppick\AppServices\Client::endpoint()
S
63 1 10
Woo_Invoice_Loader::add_filter()
S
77 1 3
Woo_Invoice::define_public_hooks()
S
82 1 3
WebAppick\AppServices\License::add_options_page()
S
66 1 9
WebAppick\AppServices\Client::getHash()
S
82 1 3
Woo_Invoice_Deactivator::deactivate()
S
89 1 2
Woo_Invoice_WebAppickAPI::get_data_collection_description()
S
81 1 3
Woo_Invoice_Loader::add()
S
64 1 10
WebAppick\AppServices\Promotions::set_source()
S
76 1 4
WebAppick\AppServices\License::formActionUrl()
S
70 1 6
WebAppick\AppServices\Updater::__construct()
S
72 1 5
Woo_Invoice_WebAppickAPI::tracker_opt_out()
S
82 1 3
WebAppick\AppServices\Client::getApi()
S
82 1 3
WebAppick\AppServices\Insights::hide_notice()
S
77 1 4
woo_invoice_after_product_list()
S
73 1 5
woo_invoice_before_product_list()
S
73 1 5
woo_invoice_template()
S
80 1 3
woo_invoice_font_dir_notice()
S
70 1 9
Woo_Invoice_Template::__construct()
S
72 1 5
WebAppick\AppServices\Client::__user_agent()
S
78 1 3
Woo_Invoice_Loader::add_action()
S
77 1 3
Woo_Invoice_WebAppickAPI::__clone()
S
78 1 3
WebAppick\AppServices\Updater::run_theme_hooks()
S
75 1 4
woo_invoice_after_billing_address()
S
73 1 5
Woo_Invoice_I18n::load_plugin_textdomain()
S
69 1 7
woo_invoice_after_seller_info()
S
73 1 5
woo_invoice_before_billing_address()
S
73 1 5
Woo_Invoice_Helper::get_seller_info()
S
71 1 5
WebAppick\AppServices\License::deactivate()
S
79 1 3
woo_invoice_engine()
S
82 1 3
woo_invoice_before_order_data()
S
73 1 5
woo_invoice_after_shipping_address()
S
73 1 5
woo_invoice_pro_vs_free()
S
81 1 3
woo_invoice_run()
S
74 1 5
woo_invoice_deactivate()
S
76 1 4
woo_invoice_activate()
S
76 1 4
Woo_Invoice_PDF::__construct()
S
67 1 8
WebAppick\AppServices\Client::getProjectVersion()
S
82 1 3
WebAppick\AppServices\Insights::add_extra()
S
77 1 4
Woo_Invoice::get_plugin_name()
S
82 1 3
Woo_Invoice_Orders::get_subtotal()
S
79 1 3
WebAppick\AppServices\Promotions::clear_cache()
S
79 1 3
WebAppick\AppServices\License::get_key()
S
76 1 4
Woo_Invoice_WebAppickAPI::is_tracking_allowed()
S
81 1 3
woo_invoice_after_customer_notes()
S
73 1 5
WebAppick\AppServices\License::get_information()
S
79 1 3
Woo_Invoice_Admin::enqueue_styles()
S
69 1 6
Woo_Invoice_Loader::__construct()
S
77 1 4
WebAppick\AppServices\Insights::__clear_schedule_event()
S
80 1 3
woo_invoice_helper()
S
82 1 3
woo_invoice_after_item_meta()
S
73 1 5
Woo_Invoice_Template::get_shipping_label_template()
S
63 1 10
WebAppick\AppServices\Insights::get_extra_data()
S
82 1 3
woo_invoice_pdf()
S
78 1 3
WebAppick\AppServices\License::activate()
S
79 1 3
WebAppick\AppServices\License::check()
S
79 1 3
woo_invoice_orders()
S
80 1 3
Woo_Invoice::set_locale()
S
75 1 4
Woo_Invoice_Orders::get_total_without_tax()
S
74 1 4