Code Analysis: Contest Gallery 28.1.1

Function Rating Maintainability Complexity Lines of code
cg_images_data_csv_export()
D
0
168 599
contest_gal1ery_create_table()
D
1
52 1,210
cg1l_sanitize_files()
D
12
114 213
cg_ecommerce_payment_processing_create_invoice()
D
5
90 412
cg_json_upload_form_info_data_files_new()
D
14
78 246
cg_create_json_files_when_activating()
D
12
73 295
cg_user_data_registry_csv_new_export()
D
12
62 347
cg_check_and_repair_image_file_data()
D
19
70 177
cg_ecommerce_payment_processing_data()
D
18
54 229
cg_ecommerce_sale_activate()
D
19
55 205
cg_move_file_ecommerce_sale_folder()
D
19
51 210
cg_ecommerce_change_options_and_sizes()
D
21
53 179
cg_shortcode_interval_configuration_container_render_year_with_months()
D
22
45 208
cg_reset_to_normal_version_options_if_required()
D
23
44 175
cg_delete_images()
D
23
44 166
post_cg_create_pdf_preview_backend()
D
23
42 167
contest_gal1ery_entry_on_off()
D
19
34 263
cg_ecommerce_export_orders()
D
17
26 355
cg_json_upload_form_info_data_files()
D
24
34 172
cg_get_correct_rating_overview()
D
28
37 125
contest_gal1ery_user_comment_mail_prepare()
D
29 36 100
cg_actualize_all_images_data_sort_values_file_set_array()
D
41 39 43
cg_user_data_registry_csv_export()
D
27
31 141
cg_edit_additional_registry_form_user_fields()
D
23
25 206
cg_sell_ecommerce_container()
C
20
6 459
cg_ecommerce_get_orders()
C
31 29 108
cg_copy_comments()
C
32 30 90
post_cg_move_to_another_gallery()
C
28
27 126
cg_shortcode_interval_check()
C
32 29 94
cg_template_include_for_cg_post_type()
C
32 29 90
contest_gal1ery_user_vote_mail_prepare()
C
27
26 134
cg_move_file_from_ecommerce_sale_folder()
C
29
25 138
cg_votes_csv_export_all()
C
26
24 151
cg_votes_csv_export()
C
28
24 130
cg_delete_images_of_deleted_wp_uploads()
C
30 25 112
cg_on_wp_mail_error()
B
33 21 100
cg_shortcode_interval_configuration_container()
B
28
14 171
cg_create_exif_data()
B
40 21 60
cg_update_custom_post_type_name()
B
34 18 94
contest_gal1ery_mail_image_activation()
B
35 18 84
cg_invoice_number_logic_result_new()
B
40 18 59
cg_create_ecommerce_tables()
B
30 6 232
cg_copy_table_row()
B
40 17 56
cg1l_resend_unconfirmed_mail()
B
35 15 85
cg1l_pre_delete_user()
B
36 15 83
post_cg_social_platform_input()
B
36 15 77
cg_is_alternative_file_type()
B
62 20 8
cg_shortcode_interval_configuration_container_render_year_with_weekly()
B
35 13 104
cgDropTables()
B
27
8 175
post_cg_add_openai_image()
B
34 13 94
cg_create_comments_json_file_when_activating_image()
B
39 15 61
cg_openai_container()
A
30 1 270
cgGetHighestRating()
A
46 16 36
post_cg_gallery_view_control_backend()
A
42 15 50
cg_paypal_get_invoice_number_logic_result()
A
37 13 78
cg_shortcode_interval_configuration_container_render_year_with_daily()
A
39 13 78
cg_get_set_key()
A
40 14 59
cg_download_sale_item()
A
39 14 59
cg_create_fb_sites()
A
40 14 57
cg_modified_admin_bar_for_contest_gallery_user_v14()
A
36 12 83
post_cg_backend_image_upload()
A
47 15 32
cg_convert_previous_translation_to_general_translations()
A
44 14 46
cg_sort_json_upload_form()
A
42 13 59
cg_copy_rating()
A
44 14 42
cg_wp_upe_upgrade_completed_post_type_check_new()
A
45 14 38
cg_copy_pre7_gallery_images()
A
37 11 83
cg_get_user_ip()
A
48 14 38
post_cg_generate_openai_image()
A
36 11 82
cg_correct_entry_count()
A
42 13 48
post_cg_edit_openai_image()
A
36 11 78
cg1l_send_registration_mail()
A
40 12 60
cg_registry_add_profile_image()
A
39 11 68
cg_get_galleries_options_all()
A
46 13 38
cg_sort_form_input()
A
43 12 52
contest_gal1ery_db_check()
A
42 12 52
cg_download_file_ecommerce_sale()
A
36 10 81
cg_action_create_zip()
A
48 13 34
cg_update_user_meta_when_register_and_delete_user_entries()
A
43 12 48
cg_is_alternative_file_type_file()
A
63 15 8
cg_add_upl_field()
A
36 4 155
cg_create_wp_pages()
A
35 7 107
cg1l_email_backend_template()
A
31 3 167
cg_neutralize_csv_value()
A
49 12 28
post_cg_get_current_permalinks()
A
46 11 43
cg_save_sent_mail()
A
39 9 70
cg_get_paypal_data()
A
46 11 40
cg_add_reg_field()
A
37 2 174
post_contest_gallery_action_ajax()
A
45 11 39
cg_actualize_all_images_data_deleted_images()
A
47 11 36
post_cg_test_ecom_keys()
A
47 11 35
cg_get_galleries_slug_name()
A
51 11 24
cg_stripe_get_shipping_address_array()
A
52 11 23
cg_copy_fb_sites()
A
46 10 38
post_cg_twitter_get()
A
43 9 49
post_cg_test_stripe_keys()
A
49 10 32
cg_get_data_for_order_items()
A
47 10 32
cg_remove_folder_recursively()
A
50 10 31
cg_get_data_for_order()
A
45 9 40
post_cg_youtube_delete_from_library()
A
47 9 36
cg_stripe_get_invoice_address_array()
A
54 10 19
cg_get_query_data_and_options()
A
47 9 32
cg_ecommerce_prepare_payment_mail()
A
44 8 44
cg_ecommerce_processing_afterwards()
A
43 8 43
cg_ecommerce_payment_processing_mail()
A
51 9 26
cg_load_galleries_shortcode()
A
45 8 41
cg_ecommerce_create_invoice_address_for_html_output()
A
52 9 24
cg_check_nonce()
A
52 9 24
cg_check_if_database_tables_ok()
A
47 8 38
contest_gal1ery_order_summary()
A
42 7 52
cg_stripe_create_customer()
A
46 8 36
cg_stripe_update_customers()
A
46 8 35
post_cg_attach_to_another_user()
A
46 8 35
post_cg_set_for_paypal_sell()
A
49 8 30
cg_galleries_options()
A
57 9 15
cg_json_upload_form()
A
43 7 44
post_cg_download_original_source_for_ecommerce_sale()
A
50 8 28
post_cg_deactivate_ecommerce_sale()
A
50 8 28
post_cg_paypal_invoicing()
A
50 8 28
post_cg_social_platforms_add_to_gallery()
A
50 8 27
post_cg_social_platforms_query()
A
51 8 26
cg_create_slug_name_galleries_posts_if_required()
A
46 7 41
post_cg_attach_to_another_user_select()
A
50 8 26
post_cg_shortcode_interval_conf()
A
51 8 25
post_cg_show_paypal_api_response()
A
51 8 25
post_cg_change_invoice()
A
51 8 25
post_cg_gallery_sort_files()
A
51 8 25
cg_available_ip_getter_types()
A
54 8 25
cg_get_user_ip_type()
A
54 8 23
post_cg_set_frontend_cookie()
A
52 8 22
cg_ecommerce_has_tax_to_show()
A
53 8 22
cg_update_registry_and_login_options_v14()
A
38 4 82
cg_download_invoice()
A
46 7 36
cg_create_no_script_html()
A
47 7 34
cg_add_replace_to_url_filename()
A
48 7 33
post_cg_check_nickname_edit_profile()
S
49 7 30
cg_google_sign_in_verification()
S
46 6 43
cg_create_ecommerce_options()
S
38 3 88
cg1l_validate_nickname_profile()
S
47 6 41
cg1l_sync_nickname_display_name()
S
54 7 23
cg_ecommerce_get_log_modified()
S
52 7 23
post_cg_galleries_show_cg_gallery()
S
46 6 37
contest_gal1ery_rm_uploads_content()
S
55 7 22
post_cg_gallery_save_categories_changes()
S
54 7 22
post_cg1l_login_user_by_key()
S
44 5 51
cg_download_keys_ecommerce_entry()
S
47 6 36
post_cg1l_resend_unconfirmed_mail_frontend()
S
46 6 35
post_cg_move_to_another_gallery_get_inputs()
S
48 6 35
cg_stripe_update_payment_method()
S
47 6 34
cg_get_ecommerce_files_data()
S
54 7 19
cg_update_column_types()
S
45 5 48
cg_deactivate_images()
S
48 6 33
cg_wp_upe_upgrade_completed_post_type_check_old()
S
56 7 17
cg_update_additional_registry_form_user_fields()
S
57 7 16
post_cg_list_unconfirmed_mails()
S
45 5 44
cg_get_guid()
S
50 6 28
cg_get_countries()
S
51 6 25
cg_check_if_upload_folder_permissions_ok()
S
52 6 25
post_cg_get_openai_prompts()
S
47 5 40
contest_gal1ery_mail_admin()
S
46 5 39
contest_gal1ery_user_comment_mail()
S
47 5 38
contest_gal1ery_user_vote_mail()
S
47 5 38
contest_gal1ery_mail_user_upload()
S
47 5 38
cg_create_registry_and_login_options_v14()
S
41 3 64
cg_remove_not_required_coded_csvs()
S
56 6 19
cg_hash_function()
S
56 6 19
contest_gal1ery_frontend_gallery_ecommerce()
S
48 5 33
cg_create_general_registration_form_v14()
S
41 2 77
contest_gal1ery_frontend_gallery_no_voting()
S
49 5 31
contest_gal1ery_frontend_gallery_winner()
S
49 5 31
contest_gal1ery_frontend_gallery()
S
49 5 31
contest_gal1ery_frontend_gallery_user_images()
S
50 5 30
cg_modified_admin_bar_for_eventually_contest_gallery_profile_fields_enqueue_style()
S
58 6 15
cg_hide_slugs_page_area()
S
57 6 15
cg_paypal_get_access_token()
S
50 5 30
cg_test_stripe_keys()
S
50 5 29
cg_ecommerce_sale_deactivate()
S
48 4 35
cg_check_wp_admin_upload_v10()
S
56 5 19
cg_check_if_ip_is_private()
S
55 5 19
cg_options_tabcontent_v10()
S
55 5 18
cg_stripe_list_customers()
S
49 4 30
cg_is_alternative_file_type_video()
S
69 6 6
cg_is_is_image()
S
69 6 6
cg_download_logs()
S
49 4 30
cg_create_registry_and_login_options()
S
46 3 44
cgHasUserGroupAllowedToEdit()
S
58 5 14
contest_gal1ery_users_upload()
S
50 4 29
cg_get_empty_entry_values()
S
39 1 74
cg_delete_files_and_folder()
S
61 5 13
contest_gal1ery_users_contact()
S
50 4 28
contest_gal1ery_users_login()
S
45 3 43
cg_stripe_get_payment_method()
S
52 4 24
cg_set_json_data_of_row_objects()
S
54 4 19
cg_get_country_states_codes()
S
55 4 18
cg_increase_number()
S
57 4 17
cg_ecommerce_price_to_show()
S
57 4 17
contest_gal1ery_google_sign_in()
S
58 4 16
post_cg_check_openai_key()
S
50 3 31
cg_is_alternative_file_type_audio()
S
70 5 6
post_cg_gallery_user_delete_image()
S
60 4 14
post_cg_gallery_user_edit_image_data()
S
60 4 14
contest_gal1ery_return_bytes()
S
60 4 13
post_cg_pro_version_info_recognized()
S
62 4 13
cg_mails_list()
S
50 1 58
post_cg_changes_recognized()
S
61 4 13
cg_check_and_add_post_type_file_if_required()
S
61 4 12
cg_ecommerce_check_item_has_default_shipping()
S
61 4 12
cg1l_sanitize_post()
S
62 4 12
cg_move_gallery_changes_file_from_ecommerce_sale_folder()
S
61 4 12
cg_row_columns()
S
55 1 56
cg_post_type_page_galleries_slug_array()
S
52 3 26
contest_gal1ery_check_confirmation_link()
S
52 3 25
cg1l_generate_unique_nicename()
S
53 3 25
cg_post_type_parent_galleries_array()
S
52 3 25
cg_stripe_attach_customer_to_payment_method()
S
52 3 24
cg_post_type_parent_gallery_array()
S
53 3 23
cg_is_for_wp_page_title_checked()
S
52 2 37
cg_json_single_view_order()
S
53 3 20
post_cg_get_wp_user_meta()
S
56 3 20
cg_echo_last_sql_error()
S
57 3 19
cg_is_for_wp_page_title_unchecked()
S
53 2 33
cg_remove_admin_bar_links()
S
49 2 33
cg_post_type_contest_gallery_plugin()
S
56 3 18
cg1l_cg_users_pin()
S
58 3 16
contest_gal1ery_users_registry()
S
58 3 16
contest_gal1ery_htmlentities_and_preg_replace_with_cg1l_sanitize_method()
S
59 3 15
contest_gal1ery_htmlentities_and_preg_replace()
S
59 3 15
cg_preview_images_to_delete_container()
S
54 1 45
cgGetNotEmptyJsonFileData()
S
58 3 15
contest_gal1ery_htmlentities_and_preg_replace_new()
S
60 3 14
cg1l_include_scripts_reg_pin()
S
50 2 29
cgRemoveFiles()
S
59 3 14
cg1l_generate_unique_login_from_email()
S
59 3 14
cg_replace_url_filename_with_replaced()
S
60 3 13
post_cg1l_verify_pin()
S
61 3 13
cg_create_google_options()
S
52 2 28
post_cg1l_resend_pin()
S
62 3 12
cg_get_gallery_slug_name()
S
62 3 12
cg_create_tablename_mails_check()
S
63 3 12
post_cg1l_current_frontend_nonce()
S
63 3 12
post_cg_registry()
S
62 3 12
post_cg_login()
S
63 3 11
cg1lCreateTemplateFromBody()
S
53 1 41
cg1l_sanitize_atts()
S
63 3 11
cg_redirect_when_logout()
S
62 3 11
post_cg_rate_v10_oneStar()
S
63 3 11
post_cg_rate_v10_fiveStar()
S
63 3 11
post_cg_gallery_form_upload()
S
63 3 11
post_cg_ecommerce_payment_processing()
S
63 3 11
cg_show_set_comments_v10()
S
63 3 11
cg_shortcode_interval_configuration_container_render_main_options_interval_type()
S
53 1 39
cg_ai_insert_prompt()
S
53 2 22
cg_sort_gallery_files_container()
S
56 2 20
cg1l_delete_unconfirmed_user()
S
55 2 20
cg_get_paypal_order()
S
55 2 20
cg_create_exif_data_and_add_to_database()
S
56 2 19
cg_get_registry_and_login_options_v14()
S
48 1 33
cg_edit_images()
S
56 2 18
post_cg_check_if_online()
S
69 3 7
cgSortArray()
S
75 3 4
cgSortArrayComments()
S
74 3 4
post_cg_ecommerce_checkout()
S
65 3 10
rowColsCheck()
S
67 3 8
cg_neutralize_csv_array()
S
64 3 10
post_cg_ecommerce_download_keys_file()
S
67 3 9
post_cg_load_v10()
S
66 3 9
cg_download_keys_example()
S
59 2 15
cg_get_24_version_values()
S
50 1 30
post_cg_get_raw_data_from_galleries()
S
64 3 10
cg_modified_logout_url()
S
68 3 7
cgGetHighestComments()
S
75 3 4
cg_ecommerce_check_item_has_shipping()
S
64 3 9
cg_check_first_char_for_url_name_after_pre_processing()
S
66 3 8
cg_check_last_char_for_url_name_after_pre_processing()
S
66 3 8
cg_modified_admin_bar_for_contest_gallery_user_v14_wp_enqueue_style()
S
65 3 8
post_cg_get_stripe_payment_intent()
S
64 3 10
rowColsCheck()
S
67 3 8
cg_check_if_new_registry_logic_explanation_note_required()
S
63 3 10
cg_get_ecommerce_currencies_array()
S
48 1 29
cg_move_to_another_gallery_container()
S
52 1 29
cg_replace_ecommerce_file()
S
59 2 13
cg1l_sanitize_method()
S
60 2 12
cg_check_headers_sent()
S
66 2 12
cg_update_lower_410()
S
61 2 12
contest_gal1ery_convert_for_html_header_output()
S
63 2 11
post_cg1l_get_unconfirmed_users()
S
63 2 11
post_cg1l_get_management_show_users()
S
63 2 11
cg_shortcode_interval_check_show_ajax_message()
S
65 2 11
cg_backend_gallery_render_reload_entry_loader()
S
64 1 23
cg_social_input_container()
S
57 1 21
cg_create_watermarked_image_and_return_attach_id()
S
54 1 20
cg_attach_to_another_user_container()
S
58 1 19
cg_create_htaccess_ecommerce_sale_folder_if_not_exists()
S
59 1 18
cg_social_library()
S
58 1 17
cg_post_type_labels()
S
57 1 16
cg_update_to_pro_five_stars()
S
62 1 16
contest_gal1ery_return_mega_byte()
S
65 2 9
cg_check_if_development()
S
68 2 8
contest_gal1ery_frontend_galleries()
S
65 2 10
cg_check_frontend_nonce()
S
72 2 5
cg_update_to_pro_one_star()
S
63 1 15
contest_gal1ery_no_convert()
S
68 2 8
contest_gal1ery_frontend_galleries_winner()
S
65 2 10
cg_ecommerce_get_price_total_net_items()
S
64 2 9
contest_gallery_init_languages()
S
73 2 4
cg_ecommerce_export_orders_get()
S
71 2 6
cg_get_blog_option()
S
69 2 7
cg_update_blog_option()
S
69 2 7
cg_plugin_mce_css_to_add()
S
66 2 9
cg_get_filename_clean_from_url_or_url_part()
S
67 2 7
contest_gal1ery_frontend_galleries_user()
S
65 2 10
cg_delete_blog_option()
S
70 2 7
cg_add_blog_option()
S
69 2 7
cg_get_ecommerce_currencies_array_formatted_by_short_key()
S
69 2 7
contest_gal1ery_frontend_galleries_ecommerce()
S
65 2 10
contest_gal1ery_frontend_galleries_no_voting()
S
65 2 10
cg_add_defer_to_cg_js_files()
S
69 2 7
cg_ecommerce_sale_conf()
S
69 2 7
contest_gal1ery_convert_for_html_output_without_nl2br()
S
64 2 10
cg_stripslashes_recursively()
S
67 2 8
cg_insert_into_contest_gal1ery_wp_pages()
S
61 1 14
cg_post_type_args()
S
62 1 13
cg1l_wp_insert_user()
S
60 1 13
cg_multiple_files_for_post_container()
S
66 1 12
cg_sluggify_for_url()
S
62 1 12
cg_remove_emoji()
S
62 1 12
cg_create_cg_galleries_insert_array()
S
62 1 12
cg_delete_existing_fields_first()
S
70 1 12
cg_create_contest_gallery_plugin_tag()
S
64 1 11
cgl1_domain_error_test_text()
S
75 1 4
cg_index_scripts_and_functions()
S
74 1 5
cg_ask_if_should_be_removed_from_sale_if_multiple()
S
80 1 4
cg_get_time_based_on_wp_timezone_conf()
S
69 1 6
cg_deactivate_ecommerce_sale_question()
S
69 1 9
cg_change_invoice_br2nl()
S
75 1 4
cg_echo_closed_upload_form()
S
83 1 3
cg_sell_ecommerce_entry_can_not_be_moved()
S
83 1 3
cg_create_version_input()
S
80 1 3
cg_backend_render_go_to_options()
S
77 1 6
cg_ecommerce_show_api_response()
S
69 1 8
cg_create_contest_gallery_user_role()
S
68 1 9
cg_ecommerce_include_javascript_ajax_frontend()
S
80 1 3
cgl1_domain_error_text()
S
83 1 3
cg_get_date_time_object_based_on_wp_timezone_conf()
S
69 1 6
cg_post_type_contest_galleries_plugin()
S
66 1 8
cg_backend_gallery_dynamic_message()
S
78 1 5
cg_get_google_options()
S
70 1 6
contest_gallery_action()
S
66 1 10
post_cg_get_current_nonce()
S
68 1 9
cg_get_version_for_scripts()
S
83 1 3
cg_get_ecommerce_invoice_options()
S
70 1 6
cg_pre_process_name_for_url_name()
S
77 1 4
cg_ecommerce_include_javascript_admin()
S
77 1 3
cg_backend_background_drop()
S
80 1 4
cgEchoClosedRightSide()
S
76 1 5
cg_create_fb_html()
S
80 1 3
cg_add_fields_pressed_after_content_modification()
S
75 1 4
cg_get_blockquote_from_post_content()
S
71 1 5
cg_get_ecommerce_options()
S
70 1 6
cg_cg_set_default_editor()
S
78 1 4
cg_set_cookie()
S
70 1 5
cg_get_array_from_multiple_line_textarea()
S
70 1 6
cg_download_keys_file_will_be_deleted()
S
83 1 3
cg_get_db_version()
S
83 1 3
cg_post_type_contest_galleries_user_plugin()
S
66 1 8
cgl1_reply_mail_same_as_form_mail()
S
83 1 3
cg_sell_ecommerce_container_warnings()
S
83 1 3
cg_get_eu_countries_shortcodes()
S
74 1 3
cg_download_ecommerce_form()
S
69 1 7
cg_create_ecommerce_invoice_options()
S
100 1 2
cg_remove_all_line_breaks()
S
74 1 4
cg_post_type_contest_galleries_winner_plugin()
S
66 1 8
cg_post_type_contest_galleries_ecommerce_plugin()
S
66 1 8
cg_ecommerce_include_javascript_frontend()
S
77 1 3
contest_gal1ery_key_check()
S
83 1 3
cg_create_nonce()
S
75 1 4
cg_get_version()
S
75 1 4
cg_get_post_name()
S
69 1 6
cg_change_invoice_br2nl_alt()
S
79 1 3
cgl1_reply_name_same_as_form_name()
S
83 1 3
cg_service_keys_file_will_be_deleted()
S
83 1 3
cg_download_and_service_keys_files_will_be_deleted()
S
83 1 3
contest_gallery_add_page()
S
78 1 3
cg_normal_version_register_activation_hook()
S
82 1 3
cgEchoClosedRightSide()
S
76 1 5
cg_cg_set_default_editor()
S
78 1 4
cg_sell_ecommerce_download_can_not_be_removed()
S
83 1 3
cgl1_domain_error_test_text_old()
S
80 1 3
cg_backend_menu_star()
S
78 1 3
cg_total_images_shown_in_frontend_zero()
S
73 1 7
cg_sell_ecommerce_entry_can_not_be_deleted()
S
83 1 3
cg_delete_post_hook_for_wp_pages()
S
65 1 10
cg_post_type_supports()
S
67 1 10
cg_post_type_contest_galleries_no_voting_plugin()
S
66 1 8
post_cg1l_delete_unconfirmed_mail()
S
76 1 4
cg_deactivate_ecommerce_form()
S
69 1 7
cg_cg_set_default_editor()
S
78 1 4