WC_Payments_Incentives_Service S

Total Complexity 41
Dependencies 4
Dependents 2
Total lines 338
Lines of code 177
Logical lines of code 73
Comment lines 116
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
fetch_connect_incentive_details()
S
46 6 39
get_cached_connect_incentive()
S
53 7 23
is_valid_cached_incentive()
S
62 7 11
add_payments_menu_badge()
S
60 5 13
has_wcpay()
S
59 3 17
onboarding_task_additional_data()
S
64 3 11
get_store_context()
S
55 1 19
allowed_promo_notes()
S
67 2 8
onboarding_task_badge()
S
68 2 7
has_wcpay_account_data()
S
68 2 7
generate_context_hash()
S
61 1 13
__construct()
S
81 1 3
init_hooks()
S
69 1 6