-
Home
-
Post Views Counter
-
1.3.3
-
Code
-
Classes
- Post_Views_Counter_Settings
| Total Complexity |
112 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
806 |
| Lines of code |
529 |
| Logical lines of code |
254 |
| Comment lines |
119 |
| Methods |
27 |
| Properties |
10 |
Methods 27
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| validate_settings() |
D |
23 |
57 |
140 |
| load_post_types() |
S |
56 |
6 |
16 |
| options_page() |
S |
44 |
4 |
44 |
| load_defaults() |
S |
42 |
3 |
58 |
| restrict_display() |
S |
52 |
5 |
23 |
| exclude() |
S |
53 |
4 |
20 |
| exclude_ips() |
S |
53 |
3 |
22 |
| time_between_counts() |
S |
59 |
2 |
14 |
| reset_counts() |
S |
58 |
2 |
14 |
| flush_interval() |
S |
59 |
2 |
14 |
| position() |
S |
60 |
2 |
13 |
| counter_mode() |
S |
60 |
2 |
12 |
| display_style() |
S |
60 |
2 |
12 |
| post_types_count() |
S |
61 |
2 |
11 |
| post_types_display() |
S |
61 |
2 |
11 |
| page_types_display() |
S |
61 |
2 |
11 |
| register_settings() |
S |
50 |
1 |
25 |
| get_user_roles() |
S |
64 |
2 |
9 |
| wp_postviews() |
S |
63 |
1 |
11 |
| __construct() |
S |
70 |
1 |
6 |
| admin_menu_options() |
S |
77 |
1 |
3 |
| post_views_label() |
S |
66 |
1 |
9 |
| post_views_column() |
S |
69 |
1 |
6 |
| strict_counts() |
S |
69 |
1 |
6 |
| restrict_edit_views() |
S |
69 |
1 |
6 |
| deactivation_delete() |
S |
69 |
1 |
6 |
| icon_class() |
S |
68 |
1 |
7 |