- 
		Home
	
 
	- 
WP Recipe Maker
 
- 
10.1.1 (latest)
 
- 
Code
 
- 
Classes
 
-  WPRM_Recipe_Sanitizer 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											178 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											15 | 
										
																	
							 
													
								
																			
											| Total lines | 
											644 | 
										
																			
											| Lines of code | 
											425 | 
										
																			
											| Logical lines of code | 
											284 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											106 | 
										
																			
											| Methods | 
											9 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 9
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| sanitize() | 
									D  | 
																	7  | 
													129 | 
													250 | 
							
					
				| sanitize_html() | 
									B  | 
																	37 | 
													22 | 
													68 | 
							
					
				| get_term_id_by_name() | 
									S  | 
																	54 | 
													6 | 
													21 | 
							
					
				| sanitize_tags() | 
									S  | 
																	59 | 
													6 | 
													14 | 
							
					
				| unflatten() | 
									S  | 
																	53 | 
													5 | 
													24 | 
							
					
				| get_ingredient_id() | 
									S  | 
																	55 | 
													4 | 
													20 | 
							
					
				| get_ingredient_unit_id() | 
									S  | 
																	55 | 
													4 | 
													20 | 
							
					
				| get_equipment_id() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| sanitize_notes() | 
									S  | 
																	72 | 
													1 | 
													5 |