- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.2.6.9.1
 
- 
Code
 
- 
Classes
 
-  LP_Checkout 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											74 | 
										
																			
											| Dependencies | 
											11 | 
										
																			
											| Dependents | 
											4 | 
										
																	
							 
													
								
																			
											| Total lines | 
											570 | 
										
																			
											| Lines of code | 
											321 | 
										
																			
											| Logical lines of code | 
											196 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											156 | 
										
																			
											| Methods | 
											13 | 
										
																			
											| Properties | 
											10 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 13
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| process_checkout() | 
									B  | 
																	35 | 
													21 | 
													87 | 
							
					
				| check_validate_fields() | 
									B  | 
																	37 | 
													14 | 
													80 | 
							
					
				| create_order() | 
									A  | 
																	39 | 
													14 | 
													60 | 
							
					
				| process_checkout_handler() | 
									S  | 
																	57 | 
													4 | 
													16 | 
							
					
				| validate_payment() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| validate_checkout_fields() | 
									S  | 
																	59 | 
													3 | 
													14 | 
							
					
				| checkout_email_exists() | 
									S  | 
																	64 | 
													3 | 
													11 | 
							
					
				| get_checkout_email() | 
									S  | 
																	66 | 
													3 | 
													9 | 
							
					
				| create_account() | 
									S  | 
																	63 | 
													2 | 
													11 | 
							
					
				| init() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| is_enable_register() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| is_enable_guest_checkout() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| is_enable_login() | 
									S  | 
																	78 | 
													1 | 
													3 |