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