WC_Payments_Features A

Total Complexity 61
Dependencies 3
Dependents 22
Total lines 380
Lines of code 166
Logical lines of code 71
Comment lines 155
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
is_wcpay_subscriptions_eligible()
A
45 7 43
is_woopay_eligible()
S
60 5 12
is_woopay_direct_checkout_enabled()
S
67 5 6
should_use_stripe_billing()
S
65 5 9
maybe_enable_wcpay_subscriptions_after_onboarding()
S
64 5 9
is_wcpay_subscriptions_enabled()
S
63 4 9
is_tokenized_cart_ece_enabled()
S
72 3 4
is_woopay_enabled()
S
69 3 6
is_documents_section_enabled()
S
69 3 5
is_stripe_billing_eligible()
S
67 3 7
is_woopay_global_theme_support_eligible()
S
73 2 4
are_payments_enabled()
S
73 2 4
is_woopay_express_checkout_enabled()
S
77 2 3
is_woopay_first_party_auth_enabled()
S
77 2 3
to_array()
S
62 1 13
is_payment_overview_widget_ui_enabled()
S
78 1 3
is_auth_and_capture_enabled()
S
78 1 3
is_frt_review_feature_active()
S
78 1 3
is_fraud_protection_welcome_tour_dismissed()
S
78 1 3
is_stripe_billing_enabled()
S
78 1 3
is_customer_multi_currency_enabled()
S
78 1 3
is_dispute_issuer_evidence_enabled()
S
78 1 3
is_next_deposit_notice_dismissed()
S
78 1 3
is_woopayments_gateway_enabled()
S
71 1 5