Code Analysis: Order Attachments for WooCommerce 2.2.2

Function Rating Maintainability Complexity Lines of code
WCOA_Options::validate()
A
53 8 26
WCOA_Attachment_Table::column_default()
S
56 6 16
WCOA_Admin::attachment_details()
S
50 5 28
WCOA_Attachment::get_url()
S
56 5 18
WCOA_Attachment::prepare_list()
S
55 4 20
WCOA_Ajax::add_attachment()
S
51 3 28
WCOA_Attachment::get_attachment_prefix()
S
60 4 13
WCOA_Ajax::send_email_to_customer()
S
55 3 21
WCOA_Attachment::upload()
S
49 2 30
WCOA_Attachment_Table::usort_reorder()
S
67 4 6
WCOA_Admin::init_meta_box()
S
59 3 14
WCOA_Attachment::save()
S
60 3 14
WCOA_Options::option_input_text()
S
58 3 14
WCOA_Attachment::get_all_by_user()
S
57 2 19
WCOA_Attachment::prepare_customer_list()
S
57 2 17
WCOA_Attachment::get_all()
S
59 2 16
WCOA_Options::option_completed_email_enabled()
S
64 3 9
WCOA_Attachment_Redirect_Handler::initialize_template()
S
71 3 5
WCOA_Options::option_email_enabled()
S
64 3 9
WCOA_Admin::delete_attachment()
S
63 3 9
WCOA_My_Account::get_attachments_endpoint_url()
S
65 3 9
WCOA_Admin::verify_hpos()
S
63 3 10
WCOA_Notification::prepare_email_header()
S
68 3 6
WCOA_Notification::prepare_email_content()
S
68 3 6
WCOA_Notification::prepare_email_button()
S
69 3 6
WCOA_Attachment::get_all_by_order()
S
62 2 12
WCOA_Attachment_Table::prepare_items()
S
55 1 19
WCOA_Notification::get_email_html()
S
57 1 16
WCOA_Attachment::get_list()
S
69 2 7
WCOA_Attachment::get_public_url()
S
63 2 10
WCOA_Options::load_fields()
S
58 1 13
WCOA_Options::params_email_header()
S
61 1 12
WCOA_Options::params_email_content()
S
61 1 12
WCOA_Options::params_attachment_prefix()
S
61 1 12
WCOA_Admin::__construct()
S
60 1 12
WCOA_Options::params_email_button()
S
62 1 11
WCOA_Options::params_attachments_endpoint()
S
62 1 11
WCOA_Admin::init_menu_page()
S
64 1 11
WCOA_Attachment_Table::actions()
S
63 1 9
wcoa_admin_management_main()
S
70 1 7
WCOA_Admin::notice_success_deleted()
S
74 1 6
WCOA_Notification::send_email()
S
66 1 8
WCOA_Admin::plugin_donate_link()
S
69 1 6
WCOA_Ajax::__construct()
S
75 1 4
WCOA_My_Account::initialize_menu()
S
67 1 7
WCOA_Admin::plugin_settings_link()
S
69 1 6
WCOA_Notification::get_email_button()
S
81 1 3
WCOA_Notification::create_note()
S
75 1 4
WCOA_Notification::get_email_header()
S
70 1 6
WCOA_Attachment_Redirect_Handler::__construct()
S
72 1 5
WCOA_Admin::add_menu_page_content()
S
80 1 3
wcoa_woocommerce_verification()
S
71 1 7
WCOA_Attachment_Redirect_Handler::redirect()
S
73 1 5
WCOA_Admin::add_meta_box_content()
S
80 1 3
WCOA_Admin::erase_metadata_after_delete_attachment()
S
71 1 5
WCOA_My_Account::add_rule()
S
75 1 4
WCOA_Attachment_Redirect_Handler::whitelist_update()
S
77 1 4
WCOA_My_Account::load_front_css()
S
78 1 3
WCOA_Attachment_Redirect_Handler::bad_request()
S
73 1 5
WCOA_Attachment_Redirect_Handler::add_rule()
S
79 1 3
WCOA_Admin::load_css()
S
78 1 3
wcoa_admin_management_settings()
S
68 1 9
WCOA_Attachment::__construct()
S
77 1 4
WCOA_Notification::__construct()
S
76 1 4
WCOA_Attachment_Table::column_cb()
S
78 1 3
WCOA_Options::section_email_template_description()
S
80 1 3
WCOA_My_Account::whitelist_update()
S
77 1 4
WCOA_Options::get()
S
78 1 3
WCOA_Notification::get_email_content()
S
70 1 6
WCOA_Admin::restart_rewrite()
S
81 1 3
WCOA_My_Account::initialize_template()
S
80 1 3
WCOA_Attachment_Table::get_sortable_columns()
S
67 1 8
WCOA_Admin::load_js()
S
78 1 3
WCOA_Attachment_Table::get_table_data()
S
81 1 3
WCOA_Attachment_Table::get_columns()
S
64 1 10
WCOA_My_Account::__construct()
S
65 1 8
WCOA_Options::__construct()
S
74 1 4