- 
		Home
	
 
	- 
Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More
 
- 
1.5.9
 
- 
Code
 
- 
Classes
 
-  DUPX_DB 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											101 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											10 | 
										
																	
							 
													
								
																			
											| Total lines | 
											681 | 
										
																			
											| Lines of code | 
											359 | 
										
																			
											| Logical lines of code | 
											234 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											232 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| setCharset() | 
									A  | 
																	43 | 
													14 | 
													47 | 
							
					
				| connect() | 
									A  | 
																	47 | 
													9 | 
													33 | 
							
					
				| parseDBHost() | 
									S  | 
																	50 | 
													6 | 
													28 | 
							
					
				| getDatabases() | 
									S  | 
																	59 | 
													6 | 
													13 | 
							
					
				| query_log_callback() | 
									S  | 
																	54 | 
													5 | 
													19 | 
							
					
				| hasAbility() | 
									S  | 
																	61 | 
													5 | 
													12 | 
							
					
				| getSupportedCollates() | 
									S  | 
																	57 | 
													4 | 
													17 | 
							
					
				| getDefaultCharSet() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| getSupportedCharSetList() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| getSupportedCollateList() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| queryToArray() | 
									S  | 
																	58 | 
													4 | 
													15 | 
							
					
				| getVersion() | 
									S  | 
																	61 | 
													4 | 
													12 | 
							
					
				| getTables() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| getVariable() | 
									S  | 
																	64 | 
													3 | 
													8 | 
							
					
				| getCurrentDatabase() | 
									S  | 
																	67 | 
													3 | 
													7 | 
							
					
				| testConnection() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| countTables() | 
									S  | 
																	70 | 
													2 | 
													5 | 
							
					
				| countTableRows() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| databaseExists() | 
									S  | 
																	66 | 
													2 | 
													7 | 
							
					
				| selectDB() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| queryColumnToArray() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| queryNoReturn() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| renameTable() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| copyTable() | 
									S  | 
																	62 | 
													2 | 
													10 | 
							
					
				| mysqli_query() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| chunksDelete() | 
									S  | 
																	63 | 
													2 | 
													10 | 
							
					
				| dropTable() | 
									S  | 
																	71 | 
													1 | 
													5 |