PMS_IN_Discount_Codes_Meta_Box S

Total Complexity 47
Dependencies 2
Dependents 5
Total lines 272
Lines of code 136
Logical lines of code 86
Comment lines 63
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
save_data()
D
34 32 83
get_discount_ID_by_code()
S
60 3 13
is_unique_code()
S
65 3 9
add_admin_notices()
S
64 3 10
is_valid_date()
S
74 2 4
get_discount_meta_by_code()
S
67 2 8
init()
S
71 1 5
output()
S
75 1 4