YITH_WooCommerce_Gift_Cards C

Total Complexity 111
Dependencies 9
Dependents 1
Total lines 1,113
Lines of code 576
Logical lines of code 225
Comment lines 365
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
check_gift_card()
C
36 25 71
preview_digital_gift_cards()
A
43 12 43
get_header_image()
A
53 8 21
update_database()
A
47 7 36
init_metabox()
S
38 1 93
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
register_custom_post_statuses()
S
46 1 50
on_plugin_init()
S
65 4 9
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
action_links()
S
72 2 5
includes()
S
73 2 5
get_default_header_image()
S
74 2 4
change_status_on_cancelled()
S
79 2 3
load_privacy()
S
73 2 5
change_status_on_refund()
S
79 2 3
get_instance()
S
72 2 6
init_hooks()
S
58 1 14
init_plugin()
S
91 1 2
ywgc_taxonomy_remove_view_row_actions()
S
76 1 4
mandatory_recipient()
S
78 1 3
current_user_can_create()
S
79 1 3
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
start()
S
68 1 8
__construct()
S
75 1 5
get_gift_card_by_code()
S
75 1 4