- 
		Home
	
- 
Forminator Forms – Contact Form, Payment Form & Custom Form Builder
- 
1.20.1
- 
Code
- 
Classes
-  Forminator_Postdata 
		
			
				
					
													
								
																			
											| Total Complexity | 164 | 
																			
											| Dependencies | 1 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 1,158 | 
																			
											| Lines of code | 757 | 
																			
											| Logical lines of code | 378 | 
																	
							 
													
								
																			
											| Comment lines | 256 | 
																			
											| Methods | 18 | 
																			
											| Properties | 9 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 18
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| validate() | D | 28 | 44 | 120 | 
					
				| _get_post_field() | D | 24 | 35 | 178 | 
					
				| save_post() | C | 35 | 26 | 79 | 
					
				| get_validation_messages() | B | 35 | 16 | 90 | 
					
				| get_validation_rules() | A | 49 | 8 | 30 | 
					
				| upload_post_image() | A | 44 | 7 | 44 | 
					
				| get_post_categories() | S | 47 | 6 | 35 | 
					
				| _render_custom_fields() | S | 47 | 5 | 37 | 
					
				| sanitize() | S | 56 | 5 | 19 | 
					
				| set_anonymous_author() | S | 56 | 3 | 19 | 
					
				| markup() | S | 55 | 2 | 18 | 
					
				| defaults() | S | 54 | 1 | 24 | 
					
				| get_post_title() | S | 59 | 1 | 18 | 
					
				| get_post_excerpt() | S | 59 | 1 | 18 | 
					
				| get_post_image() | S | 59 | 1 | 18 | 
					
				| __construct() | S | 75 | 1 | 4 | 
					
				| autofill_settings() | S | 82 | 1 | 3 | 
					
				| get_post_content() | S | 76 | 1 | 3 |