Code Analysis: RafflePress Lite 1.5

Function Rating Maintainability Complexity Lines of code
rafflepress_lite_giveaway_api()
D
4
93 514
rafflepress_lite_giveaway_datatable()
D
21
46 192
rafflepress_lite_entries_datatable()
C
29
26 123
rafflepress_lite_contestants_datatable()
C
30 22 117
rafflepress_lite_run_one_click_upgrade()
B
36 19 77
rafflepress_lite_get_timezones()
B
40 20 51
rafflepress_lite_shortcode_modal()
B
28
4 271
RafflePress_Notifications::verify()
A
47 16 36
rafflepress_lite_display_shortcode()
A
34 10 116
rafflepress_lite_display_gutenberg_shortcode()
A
33 10 115
rafflepress_lite_wp_insert_rows()
A
41 13 56
rafflepress_lite_is_dev_url()
A
45 14 37
rafflepress_lite_save_api_key()
A
37 11 79
rafflepress_lite_save_giveaway()
A
34 9 103
rafflepress_lite_save_slug()
A
40 10 66
rafflepress_lite_install_addon()
A
42 9 51
rafflepress_lite_entries_get_data_total()
A
48 10 32
rafflepress_lite_giveaway_get_views()
A
42 8 57
rafflepress_get_form_html()
A
44 8 54
rafflepress_lite_save_template()
A
38 6 83
rafflepress_lite_pick_winners()
A
42 8 51
rafflepress_lite_contestants_resend_email()
A
44 8 44
rafflepress_lite_giveaway_get_data_total()
A
46 8 42
rafflepress_lite_Review::review_request()
A
52 9 26
rafflepress_lite_admin_enqueue_scripts()
A
39 5 84
rafflepress_lite_redirect_to_site()
A
57 9 18
rafflepress_lite_contestants_get_views()
A
44 7 47
rafflepress_lite_contestants_get_data_total()
A
49 8 30
rafflepress_lite_Review::review()
A
41 5 73
rafflepress_lite_new_giveaway()
A
42 6 55
RafflePress_Notifications::dismiss()
A
53 8 21
rafflepress_lite_create_menus()
A
40 4 77
RafflePress_Notifications::verify_active()
S
59 8 14
rafflepress_lite_get_ip()
S
59 8 14
rafflepress_lite_db()
S
56 7 18
rafflepress_lite_enable_disable_giveaway()
S
50 6 30
rafflepress_lite_get_utc_offset()
S
49 6 28
RafflePress_Notifications::get_option()
S
59 7 13
rafflepress_lite_confirm_selected_contestants()
S
46 5 40
rafflepress_lite_invalid_selected_contestants()
S
47 5 36
rafflepress_lite_activate_addon()
S
54 6 21
rafflepress_lite_standalone_redirect()
S
48 5 33
rafflepress_lite_debug_page()
S
57 6 17
rafflepress_lite_unconfirm_selected_contestants()
S
48 5 32
rafflepress_lite_upgrade_license()
S
44 4 46
rafflepress_lite_deregister_backend_styles()
S
58 6 15
rafflepress_lite_valid_selected_entries()
S
49 5 29
rafflepress_lite_invalid_selected_entries()
S
49 5 29
rafflepress_lite_save_settings()
S
52 5 24
RafflePress_Notifications::add()
S
53 5 24
rafflepress_lite_duplicate_giveaway()
S
47 4 38
rafflepress_lite_routes()
S
55 5 20
rafflepress_lite_archive_selected_giveaways()
S
53 5 20
rafflepress_lite_unarchive_selected_giveaways()
S
53 5 20
rafflepress_lite_deactivate_addon()
S
55 5 19
rafflepress_lite_welcome_screen_do_activation_redirect()
S
59 5 13
rafflepress_lite_disable_admin_notices()
S
62 5 13
rafflepress_lite_get_plugins_list()
S
52 4 25
rafflepress_lite_end_giveaway()
S
49 3 32
rafflepress_lite_cu()
S
58 4 17
rafflepress_lite_start_giveaway()
S
49 3 32
rafflepress_lite_add_admin_body_classes()
S
64 5 9
rafflepress_lite_delete_archived_giveaways()
S
51 3 26
rafflepress_lite_db_setup()
S
47 1 56
rafflepress_lite_get_slug()
S
63 4 11
rafflepress_lite_get_times()
S
41 1 53
rafflepress_lite_delete_invalid_contestants()
S
52 3 23
rafflepress_enqueue_block_editor_assets()
S
49 2 32
RafflePress_Notifications::get()
S
64 4 9
rafflepress_lite_dismiss_settings_lite_cta()
S
61 3 13
rafflepress_lite_get_default_timezone()
S
64 3 11
RafflePress_Notifications::fetch_feed()
S
63 3 11
rafflepress_lite_delete_invalid_entries()
S
62 3 11
rafflepress_lite_wp_enqueue_scripts()
S
50 1 38
rafflepress_lite_entries_get_views()
S
55 2 19
rafflepress_lite_activation()
S
55 2 19
rafflepress_lite_get_api_key()
S
65 3 10
rafflepress_lite_admin_footer()
S
65 3 8
RafflePress_Notifications::get_view_url()
S
65 3 8
rafflepress_lite_convert_string_to_boolean()
S
72 3 5
rafflepress_media_button()
S
58 2 15
rafflepress_lite_entry_options()
S
50 1 27
rafflepress_lite_scripts_mod()
S
63 2 11
rafflepress_register_block()
S
59 1 17
rafflepress_lite_is_localhost()
S
70 2 7
RafflePress_Skin::error()
S
70 2 6
RafflePress_Skin::set_upgrader()
S
74 2 5
rafflepress_lite_get_giveaway_list()
S
64 2 10
RafflePress_Notifications::has_access()
S
68 2 7
RafflePress_Skin::set_upgrader()
S
74 2 5
rafflepress_lite_plugin_nonce()
S
65 2 8
rafflepress_lite_plugin_action_links()
S
67 2 8
rafflepress_lite_remove_ngg_print_scripts()
S
74 2 5
rafflepress_lite_exclude_recaptcha_iframe()
S
70 2 6
rafflepress_lite_add_custom_slug()
S
65 2 10
RafflePress_Notifications::get_instance()
S
72 2 6
RafflePress_Notifications::get_menu_count()
S
72 2 6
rafflepress_lite_array_add()
S
71 2 6
RafflePress_Skin::error()
S
70 2 6
rafflepress_lite_wp_enqueue_styles()
S
62 1 14
RafflePress_Notifications::update()
S
62 1 13
rafflepress_lite_add_rules()
S
65 1 12
RafflePress_Notifications::hooks()
S
79 1 3
rafflepress_lite_Review::review_dismiss()
S
68 1 7
rafflepress_lite_ps_results_datatable()
S
100 1 2
rafflepress_lite_add_query_var()
S
74 1 5
RafflePress_Skin::footer()
S
91 1 2
rafflepress_lite_do_notifications_remote()
S
77 1 4
RafflePress_Skin::feedback()
S
91 1 2
rafflepress_lite_load_textdomain()
S
78 1 3
RafflePress_Notifications::ajax_get_notifications()
S
67 1 8
rafflepress_lite_upgrade_link()
S
78 1 3
RafflePress_Skin::set_result()
S
81 1 3
rafflepress_lite_builder_page()
S
80 1 3
RafflePress_Skin::set_result()
S
81 1 3
RafflePress_Skin::footer()
S
91 1 2
RafflePress_Notifications::init()
S
82 1 3
rafflepress_lite_custom_upload_dir()
S
66 1 8
RafflePress_Notifications::get_count()
S
76 1 4
RafflePress_Notifications::__construct()
S
82 1 3
rafflepress_lite_deactivate()
S
78 1 4
rafflepress_lite_dashboard_page()
S
80 1 3
RafflePress_Skin::__construct()
S
81 1 3
rafflepress_lite_remove_menus()
S
76 1 4
rafflepress_lite_process_email()
S
100 1 2
rafflepress_lite_get_font()
S
100 1 2
RafflePress_Skin::__construct()
S
81 1 3
RafflePress_Skin::feedback()
S
91 1 2
rafflepress_lite_generate_font_output()
S
100 1 2
RafflePress_Skin::header()
S
91 1 2
RafflePress_Skin::header()
S
91 1 2
rafflepress_lite_Review::__construct()
S
75 1 4