WC_Payments_Features A

Total Complexity 60
Dependencies 3
Dependents 16
Total lines 386
Lines of code 171
Logical lines of code 71
Comment lines 160
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
is_wcpay_subscriptions_eligible()
A
45 7 43
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_woopay_direct_checkout_enabled()
S
67 4 6
is_documents_section_enabled()
S
69 3 5
is_woopay_enabled()
S
69 3 6
is_stripe_billing_eligible()
S
67 3 7
is_client_secret_encryption_enabled()
S
66 3 8
is_woopay_eligible()
S
67 3 7
to_array()
S
59 1 16
are_payments_enabled()
S
73 2 4
is_client_secret_encryption_eligible()
S
78 2 3
is_woopay_express_checkout_enabled()
S
77 2 3
is_woopay_first_party_auth_enabled()
S
77 2 3
is_streamline_refunds_enabled()
S
78 1 3
is_payment_overview_widget_ui_enabled()
S
78 1 3
is_subscription_migration_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_pay_for_order_flow_enabled()
S
78 1 3
is_dispute_issuer_evidence_enabled()
S
78 1 3
is_next_deposit_notice_dismissed()
S
78 1 3