-
Home
-
Swift Performance Lite
-
2.3.7.3 (latest)
-
Code
-
Classes
- Swift_Performance
| Total Complexity |
642 |
| Dependencies |
13 |
| Dependents |
20 |
| Total lines |
3,221 |
| Lines of code |
2,154 |
| Logical lines of code |
1,349 |
| Comment lines |
610 |
| Methods |
92 |
| Properties |
7 |
Methods 92
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| __construct() |
D |
8 |
94 |
305 |
| get_prebuild_urls() |
D |
26 |
43 |
125 |
| prebuild_cache_hit() |
D |
30 |
32 |
99 |
| generate_warmup_table() |
C |
32 |
26 |
97 |
| toolbar_items() |
C |
32 |
22 |
106 |
| build_rewrite_rules() |
B |
37 |
22 |
67 |
| admin_notices() |
B |
43 |
21 |
41 |
| uninstall() |
B |
38 |
19 |
61 |
| 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 |
46 |
10 |
36 |
| 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 |
| get_option() |
S |
57 |
5 |
18 |
| detect_htaccess_redirects() |
S |
60 |
5 |
15 |
| set_thread() |
S |
63 |
6 |
9 |
| unlock_thread() |
S |
62 |
6 |
9 |
| get_image_id() |
S |
56 |
5 |
15 |
| upgrader_process_complete() |
S |
64 |
6 |
9 |
| clear_hook() |
S |
59 |
5 |
15 |
| activate() |
S |
58 |
5 |
14 |
| get_thread_array() |
S |
59 |
5 |
14 |
| update_info() |
S |
53 |
4 |
23 |
| home_url() |
S |
56 |
4 |
17 |
| site_url() |
S |
56 |
4 |
17 |
| lock_thread() |
S |
60 |
5 |
10 |
| is_admin() |
S |
71 |
5 |
4 |
| db_install() |
S |
53 |
3 |
25 |
| add_notice() |
S |
57 |
3 |
16 |
| disable_file_edit() |
S |
77 |
4 |
3 |
| set_time_limit() |
S |
64 |
4 |
9 |
| safe_set_transient() |
S |
63 |
4 |
8 |
| is_feature_available() |
S |
67 |
4 |
7 |
| get_home_path() |
S |
58 |
3 |
13 |
| prebuild_page_cache() |
S |
61 |
3 |
12 |
| is_rest() |
S |
61 |
3 |
11 |
| formatted_size() |
S |
62 |
3 |
11 |
| padding_str() |
S |
63 |
3 |
11 |
| collect_anonymized_data() |
S |
52 |
2 |
24 |
| reset_options() |
S |
56 |
2 |
18 |
| flush_connection() |
S |
58 |
2 |
16 |
| is_user_logged_in() |
S |
76 |
3 |
3 |
| is_404() |
S |
73 |
3 |
4 |
| is_author() |
S |
73 |
3 |
4 |
| is_archive() |
S |
73 |
3 |
4 |
| is_feed() |
S |
73 |
3 |
4 |
| is_password_protected() |
S |
65 |
3 |
9 |
| is_sitemap() |
S |
76 |
3 |
3 |
| server_software() |
S |
76 |
3 |
3 |
| cache_dir_size() |
S |
65 |
3 |
8 |
| is_function_disabled() |
S |
65 |
3 |
8 |
| update_plugin_header() |
S |
68 |
3 |
8 |
| is_developer_mode_active() |
S |
69 |
2 |
7 |
| is_option_set() |
S |
68 |
2 |
7 |
| canonicalize() |
S |
62 |
2 |
10 |
| base64_decode_deep() |
S |
67 |
2 |
8 |
| get_warmup_id() |
S |
63 |
2 |
9 |
| header() |
S |
66 |
2 |
8 |
| default_license() |
S |
71 |
2 |
6 |
| get_credit() |
S |
68 |
2 |
7 |
| get_upgrade_url() |
S |
65 |
2 |
8 |
| deactivate() |
S |
61 |
1 |
13 |
| i18n() |
S |
64 |
1 |
10 |
| get_default_warmup_priority() |
S |
70 |
1 |
5 |
| stop_prebuild() |
S |
70 |
1 |
6 |
| is_amp() |
S |
78 |
1 |
3 |
| home_dir() |
S |
77 |
1 |
3 |
| set_option() |
S |
73 |
1 |
5 |
| update_option() |
S |
72 |
1 |
5 |
| remove_option() |
S |
72 |
1 |
5 |
| get_post_types() |
S |
68 |
1 |
6 |
| log_buffer() |
S |
74 |
1 |
4 |
| get_menu() |
S |
61 |
1 |
10 |
| mysql_query() |
S |
76 |
1 |
4 |
| get_unique_id() |
S |
72 |
1 |
4 |
| get_instance() |
S |
81 |
1 |
3 |