- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.1.6.5
 
- 
Code
 
- 
Classes
 
-  LP_REST_Jwt_Posts_Controller 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											114 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											630 | 
										
																			
											| Lines of code | 
											473 | 
										
																			
											| Logical lines of code | 
											245 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											48 | 
										
																			
											| Methods | 
											17 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 17
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| prepare_item_for_database() | 
									D  | 
																	27  | 
													53 | 
													111 | 
							
					
				| get_items() | 
									A  | 
																	42 | 
													10 | 
													47 | 
							
					
				| handle_status_param() | 
									A  | 
																	50 | 
													9 | 
													32 | 
							
					
				| get_collection_params() | 
									A  | 
																	34 | 
													2 | 
													128 | 
							
					
				| prepare_objects_query() | 
									S  | 
																	47 | 
													6 | 
													36 | 
							
					
				| create_item() | 
									S  | 
																	47 | 
													6 | 
													34 | 
							
					
				| prepare_items_query() | 
									S  | 
																	56 | 
													7 | 
													17 | 
							
					
				| get_item_permissions_check() | 
									S  | 
																	61 | 
													5 | 
													10 | 
							
					
				| get_item() | 
									S  | 
																	59 | 
													4 | 
													12 | 
							
					
				| get_objects() | 
									S  | 
																	57 | 
													2 | 
													16 | 
							
					
				| get_items_permissions_check() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| create_item_permissions_check() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| check_read_permission() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| get_object() | 
									S  | 
																	76 | 
													1 | 
													3 | 
							
					
				| get_item_learned_ids() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| add_post_meta_fields() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| prepare_object_for_response() | 
									S  | 
																	76 | 
													1 | 
													3 |