-
Home
-
WooCommerce Zettle Integration
-
7.1.1
-
Code
-
Classes
- WC_Zettle_Helper
Total Complexity |
201 |
Dependencies |
5 |
Dependents |
9 |
Total lines |
862 |
Lines of code |
579 |
Logical lines of code |
376 |
Comment lines |
57 |
Methods |
39 |
Properties |
3 |
Methods 39
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
izettle_wp_button_input() |
C |
38 |
25 |
53 |
get_post_id_by_metadata() |
B |
40 |
17 |
59 |
is_syncable() |
A |
42 |
15 |
45 |
get_wc_product_by_uuid() |
A |
47 |
12 |
34 |
get_wc_product_by_sku() |
A |
51 |
11 |
25 |
array_diff() |
A |
49 |
10 |
31 |
get_tax_rate() |
A |
48 |
8 |
33 |
get_tax_class() |
A |
54 |
8 |
20 |
maybe_remove_vat() |
S |
57 |
8 |
15 |
match_product_variations() |
S |
54 |
7 |
21 |
weight_from_grams() |
S |
55 |
6 |
21 |
get_variations() |
S |
60 |
5 |
14 |
get_category_names() |
S |
60 |
5 |
12 |
display_name() |
S |
60 |
4 |
14 |
get_any_text() |
S |
61 |
4 |
13 |
product_language() |
S |
66 |
4 |
7 |
update_product_data() |
S |
76 |
4 |
3 |
compare_id() |
S |
66 |
4 |
8 |
compare_legacy_sku() |
S |
64 |
4 |
9 |
is_image_in_meta() |
S |
67 |
4 |
7 |
display_sync_button() |
S |
55 |
2 |
18 |
wc_version_check() |
S |
65 |
3 |
9 |
id_or_not() |
S |
70 |
3 |
6 |
true_or_false() |
S |
70 |
3 |
6 |
compare_sku() |
S |
70 |
3 |
6 |
create_hash() |
S |
62 |
2 |
11 |
zettle_changes_stock() |
S |
78 |
2 |
3 |
get_all_variations() |
S |
65 |
2 |
9 |
compare_variant_uuid() |
S |
71 |
2 |
6 |
get_any_array() |
S |
76 |
2 |
3 |
get_term_by_slug() |
S |
74 |
2 |
4 |
ksort_recursive() |
S |
71 |
2 |
6 |
get_id() |
S |
66 |
2 |
8 |
get_processing_queue() |
S |
63 |
1 |
11 |
update_izettle_product_cashe() |
S |
79 |
1 |
3 |
object_diff() |
S |
71 |
1 |
5 |
wc_version() |
S |
77 |
1 |
4 |
debug_string_backtrace() |
S |
64 |
1 |
9 |
get_product_categories() |
S |
67 |
1 |
8 |