-
Home
-
Variation Swatches for WooCommerce
-
2.1.2
-
Code
-
Classes
- Woo_Variation_Swatches
Total Complexity |
47 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
247 |
Lines of code |
173 |
Logical lines of code |
83 |
Comment lines |
14 |
Methods |
38 |
Properties |
1 |
Methods 38
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
locate_template() |
S |
56 |
4 |
18 |
get_option() |
S |
59 |
3 |
14 |
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 |
74 |
1 |
4 |
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 |
69 |
1 |
7 |
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 |