-
Home
-
YITH WooCommerce Affiliates
-
3.11.0
-
Code
-
Classes
- YITH_WCAF_Orders
| Total Complexity |
80 |
| Dependencies |
5 |
| Dependents |
2 |
| Total lines |
728 |
| Lines of code |
278 |
| Logical lines of code |
171 |
| Comment lines |
327 |
| Methods |
17 |
| Properties |
3 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| create_commissions() |
B |
40 |
16 |
55 |
| status_changed() |
A |
47 |
11 |
35 |
| refund_created() |
A |
46 |
8 |
37 |
| refund_deleted() |
A |
51 |
8 |
25 |
| delete_commissions() |
S |
54 |
7 |
22 |
| calculate_line_item_commission() |
S |
54 |
7 |
22 |
| regenerate_commissions() |
S |
55 |
6 |
22 |
| restored() |
S |
64 |
3 |
11 |
| map_commission_status() |
S |
64 |
3 |
9 |
| delete_commission() |
S |
69 |
2 |
7 |
| get_line_item_total() |
S |
70 |
2 |
5 |
| trashed() |
S |
69 |
2 |
7 |
| __construct() |
S |
66 |
1 |
8 |
| should_create_product_commission() |
S |
77 |
1 |
3 |
| exclude_tax() |
S |
79 |
1 |
3 |
| exclude_discounts() |
S |
79 |
1 |
3 |
| retrieve_options() |
S |
74 |
1 |
4 |