WCCS_Cart_Totals S

Total Complexity 47
Dependencies 4
Dependents 1
Total lines 373
Lines of code 156
Logical lines of code 82
Comment lines 162
Methods 18
Properties 7

Methods 18

Method Rating Maintainability Complexity Lines of code
calculate_item_subtotals()
A
47 10 34
remove_item_base_taxes()
S
60 4 13
adjust_non_base_location_price()
S
61 4 11
get_items_from_cart()
S
57 2 16
__construct()
S
67 3 7
calculate()
S
69 3 7
round_line_tax()
S
70 3 6
get_item_tax_rates()
S
65 3 8
get_default_item_props()
S
59 1 16
get_line_item_subtotal()
S
75 2 4
get_total()
S
74 2 4
get_totals()
S
79 2 3
round_item_subtotal()
S
71 2 6
get_line_item_subtotal_tax()
S
75 2 4
set_total()
S
80 1 3
get_values_for_total()
S
79 1 3
round_at_subtotal()
S
79 1 3
get_rounded_items_total()
S
69 1 8