- 
		Home
	
- 
LearnPress – WordPress LMS Plugin
- 
4.1.6
- 
Code
- 
Classes
-  LP_Install_Sample_Data 
		
			
				
					
													
								
																			
											| Total Complexity | 82 | 
																			
											| Dependencies | 6 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 760 | 
																			
											| Lines of code | 478 | 
																			
											| Logical lines of code | 241 | 
																	
							 
													
								
																			
											| Comment lines | 138 | 
																			
											| Methods | 23 | 
																			
											| Properties | 6 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 23
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| install() | B | 35 | 17 | 87 | 
					
				| uninstall() | A | 47 | 8 | 37 | 
					
				| get_answers() | A | 49 | 8 | 28 | 
					
				| create_section_items() | S | 55 | 5 | 19 | 
					
				| create_quiz_questions() | S | 48 | 4 | 34 | 
					
				| generate_content() | S | 55 | 5 | 18 | 
					
				| create_course() | S | 50 | 4 | 27 | 
					
				| create_quiz() | S | 46 | 3 | 41 | 
					
				| add_extra_info() | S | 56 | 4 | 16 | 
					
				| i18n() | S | 59 | 3 | 15 | 
					
				| create_lesson() | S | 53 | 2 | 25 | 
					
				| create_section() | S | 56 | 2 | 20 | 
					
				| create_question_answers() | S | 57 | 2 | 18 | 
					
				| _delete_course() | S | 58 | 2 | 16 | 
					
				| create_sections() | S | 64 | 3 | 9 | 
					
				| __construct() | S | 61 | 2 | 12 | 
					
				| generate_title() | S | 64 | 2 | 9 | 
					
				| get_sample_posts() | S | 62 | 1 | 13 | 
					
				| _delete_user_items() | S | 61 | 1 | 13 | 
					
				| _delete_quiz() | S | 75 | 1 | 4 | 
					
				| _delete_question() | S | 75 | 1 | 4 | 
					
				| _delete_post() | S | 72 | 1 | 5 | 
					
				| get_question_type() | S | 67 | 1 | 8 |