- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.1.4
 
- 
Code
 
- 
Classes
 
-  LP_Checkout 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											131 | 
										
																			
											| Dependencies | 
											8 | 
										
																			
											| Dependents | 
											3 | 
										
																	
							 
													
								
																			
											| Total lines | 
											767 | 
										
																			
											| Lines of code | 
											451 | 
										
																			
											| Logical lines of code | 
											298 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											163 | 
										
																			
											| Methods | 
											19 | 
										
																			
											| Properties | 
											13 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 19
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| process_checkout() | 
									C  | 
																	33 | 
													25 | 
													91 | 
							
					
				| validate_fields() | 
									B  | 
																	40 | 
													24 | 
													56 | 
							
					
				| create_order() | 
									B  | 
																	37 | 
													17 | 
													71 | 
							
					
				| check_validate_fields() | 
									A  | 
																	42 | 
													12 | 
													52 | 
							
					
				| process_customer() | 
									A  | 
																	48 | 
													10 | 
													34 | 
							
					
				| 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  | 
																	69 | 
													1 | 
													6 | 
							
					
				| _create_account() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| is_enable_guest_checkout() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| is_enable_login() | 
									S  | 
																	77 | 
													1 | 
													3 |