- 
		Home
	
- 
Page Builder by SiteOrigin
- 
2.16.17
- 
Code
- 
Classes
-  SiteOrigin_Panels_Widget 
		
			
				
					
													
								
																			
											| Total Complexity | 90 | 
																			
											| Dependencies | 2 | 
																			
											| Dependents | 2 | 
																	
							 
													
								
																			
											| Total lines | 622 | 
																			
											| Lines of code | 401 | 
																			
											| Logical lines of code | 235 | 
																	
							 
													
								
																			
											| Comment lines | 128 | 
																			
											| Methods | 17 | 
																			
											| Properties | 5 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 17
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| form() | C | 33 | 26 | 91 | 
					
				| widget() | B | 38 | 16 | 67 | 
					
				| create_css() | A | 45 | 10 | 38 | 
					
				| update() | A | 52 | 8 | 23 | 
					
				| get_query_posts() | S | 51 | 6 | 26 | 
					
				| get_styles() | S | 58 | 6 | 15 | 
					
				| add_post_query_fields() | S | 42 | 1 | 58 | 
					
				| get_style_data() | S | 58 | 3 | 15 | 
					
				| get_style_presets() | S | 61 | 3 | 11 | 
					
				| get_widget_folders() | S | 61 | 2 | 12 | 
					
				| get_image_folders() | S | 61 | 2 | 12 | 
					
				| get_widget_paths() | S | 70 | 2 | 7 | 
					
				| __construct() | S | 63 | 1 | 10 | 
					
				| sub_widget() | S | 69 | 1 | 6 | 
					
				| clear_css_cache() | S | 75 | 1 | 4 | 
					
				| render_demo() | S | 80 | 1 | 3 | 
					
				| add_sub_widget() | S | 79 | 1 | 3 |