-
Home
-
Kustom Checkout for WooCommerce
-
2.16.2
-
Code
-
Classes
- KCO_Request_Cart
| Total Complexity |
94 |
| Dependencies |
2 |
| Dependents |
2 |
| Total lines |
712 |
| Lines of code |
378 |
| Logical lines of code |
185 |
| Comment lines |
250 |
| Methods |
29 |
| Properties |
8 |
Methods 29
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| process_cart() |
A |
42 |
12 |
49 |
| get_shipping_name() |
S |
55 |
7 |
18 |
| get_shipping_reference() |
S |
55 |
7 |
18 |
| process_fees() |
S |
46 |
5 |
40 |
| process_coupons() |
S |
53 |
5 |
21 |
| 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 |
61 |
3 |
12 |
| adjust_order_lines() |
S |
55 |
2 |
19 |
| process_sales_tax() |
S |
57 |
2 |
17 |
| __construct() |
S |
64 |
3 |
10 |
| get_item_tax_amount() |
S |
63 |
2 |
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_shipping_amount() |
S |
67 |
2 |
8 |
| get_shipping_tax_amount() |
S |
63 |
2 |
10 |
| process_data() |
S |
67 |
1 |
9 |
| get_order_lines() |
S |
80 |
1 |
3 |
| get_item_name() |
S |
74 |
1 |
4 |
| get_item_quantity() |
S |
79 |
1 |
3 |
| get_item_product_url() |
S |
81 |
1 |
3 |
| get_item_discount_rate() |
S |
73 |
1 |
4 |
| format_number() |
S |
77 |
1 |
3 |