YITH_YWGC_Frontend A

Total Complexity 64
Dependencies 8
Dependents 5
Total lines 700
Lines of code 435
Logical lines of code 133
Comment lines 160
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
enqueue_frontend_script()
A
40 9 58
show_gift_card_code_on_order_item()
A
44 8 47
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
yith_ywgc_display_gift_card_form()
S
60 4 14
show_gift_card_details()
S
55 3 21
template_design_count()
S
55 3 20
yith_ywgc_remove_image_zoom_support()
S
65 4 9
show_gift_card_add_to_cart_button()
S
64 2 11
show_gift_card_product_template()
S
64 2 11
__construct()
S
52 1 24
frontend_init()
S
59 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
show_field_for_gift_code()
S
70 1 8
show_my_gift_cards_table()
S
69 1 8