YITH_WCAF_Form_Handler A

Total Complexity 66
Dependencies 7
Dependents 5
Total lines 469
Lines of code 245
Logical lines of code 135
Comment lines 140
Methods 14
Properties 4

Methods 14

Method Rating Maintainability Complexity Lines of code
handle()
A
45 15 34
generate_referral_url()
A
49 9 27
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
become_an_affiliate()
S
54 4 19
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
init()
S
79 1 3