-
Home
-
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory
-
2.8.137
-
Code
-
Classes
- GeoDir_Post_Limit
| Total Complexity |
46 |
| Dependencies |
1 |
| Dependents |
2 |
| Total lines |
244 |
| Lines of code |
172 |
| Logical lines of code |
99 |
| Comment lines |
12 |
| Methods |
9 |
| Properties |
0 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| user_can_add_post() |
A |
44 |
15 |
41 |
| count_user_cpt_posts() |
A |
44 |
8 |
40 |
| check_add_listing_output() |
A |
50 |
8 |
28 |
| check_rest_api_post() |
S |
58 |
5 |
14 |
| posts_limit_message() |
S |
57 |
3 |
15 |
| cpt_posts_limit() |
S |
60 |
3 |
13 |
| rest_api_init() |
S |
69 |
2 |
6 |
| cpt_posts_limits() |
S |
63 |
1 |
11 |
| init() |
S |
74 |
1 |
4 |