- 
		Home
	
 
	- 
Post Views Counter
 
- 
1.3.5
 
- 
Code
 
- 
Classes
 
-  Post_Views_Counter_Settings 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											112 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											829 | 
										
																			
											| Lines of code | 
											538 | 
										
																			
											| Logical lines of code | 
											257 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											130 | 
										
																			
											| Methods | 
											28 | 
										
																			
											| Properties | 
											10 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 28
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| validate_settings() | 
									D  | 
																	23  | 
													56 | 
													140 | 
							
					
				| load_post_types() | 
									S  | 
																	56 | 
													6 | 
													16 | 
							
					
				| options_page() | 
									S  | 
																	44 | 
													4 | 
													44 | 
							
					
				| load_defaults() | 
									S  | 
																	42 | 
													3 | 
													58 | 
							
					
				| restrict_display() | 
									S  | 
																	52 | 
													5 | 
													23 | 
							
					
				| exclude() | 
									S  | 
																	53 | 
													4 | 
													21 | 
							
					
				| exclude_ips() | 
									S  | 
																	53 | 
													3 | 
													22 | 
							
					
				| time_between_counts() | 
									S  | 
																	59 | 
													2 | 
													14 | 
							
					
				| reset_counts() | 
									S  | 
																	58 | 
													2 | 
													14 | 
							
					
				| flush_interval() | 
									S  | 
																	59 | 
													2 | 
													14 | 
							
					
				| position() | 
									S  | 
																	60 | 
													2 | 
													13 | 
							
					
				| counter_mode() | 
									S  | 
																	60 | 
													2 | 
													12 | 
							
					
				| display_style() | 
									S  | 
																	60 | 
													2 | 
													12 | 
							
					
				| register_settings() | 
									S  | 
																	49 | 
													1 | 
													26 | 
							
					
				| post_types_count() | 
									S  | 
																	61 | 
													2 | 
													11 | 
							
					
				| post_types_display() | 
									S  | 
																	61 | 
													2 | 
													11 | 
							
					
				| page_types_display() | 
									S  | 
																	61 | 
													2 | 
													11 | 
							
					
				| get_user_roles() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| wp_postviews() | 
									S  | 
																	63 | 
													1 | 
													11 | 
							
					
				| __construct() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| admin_menu_options() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| post_views_label() | 
									S  | 
																	66 | 
													1 | 
													9 | 
							
					
				| post_views_column() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| strict_counts() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| restrict_edit_views() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| deactivation_delete() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| icon_class() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| toolbar_statistics() | 
									S  | 
																	67 | 
													1 | 
													7 |