WC_Admin_Addons D

Total Complexity 177
Dependencies 5
Dependents 2
Total lines 1,345
Lines of code 958
Logical lines of code 426
Comment lines 287
Methods 34
Properties 0

Methods 34

Method Rating Maintainability Complexity Lines of code
render_product_card()
C
31 20 121
output()
B
42 17 47
map_product_card_data()
A
43 11 49
output_featured_sections()
A
50 11 33
output_wcs_banner_block()
A
38 7 84
output_promotion_block()
A
44 8 53
render_featured()
A
49 7 31
format_promotions()
S
48 7 30
output_wcpay_banner_block()
S
44 5 52
get_action_url()
S
57 7 18
get_featured()
S
51 6 27
output_column()
S
58 6 21
output_group()
S
49 5 32
output_banner()
S
47 4 40
get_section_data()
S
56 5 17
get_star_class()
S
60 5 13
output_banner_block()
S
52 3 31
get_sections()
S
59 4 15
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
get_extension_data()
S
57 3 16
output_small_light_block()
S
56 2 22
filter_admin_body_classes()
S
69 3 6
get_section()
S
68 2 7
install_woocommerce_payments_addon()
S
61 1 12
install_woocommerce_services_addon()
S
62 1 11
get_in_app_purchase_url_params()
S
65 1 9
build_parameter_string()
S
67 1 8
add_in_app_purchase_url_params()
S
72 1 6