Code Analysis: Morning for WooCommerce 1.1.4

Function Rating Maintainability Complexity Lines of code
GreenInvoice\Utilities\Settings::field_output()
B
41 16 56
GreenInvoice\Utilities\API::request_payment_url()
A
36 12 82
GreenInvoice\Abstracts\Payment_Gateway::check_ipn_response()
A
46 9 37
GreenInvoice\Utilities\API::request()
A
47 7 37
GreenInvoice\Gateways\Credit_Card_Gateway::receipt_page()
S
53 7 19
GreenInvoice\Utilities\Settings::maybe_check_license()
S
55 6 22
GreenInvoice\Utilities\API::__construct()
S
55 6 20
GreenInvoice\Utilities\Settings::register_plugin_settings()
S
38 1 92
Plugin::check_license_activation()
S
61 6 12
greeninvoice_autoloader()
S
52 5 23
GreenInvoice\Utilities\API::connect_store()
S
52 5 23
greeninvoice_payment_gateway_init()
S
59 4 14
GreenInvoice\Utilities\Device::get_type()
S
61 4 13
Metabox::register_meta_boxes()
S
55 3 21
Plugin::register_backend_assets()
S
65 4 7
Plugin::inject_download_invoice_action()
S
61 3 12
GreenInvoice\Gateways\Bit_Gateway::receipt_page()
S
61 3 11
GreenInvoice\Utilities\Settings::__construct()
S
61 3 11
GreenInvoice\Abstracts\Payment_Gateway::supports_currency()
S
48 1 37
GreenInvoice\Schema\Document_Types::get_type()
S
54 2 19
Plugin::change_ipn_order_status()
S
71 3 6
Plugin::register_frontend_assets()
S
66 3 7
GreenInvoice\Utilities\API::set_license_key()
S
68 3 7
GreenInvoice\Utilities\Logger::__construct()
S
65 3 9
GreenInvoice\Utilities\Logger::log()
S
63 3 10
GreenInvoice\Utilities\Settings::maybe_change_status()
S
66 3 9
GreenInvoice\Gateways\PayPal_Gateway::process_payment()
S
60 2 14
GreenInvoice\Abstracts\Payment_Gateway::__construct()
S
58 2 14
GreenInvoice\Abstracts\Payment_Gateway::get_gateway_url()
S
60 2 14
Metabox::admin_metabox_output()
S
59 2 13
GreenInvoice\Abstracts\Payment_Gateway::init_form_fields()
S
53 1 24
GreenInvoice\Gateways\Credit_Card_Gateway::__construct()
S
56 1 16
Plugin::maybe_print_error()
S
71 2 6
GreenInvoice\Utilities\Logger::get_instance()
S
72 2 6
Plugin::get_instance()
S
72 2 6
GreenInvoice\Utilities\API::get_instance()
S
72 2 6
GreenInvoice\Abstracts\Payment_Gateway::needs_setup()
S
65 2 9
GreenInvoice\Utilities\Device::get_user_agent()
S
71 2 6
GreenInvoice\Gateways\Credit_Card_Gateway::supports_currency()
S
61 1 13
Plugin::__construct()
S
60 1 12
GreenInvoice\Utilities\Settings::register_plugin_settings_page()
S
63 1 11
Plugin::register_plugin_links()
S
65 1 9
Plugin::__clone()
S
78 1 3
Compatibility::wordpress_version()
S
74 1 4
GreenInvoice\Abstracts\Payment_Gateway::process_payment()
S
68 1 7
Metabox::__construct()
S
79 1 3
GreenInvoice\Utilities\Logger::clear_logs()
S
81 1 3
GreenInvoice\Utilities\API::get_body()
S
79 1 3
GreenInvoice\Utilities\Settings::settings_page_output()
S
80 1 3
Compatibility::woocommerce_not_installed()
S
75 1 4
GreenInvoice\Utilities\API::get_authorization_header()
S
78 1 3
Plugin::register_payment_gateways()
S
71 1 6
Compatibility::php_version()
S
74 1 4
GreenInvoice\Gateways\Bit_Gateway::__construct()
S
65 1 8
Compatibility::needs_activation()
S
73 1 4
greeninvoice_load_plugin_textdomain()
S
82 1 3
Plugin::__wakeup()
S
78 1 3
Compatibility::sandbox_active()
S
73 1 4
GreenInvoice\Gateways\PayPal_Gateway::__construct()
S
67 1 7
Compatibility::admin_notice()
S
75 1 4
GreenInvoice\Gateways\Bit_Gateway::supports_currency()
S
66 1 9
GreenInvoice\Utilities\Settings::get_options()
S
80 1 3