- 
		Home
	
- 
YITH WooCommerce Wishlist
- 
3.34.0
- 
Code
- 
Classes
-  YIT_Metabox 
		
			
				
					
													
								
																			
											| Total Complexity | 112 | 
																			
											| Dependencies | 0 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 514 | 
																			
											| Lines of code | 287 | 
																			
											| Logical lines of code | 170 | 
																	
							 
													
								
																			
											| Comment lines | 162 | 
																			
											| Methods | 22 | 
																			
											| Properties | 4 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 22
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| sanitize_and_save_field() | B | 42 | 23 | 46 | 
					
				| save_postdata() | B | 45 | 18 | 38 | 
					
				| save_toggle_element() | A | 47 | 14 | 33 | 
					
				| sanitize_and_save_fields() | A | 53 | 10 | 20 | 
					
				| add_field() | S | 53 | 7 | 21 | 
					
				| reorder_tabs() | S | 59 | 6 | 13 | 
					
				| enqueue() | S | 59 | 4 | 14 | 
					
				| add_tab() | S | 58 | 4 | 14 | 
					
				| show() | S | 60 | 3 | 12 | 
					
				| set_tabs() | S | 65 | 3 | 9 | 
					
				| remove_field() | S | 68 | 3 | 7 | 
					
				| get_option_metabox_name() | S | 62 | 2 | 11 | 
					
				| instance() | S | 70 | 2 | 6 | 
					
				| remove_tab() | S | 73 | 2 | 5 | 
					
				| get_option_metabox_id() | S | 70 | 2 | 7 | 
					
				| register_metabox() | S | 70 | 2 | 5 | 
					
				| remove_fields() | S | 73 | 2 | 5 | 
					
				| __construct() | S | 81 | 1 | 3 | 
					
				| init() | S | 64 | 1 | 9 | 
					
				| add_screen_ids_for_icons() | S | 78 | 1 | 3 | 
					
				| set_options() | S | 81 | 1 | 3 | 
					
				| sanitize_fields() | S | 81 | 1 | 3 |