WC_Payments_Incentives_Service S

Total Complexity 38
Dependencies 4
Dependents 2
Total lines 315
Lines of code 165
Logical lines of code 65
Comment lines 108
Methods 12
Properties 1

Methods 12

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
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
72 1 5