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