- 
		Home
	
 
	- 
Post SMTP – Complete SMTP Solution with Logs, Alerts, Backup SMTP & Mobile App
 
- 
2.5.9.2
 
- 
Code
 
- 
Classes
 
-  PostmanEmailLogsMigration 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											128 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											903 | 
										
																			
											| Lines of code | 
											491 | 
										
																			
											| Logical lines of code | 
											224 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											142 | 
										
																			
											| Methods | 
											20 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 20
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| notice() | 
									D  | 
																	28  | 
													43 | 
													137 | 
							
					
				| __construct() | 
									B  | 
																	41 | 
													24 | 
													47 | 
							
					
				| migrate_logs() | 
									A  | 
																	44 | 
													10 | 
													48 | 
							
					
				| get_old_logs() | 
									A  | 
																	45 | 
													7 | 
													45 | 
							
					
				| trash_all_old_logs() | 
									S  | 
																	51 | 
													4 | 
													28 | 
							
					
				| revert_migration() | 
									S  | 
																	56 | 
													4 | 
													19 | 
							
					
				| skip_migration() | 
									S  | 
																	49 | 
													3 | 
													31 | 
							
					
				| update_database() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| log() | 
									S  | 
																	61 | 
													4 | 
													12 | 
							
					
				| remove_extra_keys() | 
									S  | 
																	53 | 
													3 | 
													24 | 
							
					
				| has_migrated() | 
									S  | 
																	58 | 
													3 | 
													16 | 
							
					
				| dismiss_update_notice() | 
									S  | 
																	70 | 
													4 | 
													5 | 
							
					
				| create_log_file() | 
									S  | 
																	62 | 
													3 | 
													11 | 
							
					
				| get_migrated_count() | 
									S  | 
																	61 | 
													2 | 
													14 | 
							
					
				| have_old_logs() | 
									S  | 
																	64 | 
													2 | 
													10 | 
							
					
				| is_migrated() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| switch_back() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| switch_to_new() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| get_last_old_log() | 
									S  | 
																	71 | 
													1 | 
													6 | 
							
					
				| enqueue_script() | 
									S  | 
																	78 | 
													1 | 
													3 |