- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.1.6.5
 
- 
Code
 
- 
Classes
 
-  LP_Jwt_Quiz_V1_Controller 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											97 | 
										
																			
											| Dependencies | 
											8 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											750 | 
										
																			
											| Lines of code | 
											628 | 
										
																			
											| Logical lines of code | 
											234 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											11 | 
										
																			
											| Methods | 
											15 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 15
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_quiz_data() | 
									B  | 
																	37 | 
													23 | 
													66 | 
							
					
				| get_quiz_results() | 
									A  | 
																	38 | 
													12 | 
													69 | 
							
					
				| check_read_permission() | 
									A  | 
																	47 | 
													12 | 
													37 | 
							
					
				| get_item_schema() | 
									A  | 
																	29 | 
													1 | 
													191 | 
							
					
				| submit_quiz() | 
									S  | 
																	51 | 
													7 | 
													24 | 
							
					
				| check_quiz() | 
									S  | 
																	53 | 
													7 | 
													21 | 
							
					
				| check_can_finish_course() | 
									S  | 
																	56 | 
													7 | 
													19 | 
							
					
				| get_object() | 
									S  | 
																	59 | 
													7 | 
													13 | 
							
					
				| register_routes() | 
									S  | 
																	38 | 
													1 | 
													99 | 
							
					
				| start_quiz() | 
									S  | 
																	55 | 
													5 | 
													17 | 
							
					
				| get_course_by_item_id() | 
									S  | 
																	54 | 
													4 | 
													23 | 
							
					
				| get_course_meta() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| get_assigned() | 
									S  | 
																	58 | 
													3 | 
													16 | 
							
					
				| get_all_question() | 
									S  | 
																	62 | 
													2 | 
													13 | 
							
					
				| prepare_object_for_response() | 
									S  | 
																	68 | 
													2 | 
													6 |