-
Home
-
LearnPress – WordPress LMS Plugin
-
4.1.4.1
-
Code
-
Classes
- LP_Checkout
Total Complexity |
128 |
Dependencies |
8 |
Dependents |
3 |
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 |
33 |
25 |
91 |
create_order() |
C |
33 |
24 |
90 |
validate_fields() |
B |
40 |
24 |
56 |
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 |
instance() |
S |
71 |
2 |
6 |
is_enable_register() |
S |
76 |
2 |
3 |
__construct() |
S |
71 |
1 |
5 |
is_enable_login() |
S |
77 |
1 |
3 |
_create_account() |
S |
70 |
1 |
6 |
is_enable_guest_checkout() |
S |
77 |
1 |
3 |