- 
		Home
	
 
	- 
Spectra Gutenberg Blocks – Website Builder for the Block Editor
 
- 
2.0.7
 
- 
Code
 
- 
Classes
 
-  UAGB_Post 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											164 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											2,016 | 
										
																			
											| Lines of code | 
											1,655 | 
										
																			
											| Logical lines of code | 
											339 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											215 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_post_attributes() | 
									D  | 
																	13  | 
													2 | 
													718 | 
							
					
				| get_post_html() | 
									D  | 
																	26  | 
													36 | 
													149 | 
							
					
				| register_blocks() | 
									B  | 
																	23  | 
													6 | 
													305 | 
							
					
				| add_post_dynamic_script() | 
									B  | 
																	34 | 
													14 | 
													125 | 
							
					
				| render_meta_taxonomy() | 
									A  | 
																	43 | 
													16 | 
													45 | 
							
					
				| required_attribute_for_query() | 
									A  | 
																	54 | 
													14 | 
													16 | 
							
					
				| render_layout() | 
									A  | 
																	56 | 
													8 | 
													18 | 
							
					
				| render_meta() | 
									A  | 
																	49 | 
													7 | 
													31 | 
							
					
				| render_image() | 
									S  | 
																	55 | 
													6 | 
													19 | 
							
					
				| masonry_pagination() | 
									S  | 
																	57 | 
													5 | 
													15 | 
							
					
				| render_innerblocks() | 
									S  | 
																	59 | 
													5 | 
													14 | 
							
					
				| render_pagination() | 
									S  | 
																	50 | 
													4 | 
													27 | 
							
					
				| override_canonical() | 
									S  | 
																	62 | 
													5 | 
													12 | 
							
					
				| render_excerpt() | 
									S  | 
																	53 | 
													4 | 
													23 | 
							
					
				| render_button() | 
									S  | 
																	56 | 
													4 | 
													16 | 
							
					
				| posts_articles_markup() | 
									S  | 
																	56 | 
													3 | 
													18 | 
							
					
				| render_complete_box_link() | 
									S  | 
																	63 | 
													4 | 
													9 | 
							
					
				| render_title() | 
									S  | 
																	59 | 
													3 | 
													13 | 
							
					
				| post_pagination() | 
									S  | 
																	60 | 
													3 | 
													12 | 
							
					
				| render_meta_date() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| render_meta_author() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| render_meta_comment() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| get_instance() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	64 | 
													1 | 
													9 | 
							
					
				| post_grid_callback() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| post_carousel_callback() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| post_masonry_callback() | 
									S  | 
																	68 | 
													1 | 
													7 |