WJECF_Wrap_Coupon A

Total Complexity 67
Dependencies 2
Dependents 0
Total lines 232
Lines of code 149
Logical lines of code 76
Comment lines 40
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
save()
S
58 5 15
is_type()
S
68 5 6
get_meta_legacy()
S
61 4 12
set_exclude_sale_items()
S
67 4 7
get_code()
S
70 3 6
set_excluded_product_categories()
S
68 3 7
set_excluded_product_ids()
S
68 3 7
get_minimum_amount()
S
70 3 6
get_product_categories()
S
70 3 6
get_free_shipping()
S
70 3 6
get_product_ids()
S
70 3 6
get_email_restrictions()
S
70 3 6
set_discount_type()
S
67 3 8
get_discount_type()
S
70 3 6
set_limit_usage_to_x_items()
S
68 3 7
get_limit_usage_to_x_items()
S
70 3 6
get_individual_use()
S
70 3 6
get_amount()
S
70 3 6
get_description()
S
68 3 7
maybe_get_custom_fields()
S
74 2 5
set_meta_legacy()
S
73 1 5
exists()
S
80 1 3