Code Analysis: Invoice Gateway For WooCommerce 1.1.4.2

Function Rating Maintainability Complexity Lines of code
IGFW\Models\Gateways\IGFW_Invoice_Gateway::is_available()
B
41 23 52
IGFW\Models\Script_Loader::load_frontend_scripts()
A
39 13 59
IGFW\Models\Script_Loader::load_backend_scripts()
A
44 13 42
IGFW\Models\IGFW_Settings::render_igfw_plugin_installer_field()
A
41 8 68
IGFW\Models\Orders\IGFW_Order_Email::add_invoice_note_to_admin_new_order_email()
A
50 10 26
IGFW\Helpers\Plugin_Installer::download_and_activate_plugin()
A
47 9 35
IGFW\Models\WPAY_Pointer::dismiss_pointer()
A
58 10 12
IGFW\Models\Orders\IGFW_Order_Email::add_paid_by_invoice_note_on_customer_completed_order_email()
A
53 9 22
IGFW\Models\Orders\IGFW_Order_CPT::save_invoice_number()
A
49 7 33
IGFW\Models\Orders\IGFW_Order_CPT::log_invoice_number_activity()
S
60 7 12
IGFW\Models\Blocks\IGFW_Blocks_Payment_Method::get_payment_method_script_handles()
S
55 6 18
IGFW\Helpers\Helper_Functions::convert_utc_offset_to_timezone()
S
57 6 16
IGFW\Models\Gateways\IGFW_Invoice_Gateway::init_form_fields()
S
42 3 57
IGFW\Models\WPAY_Pointer::admin_bar_menu()
S
57 5 16
IGFW\Models\Blocks\IGFW_Gateway_Blocks_Support::process_purchase_order_number()
S
57 5 15
IGFW\Models\Orders\IGFW_Order_CPT::add_purchase_number_number_to_checkout_posted_data()
S
64 6 9
IGFW\Models\Blocks\IGFW_Blocks_Payment_Method::get_payment_method_data()
S
58 5 13
IGFW::missing_plugin_dependencies_notice()
S
50 4 27
IGFW\Helpers\Plugin_Installer::ajax_install_activate_plugin()
S
52 4 25
IGFW\Models\WPAY_Pointer::get_pointer_content()
S
54 4 19
IGFW\Models\WPAY_Pointer::should_load_pointer()
S
62 5 10
IGFW\Models\Gateways\IGFW_Invoice_Gateway::email_instructions()
S
67 5 7
IGFW::check_plugin_dependencies()
S
59 4 14
IGFW\Models\Bootstrap::activate_plugin_function()
S
60 4 13
IGFW\Models\Bootstrap::deactivate_plugin()
S
61 4 13
IGFW\Models\WPAY_Pointer::load_pointer()
S
54 3 27
IGFW\Models\Orders\IGFW_Order_CPT::show_invoice_payment_gateway_on_free_orders()
S
60 4 12
IGFW\Helpers\Helper_Functions::current_user_authorized()
S
62 4 11
IGFW\Models\Gateways\IGFW_Invoice_Gateway::payment_fields()
S
57 3 17
IGFW\Models\WPAY_Pointer::maybe_load_pointer()
S
65 4 9
IGFW\Models\IGFW_Settings::get_general_section_options()
S
47 1 44
IGFW::__construct()
S
60 3 13
IGFW\Models\Orders\IGFW_Order_CPT::add_invoice_number_field()
S
52 2 27
IGFW\Helpers\Helper_Functions::get_site_current_timezone()
S
63 3 11
IGFW\Models\WPAY_Pointer::is_user_pointer_dismissed()
S
64 3 10
IGFW\Models\Gateways\IGFW_Invoice_Gateway::add_to_gateways()
S
70 3 6
IGFW\Models\Bootstrap::single_activate()
S
64 3 10
IGFW\Models\Orders\IGFW_Order_CPT::maybe_save_purchase_number_number_on_checkout()
S
72 3 5
IGFW\Models\Bootstrap::initialize()
S
69 3 7
IGFW\Helpers\Plugin_Installer::activate_plugin()
S
67 3 7
IGFW::run_plugin()
S
69 3 7
IGFW\Models\Orders\IGFW_Order_CPT::add_order_invoice_meta_box()
S
61 2 13
IGFW\Models\Bootstrap::run()
S
51 1 28
IGFW\Models\WPAY_Pointer::enqueue_pointer()
S
63 2 12
IGFW\Models\IGFW_Settings::get_help_section_options()
S
54 1 26
IGFW\Models\Gateways\IGFW_Invoice_Gateway::__construct()
S
54 1 19
IGFW\Models\IGFW_Settings::render_igfw_invoice_gateway_settings_link_field()
S
60 1 17
IGFW\Models\IGFW_Settings::get_settings()
S
66 2 8
IGFW\Abstracts\Abstract_Main_Plugin_Class::add_to_public_models()
S
70 2 6
IGFW\Models\IGFW_Settings::render_igfw_help_resources_field()
S
60 1 15
IGFW\Helpers\Plugin_Installer::get_instance()
S
71 2 6
IGFW\Helpers\Helper_Functions::get_instance()
S
71 2 6
IGFW\Models\Script_Loader::get_instance()
S
70 2 6
IGFW\Models\Bootstrap::new_mu_site_init()
S
69 2 7
IGFW\Models\Blocks\IGFW_Blocks_Payment_Method::is_active()
S
77 2 3
IGFW\Models\Orders\IGFW_Order_Email::get_instance()
S
70 2 6
IGFW\Models\Blocks\IGFW_Gateway_Blocks_Support::get_instance()
S
70 2 6
IGFW::get_instance()
S
71 2 6
IGFW\Models\Bootstrap::get_instance()
S
69 2 6
IGFW\Models\Gateways\IGFW_Invoice_Gateway::thankyou_page()
S
73 2 5
IGFW\Models\Orders\IGFW_Order_CPT::get_instance()
S
70 2 6
IGFW\Abstracts\Abstract_Main_Plugin_Class::add_to_all_plugin_models()
S
70 2 6
IGFW\Helpers\Plugin_Constants::__construct()
S
58 1 15
igfw_plugin_cleanup()
S
71 2 6
IGFW\Models\Bootstrap::add_plugin_action_links()
S
67 2 7
IGFW\Models\Bootstrap::initialize_plugin_settings_options()
S
73 2 5
IGFW\Models\Bootstrap::declare_cart_checkout_blocks_compatibility()
S
66 2 9
IGFW\Models\Bootstrap::declare_hpos_compatibility()
S
71 2 5
IGFW\Helpers\Plugin_Constants::get_instance()
S
71 2 6
IGFW\Models\WPAY_Pointer::get_instance()
S
70 2 6
IGFW\Models\IGFW_Settings::__construct()
S
58 1 14
IGFW\Helpers\Helper_Functions::get_utm_url()
S
60 1 13
IGFW\Models\Gateways\IGFW_Invoice_Gateway::process_payment()
S
61 1 13
IGFW\Models\Blocks\IGFW_Gateway_Blocks_Support::run()
S
64 1 12
IGFW::initialize_plugin_components()
S
63 1 11
IGFW\Models\Bootstrap::single_deactivate()
S
82 1 3
IGFW\Helpers\Plugin_Constants::plugin_main_file()
S
82 1 3
IGFW\Models\Blocks\IGFW_Blocks_Payment_Method::get_supported_features()
S
73 1 6
IGFW\Helpers\Plugin_Installer::get_plugin_basename_by_slug()
S
75 1 4
IGFW\Models\WPAY_Pointer::activate()
S
79 1 3
IGFW\Helpers\Plugin_Installer::is_plugin_installed()
S
79 1 3
IGFW\Models\WPAY_Pointer::get_admin_bar_title()
S
65 1 10
IGFW\Models\Script_Loader::run()
S
74 1 4
IGFW::install_plugin_models()
S
91 1 2
IGFW\Models\Orders\IGFW_Order_CPT::run()
S
64 1 9
IGFW\Models\WPAY_Pointer::run()
S
67 1 7
IGFW\Models\Bootstrap::load_plugin_textdomain()
S
77 1 3
IGFW\Models\Orders\IGFW_Order_Email::run()
S
74 1 4
IGFW\Models\Orders\IGFW_Order_CPT::new_mu_site_init()
S
91 1 2
IGFW\Helpers\Plugin_Installer::__construct()
S
79 1 3
IGFW\Helpers\Plugin_Constants::logs_root_path()
S
82 1 3
IGFW\Models\Script_Loader::__construct()
S
73 1 5
IGFW\Helpers\Plugin_Installer::is_plugin_allowed_for_install()
S
78 1 3
IGFW\Helpers\Helper_Functions::is_plugin_installed()
S
79 1 3
IGFW\Helpers\Plugin_Constants::js_root_url()
S
82 1 3
IGFW::check_plugin_dependency_version_requirements()
S
82 1 3
IGFW\Models\Orders\IGFW_Order_Email::__construct()
S
71 1 6
IGFW\Helpers\Plugin_Constants::plugin_basename()
S
82 1 3
IGFW\Models\Bootstrap::__construct()
S
69 1 7
IGFW\Models\Orders\IGFW_Order_CPT::view_order_invoice_meta_box()
S
79 1 3
IGFW\Helpers\Plugin_Constants::images_root_url()
S
82 1 3
IGFW\Models\IGFW_Settings::save()
S
68 1 7
IGFW\Helpers\Plugin_Constants::plugin_dir_url()
S
82 1 3
IGFW\Helpers\Plugin_Constants::css_root_url()
S
82 1 3
IGFW\Helpers\Plugin_Constants::build_dir_path()
S
82 1 3
IGFW\Models\Blocks\IGFW_Gateway_Blocks_Support::__construct()
S
76 1 4
IGFW\Helpers\Plugin_Constants::views_root_path()
S
82 1 3
IGFW\Helpers\Plugin_Constants::main_plugin_file_path()
S
82 1 3
IGFW::invalid_plugin_dependency_version_notice()
S
91 1 2
IGFW\Helpers\Plugin_Installer::get_allowed_plugins()
S
75 1 4
IGFW\Helpers\Helper_Functions::__construct()
S
81 1 3
IGFW\Models\Blocks\IGFW_Gateway_Blocks_Support::initialize_blocks_integration()
S
76 1 4
IGFW\Models\IGFW_Settings::get_sections()
S
68 1 7
IGFW\Helpers\Plugin_Constants::plugin_dir_path()
S
82 1 3
IGFW\Models\WPAY_Pointer::__construct()
S
71 1 6
IGFW\Helpers\Plugin_Constants::build_dir_url()
S
82 1 3
IGFW\Models\IGFW_Settings::output()
S
73 1 5
igfw()
S
80 1 3
IGFW\Helpers\Plugin_Constants::templates_root_path()
S
82 1 3
IGFW\Helpers\Helper_Functions::write_debug_log()
S
76 1 3
IGFW\Models\Blocks\IGFW_Blocks_Payment_Method::initialize()
S
79 1 3
IGFW\Helpers\Helper_Functions::get_all_user_roles()
S
77 1 4
IGFW\Models\Orders\IGFW_Order_CPT::__construct()
S
73 1 5