- 
		Home
	
 
	- 
SiteOrigin Widgets Bundle
 
- 
1.69.3
 
- 
Code
 
- 
Classes
 
-  SiteOrigin_Widgets_Bundle_Widget_Block 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											114 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											782 | 
										
																			
											| Lines of code | 
											492 | 
										
																			
											| Logical lines of code | 
											217 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											174 | 
										
																			
											| Methods | 
											22 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 22
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_widget_preview() | 
									B  | 
																	38 | 
													18 | 
													70 | 
							
					
				| prepare_widget_data() | 
									B  | 
																	38 | 
													17 | 
													65 | 
							
					
				| render_widget_block() | 
									B  | 
																	37 | 
													16 | 
													72 | 
							
					
				| enqueue_widget_block_editor_assets() | 
									A  | 
																	41 | 
													6 | 
													59 | 
							
					
				| get_block_widget() | 
									S  | 
																	51 | 
													7 | 
													29 | 
							
					
				| sanitize_blocks() | 
									S  | 
																	55 | 
													7 | 
													20 | 
							
					
				| sanitize_block() | 
									S  | 
																	57 | 
													5 | 
													17 | 
							
					
				| block_migration_consent() | 
									S  | 
																	59 | 
													4 | 
													16 | 
							
					
				| server_side_validation() | 
									S  | 
																	60 | 
													4 | 
													14 | 
							
					
				| find_widget_class_by_block_name() | 
									S  | 
																	61 | 
													4 | 
													12 | 
							
					
				| register_widget_block() | 
									S  | 
																	58 | 
													3 | 
													15 | 
							
					
				| has_valid_widget_class() | 
									S  | 
																	64 | 
													4 | 
													10 | 
							
					
				| legacy_render_widget_block() | 
									S  | 
																	59 | 
													3 | 
													15 | 
							
					
				| setup_rest_validation() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| return_invalid_widget_class_notice() | 
									S  | 
																	60 | 
													2 | 
													14 | 
							
					
				| get_widget_icon() | 
									S  | 
																	61 | 
													2 | 
													13 | 
							
					
				| wpml_render_check() | 
									S  | 
																	62 | 
													2 | 
													13 | 
							
					
				| single() | 
									S  | 
																	75 | 
													2 | 
													4 | 
							
					
				| __construct() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| setup_block_category() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| keywords_to_array() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| add_widget_id() | 
									S  | 
																	82 | 
													1 | 
													3 |