VI_WOO_BOPO_BUNDLE_Frontend D

Total Complexity 538
Dependencies 7
Dependents 0
Total lines 2,312
Lines of code 1,929
Logical lines of code 1,153
Comment lines 97
Methods 52
Properties 4

Methods 52

Method Rating Maintainability Complexity Lines of code
bopobb_search_product()
D
20
55 203
bopobb_product_list()
D
28
38 133
bopobb_product_variations()
D
27
31 149
bopobb_add_to_cart_validation()
D
32 33 98
bopobb_show_bundled()
D
28
31 127
woocommerce_product_get_gallery_image_ids()
D
32 32 100
bopobb_get_cart_contents()
B
43 21 42
bopobb_show_bundle()
B
35 18 82
bopobb_add_to_cart_items()
B
39 19 59
bopobb_single_product_image_thumbnail_html()
B
39 19 57
bopobb_get_item_product()
B
36 17 84
bopobb_get_price_html()
B
41 18 52
bopobb_add_to_cart_button()
A
45 14 39
bopobb_is_bundled()
A
43 13 48
bopobb_shortcode_bundle()
A
41 12 59
bopobb_get_variations_html()
A
39 11 67
bopobb_ajax_add_order_item_meta()
A
45 12 38
bopobb_wp_enqueue_scripts()
A
36 9 78
bopobb_cart_item_subtotal()
A
53 10 21
bopobb_cart_shipping_packages()
A
56 9 17
bopobb_cart_item_name()
A
58 9 13
bopobb_coupon_is_valid_for_product()
S
61 8 12
bopobb_cart_contents_count()
S
57 7 15
bopobb_product_gallery()
S
55 5 19
bopobb_add_custom_price()
S
66 6 8
bopobb_is_purchasable()
S
68 6 6
bopobb_add_cart_item_data()
S
59 5 14
bopobb_display_post_states()
S
60 5 12
__construct()
S
40 1 65
bopobb_calc_price()
S
56 4 18
bopobb_cart_loaded_from_session()
S
61 4 12
bopobb_checkout_create_order_line_item()
S
63 4 11
bopobb_get_cart_item_from_session()
S
63 4 11
bopobb_add_order_item_meta()
S
63 4 11
bopobb_cart_item_removed()
S
62 4 11
bopobb_cart_item_remove_link()
S
64 4 9
bopobb_order_again_cart_item_data()
S
64 3 11
bopobb_footer()
S
55 2 25
bopobb_add_to_cart_form()
S
69 3 7
bopobb_shortcode_cart_form()
S
67 3 8
bopobb_check_in_cart()
S
67 3 8
bopobb_cart_item_restored()
S
66 3 8
bopobb_item_class()
S
67 3 8
bopobb_before_order_item_meta()
S
71 2 5
instance()
S
72 2 6
bopobb_order_formatted_line_subtotal()
S
71 2 6
bopobb_cart_item_price()
S
70 2 6
bopobb_cart_item_quantity()
S
71 2 6
bopobb_loop_add_to_cart_link()
S
71 2 6
bopobb_add_to_cart()
S
69 2 6
bopobb_hidden_order_item_meta()
S
66 1 10
bopobb_single_product_summary_bundled()
S
83 1 3