YITH_YWGC_Backend D

Total Complexity 181
Dependencies 9
Dependents 1
Total lines 1,443
Lines of code 728
Logical lines of code 404
Comment lines 478
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
create_gift_cards_for_order()
B
33 21 91
show_as_string_order_item_meta_key()
B
45 18 38
enqueue_backend_files()
A
36 10 93
set_gift_card_category_to_media()
A
49 14 28
order_status_changed()
A
50 10 27
update_gift_card_amount_on_order_status_change()
A
52 9 24
post_updated_messages()
A
44 7 41
change_gift_cards_status_on_order()
A
54 8 22
update_totals_on_save_order_items()
A
47 7 34
redirect_gift_cards_link()
S
54 7 19
start_race_condition()
S
48 5 40
filter_gift_card_page_query()
S
53 6 23
save_gift_card()
S
59 6 14
set_gift_card_category_to_product()
S
61 6 11
save_gift_card_data()
S
58 5 15
show_gift_cards_total_before_order_totals()
S
56 3 18
ywgc_custom_condition_to_create_gift_card_call_back()
S
67 4 7
show_gift_card_code_on_order_item()
S
58 3 15
add_cpt_table_class()
S
62 3 11
end_race_condition()
S
59 2 17
generate_gift_card_for_order()
S
67 3 8
__construct()
S
49 1 29
show_gift_card_amount_list()
S
66 2 8
update_taxonomy_count()
S
64 2 8
show_inventory_tab()
S
70 2 6
show_gift_card_product_settings()
S
72 2 6
add_gift_card_product_type()
S
70 2 6
show_formatted_date()
S
67 2 7
get_category_select()
S
64 2 9
get_instance()
S
72 2 6
add_gift_cards_filters()
S
60 1 12
bulk_post_updated_messages()
S
62 1 10
show_postbox_only_for_gift_card_products()
S
77 1 4
show_tax_class_for_gift_cards()
S
77 1 5
show_sold_individually_for_gift_cards()
S
78 1 8
hide_item_meta()
S
77 1 4
hide_postbox_only_for_gift_card_products()
S
77 1 4