Woo_Variation_Swatches S

Total Complexity 49
Dependencies 5
Dependents 1
Total lines 238
Lines of code 170
Logical lines of code 82
Comment lines 6
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
get_option()
S
59 5 13
locate_template()
S
57 4 16
get_template()
S
60 2 12
define()
S
75 2 5
instance()
S
72 2 6
from_rgb_to_hex()
S
67 2 7
__construct()
S
71 1 6
assets_version()
S
80 1 3
images_url()
S
78 1 3
org_assets_url()
S
79 1 3
assets_url()
S
78 1 3
assets_path()
S
79 1 3
template_path()
S
78 1 3
include_path()
S
78 1 3
template_override_dir()
S
79 1 3
plugin_path()
S
80 1 3
template_url()
S
78 1 3
sanitize_name()
S
78 1 3
is_pro()
S
82 1 3
plugin_url()
S
79 1 3
plugin_basename()
S
80 1 3
plugin_dirname()
S
80 1 3
show_archive_page_swatches()
S
82 1 3
includes()
S
67 1 8
hooks()
S
72 1 5
init()
S
73 1 6
get_frontend()
S
81 1 3
get_backend()
S
81 1 3
get_blocks()
S
81 1 3
show_archive_page_swatches_by_id()
S
82 1 3
version()
S
80 1 3
show_archive_variation_shortcode()
S
82 1 3
add_image_sizes()
S
75 1 4
get_options()
S
76 1 4
get_cache()
S
81 1 3
language()
S
77 1 3
basename()
S
80 1 3
get_pro_product_id()
S
82 1 3