LaterPay_Compatibility_CategoryPrice S

Total Complexity 21
Dependencies 1
Dependents 1
Total lines 418
Lines of code 240
Logical lines of code 73
Comment lines 122
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
set_category_price()
S
50 2 36
check_existence_of_category_by_name()
S
56 2 21
get_price_id_by_category_id()
S
59 2 17
get_price_by_category_id()
S
59 2 17
get_revenue_model_by_category_id()
S
59 2 17
get_categories_by_term()
S
54 1 27
get_category_price_data_by_category_ids()
S
53 1 26
get_categories_with_defined_price()
S
56 1 24
get_instance()
S
71 2 6
get_categories_without_price_by_term()
S
60 1 14
get_categories_with_defined_price_count()
S
64 1 11
__construct()
S
73 1 5
filter_terms_clauses_for_categories_without_price()
S
72 1 5
delete_prices_by_category_id()
S
65 1 9
delete_all_category_prices()
S
73 1 5