- 
		Home
	
 
	- 
SiteOrigin Widgets Bundle
 
- 
1.62.1
 
- 
Code
 
- 
Classes
 
-  SiteOrigin_Widgets_ContactForm_Widget 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											217 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,793 | 
										
																			
											| Lines of code | 
											1,523 | 
										
																			
											| Logical lines of code | 
											359 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											84 | 
										
																			
											| Methods | 
											23 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 23
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| contact_form_action() | 
									D  | 
																	25  | 
													50 | 
													145 | 
							
					
				| get_widget_form() | 
									D  | 
																	12  | 
													2 | 
													757 | 
							
					
				| spam_check() | 
									C  | 
																	34 | 
													28 | 
													75 | 
							
					
				| render_form_field() | 
									B  | 
																	37 | 
													23 | 
													66 | 
							
					
				| send_mail() | 
									B  | 
																	37 | 
													20 | 
													69 | 
							
					
				| get_template_variables() | 
									B  | 
																	37 | 
													17 | 
													70 | 
							
					
				| modify_instance() | 
									B  | 
																	38 | 
													16 | 
													74 | 
							
					
				| get_less_variables() | 
									B  | 
																	35 | 
													15 | 
													81 | 
							
					
				| is_recaptcha_enabled() | 
									A  | 
																	57 | 
													8 | 
													18 | 
							
					
				| render_form_fields() | 
									S  | 
																	50 | 
													7 | 
													27 | 
							
					
				| render_form_label() | 
									S  | 
																	57 | 
													5 | 
													19 | 
							
					
				| validate_mail() | 
									S  | 
																	60 | 
													5 | 
													12 | 
							
					
				| is_dev_email() | 
									S  | 
																	69 | 
													5 | 
													7 | 
							
					
				| name_from_label() | 
									S  | 
																	61 | 
													3 | 
													11 | 
							
					
				| get_form_teaser() | 
									S  | 
																	59 | 
													2 | 
													17 | 
							
					
				| get_settings_form() | 
									S  | 
																	59 | 
													1 | 
													16 | 
							
					
				| sanitize_multiple_emails() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| single() | 
									S  | 
																	75 | 
													2 | 
													4 | 
							
					
				| default_from_address() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| initialize() | 
									S  | 
																	60 | 
													1 | 
													14 | 
							
					
				| __construct() | 
									S  | 
																	62 | 
													1 | 
													13 | 
							
					
				| enqueue_widget_scripts() | 
									S  | 
																	63 | 
													1 | 
													11 | 
							
					
				| sanitize_header() | 
									S  | 
																	78 | 
													1 | 
													3 |