-
Home
-
Post Views Counter
-
1.3.11
-
Code
-
Classes
- Post_Views_Counter_Counter
Total Complexity |
163 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
905 |
Lines of code |
434 |
Logical lines of code |
285 |
Comment lines |
309 |
Methods |
28 |
Properties |
2 |
Methods 28
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_post() |
C |
37 |
28 |
61 |
save_cookie() |
B |
41 |
18 |
46 |
check_cookie() |
A |
51 |
10 |
23 |
decrypt_ip() |
A |
53 |
10 |
18 |
encrypt_ip() |
A |
53 |
10 |
18 |
save_ip() |
A |
51 |
9 |
24 |
check_post_js() |
A |
58 |
9 |
12 |
init_counter() |
S |
59 |
7 |
12 |
update_cached_keys_list_if_needed() |
S |
56 |
6 |
19 |
check_post_php() |
S |
62 |
7 |
10 |
get_user_ip() |
S |
59 |
6 |
13 |
count_visit() |
S |
50 |
5 |
26 |
is_user_role_excluded() |
S |
60 |
5 |
13 |
check_post_rest_api() |
S |
59 |
5 |
12 |
flush_cache_to_db() |
S |
55 |
4 |
19 |
db_prepare_insert() |
S |
63 |
4 |
10 |
using_object_cache() |
S |
66 |
3 |
8 |
db_insert() |
S |
61 |
2 |
13 |
db_commit_insert() |
S |
62 |
2 |
12 |
get_timestamp() |
S |
61 |
2 |
11 |
rest_api_init() |
S |
54 |
1 |
24 |
ipv4_in_range() |
S |
68 |
2 |
6 |
get_post_views_rest_api() |
S |
73 |
2 |
4 |
validate_user_ip() |
S |
71 |
2 |
5 |
post_views_permissions_check() |
S |
78 |
1 |
3 |
__construct() |
S |
72 |
1 |
5 |
delete_post_views() |
S |
74 |
1 |
4 |
get_post_views_permissions_check() |
S |
78 |
1 |
3 |