LcpCategory S

Total Complexity 45
Dependencies 1
Dependents 1
Total lines 345
Lines of code 134
Logical lines of code 88
Comment lines 183
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
current_category()
A
52 10 22
get_lcp_category()
A
53 8 21
get_post_primary_category()
S
57 5 17
lcp_categories()
S
60 4 14
with_id()
S
60 3 12
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