AnWPFL_Helper D

Total Complexity 658
Dependencies 8
Dependents 1
Total lines 4,172
Lines of code 2,752
Logical lines of code 1,442
Comment lines 715
Methods 57
Properties 1

Methods 57

Method Rating Maintainability Complexity Lines of code
import_matches()
D
18
69 186
import_players()
D
23
55 153
import_lineups()
D
25
44 146
import_goals()
D
30 38 99
import_subs()
D
31 35 100
import_clubs()
D
32 32 95
import_cards()
C
35 28 76
import_referees()
C
36 25 74
download_csv_players()
C
31 22 110
import_stadiums()
B
37 23 68
parse_match_events()
B
36 21 86
get_selector_competition_data()
B
32 18 112
recalculate_matches_statistic()
B
31 14 117
get_filtered_seasons()
B
37 15 85
get_selector_initial()
B
43 16 47
season_dropdown()
B
42 16 47
get_selector_data()
A
42 14 56
get_selector_player_data()
A
37 10 85
save_import_data()
A
47 11 36
get_selector_staff_data()
A
41 7 68
get_selector_referee_data()
A
40 7 68
club_form()
A
45 8 44
create_new_league()
A
51 8 26
get_selector_league_data()
A
41 5 65
get_selector_competition_initial()
A
48 7 34
get_selector_club_data()
A
42 5 64
get_selector_game_data()
A
41 5 62
get_selector_match_initial()
S
51 7 25
create_new_season()
S
52 7 23
filter_season_list()
S
53 7 23
update_permissions_check()
S
51 6 27
get_selector_season_data()
S
43 4 57
download_csv()
S
58 5 17
get_selector_player_initial()
S
54 4 22
get_selector_staff_initial()
S
54 4 22
get_selector_referee_initial()
S
54 4 22
get_selector_club_initial()
S
54 4 22
create_metabox_navigation()
S
49 3 36
get_selector_season_initial()
S
54 4 21
get_selector_league_initial()
S
54 4 21
string_to_bool()
S
76 5 3
add_rest_routes()
S
45 1 57
get_permalinks_by_ids()
S
59 3 15
recursive_sanitize()
S
68 3 7
get_youtube_id()
S
67 3 7
get_season_id_maybe()
S
64 3 10
get_default_club_logo()
S
64 3 10
get_default_player_photo()
S
64 3 10
create_metabox_header()
S
54 1 24
get_select2_formatted_options()
S
65 2 10
validate_date()
S
74 2 4
__get()
S
70 2 6
modify_cmb2_metabox_form_format()
S
70 2 6
render_docs_template()
S
63 1 13
rest_check_permissions()
S
61 1 12
hooks()
S
67 1 7
__construct()
S
77 1 4