LaterPay_Model_CategoryPriceWP S

Total Complexity 48
Dependencies 4
Dependents 5
Total lines 411
Lines of code 197
Logical lines of code 107
Comment lines 127
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
delete_all_category_prices()
S
54 6 21
set_category_price()
S
56 6 18
delete_prices_by_category_id()
S
58 5 16
format_categories_with_defined_price()
S
54 4 21
get_instance()
S
64 5 10
format_categories_by_term()
S
61 3 13
check_existence_of_category_by_name()
S
63 3 11
get_price_by_category_id()
S
68 3 7
get_category_ids()
S
64 3 10
get_categories_with_defined_price_count()
S
62 2 11
get_revenue_model_by_category_id()
S
68 2 7
get_categories_without_price_by_term()
S
60 1 14
get_categories_by_term()
S
61 1 13
get_category_price_data_by_category_ids()
S
63 1 11
get_price_id_by_category_id()
S
82 1 3
__construct()
S
98 1 1
get_categories_with_defined_price()
S
64 1 10