WC_Product_Gift_Card S

Total Complexity 40
Dependencies 0
Dependents 5
Total lines 321
Lines of code 141
Logical lines of code 81
Comment lines 108
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
get_manual_header_image()
A
53 8 23
get_amounts_to_be_shown()
S
50 4 27
get_price_html()
S
56 3 17
get_product_amounts()
S
64 4 9
remove_amount()
S
63 3 11
add_to_cart_text()
S
72 3 4
is_purchasable()
S
74 2 4
add_amount()
S
64 2 10
__construct()
S
73 1 5
set_header_image()
S
79 1 3
get_design_status()
S
79 1 3
get_product_instance()
S
79 1 3
get_type()
S
82 1 3
set_design_status()
S
79 1 3
save_amounts()
S
79 1 3
set_amounts()
S
81 1 3
get_amounts_count()
S
76 1 4
is_downloadable()
S
82 1 3
unset_header_image()
S
80 1 3