YITH_WooCommerce_Gift_Cards C

Total Complexity 112
Dependencies 16
Dependents 1
Total lines 1,100
Lines of code 577
Logical lines of code 229
Comment lines 341
Methods 37
Properties 5

Methods 37

Method Rating Maintainability Complexity Lines of code
check_gift_card()
B
37 23 66
preview_digital_gift_cards()
A
44 11 40
update_database()
A
47 7 35
get_header_image()
S
52 7 25
init_metabox()
S
38 1 93
get_product_instance()
S
57 6 16
create_gift_cards_category()
S
45 3 46
on_plugin_init()
S
62 5 11
get_gift_card_header_url()
S
58 4 16
generate_gift_card_code()
S
56 4 16
init_hooks()
S
54 3 18
get_header_image_for_product()
S
62 3 11
register_custom_post_statuses()
S
49 1 38
init_post_type()
S
46 1 38
plugin_row_meta()
S
69 3 6
add_type_option()
S
64 3 9
yith_ywgc_date_format_callback()
S
56 1 18
get_instance()
S
72 2 6
action_links()
S
72 2 5
change_status_on_refund()
S
79 2 3
change_status_on_cancelled()
S
79 2 3
get_default_header_image()
S
74 2 4
load_privacy()
S
73 2 5
includes()
S
71 1 6
start()
S
76 1 4
init_plugin()
S
91 1 2
current_user_can_create()
S
79 1 3
get_gift_card_by_code()
S
75 1 4
append_css_files()
S
82 1 3
hash_gift_card()
S
78 1 3
dismiss_on_cancelled()
S
80 1 3
disable_on_refund()
S
80 1 3
dismiss_on_refund()
S
80 1 3
ywgc_taxonomy_remove_view_row_actions()
S
76 1 4
mandatory_recipient()
S
78 1 3
__construct()
S
75 1 5
disable_on_cancelled()
S
80 1 3