YITH_YWGC_Frontend A

Total Complexity 64
Dependencies 3
Dependents 2
Total lines 628
Lines of code 381
Logical lines of code 133
Comment lines 116
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
enqueue_frontend_script()
A
42 9 48
show_gift_card_code_on_order_item()
A
44 8 46
enqueue_frontend_style()
S
58 7 16
get_custom_css()
S
39 2 83
yith_ywgc_display_gift_card_form_preview_below_image()
S
61 5 13
show_design_section()
S
53 4 23
yith_ywgc_display_gift_card_form()
S
61 4 12
show_gift_card_details()
S
57 3 18
yith_ywgc_remove_image_zoom_support()
S
65 4 9
template_design_count()
S
58 3 14
__construct()
S
53 1 21
show_gift_card_product_template()
S
66 2 9
show_gift_card_add_to_cart_button()
S
66 2 9
get_instance()
S
72 2 6
frontend_init()
S
63 1 12
yith_ywgc_add_gift_cards_link_my_account()
S
65 1 8
yith_ywgc_gift_cards_content()
S
72 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
72 1 6
show_my_gift_cards_table()
S
72 1 6
show_amount_selection()
S
66 1 9