-
Home
-
YITH WooCommerce Affiliates
-
3.11.0
-
Code
-
Classes
- YITH_WCAF_Payment
| Total Complexity |
160 |
| Dependencies |
14 |
| Dependents |
4 |
| Total lines |
1,203 |
| Lines of code |
555 |
| Logical lines of code |
292 |
| Comment lines |
453 |
| Methods |
59 |
| Properties |
5 |
Methods 59
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| sync_commissions() |
B |
41 |
16 |
54 |
| read_commissions() |
A |
49 |
10 |
32 |
| get_admin_actions() |
A |
44 |
9 |
44 |
| __construct() |
A |
50 |
8 |
29 |
| get_formatted_gateway_details() |
S |
55 |
7 |
18 |
| set_status() |
S |
56 |
7 |
18 |
| get_notes() |
S |
54 |
5 |
22 |
| save() |
S |
54 |
5 |
20 |
| get_affiliate() |
S |
64 |
5 |
10 |
| commissions_need_update() |
S |
62 |
4 |
11 |
| save_commissions() |
S |
63 |
4 |
10 |
| get_created_at() |
S |
68 |
3 |
7 |
| get_completed_at() |
S |
68 |
3 |
7 |
| get_admin_edit_url() |
S |
65 |
3 |
9 |
| has_invoice() |
S |
70 |
3 |
6 |
| get_commissions() |
S |
66 |
3 |
10 |
| user_can() |
S |
64 |
3 |
9 |
| delete() |
S |
61 |
2 |
14 |
| add_note() |
S |
61 |
2 |
13 |
| get_formatted_gateway() |
S |
68 |
2 |
7 |
| has_status() |
S |
70 |
2 |
6 |
| get_status() |
S |
66 |
2 |
8 |
| can_be_paid() |
S |
77 |
2 |
3 |
| get_available_status_changes() |
S |
67 |
2 |
8 |
| can_change_status() |
S |
68 |
2 |
7 |
| get_formatted_status() |
S |
66 |
2 |
8 |
| get_created_time() |
S |
69 |
2 |
7 |
| get_completed_time() |
S |
69 |
2 |
7 |
| get_invoice_url() |
S |
71 |
2 |
6 |
| maybe_read_commissions() |
S |
75 |
2 |
5 |
| get_original_commissions() |
S |
70 |
2 |
7 |
| add_commission() |
S |
69 |
2 |
7 |
| remove_commission() |
S |
70 |
2 |
7 |
| set_affiliate_id() |
S |
66 |
2 |
9 |
| set_email() |
S |
71 |
2 |
6 |
| set_gateway_id() |
S |
71 |
2 |
6 |
| set_amount() |
S |
69 |
2 |
7 |
| get_formatted_amount() |
S |
63 |
1 |
12 |
| get_shortened_status() |
S |
63 |
1 |
11 |
| get_affiliate_id() |
S |
79 |
1 |
3 |
| get_email() |
S |
79 |
1 |
3 |
| get_gateway_id() |
S |
79 |
1 |
3 |
| get_gateway() |
S |
80 |
1 |
3 |
| get_amount() |
S |
79 |
1 |
3 |
| is_active() |
S |
80 |
1 |
3 |
| is_inactive() |
S |
80 |
1 |
3 |
| is_pending() |
S |
80 |
1 |
3 |
| is_paid() |
S |
80 |
1 |
3 |
| get_transaction_key() |
S |
79 |
1 |
3 |
| get_gateway_details() |
S |
79 |
1 |
3 |
| get_currency() |
S |
81 |
1 |
3 |
| set_commissions() |
S |
80 |
1 |
3 |
| delete_commissions() |
S |
77 |
1 |
4 |
| set_created_at() |
S |
80 |
1 |
3 |
| set_completed_at() |
S |
80 |
1 |
3 |
| set_transaction_key() |
S |
80 |
1 |
3 |
| set_gateway_details() |
S |
80 |
1 |
3 |
| update_gateway_details() |
S |
66 |
1 |
10 |
| delete_gateway_details() |
S |
80 |
1 |
3 |