Code Analysis: WP Service Payment Form With Authorize.net 2.3.1

Function Rating Maintainability Complexity Lines of code
wpspf_service_payment_request_ajax()
D
24
35 156
wpspf_get_edit_field_attributes()
C
24
18 282
wpspf_get_dynamic_form_field_view()
B
35 20 83
wpspf_get_form_field_ajax()
B
29 10 228
wpspf_get_paymentgateway_field_view()
B
37 15 81
wpspf_save_form_field_ajax()
A
41 14 51
WPSPF_PAYMENT_Table::column_default()
A
55 8 19
WPSPF_PAYMENT_Table::process_bulk_action()
S
54 7 19
wpspf_on_activation()
S
44 3 57
wpspf_paymentform()
S
54 4 20
usort_reorder()
S
68 4 6
wpspf_get_form_fields()
S
61 3 12
wpspf_on_uninstall()
S
62 3 11
wpspf_save_service_payment_form_data_in_db()
S
53 2 24
wpspf_all_payments()
S
66 3 8
wpspf_delete_form_fields()
S
67 3 7
wpspf_on_deactivation()
S
65 3 8
WPSPF_PAYMENT_Table::prepare_items()
S
50 1 28
wpspf_render_list_page()
S
61 1 15
wpspf_getDefaultFormFieldsList()
S
62 1 14
WPSPF_PAYMENT_Table::get_columns()
S
61 1 13
wpspf_plugin_create_menu()
S
66 1 7
load_scripts()
S
79 1 3
wpspf_donate()
S
83 1 3
WPSPF_PAYMENT_Table::column_cb()
S
70 1 7
WPSPF_PAYMENT_Table::get_sortable_columns()
S
65 1 10
wpspf_plugin_settings_page()
S
77 1 4
WPSPF_PAYMENT_Table::get_bulk_actions()
S
74 1 5
wpspf_adding_styles()
S
76 1 4
wpspf_admin_enqueue_scripts()
S
78 1 3
WPSPF_PAYMENT_Table::__construct()
S
67 1 8
wpspf_setings_document()
S
77 1 4
wpspf_form_setings()
S
77 1 4
register_wpspf_plugin_settings()
S
69 1 7
wpspf_adding_scripts()
S
78 1 3