- 
		Home
	
 
	- 
Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More
 
- 
1.5.9
 
- 
Code
 
- 
Classes
 
-  DUPX_DB_Functions 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											108 | 
										
																			
											| Dependencies | 
											11 | 
										
																			
											| Dependents | 
											12 | 
										
																	
							 
													
								
																			
											| Total lines | 
											778 | 
										
																			
											| Lines of code | 
											436 | 
										
																			
											| Logical lines of code | 
											263 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											194 | 
										
																			
											| Methods | 
											35 | 
										
																			
											| Properties | 
											8 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 35
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| pregReplaceTableName() | 
									A  | 
																	42 | 
													10 | 
													50 | 
							
					
				| dbConnection() | 
									A  | 
																	42 | 
													8 | 
													51 | 
							
					
				| getCharsetAndCollationData() | 
									A  | 
																	48 | 
													8 | 
													33 | 
							
					
				| checkFlagsDbConnection() | 
									S  | 
																	50 | 
													7 | 
													28 | 
							
					
				| getEngineData() | 
									S  | 
																	55 | 
													6 | 
													19 | 
							
					
				| getDefaultCharset() | 
									S  | 
																	57 | 
													5 | 
													16 | 
							
					
				| getTablesReplaceList() | 
									S  | 
																	52 | 
													4 | 
													23 | 
							
					
				| getAdminUsers() | 
									S  | 
																	56 | 
													3 | 
													17 | 
							
					
				| tablesExist() | 
									S  | 
																	57 | 
													3 | 
													16 | 
							
					
				| getUstatIdentifier() | 
									S  | 
																	62 | 
													4 | 
													10 | 
							
					
				| getForeinKeysData() | 
									S  | 
																	59 | 
													3 | 
													13 | 
							
					
				| checkIfUserNameExists() | 
									S  | 
																	61 | 
													3 | 
													11 | 
							
					
				| getDefaultEngine() | 
									S  | 
																	67 | 
													3 | 
													8 | 
							
					
				| getRealCollateByParam() | 
									S  | 
																	65 | 
													3 | 
													8 | 
							
					
				| dropForeignKeys() | 
									S  | 
																	62 | 
													3 | 
													10 | 
							
					
				| getDuplicatorVersion() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| userPwdReset() | 
									S  | 
																	61 | 
													2 | 
													11 | 
							
					
				| getInstance() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| closeDbConnection() | 
									S  | 
																	66 | 
													2 | 
													9 | 
							
					
				| getDefaultCollateOfCharset() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| getCollationsList() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| getRealCharsetByParam() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| getOptionsTableName() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| getPostsTableName() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| getUserTableName() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| getUserMetaTableName() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| getPackagesTableName() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| updatePostsAuthor() | 
									S  | 
																	62 | 
													2 | 
													10 | 
							
					
				| getExcludedTables() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| __construct() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getSupportedEngineList() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| getCharsetsList() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| copyTable() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| renameTable() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| dropTable() | 
									S  | 
																	76 | 
													1 | 
													4 |