Total Complexity | 42 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 387 |
Lines of code | 256 |
Logical lines of code | 170 |
Comment lines | 28 |
Methods | 11 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
ensure_subscription_has_customer_id() | 42 | 7 | 51 | |
payment_fields() | 45 | 7 | 40 | |
save_source_to_order() | 58 | 6 | 15 | |
maybe_render_subscription_payment_method() | 52 | 5 | 24 | |
__construct() | 43 | 2 | 50 | |
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 |