YITH_WCAF_Affiliate_Factory S

Total Complexity 25
Dependencies 5
Dependents 29
Total lines 185
Lines of code 87
Logical lines of code 55
Comment lines 67
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
make_user_an_affiliate()
S
55 5 18
get_affiliate_by_order_id()
S
61 4 13
get_affiliate_by_user_id()
S
62 3 12
get_current_affiliate()
S
66 3 9
get_affiliate_by_token()
S
65 3 10
get_affiliate_by_id()
S
65 3 10
get_affiliates()
S
65 2 9
get_affiliate()
S
72 2 6