-
Home
-
Post Views Counter
-
1.3.13
-
Code
-
Classes
- Post_Views_Counter_Counter
Total Complexity |
190 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
1,111 |
Lines of code |
570 |
Logical lines of code |
329 |
Comment lines |
356 |
Methods |
32 |
Properties |
4 |
Methods 32
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_post() |
C |
37 |
28 |
61 |
save_cookie() |
B |
36 |
17 |
79 |
decrypt_ip() |
A |
51 |
16 |
19 |
encrypt_ip() |
A |
51 |
16 |
19 |
check_cookie() |
A |
49 |
14 |
27 |
queue_count() |
A |
52 |
8 |
23 |
check_post_js() |
A |
53 |
8 |
21 |
save_ip() |
S |
52 |
7 |
22 |
update_cached_keys_list_if_needed() |
S |
56 |
6 |
19 |
init_counter() |
S |
57 |
6 |
15 |
get_user_ip() |
S |
59 |
6 |
13 |
print_queue_count() |
S |
48 |
4 |
42 |
check_post_php() |
S |
61 |
6 |
11 |
count_visit() |
S |
50 |
5 |
26 |
check_post_rest_api() |
S |
56 |
5 |
16 |
is_user_role_excluded() |
S |
60 |
5 |
13 |
validate_rest_api_data() |
S |
59 |
5 |
13 |
flush_cache_to_db() |
S |
55 |
4 |
19 |
db_prepare_insert() |
S |
63 |
4 |
10 |
rest_api_init() |
S |
51 |
1 |
32 |
using_object_cache() |
S |
66 |
3 |
8 |
db_commit_insert() |
S |
62 |
2 |
12 |
get_timestamp() |
S |
61 |
2 |
11 |
db_insert() |
S |
67 |
2 |
7 |
ipv4_in_range() |
S |
68 |
2 |
6 |
validate_user_ip() |
S |
71 |
2 |
5 |
add_to_queue() |
S |
80 |
1 |
3 |
delete_post_views() |
S |
74 |
1 |
4 |
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 |
__construct() |
S |
72 |
1 |
5 |