-
Home
-
List category posts
-
0.92.0
-
Code
-
Classes
- LcpCategory
| Total Complexity |
50 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
384 |
| Lines of code |
154 |
| Logical lines of code |
102 |
| Comment lines |
199 |
| Methods |
13 |
| Properties |
2 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| current_category() |
A |
47 |
13 |
32 |
| get_lcp_category() |
S |
54 |
7 |
20 |
| get_post_primary_category() |
S |
57 |
5 |
17 |
| lcp_categories() |
S |
60 |
4 |
14 |
| with_id() |
S |
60 |
3 |
12 |
| validate_excluded_ids() |
S |
63 |
3 |
11 |
| with_name() |
S |
66 |
3 |
8 |
| get_category_id_by_name() |
S |
67 |
3 |
7 |
| get_instance() |
S |
71 |
2 |
6 |
| and_relationship() |
S |
67 |
2 |
8 |
| or_relationship() |
S |
66 |
2 |
8 |
| check_main_cat_only() |
S |
69 |
2 |
6 |
| filter_by_main_category() |
S |
72 |
1 |
5 |