WC_Zettle_Helper D

Total Complexity 213
Dependencies 6
Dependents 9
Total lines 916
Lines of code 613
Logical lines of code 398
Comment lines 57
Methods 42
Properties 3

Methods 42

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_rates()
S
56 6 18
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
is_image_in_meta()
S
67 4 7
compare_legacy_sku()
S
64 4 9
compare_id()
S
66 4 8
display_sync_button()
S
55 2 18
zettle_tax_rates()
S
65 3 8
true_or_false()
S
70 3 6
zettle_tax_id()
S
65 3 8
wc_version_check()
S
65 3 9
compare_sku()
S
70 3 6
id_or_not()
S
70 3 6
create_hash()
S
62 2 11
compare_variant_uuid()
S
71 2 6
get_id()
S
66 2 8
zettle_changes_stock()
S
78 2 3
get_term_by_slug()
S
74 2 4
ksort_recursive()
S
71 2 6
get_any_array()
S
76 2 3
get_all_variations()
S
65 2 9
get_processing_queue()
S
63 1 11
wc_version()
S
77 1 4
get_product_categories()
S
67 1 8
debug_string_backtrace()
S
64 1 9
object_diff()
S
71 1 5
update_izettle_product_cashe()
S
79 1 3