YITH_YWGC_Frontend A

Total Complexity 60
Dependencies 5
Dependents 2
Total lines 666
Lines of code 396
Logical lines of code 125
Comment lines 169
Methods 20
Properties 1

Methods 20

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
enqueue_frontend_style()
S
54 7 22
get_custom_css()
S
39 2 83
yith_ywgc_display_gift_card_form_preview_below_image()
S
59 5 15
show_design_section()
S
52 4 26
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
55 1 18
get_instance()
S
72 2 6
show_amount_selection()
S
64 1 11
yith_ywgc_gift_cards_content()
S
69 1 8
yith_ywgc_add_gift_cards_link_my_account()
S
65 1 8
yith_ywgc_gift_cards_query_vars()
S
77 1 4
yith_ywgc_add_endpoint()
S
79 1 3
frontend_init()
S
69 1 6
show_field_for_gift_code()
S
70 1 8
display_empty_gift_cards_table_state_view_customer()
S
79 1 3