Woo_Variation_Swatches_Manage_Cache S

Total Complexity 31
Dependencies 0
Dependents 1
Total lines 251
Lines of code 170
Logical lines of code 99
Comment lines 13
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
get_cache_key()
S
56 4 18
clear_cache_on_product_modify()
S
54 3 22
clear_cache_on_delete_product_transients()
S
56 3 19
clear_cache_by_group()
S
68 4 7
hooks()
S
53 1 26
init()
S
74 2 5
instance()
S
72 2 6
clear_cache_on_product_settings_modify()
S
63 1 11
get_key_with_language_suffix()
S
80 1 3
is_polylang()
S
80 1 3
clear_cache_on_settings_modify()
S
69 1 7
clear_cache_on_attribute_added()
S
66 1 8
clear_cache_on_attribute_updated()
S
63 1 10
clear_cache_on_attribute_deleted()
S
66 1 8
includes()
S
91 1 2
get_last_changed()
S
80 1 3
delete_last_changed()
S
80 1 3
update_last_changed()
S
79 1 3
__construct()
S
71 1 6