- 
		Home
	
 
	- 
Pods – Custom Content Types and Fields
 
- 
2.8.5
 
- 
Code
 
- 
Classes
 
-  PodsField_Number 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											56 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											492 | 
										
																			
											| Lines of code | 
											310 | 
										
																			
											| Logical lines of code | 
											148 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											86 | 
										
																			
											| Methods | 
											14 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 14
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| input() | 
									A  | 
																	45 | 
													12 | 
													37 | 
							
					
				| 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 |