- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.1.4
 
- 
Code
 
- 
Classes
 
-  LP_Course_Section 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											44 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											321 | 
										
																			
											| Lines of code | 
											156 | 
										
																			
											| Logical lines of code | 
											76 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											108 | 
										
																			
											| Methods | 
											18 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 18
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_items() | 
									A  | 
																	52 | 
													11 | 
													24 | 
							
					
				| _load_items() | 
									S  | 
																	54 | 
													6 | 
													22 | 
							
					
				| main_class() | 
									S  | 
																	60 | 
													4 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	52 | 
													3 | 
													25 | 
							
					
				| has_item() | 
									S  | 
																	61 | 
													2 | 
													14 | 
							
					
				| _get_item() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| 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 |