Code Analysis: Order Approval with attachment 1.0.0

Function Rating Maintainability Complexity Lines of code
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_imageupload_checkout_field_process()
C
34 24 88
Sg_Woocommerce_Order_Approval_With_Attachment_Public::oawoo_paymentgatways_disable_manager()
A
48 13 31
Sg_Woocommerce_Order_Approval_With_Attachment_Public::attach_paymentgatways_disable_manager()
A
53 8 22
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_attachment_action_woocommerce_trash_order()
S
53 7 22
Sg_Woocommerce_Order_Approval_With_Attachment::define_admin_hooks()
S
47 5 32
Sgoaa_WC_Customer_Order_Approved::trigger()
S
55 5 18
Sgoaa_WC_Customer_Order_New::trigger()
S
55 5 18
Sgoaa_WC_Customer_Order_Rejected::trigger()
S
55 5 18
Sg_Woocommerce_Order_Approval_With_Attachment_Public::sg_attach_view_order_and_thankyou_page()
S
49 4 28
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_add_order_attachments()
S
50 4 26
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_get_settings()
S
43 2 55
Sgoaa_WC_Admin_Order_New::__construct()
S
54 4 20
Sgit_Attach_Gateway::sgitsoa_email_instructions()
S
70 5 5
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_checkout_attachment_validation()
S
59 4 14
Sgoaa_WC_Admin_Order_New::trigger()
S
60 4 12
Sgoaa_WC_Customer_Order_Rejected::__construct()
S
55 3 18
Sgoaa_WC_Customer_Order_New::__construct()
S
55 3 18
Sgoaa_WC_Customer_Order_Approved::__construct()
S
55 3 18
Sgoaa_WC_Admin_Order_New::init_form_fields()
S
46 1 42
Sg_Woocommerce_Order_Approval_With_Attachment_Public::sg_image_upload()
S
56 2 23
Sgit_Attach_Gateway::sgitsoa_init_form_fields()
S
50 1 31
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::oawoo_add_custom_order_status_actions_button()
S
58 2 15
Sg_Woocommerce_Order_Approval_With_Attachment_Loader::run()
S
66 3 8
Sg_Woocommerce_Order_Approval_With_Attachment::__construct()
S
62 2 12
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_183245_upload_dir()
S
62 2 11
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_change_folder_name()
S
61 2 11
Sgit_Attach_Gateway::sgitsoa_thankyou_page()
S
74 2 5
Sg_Woocommerce_Order_Approval_With_Attachment_Public::sg_attachment_order_id_set_cookie()
S
71 2 5
Sg_Woocommerce_Order_Approval_With_Attachment_Public::sg_active_payment_gateway_is_sgitsoa_gateway()
S
66 2 9
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::wc_make_processing_orders_editable()
S
71 2 6
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_save_fields()
S
67 2 8
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_active_payment_gateway_is_sgitsoa_gateway()
S
66 2 9
Sgit_Attach_Gateway::__construct()
S
57 1 15
Sgoaa_WC_Customer_Order_New::get_content_html()
S
62 1 12
Sgoaa_WC_Customer_Order_Approved::get_content_html()
S
62 1 12
Sgoaa_WC_Admin_Order_New::get_content_html()
S
61 1 12
Sgoaa_WC_Customer_Order_Rejected::get_content_html()
S
62 1 12
Sgoaa_WC_Customer_Order_Approved::get_content_plain()
S
63 1 11
Sg_Woocommerce_Order_Approval_With_Attachment_Public::enqueue_scripts()
S
63 1 11
Sgoaa_WC_Customer_Order_Rejected::get_content_plain()
S
63 1 11
Sgoaa_WC_Admin_Order_New::get_content_plain()
S
63 1 11
Sgoaa_WC_Customer_Order_New::get_content_plain()
S
63 1 11
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_preorder_check_product_options()
S
63 1 11
Sgitsoa_Sg_Order_Approval_WC_Email::register_email()
S
63 1 11
Sg_Woocommerce_Order_Approval_With_Attachment::define_public_hooks()
S
61 1 11
sgoaa_activate_woocommerce_order_approval_with_attachment()
S
76 1 4
run_sgoaa_woocommerce_order_approval_with_attachment()
S
77 1 4
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::enqueue_styles()
S
77 1 3
Sg_Woocommerce_Order_Approval_With_Attachment_Loader::add_filter()
S
77 1 3
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::enqueue_scripts()
S
73 1 4
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::oawoo_wc_order_statuse_wc_waiting()
S
75 1 4
Sg_Woocommerce_Order_Approval_With_Attachment_Loader::add()
S
64 1 10
Sg_Woocommerce_Order_Approval_With_Attachment::set_locale()
S
75 1 4
Sgit_Attach_Gateway::process_payment()
S
64 1 10
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_add_settings_tab()
S
75 1 4
Sg_Woocommerce_Order_Approval_With_Attachment::get_plugin_name()
S
82 1 3
Sg_Woocommerce_Order_Approval_With_Attachment::get_loader()
S
82 1 3
Sg_Woocommerce_Order_Approval_With_Attachment_Public::__construct()
S
77 1 4
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::oawoo_status_waiting_rejected_notification()
S
80 1 3
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::email_waiting_new_order_notifications()
S
76 1 4
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::__construct()
S
77 1 4
Sg_Woocommerce_Order_Approval_With_Attachment_Deactivator::deactivate()
S
89 1 2
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::sg_attachment_add_meta_boxes()
S
77 1 3
Sg_Woocommerce_Order_Approval_With_Attachment::run()
S
82 1 3
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::oawoo_register_my_new_order_statuse_wc_waiting()
S
64 1 10
Sg_Woocommerce_Order_Approval_With_Attachment_Public::enqueue_styles()
S
77 1 3
Sg_Woocommerce_Order_Approval_With_Attachment_i18n::load_plugin_textdomain()
S
69 1 7
Sg_Woocommerce_Order_Approval_With_Attachment_Activator::activate()
S
89 1 2
Sgitsoa_Sg_Order_Approval_WC_Email::__construct()
S
78 1 3
Sg_Woocommerce_Order_Approval_With_Attachment_Loader::add_action()
S
77 1 3
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::oawoo_add_custom_order_status_actions_button_css()
S
79 1 4
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::oawoo_wc_add_to_gateways()
S
77 1 4
Sg_Woocommerce_Order_Approval_With_Attachment::get_version()
S
82 1 3
sgoaa_deactivate_woocommerce_order_approval_with_attachment()
S
76 1 4
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::oawoo_wc_gateway_init()
S
81 1 3
Sg_Woocommerce_Order_Approval_With_Attachment::load_dependencies()
S
66 1 8
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::oawoo_status_waiting_approved_notification()
S
80 1 3
Sg_Woocommerce_Order_Approval_With_Attachment_Admin::oawoo_wc_gateway_plugin_links()
S
69 1 6
Sg_Woocommerce_Order_Approval_With_Attachment_Loader::__construct()
S
77 1 4