KCO_Request_Cart C

Total Complexity 110
Dependencies 2
Dependents 2
Total lines 803
Lines of code 480
Logical lines of code 233
Comment lines 239
Methods 29
Properties 3

Methods 29

Method Rating Maintainability Complexity Lines of code
process_coupons()
C
30 21 121
process_cart()
A
42 12 49
get_shipping_reference()
S
55 7 18
get_shipping_name()
S
55 7 18
process_fees()
S
46 5 40
get_item_tax_rate()
S
56 5 19
process_shipping()
S
55 5 18
get_order_tax_amount()
S
60 5 13
get_shipping_tax_rate()
S
59 4 14
get_order_amount()
S
62 4 11
get_order_lines_total_amount()
S
63 4 10
get_item_discount_amount()
S
60 3 14
adjust_order_lines()
S
55 2 19
process_sales_tax()
S
57 2 17
__construct()
S
64 3 10
get_item_price()
S
67 2 8
get_item_reference()
S
67 2 8
get_item_image_url()
S
67 2 8
get_item_total_amount()
S
68 2 8
get_item_tax_amount()
S
63 2 10
get_shipping_amount()
S
67 2 8
get_shipping_tax_amount()
S
63 2 10
get_item_quantity()
S
79 1 3
process_data()
S
67 1 9
get_item_product_url()
S
81 1 3
get_item_discount_rate()
S
73 1 4
get_item_name()
S
74 1 4
get_order_lines()
S
80 1 3
format_number()
S
77 1 3