-
Home
-
Disable payment method / COD fees / Advance COD or Partial payment for Order for WooCommerce
-
1.1.6
-
Code
-
Classes
- Pi_dpmw_partial_payment
Total Complexity |
37 |
Dependencies |
4 |
Dependents |
3 |
Total lines |
306 |
Lines of code |
201 |
Logical lines of code |
129 |
Comment lines |
39 |
Methods |
15 |
Properties |
1 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
create_partial_payment_order() |
S |
44 |
5 |
44 |
create_pending_payment_order() |
S |
49 |
4 |
30 |
addfees() |
S |
57 |
4 |
16 |
register_order_type() |
S |
49 |
2 |
34 |
manage_deposit_orders() |
S |
69 |
3 |
6 |
offline_deposit_orders() |
S |
68 |
3 |
7 |
manage_order() |
S |
61 |
2 |
12 |
get_instance() |
S |
72 |
2 |
6 |
cart_hash() |
S |
72 |
2 |
6 |
isDepositOrder() |
S |
71 |
2 |
6 |
order_class() |
S |
72 |
2 |
6 |
is_deposit_payment_order() |
S |
71 |
2 |
5 |
is_remaining_payment_order() |
S |
71 |
2 |
5 |
__construct() |
S |
61 |
1 |
11 |
generate_deposit_order() |
S |
68 |
1 |
7 |