PW_Gift_Cards D

Total Complexity 202
Dependencies 10
Dependents 0
Total lines 850
Lines of code 637
Logical lines of code 392
Comment lines 52
Methods 37
Properties 4

Methods 37

Method Rating Maintainability Complexity Lines of code
pwgc_to_order_currency()
C
34 30 76
pwgc_to_default_currency()
C
34 29 75
pwgc_to_current_currency()
B
39 22 57
set_current_currency_to_default()
B
40 20 52
woocommerce_init()
A
36 13 75
wp_enqueue_scripts()
A
45 9 38
maybe_mark_order_completed()
A
51 9 26
price_sort()
S
58 7 16
woocommerce_order_item_display_meta_value()
S
57 5 17
default_wvs_variation_attribute_options_html()
S
62 5 11
pretty_price()
S
59 4 14
__construct()
S
52 3 24
woocommerce_attribute_label()
S
65 4 9
plugin_activate()
S
65 3 9
woocommerce_availability_scheduler_fix()
S
70 3 6
wcumcs_custom_item_price_final()
S
66 3 8
wc_aelia_cs_selected_currency()
S
68 3 7
woomc_default_currency_symbol()
S
67 3 7
alg_wc_currency_switcher_correction()
S
69 3 6
defer_scripts()
S
63 2 11
get_published_gift_card_products()
S
63 2 11
numeric_price()
S
68 2 8
antive_toolkit_variation_attribute_options()
S
68 2 8
plugin_deactivate()
S
70 2 7
wcml_is_variable_product()
S
69 2 7
woocommerce_version_error()
S
65 1 11
equal_prices()
S
74 1 5
woocommerce_order_item_line_item_html()
S
79 1 3
get_published_gift_card_product_ids()
S
81 1 3
get_gift_card_product()
S
76 1 4
woocommerce_before_order_item_line_item_html()
S
79 1 3
sanitize_amount()
S
66 1 8
etheme_ajax_add_to_cart_fix()
S
82 1 3
plugins_loaded()
S
78 1 3
only_numbers_and_decimal()
S
78 1 3
relative_url()
S
80 1 3
wc_min_version()
S
79 1 3