- 
		Home
	
- 
LearnPress – WordPress LMS Plugin
- 
4.1.6
- 
Code
- 
Classes
-  LP_Admin_Editor_Quiz 
		
			
				
					
													
								
																			
											| Total Complexity | 96 | 
																			
											| Dependencies | 7 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 625 | 
																			
											| Lines of code | 358 | 
																			
											| Logical lines of code | 204 | 
																	
							 
													
								
																			
											| Comment lines | 130 | 
																			
											| Methods | 21 | 
																			
											| Properties | 3 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 21
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| new_question() | A | 44 | 10 | 44 | 
					
				| add_questions_to_quiz() | A | 46 | 9 | 39 | 
					
				| search_items() | A | 45 | 8 | 40 | 
					
				| get_question_data_to_quiz_editor() | S | 47 | 6 | 37 | 
					
				| new_question_answer() | S | 54 | 5 | 22 | 
					
				| clone_question() | S | 54 | 5 | 20 | 
					
				| change_question_correct_answer() | S | 60 | 5 | 12 | 
					
				| change_question_type() | S | 61 | 5 | 11 | 
					
				| update_question_meta() | S | 61 | 5 | 11 | 
					
				| sort_question_answers() | S | 62 | 5 | 10 | 
					
				| update_question_answer_title() | S | 62 | 5 | 10 | 
					
				| delete_question_answer() | S | 64 | 5 | 9 | 
					
				| update_question_title() | S | 59 | 3 | 15 | 
					
				| update_question_content() | S | 58 | 3 | 15 | 
					
				| dispatch() | S | 54 | 2 | 21 | 
					
				| sort_questions() | S | 64 | 3 | 9 | 
					
				| remove_question() | S | 66 | 3 | 8 | 
					
				| delete_question() | S | 66 | 3 | 8 | 
					
				| update_quiz_questions_hidden() | S | 63 | 3 | 10 | 
					
				| hidden_questions() | S | 71 | 2 | 5 | 
					
				| __construct() | S | 91 | 1 | 2 |