- 
		Home
	
 
	- 
Spectra Gutenberg Blocks – Website Builder for the Block Editor
 
- 
1.25.2
 
- 
Code
 
- 
Classes
 
-  UAGB_Post 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											111 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,530 | 
										
																			
											| Lines of code | 
											1,191 | 
										
																			
											| Logical lines of code | 
											269 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											213 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_post_attributes() | 
									B  | 
																	21  | 
													1 | 
													390 | 
							
					
				| get_post_html() | 
									B  | 
																	34 | 
													20 | 
													98 | 
							
					
				| add_post_dynamic_script() | 
									B  | 
																	36 | 
													14 | 
													98 | 
							
					
				| register_blocks() | 
									B  | 
																	25  | 
													2 | 
													277 | 
							
					
				| render_meta() | 
									S  | 
																	49 | 
													6 | 
													33 | 
							
					
				| render_button() | 
									S  | 
																	54 | 
													6 | 
													18 | 
							
					
				| render_layout() | 
									S  | 
																	58 | 
													6 | 
													16 | 
							
					
				| render_meta_taxonomy() | 
									S  | 
																	51 | 
													5 | 
													26 | 
							
					
				| render_excerpt() | 
									S  | 
																	52 | 
													5 | 
													25 | 
							
					
				| render_pagination() | 
									S  | 
																	50 | 
													4 | 
													27 | 
							
					
				| override_canonical() | 
									S  | 
																	62 | 
													5 | 
													12 | 
							
					
				| render_image() | 
									S  | 
																	56 | 
													4 | 
													17 | 
							
					
				| masonry_pagination() | 
									S  | 
																	59 | 
													4 | 
													13 | 
							
					
				| posts_articles_markup() | 
									S  | 
																	55 | 
													3 | 
													20 | 
							
					
				| render_title() | 
									S  | 
																	58 | 
													3 | 
													15 | 
							
					
				| render_complete_box_link() | 
									S  | 
																	63 | 
													4 | 
													9 | 
							
					
				| get_excerpt_by_id() | 
									S  | 
																	60 | 
													3 | 
													12 | 
							
					
				| render_meta_date() | 
									S  | 
																	62 | 
													2 | 
													12 | 
							
					
				| render_meta_author() | 
									S  | 
																	66 | 
													2 | 
													11 | 
							
					
				| render_meta_comment() | 
									S  | 
																	66 | 
													2 | 
													11 | 
							
					
				| get_instance() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| post_pagination() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| render_innerblocks() | 
									S  | 
																	69 | 
													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 |