- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.2.6.9.1
 
- 
Code
 
- 
Classes
 
-  LP_Course_Section 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											41 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											318 | 
										
																			
											| Lines of code | 
											145 | 
										
																			
											| Logical lines of code | 
											70 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											119 | 
										
																			
											| Methods | 
											17 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 17
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_items() | 
									A  | 
																	52 | 
													11 | 
													24 | 
							
					
				| __construct() | 
									S  | 
																	50 | 
													4 | 
													29 | 
							
					
				| load_items() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| main_class() | 
									S  | 
																	60 | 
													4 | 
													12 | 
							
					
				| has_item() | 
									S  | 
																	61 | 
													2 | 
													14 | 
							
					
				| get_items_array() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| count_items() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| get_slug() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_position() | 
									S  | 
																	77 | 
													2 | 
													3 | 
							
					
				| to_array() | 
									S  | 
																	63 | 
													1 | 
													11 | 
							
					
				| get_id() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_title() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| get_course_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_order() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_description() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| get_completed_items() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| set_position() | 
									S  | 
																	80 | 
													1 | 
													3 |