- 
		Home
	
- 
LearnPress – WordPress LMS Plugin
- 
4.1.6
- 
Code
- 
Classes
-  LP_Checkout 
		
			
				
					
													
								
																			
											| Total Complexity | 125 | 
																			
											| Dependencies | 8 | 
																			
											| Dependents | 3 | 
																	
							 
													
								
																			
											| Total lines | 793 | 
																			
											| Lines of code | 433 | 
																			
											| Logical lines of code | 285 | 
																	
							 
													
								
																			
											| Comment lines | 211 | 
																			
											| Methods | 18 | 
																			
											| Properties | 13 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 18
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| process_checkout() | C | 34 | 24 | 91 | 
					
				| create_order() | B | 33 | 22 | 88 | 
					
				| 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 | 
					
				| is_enable_register() | S | 76 | 2 | 3 | 
					
				| instance() | S | 71 | 2 | 6 | 
					
				| __construct() | S | 71 | 1 | 5 | 
					
				| _create_account() | S | 70 | 1 | 6 | 
					
				| is_enable_guest_checkout() | S | 77 | 1 | 3 | 
					
				| is_enable_login() | S | 77 | 1 | 3 |