-
Home
-
WooPayments: Integrated WooCommerce Payments
-
10.0.0 (latest)
-
Code
-
Classes
- WC_Payments_Incentives_Service
| Total Complexity |
53 |
| Dependencies |
7 |
| Dependents |
2 |
| Total lines |
491 |
| Lines of code |
230 |
| Logical lines of code |
109 |
| Comment lines |
186 |
| Methods |
15 |
| Properties |
5 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_incentives() |
A |
39 |
12 |
67 |
| has_orders() |
S |
50 |
6 |
26 |
| has_wcpay() |
S |
53 |
6 |
24 |
| validate_incentive() |
S |
64 |
6 |
10 |
| add_payments_menu_badge() |
S |
60 |
5 |
13 |
| get_connect_incentive() |
S |
54 |
4 |
25 |
| onboarding_task_additional_data() |
S |
64 |
3 |
11 |
| allowed_promo_notes() |
S |
67 |
2 |
8 |
| onboarding_task_badge() |
S |
69 |
2 |
7 |
| has_wcpay_account_data() |
S |
68 |
2 |
7 |
| generate_context_hash() |
S |
61 |
1 |
13 |
| __construct() |
S |
70 |
1 |
6 |
| init_hooks() |
S |
69 |
1 |
6 |
| clear_cache() |
S |
77 |
1 |
4 |
| reset_memo() |
S |
81 |
1 |
3 |