Total Complexity | 61 |
Dependencies | 5 |
Dependents | 5 |
Total lines | 576 |
Lines of code | 306 |
Logical lines of code | 167 |
Comment lines | 146 |
Methods | 12 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
update_subscription() | 34 | 18 | 99 | |
get_subscriptions_by_category_ids() | 40 | 10 | 63 | |
ensure_post_meta_present() | 55 | 7 | 18 | |
get_subscription() | 49 | 5 | 33 | |
get_instance() | 63 | 5 | 11 | |
get_all_subscriptions() | 51 | 4 | 26 | |
delete_subscription_by_id() | 53 | 4 | 23 | |
transform_post_to_subscription() | 57 | 2 | 16 | |
get_subscriptions_count() | 71 | 2 | 5 | |
get_subscription_from_data_store() | 66 | 2 | 8 | |
__construct() | 98 | 1 | 1 | |
get_active_subscriptions() | 80 | 1 | 3 |