- 
		Home
	
 
	- 
SiteOrigin Widgets Bundle
 
- 
1.69.3
 
- 
Code
 
- 
Classes
 
-  SiteOrigin_Widgets_ContactForm_Widget 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											239 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											2,068 | 
										
																			
											| Lines of code | 
											1,724 | 
										
																			
											| Logical lines of code | 
											396 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											120 | 
										
																			
											| Methods | 
											26 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 26
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| contact_form_action() | 
									D  | 
																	24  | 
													49 | 
													157 | 
							
					
				| get_widget_form() | 
									D  | 
																	10  | 
													2 | 
													844 | 
							
					
				| get_less_variables() | 
									D  | 
																	30 | 
													31 | 
													100 | 
							
					
				| spam_check() | 
									C  | 
																	33 | 
													30 | 
													79 | 
							
					
				| render_form_field() | 
									C  | 
																	36 | 
													23 | 
													77 | 
							
					
				| send_mail() | 
									B  | 
																	34 | 
													20 | 
													92 | 
							
					
				| get_template_variables() | 
									B  | 
																	37 | 
													17 | 
													71 | 
							
					
				| modify_instance() | 
									B  | 
																	37 | 
													16 | 
													75 | 
							
					
				| is_recaptcha_enabled() | 
									A  | 
																	57 | 
													8 | 
													18 | 
							
					
				| render_form_fields() | 
									S  | 
																	51 | 
													7 | 
													26 | 
							
					
				| name_from_label() | 
									S  | 
																	54 | 
													6 | 
													20 | 
							
					
				| render_form_label() | 
									S  | 
																	57 | 
													5 | 
													19 | 
							
					
				| validate_mail() | 
									S  | 
																	60 | 
													5 | 
													12 | 
							
					
				| format_email() | 
									S  | 
																	59 | 
													4 | 
													13 | 
							
					
				| get_form_teaser() | 
									S  | 
																	59 | 
													2 | 
													17 | 
							
					
				| enqueue_admin_scripts() | 
									S  | 
																	57 | 
													1 | 
													19 | 
							
					
				| get_settings_form() | 
									S  | 
																	59 | 
													1 | 
													16 | 
							
					
				| initialize() | 
									S  | 
																	59 | 
													1 | 
													15 | 
							
					
				| sanitize_multiple_emails() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| single() | 
									S  | 
																	75 | 
													2 | 
													4 | 
							
					
				| default_from_address() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| __construct() | 
									S  | 
																	61 | 
													1 | 
													14 | 
							
					
				| enqueue_widget_scripts() | 
									S  | 
																	63 | 
													1 | 
													11 | 
							
					
				| sanitize_header() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| is_dev_email() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| format_email_body() | 
									S  | 
																	73 | 
													1 | 
													5 |