- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.2.6.9.1
 
- 
Code
 
- 
Classes
 
-  LP_Helper 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											102 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											72 | 
										
																	
							 
													
								
																			
											| Total lines | 
											689 | 
										
																			
											| Lines of code | 
											383 | 
										
																			
											| Logical lines of code | 
											222 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											221 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| list_pluck() | 
									A  | 
																	48 | 
													11 | 
													37 | 
							
					
				| sanitize_params_submitted() | 
									A  | 
																	48 | 
													10 | 
													34 | 
							
					
				| array_merge_recursive() | 
									A  | 
																	55 | 
													10 | 
													19 | 
							
					
				| handle_lp_permalink_structure() | 
									A  | 
																	42 | 
													7 | 
													54 | 
							
					
				| create_page() | 
									A  | 
																	46 | 
													7 | 
													37 | 
							
					
				| pick() | 
									S  | 
																	58 | 
													7 | 
													15 | 
							
					
				| print_inline_script_tag() | 
									S  | 
																	56 | 
													6 | 
													16 | 
							
					
				| merge_class() | 
									S  | 
																	56 | 
													5 | 
													19 | 
							
					
				| sort_by_priority() | 
									S  | 
																	56 | 
													5 | 
													18 | 
							
					
				| sanitize_order_status() | 
									S  | 
																	57 | 
													5 | 
													16 | 
							
					
				| maybe_unserialize() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| prepare() | 
									S  | 
																	58 | 
													3 | 
													16 | 
							
					
				| ksort() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| shuffle_assoc() | 
									S  | 
																	64 | 
													2 | 
													10 | 
							
					
				| getUrlCurrent() | 
									S  | 
																	68 | 
													2 | 
													6 | 
							
					
				| isRestApiLP() | 
									S  | 
																	77 | 
													2 | 
													3 | 
							
					
				| progress_percent() | 
									S  | 
																	65 | 
													2 | 
													8 | 
							
					
				| json_decode() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| json_encode() | 
									S  | 
																	64 | 
													1 | 
													12 | 
							
					
				| _unserialize_replace_callback() | 
									S  | 
																	71 | 
													1 | 
													5 | 
							
					
				| sanitize_array() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| array_to_md5() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| cache_posts() | 
									S  | 
																	89 | 
													1 | 
													2 | 
							
					
				| _valid_json_value() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| db_format_array() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| format_query_IN() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| get_link_no_cache() | 
									S  | 
																	78 | 
													1 | 
													3 |