KP_Order_Lines D

Total Complexity 144
Dependencies 1
Dependents 1
Total lines 1,016
Lines of code 628
Logical lines of code 293
Comment lines 353
Methods 41
Properties 4

Methods 41

Method Rating Maintainability Complexity Lines of code
process_coupons()
C
33 22 98
get_order_coupons()
A
39 12 61
get_order_items()
S
49 7 30
get_order_fees()
S
46 6 41
process_fees()
S
46 6 40
get_shipping_reference()
S
55 7 18
get_shipping_name()
S
55 7 18
process_cart()
S
50 6 29
get_order_line_tax_rate()
S
56 6 17
get_item_tax_rate()
S
56 5 19
get_order_shipping()
S
56 4 16
process_shipping()
S
58 3 15
get_item_discount_amount()
S
60 3 13
order_lines()
S
53 2 26
get_order_sales_tax()
S
56 2 18
process_sales_tax()
S
57 2 17
get_order_shipping_reference()
S
62 3 10
get_order_item_discount_amount()
S
65 3 9
get_shipping_tax_rate()
S
66 3 8
get_order_shipping_unit_price()
S
70 2 6
get_order_item_total_tax()
S
71 2 6
get_order_item_total_amount()
S
70 2 6
get_order_item_unit_price()
S
70 2 6
get_shipping_tax_amount()
S
67 2 8
get_shipping_amount()
S
66 2 8
get_order_shipping_tax_amount()
S
71 2 6
__construct()
S
71 2 6
get_item_total_amount()
S
66 2 8
get_item_image_url()
S
67 2 8
get_item_reference()
S
67 2 8
get_item_tax_amount()
S
67 2 8
get_item_price()
S
65 2 9
get_item_discount_rate()
S
73 1 4
get_item_product_url()
S
81 1 3
get_item_quantity()
S
80 1 3
get_item_name()
S
72 1 5
get_order_tax_amount_via_order()
S
75 1 4
get_order_amount_via_order()
S
75 1 4
get_order_tax_amount()
S
78 1 3
get_order_amount()
S
79 1 3
get_order_lines()
S
79 1 3