Orderable_Helpers S

Total Complexity 48
Dependencies 1
Dependents 17
Total lines 474
Lines of code 235
Logical lines of code 105
Comment lines 166
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
get_template_path()
A
53 8 22
get_product_quantity_in_the_cart()
S
57 6 16
add_to_media()
S
52 5 24
is_product_in_the_cart()
S
60 5 14
load_classes()
S
60 4 13
prepare_post_type_labels()
S
48 2 31
get_svg_allowed_html_tags()
S
51 1 32
kses_allowed_html()
S
57 2 17
get_pro_button()
S
68 3 6
get_term_id_by_slug()
S
62 2 13
get_pro_url()
S
73 2 4
kses()
S
65 2 9
has_notices()
S
78 1 3
is_variable_product()
S
67 1 8
is_variation_product()
S
67 1 8
safe_css()
S
76 1 4
orderable_pro_modal()
S
79 1 3
delete_orderable_transients()
S
69 1 8