-
Home
-
OpenPos – A Point Of Sales For Woocommerce
-
2.1 (latest)
-
Code
-
Classes
- Openpos_Front
Total Complexity |
696 |
Dependencies |
17 |
Dependents |
0 |
Total lines |
3,874 |
Lines of code |
3,207 |
Logical lines of code |
1,912 |
Comment lines |
165 |
Methods |
52 |
Properties |
3 |
Methods 52
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_order() |
D |
0 |
202 |
770 |
add_customer() |
D |
24 |
48 |
148 |
update_order() |
D |
22 |
42 |
205 |
getApi() |
D |
28 |
35 |
131 |
_formatSetting() |
C |
35 |
25 |
87 |
update_customer() |
C |
37 |
24 |
68 |
getProducts() |
B |
35 |
19 |
85 |
getSetting() |
B |
35 |
18 |
91 |
add_transaction() |
B |
35 |
18 |
81 |
login() |
B |
33 |
17 |
96 |
refund_order() |
B |
33 |
16 |
100 |
getStockOverView() |
B |
36 |
15 |
94 |
search_customer() |
B |
37 |
15 |
79 |
search_customer_by() |
A |
38 |
14 |
72 |
login_cashdrawer() |
A |
38 |
13 |
67 |
_get_customer_data() |
A |
44 |
14 |
41 |
load_draft_order() |
A |
44 |
12 |
45 |
latest_order() |
A |
38 |
10 |
74 |
get_draft_orders() |
A |
40 |
9 |
63 |
payment_order() |
A |
40 |
9 |
62 |
check_coupon() |
A |
39 |
8 |
62 |
search_order() |
A |
40 |
7 |
67 |
close_order() |
A |
44 |
8 |
46 |
draft_order() |
A |
45 |
8 |
42 |
getTaxDetails() |
A |
51 |
8 |
25 |
check_order() |
A |
46 |
7 |
40 |
get_customer_orders() |
A |
44 |
6 |
46 |
get_customer_field() |
S |
47 |
6 |
38 |
pickup_order() |
S |
48 |
5 |
34 |
_formatDiscountAmount() |
S |
52 |
5 |
27 |
logon() |
S |
52 |
5 |
23 |
search_customer_name_query() |
S |
49 |
4 |
34 |
_formatCash() |
S |
55 |
4 |
21 |
search_customer_query() |
S |
54 |
4 |
19 |
payment_cc_order() |
S |
57 |
4 |
16 |
pending_payment_order() |
S |
50 |
3 |
27 |
get_order_number() |
S |
52 |
3 |
25 |
getAllowCashdrawers() |
S |
59 |
3 |
16 |
_getSessionData() |
S |
66 |
4 |
8 |
getCashierList() |
S |
51 |
2 |
27 |
save_order_note() |
S |
59 |
2 |
14 |
get_order_note() |
S |
59 |
2 |
14 |
search_customer_email_query() |
S |
60 |
2 |
12 |
_op_version_number() |
S |
65 |
2 |
9 |
_woo_version_number() |
S |
65 |
2 |
9 |
getTotalPageProduct() |
S |
58 |
1 |
15 |
__construct() |
S |
63 |
1 |
11 |
initScripts() |
S |
98 |
1 |
1 |
logout() |
S |
65 |
1 |
9 |
allowRefundOrder() |
S |
76 |
1 |
4 |
allowPickup() |
S |
76 |
1 |
4 |
getProductPerPage() |
S |
79 |
1 |
3 |