Code Analysis: Google Customer Reviews for WooCommerce 2.6.12

Function Rating Maintainability Complexity Lines of code
ecr_gcr_page()
C
26
23 173
ecr_gcr_scripts_footer()
A
41 13 54
gcr_badge()
A
49 7 40
get_ecr_gtin_value()
S
60 5 13
ecr_gcr_save_variation_fields()
S
59 5 13
ecr_gcr_display_gtin_meta()
S
60 5 12
gtin_variation_postmeta_fallback()
S
59 4 14
ecr_woocheck()
S
60 4 14
ecr_gcr_product_gtin_save()
S
61 4 12
gcr_products_gtins()
S
57 3 16
ecr_gcr_woo_variable_fields()
S
57 2 16
ecr_gcr_product_gtin_field()
S
58 2 15
generate_product_meta_keys()
S
58 1 17
get_ecr_gtin_field()
S
73 2 5
update_ecr_gcr()
S
62 1 12
ecr_gcr_missing_wc_notice()
S
72 1 7
get_product_meta_keys()
S
77 1 4
ecr_gcr_missing_key_notice()
S
72 1 7
ecr_gcr_menu()
S
68 1 8
ecr_gcr_scripts()
S
72 1 5