- 
		Home
	
- 
Pods – Custom Content Types and Fields
- 
2.8.21
- 
Code
- 
Classes
-  PodsField_Number 
		
			
				
					
													
								
																			
											| Total Complexity | 57 | 
																			
											| Dependencies | 1 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 493 | 
																			
											| Lines of code | 311 | 
																			
											| Logical lines of code | 148 | 
																	
							 
													
								
																			
											| Comment lines | 87 | 
																			
											| Methods | 14 | 
																			
											| Properties | 4 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 14
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| input() | A | 45 | 13 | 38 | 
					
				| get_number_format_args() | A | 46 | 7 | 41 | 
					
				| options() | S | 36 | 1 | 99 | 
					
				| pre_save() | S | 52 | 6 | 23 | 
					
				| format() | S | 55 | 6 | 18 | 
					
				| get_max_decimals() | S | 57 | 6 | 16 | 
					
				| validate() | S | 51 | 4 | 25 | 
					
				| schema() | S | 63 | 3 | 9 | 
					
				| prepare() | S | 63 | 3 | 10 | 
					
				| trim_decimals() | S | 63 | 3 | 10 | 
					
				| is_empty() | S | 68 | 2 | 8 | 
					
				| setup() | S | 75 | 1 | 4 | 
					
				| display() | S | 75 | 1 | 4 | 
					
				| regex() | S | 69 | 1 | 6 |