-
Home
-
Variation Swatches for WooCommerce
-
2.0.8
-
Code
-
Classes
- Woo_Variation_Swatches
Total Complexity |
46 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
218 |
Lines of code |
156 |
Logical lines of code |
73 |
Comment lines |
5 |
Methods |
36 |
Properties |
1 |
Methods 36
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
locate_template() |
S |
57 |
4 |
16 |
get_option() |
S |
66 |
4 |
8 |
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 |
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 |
assets_version() |
S |
80 |
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 |
plugin_url() |
S |
79 |
1 |
3 |
plugin_basename() |
S |
80 |
1 |
3 |
plugin_dirname() |
S |
80 |
1 |
3 |
version() |
S |
80 |
1 |
3 |
basename() |
S |
80 |
1 |
3 |
language() |
S |
77 |
1 |
3 |
get_cache() |
S |
82 |
1 |
3 |
get_options() |
S |
76 |
1 |
4 |
add_image_sizes() |
S |
75 |
1 |
4 |
show_archive_variation_shortcode() |
S |
82 |
1 |
3 |
show_archive_page_swatches_by_id() |
S |
82 |
1 |
3 |
show_archive_page_swatches() |
S |
82 |
1 |
3 |
get_backend() |
S |
81 |
1 |
3 |
get_frontend() |
S |
81 |
1 |
3 |
init() |
S |
75 |
1 |
5 |
hooks() |
S |
72 |
1 |
5 |
includes() |
S |
70 |
1 |
6 |
is_pro() |
S |
82 |
1 |
3 |