Total Complexity | 47 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 392 |
Lines of code | 279 |
Logical lines of code | 186 |
Comment lines | 33 |
Methods | 11 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
ensure_subscription_has_customer_id() | 37 | 12 | 71 | |
payment_fields() | 45 | 7 | 40 | |
save_source_to_order() | 58 | 6 | 15 | |
maybe_render_subscription_payment_method() | 52 | 5 | 24 | |
__construct() | 42 | 2 | 53 | |
prepare_source() | 51 | 3 | 26 | |
change_subs_payment_method() | 55 | 3 | 20 | |
has_subscription() | 77 | 4 | 3 | |
scheduled_subscription_payment() | 57 | 2 | 16 | |
wd_get_subscription_for_order() | 68 | 2 | 7 | |
init_form_fields() | 76 | 1 | 4 |