FrmStrpLiteSubscriptionHelper S

Total Complexity 24
Dependencies 6
Dependents 4
Total lines 239
Lines of code 115
Logical lines of code 54
Comment lines 101
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
create_new_subscription()
S
49 5 28
prepare_payment_limit()
S
56 4 19
prepare_plan_options()
S
57 3 16
maybe_create_missing_plan_and_create_subscription()
S
63 3 9
get_plan_for_action()
S
63 2 10
get_trial_with_default()
S
71 2 6
prepare_charge_object_for_subscription()
S
65 1 9
get_plan_from_atts()
S
72 1 5
maybe_create_plan()
S
75 1 4
should_cancel_at_period_end()
S
78 1 3
get_invalid_payment_limit_error()
S
71 1 6