Code Analysis: Flutterwave Payments 1.0.5

Function Rating Maintainability Complexity Lines of code
FLW_Rave_Shortcode::pay_button_shortcode()
C
34 22 92
FLW_WP_List_Table::pagination()
B
33 17 96
FLW_WP_List_Table::print_column_headers()
B
39 19 53
FLW_WP_List_Table::months_dropdown()
A
44 11 43
FLW_WP_List_Table::comments_bubble()
A
47 8 36
FLW_WP_List_Table::single_row_columns()
A
47 7 37
FLW_WP_List_Table::set_pagination_args()
S
58 8 14
FLW_WP_List_Table::get_column_info()
S
51 7 25
FLW_WP_List_Table::search_box()
S
54 7 20
FLW_Rave_Pay::process_payment()
S
48 5 30
FLW_WP_List_Table::current_action()
S
64 7 9
FLW_WP_List_Table::bulk_actions()
S
52 5 22
FLW_WP_List_Table::row_actions()
S
57 5 15
FLW_Rave_Payment_List::column_default()
S
61 5 12
FLW_Rave_Pay::admin_notices()
S
60 5 11
FLW_WP_List_Table::__construct()
S
52 4 24
FLW_WP_List_Table::ajax_response()
S
54 4 22
FLW_VC_Simple_Form::flw_simple_form_mapping()
S
44 2 49
FLW_WP_List_Table::get_default_primary_column_name()
S
59 4 15
FLW_Rave_Api::getCURL()
S
59 4 14
FLW_WP_List_Table::get_primary_column_name()
S
61 4 12
FLW_WP_List_Table::view_switcher()
S
55 3 20
FLW_WP_List_Table::display_tablenav()
S
57 3 19
FLW_Rave_Pay::_init()
S
58 3 17
FLW_WP_List_Table::get_pagenum()
S
68 4 6
FLW_WP_List_Table::display()
S
53 2 29
FLW_Rave_Payment_List::get_payments()
S
59 3 13
FLW_WP_List_Table::views()
S
59 3 13
FLW_Rave_Shortcode::render_payment_form()
S
64 3 9
FLW_Rave_Shortcode::get_logo_url()
S
65 3 8
FLW_Tinymce_Plugin::flw_rave_shortcode_button_init()
S
69 3 6
FLW_WP_List_Table::get_pagination_arg()
S
68 3 8
FLW_WP_List_Table::get_items_per_page()
S
69 3 6
FLW_Rave_Admin_Settings::is_public_key_present()
S
71 3 5
FLW_Rave_Pay::_fetchTransaction()
S
59 2 15
FLW_Rave_Pay::_include_files()
S
63 2 11
FLW_Rave_Admin_Settings::flw_rave_add_admin_menu()
S
57 1 19
FLW_Rave_Shortcode::load_js_files()
S
56 1 17
FLW_Rave_Payment_List::add_payment_list_post_type()
S
58 1 16
FLW_Rave_Pay::get_instance()
S
72 2 6
FLW_Tinymce_Plugin::get_instance()
S
72 2 6
FLW_Rave_Payment_Form::get_instance()
S
72 2 6
FLW_Rave_Admin_Settings::init_settings()
S
73 2 5
FLW_WP_List_Table::__get()
S
73 2 5
FLW_WP_List_Table::__set()
S
73 2 5
FLW_WP_List_Table::__isset()
S
73 2 5
rave_admin_enqueue_scripts()
S
67 2 7
FLW_WP_List_Table::__unset()
S
73 2 5
FLW_Rave_Admin_Settings::get_option_value()
S
68 2 7
FLW_Rave_Admin_Settings::get_instance()
S
72 2 6
FLW_WP_List_Table::handle_row_actions()
S
77 2 3
FLW_Rave_Api::get_option_value()
S
68 2 7
FLW_Rave_Payment_List::get_instance()
S
71 2 6
FLW_Rave_Payment_Plan::__construct()
S
65 2 8
FLW_Rave_Payment_Plan::get_instance()
S
72 2 6
FLW_Rave_Payment_Plan::init_settings()
S
73 2 5
FLW_WP_List_Table::display_rows_or_placeholder()
S
66 2 9
FLW_Rave_Payment_Form::init_settings()
S
73 2 5
FLW_WP_List_Table::display_rows()
S
76 2 4
FLW_Rave_Payment_Plan::get_option_value()
S
68 2 7
FLW_Rave_Payment_Form::get_option_value()
S
68 2 7
FLW_Rave_Shortcode::get_instance()
S
72 2 6
FLW_WP_List_Table::__call()
S
70 2 6
FLW_Rave_Api::_init()
S
73 2 5
FLW_Rave_Pay::gen_rand_string()
S
69 2 6
FLW_Rave_Shortcode::load_css_files()
S
69 2 6
FLW_Rave_Pay::_is_successful()
S
79 2 3
FLW_Rave_Shortcode::pay_button_text()
S
67 2 8
FLW_Rave_Shortcode::use_current_user_email()
S
78 2 3
FLW_Rave_Pay::_add_post_meta()
S
72 2 5
FLW_Rave_Payment_List::get_columns()
S
60 1 13
FLW_Rave_Api::__construct()
S
83 1 3
FLW_WP_List_Table::get_column_count()
S
71 1 5
FLW_Rave_Api::postCURL()
S
70 1 6
FLW_WP_List_Table::column_default()
S
98 1 1
FLW_Rave_Payment_Plan::_include_files()
S
91 1 2
FLW_Rave_Payment_List::record_count()
S
76 1 4
FLW_Rave_Admin_Settings::flw_rave_admin_setting_page()
S
80 1 3
FLW_VC_Simple_Form::__construct()
S
79 1 3
FLW_Rave_Api::get_secret_key()
S
81 1 3
FLW_Rave_Api::get_existing_payment_plans()
S
75 1 4
FLW_Rave_Payment_Plan::register_payment_form_settings()
S
80 1 3
FLW_WP_List_Table::extra_tablenav()
S
98 1 1
FLW_Rave_Payment_List::prepare_items()
S
64 1 10
FLW_Rave_Payment_Form::__construct()
S
73 1 5
FLW_Rave_Payment_Plan::add_to_menu()
S
65 1 10
FLW_Rave_Api::create_payment_plan()
S
63 1 10
FLW_WP_List_Table::get_views()
S
82 1 3
FLW_Rave_Payment_List::column_tx_ref()
S
67 1 7
FLW_WP_List_Table::single_row()
S
74 1 5
FLW_WP_List_Table::ajax_user_can()
S
81 1 3
FLW_Rave_Payment_List::no_items()
S
80 1 3
FLW_Tinymce_Plugin::__construct()
S
79 1 3
FLW_WP_List_Table::has_items()
S
80 1 3
FLW_Rave_Payment_List::add_to_menu()
S
65 1 10
FLW_WP_List_Table::_js_vars()
S
64 1 10
FLW_Rave_Payment_Plan::get_secret_key()
S
81 1 3
FLW_WP_List_Table::get_table_classes()
S
78 1 3
FLW_Rave_Payment_List::payment_list_table()
S
80 1 3
FLW_Rave_Pay::get_api_base_url()
S
82 1 3
FLW_Rave_Payment_List::set_screen()
S
82 1 3
FLW_Rave_Api::get_api_base_url()
S
83 1 3
FLW_Rave_Payment_List::column_amount()
S
74 1 4
FLW_WP_List_Table::get_columns()
S
81 1 3
FLW_Rave_Payment_Plan::get_payment_plan_name()
S
74 1 4
FLW_Rave_Payment_Plan::get_api_base_url()
S
82 1 3
FLW_Tinymce_Plugin::flw_rave_register_tinymce_plugin()
S
75 1 4
FLW_Rave_Api::get_existing_payment_plan()
S
74 1 4
FLW_Rave_Payment_List::column_cb()
S
74 1 5
FLW_WP_List_Table::column_cb()
S
98 1 1
FLW_Rave_Pay::__construct()
S
69 1 7
FLW_Rave_Payment_Form::register_form_settings()
S
80 1 3
FLW_Rave_Api::get_cancel_payment_plan()
S
71 1 5
FLW_Rave_Payment_Form::flw_rave_admin_form_page()
S
80 1 3
FLW_WP_List_Table::get_bulk_actions()
S
82 1 3
FLW_Rave_Payment_Plan::flw_rave_admin_payment_plan_page()
S
80 1 3
FLW_WP_List_Table::prepare_items()
S
81 1 3
FLW_Rave_Payment_List::delete_payment()
S
80 1 3
FLW_Rave_Shortcode::__construct()
S
75 1 4
FLW_Rave_Admin_Settings::flw_rave_register_settings()
S
80 1 3
FLW_Rave_Admin_Settings::__construct()
S
72 1 5
FLW_WP_List_Table::get_sortable_columns()
S
82 1 3
FLW_Rave_Payment_List::__construct()
S
63 1 10
FLW_Rave_Payment_Form::add_to_menu()
S
65 1 10
FLW_WP_List_Table::no_items()
S
81 1 3
FLW_WP_List_Table::get_primary_column()
S
81 1 3
FLW_Rave_Api::edit_payment_plan()
S
64 1 9
FLW_Tinymce_Plugin::flw_rave_add_tinymce_button()
S
76 1 4