- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.2.6.9.1
 
- 
Code
 
- 
Classes
 
-  LP_Material_Files_DB 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											40 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											4 | 
										
																	
							 
													
								
																			
											| Total lines | 
											257 | 
										
																			
											| Lines of code | 
											190 | 
										
																			
											| Logical lines of code | 
											88 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											55 | 
										
																			
											| Methods | 
											10 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 10
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_material_by_item_id() | 
									A  | 
																	46 | 
													10 | 
													42 | 
							
					
				| delete_material_by_item_id() | 
									S  | 
																	53 | 
													6 | 
													24 | 
							
					
				| update_material_orders() | 
									S  | 
																	54 | 
													5 | 
													21 | 
							
					
				| delete_material() | 
									S  | 
																	55 | 
													5 | 
													20 | 
							
					
				| create_material() | 
									S  | 
																	54 | 
													4 | 
													24 | 
							
					
				| get_total() | 
									S  | 
																	52 | 
													3 | 
													30 | 
							
					
				| get_material() | 
									S  | 
																	62 | 
													2 | 
													13 | 
							
					
				| getInstance() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| delete_local_file() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	76 | 
													1 | 
													4 |