AWPCP_Categories_Collection S

Total Complexity 40
Dependencies 2
Dependents 5
Total lines 241
Lines of code 140
Logical lines of code 81
Comment lines 44
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
maybe_update_categories_order()
A
51 8 27
get_category_by_name()
S
59 4 13
get_category_with_old_id()
S
57 3 17
find_categories()
S
64 4 10
get()
S
64 3 9
count_categories()
S
65 3 8
find_top_level_categories()
S
65 3 9
prepare_categories_args()
S
61 2 12
sanitize_category_id()
S
66 2 8
prepare_categories_objects()
S
71 2 6
__construct()
S
74 1 5
get_category_by_id()
S
79 1 3
prepare_category_object()
S
75 1 4
get_all()
S
81 1 3
get_hierarchy()
S
80 1 3
find_by_listing_id()
S
79 1 3