Code Analysis: WP Athletics 1.1.7

Function Rating Maintainability Complexity Lines of code
WP_Athletics_DB::search_results()
D
35 34 75
WP_Athletics_DB::get_personal_bests()
D
33 33 81
WP_Athletics_DB::get_results()
C
30 28 120
WP_Athletics_Manage_Results::my_results()
C
21
5 447
WP_Athletics_DB::get_statistics()
C
41 26 49
WP_Athletics_DB::search_events()
B
36 21 75
WP_Athletics_Events::events()
B
28
7 251
WP_Athletics_DB::update_result()
B
36 18 85
WP_Athletics_Stats::display_stats_tab_content()
B
28
5 267
WPA_Base::create_common_dialogs()
B
28
4 269
WP_Athletics_Simple_Shortcodes::display_rankings()
B
36 16 87
WP_Athletics_Demo::generate_random_time()
B
43 17 48
WP_Athletics_Simple_Shortcodes::display_user_results()
A
39 13 75
WP_Athletics_Demo::generate_random_sub_type()
A
45 14 45
WP_Athletics_DB::get_recent_results_by_date()
A
43 13 45
WP_Athletics::check_is_wpa_page()
A
44 13 44
WP_Athletics_Records::records()
A
36 7 119
WP_Athletics_Simple_Shortcodes::display_event_results()
A
40 10 67
WP_Athletics_Admin::retrieve_password()
A
42 11 46
WP_Athletics_DB::create_db()
A
38 7 91
WP_Athletics_Recent_Results::recent_results()
A
35 4 129
WP_Athletics::setup()
A
54 11 23
WP_Athletics_DB::generate_statistics()
A
38 7 77
WPA_Base::save_profile_data()
A
47 9 36
WP_Athletics_Event_Results::event_results()
A
37 4 109
WP_Athletics_Admin::save_settings()
A
50 9 30
WP_Athletics_Records::create_pages()
A
50 9 29
WP_Athletics_DB::search_athletes()
A
44 8 42
WP_Athletics_DB::validate_event_entry()
A
49 8 30
WP_Athletics_DB::get_logs()
A
52 8 23
WP_Athletics_Records::reset_created_pages()
S
51 7 29
WP_Athletics_DB::convert_date()
S
54 7 21
WPA_Base::enqueue_common_scripts_and_styles()
S
44 5 50
WPA_Base::process_log_content_user_provided()
S
55 7 18
WP_Athletics::init_plugins()
S
59 7 13
WP_Athletics_DB::update_user()
S
48 5 37
WPA_Base::create_edit_result_dialog()
S
43 2 74
WP_Athletics_DB::update_age_category()
S
52 5 24
WPA_Recent_Results::widget()
S
48 4 38
WP_Athletics_DB::update_age_grades()
S
53 5 23
WPA_Upcoming_Events::widget()
S
48 4 37
WP_Athletics_DB::create_event()
S
48 4 35
WP_Athletics_DB::create_user()
S
49 4 32
WPA_Base::load_global_data()
S
49 4 31
WP_Athletics::uninstall()
S
58 5 15
WP_Athletics_DB::update_event_category()
S
47 3 44
WP_Athletics_Demo::generate_sample_users()
S
50 4 27
WPA_Upcoming_Events::display_upcoming_events()
S
53 4 24
WP_Athletics::setup_language()
S
54 4 22
WPA_Base::__construct()
S
42 2 50
WPA_Base::create_edit_event_dialog()
S
46 1 65
WP_Athletics_DB::delete_events()
S
58 4 15
WPA_Base::format_position()
S
62 5 10
WPA_Base::create_athlete_dialogs()
S
47 1 60
WPA_Base::process_photo_to_150px()
S
60 4 13
WPA_Recent_Results::form()
S
53 3 25
WPA_Upcoming_Events::form()
S
53 3 25
WPA_Recent_Results::display_recent_results()
S
54 3 23
WP_Athletics_Demo::generate_random_results()
S
53 3 21
WP_Athletics_Demo::generate_random_user()
S
51 3 18
WP_Athletics::__construct()
S
49 2 31
wpa_log()
S
64 4 9
WP_Athletics_Admin::create_user()
S
65 4 8
WP_Athletics_DB::get_result_club_ranking()
S
58 3 15
WPA_Base::search_autocomplete()
S
59 3 14
WP_Athletics_Manage_Results::create_page()
S
61 3 12
WP_Athletics_Recent_Results::create_page()
S
61 3 12
WP_Athletics::do_simple_results()
S
62 3 12
WP_Athletics_Events::create_page()
S
61 3 12
WP_Athletics_Admin::has_permission_to_manage()
S
65 3 11
WP_Athletics_Demo::generate_random_events()
S
51 2 23
WP_Athletics_DB::update_event()
S
49 1 36
WP_Athletics_DB::get_all_results_for_user()
S
57 2 19
WPA_Base::init_common()
S
53 1 31
WP_Athletics_DB::delete_result()
S
59 2 16
WP_Athletics_DB::delete_event_category()
S
59 2 16
WP_Athletics_DB::update_log_result()
S
59 2 15
WPA_Upcoming_Events::update()
S
69 3 6
WP_Athletics_DB::merge_events()
S
62 3 10
WP_Athletics_DB::convert_result_column()
S
67 3 9
WP_Athletics_DB::convert_event_column()
S
67 3 9
WPA_Base::init_common_filter()
S
74 3 4
WPA_Recent_Results::update()
S
69 3 6
WPA_Base::get_property()
S
69 3 7
WP_Athletics_Records::recreate_records_pages()
S
69 3 7
WP_Athletics_Simple_Shortcodes::validate_attributes()
S
67 3 7
WP_Athletics::process_language_properties()
S
66 3 9
WP_Athletics::enqueue_scripts()
S
65 3 10
WP_Athletics_Demo::generate_random_date()
S
68 3 6
WP_Athletics_Admin::admin_menu()
S
56 2 14
WP_Athletics::activate()
S
60 2 14
WPA_Base::get_results()
S
61 2 13
WPA_Base::check_photo_exists()
S
61 2 13
WP_Athletics_DB::toggle_capabilities()
S
63 2 11
WP_Athletics_DB::get_oldest_result_year()
S
62 2 11
WPA_Base::create_generic_results_table()
S
56 1 24
WPA_Base::create_event_results_table()
S
58 1 22
WP_Athletics_DB::create_default_event_cats()
S
52 1 20
WP_Athletics_Admin::wp_new_user_notification()
S
55 1 19
WP_Athletics_DB::register_user_for_event()
S
59 1 17
WP_Athletics_Admin::__construct()
S
57 1 16
WP_Athletics_DB::write_to_log_user_provided()
S
59 1 16
WP_Athletics::register_assets()
S
56 1 16
ends_with()
S
77 2 3
WP_Athletics_Records::__construct()
S
75 2 4
WPA_Base::update_result()
S
65 2 9
WP_Athletics_DB::delete_results()
S
66 2 8
WP_Athletics_DB::reassign_results()
S
67 2 7
WPA_Base::get_user_oldest_result_year()
S
68 2 7
WP_Athletics_DB::get_result_count()
S
68 2 6
WPA_Base::is_valid_ajax()
S
67 2 8
WP_Athletics_DB::get_age_categories()
S
64 2 9
WP_Athletics_Manage_Results::custom_query_attachments()
S
68 2 7
WP_Athletics_Manage_Results::my_results_content_filter()
S
76 2 4
WP_Athletics_Admin::action_links()
S
66 2 8
WP_Athletics_Events::events_content_filter()
S
76 2 4
WP_Athletics_Records::records_content_filter()
S
76 2 4
WP_Athletics_Recent_Results::recent_results_content_filter()
S
76 2 4
WP_Athletics_DB::get_event_results()
S
60 1 15
WP_Athletics_Stats::display_stats_tab()
S
71 2 6
WP_Athletics_Stats::print_user_stats_filter_label()
S
68 2 8
WP_Athletics_DB::get_events_for_year()
S
58 1 15
WP_Athletics::init()
S
76 2 4
WPA_Base::get_user_profile()
S
59 1 14
WP_Athletics_DB::get_result_club_rank()
S
61 1 13
WP_Athletics_DB::update_user_display_name()
S
63 1 12
WPA_Base::generate_page()
S
62 1 12
WP_Athletics_Demo::create_sample_data()
S
64 1 11
WPA_Base::get_event_results()
S
63 1 11
WPA_Base::delete_results()
S
70 1 6
WPA_Base::get_sub_type_categories()
S
77 1 4
WP_Athletics_Admin::merge_events()
S
74 1 5
WP_Athletics_DB::delete_user()
S
71 1 6
WP_Athletics_DB::get_upcoming_user_events()
S
68 1 7
WP_Athletics_Recent_Results::__construct()
S
80 1 3
WP_Athletics::do_admin()
S
75 1 4
WP_Athletics_Records::enqueue_scripts_and_styles()
S
77 1 4
WP_Athletics_Event_Results::__construct()
S
80 1 3
WPA_Base::get_event_categories()
S
77 1 4
WP_Athletics::do_events()
S
76 1 4
WP_Athletics_Stats::__construct()
S
70 1 6
WP_Athletics_Event_Results::enqueue_scripts_and_styles()
S
82 1 3
WP_Athletics_Admin::wpa_print_rankings()
S
83 1 3
WPA_Base::save_profile_photo()
S
65 1 9
WPA_Upcoming_Events::__construct()
S
69 1 7
WP_Athletics_Admin::wpa_manage_athletes()
S
83 1 3
WP_Athletics_Manage_Results::get_my_results_recorded()
S
76 1 4
WP_Athletics_Admin::wpa_manage_events()
S
83 1 3
WP_Athletics_DB::write_to_log()
S
75 1 4
WPA_Base::process_log_content()
S
75 1 4
WP_Athletics_Admin::delete_user()
S
74 1 5
WPA_Base::create_event()
S
74 1 5
WPA_Base::user_autocomplete()
S
72 1 5
WP_Athletics_Admin::get_athletes()
S
74 1 5
WP_Athletics_Events::__construct()
S
80 1 3
WP_Athletics_DB::create_view()
S
64 1 10
WPA_Base::get_all_results()
S
72 1 5
WP_Athletics_DB::force_create_db()
S
81 1 3
WP_Athletics_Demo::trueOrFalse()
S
78 1 3
WP_Athletics_Admin::wpa_event_category_settings()
S
83 1 3
WP_Athletics_DB::get_event()
S
67 1 8
WPA_Base::update_event()
S
74 1 5
WP_Athletics_Admin::delete_events()
S
74 1 5
WPA_Base::update_age_grades()
S
68 1 7
WPA_Base::get_result_info()
S
70 1 6
WPA_Base::reassign_results()
S
70 1 6
WP_Athletics_Recent_Results::enqueue_scripts_and_styles()
S
77 1 4
WP_Athletics_Manage_Results::enqueue_scripts_and_styles()
S
77 1 4
WPA_Base::display_page_loading()
S
76 1 5
WP_Athletics_DB::get_event_sub_types()
S
75 1 4
WP_Athletics::do_records()
S
76 1 4
WP_Athletics::is_fresh_install()
S
75 1 4
WP_Athletics_DB::get_athletes()
S
74 1 4
WPA_Base::event_autocomplete()
S
72 1 5
WP_Athletics_DB::get_result_info()
S
65 1 10
WP_Athletics_DB::log_login()
S
75 1 4
WP_Athletics_DB::get_pending_result_count()
S
66 1 9
WP_Athletics_Admin::save_event_category()
S
76 1 4
WP_Athletics_Admin::delete_age_category()
S
75 1 4
WP_Athletics_DB::__construct()
S
63 1 10
WP_Athletics_Admin::delete_event_category()
S
75 1 4
WP_Athletics_Admin::update_db()
S
74 1 5
WPA_Base::get_events_for_year()
S
73 1 5
WPA_Base::get_recent_results()
S
73 1 5
WPA_Base::get_event()
S
70 1 6
WP_Athletics_DB::clear_sample_data()
S
68 1 7
WPA_Base::location_autocomplete()
S
72 1 5
WP_Athletics_DB::delete_age_category()
S
72 1 5
WP_Athletics_DB::get_user_display_name()
S
75 1 4
WP_Athletics_DB::get_upcoming_events()
S
68 1 7
WP_Athletics_Admin::wpa_settings()
S
83 1 3
WPA_Base::get_all_results_for_user()
S
74 1 5
WP_Athletics_Events::enqueue_scripts_and_styles()
S
77 1 4
WPA_Base::going_to_event()
S
70 1 6
WPA_Base::validate_event_entry()
S
74 1 5
WP_Athletics_DB::uninstall_wpa()
S
75 1 5
WP_Athletics::do_recent_results()
S
76 1 4
WP_Athletics_DB::remove_wpa_data()
S
72 1 6
WP_Athletics_DB::get_recent_results()
S
68 1 7
WP_Athletics_Admin::wpa_manage_results()
S
83 1 3
WPA_Base::get_logs()
S
73 1 5
WP_Athletics_DB::get_results_recorded()
S
75 1 4
WPA_Base::get_generic_results()
S
73 1 5
WPA_Recent_Results::__construct()
S
69 1 7
WP_Athletics_Admin::wpa_age_category_settings()
S
83 1 3
WP_Athletics_Admin::get_events()
S
74 1 5
WP_Athletics::register_widgets()
S
77 1 4
WP_Athletics_DB::get_event_count()
S
75 1 4
WP_Athletics_DB::get_event_categories()
S
65 1 10
WP_Athletics_DB::set_parent()
S
81 1 3
WP_Athletics_DB::create_db_indexes()
S
72 1 5
WPA_Base::delete_result()
S
70 1 6
WP_Athletics_Admin::wpa_log()
S
83 1 3
WP_Athletics_Stats::get_stats()
S
73 1 5
WP_Athletics_Admin::wpa_shortcode_generator()
S
83 1 3
WPA_Base::get_personal_bests()
S
70 1 6
WP_Athletics_Admin::wpa_add_results()
S
83 1 3
WP_Athletics_DB::generate_event_statistics()
S
65 1 9
WP_Athletics_Simple_Shortcodes::__construct()
S
80 1 3
WPA_Base::get_age_categories()
S
77 1 4
WP_Athletics_Simple_Shortcodes::enqueue_scripts_and_styles()
S
74 1 5
WP_Athletics_DB::get_events()
S
69 1 7
WP_Athletics::do_event_results()
S
69 1 7
WP_Athletics_Admin::enqueue_scripts_and_styles()
S
82 1 3
WP_Athletics::deactivate()
S
91 1 2
WP_Athletics_DB::uninstall_tables()
S
67 1 8
WP_Athletics_Manage_Results::remove_edit_post_priv()
S
76 1 4
WP_Athletics_Admin::edit_user()
S
74 1 5
WP_Athletics_DB::get_locations()
S
72 1 5
WPA_Base::get_user_dob()
S
70 1 6
WP_Athletics_Admin::save_age_category()
S
76 1 4
WP_Athletics::do_simple_rankings()
S
69 1 7
WP_Athletics_Manage_Results::__construct()
S
69 1 6
WP_Athletics::do_manage_results()
S
76 1 4
WP_Athletics_Manage_Results::add_edit_post_priv()
S
76 1 4
WP_Athletics_Demo::__construct()
S
77 1 4