-
Home
-
FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce
-
3.2.1
-
Code
-
Classes
- BWFAN_WC_Create_Coupon
| Total Complexity |
67 |
| Dependencies |
3 |
| Dependents |
0 |
| Total lines |
440 |
| Lines of code |
348 |
| Logical lines of code |
156 |
| Comment lines |
39 |
| Methods |
12 |
| Properties |
1 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| admin_enqueue_assets() |
B |
40 |
22 |
57 |
| process() |
A |
42 |
12 |
53 |
| get_view() |
S |
40 |
1 |
111 |
| execute_action() |
S |
49 |
6 |
33 |
| get_coupon_data() |
S |
60 |
7 |
12 |
| make_data() |
S |
57 |
6 |
15 |
| create_coupon() |
S |
53 |
5 |
23 |
| handle_coupon_restriction() |
S |
62 |
3 |
12 |
| get_instance() |
S |
71 |
2 |
6 |
| get_expiry_dates() |
S |
59 |
1 |
15 |
| __construct() |
S |
66 |
1 |
8 |
| load_hooks() |
S |
78 |
1 |
3 |