Code Analysis: Woo Billingo Plus 4.4

Function Rating Maintainability Complexity Lines of code
WC_Billingo_Plus::generate_invoice()
D
0
137 488
WC_Billingo_Plus_Settings::save_payment_options()
D
23
46 188
WC_Billingo_Plus::generate_receipt()
D
23
42 168
WC_Billingo_Plus_Settings::init_form_fields()
C
16
2 492
WC_Billingo_Plus_Automations::run_automations()
C
36 29 64
WC_Billingo_Plus::get_order_item_tax_id()
C
36 24 71
WC_Billingo_Plus::init()
B
35 23 74
WC_Billingo_Plus_Vat_Number_Field::get_vat_number_data()
B
32 18 96
WC_Billingo_Plus_Bulk_Actions::handle_bulk_actions()
B
38 19 64
WC_Billingo_Plus::on_order_complete()
B
43 20 41
WC_Billingo_Plus::get_billingo_keys()
B
43 16 47
WC_Billingo_Plus_Vat_Number_Field::vat_number_validate()
A
48 17 28
WC_Billingo_Plus_Compatibility::load_modules()
A
45 14 40
WC_Billingo_Plus::generate_void_invoice()
A
37 11 75
WC_Billingo_Plus::add_listing_actions()
A
44 13 40
WC_Billingo_Plus_Helpers::check_vat_override()
A
47 13 35
WC_Billingo_Plus_Receipt::add_receipt_field_to_checkout()
A
44 12 43
WC_Billingo_Plus::get_order_shipping_tax_id()
A
44 12 43
WC_Billingo_Plus_Emails::temporarily_disable_email()
A
49 12 29
WC_Billingo_Plus::generate_download_link()
A
46 11 39
WC_Billingo_Plus_Settings::migrate_to_v3_api()
A
42 10 50
WC_Billingo_Plus_Conditions::match_conditions()
A
48 11 30
WC_Billingo_Plus_Admin_Notices::enqueue_notices()
A
54 11 19
WC_Billingo_Plus_Background_Generator::download_pdf_file()
A
47 10 33
WC_Billingo_Plus_Grouped_Invoice::generate_grouped_invoice()
A
44 9 44
WC_Billingo_Plus_Settings::migrate_settings()
A
44 9 44
WC_Billingo_Plus_IPN::ipn_check()
A
41 8 58
WC_Billingo_Plus_Woo_Currency_Compatibility::convert_currency()
A
50 10 26
WC_Billingo_Plus_Automations::find_automations()
A
48 9 31
WC_Billingo_Plus_Admin_Notices::hide_notice()
A
64 11 8
WC_Billingo_Plus_Emails::email_attachment()
A
49 9 29
WC_Billingo_Plus_Emails::init()
A
49 9 28
WC_Billingo_Plus_Health_Check::status_tests()
A
40 6 72
WC_Billingo_Plus_Advanced_Quantity_Compatibility::get_option()
A
51 9 26
WC_Billingo_Plus_Conditions::get_order_details()
A
47 8 35
WC_Billingo_Plus_Bulk_Actions::bulk_generator_ajax()
A
43 7 49
WC_Billingo_Plus_Invoice_Preview::load_preview_template()
A
51 8 26
WC_Billingo_Plus_Conditions::check_advanced_options()
A
51 8 26
WC_Billingo_Plus_Helpers::get_shipping_methods()
A
53 8 22
WC_Billingo_Plus_Settings::is_settings_page()
A
56 8 18
WC_Billingo_Plus_Advanced_Quantity_Compatibility::change_invoice_item_qty_unit()
A
56 8 16
WC_Billingo_Plus::generate_invoice_complete()
A
44 6 46
WC_Billingo_Plus_Product_Bundles_Compatibility::add_product_bundle_info()
S
57 8 15
WC_Billingo_Plus_Background_Migrator::migrate_orders()
S
49 7 29
WC_Billingo_Plus_Bulk_Actions::bulk_actions_results()
S
50 7 28
WC_Billingo_Plus_Health_Check::status_tests_ajax()
S
43 5 54
WC_Billingo_Plus_Helpers::check_legacy_invoice_id()
S
52 7 23
WC_Billingo_Plus::get_billingo_api()
S
53 7 23
WC_Billingo_Plus_Conditions::get_conditions()
S
40 4 67
WC_Billingo_Plus_Emails::email_attachment_file()
S
54 7 18
WC_Billingo_Plus_Api::request()
S
49 6 31
WC_Billingo_Plus_Helpers::get_pro_state()
S
49 6 31
WC_Billingo_Plus_Settings::pro_check()
S
49 6 30
WC_Billingo_Plus_Conditions::get_sample_row()
S
50 6 29
WC_Billingo_Plus::get_invoice_note()
S
53 6 22
WC_Billingo_Plus_Helpers::get_billingo_vat_ids()
S
43 4 51
WC_Billingo_Plus::get_billingo_invoice_blocks()
S
54 6 20
WC_Billingo_Plus::get_billingo_bank_accounts()
S
55 6 19
WC_Billingo_Plus_Helpers::get_order_language()
S
56 6 16
WC_Billingo_Plus::get_billingo_api_key_by_id()
S
58 6 14
WC_Billingo_Plus_Settings::get_email_ids_with_ajax()
S
50 5 28
WC_Billingo_Plus::get_option()
S
60 6 13
WC_Billingo_Plus_Settings::__construct()
S
50 5 26
WC_Billingo_Plus::get_coupon_invoice_item_details()
S
53 5 21
WC_Billingo_Plus_Background_Migrator::task()
S
55 5 20
WC_Billingo_Plus_Api::download()
S
54 5 20
WC_Billingo_Plus_Receipt::receipt_check_with_ajax()
S
55 5 20
wc_billingo_plus_activate()
S
55 5 19
WC_Billingo_Plus_Webhooks::create_payload()
S
55 5 18
WC_Billingo_Plus_Helpers::get_billingo_partner_id_from_order()
S
56 5 17
WC_Billingo_Plus_Bulk_Actions::add_invoices_in_preview_modal()
S
56 5 17
WC_Billingo_Plus::get_block_id()
S
58 5 15
WC_Billingo_Plus_Invoice_Preview::init()
S
65 6 8
WC_Billingo_Plus_Admin_Notices::ajax_hide_notice()
S
58 5 15
WC_Billingo_Plus::on_order_processing()
S
58 5 14
WC_Billingo_Plus_Settings::pro_deactivate()
S
50 4 28
WC_Billingo_Plus::frontend_js()
S
58 5 13
WC_Billingo_Plus_Vat_Number_Field::init()
S
50 4 26
WC_Billingo_Plus::check_payment_method_options()
S
62 5 11
WC_Billingo_Plus_Helpers::get_item_meta()
S
51 4 25
WC_Billingo_Plus_CheckoutWC_Compatibility::add_vat_number_compat_script()
S
53 3 40
WC_Billingo_Plus_Health_Check::debug_info_data()
S
46 3 38
WC_Billingo_Plus_WCFM_Compatibility::get_wcfm_vendor_from_order()
S
54 4 21
WC_Billingo_Plus_Webhooks::add_documents()
S
56 4 18
WC_Billingo_Plus::orders_download_button()
S
57 4 16
WC_Billingo_Plus_Settings::get_fetch_error_message()
S
62 5 10
WC_Billingo_Plus_Admin_Notices::display_migrate_notice()
S
70 5 5
WC_Billingo_Plus_Api::handleError()
S
64 5 9
WC_Billingo_Plus::get_billingo_accounts()
S
59 4 13
WC_Billingo_Plus::get_bank_account_id()
S
60 4 12
WC_Billingo_Plus_Admin_Notices::display_error_notice()
S
62 4 11
WC_Billingo_Plus_Admin_Notices::add_notice()
S
61 4 11
WC_Billingo_Plus_HuCommerce_Compatibility::add_vat_number()
S
63 4 11
WC_Billingo_Plus_Translatepress_Compatibility::change_language()
S
62 4 11
WC_Billingo_Plus_Translatepress_Compatibility::get_language()
S
62 4 11
WC_Billingo_Plus_Ajax::toggle_invoice()
S
53 3 22
WC_Billingo_Plus::resend_email()
S
53 3 22
WC_Billingo_Plus_Settings::check_nav_availability()
S
65 4 9
WC_Billingo_Plus_EU_Vat_Assistant_Compatibility::add_eu_vat_number()
S
70 4 6
WC_Billingo_Plus_Settings::get_invoice_blocks()
S
66 4 8
WC_Billingo_Plus::is_invoice_generated()
S
65 4 8
WC_Billingo_Plus_Settings::get_vat_options()
S
65 4 8
WC_Billingo_Plus_Settings::get_bank_accounts()
S
66 4 8
WC_Billingo_Plus_WCFM_Compatibility::get_wcfm_marketplace_vendors()
S
59 3 14
WC_Billingo_Plus::calculate_item_prices()
S
58 3 14
WC_Billingo_Plus_Background_Generator::add_pdf_to_heartbeat()
S
60 3 13
WC_Billingo_Plus_Vat_Number_Field::check_vat_number_with_ajax()
S
60 3 13
WC_Billingo_Plus_IPN::display_sync_button()
S
61 3 13
WC_Billingo_Plus_Settings::reload_blocks()
S
61 3 12
WC_Billingo_Plus_Settings::reload_bank_accounts()
S
61 3 12
WC_Billingo_Plus::get_rounding_option()
S
60 3 12
WC_Billingo_Plus_Conditions::check_item_entitlements()
S
60 3 12
WC_Billingo_Plus_Settings::get_order_statuses()
S
62 3 12
WC_Billingo_Plus_Vat_Number_Field::save_vat_number()
S
62 3 11
WC_Billingo_Plus_IPN::init()
S
61 3 11
WC_Billingo_Plus::admin_init()
S
60 3 11
WC_Billingo_Plus_Receipt::receipt_get_checkout_value()
S
63 3 11
WC_Billingo_Plus_Background_Generator::background_generator_loading_indicator()
S
52 2 24
WC_Billingo_Plus_Helpers::get_pdf_file_path()
S
54 2 19
WC_Billingo_Plus::on_auto_invoice_error()
S
56 2 18
WC_Billingo_Plus_Helpers::get_billingo_payment_methods()
S
48 1 32
WC_Billingo_Plus::__construct()
S
57 2 16
WC_Billingo_Plus_HuCommerce_Compatibility::vat_number_notify()
S
64 3 9
WC_Billingo_Plus::log_debug_messages()
S
64 3 9
WC_Billingo_Plus_Product_Bundles_Compatibility::remove_empty_line_items()
S
65 3 9
WC_Billingo_Plus_Vat_Number_Field::display_vat_number()
S
67 3 7
WC_Billingo_Plus_Admin_Notices::display_welcome_notice()
S
69 3 6
WC_Billingo_Plus_Vat_Number_Field::replace_vat_number_in_address()
S
67 3 7
WC_Billingo_Plus_Helpers::get_payment_methods()
S
64 3 10
is_woocommerce_active()
S
67 3 7
WC_Billingo_Plus::metabox()
S
63 3 10
WC_Billingo_Plus_Admin_Notices::display_v3_update_notice()
S
71 3 5
WC_Billingo_Plus_Product_Options::save_product_options_fields()
S
62 3 10
WC_Billingo_Plus_Product_Options::save_variable_options_fields()
S
63 3 9
WC_Billingo_Plus::disable_invoice_for_free_order()
S
67 3 7
WC_Billingo_Plus_Receipt::save_receipt_session_data()
S
65 3 9
WC_Billingo_Plus::add_listing_column()
S
63 3 10
WC_Billingo_Plus::get_payment_method_deadline()
S
66 3 8
WC_Billingo_Plus_Background_Generator::background_generator_status()
S
63 2 11
WC_Billingo_Plus_Receipt::reverse_receipt_with_ajax()
S
62 2 11
WC_Billingo_Plus::log_error_messages()
S
63 2 11
WC_Billingo_Plus_Product_Options::shipping_options_fields()
S
54 1 24
WC_Billingo_Plus_Emails::forward_invoices()
S
52 1 23
WC_Billingo_Plus_Helpers::get_billingo_entitlements()
S
55 1 20
WC_Billingo_Plus_Settings::render_custom_setting_html()
S
55 1 19
WC_Billingo_Plus_Health_Check::debug_info()
S
58 1 17
WC_Billingo_Plus_Bulk_Actions::add_bulk_options()
S
63 2 10
WC_Billingo_Plus_Settings::get_currency_codes()
S
67 2 7
WC_Billingo_Plus_Settings::get_bulk_zip_error()
S
68 2 7
WC_Billingo_Plus_Ajax::mark_completed_with_ajax()
S
65 2 8
WC_Billingo_Plus_Settings::wrap_end()
S
67 2 8
WC_Billingo_Plus_Vat_Number_Field::get_order_vat_number()
S
69 2 7
WC_Billingo_Plus_WCFM_Compatibility::change_to_vendor_account()
S
69 2 7
WC_Billingo_Plus_Vat_Number_Field::update_customer_meta()
S
73 2 4
WC_Billingo_Plus_Compatibility::instance()
S
72 2 6
WC_Billingo_Plus_Receipt::store_receipt_session_data()
S
73 2 5
WC_Billingo_Plus_Admin_Notices::display_migrated_notice()
S
72 2 5
WC_Billingo_Plus::instance()
S
72 2 6
WC_Billingo_Plus_EU_Vat_Number_Compatibility::add_eu_vat_number()
S
67 2 8
WC_Billingo_Plus_Checkout_Manager_Compatibility::add_vat_number_checkout_field()
S
70 2 6
WC_Billingo_Plus_Woo_Currency_Compatibility::change_currency_if_needed()
S
74 2 4
WC_Billingo_Plus_Settings::get_receipt_billing_fields()
S
58 1 15
WC_Billingo_Plus_Grouped_Invoice::grouped_generate_modal()
S
69 2 6
WC_Billingo_Plus_Vat_Number_Field::add_vat_number_to_my_formatted_address()
S
69 2 6
WC_Billingo_Plus_Admin_Notices::init_notices()
S
73 2 4
WC_Billingo_Plus_Webhooks::add_topics()
S
65 2 10
WC_Billingo_Plus_Admin_Notices::remove_notice()
S
64 2 9
WC_Billingo_Plus_Settings::wrap_start()
S
72 2 6
WC_Billingo_Plus_Settings::add_class_to_body()
S
71 2 6
WC_Billingo_Plus::plugin_action_links()
S
61 2 10
WC_Billingo_Plus::on_order_deleted()
S
74 2 5
WC_Billingo_Plus_Helpers::get_billingo_payment_method_label()
S
67 2 8
WC_Billingo_Plus::in_plugin_update_message()
S
68 2 8
WC_Billingo_Plus::get_invoice_type()
S
67 2 8
WC_Billingo_Plus_Bulk_Actions::generator_modal()
S
69 2 6
wc_billingo_plus_woocommerce_inactive_notice()
S
67 2 7
WC_Billingo_Plus_Bulk_Actions::show_invoices_in_preview_modal()
S
64 1 15
WC_Billingo_Plus_Api::handleResponse()
S
67 2 8
WC_Billingo_Plus_Helpers::save_billingo_partner_id()
S
64 2 9
WC_Billingo_Plus_Background_Generator::generate_document_async()
S
72 2 5
WC_Billingo_Plus_Admin_Notices::display_migrating_notice()
S
72 2 5
WC_Billingo_Plus_Helpers::replace_note_placeholders()
S
59 1 13
WC_Billingo_Plus_Helpers::get_supported_languages()
S
61 1 12
WC_Billingo_Plus_Vat_Number_Field::add_vat_number_checkout_field()
S
61 1 11
WC_Billingo_Plus_Ajax::resend_email_with_ajax()
S
69 1 6
WC_Billingo_Plus_Settings::get_shipping_methods()
S
80 1 3
WC_Billingo_Plus_Background_Generator::is_async_generate_running()
S
64 1 10
WC_Billingo_Plus_HuCommerce_Compatibility::init()
S
74 1 4
WC_Billingo_Plus_Product_Options::init()
S
64 1 9
WC_Billingo_Plus_EU_Vat_Number_Compatibility::init()
S
78 1 3
WC_Billingo_Plus_Settings::generate_wc_billingo_plus_settings_rounding_html()
S
79 1 3
WC_Billingo_Plus_Admin_Notices::init()
S
69 1 6
WC_Billingo_Plus_Webhooks::add_resource()
S
76 1 4
WC_Billingo_Plus_Automations::on_payment_complete()
S
78 1 3
WC_Billingo_Plus_Background_Migrator::__construct()
S
73 1 5
WC_Billingo_Plus_Helpers::is_pro_enabled()
S
74 1 4
WC_Billingo_Plus_Ajax::init()
S
67 1 7
WC_Billingo_Plus_Api::put()
S
79 1 3
WC_Billingo_Plus_Settings::generate_wc_billingo_plus_settings_automations_html()
S
79 1 3
WC_Billingo_Plus_Product_Bundles_Compatibility::init()
S
74 1 4
WC_Billingo_Plus_Ajax::generate_invoice_with_ajax()
S
67 1 7
WC_Billingo_Plus_Product_Options::variable_options_fields()
S
79 1 3
WC_Billingo_Plus_Settings::generate_wc_billingo_plus_settings_auto_status_sync_html()
S
79 1 3
WC_Billingo_Plus::render_meta_box_content_vat_number()
S
72 1 5
WC_Billingo_Plus_WCFM_Compatibility::create_vendor_conditions()
S
66 1 8
WC_Billingo_Plus_Background_Generator::background_generator_stop()
S
71 1 6
WC_Billingo_Plus_Settings::generate_wc_billingo_plus_settings_accounts_html()
S
79 1 3
WC_Billingo_Plus_Api::post()
S
79 1 3
WC_Billingo_Plus_Background_Generator::init()
S
65 1 8
WC_Billingo_Plus_Api::get()
S
79 1 3
WC_Billingo_Plus_Grouped_Invoice::init()
S
71 1 5
WC_Billingo_Plus_Automations::init()
S
71 1 5
WC_Billingo_Plus_CheckoutWC_Compatibility::init()
S
79 1 3
WC_Billingo_Plus_Ajax::void_invoice_with_ajax()
S
69 1 6
WC_Billingo_Plus_Vat_Number_Field::customer_meta()
S
66 1 8
WC_Billingo_Plus_IPN::run_sync_with_ajax()
S
72 1 5
WC_Billingo_Plus_Webhooks::add_topics_admin_menu()
S
70 1 6
WC_Billingo_Plus_EU_Vat_Assistant_Compatibility::init()
S
78 1 3
WC_Billingo_Plus_Product_Options::product_options_fields()
S
75 1 4
WC_Billingo_Plus_Settings::get_order_statuses_for_sync()
S
75 1 4
WC_Billingo_Plus_Advanced_Quantity_Compatibility::init()
S
78 1 3
WC_Billingo_Plus_Automations::on_status_change()
S
78 1 3
WC_Billingo_Plus_Settings::hide_rate_request()
S
73 1 5
WC_Billingo_Plus_Translatepress_Compatibility::init()
S
74 1 4
WC_Billingo_Plus::render_meta_box_content()
S
75 1 4
WC_Billingo_Plus_Bulk_Actions::init()
S
63 1 9
WC_Billingo_Plus_Settings::generate_wc_billingo_plus_settings_auto_status_html()
S
79 1 3
WC_Billingo_Plus_Settings::get_order_statuses_for_void()
S
75 1 4
WC_Billingo_Plus_Compatibility::__wakeup()
S
78 1 3
WC_Billingo_Plus_Vat_Number_Field::add_vat_number_to_address()
S
74 1 4
WC_Billingo_Plus_Settings::generate_wc_billingo_plus_settings_advanced_html()
S
79 1 3
WC_Billingo_Plus_Vat_Number_Field::display_vat_number_in_admin()
S
68 1 7
WC_Billingo_Plus_Health_Check::add_status_page_box()
S
75 1 4
WC_Billingo_Plus()
S
82 1 3
WC_Billingo_Plus_Grouped_Invoice::add_bulk_options()
S
74 1 4
WC_Billingo_Plus::add_listing_actions_2()
S
81 1 3
WC_Billingo_Plus_Subscriptions_Compatibility::remove_billing_fields_from_cloned_order()
S
77 1 4
WC_Billingo_Plus_Vat_Number_Field::add_vat_to_customer_details()
S
74 1 4
WC_Billingo_Plus_Helpers::get_document_types()
S
63 1 10
WC_Billingo_Plus_Checkout_Manager_Compatibility::init()
S
78 1 3
WC_Billingo_Plus_IPN::load()
S
72 1 5
WC_Billingo_Plus_Automations::on_order_created()
S
78 1 3
WC_Billingo_Plus_Settings::generate_wc_billingo_plus_settings_payment_methods_html()
S
79 1 3
WC_Billingo_Plus_Compatibility::__clone()
S
78 1 3
WC_Billingo_Plus_WCFM_Compatibility::init()
S
66 1 8
WC_Billingo_Plus_Compatibility::__construct()
S
78 1 3
WC_Billingo_Plus_Api::__construct()
S
77 1 4
WC_Billingo_Plus_Settings::generate_wc_billingo_plus_settings_title_html()
S
79 1 3
WC_Billingo_Plus_Webhooks::init()
S
66 1 7
WC_Billingo_Plus_Settings::get_email_types()
S
81 1 3
WC_Billingo_Plus::add_integration()
S
77 1 4
WC_Billingo_Plus_Receipt::init()
S
64 1 9
WC_Billingo_Plus_Health_Check::init()
S
69 1 6
WC_Billingo_Plus_Settings::get_payment_methods()
S
80 1 3
WC_Billingo_Plus_Subscriptions_Compatibility::init()
S
78 1 3
WC_Billingo_Plus_Settings::generate_wc_billingo_plus_settings_notes_html()
S
79 1 3
WC_Billingo_Plus_Woo_Currency_Compatibility::init()
S
78 1 3
WC_Billingo_Plus_Settings::generate_wc_billingo_plus_settings_vat_overrides_html()
S
79 1 3