YITH_WCAF_Affiliates A

Total Complexity 62
Dependencies 6
Dependents 8
Total lines 509
Lines of code 194
Logical lines of code 104
Comment lines 238
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
get_affiliate_by_token()
S
60 7 13
get_user_ban_message()
S
61 5 13
get_user_reject_message()
S
61 5 13
get_readable_status()
S
60 4 12
is_user_enabled_affiliate()
S
64 4 10
is_user_banned_affiliate()
S
64 4 10
is_user_valid_affiliate()
S
64 4 10
is_user_rejected_affiliate()
S
64 4 10
is_user_pending_affiliate()
S
64 4 10
get_affiliate_by_user_id()
S
63 3 11
get_available_statuses()
S
53 2 25
is_user_affiliate()
S
64 3 10
is_valid_token()
S
64 3 10
get_user_by_token()
S
65 3 10
per_status_count()
S
65 2 9
count_affiliates()
S
66 2 9
get_affiliate_by_id()
S
78 1 3
get_affiliates()
S
80 1 3
get_role()
S
80 1 3