WC_Trusted_Shops D

Total Complexity 137
Dependencies 0
Dependents 1
Total lines 646
Lines of code 385
Logical lines of code 195
Comment lines 111
Methods 52
Properties 11

Methods 52

Method Rating Maintainability Complexity Lines of code
get_script()
S
50 7 28
__get()
S
53 7 23
get_product_image()
S
53 7 22
get_product_skus()
S
59 7 13
get_product_shopping_data()
S
59 5 14
get_average_rating()
S
62 5 11
load()
S
55 4 19
get_rich_snippets_locations()
S
61 4 13
is_review_reminder_enabled()
S
76 4 3
get_trustbadge_code()
S
62 4 10
__construct()
S
57 2 16
product_reviews_visible()
S
78 3 3
get_product_brand()
S
68 3 7
get_selector_attribute()
S
65 3 9
get_selector_raw()
S
64 3 10
get_selector()
S
63 3 9
is_product_widget_enabled()
S
77 3 3
is_product_sticker_enabled()
S
77 3 3
is_product_reviews_enabled()
S
77 3 3
get_locale()
S
65 3 8
is_review_reminder_checkbox_enabled()
S
77 3 3
is_rich_snippets_enabled()
S
77 3 3
is_trustbadge_enabled()
S
77 3 3
load_frontend_assets()
S
68 3 6
is_review_widget_enabled()
S
77 3 3
get_rich_snippets_code()
S
60 2 13
get_review_sticker_code()
S
61 2 12
get_product_widget_code()
S
63 2 11
get_product_sticker_code()
S
63 2 11
is_multi_language_setup()
S
75 2 4
stop_wpml_options_string_deletions()
S
68 2 7
get_payment_gateway()
S
67 2 8
get_review_widget_attachment()
S
79 2 3
__isset()
S
77 2 3
is_review_sticker_enabled()
S
79 2 3
supports()
S
78 2 3
is_enabled()
S
79 2 3
get_language()
S
75 1 4
get_locale_mapping()
S
67 1 8
get_supported_languages()
S
80 1 3
register_wpml_options()
S
75 1 4
get_certificate_link()
S
80 1 3
get_multi_language_compatibility()
S
79 1 3
includes()
S
80 1 3
get_new_review_link()
S
77 1 3
get_dependency_name()
S
74 1 4
get_template()
S
66 1 7
get_dependency()
S
75 1 4
get_rating_link()
S
80 1 3
get_product_mpn()
S
79 1 3
refresh()
S
75 1 4
get_product_gtin()
S
79 1 3