Orderable_Helpers A

Total Complexity 63
Dependencies 2
Dependents 17
Total lines 547
Lines of code 288
Logical lines of code 130
Comment lines 173
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
get_product_image_2x()
A
43 15 49
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_term_id_by_slug()
S
60 2 15
get_pro_button()
S
68 3 6
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
66 1 10