-
Home
-
LearnPress – WordPress LMS Plugin
-
4.1.7.3.1
-
Code
-
Classes
- LP_Checkout
Total Complexity |
124 |
Dependencies |
10 |
Dependents |
4 |
Total lines |
795 |
Lines of code |
435 |
Logical lines of code |
286 |
Comment lines |
211 |
Methods |
18 |
Properties |
13 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_checkout() |
C |
34 |
23 |
91 |
validate_fields() |
B |
40 |
24 |
56 |
create_order() |
B |
34 |
21 |
88 |
check_validate_fields() |
A |
42 |
12 |
52 |
validate_checkout_fields() |
S |
54 |
6 |
20 |
get_checkout_fields() |
S |
54 |
5 |
19 |
validate_payment() |
S |
56 |
5 |
19 |
verify_nonce() |
S |
57 |
5 |
17 |
process_checkout_handler() |
S |
56 |
4 |
18 |
_is_resume_order() |
S |
68 |
4 |
7 |
checkout_email_exists() |
S |
64 |
3 |
11 |
get_checkout_email() |
S |
66 |
3 |
9 |
__construct() |
S |
67 |
2 |
7 |
instance() |
S |
71 |
2 |
6 |
is_enable_register() |
S |
76 |
2 |
3 |
is_enable_login() |
S |
77 |
1 |
3 |
_create_account() |
S |
70 |
1 |
6 |
is_enable_guest_checkout() |
S |
77 |
1 |
3 |