YITH_WooCommerce_Gift_Cards C

Total Complexity 109
Dependencies 12
Dependents 2
Total lines 1,053
Lines of code 567
Logical lines of code 217
Comment lines 331
Methods 36
Properties 2

Methods 36

Method Rating Maintainability Complexity Lines of code
check_gift_card()
C
36 25 71
preview_digital_gift_cards()
A
43 12 42
get_header_image()
A
52 8 26
init_metabox()
S
37 1 94
get_product_instance()
S
57 6 16
create_gift_cards_category()
S
44 3 47
get_header_image_for_product()
S
59 5 14
generate_gift_card_code()
S
56 4 16
start()
S
60 4 14
register_custom_post_statuses()
S
46 1 50
on_plugin_init()
S
68 4 7
init_post_type()
S
46 1 38
plugin_fw_loader()
S
66 3 9
add_type_option()
S
64 3 9
yith_ywgc_date_format_callback()
S
56 1 18
get_instance()
S
72 2 6
declare_wc_features_support()
S
72 2 5
includes()
S
73 2 5
init_hooks()
S
57 1 15
get_default_header_image()
S
74 2 4
change_status_on_cancelled()
S
79 2 3
change_status_on_refund()
S
79 2 3
load_privacy()
S
73 2 5
ywgc_taxonomy_remove_view_row_actions()
S
76 1 4
current_user_can_create()
S
79 1 3
mandatory_recipient()
S
78 1 3
init_plugin_emails_array()
S
66 1 10
append_css_files()
S
82 1 3
dismiss_on_refund()
S
80 1 3
disable_on_refund()
S
80 1 3
dismiss_on_cancelled()
S
80 1 3
disable_on_cancelled()
S
80 1 3
modules()
S
81 1 3
__construct()
S
75 1 5
get_gift_card_by_code()
S
75 1 4
get_emails()
S
82 1 3