Swift_Performance D

Total Complexity 632
Dependencies 12
Dependents 17
Total lines 3,144
Lines of code 2,101
Logical lines of code 1,310
Comment lines 597
Methods 91
Properties 6

Methods 91

Method Rating Maintainability Complexity Lines of code
__construct()
D
10
86 281
get_prebuild_urls()
D
26
43 125
prebuild_cache_hit()
D
30 32 95
generate_warmup_table()
C
32 26 97
toolbar_items()
C
32 22 106
build_rewrite_rules()
B
38 21 67
admin_notices()
B
43 21 41
uninstall()
B
39 18 59
load_assets()
A
48 13 26
credit_notification()
A
38 10 68
get_thread()
A
50 12 26
check_api()
A
43 10 51
log()
A
45 11 36
api()
A
42 10 49
panel_template()
A
48 11 32
cache_status()
A
40 9 57
write_rewrite_rules()
A
47 10 33
schedule_clear_cache()
A
54 10 18
prebuild_cache()
A
47 8 33
is_mobile()
A
56 9 16
early_loader()
A
50 8 25
wait_for_thread()
A
52 8 22
set_transient()
A
48 7 35
update_credit()
A
55 8 19
init()
S
51 7 24
license_type()
S
53 7 21
check_option()
S
57 6 17
api_messages()
S
49 5 29
options_saved()
S
50 5 26
detect_htaccess_redirects()
S
60 5 15
get_image_id()
S
56 5 15
set_thread()
S
63 6 9
upgrader_process_complete()
S
64 6 9
unlock_thread()
S
62 6 9
clear_hook()
S
59 5 15
get_thread_array()
S
59 5 14
activate()
S
58 5 14
update_info()
S
53 4 23
home_url()
S
56 4 17
site_url()
S
56 4 17
is_admin()
S
71 5 4
is_writable()
S
75 5 3
lock_thread()
S
60 5 10
db_install()
S
53 3 25
add_notice()
S
57 3 16
mysql_query()
S
66 4 8
safe_set_transient()
S
63 4 8
set_time_limit()
S
64 4 9
is_feature_available()
S
67 4 7
get_home_path()
S
58 3 13
get_option()
S
61 3 12
prebuild_page_cache()
S
62 3 11
formatted_size()
S
62 3 11
is_rest()
S
61 3 11
padding_str()
S
63 3 11
collect_anonymized_data()
S
52 2 24
flush_connection()
S
58 2 16
is_author()
S
73 3 4
is_user_logged_in()
S
76 3 3
is_function_disabled()
S
65 3 8
cache_dir_size()
S
65 3 8
update_plugin_header()
S
68 3 8
is_404()
S
73 3 4
is_feed()
S
73 3 4
is_archive()
S
73 3 4
server_software()
S
76 3 3
is_password_protected()
S
65 3 9
is_sitemap()
S
76 3 3
get_upgrade_url()
S
65 2 8
get_credit()
S
68 2 7
header()
S
66 2 8
get_warmup_id()
S
63 2 9
default_license()
S
71 2 6
is_developer_mode_active()
S
69 2 7
canonicalize()
S
62 2 10
base64_decode_deep()
S
67 2 8
is_option_set()
S
68 2 7
deactivate()
S
61 1 13
get_unique_id()
S
72 1 4
i18n()
S
66 1 9
is_amp()
S
78 1 3
home_dir()
S
77 1 3
set_option()
S
73 1 5
reset_options()
S
68 1 7
get_default_warmup_priority()
S
70 1 5
update_option()
S
72 1 5
stop_prebuild()
S
70 1 6
get_instance()
S
81 1 3
log_buffer()
S
74 1 4
get_menu()
S
61 1 10
get_post_types()
S
68 1 6