WC_Admin_Addons D

Total Complexity 203
Dependencies 6
Dependents 4
Total lines 1,574
Lines of code 1,086
Logical lines of code 480
Comment lines 354
Methods 40
Properties 0

Methods 40

Method Rating Maintainability Complexity Lines of code
render_product_card()
C
31 21 129
output()
B
42 18 47
map_product_card_data()
A
43 11 50
output_featured_sections()
A
50 11 33
fetch()
A
50 11 27
output_wcs_banner_block()
A
38 7 84
output_promotion_block()
A
44 8 53
fetch_featured()
A
44 8 45
format_promotions()
S
48 7 30
get_extension_data()
S
46 6 38
output_wcpay_banner_block()
S
44 5 52
get_action_url()
S
57 7 18
get_featured()
S
50 6 28
output_column()
S
58 6 21
output_group()
S
49 5 32
output_banner()
S
47 4 40
get_section_data()
S
53 5 22
get_star_class()
S
60 5 13
get_sections()
S
54 4 20
output_banner_block()
S
52 3 31
output_column_block()
S
52 3 29
output_storefront_button()
S
50 3 29
output_featured()
S
61 4 13
output_button()
S
60 4 13
output_promotion_action()
S
60 4 13
output_small_dark_block()
S
54 3 26
output_search_promotion_block()
S
55 3 24
output_empty()
S
56 2 23
output_small_light_block()
S
56 2 22
filter_admin_body_classes()
S
69 3 6
render_featured()
S
69 2 7
get_section()
S
68 2 7
get_locale_data_from_transient()
S
71 2 5
set_locale_data_in_transient()
S
69 2 6
install_woocommerce_payments_addon()
S
61 1 12
install_woocommerce_services_addon()
S
62 1 11
add_in_app_purchase_url_params()
S
72 1 6
get_in_app_purchase_url_params()
S
65 1 9
build_parameter_string()
S
65 1 9
is_ssl_error()
S
78 1 3