YITH_YWGC_Gift_Card A

Total Complexity 74
Dependencies 4
Dependents 8
Total lines 888
Lines of code 338
Logical lines of code 218
Comment lines 350
Methods 34
Properties 23

Methods 34

Method Rating Maintainability Complexity Lines of code
__construct()
A
40 10 56
get_gift_card_error()
A
50 9 30
save()
S
42 5 49
get_status_label()
S
59 4 15
get_gift_card_message()
S
59 4 15
set_enabled_status()
S
64 4 10
register_user()
S
66 3 9
get_registered_orders()
S
65 3 10
clone_gift_card()
S
54 1 22
get_postdated_gift_cards()
S
55 1 21
set_status()
S
65 2 10
is_expired()
S
72 2 6
register_order()
S
65 2 9
get_formatted_date()
S
69 2 6
update_amount()
S
71 2 6
update_balance()
S
71 2 6
is_virtual()
S
82 1 3
exists()
S
81 1 3
is_registered_user()
S
74 1 4
has_sufficient_credit()
S
80 1 3
is_dismissed()
S
80 1 3
set_duplicated_status()
S
81 1 3
set_dismissed_status()
S
81 1 3
get_code()
S
82 1 3
is_owner()
S
82 1 3
is_enabled()
S
80 1 3
get_balance()
S
79 1 3
is_disabled()
S
80 1 3
can_be_used()
S
75 1 4
is_pre_printed()
S
80 1 3
set_as_pre_printed()
S
81 1 3
set_as_code_not_valid()
S
76 1 4
set_as_sent()
S
75 1 4
has_been_sent()
S
82 1 3