- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.1.4
 
- 
Code
 
- 
Classes
 
-  LP_Jwt_Lessons_V1_Controller 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											76 | 
										
																			
											| Dependencies | 
											9 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											527 | 
										
																			
											| Lines of code | 
											422 | 
										
																			
											| Logical lines of code | 
											172 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											17 | 
										
																			
											| Methods | 
											12 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 12
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_lesson_data() | 
									B  | 
																	39 | 
													21 | 
													60 | 
							
					
				| check_read_permission() | 
									A  | 
																	47 | 
													12 | 
													37 | 
							
					
				| finish_lesson() | 
									A  | 
																	49 | 
													8 | 
													29 | 
							
					
				| get_item_schema() | 
									A  | 
																	34 | 
													1 | 
													124 | 
							
					
				| check_can_finish_course() | 
									S  | 
																	56 | 
													7 | 
													19 | 
							
					
				| get_object() | 
									S  | 
																	59 | 
													7 | 
													13 | 
							
					
				| get_lesson_results() | 
									S  | 
																	56 | 
													6 | 
													17 | 
							
					
				| get_course_by_item_id() | 
									S  | 
																	54 | 
													4 | 
													23 | 
							
					
				| register_routes() | 
									S  | 
																	43 | 
													1 | 
													64 | 
							
					
				| get_course_meta() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| get_assigned() | 
									S  | 
																	58 | 
													3 | 
													16 | 
							
					
				| prepare_object_for_response() | 
									S  | 
																	68 | 
													2 | 
													6 |