-
Home
-
Post Views Counter
-
1.4
-
Code
-
Classes
- Post_Views_Counter_Counter
| Total Complexity |
218 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
1,411 |
| Lines of code |
687 |
| Logical lines of code |
396 |
| Comment lines |
487 |
| Methods |
38 |
| Properties |
6 |
Methods 38
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| save_cookie() |
B |
35 |
18 |
83 |
| check_conditions() |
A |
49 |
15 |
28 |
| save_cookie_storage() |
A |
40 |
13 |
56 |
| check_cookie() |
A |
49 |
14 |
27 |
| check_post() |
A |
46 |
13 |
34 |
| check_post_js() |
A |
46 |
13 |
33 |
| check_post_php() |
A |
55 |
13 |
16 |
| is_homepage() |
A |
56 |
11 |
17 |
| check_post_rest_api() |
A |
48 |
10 |
28 |
| queue_count() |
A |
52 |
8 |
23 |
| save_data_storage() |
S |
52 |
7 |
24 |
| set_storage_type() |
S |
57 |
7 |
15 |
| init_counter() |
S |
57 |
6 |
15 |
| get_user_ip() |
S |
59 |
6 |
13 |
| print_queue_count() |
S |
48 |
4 |
42 |
| sanitize_storage_data() |
S |
58 |
5 |
15 |
| is_user_role_excluded() |
S |
60 |
5 |
13 |
| validate_rest_api_data() |
S |
59 |
5 |
13 |
| using_object_cache() |
S |
62 |
5 |
11 |
| flush_cache_to_db() |
S |
55 |
4 |
20 |
| is_posts_page() |
S |
67 |
5 |
6 |
| sanitize_cookies_data() |
S |
58 |
4 |
15 |
| count_visit() |
S |
56 |
3 |
17 |
| db_prepare_insert() |
S |
63 |
4 |
10 |
| rest_api_init() |
S |
49 |
1 |
38 |
| db_commit_insert() |
S |
62 |
2 |
12 |
| delete_post_views() |
S |
62 |
2 |
11 |
| get_timestamp() |
S |
61 |
2 |
11 |
| db_insert() |
S |
66 |
2 |
7 |
| ipv4_in_range() |
S |
68 |
2 |
6 |
| validate_user_ip() |
S |
71 |
2 |
5 |
| __construct() |
S |
72 |
1 |
5 |
| get_storage() |
S |
82 |
1 |
3 |
| get_storage_type() |
S |
82 |
1 |
3 |
| add_to_queue() |
S |
80 |
1 |
3 |
| get_post_views_rest_api() |
S |
80 |
1 |
3 |
| post_view_permissions_check() |
S |
78 |
1 |
3 |
| get_post_views_permissions_check() |
S |
78 |
1 |
3 |