- 
		Home
	
- 
Pods – Custom Content Types and Fields
- 
2.8.21
- 
Code
- 
Classes
-  PodsField_OEmbed 
		
			
				
					
													
								
																			
											| Total Complexity | 65 | 
																			
											| Dependencies | 1 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 525 | 
																			
											| Lines of code | 262 | 
																			
											| Logical lines of code | 141 | 
																	
							 
													
								
																			
											| Comment lines | 158 | 
																			
											| Methods | 16 | 
																			
											| Properties | 7 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 16
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| input() | A | 51 | 10 | 23 | 
					
				| get_providers() | A | 49 | 9 | 29 | 
					
				| admin_ajax_oembed_update_preview() | A | 50 | 8 | 29 | 
					
				| options() | S | 42 | 5 | 60 | 
					
				| validate() | S | 54 | 7 | 21 | 
					
				| validate_provider() | S | 55 | 6 | 19 | 
					
				| get_provider() | S | 60 | 5 | 12 | 
					
				| display() | S | 59 | 3 | 14 | 
					
				| pre_save() | S | 60 | 3 | 14 | 
					
				| strip_html() | S | 62 | 3 | 12 | 
					
				| setup() | S | 75 | 1 | 4 | 
					
				| admin_init() | S | 79 | 1 | 3 | 
					
				| schema() | S | 77 | 1 | 4 | 
					
				| ui() | S | 74 | 1 | 4 | 
					
				| autoembed() | S | 64 | 1 | 10 | 
					
				| autoembed_callback() | S | 74 | 1 | 4 |