- 
		Home
	
 
	- 
Post Views Counter
 
- 
1.3.12
 
- 
Code
 
- 
Classes
 
-  Post_Views_Counter_Dashboard 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											94 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											767 | 
										
																			
											| Lines of code | 
											469 | 
										
																			
											| Logical lines of code | 
											229 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											167 | 
										
																			
											| Methods | 
											16 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 16
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| dashboard_post_views_chart() | 
									D  | 
																	25  | 
													25 | 
													184 | 
							
					
				| update_dashboard_user_options() | 
									B  | 
																	43 | 
													21 | 
													39 | 
							
					
				| dashboard_post_most_viewed() | 
									A  | 
																	38 | 
													9 | 
													72 | 
							
					
				| dashboard_widget() | 
									S  | 
																	56 | 
													5 | 
													17 | 
							
					
				| setup_widget_items() | 
									S  | 
																	53 | 
													4 | 
													23 | 
							
					
				| get_colors() | 
									S  | 
																	58 | 
													4 | 
													16 | 
							
					
				| get_dashboard_user_options() | 
									S  | 
																	65 | 
													5 | 
													8 | 
							
					
				| init_admin_dashboard() | 
									S  | 
																	58 | 
													4 | 
													14 | 
							
					
				| hex2rgb() | 
									S  | 
																	60 | 
													4 | 
													11 | 
							
					
				| generate_dashboard_widget_item() | 
									S  | 
																	52 | 
													2 | 
													27 | 
							
					
				| period2timestamp() | 
									S  | 
																	60 | 
													3 | 
													12 | 
							
					
				| generate_months() | 
									S  | 
																	55 | 
													2 | 
													18 | 
							
					
				| calculate_canvas_size() | 
									S  | 
																	66 | 
													3 | 
													7 | 
							
					
				| admin_scripts_styles() | 
									S  | 
																	58 | 
													1 | 
													15 | 
							
					
				| __construct() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| wp_dashboard_setup() | 
									S  | 
																	77 | 
													1 | 
													3 |