- 
		Home
	
 
	- 
MonsterInsights – Google Analytics Dashboard for WordPress (Website Stats Made Easy)
 
- 
9.8.0
 
- 
Code
 
- 
Classes
 
-  MonsterInsights_Report 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											130 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											592 | 
										
																			
											| Lines of code | 
											407 | 
										
																			
											| Logical lines of code | 
											186 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											102 | 
										
																			
											| Methods | 
											22 | 
										
																			
											| Properties | 
											8 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 22
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_data() | 
									D  | 
																	22  | 
													62 | 
													156 | 
							
					
				| show_report() | 
									B  | 
																	38 | 
													23 | 
													67 | 
							
					
				| get_upsell_notice() | 
									A  | 
																	39 | 
													5 | 
													81 | 
							
					
				| get_ga_report_range() | 
									S  | 
																	61 | 
													7 | 
													10 | 
							
					
				| is_valid_date_range() | 
									S  | 
																	61 | 
													6 | 
													11 | 
							
					
				| delete_cache() | 
									S  | 
																	66 | 
													5 | 
													8 | 
							
					
				| get_ga_report_url() | 
									S  | 
																	55 | 
													3 | 
													20 | 
							
					
				| set_report_source() | 
									S  | 
																	73 | 
													3 | 
													5 | 
							
					
				| is_valid_date() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| get_addons_page_link() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| __construct() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| get_report_html() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| additional_data() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| requirements() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| default_start_date() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| default_end_date() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| default_compare_start_date() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| default_compare_end_date() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_api_max_limit() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_date_range() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| add_error_addon_link() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| prepare_report_data() | 
									S  | 
																	82 | 
													1 | 
													3 |