YITH_YWGC_Frontend A

Total Complexity 70
Dependencies 5
Dependents 1
Total lines 743
Lines of code 434
Logical lines of code 149
Comment lines 197
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
show_gift_card_code_on_order_item()
A
42 10 52
enqueue_frontend_script()
A
40 9 58
get_price_html_for_gift_cards()
A
48 9 28
get_custom_css()
A
37 3 97
enqueue_frontend_style()
A
54 8 22
show_design_section()
S
52 4 26
yith_ywgc_display_gift_card_form_preview_below_image()
S
59 4 15
show_gift_card_add_to_cart_button()
S
54 3 24
show_gift_card_details()
S
55 3 21
yith_ywgc_remove_image_zoom_support()
S
65 4 9
show_gift_card_product_template()
S
64 2 11
__construct()
S
54 1 19
get_instance()
S
72 2 6
show_amount_selection()
S
64 1 11
yith_ywgc_gift_cards_content()
S
80 1 3
yith_ywgc_add_gift_cards_link_my_account()
S
65 1 8
frontend_init()
S
69 1 6
yith_ywgc_gift_cards_query_vars()
S
77 1 4
yith_ywgc_add_endpoint()
S
79 1 3
show_field_for_gift_code()
S
70 1 8
display_empty_gift_cards_table_state_view_customer()
S
79 1 3