-
Home
-
YITH WooCommerce Affiliates
-
3.9.0
-
Code
-
Classes
- YITH_WCAF_Form_Handler
Total Complexity |
64 |
Dependencies |
7 |
Dependents |
5 |
Total lines |
528 |
Lines of code |
233 |
Logical lines of code |
125 |
Comment lines |
216 |
Methods |
14 |
Properties |
4 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
handle() |
A |
45 |
15 |
34 |
generate_referral_url() |
A |
50 |
9 |
26 |
register_affiliate_for_customer() |
S |
50 |
7 |
29 |
save_affiliate_settings() |
S |
52 |
6 |
24 |
get_handlers() |
S |
48 |
3 |
38 |
get_posted_data() |
S |
55 |
4 |
21 |
register_affiliate() |
S |
61 |
4 |
11 |
get_last_result() |
S |
71 |
3 |
6 |
sanitize_fields() |
S |
64 |
3 |
10 |
redirect_after_affiliate_registration() |
S |
67 |
3 |
7 |
validate_fields() |
S |
71 |
2 |
6 |
validate_affiliate_registration() |
S |
63 |
2 |
10 |
become_an_affiliate() |
S |
65 |
2 |
8 |
init() |
S |
79 |
1 |
3 |