Total Complexity | 40 |
Dependencies | 0 |
Dependents | 0 |
Total lines | 308 |
Lines of code | 198 |
Logical lines of code | 119 |
Comment lines | 88 |
Methods | 13 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
custom_woocommerce_get_catalog_ordering_args() | 44 | 12 | 45 | |
__construct() | 48 | 7 | 32 | |
rearrange_sorting() | 56 | 4 | 18 | |
rename_default_sortings() | 62 | 3 | 11 | |
remove_default_sortings() | 62 | 3 | 10 | |
restore_default_sorting_on_avada() | 57 | 1 | 21 | |
get_woocommerce_sortings_order() | 60 | 1 | 16 | |
restore_default_sorting() | 68 | 2 | 8 | |
remove_sorting_template() | 70 | 2 | 6 | |
maybe_add_sorting() | 71 | 2 | 6 | |
get_woocommerce_default_sortings() | 64 | 1 | 10 | |
remove_sorting() | 70 | 1 | 6 | |
custom_woocommerce_catalog_orderby() | 64 | 1 | 9 |