Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version branch.issue-362.202008060923

Version Description

Download this release

Release Info

Developer boldgrid
Plugin Icon 128x128 Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
Version branch.issue-362.202008060923
Comparing to
See all releases

Code changes from version branch.issue-342.202007311419 to branch.issue-362.202008060923

admin/class-boldgrid-backup-admin-core.php CHANGED
@@ -1160,9 +1160,19 @@ class Boldgrid_Backup_Admin_Core {
1160
  * database.
1161
  */
1162
  if ( $this->db_omit->is_omit_all() ) {
 
1163
  return true;
1164
  }
1165
 
 
 
 
 
 
 
 
 
 
1166
  // Check if functional.
1167
  if ( ! $this->test->run_functionality_tests() ) {
1168
  // Display an error notice.
@@ -1290,18 +1300,12 @@ class Boldgrid_Backup_Admin_Core {
1290
  }
1291
 
1292
  // Import the dump file.
1293
- $importer = new Boldgrid_Backup_Admin_Db_Import( $this );
1294
  $status = $importer->import( $db_dump_filepath );
1295
 
1296
- /*
1297
- * Take action on failed imports.
1298
- *
1299
- * The importer doesn't always return an array on error. Sometimes we'll get false. In that
1300
- * case, $importer->import will need to be reviewed.
1301
- */
1302
- if ( ! empty( $status['error'] ) || false === $status ) {
1303
- $this->db_restore_error = empty( $status['error'] ) ? __( 'Unknown error', 'boldgrid-backup' ) : $status['error'];
1304
- do_action( 'boldgrid_backup_notice', $this->db_restore_error, 'notice notice-error is-dismissible' );
1305
  return false;
1306
  }
1307
 
@@ -1321,14 +1325,6 @@ class Boldgrid_Backup_Admin_Core {
1321
  $restored_wp_siteurl = get_option( 'siteurl' );
1322
  $restored_wp_home = get_option( 'home' );
1323
 
1324
- $this->logger->add_separator();
1325
- $this->logger->add( 'Settings as read from db using get_option():' );
1326
- $this->logger->add( 'Original siteurl: ' . $wp_siteurl );
1327
- $this->logger->add( 'New siteurl : ' . $restored_wp_siteurl );
1328
- $this->logger->add( 'Original home : ' . $wp_home );
1329
- $this->logger->add( 'New home : ' . $restored_wp_home );
1330
- $this->logger->add_separator();
1331
-
1332
  // If changed, then update the siteurl in the database.
1333
  if ( $restored_wp_siteurl !== $wp_siteurl ) {
1334
  $update_siteurl_success =
@@ -1713,6 +1709,7 @@ class Boldgrid_Backup_Admin_Core {
1713
 
1714
  // Backup the database, if saving an archive file and not a dry run.
1715
  if ( $save && ! $dryrun ) {
 
1716
  $this->logger->add( 'Starting dump of database...' );
1717
  $this->logger->add_memory();
1718
 
@@ -1720,6 +1717,7 @@ class Boldgrid_Backup_Admin_Core {
1720
 
1721
  $this->logger->add( 'Dump of database complete! $status = ' . print_r( $status, 1 ) ); // phpcs:ignore
1722
  $this->logger->add_memory();
 
1723
 
1724
  if ( false === $status || ! empty( $status['error'] ) ) {
1725
  return [
@@ -2404,24 +2402,12 @@ class Boldgrid_Backup_Admin_Core {
2404
  $this->logger->add( 'ZipArchive not available. Unable to set_writable_permissions. Trying restore anyways...' );
2405
  }
2406
 
2407
- // Take note of things before files are restored.
2408
- $original_prefix = $this->db_get->get_prefix();
2409
-
2410
  $this->logger->add( 'Unzipping archive... filepath / ABSPATH: ' . $info['filepath'] . ' / ' . ABSPATH );
2411
  $this->logger->add_memory();
2412
  $unzip_status = ! $dryrun ? unzip_file( $info['filepath'], ABSPATH ) : null;
2413
  $this->logger->add( 'Unzip complete! Status: ' . print_r( $unzip_status, 1 ) ); // phpcs:ignore
2414
  $this->logger->add_memory();
2415
 
2416
- // Take note of things after files are restored.
2417
- $new_prefix = $this->db_get->get_prefix();
2418
-
2419
- $this->logger->add_separator();
2420
- $this->logger->add( 'Settings as read from wp-config.php:' );
2421
- $this->logger->add( 'Original DB prefix: ' . $original_prefix );
2422
- $this->logger->add( 'New DB prefix : ' . $new_prefix );
2423
- $this->logger->add_separator();
2424
-
2425
  if ( is_wp_error( $unzip_status ) ) {
2426
  $error = false;
2427
 
@@ -2447,8 +2433,6 @@ class Boldgrid_Backup_Admin_Core {
2447
  /**
2448
  * Action to take after restoring an archive.
2449
  *
2450
- * This includes things such as fixing .htaccess and wp-config files.
2451
- *
2452
  * @since 1.5.1
2453
  *
2454
  * @param array $info
@@ -2465,17 +2449,28 @@ class Boldgrid_Backup_Admin_Core {
2465
  $db_dump_filepath = $this->get_dump_file( $filepath );
2466
  $this->logger->add( 'Attempting database restoration... $db_dump_filepath = ' . $db_dump_filepath );
2467
  $this->logger->add_memory();
 
 
 
 
 
 
 
2468
 
2469
- // Take a count of our tables before restoring the database. Useful for seeing scope of change.
2470
- $original_table_counts = $this->db_get->prefixed_count( $original_prefix );
 
 
 
 
 
2471
 
2472
- if ( ! $dryrun && ! empty( $db_dump_filepath ) ) {
2473
  // Determine if the dump file is encrypted.
2474
  $this->archive->init( $filepath );
2475
  $db_encrypted = $this->archive->get_attribute( 'encrypt_db' );
2476
 
2477
  // Restore the database and then delete the dump.
2478
- $restore_ok = $this->restore_database( $db_dump_filepath, $new_prefix, $db_encrypted );
2479
  $this->wp_filesystem->delete( $db_dump_filepath, false, 'f' );
2480
 
2481
  // Display notice of deletion status.
@@ -2485,18 +2480,9 @@ class Boldgrid_Backup_Admin_Core {
2485
  return [ 'error' => $error_message ];
2486
  }
2487
  }
2488
-
2489
- // Take count of tables after restoring database. Similar call was made before restoring above.
2490
- $new_table_counts = $this->db_get->prefixed_count( $new_prefix );
2491
-
2492
  $this->logger->add( 'Database restoration complete.' );
2493
  $this->logger->add_memory();
2494
 
2495
- $this->logger->add_separator();
2496
- $this->logger->add( 'Original table counts: ' . print_r( $original_table_counts, 1 ) ); // phpcs:ignore
2497
- $this->logger->add( 'New table counts: ' . print_r( $new_table_counts, 1 ) ); // phpcs:ignore
2498
- $this->logger->add_separator();
2499
-
2500
  // Clear rollback information and restoration cron jobs that may be present.
2501
  $this->auto_rollback->cancel();
2502
 
1160
  * database.
1161
  */
1162
  if ( $this->db_omit->is_omit_all() ) {
1163
+ $this->logger->add( 'No database tables selected to backup. A database export will not be in this backup.' );
1164
  return true;
1165
  }
1166
 
1167
+ /*
1168
+ * Log generic info about database.
1169
+ *
1170
+ * Before we begin to backup the database, let's log how big it is. While troubleshooting, it
1171
+ * will be helpful to know how many tables we're seeing that COULD be backed up, as well as
1172
+ * how large they are.
1173
+ */
1174
+ $this->logger->add( 'Database info: ' . print_r( $this->db_get->prefixed_count(), 1 ) ); // phpcs:ignore
1175
+
1176
  // Check if functional.
1177
  if ( ! $this->test->run_functionality_tests() ) {
1178
  // Display an error notice.
1300
  }
1301
 
1302
  // Import the dump file.
1303
+ $importer = new Boldgrid_Backup_Admin_Db_Import();
1304
  $status = $importer->import( $db_dump_filepath );
1305
 
1306
+ if ( ! empty( $status['error'] ) ) {
1307
+ $this->db_restore_error = $status['error'];
1308
+ do_action( 'boldgrid_backup_notice', $status['error'], 'notice notice-error is-dismissible' );
 
 
 
 
 
 
1309
  return false;
1310
  }
1311
 
1325
  $restored_wp_siteurl = get_option( 'siteurl' );
1326
  $restored_wp_home = get_option( 'home' );
1327
 
 
 
 
 
 
 
 
 
1328
  // If changed, then update the siteurl in the database.
1329
  if ( $restored_wp_siteurl !== $wp_siteurl ) {
1330
  $update_siteurl_success =
1709
 
1710
  // Backup the database, if saving an archive file and not a dry run.
1711
  if ( $save && ! $dryrun ) {
1712
+ $this->logger->add_separator();
1713
  $this->logger->add( 'Starting dump of database...' );
1714
  $this->logger->add_memory();
1715
 
1717
 
1718
  $this->logger->add( 'Dump of database complete! $status = ' . print_r( $status, 1 ) ); // phpcs:ignore
1719
  $this->logger->add_memory();
1720
+ $this->logger->add_separator();
1721
 
1722
  if ( false === $status || ! empty( $status['error'] ) ) {
1723
  return [
2402
  $this->logger->add( 'ZipArchive not available. Unable to set_writable_permissions. Trying restore anyways...' );
2403
  }
2404
 
 
 
 
2405
  $this->logger->add( 'Unzipping archive... filepath / ABSPATH: ' . $info['filepath'] . ' / ' . ABSPATH );
2406
  $this->logger->add_memory();
2407
  $unzip_status = ! $dryrun ? unzip_file( $info['filepath'], ABSPATH ) : null;
2408
  $this->logger->add( 'Unzip complete! Status: ' . print_r( $unzip_status, 1 ) ); // phpcs:ignore
2409
  $this->logger->add_memory();
2410
 
 
 
 
 
 
 
 
 
 
2411
  if ( is_wp_error( $unzip_status ) ) {
2412
  $error = false;
2413
 
2433
  /**
2434
  * Action to take after restoring an archive.
2435
  *
 
 
2436
  * @since 1.5.1
2437
  *
2438
  * @param array $info
2449
  $db_dump_filepath = $this->get_dump_file( $filepath );
2450
  $this->logger->add( 'Attempting database restoration... $db_dump_filepath = ' . $db_dump_filepath );
2451
  $this->logger->add_memory();
2452
+ if ( ! $dryrun && ! empty( $db_dump_filepath ) ) {
2453
+ $db_prefix = null;
2454
+
2455
+ // Get the database table prefix from the new "wp-config.php" file, if exists.
2456
+ if ( $this->wp_filesystem->exists( ABSPATH . 'wp-config.php' ) ) {
2457
+ $wpcfg_contents = $this->wp_filesystem->get_contents( ABSPATH . 'wp-config.php' );
2458
+ }
2459
 
2460
+ if ( ! empty( $wpcfg_contents ) ) {
2461
+ preg_match( '#\$table_prefix.*?=.*?' . "'" . '(.*?)' . "'" . ';#', $wpcfg_contents, $matches );
2462
+
2463
+ if ( ! empty( $matches[1] ) ) {
2464
+ $db_prefix = $matches[1];
2465
+ }
2466
+ }
2467
 
 
2468
  // Determine if the dump file is encrypted.
2469
  $this->archive->init( $filepath );
2470
  $db_encrypted = $this->archive->get_attribute( 'encrypt_db' );
2471
 
2472
  // Restore the database and then delete the dump.
2473
+ $restore_ok = $this->restore_database( $db_dump_filepath, $db_prefix, $db_encrypted );
2474
  $this->wp_filesystem->delete( $db_dump_filepath, false, 'f' );
2475
 
2476
  // Display notice of deletion status.
2480
  return [ 'error' => $error_message ];
2481
  }
2482
  }
 
 
 
 
2483
  $this->logger->add( 'Database restoration complete.' );
2484
  $this->logger->add_memory();
2485
 
 
 
 
 
 
2486
  // Clear rollback information and restoration cron jobs that may be present.
2487
  $this->auto_rollback->cancel();
2488
 
admin/class-boldgrid-backup-admin-db-get.php CHANGED
@@ -85,35 +85,6 @@ class Boldgrid_Backup_Admin_Db_Get {
85
  return $tables;
86
  }
87
 
88
- /**
89
- * Get our database prefix, as defined in wp-config.php
90
- *
91
- * Prior to 1.14.2, this code lived within Boldgrid_Backup_Admin_Core and was ran prior to restoring
92
- * a database. It has been moved here for reusability.
93
- *
94
- * @since 1.14.2
95
- *
96
- * @return string
97
- */
98
- public function get_prefix() {
99
- $db_prefix = null;
100
-
101
- // Get the database table prefix from the new "wp-config.php" file, if exists.
102
- if ( $this->core->wp_filesystem->exists( ABSPATH . 'wp-config.php' ) ) {
103
- $wpcfg_contents = $this->core->wp_filesystem->get_contents( ABSPATH . 'wp-config.php' );
104
- }
105
-
106
- if ( ! empty( $wpcfg_contents ) ) {
107
- preg_match( '#\$table_prefix.*?=.*?' . "'" . '(.*?)' . "'" . ';#', $wpcfg_contents, $matches );
108
-
109
- if ( ! empty( $matches[1] ) ) {
110
- $db_prefix = $matches[1];
111
- }
112
- }
113
-
114
- return $db_prefix;
115
- }
116
-
117
  /**
118
  * Filter an array of table names by table type.
119
  *
@@ -148,20 +119,17 @@ class Boldgrid_Backup_Admin_Db_Get {
148
  *
149
  * @global wpdb $wpdb The WordPress database class object.
150
  *
151
- * @param string $prefix Table prefix.
152
  * @return array
153
  */
154
- public function prefixed( $prefix = null ) {
155
  global $wpdb;
156
 
157
- $prefix = is_null( $prefix ) ? $wpdb->prefix : $prefix;
158
-
159
  $prefix_tables = array();
160
 
161
  $results = $wpdb->get_results(
162
  $wpdb->prepare(
163
  'SHOW TABLES LIKE %s;',
164
- $wpdb->esc_like( $prefix ) . '%'
165
  ),
166
  ARRAY_N
167
  );
@@ -185,14 +153,12 @@ class Boldgrid_Backup_Admin_Db_Get {
185
  *
186
  * @return array
187
  */
188
- public function prefixed_count( $prefix ) {
189
  global $wpdb;
190
 
191
- $prefix = is_null( $prefix ) ? $wpdb->prefix : $prefix;
192
-
193
  $return = array();
194
 
195
- $tables = $this->prefixed( $prefix );
196
 
197
  foreach ( $tables as $table ) {
198
  $num = $wpdb->get_var( 'SELECT COUNT(*) FROM `' . $table . '`;' ); // phpcs:ignore WordPress.WP.PreparedSQL.NotPrepared
85
  return $tables;
86
  }
87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  /**
89
  * Filter an array of table names by table type.
90
  *
119
  *
120
  * @global wpdb $wpdb The WordPress database class object.
121
  *
 
122
  * @return array
123
  */
124
+ public function prefixed() {
125
  global $wpdb;
126
 
 
 
127
  $prefix_tables = array();
128
 
129
  $results = $wpdb->get_results(
130
  $wpdb->prepare(
131
  'SHOW TABLES LIKE %s;',
132
+ $wpdb->esc_like( $wpdb->prefix ) . '%'
133
  ),
134
  ARRAY_N
135
  );
153
  *
154
  * @return array
155
  */
156
+ public function prefixed_count() {
157
  global $wpdb;
158
 
 
 
159
  $return = array();
160
 
161
+ $tables = $this->prefixed();
162
 
163
  foreach ( $tables as $table ) {
164
  $num = $wpdb->get_var( 'SELECT COUNT(*) FROM `' . $table . '`;' ); // phpcs:ignore WordPress.WP.PreparedSQL.NotPrepared
admin/class-boldgrid-backup-admin-db-import.php CHANGED
@@ -76,7 +76,6 @@ class Boldgrid_Backup_Admin_Db_Import {
76
  */
77
  public function import( $file ) {
78
  $lines = $this->get_lines( $file );
79
- $this->logger_add( __METHOD__ . ' lines found: ' . count( $lines ) );
80
 
81
  if ( false === $lines ) {
82
  return array(
@@ -89,7 +88,6 @@ class Boldgrid_Backup_Admin_Db_Import {
89
  }
90
 
91
  $lines = $this->fix_view_statements( $lines );
92
- $this->logger_add( __METHOD__ . ' lines found after fixing view statements: ' . count( $lines ) );
93
 
94
  if ( true === empty( $lines ) ) {
95
  return array(
@@ -145,40 +143,21 @@ class Boldgrid_Backup_Admin_Db_Import {
145
  * @since 1.6.0
146
  *
147
  * @param array $lines MySQL dump file lines.
148
- * @return bool True on success, An array with an 'error' on failure.
149
  */
150
  public function import_lines( $lines ) {
151
- $this->logger_add( __METHOD__ . ' Method starting...' );
152
-
153
  if ( empty( $lines ) ) {
154
- return array(
155
- 'error' => ( __( 'Empty data passed to db restore.', 'boldgrid-backup' ) ),
156
- );
157
  }
158
 
159
  /* phpcs:disable WordPress.DB.RestrictedClasses */
160
  $db = new PDO( sprintf( 'mysql:host=%1$s;dbname=%2$s;', DB_HOST, DB_NAME ), DB_USER, DB_PASSWORD );
161
 
162
- /*
163
- * Build a single sql command to run. There will be many, but we'll build and execute them one
164
- * at a time.
165
- *
166
- * A sql command may span more than one line. As we loop through each line, we add it to $templine
167
- * until we've reached the end of the command, a ';'.
168
- */
169
  $templine = '';
170
 
171
- // Stats for our log file. Added to the log at the end of method.
172
- $stats = array(
173
- 'skip_count' => 0,
174
- 'exec_count' => 0,
175
- 'affected_rows_count' => 0,
176
- );
177
-
178
- foreach ( $lines as $line_count => $line ) {
179
  // Skip comments and empty lines.
180
  if ( substr( $line, 0, 2 ) === '--' || empty( $line ) ) {
181
- $stats['skip_count']++;
182
  continue;
183
  }
184
 
@@ -186,56 +165,15 @@ class Boldgrid_Backup_Admin_Db_Import {
186
 
187
  // Check if this is the end of the query.
188
  if ( substr( trim( $line ), -1, 1 ) === ';' ) {
189
- // Run the import query.
190
  $affected_rows = $this->exec_import( $db, $templine );
191
-
192
- // If the import failed, try to fix the sql and run once more.
193
  if ( false === $affected_rows ) {
194
- $newline = $this->fix_line( $db, $templine );
195
- $affected_rows = $newline !== $templine ? $this->exec_import( $db, $newline ) : $affected_rows;
196
- }
197
-
198
- // Update stats for the log file.
199
- $stats['exec_count']++;
200
- $stats['affected_rows_count'] += $affected_rows;
201
-
202
- // Take action if there was an error running the import query.
203
- if ( false === $affected_rows ) {
204
- // Get our error info.
205
- $error_info = $db->errorInfo();
206
-
207
- // Save it to the log file.
208
- $this->logger_add( __METHOD__ . ' failed. Info: ' . print_r( array( // phpcs:ignore
209
- 'line cont' => $line_count + 1,
210
- 'line' => $templine,
211
- 'errorInfo' => $db->errorInfo(),
212
- ), 1 ) );
213
-
214
- /*
215
- * Show the error to the user.
216
- *
217
- * Over the years, it's been an edge case for the sql command to fail. Also, the
218
- * format of the $db->errorInfo() array sounds like it varies. Comments in the php
219
- * documentation indicate SQL Server returns 5 items in the array instead of 3.
220
- *
221
- * Because of the above, we'll simply print_r the $db->errorInfo() info rather than
222
- * parse it and try to make it look nice.
223
- */
224
- return array(
225
- 'error' => sprintf(
226
- /* translators: 1: Error info as to why the db restore failed. */
227
- __( 'Error restoring database: %1$s', 'boldgrid-backup' ),
228
- '<pre style="white-space:break-spaces;">' . print_r( $db->errorInfo(), 1 ) . '</pre>' // phpcs:ignore
229
- ),
230
- );
231
  }
232
 
233
  $templine = '';
234
  }
235
  }
236
 
237
- $this->logger_add( __METHOD__ . ' stats: ' . print_r( $stats, 1 ) ); // phpcs:ignore
238
-
239
  return true;
240
  }
241
 
@@ -264,25 +202,6 @@ class Boldgrid_Backup_Admin_Db_Import {
264
  return $success;
265
  }
266
 
267
- /**
268
- * Add a message to the logger.
269
- *
270
- * This class is usually used by Boldgrid_Backup_Admin_Core, but as you can see from the constructor,
271
- * core does not have to be passed in to use this class.
272
- *
273
- * This method will add a message to the logger, if the logger exists. Otherwise, it will silently
274
- * do nothing.
275
- *
276
- * @since SINCEVERSION
277
- *
278
- * @param string $message The message to add to the log.
279
- */
280
- public function logger_add( $message ) {
281
- if ( ! empty( $this->core->logger ) ) {
282
- $this->core->logger->add( $message );
283
- }
284
- }
285
-
286
  /**
287
  * Fix View Statements.
288
  *
@@ -355,40 +274,6 @@ class Boldgrid_Backup_Admin_Db_Import {
355
  return $line_fixed_definer;
356
  }
357
 
358
- /**
359
- * Fix our line to import.
360
- *
361
- * Sometimes, when executing a command in self::import_lines(), a (1) known and (2) fixable error
362
- * occurs. This methd attempts to find and fix those errors so the command can be tried again.
363
- *
364
- * @since SINCEVERSION
365
- *
366
- * @param pdo $db
367
- * @param string $line An sql command.
368
- * @return string The updated sql command.
369
- */
370
- public function fix_line( $db, $line ) {
371
- // Array format not guaranteed, convert to string for searchability. See self::import_lines comment.
372
- $error_info = implode( ' ', $db->errorInfo() );
373
-
374
- $is_syntax_error = strpos( $error_info, '1064' ) !== false;
375
- $is_checksum_error = strpos( $error_info, 'PAGE_CHECKSUM=1' ) !== false;
376
-
377
- /*
378
- * Fix PAGE_CHECKSUM=1 issues.
379
- *
380
- * This is a syntax error caused by lack of feature support. Can happen when source / destination
381
- * sql servers are different.
382
- */
383
- if ( $is_syntax_error && $is_checksum_error ) {
384
- $line = str_replace( 'PAGE_CHECKSUM=1', 'CHECKSUM=1', $line );
385
- $this->logger_add( __METHOD__ . ' Replacing PAGE_CHECKSUM=1 with CHECKSUM=1' );
386
- }
387
-
388
- return $line;
389
-
390
- }
391
-
392
  /**
393
  * Tests if database user has specific privileges.
394
  *
76
  */
77
  public function import( $file ) {
78
  $lines = $this->get_lines( $file );
 
79
 
80
  if ( false === $lines ) {
81
  return array(
88
  }
89
 
90
  $lines = $this->fix_view_statements( $lines );
 
91
 
92
  if ( true === empty( $lines ) ) {
93
  return array(
143
  * @since 1.6.0
144
  *
145
  * @param array $lines MySQL dump file lines.
146
+ * @return bool
147
  */
148
  public function import_lines( $lines ) {
 
 
149
  if ( empty( $lines ) ) {
150
+ return false;
 
 
151
  }
152
 
153
  /* phpcs:disable WordPress.DB.RestrictedClasses */
154
  $db = new PDO( sprintf( 'mysql:host=%1$s;dbname=%2$s;', DB_HOST, DB_NAME ), DB_USER, DB_PASSWORD );
155
 
 
 
 
 
 
 
 
156
  $templine = '';
157
 
158
+ foreach ( $lines as $line ) {
 
 
 
 
 
 
 
159
  // Skip comments and empty lines.
160
  if ( substr( $line, 0, 2 ) === '--' || empty( $line ) ) {
 
161
  continue;
162
  }
163
 
165
 
166
  // Check if this is the end of the query.
167
  if ( substr( trim( $line ), -1, 1 ) === ';' ) {
 
168
  $affected_rows = $this->exec_import( $db, $templine );
 
 
169
  if ( false === $affected_rows ) {
170
+ return false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  }
172
 
173
  $templine = '';
174
  }
175
  }
176
 
 
 
177
  return true;
178
  }
179
 
202
  return $success;
203
  }
204
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
205
  /**
206
  * Fix View Statements.
207
  *
274
  return $line_fixed_definer;
275
  }
276
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
  /**
278
  * Tests if database user has specific privileges.
279
  *
coverage.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1596219675">
3
- <project timestamp="1596219675">
4
  <package name="Boldgrid\Backup\Admin\Card">
5
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-amazon-s3.php">
6
  <class name="Amazon_S3" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Amazon">
@@ -2691,7 +2691,7 @@
2691
  </file>
2692
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
2693
  <class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
2694
- <metrics complexity="234" methods="29" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1127" coveredstatements="556" elements="1156" coveredelements="560"/>
2695
  </class>
2696
  <line num="600" type="method" name="__construct" visibility="public" complexity="8" crap="8.07" count="29"/>
2697
  <line num="605" type="stmt" count="29"/>
@@ -2977,193 +2977,192 @@
2977
  <line num="1157" type="method" name="backup_database" visibility="private" complexity="7" crap="13.12" count="4"/>
2978
  <line num="1162" type="stmt" count="4"/>
2979
  <line num="1163" type="stmt" count="0"/>
2980
- <line num="1167" type="stmt" count="4"/>
2981
- <line num="1169" type="stmt" count="0"/>
2982
- <line num="1170" type="stmt" count="0"/>
2983
  <line num="1174" type="stmt" count="4"/>
2984
  <line num="1177" type="stmt" count="4"/>
2985
- <line num="1180" type="stmt" count="4"/>
2986
- <line num="1182" type="stmt" count="0"/>
2987
- <line num="1184" type="stmt" count="0"/>
2988
- <line num="1186" type="stmt" count="0"/>
2989
- <line num="1187" type="stmt" count="0"/>
2990
- <line num="1191" type="stmt" count="4"/>
2991
- <line num="1194" type="stmt" count="4"/>
2992
- <line num="1196" type="stmt" count="4"/>
2993
- <line num="1199" type="stmt" count="4"/>
2994
- <line num="1200" type="stmt" count="4"/>
2995
- <line num="1201" type="stmt" count="0"/>
2996
- <line num="1205" type="stmt" count="4"/>
2997
  <line num="1206" type="stmt" count="4"/>
2998
- <line num="1208" type="stmt" count="0"/>
2999
- <line num="1210" type="stmt" count="0"/>
3000
- <line num="1212" type="stmt" count="0"/>
3001
- <line num="1213" type="stmt" count="0"/>
3002
  <line num="1215" type="stmt" count="4"/>
3003
  <line num="1216" type="stmt" count="4"/>
3004
  <line num="1218" type="stmt" count="0"/>
3005
  <line num="1220" type="stmt" count="0"/>
3006
  <line num="1222" type="stmt" count="0"/>
3007
  <line num="1223" type="stmt" count="0"/>
3008
- <line num="1227" type="stmt" count="4"/>
3009
- <line num="1230" type="stmt" count="4"/>
3010
- <line num="1250" type="method" name="restore_database" visibility="private" complexity="11" crap="28.84" count="1"/>
3011
- <line num="1252" type="stmt" count="1"/>
3012
- <line num="1254" type="stmt" count="0"/>
3013
- <line num="1255" type="stmt" count="0"/>
3014
- <line num="1256" type="stmt" count="0"/>
3015
- <line num="1258" type="stmt" count="0"/>
3016
- <line num="1260" type="stmt" count="0"/>
3017
- <line num="1264" type="stmt" count="1"/>
 
 
3018
  <line num="1266" type="stmt" count="0"/>
3019
  <line num="1268" type="stmt" count="0"/>
3020
- <line num="1272" type="stmt" count="1"/>
3021
- <line num="1275" type="stmt" count="1"/>
3022
- <line num="1278" type="stmt" count="1"/>
3023
- <line num="1279" type="stmt" count="1"/>
3024
- <line num="1281" type="stmt" count="1"/>
3025
- <line num="1283" type="stmt" count="1"/>
3026
- <line num="1289" type="stmt" count="0"/>
3027
- <line num="1290" type="stmt" count="0"/>
 
3028
  <line num="1293" type="stmt" count="1"/>
3029
- <line num="1294" type="stmt" count="1"/>
3030
- <line num="1302" type="stmt" count="1"/>
3031
- <line num="1303" type="stmt" count="0"/>
3032
- <line num="1304" type="stmt" count="0"/>
3033
- <line num="1305" type="stmt" count="0"/>
3034
- <line num="1309" type="stmt" count="1"/>
3035
- <line num="1311" type="stmt" count="0"/>
3036
- <line num="1314" type="stmt" count="0"/>
 
3037
  <line num="1315" type="stmt" count="0"/>
3038
- <line num="1318" type="stmt" count="1"/>
3039
- <line num="1321" type="stmt" count="1"/>
3040
  <line num="1322" type="stmt" count="1"/>
3041
- <line num="1324" type="stmt" count="1"/>
3042
  <line num="1325" type="stmt" count="1"/>
3043
  <line num="1326" type="stmt" count="1"/>
3044
- <line num="1327" type="stmt" count="1"/>
3045
- <line num="1328" type="stmt" count="1"/>
3046
  <line num="1329" type="stmt" count="1"/>
3047
- <line num="1330" type="stmt" count="1"/>
3048
- <line num="1333" type="stmt" count="1"/>
3049
  <line num="1335" type="stmt" count="0"/>
 
3050
  <line num="1337" type="stmt" count="0"/>
3051
- <line num="1339" type="stmt" count="0"/>
3052
  <line num="1340" type="stmt" count="0"/>
3053
- <line num="1341" type="stmt" count="0"/>
3054
  <line num="1342" type="stmt" count="0"/>
 
3055
  <line num="1344" type="stmt" count="0"/>
3056
- <line num="1346" type="stmt" count="0"/>
3057
- <line num="1347" type="stmt" count="0"/>
3058
- <line num="1348" type="stmt" count="0"/>
3059
- <line num="1351" type="stmt" count="1"/>
3060
- <line num="1354" type="stmt" count="0"/>
3061
- <line num="1356" type="stmt" count="0"/>
3062
- <line num="1357" type="stmt" count="0"/>
3063
- <line num="1360" type="stmt" count="1"/>
3064
- <line num="1371" type="method" name="get_filelist" visibility="public" complexity="10" crap="10.11" count="4"/>
3065
- <line num="1374" type="stmt" count="4"/>
3066
- <line num="1375" type="stmt" count="0"/>
3067
- <line num="1379" type="stmt" count="4"/>
3068
- <line num="1382" type="stmt" count="4"/>
3069
- <line num="1383" type="stmt" count="0"/>
3070
  <line num="1387" type="stmt" count="4"/>
3071
- <line num="1390" type="stmt" count="4"/>
3072
  <line num="1391" type="stmt" count="4"/>
3073
- <line num="1392" type="stmt" count="4"/>
3074
- <line num="1395" type="stmt" count="4"/>
3075
- <line num="1398" type="stmt" count="4"/>
 
 
3076
  <line num="1409" type="stmt" count="4"/>
3077
- <line num="1410" type="stmt" count="4"/>
3078
  <line num="1411" type="stmt" count="4"/>
3079
- <line num="1412" type="stmt" count="4"/>
3080
  <line num="1413" type="stmt" count="4"/>
3081
- <line num="1415" type="stmt" count="4"/>
3082
- <line num="1417" type="stmt" count="4"/>
 
3083
  <line num="1420" type="stmt" count="4"/>
3084
- <line num="1421" type="stmt" count="0"/>
3085
  <line num="1423" type="stmt" count="4"/>
3086
  <line num="1424" type="stmt" count="4"/>
3087
- <line num="1427" type="stmt" count="4"/>
3088
- <line num="1428" type="stmt" count="4"/>
3089
- <line num="1431" type="stmt" count="0"/>
3090
- <line num="1433" type="stmt" count="4"/>
3091
- <line num="1436" type="stmt" count="4"/>
3092
- <line num="1438" type="stmt" count="4"/>
3093
  <line num="1439" type="stmt" count="4"/>
3094
- <line num="1441" type="stmt" count="4"/>
3095
  <line num="1443" type="stmt" count="4"/>
3096
- <line num="1447" type="stmt" count="4"/>
 
3097
  <line num="1450" type="stmt" count="4"/>
3098
- <line num="1453" type="stmt" count="4"/>
 
3099
  <line num="1454" type="stmt" count="4"/>
3100
- <line num="1455" type="stmt" count="4"/>
3101
- <line num="1456" type="stmt" count="4"/>
3102
- <line num="1458" type="stmt" count="4"/>
3103
- <line num="1461" type="stmt" count="4"/>
3104
- <line num="1477" type="method" name="get_filtered_filelist" visibility="public" complexity="8" crap="8.30" count="4"/>
3105
- <line num="1480" type="stmt" count="4"/>
3106
- <line num="1481" type="stmt" count="0"/>
3107
- <line num="1485" type="stmt" count="4"/>
3108
- <line num="1488" type="stmt" count="4"/>
3109
- <line num="1489" type="stmt" count="0"/>
3110
- <line num="1493" type="stmt" count="4"/>
3111
  <line num="1496" type="stmt" count="4"/>
3112
- <line num="1499" type="stmt" count="4"/>
3113
- <line num="1500" type="stmt" count="4"/>
3114
  <line num="1502" type="stmt" count="4"/>
3115
- <line num="1503" type="stmt" count="0"/>
3116
  <line num="1506" type="stmt" count="4"/>
3117
  <line num="1507" type="stmt" count="4"/>
3118
  <line num="1510" type="stmt" count="4"/>
3119
- <line num="1511" type="stmt" count="4"/>
3120
- <line num="1514" type="stmt" count="4"/>
3121
- <line num="1517" type="stmt" count="4"/>
3122
- <line num="1520" type="stmt" count="4"/>
3123
- <line num="1532" type="method" name="generate_archive_path" visibility="public" complexity="3" crap="3.00" count="4"/>
3124
- <line num="1534" type="stmt" count="4"/>
3125
- <line num="1537" type="stmt" count="4"/>
3126
- <line num="1540" type="stmt" count="4"/>
3127
- <line num="1541" type="stmt" count="0"/>
3128
- <line num="1545" type="stmt" count="4"/>
 
3129
  <line num="1548" type="stmt" count="4"/>
 
3130
  <line num="1550" type="stmt" count="4"/>
3131
  <line num="1551" type="stmt" count="4"/>
3132
  <line num="1552" type="stmt" count="4"/>
3133
- <line num="1553" type="stmt" count="4"/>
3134
- <line num="1554" type="stmt" count="4"/>
3135
  <line num="1555" type="stmt" count="4"/>
3136
- <line num="1556" type="stmt" count="4"/>
3137
- <line num="1559" type="stmt" count="4"/>
3138
  <line num="1562" type="stmt" count="4"/>
3139
- <line num="1564" type="stmt" count="4"/>
3140
- <line num="1566" type="stmt" count="4"/>
3141
- <line num="1567" type="stmt" count="4"/>
3142
- <line num="1569" type="stmt" count="4"/>
3143
- <line num="1584" type="method" name="archive_files" visibility="public" complexity="49" crap="69.65" count="4"/>
3144
- <line num="1585" type="stmt" count="4"/>
3145
- <line num="1587" type="stmt" count="4"/>
3146
  <line num="1588" type="stmt" count="4"/>
3147
- <line num="1590" type="stmt" count="4"/>
3148
- <line num="1592" type="stmt" count="4"/>
 
3149
  <line num="1598" type="stmt" count="4"/>
3150
- <line num="1600" type="stmt" count="4"/>
3151
- <line num="1601" type="stmt" count="4"/>
3152
- <line num="1602" type="stmt" count="4"/>
3153
  <line num="1609" type="stmt" count="4"/>
3154
- <line num="1611" type="stmt" count="4"/>
3155
- <line num="1612" type="stmt" count="4"/>
3156
- <line num="1613" type="stmt" count="4"/>
3157
- <line num="1624" type="stmt" count="4"/>
3158
- <line num="1625" type="stmt" count="0"/>
3159
- <line num="1626" type="stmt" count="0"/>
3160
- <line num="1627" type="stmt" count="0"/>
3161
- <line num="1631" type="stmt" count="4"/>
3162
- <line num="1633" type="stmt" count="0"/>
3163
- <line num="1635" type="stmt" count="0"/>
3164
- <line num="1636" type="stmt" count="0"/>
3165
- <line num="1638" type="stmt" count="0"/>
3166
- <line num="1642" type="stmt" count="4"/>
 
3167
  <line num="1651" type="stmt" count="4"/>
3168
  <line num="1652" type="stmt" count="4"/>
3169
  <line num="1653" type="stmt" count="4"/>
@@ -3171,14 +3170,14 @@
3171
  <line num="1655" type="stmt" count="4"/>
3172
  <line num="1656" type="stmt" count="4"/>
3173
  <line num="1657" type="stmt" count="4"/>
3174
- <line num="1658" type="stmt" count="4"/>
3175
  <line num="1659" type="stmt" count="4"/>
3176
  <line num="1660" type="stmt" count="4"/>
3177
  <line num="1661" type="stmt" count="4"/>
3178
- <line num="1663" type="stmt" count="4"/>
3179
  <line num="1664" type="stmt" count="4"/>
3180
  <line num="1665" type="stmt" count="4"/>
3181
  <line num="1666" type="stmt" count="4"/>
 
3182
  <line num="1668" type="stmt" count="4"/>
3183
  <line num="1669" type="stmt" count="4"/>
3184
  <line num="1670" type="stmt" count="4"/>
@@ -3188,58 +3187,58 @@
3188
  <line num="1674" type="stmt" count="4"/>
3189
  <line num="1675" type="stmt" count="4"/>
3190
  <line num="1676" type="stmt" count="4"/>
3191
- <line num="1677" type="stmt" count="4"/>
3192
- <line num="1678" type="stmt" count="4"/>
3193
  <line num="1679" type="stmt" count="4"/>
3194
- <line num="1680" type="stmt" count="4"/>
3195
- <line num="1683" type="stmt" count="4"/>
3196
- <line num="1684" type="stmt" count="0"/>
3197
- <line num="1685" type="stmt" count="4"/>
3198
- <line num="1686" type="stmt" count="0"/>
 
 
3199
  <line num="1687" type="stmt" count="0"/>
3200
- <line num="1688" type="stmt" count="4"/>
3201
- <line num="1689" type="stmt" count="0"/>
3202
- <line num="1690" type="stmt" count="4"/>
3203
- <line num="1691" type="stmt" count="0"/>
3204
- <line num="1692" type="stmt" count="0"/>
3205
- <line num="1693" type="stmt" count="4"/>
3206
- <line num="1696" type="stmt" count="4"/>
3207
- <line num="1699" type="stmt" count="4"/>
3208
- <line num="1700" type="stmt" count="0"/>
3209
- <line num="1704" type="stmt" count="4"/>
3210
  <line num="1705" type="stmt" count="4"/>
3211
- <line num="1706" type="stmt" count="4"/>
3212
- <line num="1709" type="stmt" count="4"/>
3213
  <line num="1712" type="stmt" count="4"/>
3214
- <line num="1715" type="stmt" count="4"/>
 
3215
  <line num="1716" type="stmt" count="4"/>
3216
- <line num="1717" type="stmt" count="4"/>
3217
  <line num="1719" type="stmt" count="4"/>
3218
- <line num="1721" type="stmt" count="4"/>
3219
  <line num="1722" type="stmt" count="4"/>
3220
- <line num="1724" type="stmt" count="4"/>
 
3221
  <line num="1726" type="stmt" count="0"/>
3222
- <line num="1727" type="stmt" count="0"/>
3223
- <line num="1728" type="stmt" count="0"/>
3224
- <line num="1730" type="stmt" count="4"/>
3225
- <line num="1733" type="stmt" count="4"/>
3226
- <line num="1736" type="stmt" count="4"/>
3227
- <line num="1739" type="stmt" count="4"/>
3228
- <line num="1742" type="stmt" count="4"/>
3229
  <line num="1743" type="stmt" count="0"/>
3230
- <line num="1745" type="stmt" count="0"/>
3231
  <line num="1746" type="stmt" count="0"/>
3232
- <line num="1748" type="stmt" count="0"/>
3233
- <line num="1752" type="stmt" count="4"/>
3234
- <line num="1755" type="stmt" count="4"/>
3235
- <line num="1756" type="stmt" count="0"/>
3236
- <line num="1760" type="stmt" count="4"/>
3237
- <line num="1761" type="stmt" count="4"/>
 
3238
  <line num="1764" type="stmt" count="4"/>
3239
  <line num="1765" type="stmt" count="4"/>
3240
- <line num="1766" type="stmt" count="4"/>
3241
  <line num="1767" type="stmt" count="4"/>
3242
  <line num="1769" type="stmt" count="4"/>
 
3243
  <line num="1771" type="stmt" count="4"/>
3244
  <line num="1772" type="stmt" count="4"/>
3245
  <line num="1773" type="stmt" count="4"/>
@@ -3247,53 +3246,53 @@
3247
  <line num="1775" type="stmt" count="4"/>
3248
  <line num="1776" type="stmt" count="4"/>
3249
  <line num="1777" type="stmt" count="4"/>
3250
- <line num="1778" type="stmt" count="4"/>
3251
  <line num="1779" type="stmt" count="4"/>
3252
- <line num="1781" type="stmt" count="4"/>
3253
  <line num="1793" type="stmt" count="4"/>
3254
- <line num="1795" type="stmt" count="4"/>
3255
- <line num="1796" type="stmt" count="4"/>
3256
  <line num="1799" type="stmt" count="4"/>
3257
  <line num="1801" type="stmt" count="4"/>
 
3258
  <line num="1803" type="stmt" count="4"/>
3259
- <line num="1804" type="stmt" count="4"/>
3260
  <line num="1805" type="stmt" count="4"/>
3261
- <line num="1807" type="stmt" count="4"/>
3262
- <line num="1813" type="stmt" count="4"/>
3263
- <line num="1814" type="stmt" count="4"/>
 
3264
  <line num="1815" type="stmt" count="1"/>
3265
- <line num="1816" type="stmt" count="1"/>
3266
- <line num="1817" type="stmt" count="1"/>
3267
  <line num="1818" type="stmt" count="4"/>
3268
  <line num="1819" type="stmt" count="4"/>
3269
- <line num="1820" type="stmt" count="4"/>
3270
- <line num="1821" type="stmt" count="4"/>
3271
- <line num="1822" type="stmt" count="1"/>
3272
- <line num="1824" type="stmt" count="0"/>
3273
- <line num="1825" type="stmt" count="0"/>
3274
- <line num="1826" type="stmt" count="1"/>
3275
- <line num="1828" type="stmt" count="0"/>
3276
- <line num="1829" type="stmt" count="0"/>
3277
- <line num="1830" type="stmt" count="1"/>
3278
- <line num="1832" type="stmt" count="0"/>
3279
- <line num="1833" type="stmt" count="0"/>
3280
- <line num="1834" type="stmt" count="1"/>
3281
- <line num="1836" type="stmt" count="0"/>
3282
- <line num="1837" type="stmt" count="0"/>
3283
  <line num="1838" type="stmt" count="1"/>
3284
  <line num="1839" type="stmt" count="1"/>
3285
- <line num="1840" type="stmt" count="1"/>
3286
- <line num="1841" type="stmt" count="1"/>
3287
  <line num="1842" type="stmt" count="0"/>
3288
- <line num="1843" type="stmt" count="0"/>
3289
- <line num="1844" type="stmt" count="0"/>
3290
  <line num="1845" type="stmt" count="4"/>
3291
- <line num="1847" type="stmt" count="4"/>
3292
- <line num="1848" type="stmt" count="4"/>
3293
- <line num="1851" type="stmt" count="4"/>
3294
- <line num="1852" type="stmt" count="4"/>
3295
- <line num="1853" type="stmt" count="0"/>
3296
- <line num="1854" type="stmt" count="0"/>
 
3297
  <line num="1855" type="stmt" count="4"/>
3298
  <line num="1856" type="stmt" count="4"/>
3299
  <line num="1857" type="stmt" count="4"/>
@@ -3301,214 +3300,214 @@
3301
  <line num="1859" type="stmt" count="4"/>
3302
  <line num="1860" type="stmt" count="4"/>
3303
  <line num="1861" type="stmt" count="4"/>
3304
- <line num="1862" type="stmt" count="4"/>
3305
  <line num="1863" type="stmt" count="4"/>
3306
- <line num="1865" type="stmt" count="4"/>
3307
  <line num="1866" type="stmt" count="4"/>
3308
  <line num="1868" type="stmt" count="4"/>
3309
- <line num="1870" type="stmt" count="4"/>
3310
- <line num="1871" type="stmt" count="0"/>
3311
- <line num="1872" type="stmt" count="0"/>
3312
- <line num="1874" type="stmt" count="4"/>
3313
- <line num="1875" type="stmt" count="0"/>
3314
  <line num="1878" type="stmt" count="4"/>
3315
  <line num="1880" type="stmt" count="4"/>
3316
- <line num="1882" type="stmt" count="4"/>
3317
- <line num="1885" type="stmt" count="4"/>
3318
- <line num="1888" type="stmt" count="4"/>
3319
- <line num="1889" type="stmt" count="4"/>
3320
- <line num="1892" type="stmt" count="4"/>
 
3321
  <line num="1895" type="stmt" count="4"/>
3322
- <line num="1896" type="stmt" count="4"/>
3323
- <line num="1897" type="stmt" count="4"/>
3324
- <line num="1930" type="stmt" count="4"/>
3325
- <line num="1941" type="stmt" count="4"/>
3326
  <line num="1942" type="stmt" count="4"/>
 
3327
  <line num="1944" type="stmt" count="4"/>
3328
- <line num="1945" type="stmt" count="4"/>
3329
  <line num="1946" type="stmt" count="4"/>
3330
- <line num="1948" type="stmt" count="4"/>
3331
- <line num="1949" type="stmt" count="4"/>
3332
  <line num="1952" type="stmt" count="4"/>
3333
  <line num="1954" type="stmt" count="4"/>
3334
- <line num="1956" type="stmt" count="4"/>
3335
  <line num="1959" type="stmt" count="4"/>
3336
- <line num="1961" type="stmt" count="4"/>
3337
- <line num="1962" type="stmt" count="4"/>
3338
- <line num="1965" type="stmt" count="4"/>
3339
- <line num="1966" type="stmt" count="0"/>
3340
- <line num="1967" type="stmt" count="0"/>
3341
  <line num="1969" type="stmt" count="4"/>
3342
- <line num="1971" type="stmt" count="4"/>
3343
- <line num="1972" type="stmt" count="0"/>
3344
- <line num="1973" type="stmt" count="0"/>
3345
- <line num="1975" type="stmt" count="4"/>
3346
  <line num="1976" type="stmt" count="4"/>
3347
- <line num="1978" type="stmt" count="4"/>
3348
- <line num="1981" type="stmt" count="4"/>
3349
- <line num="2002" type="method" name="get_archive_list" visibility="public" complexity="11" crap="11.15" count="6"/>
3350
- <line num="2004" type="stmt" count="6"/>
3351
- <line num="2007" type="stmt" count="6"/>
 
3352
  <line num="2010" type="stmt" count="6"/>
3353
- <line num="2011" type="stmt" count="6"/>
3354
- <line num="2012" type="stmt" count="6"/>
3355
- <line num="2015" type="stmt" count="6"/>
3356
- <line num="2016" type="stmt" count="0"/>
3357
- <line num="2020" type="stmt" count="6"/>
3358
- <line num="2023" type="stmt" count="6"/>
3359
- <line num="2024" type="stmt" count="0"/>
3360
- <line num="2028" type="stmt" count="6"/>
3361
- <line num="2029" type="stmt" count="0"/>
3362
- <line num="2031" type="stmt" count="6"/>
3363
- <line num="2032" type="stmt" count="5"/>
3364
- <line num="2035" type="stmt" count="6"/>
3365
- <line num="2036" type="stmt" count="5"/>
3366
  <line num="2039" type="stmt" count="6"/>
3367
- <line num="2041" type="stmt" count="6"/>
3368
- <line num="2044" type="stmt" count="6"/>
3369
- <line num="2047" type="stmt" count="6"/>
3370
- <line num="2048" type="stmt" count="6"/>
3371
- <line num="2050" type="stmt" count="5"/>
3372
- <line num="2053" type="stmt" count="5"/>
3373
- <line num="2054" type="stmt" count="0"/>
 
3374
  <line num="2059" type="stmt" count="5"/>
3375
  <line num="2060" type="stmt" count="5"/>
3376
  <line num="2061" type="stmt" count="5"/>
3377
  <line num="2062" type="stmt" count="5"/>
3378
  <line num="2063" type="stmt" count="5"/>
3379
  <line num="2064" type="stmt" count="5"/>
3380
- <line num="2065" type="stmt" count="5"/>
3381
- <line num="2066" type="stmt" count="5"/>
3382
- <line num="2070" type="stmt" count="5"/>
3383
- <line num="2071" type="stmt" count="1"/>
3384
- <line num="2073" type="stmt" count="5"/>
3385
- <line num="2074" type="stmt" count="6"/>
3386
- <line num="2077" type="stmt" count="6"/>
3387
- <line num="2088" type="method" name="delete_archive_file" visibility="public" complexity="11" crap="132" count="0"/>
3388
- <line num="2091" type="stmt" count="0"/>
3389
- <line num="2092" type="stmt" count="0"/>
3390
- <line num="2096" type="stmt" count="0"/>
3391
- <line num="2099" type="stmt" count="0"/>
3392
  <line num="2102" type="stmt" count="0"/>
3393
  <line num="2103" type="stmt" count="0"/>
3394
- <line num="2104" type="stmt" count="0"/>
3395
  <line num="2105" type="stmt" count="0"/>
 
3396
  <line num="2107" type="stmt" count="0"/>
3397
- <line num="2108" type="stmt" count="0"/>
3398
  <line num="2109" type="stmt" count="0"/>
3399
  <line num="2111" type="stmt" count="0"/>
3400
- <line num="2113" type="stmt" count="0"/>
 
3401
  <line num="2117" type="stmt" count="0"/>
3402
- <line num="2118" type="stmt" count="0"/>
3403
  <line num="2119" type="stmt" count="0"/>
 
3404
  <line num="2121" type="stmt" count="0"/>
3405
- <line num="2122" type="stmt" count="0"/>
3406
  <line num="2123" type="stmt" count="0"/>
3407
  <line num="2125" type="stmt" count="0"/>
3408
- <line num="2127" type="stmt" count="0"/>
3409
- <line num="2131" type="stmt" count="0"/>
3410
- <line num="2132" type="stmt" count="0"/>
3411
- <line num="2136" type="stmt" count="0"/>
3412
  <line num="2139" type="stmt" count="0"/>
 
3413
  <line num="2141" type="stmt" count="0"/>
3414
- <line num="2142" type="stmt" count="0"/>
3415
  <line num="2143" type="stmt" count="0"/>
3416
  <line num="2145" type="stmt" count="0"/>
3417
- <line num="2147" type="stmt" count="0"/>
 
3418
  <line num="2152" type="stmt" count="0"/>
3419
- <line num="2153" type="stmt" count="0"/>
3420
- <line num="2154" type="stmt" count="0"/>
3421
  <line num="2157" type="stmt" count="0"/>
 
3422
  <line num="2159" type="stmt" count="0"/>
3423
- <line num="2160" type="stmt" count="0"/>
3424
  <line num="2161" type="stmt" count="0"/>
3425
  <line num="2163" type="stmt" count="0"/>
3426
- <line num="2165" type="stmt" count="0"/>
 
3427
  <line num="2170" type="stmt" count="0"/>
3428
- <line num="2171" type="stmt" count="0"/>
3429
  <line num="2172" type="stmt" count="0"/>
3430
- <line num="2174" type="stmt" count="0"/>
 
3431
  <line num="2177" type="stmt" count="0"/>
3432
  <line num="2178" type="stmt" count="0"/>
3433
- <line num="2179" type="stmt" count="0"/>
3434
  <line num="2180" type="stmt" count="0"/>
3435
- <line num="2182" type="stmt" count="0"/>
3436
- <line num="2183" type="stmt" count="0"/>
3437
- <line num="2193" type="stmt" count="0"/>
3438
- <line num="2196" type="stmt" count="0"/>
3439
- <line num="2209" type="method" name="get_dump_file" visibility="public" complexity="9" crap="25.08" count="1"/>
3440
- <line num="2211" type="stmt" count="1"/>
3441
- <line num="2212" type="stmt" count="0"/>
 
3442
  <line num="2232" type="stmt" count="1"/>
3443
  <line num="2233" type="stmt" count="1"/>
3444
- <line num="2234" type="stmt" count="1"/>
3445
- <line num="2235" type="stmt" count="1"/>
3446
- <line num="2239" type="stmt" count="0"/>
3447
- <line num="2242" type="stmt" count="0"/>
3448
- <line num="2245" type="stmt" count="0"/>
3449
- <line num="2246" type="stmt" count="0"/>
3450
- <line num="2250" type="stmt" count="0"/>
3451
  <line num="2251" type="stmt" count="0"/>
3452
- <line num="2252" type="method" name="anonymous function" complexity="3" crap="12" count="0"/>
3453
- <line num="2253" type="stmt" count="0"/>
3454
- <line num="2254" type="stmt" count="0"/>
3455
- <line num="2257" type="stmt" count="0"/>
3456
- <line num="2258" type="stmt" count="0"/>
3457
  <line num="2261" type="stmt" count="0"/>
3458
- <line num="2263" type="stmt" count="0"/>
 
3459
  <line num="2270" type="stmt" count="0"/>
3460
  <line num="2271" type="stmt" count="0"/>
3461
- <line num="2272" type="stmt" count="0"/>
3462
  <line num="2273" type="stmt" count="0"/>
3463
- <line num="2275" type="stmt" count="0"/>
3464
- <line num="2278" type="stmt" count="0"/>
3465
- <line num="2291" type="method" name="restore_archive_file" visibility="public" complexity="25" crap="41.46" count="1"/>
3466
  <line num="2292" type="stmt" count="1"/>
 
3467
  <line num="2294" type="stmt" count="1"/>
3468
- <line num="2295" type="stmt" count="1"/>
3469
- <line num="2296" type="stmt" count="1"/>
3470
  <line num="2299" type="stmt" count="1"/>
3471
- <line num="2301" type="stmt" count="1"/>
3472
- <line num="2304" type="stmt" count="1"/>
 
3473
  <line num="2305" type="stmt" count="0"/>
3474
- <line num="2306" type="stmt" count="0"/>
3475
- <line num="2307" type="stmt" count="0"/>
3476
- <line num="2311" type="stmt" count="1"/>
3477
  <line num="2312" type="stmt" count="0"/>
3478
- <line num="2313" type="stmt" count="0"/>
3479
- <line num="2314" type="stmt" count="0"/>
3480
- <line num="2318" type="stmt" count="1"/>
3481
- <line num="2319" type="stmt" count="1"/>
3482
  <line num="2322" type="stmt" count="1"/>
3483
- <line num="2323" type="stmt" count="1"/>
3484
- <line num="2324" type="stmt" count="1"/>
3485
  <line num="2325" type="stmt" count="0"/>
3486
- <line num="2326" type="stmt" count="0"/>
3487
- <line num="2327" type="stmt" count="0"/>
3488
  <line num="2331" type="stmt" count="1"/>
3489
- <line num="2332" type="stmt" count="1"/>
3490
- <line num="2333" type="stmt" count="1"/>
3491
  <line num="2334" type="stmt" count="0"/>
3492
- <line num="2335" type="stmt" count="0"/>
3493
- <line num="2336" type="stmt" count="0"/>
3494
  <line num="2340" type="stmt" count="1"/>
3495
- <line num="2342" type="stmt" count="1"/>
3496
- <line num="2343" type="stmt" count="1"/>
 
3497
  <line num="2344" type="stmt" count="0"/>
3498
- <line num="2345" type="stmt" count="0"/>
3499
- <line num="2346" type="stmt" count="0"/>
3500
  <line num="2349" type="stmt" count="1"/>
3501
- <line num="2351" type="stmt" count="1"/>
 
3502
  <line num="2352" type="stmt" count="0"/>
3503
- <line num="2353" type="stmt" count="0"/>
3504
- <line num="2354" type="stmt" count="0"/>
3505
  <line num="2357" type="stmt" count="1"/>
 
3506
  <line num="2359" type="stmt" count="1"/>
3507
- <line num="2360" type="stmt" count="1"/>
3508
- <line num="2361" type="stmt" count="1"/>
3509
  <line num="2362" type="stmt" count="0"/>
3510
- <line num="2363" type="stmt" count="0"/>
3511
- <line num="2364" type="stmt" count="0"/>
3512
  <line num="2369" type="stmt" count="1"/>
3513
  <line num="2370" type="stmt" count="1"/>
3514
  <line num="2371" type="stmt" count="1"/>
@@ -3516,347 +3515,342 @@
3516
  <line num="2373" type="stmt" count="1"/>
3517
  <line num="2374" type="stmt" count="1"/>
3518
  <line num="2375" type="stmt" count="1"/>
3519
- <line num="2376" type="stmt" count="1"/>
3520
- <line num="2377" type="stmt" count="1"/>
3521
  <line num="2380" type="stmt" count="1"/>
3522
- <line num="2382" type="stmt" count="1"/>
3523
- <line num="2391" type="stmt" count="1"/>
3524
- <line num="2397" type="stmt" count="1"/>
3525
- <line num="2398" type="stmt" count="1"/>
 
3526
  <line num="2399" type="stmt" count="0"/>
3527
- <line num="2400" type="stmt" count="0"/>
3528
- <line num="2401" type="stmt" count="0"/>
3529
- <line num="2403" type="stmt" count="1"/>
3530
- <line num="2404" type="stmt" count="0"/>
 
3531
  <line num="2408" type="stmt" count="1"/>
3532
- <line num="2410" type="stmt" count="1"/>
3533
  <line num="2411" type="stmt" count="1"/>
3534
- <line num="2412" type="stmt" count="1"/>
3535
- <line num="2413" type="stmt" count="1"/>
3536
- <line num="2414" type="stmt" count="1"/>
3537
- <line num="2417" type="stmt" count="1"/>
3538
- <line num="2419" type="stmt" count="1"/>
3539
- <line num="2420" type="stmt" count="1"/>
3540
- <line num="2421" type="stmt" count="1"/>
3541
- <line num="2422" type="stmt" count="1"/>
3542
- <line num="2423" type="stmt" count="1"/>
3543
- <line num="2425" type="stmt" count="1"/>
3544
  <line num="2426" type="stmt" count="0"/>
3545
- <line num="2436" type="stmt" count="0"/>
3546
- <line num="2438" type="stmt" count="0"/>
3547
- <line num="2439" type="stmt" count="0"/>
3548
- <line num="2440" type="stmt" count="0"/>
3549
- <line num="2441" type="stmt" count="0"/>
3550
- <line num="2442" type="stmt" count="0"/>
3551
- <line num="2444" type="stmt" count="0"/>
 
 
3552
  <line num="2456" type="stmt" count="1"/>
3553
- <line num="2465" type="stmt" count="1"/>
3554
- <line num="2466" type="stmt" count="1"/>
3555
- <line num="2467" type="stmt" count="1"/>
 
 
 
 
 
 
3556
  <line num="2470" type="stmt" count="1"/>
3557
- <line num="2472" type="stmt" count="1"/>
3558
  <line num="2474" type="stmt" count="1"/>
3559
- <line num="2475" type="stmt" count="1"/>
3560
- <line num="2478" type="stmt" count="1"/>
3561
- <line num="2479" type="stmt" count="1"/>
 
3562
  <line num="2482" type="stmt" count="1"/>
3563
- <line num="2483" type="stmt" count="0"/>
3564
- <line num="2484" type="stmt" count="0"/>
3565
- <line num="2485" type="stmt" count="0"/>
3566
  <line num="2487" type="stmt" count="1"/>
3567
  <line num="2490" type="stmt" count="1"/>
3568
- <line num="2492" type="stmt" count="1"/>
3569
  <line num="2493" type="stmt" count="1"/>
3570
- <line num="2495" type="stmt" count="1"/>
3571
- <line num="2496" type="stmt" count="1"/>
3572
  <line num="2497" type="stmt" count="1"/>
3573
- <line num="2498" type="stmt" count="1"/>
3574
  <line num="2501" type="stmt" count="1"/>
 
3575
  <line num="2504" type="stmt" count="1"/>
3576
  <line num="2507" type="stmt" count="1"/>
3577
- <line num="2508" type="stmt" count="1"/>
3578
- <line num="2511" type="stmt" count="1"/>
3579
- <line num="2515" type="stmt" count="1"/>
3580
  <line num="2517" type="stmt" count="1"/>
3581
- <line num="2518" type="stmt" count="1"/>
3582
- <line num="2521" type="stmt" count="1"/>
3583
- <line num="2524" type="stmt" count="1"/>
3584
- <line num="2526" type="stmt" count="1"/>
3585
- <line num="2528" type="stmt" count="1"/>
3586
- <line num="2531" type="stmt" count="1"/>
3587
- <line num="2544" type="method" name="page_archives" visibility="public" complexity="4" crap="20" count="0"/>
3588
  <line num="2545" type="stmt" count="0"/>
3589
  <line num="2548" type="stmt" count="0"/>
 
3590
  <line num="2550" type="stmt" count="0"/>
 
3591
  <line num="2553" type="stmt" count="0"/>
3592
  <line num="2556" type="stmt" count="0"/>
3593
- <line num="2557" type="stmt" count="0"/>
3594
  <line num="2559" type="stmt" count="0"/>
3595
  <line num="2562" type="stmt" count="0"/>
3596
- <line num="2563" type="stmt" count="0"/>
3597
  <line num="2564" type="stmt" count="0"/>
 
3598
  <line num="2566" type="stmt" count="0"/>
3599
- <line num="2567" type="stmt" count="0"/>
3600
- <line num="2570" type="stmt" count="0"/>
3601
- <line num="2573" type="stmt" count="0"/>
 
3602
  <line num="2576" type="stmt" count="0"/>
3603
  <line num="2578" type="stmt" count="0"/>
3604
- <line num="2579" type="stmt" count="0"/>
3605
- <line num="2580" type="stmt" count="0"/>
3606
- <line num="2583" type="stmt" count="0"/>
3607
- <line num="2585" type="stmt" count="0"/>
3608
- <line num="2588" type="stmt" count="0"/>
3609
- <line num="2589" type="stmt" count="0"/>
3610
- <line num="2590" type="stmt" count="0"/>
3611
- <line num="2592" type="stmt" count="0"/>
3612
  <line num="2595" type="stmt" count="0"/>
3613
  <line num="2596" type="stmt" count="0"/>
3614
- <line num="2605" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="10" crap="110" count="0"/>
 
 
 
 
 
 
3615
  <line num="2608" type="stmt" count="0"/>
3616
  <line num="2609" type="stmt" count="0"/>
3617
- <line num="2610" type="stmt" count="0"/>
3618
- <line num="2612" type="stmt" count="0"/>
3619
  <line num="2613" type="stmt" count="0"/>
3620
  <line num="2614" type="stmt" count="0"/>
 
3621
  <line num="2617" type="stmt" count="0"/>
3622
  <line num="2618" type="stmt" count="0"/>
3623
- <line num="2619" type="stmt" count="0"/>
3624
- <line num="2621" type="stmt" count="0"/>
3625
- <line num="2622" type="stmt" count="0"/>
3626
  <line num="2623" type="stmt" count="0"/>
 
3627
  <line num="2625" type="stmt" count="0"/>
 
3628
  <line num="2627" type="stmt" count="0"/>
3629
- <line num="2628" type="stmt" count="0"/>
3630
  <line num="2629" type="stmt" count="0"/>
3631
- <line num="2631" type="stmt" count="0"/>
3632
  <line num="2632" type="stmt" count="0"/>
 
3633
  <line num="2634" type="stmt" count="0"/>
3634
- <line num="2637" type="stmt" count="0"/>
3635
- <line num="2638" type="stmt" count="0"/>
3636
- <line num="2639" type="stmt" count="0"/>
3637
- <line num="2640" type="stmt" count="0"/>
3638
- <line num="2641" type="stmt" count="0"/>
3639
  <line num="2643" type="stmt" count="0"/>
3640
  <line num="2644" type="stmt" count="0"/>
3641
- <line num="2646" type="stmt" count="0"/>
3642
- <line num="2647" type="stmt" count="0"/>
3643
- <line num="2648" type="stmt" count="0"/>
3644
- <line num="2657" type="stmt" count="0"/>
3645
  <line num="2658" type="stmt" count="0"/>
3646
- <line num="2670" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
3647
- <line num="2672" type="stmt" count="0"/>
 
 
 
 
 
 
 
3648
  <line num="2675" type="stmt" count="0"/>
3649
  <line num="2676" type="stmt" count="0"/>
3650
  <line num="2677" type="stmt" count="0"/>
3651
  <line num="2678" type="stmt" count="0"/>
3652
- <line num="2681" type="stmt" count="0"/>
3653
- <line num="2682" type="stmt" count="0"/>
3654
  <line num="2683" type="stmt" count="0"/>
3655
- <line num="2684" type="stmt" count="0"/>
3656
- <line num="2685" type="stmt" count="0"/>
 
3657
  <line num="2689" type="stmt" count="0"/>
3658
- <line num="2690" type="stmt" count="0"/>
3659
- <line num="2691" type="stmt" count="0"/>
3660
  <line num="2692" type="stmt" count="0"/>
3661
- <line num="2693" type="stmt" count="0"/>
 
3662
  <line num="2697" type="stmt" count="0"/>
3663
- <line num="2700" type="stmt" count="0"/>
3664
- <line num="2701" type="stmt" count="0"/>
3665
  <line num="2702" type="stmt" count="0"/>
3666
  <line num="2703" type="stmt" count="0"/>
3667
- <line num="2706" type="stmt" count="0"/>
 
 
3668
  <line num="2709" type="stmt" count="0"/>
3669
  <line num="2710" type="stmt" count="0"/>
3670
- <line num="2711" type="stmt" count="0"/>
3671
  <line num="2712" type="stmt" count="0"/>
 
3672
  <line num="2716" type="stmt" count="0"/>
3673
  <line num="2717" type="stmt" count="0"/>
3674
  <line num="2718" type="stmt" count="0"/>
3675
  <line num="2721" type="stmt" count="0"/>
3676
  <line num="2722" type="stmt" count="0"/>
3677
- <line num="2723" type="stmt" count="0"/>
3678
- <line num="2724" type="stmt" count="0"/>
3679
- <line num="2726" type="stmt" count="0"/>
3680
- <line num="2728" type="stmt" count="0"/>
3681
- <line num="2730" type="stmt" count="0"/>
3682
- <line num="2731" type="stmt" count="0"/>
3683
- <line num="2732" type="stmt" count="0"/>
3684
- <line num="2735" type="stmt" count="0"/>
3685
- <line num="2736" type="stmt" count="0"/>
3686
- <line num="2746" type="method" name="page_backup_test" visibility="public" complexity="6" crap="42" count="0"/>
3687
  <line num="2748" type="stmt" count="0"/>
3688
  <line num="2751" type="stmt" count="0"/>
3689
  <line num="2754" type="stmt" count="0"/>
3690
  <line num="2757" type="stmt" count="0"/>
3691
  <line num="2760" type="stmt" count="0"/>
3692
- <line num="2762" type="stmt" count="0"/>
3693
  <line num="2765" type="stmt" count="0"/>
3694
- <line num="2768" type="stmt" count="0"/>
3695
- <line num="2771" type="stmt" count="0"/>
3696
  <line num="2774" type="stmt" count="0"/>
 
 
3697
  <line num="2777" type="stmt" count="0"/>
3698
- <line num="2779" type="stmt" count="0"/>
 
 
 
 
 
 
3699
  <line num="2787" type="stmt" count="0"/>
3700
- <line num="2788" type="stmt" count="0"/>
3701
  <line num="2789" type="stmt" count="0"/>
3702
- <line num="2790" type="stmt" count="0"/>
3703
- <line num="2791" type="stmt" count="0"/>
3704
  <line num="2794" type="stmt" count="0"/>
3705
  <line num="2795" type="stmt" count="0"/>
3706
  <line num="2796" type="stmt" count="0"/>
3707
  <line num="2797" type="stmt" count="0"/>
3708
- <line num="2798" type="stmt" count="0"/>
3709
  <line num="2799" type="stmt" count="0"/>
3710
  <line num="2800" type="stmt" count="0"/>
3711
  <line num="2801" type="stmt" count="0"/>
3712
  <line num="2803" type="stmt" count="0"/>
3713
- <line num="2806" type="stmt" count="0"/>
 
3714
  <line num="2807" type="stmt" count="0"/>
3715
  <line num="2808" type="stmt" count="0"/>
3716
- <line num="2809" type="stmt" count="0"/>
3717
  <line num="2810" type="stmt" count="0"/>
3718
  <line num="2811" type="stmt" count="0"/>
3719
- <line num="2813" type="stmt" count="0"/>
3720
- <line num="2814" type="stmt" count="0"/>
3721
- <line num="2815" type="stmt" count="0"/>
3722
- <line num="2817" type="stmt" count="0"/>
3723
- <line num="2818" type="stmt" count="0"/>
3724
  <line num="2819" type="stmt" count="0"/>
3725
  <line num="2821" type="stmt" count="0"/>
3726
  <line num="2822" type="stmt" count="0"/>
3727
  <line num="2824" type="stmt" count="0"/>
3728
- <line num="2825" type="stmt" count="0"/>
3729
- <line num="2826" type="stmt" count="0"/>
3730
- <line num="2833" type="stmt" count="0"/>
3731
  <line num="2835" type="stmt" count="0"/>
3732
  <line num="2836" type="stmt" count="0"/>
3733
- <line num="2838" type="stmt" count="0"/>
3734
- <line num="2843" type="stmt" count="0"/>
3735
- <line num="2844" type="stmt" count="0"/>
3736
- <line num="2845" type="stmt" count="0"/>
3737
- <line num="2849" type="stmt" count="0"/>
3738
- <line num="2850" type="stmt" count="0"/>
3739
- <line num="2865" type="method" name="set_doing_cron" visibility="public" complexity="3" crap="3" count="29"/>
3740
- <line num="2866" type="stmt" count="29"/>
3741
  <line num="2867" type="stmt" count="29"/>
3742
- <line num="2874" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="29"/>
 
 
 
 
 
 
 
 
3743
  <line num="2879" type="stmt" count="29"/>
 
3744
  <line num="2881" type="stmt" count="29"/>
3745
  <line num="2882" type="stmt" count="29"/>
3746
- <line num="2883" type="stmt" count="29"/>
3747
  <line num="2884" type="stmt" count="29"/>
3748
  <line num="2885" type="stmt" count="29"/>
3749
  <line num="2886" type="stmt" count="29"/>
3750
- <line num="2888" type="stmt" count="29"/>
3751
- <line num="2889" type="stmt" count="29"/>
3752
- <line num="2891" type="stmt" count="29"/>
3753
  <line num="2892" type="stmt" count="29"/>
3754
- <line num="2893" type="stmt" count="29"/>
3755
  <line num="2894" type="stmt" count="29"/>
3756
  <line num="2895" type="stmt" count="29"/>
3757
  <line num="2896" type="stmt" count="29"/>
 
3758
  <line num="2898" type="stmt" count="29"/>
3759
- <line num="2899" type="stmt" count="29"/>
3760
  <line num="2900" type="stmt" count="29"/>
 
 
3761
  <line num="2906" type="stmt" count="29"/>
3762
  <line num="2908" type="stmt" count="29"/>
3763
- <line num="2909" type="stmt" count="29"/>
3764
- <line num="2910" type="stmt" count="29"/>
3765
- <line num="2911" type="stmt" count="29"/>
3766
- <line num="2912" type="stmt" count="29"/>
3767
- <line num="2914" type="stmt" count="29"/>
3768
- <line num="2917" type="stmt" count="29"/>
3769
- <line num="2918" type="stmt" count="29"/>
3770
- <line num="2920" type="stmt" count="29"/>
3771
- <line num="2922" type="stmt" count="29"/>
3772
- <line num="2934" type="method" name="set_time_limit" visibility="public" complexity="2" crap="2" count="4"/>
3773
- <line num="2935" type="stmt" count="4"/>
3774
- <line num="2937" type="stmt" count="4"/>
3775
- <line num="2938" type="stmt" count="4"/>
3776
- <line num="2945" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
3777
  <line num="2946" type="stmt" count="0"/>
3778
  <line num="2947" type="stmt" count="0"/>
 
3779
  <line num="2950" type="stmt" count="0"/>
3780
  <line num="2951" type="stmt" count="0"/>
3781
- <line num="2952" type="stmt" count="0"/>
3782
- <line num="2954" type="stmt" count="0"/>
3783
- <line num="2955" type="stmt" count="0"/>
3784
- <line num="2956" type="stmt" count="0"/>
3785
- <line num="2959" type="stmt" count="0"/>
3786
- <line num="2960" type="stmt" count="0"/>
3787
- <line num="2961" type="stmt" count="0"/>
3788
- <line num="2963" type="stmt" count="0"/>
3789
- <line num="2964" type="stmt" count="0"/>
3790
- <line num="2965" type="stmt" count="0"/>
3791
  <line num="2967" type="stmt" count="0"/>
 
 
 
 
 
 
 
 
 
3792
  <line num="2980" type="stmt" count="0"/>
3793
- <line num="2981" type="stmt" count="0"/>
3794
  <line num="2983" type="stmt" count="0"/>
3795
- <line num="2984" type="stmt" count="0"/>
3796
- <line num="2985" type="stmt" count="0"/>
3797
- <line num="2986" type="stmt" count="0"/>
3798
- <line num="2987" type="stmt" count="0"/>
3799
- <line num="2989" type="stmt" count="0"/>
3800
- <line num="2990" type="stmt" count="0"/>
3801
- <line num="2991" type="stmt" count="0"/>
3802
- <line num="2992" type="stmt" count="0"/>
3803
- <line num="2994" type="stmt" count="0"/>
3804
- <line num="2996" type="stmt" count="0"/>
3805
- <line num="2997" type="stmt" count="0"/>
3806
- <line num="3013" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
3807
- <line num="3015" type="stmt" count="0"/>
3808
  <line num="3018" type="stmt" count="0"/>
3809
- <line num="3019" type="stmt" count="0"/>
3810
- <line num="3023" type="stmt" count="0"/>
3811
- <line num="3026" type="stmt" count="0"/>
3812
- <line num="3027" type="stmt" count="0"/>
3813
- <line num="3031" type="stmt" count="0"/>
3814
- <line num="3032" type="stmt" count="0"/>
3815
- <line num="3043" type="method" name="enforce_retention" visibility="public" complexity="8" crap="8.07" count="4"/>
 
 
 
 
3816
  <line num="3044" type="stmt" count="4"/>
3817
- <line num="3045" type="stmt" count="4"/>
3818
- <line num="3046" type="stmt" count="4"/>
 
3819
  <line num="3048" type="stmt" count="4"/>
3820
  <line num="3049" type="stmt" count="4"/>
3821
- <line num="3051" type="stmt" count="4"/>
3822
- <line num="3052" type="stmt" count="4"/>
3823
- <line num="3055" type="stmt" count="4"/>
3824
  <line num="3056" type="stmt" count="4"/>
3825
  <line num="3057" type="stmt" count="4"/>
3826
  <line num="3058" type="stmt" count="4"/>
3827
- <line num="3059" type="stmt" count="0"/>
3828
- <line num="3060" type="stmt" count="0"/>
3829
- <line num="3061" type="stmt" count="0"/>
3830
- <line num="3062" type="stmt" count="4"/>
3831
- <line num="3063" type="stmt" count="4"/>
3832
- <line num="3064" type="stmt" count="4"/>
3833
- <line num="3067" type="stmt" count="4"/>
3834
- <line num="3070" type="stmt" count="4"/>
3835
- <line num="3071" type="stmt" count="4"/>
3836
- <line num="3072" type="stmt" count="4"/>
3837
  <line num="3076" type="stmt" count="1"/>
3838
  <line num="3079" type="stmt" count="1"/>
 
3839
  <line num="3082" type="stmt" count="1"/>
3840
- <line num="3083" type="stmt" count="1"/>
3841
- <line num="3084" type="stmt" count="1"/>
3842
- <line num="3087" type="stmt" count="1"/>
3843
- <line num="3090" type="stmt" count="1"/>
3844
- <line num="3093" type="stmt" count="1"/>
3845
  <line num="3095" type="stmt" count="1"/>
3846
- <line num="3096" type="stmt" count="1"/>
3847
- <line num="3105" type="stmt" count="1"/>
3848
- <line num="3106" type="stmt" count="1"/>
 
3849
  <line num="3107" type="stmt" count="0"/>
3850
- <line num="3109" type="stmt" count="1"/>
3851
- <line num="3111" type="stmt" count="1"/>
3852
- <line num="3112" type="stmt" count="1"/>
3853
- <line num="3113" type="stmt" count="1"/>
3854
- <line num="3120" type="method" name="add_thickbox" visibility="public" complexity="2" crap="6" count="0"/>
3855
- <line num="3121" type="stmt" count="0"/>
3856
- <line num="3122" type="stmt" count="0"/>
3857
- <line num="3123" type="stmt" count="0"/>
3858
- <line num="3124" type="stmt" count="0"/>
3859
- <metrics loc="3125" ncloc="1621" classes="1" methods="29" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1134" coveredstatements="556" elements="1163" coveredelements="560"/>
3860
  </file>
3861
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
3862
  <class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
@@ -4728,7 +4722,7 @@
4728
  </file>
4729
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-get.php">
4730
  <class name="Boldgrid_Backup_Admin_Db_Get" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
4731
- <metrics complexity="17" methods="6" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="57" coveredstatements="49" elements="63" coveredelements="53"/>
4732
  </class>
4733
  <line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
4734
  <line num="40" type="stmt" count="29"/>
@@ -4748,61 +4742,47 @@
4748
  <line num="82" type="stmt" count="6"/>
4749
  <line num="83" type="stmt" count="6"/>
4750
  <line num="85" type="stmt" count="6"/>
4751
- <line num="98" type="method" name="get_prefix" visibility="public" complexity="4" crap="8.12" count="1"/>
4752
- <line num="99" type="stmt" count="1"/>
4753
- <line num="102" type="stmt" count="1"/>
4754
- <line num="103" type="stmt" count="0"/>
4755
- <line num="104" type="stmt" count="0"/>
4756
- <line num="106" type="stmt" count="1"/>
4757
- <line num="107" type="stmt" count="0"/>
4758
- <line num="109" type="stmt" count="0"/>
4759
- <line num="110" type="stmt" count="0"/>
4760
- <line num="111" type="stmt" count="0"/>
4761
- <line num="112" type="stmt" count="0"/>
4762
- <line num="114" type="stmt" count="1"/>
4763
- <line num="129" type="method" name="filter_by_type" visibility="public" complexity="3" crap="3" count="5"/>
 
4764
  <line num="131" type="stmt" count="5"/>
 
4765
  <line num="133" type="stmt" count="5"/>
4766
  <line num="135" type="stmt" count="5"/>
4767
- <line num="136" type="stmt" count="5"/>
4768
  <line num="137" type="stmt" count="5"/>
4769
  <line num="138" type="stmt" count="5"/>
4770
  <line num="139" type="stmt" count="5"/>
4771
  <line num="141" type="stmt" count="5"/>
4772
- <line num="154" type="method" name="prefixed" visibility="public" complexity="3" crap="3" count="5"/>
4773
- <line num="155" type="stmt" count="5"/>
4774
- <line num="157" type="stmt" count="5"/>
4775
- <line num="159" type="stmt" count="5"/>
4776
- <line num="161" type="stmt" count="5"/>
4777
- <line num="162" type="stmt" count="5"/>
4778
- <line num="163" type="stmt" count="5"/>
4779
- <line num="164" type="stmt" count="5"/>
4780
- <line num="165" type="stmt" count="5"/>
4781
- <line num="167" type="stmt" count="5"/>
4782
- <line num="169" type="stmt" count="5"/>
4783
- <line num="170" type="stmt" count="5"/>
4784
- <line num="171" type="stmt" count="5"/>
4785
- <line num="173" type="stmt" count="5"/>
4786
- <line num="188" type="method" name="prefixed_count" visibility="public" complexity="3" crap="3" count="1"/>
4787
- <line num="189" type="stmt" count="1"/>
4788
- <line num="191" type="stmt" count="1"/>
4789
- <line num="193" type="stmt" count="1"/>
4790
- <line num="195" type="stmt" count="1"/>
4791
- <line num="197" type="stmt" count="1"/>
4792
- <line num="198" type="stmt" count="1"/>
4793
- <line num="200" type="stmt" count="1"/>
4794
- <line num="201" type="stmt" count="1"/>
4795
- <line num="203" type="stmt" count="1"/>
4796
- <metrics loc="205" ncloc="100" classes="1" methods="6" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="57" coveredstatements="49" elements="63" coveredelements="53"/>
4797
  </file>
4798
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-import.php">
4799
  <class name="Boldgrid_Backup_Admin_Db_Import" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
4800
- <metrics complexity="51" methods="15" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="151" coveredstatements="126" elements="166" coveredelements="137"/>
4801
  </class>
4802
  <line num="45" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="13"/>
4803
  <line num="47" type="stmt" count="13"/>
4804
- <line num="48" type="stmt" count="2"/>
4805
- <line num="49" type="stmt" count="2"/>
4806
  <line num="50" type="stmt" count="13"/>
4807
  <line num="63" type="method" name="get_lines" visibility="public" complexity="2" crap="2" count="2"/>
4808
  <line num="64" type="stmt" count="2"/>
@@ -4810,162 +4790,122 @@
4810
  <line num="67" type="stmt" count="2"/>
4811
  <line num="77" type="method" name="import" visibility="public" complexity="3" crap="3" count="2"/>
4812
  <line num="78" type="stmt" count="2"/>
4813
- <line num="79" type="stmt" count="2"/>
4814
- <line num="81" type="stmt" count="2"/>
4815
- <line num="83" type="stmt" count="1"/>
4816
- <line num="85" type="stmt" count="1"/>
4817
  <line num="87" type="stmt" count="1"/>
4818
- <line num="88" type="stmt" count="1"/>
4819
- <line num="91" type="stmt" count="2"/>
4820
  <line num="92" type="stmt" count="2"/>
4821
- <line num="94" type="stmt" count="2"/>
4822
  <line num="96" type="stmt" count="1"/>
4823
  <line num="98" type="stmt" count="1"/>
4824
- <line num="100" type="stmt" count="1"/>
4825
- <line num="101" type="stmt" count="1"/>
4826
  <line num="104" type="stmt" count="1"/>
4827
- <line num="106" type="stmt" count="1"/>
4828
- <line num="120" type="method" name="import_from_archive" visibility="public" complexity="3" crap="3.14" count="1"/>
 
4829
  <line num="121" type="stmt" count="1"/>
4830
  <line num="122" type="stmt" count="1"/>
4831
  <line num="123" type="stmt" count="1"/>
4832
  <line num="124" type="stmt" count="1"/>
4833
- <line num="125" type="stmt" count="1"/>
4834
- <line num="126" type="stmt" count="1"/>
4835
  <line num="129" type="stmt" count="0"/>
4836
- <line num="131" type="stmt" count="0"/>
4837
- <line num="150" type="method" name="import_lines" visibility="public" complexity="9" crap="12.47" count="3"/>
4838
- <line num="151" type="stmt" count="3"/>
4839
- <line num="153" type="stmt" count="3"/>
4840
- <line num="155" type="stmt" count="1"/>
4841
- <line num="156" type="stmt" count="1"/>
4842
- <line num="160" type="stmt" count="2"/>
4843
- <line num="169" type="stmt" count="2"/>
4844
- <line num="173" type="stmt" count="2"/>
4845
- <line num="174" type="stmt" count="2"/>
4846
- <line num="175" type="stmt" count="2"/>
4847
- <line num="176" type="stmt" count="2"/>
4848
- <line num="178" type="stmt" count="2"/>
4849
- <line num="180" type="stmt" count="2"/>
4850
- <line num="181" type="stmt" count="1"/>
4851
- <line num="182" type="stmt" count="1"/>
4852
- <line num="185" type="stmt" count="2"/>
4853
- <line num="188" type="stmt" count="2"/>
4854
- <line num="190" type="stmt" count="2"/>
4855
- <line num="193" type="stmt" count="2"/>
4856
- <line num="194" type="stmt" count="0"/>
4857
- <line num="195" type="stmt" count="0"/>
4858
- <line num="196" type="stmt" count="0"/>
4859
- <line num="199" type="stmt" count="2"/>
4860
- <line num="200" type="stmt" count="2"/>
4861
- <line num="203" type="stmt" count="2"/>
4862
- <line num="205" type="stmt" count="0"/>
4863
- <line num="208" type="stmt" count="0"/>
4864
- <line num="209" type="stmt" count="0"/>
4865
- <line num="210" type="stmt" count="0"/>
4866
- <line num="211" type="stmt" count="0"/>
4867
- <line num="212" type="stmt" count="0"/>
4868
- <line num="225" type="stmt" count="0"/>
4869
- <line num="227" type="stmt" count="0"/>
4870
- <line num="228" type="stmt" count="0"/>
4871
- <line num="229" type="stmt" count="0"/>
4872
- <line num="230" type="stmt" count="0"/>
4873
- <line num="233" type="stmt" count="2"/>
4874
- <line num="234" type="stmt" count="2"/>
4875
- <line num="235" type="stmt" count="2"/>
4876
- <line num="237" type="stmt" count="2"/>
4877
  <line num="239" type="stmt" count="2"/>
4878
- <line num="253" type="method" name="import_string" visibility="public" complexity="2" crap="2.02" count="1"/>
4879
- <line num="254" type="stmt" count="1"/>
4880
- <line num="256" type="stmt" count="1"/>
4881
- <line num="258" type="stmt" count="1"/>
4882
- <line num="259" type="stmt" count="0"/>
4883
- <line num="262" type="stmt" count="1"/>
 
 
 
 
4884
  <line num="264" type="stmt" count="1"/>
4885
- <line num="280" type="method" name="logger_add" visibility="public" complexity="2" crap="2" count="4"/>
4886
- <line num="281" type="stmt" count="4"/>
4887
- <line num="282" type="stmt" count="1"/>
4888
- <line num="283" type="stmt" count="1"/>
4889
- <line num="284" type="stmt" count="4"/>
4890
- <line num="296" type="method" name="fix_view_statements" visibility="public" complexity="7" crap="7" count="3"/>
4891
- <line num="298" type="stmt" count="3"/>
4892
- <line num="300" type="stmt" count="3"/>
4893
- <line num="301" type="stmt" count="3"/>
4894
- <line num="302" type="stmt" count="3"/>
4895
- <line num="303" type="stmt" count="3"/>
4896
- <line num="304" type="stmt" count="3"/>
4897
- <line num="306" type="stmt" count="3"/>
4898
- <line num="307" type="stmt" count="1"/>
4899
- <line num="310" type="stmt" count="3"/>
4900
- <line num="312" type="stmt" count="3"/>
4901
- <line num="313" type="stmt" count="1"/>
4902
- <line num="316" type="stmt" count="3"/>
4903
- <line num="318" type="stmt" count="3"/>
4904
- <line num="319" type="stmt" count="3"/>
4905
- <line num="320" type="stmt" count="2"/>
4906
- <line num="321" type="stmt" count="2"/>
4907
- <line num="322" type="stmt" count="3"/>
4908
- <line num="324" type="stmt" count="3"/>
4909
- <line num="326" type="stmt" count="3"/>
4910
- <line num="339" type="method" name="fix_definer" visibility="public" complexity="3" crap="3" count="3"/>
4911
- <line num="340" type="stmt" count="3"/>
4912
- <line num="341" type="stmt" count="3"/>
4913
- <line num="342" type="stmt" count="3"/>
4914
- <line num="343" type="stmt" count="3"/>
4915
- <line num="344" type="stmt" count="1"/>
4916
- <line num="345" type="stmt" count="1"/>
4917
- <line num="346" type="stmt" count="3"/>
4918
- <line num="349" type="stmt" count="3"/>
4919
- <line num="350" type="stmt" count="3"/>
4920
- <line num="351" type="stmt" count="3"/>
4921
- <line num="352" type="stmt" count="1"/>
4922
- <line num="355" type="stmt" count="3"/>
4923
- <line num="370" type="method" name="fix_line" visibility="public" complexity="3" crap="12" count="0"/>
4924
- <line num="372" type="stmt" count="0"/>
4925
- <line num="374" type="stmt" count="0"/>
4926
- <line num="375" type="stmt" count="0"/>
4927
- <line num="383" type="stmt" count="0"/>
4928
- <line num="384" type="stmt" count="0"/>
4929
- <line num="385" type="stmt" count="0"/>
4930
- <line num="386" type="stmt" count="0"/>
4931
- <line num="388" type="stmt" count="0"/>
4932
- <line num="400" type="method" name="has_db_privileges" visibility="public" complexity="3" crap="3" count="6"/>
4933
- <line num="401" type="stmt" count="6"/>
4934
- <line num="402" type="stmt" count="6"/>
4935
- <line num="403" type="stmt" count="6"/>
4936
- <line num="405" type="stmt" count="1"/>
4937
- <line num="406" type="stmt" count="1"/>
4938
- <line num="408" type="stmt" count="1"/>
4939
- <line num="420" type="method" name="get_db_privileges" visibility="public" complexity="7" crap="7" count="6"/>
4940
- <line num="421" type="stmt" count="6"/>
4941
- <line num="423" type="stmt" count="6"/>
4942
- <line num="424" type="stmt" count="6"/>
4943
- <line num="425" type="stmt" count="6"/>
4944
- <line num="426" type="stmt" count="6"/>
4945
- <line num="427" type="stmt" count="6"/>
4946
- <line num="429" type="stmt" count="6"/>
4947
- <line num="430" type="stmt" count="5"/>
4948
- <line num="432" type="stmt" count="1"/>
4949
- <line num="433" type="stmt" count="1"/>
4950
- <line num="435" type="stmt" count="1"/>
4951
- <line num="436" type="stmt" count="1"/>
4952
- <line num="448" type="method" name="show_grants_query" visibility="public" complexity="1" crap="1" count="5"/>
4953
- <line num="449" type="stmt" count="5"/>
4954
- <line num="450" type="stmt" count="5"/>
4955
- <line num="451" type="stmt" count="5"/>
4956
- <line num="466" type="method" name="exec_import" visibility="public" complexity="1" crap="1" count="1"/>
4957
- <line num="467" type="stmt" count="1"/>
4958
- <line num="478" type="method" name="get_grants_array" visibility="public" complexity="3" crap="3" count="2"/>
4959
- <line num="479" type="stmt" count="2"/>
4960
- <line num="481" type="stmt" count="2"/>
4961
- <line num="482" type="stmt" count="2"/>
4962
- <line num="483" type="stmt" count="2"/>
4963
- <line num="485" type="stmt" count="2"/>
4964
- <line num="486" type="stmt" count="2"/>
4965
- <line num="487" type="stmt" count="2"/>
4966
- <line num="488" type="stmt" count="2"/>
4967
- <line num="490" type="stmt" count="2"/>
4968
- <metrics loc="492" ncloc="251" classes="1" methods="15" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="151" coveredstatements="126" elements="166" coveredelements="137"/>
4969
  </file>
4970
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-omit.php">
4971
  <class name="Boldgrid_Backup_Admin_Db_Omit" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
@@ -5869,9 +5809,9 @@
5869
  <line num="165" type="stmt" count="4"/>
5870
  <line num="167" type="stmt" count="4"/>
5871
  <line num="168" type="stmt" count="4"/>
5872
- <line num="175" type="method" name="add_separator" visibility="public" complexity="1" crap="1" count="2"/>
5873
- <line num="176" type="stmt" count="2"/>
5874
- <line num="177" type="stmt" count="2"/>
5875
  <line num="184" type="method" name="clean_up" visibility="public" complexity="4" crap="4.25" count="4"/>
5876
  <line num="186" type="stmt" count="4"/>
5877
  <line num="187" type="stmt" count="4"/>
@@ -71725,7 +71665,7 @@
71725
  </file>
71726
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-db-import.php">
71727
  <class name="Test_Boldgrid_Backup_Admin_Db_Import" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Db">
71728
- <metrics complexity="11" methods="11" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="121" coveredstatements="121" elements="132" coveredelements="132"/>
71729
  </class>
71730
  <line num="27" type="method" name="setUp" visibility="public" complexity="1" crap="1" count="10"/>
71731
  <line num="28" type="stmt" count="10"/>
@@ -71774,92 +71714,97 @@
71774
  <line num="97" type="stmt" count="1"/>
71775
  <line num="103" type="method" name="test_import_lines" visibility="public" complexity="1" crap="1" count="1"/>
71776
  <line num="104" type="stmt" count="1"/>
71777
- <line num="107" type="stmt" count="1"/>
71778
  <line num="108" type="stmt" count="1"/>
 
 
 
 
 
 
 
 
 
 
 
71779
  <line num="125" type="stmt" count="1"/>
71780
- <line num="132" type="method" name="test_import_string" visibility="public" complexity="1" crap="1" count="1"/>
71781
- <line num="133" type="stmt" count="1"/>
71782
- <line num="134" type="stmt" count="1"/>
71783
- <line num="135" type="stmt" count="1"/>
71784
  <line num="136" type="stmt" count="1"/>
71785
- <line num="137" type="stmt" count="1"/>
71786
  <line num="139" type="stmt" count="1"/>
71787
- <line num="140" type="stmt" count="1"/>
71788
- <line num="147" type="method" name="test_fix_view_statements" visibility="public" complexity="1" crap="1" count="1"/>
71789
- <line num="148" type="stmt" count="1"/>
 
 
 
 
71790
  <line num="150" type="stmt" count="1"/>
71791
  <line num="151" type="stmt" count="1"/>
71792
- <line num="153" type="stmt" count="1"/>
71793
- <line num="154" type="stmt" count="1"/>
71794
- <line num="156" type="stmt" count="1"/>
71795
- <line num="157" type="stmt" count="1"/>
71796
- <line num="158" type="stmt" count="1"/>
71797
  <line num="159" type="stmt" count="1"/>
71798
  <line num="161" type="stmt" count="1"/>
71799
  <line num="162" type="stmt" count="1"/>
71800
  <line num="163" type="stmt" count="1"/>
71801
- <line num="170" type="method" name="test_fix_definer" visibility="public" complexity="1" crap="1" count="1"/>
 
 
 
 
71802
  <line num="171" type="stmt" count="1"/>
71803
- <line num="173" type="stmt" count="1"/>
71804
- <line num="174" type="stmt" count="1"/>
71805
- <line num="175" type="stmt" count="1"/>
71806
- <line num="177" type="stmt" count="1"/>
71807
- <line num="178" type="stmt" count="1"/>
71808
- <line num="179" type="stmt" count="1"/>
71809
- <line num="181" type="stmt" count="1"/>
71810
  <line num="182" type="stmt" count="1"/>
71811
  <line num="183" type="stmt" count="1"/>
71812
  <line num="184" type="stmt" count="1"/>
71813
- <line num="191" type="method" name="test_has_db_privileges" visibility="public" complexity="1" crap="1" count="1"/>
 
 
 
 
 
71814
  <line num="192" type="stmt" count="1"/>
 
71815
  <line num="194" type="stmt" count="1"/>
71816
  <line num="195" type="stmt" count="1"/>
71817
  <line num="196" type="stmt" count="1"/>
71818
  <line num="197" type="stmt" count="1"/>
71819
- <line num="198" type="stmt" count="1"/>
71820
  <line num="199" type="stmt" count="1"/>
71821
  <line num="200" type="stmt" count="1"/>
71822
- <line num="201" type="stmt" count="1"/>
71823
  <line num="203" type="stmt" count="1"/>
71824
  <line num="204" type="stmt" count="1"/>
71825
  <line num="205" type="stmt" count="1"/>
71826
  <line num="206" type="stmt" count="1"/>
71827
  <line num="207" type="stmt" count="1"/>
71828
- <line num="208" type="stmt" count="1"/>
71829
- <line num="209" type="stmt" count="1"/>
71830
- <line num="211" type="stmt" count="1"/>
71831
- <line num="212" type="stmt" count="1"/>
71832
- <line num="214" type="stmt" count="1"/>
71833
  <line num="215" type="stmt" count="1"/>
71834
  <line num="216" type="stmt" count="1"/>
71835
  <line num="217" type="stmt" count="1"/>
71836
  <line num="218" type="stmt" count="1"/>
71837
  <line num="219" type="stmt" count="1"/>
71838
- <line num="226" type="method" name="test_get_grants_array" visibility="public" complexity="1" crap="1" count="1"/>
71839
  <line num="227" type="stmt" count="1"/>
71840
  <line num="228" type="stmt" count="1"/>
71841
  <line num="229" type="stmt" count="1"/>
71842
- <line num="230" type="stmt" count="1"/>
71843
- <line num="231" type="stmt" count="1"/>
71844
- <line num="238" type="method" name="test_get_db_privileges" visibility="public" complexity="1" crap="1" count="1"/>
 
 
71845
  <line num="239" type="stmt" count="1"/>
71846
  <line num="240" type="stmt" count="1"/>
71847
  <line num="241" type="stmt" count="1"/>
 
71848
  <line num="244" type="stmt" count="1"/>
71849
  <line num="245" type="stmt" count="1"/>
71850
- <line num="246" type="stmt" count="1"/>
71851
  <line num="248" type="stmt" count="1"/>
71852
- <line num="249" type="stmt" count="1"/>
71853
- <line num="251" type="stmt" count="1"/>
71854
- <line num="252" type="stmt" count="1"/>
71855
- <line num="253" type="stmt" count="1"/>
71856
- <line num="254" type="stmt" count="1"/>
71857
- <line num="256" type="stmt" count="1"/>
71858
- <line num="257" type="stmt" count="1"/>
71859
- <line num="259" type="stmt" count="1"/>
71860
- <line num="260" type="stmt" count="1"/>
71861
- <line num="262" type="stmt" count="1"/>
71862
- <metrics loc="263" ncloc="168" classes="1" methods="11" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="121" coveredstatements="121" elements="132" coveredelements="132"/>
71863
  </file>
71864
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-notices.php">
71865
  <class name="Test_Boldgrid_Backup_Admin_Notice_Counts" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Notice">
@@ -76737,7 +76682,7 @@
76737
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
76738
  </file>
76739
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
76740
- <class name="ComposerStaticInitf02decd371c066865722b3e27e585232" namespace="Composer\Autoload">
76741
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
76742
  </class>
76743
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
@@ -76829,7 +76774,7 @@
76829
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
76830
  </file>
76831
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
76832
- <class name="ComposerAutoloaderInitf02decd371c066865722b3e27e585232" namespace="global">
76833
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
76834
  </class>
76835
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
@@ -96048,6 +95993,6 @@
96048
  <line num="16" type="stmt" count="0"/>
96049
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
96050
  </file>
96051
- <metrics files="961" loc="192856" ncloc="117598" classes="870" methods="3584" coveredmethods="307" conditionals="0" coveredconditionals="0" statements="86556" coveredstatements="4584" elements="90140" coveredelements="4891"/>
96052
  </project>
96053
  </coverage>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1596720307">
3
+ <project timestamp="1596720307">
4
  <package name="Boldgrid\Backup\Admin\Card">
5
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-amazon-s3.php">
6
  <class name="Amazon_S3" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Amazon">
2691
  </file>
2692
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
2693
  <class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
2694
+ <metrics complexity="235" methods="29" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1121" coveredstatements="542" elements="1150" coveredelements="546"/>
2695
  </class>
2696
  <line num="600" type="method" name="__construct" visibility="public" complexity="8" crap="8.07" count="29"/>
2697
  <line num="605" type="stmt" count="29"/>
2977
  <line num="1157" type="method" name="backup_database" visibility="private" complexity="7" crap="13.12" count="4"/>
2978
  <line num="1162" type="stmt" count="4"/>
2979
  <line num="1163" type="stmt" count="0"/>
2980
+ <line num="1164" type="stmt" count="0"/>
 
 
2981
  <line num="1174" type="stmt" count="4"/>
2982
  <line num="1177" type="stmt" count="4"/>
2983
+ <line num="1179" type="stmt" count="0"/>
2984
+ <line num="1180" type="stmt" count="0"/>
2985
+ <line num="1184" type="stmt" count="4"/>
2986
+ <line num="1187" type="stmt" count="4"/>
2987
+ <line num="1190" type="stmt" count="4"/>
2988
+ <line num="1192" type="stmt" count="0"/>
2989
+ <line num="1194" type="stmt" count="0"/>
2990
+ <line num="1196" type="stmt" count="0"/>
2991
+ <line num="1197" type="stmt" count="0"/>
2992
+ <line num="1201" type="stmt" count="4"/>
2993
+ <line num="1204" type="stmt" count="4"/>
 
2994
  <line num="1206" type="stmt" count="4"/>
2995
+ <line num="1209" type="stmt" count="4"/>
2996
+ <line num="1210" type="stmt" count="4"/>
2997
+ <line num="1211" type="stmt" count="0"/>
 
2998
  <line num="1215" type="stmt" count="4"/>
2999
  <line num="1216" type="stmt" count="4"/>
3000
  <line num="1218" type="stmt" count="0"/>
3001
  <line num="1220" type="stmt" count="0"/>
3002
  <line num="1222" type="stmt" count="0"/>
3003
  <line num="1223" type="stmt" count="0"/>
3004
+ <line num="1225" type="stmt" count="4"/>
3005
+ <line num="1226" type="stmt" count="4"/>
3006
+ <line num="1228" type="stmt" count="0"/>
3007
+ <line num="1230" type="stmt" count="0"/>
3008
+ <line num="1232" type="stmt" count="0"/>
3009
+ <line num="1233" type="stmt" count="0"/>
3010
+ <line num="1237" type="stmt" count="4"/>
3011
+ <line num="1240" type="stmt" count="4"/>
3012
+ <line num="1260" type="method" name="restore_database" visibility="private" complexity="9" crap="27.27" count="1"/>
3013
+ <line num="1262" type="stmt" count="1"/>
3014
+ <line num="1264" type="stmt" count="0"/>
3015
+ <line num="1265" type="stmt" count="0"/>
3016
  <line num="1266" type="stmt" count="0"/>
3017
  <line num="1268" type="stmt" count="0"/>
3018
+ <line num="1270" type="stmt" count="0"/>
3019
+ <line num="1274" type="stmt" count="1"/>
3020
+ <line num="1276" type="stmt" count="0"/>
3021
+ <line num="1278" type="stmt" count="0"/>
3022
+ <line num="1282" type="stmt" count="1"/>
3023
+ <line num="1285" type="stmt" count="1"/>
3024
+ <line num="1288" type="stmt" count="1"/>
3025
+ <line num="1289" type="stmt" count="1"/>
3026
+ <line num="1291" type="stmt" count="1"/>
3027
  <line num="1293" type="stmt" count="1"/>
3028
+ <line num="1299" type="stmt" count="0"/>
3029
+ <line num="1300" type="stmt" count="0"/>
3030
+ <line num="1303" type="stmt" count="1"/>
3031
+ <line num="1304" type="stmt" count="1"/>
3032
+ <line num="1306" type="stmt" count="1"/>
3033
+ <line num="1307" type="stmt" count="0"/>
3034
+ <line num="1308" type="stmt" count="0"/>
3035
+ <line num="1309" type="stmt" count="0"/>
3036
+ <line num="1313" type="stmt" count="1"/>
3037
  <line num="1315" type="stmt" count="0"/>
3038
+ <line num="1318" type="stmt" count="0"/>
3039
+ <line num="1319" type="stmt" count="0"/>
3040
  <line num="1322" type="stmt" count="1"/>
 
3041
  <line num="1325" type="stmt" count="1"/>
3042
  <line num="1326" type="stmt" count="1"/>
 
 
3043
  <line num="1329" type="stmt" count="1"/>
3044
+ <line num="1331" type="stmt" count="0"/>
3045
+ <line num="1333" type="stmt" count="0"/>
3046
  <line num="1335" type="stmt" count="0"/>
3047
+ <line num="1336" type="stmt" count="0"/>
3048
  <line num="1337" type="stmt" count="0"/>
3049
+ <line num="1338" type="stmt" count="0"/>
3050
  <line num="1340" type="stmt" count="0"/>
 
3051
  <line num="1342" type="stmt" count="0"/>
3052
+ <line num="1343" type="stmt" count="0"/>
3053
  <line num="1344" type="stmt" count="0"/>
3054
+ <line num="1347" type="stmt" count="1"/>
3055
+ <line num="1350" type="stmt" count="0"/>
3056
+ <line num="1352" type="stmt" count="0"/>
3057
+ <line num="1353" type="stmt" count="0"/>
3058
+ <line num="1356" type="stmt" count="1"/>
3059
+ <line num="1367" type="method" name="get_filelist" visibility="public" complexity="10" crap="10.11" count="4"/>
3060
+ <line num="1370" type="stmt" count="4"/>
3061
+ <line num="1371" type="stmt" count="0"/>
3062
+ <line num="1375" type="stmt" count="4"/>
3063
+ <line num="1378" type="stmt" count="4"/>
3064
+ <line num="1379" type="stmt" count="0"/>
3065
+ <line num="1383" type="stmt" count="4"/>
3066
+ <line num="1386" type="stmt" count="4"/>
 
3067
  <line num="1387" type="stmt" count="4"/>
3068
+ <line num="1388" type="stmt" count="4"/>
3069
  <line num="1391" type="stmt" count="4"/>
3070
+ <line num="1394" type="stmt" count="4"/>
3071
+ <line num="1405" type="stmt" count="4"/>
3072
+ <line num="1406" type="stmt" count="4"/>
3073
+ <line num="1407" type="stmt" count="4"/>
3074
+ <line num="1408" type="stmt" count="4"/>
3075
  <line num="1409" type="stmt" count="4"/>
 
3076
  <line num="1411" type="stmt" count="4"/>
 
3077
  <line num="1413" type="stmt" count="4"/>
3078
+ <line num="1416" type="stmt" count="4"/>
3079
+ <line num="1417" type="stmt" count="0"/>
3080
+ <line num="1419" type="stmt" count="4"/>
3081
  <line num="1420" type="stmt" count="4"/>
 
3082
  <line num="1423" type="stmt" count="4"/>
3083
  <line num="1424" type="stmt" count="4"/>
3084
+ <line num="1427" type="stmt" count="0"/>
3085
+ <line num="1429" type="stmt" count="4"/>
3086
+ <line num="1432" type="stmt" count="4"/>
3087
+ <line num="1434" type="stmt" count="4"/>
3088
+ <line num="1435" type="stmt" count="4"/>
3089
+ <line num="1437" type="stmt" count="4"/>
3090
  <line num="1439" type="stmt" count="4"/>
 
3091
  <line num="1443" type="stmt" count="4"/>
3092
+ <line num="1446" type="stmt" count="4"/>
3093
+ <line num="1449" type="stmt" count="4"/>
3094
  <line num="1450" type="stmt" count="4"/>
3095
+ <line num="1451" type="stmt" count="4"/>
3096
+ <line num="1452" type="stmt" count="4"/>
3097
  <line num="1454" type="stmt" count="4"/>
3098
+ <line num="1457" type="stmt" count="4"/>
3099
+ <line num="1473" type="method" name="get_filtered_filelist" visibility="public" complexity="8" crap="8.30" count="4"/>
3100
+ <line num="1476" type="stmt" count="4"/>
3101
+ <line num="1477" type="stmt" count="0"/>
3102
+ <line num="1481" type="stmt" count="4"/>
3103
+ <line num="1484" type="stmt" count="4"/>
3104
+ <line num="1485" type="stmt" count="0"/>
3105
+ <line num="1489" type="stmt" count="4"/>
3106
+ <line num="1492" type="stmt" count="4"/>
3107
+ <line num="1495" type="stmt" count="4"/>
 
3108
  <line num="1496" type="stmt" count="4"/>
3109
+ <line num="1498" type="stmt" count="4"/>
3110
+ <line num="1499" type="stmt" count="0"/>
3111
  <line num="1502" type="stmt" count="4"/>
3112
+ <line num="1503" type="stmt" count="4"/>
3113
  <line num="1506" type="stmt" count="4"/>
3114
  <line num="1507" type="stmt" count="4"/>
3115
  <line num="1510" type="stmt" count="4"/>
3116
+ <line num="1513" type="stmt" count="4"/>
3117
+ <line num="1516" type="stmt" count="4"/>
3118
+ <line num="1528" type="method" name="generate_archive_path" visibility="public" complexity="3" crap="3.00" count="4"/>
3119
+ <line num="1530" type="stmt" count="4"/>
3120
+ <line num="1533" type="stmt" count="4"/>
3121
+ <line num="1536" type="stmt" count="4"/>
3122
+ <line num="1537" type="stmt" count="0"/>
3123
+ <line num="1541" type="stmt" count="4"/>
3124
+ <line num="1544" type="stmt" count="4"/>
3125
+ <line num="1546" type="stmt" count="4"/>
3126
+ <line num="1547" type="stmt" count="4"/>
3127
  <line num="1548" type="stmt" count="4"/>
3128
+ <line num="1549" type="stmt" count="4"/>
3129
  <line num="1550" type="stmt" count="4"/>
3130
  <line num="1551" type="stmt" count="4"/>
3131
  <line num="1552" type="stmt" count="4"/>
 
 
3132
  <line num="1555" type="stmt" count="4"/>
3133
+ <line num="1558" type="stmt" count="4"/>
3134
+ <line num="1560" type="stmt" count="4"/>
3135
  <line num="1562" type="stmt" count="4"/>
3136
+ <line num="1563" type="stmt" count="4"/>
3137
+ <line num="1565" type="stmt" count="4"/>
3138
+ <line num="1580" type="method" name="archive_files" visibility="public" complexity="49" crap="69.06" count="4"/>
3139
+ <line num="1581" type="stmt" count="4"/>
3140
+ <line num="1583" type="stmt" count="4"/>
3141
+ <line num="1584" type="stmt" count="4"/>
3142
+ <line num="1586" type="stmt" count="4"/>
3143
  <line num="1588" type="stmt" count="4"/>
3144
+ <line num="1594" type="stmt" count="4"/>
3145
+ <line num="1596" type="stmt" count="4"/>
3146
+ <line num="1597" type="stmt" count="4"/>
3147
  <line num="1598" type="stmt" count="4"/>
3148
+ <line num="1605" type="stmt" count="4"/>
3149
+ <line num="1607" type="stmt" count="4"/>
3150
+ <line num="1608" type="stmt" count="4"/>
3151
  <line num="1609" type="stmt" count="4"/>
3152
+ <line num="1620" type="stmt" count="4"/>
3153
+ <line num="1621" type="stmt" count="0"/>
3154
+ <line num="1622" type="stmt" count="0"/>
3155
+ <line num="1623" type="stmt" count="0"/>
3156
+ <line num="1627" type="stmt" count="4"/>
3157
+ <line num="1629" type="stmt" count="0"/>
3158
+ <line num="1631" type="stmt" count="0"/>
3159
+ <line num="1632" type="stmt" count="0"/>
3160
+ <line num="1634" type="stmt" count="0"/>
3161
+ <line num="1638" type="stmt" count="4"/>
3162
+ <line num="1647" type="stmt" count="4"/>
3163
+ <line num="1648" type="stmt" count="4"/>
3164
+ <line num="1649" type="stmt" count="4"/>
3165
+ <line num="1650" type="stmt" count="4"/>
3166
  <line num="1651" type="stmt" count="4"/>
3167
  <line num="1652" type="stmt" count="4"/>
3168
  <line num="1653" type="stmt" count="4"/>
3170
  <line num="1655" type="stmt" count="4"/>
3171
  <line num="1656" type="stmt" count="4"/>
3172
  <line num="1657" type="stmt" count="4"/>
 
3173
  <line num="1659" type="stmt" count="4"/>
3174
  <line num="1660" type="stmt" count="4"/>
3175
  <line num="1661" type="stmt" count="4"/>
3176
+ <line num="1662" type="stmt" count="4"/>
3177
  <line num="1664" type="stmt" count="4"/>
3178
  <line num="1665" type="stmt" count="4"/>
3179
  <line num="1666" type="stmt" count="4"/>
3180
+ <line num="1667" type="stmt" count="4"/>
3181
  <line num="1668" type="stmt" count="4"/>
3182
  <line num="1669" type="stmt" count="4"/>
3183
  <line num="1670" type="stmt" count="4"/>
3187
  <line num="1674" type="stmt" count="4"/>
3188
  <line num="1675" type="stmt" count="4"/>
3189
  <line num="1676" type="stmt" count="4"/>
 
 
3190
  <line num="1679" type="stmt" count="4"/>
3191
+ <line num="1680" type="stmt" count="0"/>
3192
+ <line num="1681" type="stmt" count="4"/>
3193
+ <line num="1682" type="stmt" count="0"/>
3194
+ <line num="1683" type="stmt" count="0"/>
3195
+ <line num="1684" type="stmt" count="4"/>
3196
+ <line num="1685" type="stmt" count="0"/>
3197
+ <line num="1686" type="stmt" count="4"/>
3198
  <line num="1687" type="stmt" count="0"/>
3199
+ <line num="1688" type="stmt" count="0"/>
3200
+ <line num="1689" type="stmt" count="4"/>
3201
+ <line num="1692" type="stmt" count="4"/>
3202
+ <line num="1695" type="stmt" count="4"/>
3203
+ <line num="1696" type="stmt" count="0"/>
3204
+ <line num="1700" type="stmt" count="4"/>
3205
+ <line num="1701" type="stmt" count="4"/>
3206
+ <line num="1702" type="stmt" count="4"/>
 
 
3207
  <line num="1705" type="stmt" count="4"/>
3208
+ <line num="1708" type="stmt" count="4"/>
3209
+ <line num="1711" type="stmt" count="4"/>
3210
  <line num="1712" type="stmt" count="4"/>
3211
+ <line num="1713" type="stmt" count="4"/>
3212
+ <line num="1714" type="stmt" count="4"/>
3213
  <line num="1716" type="stmt" count="4"/>
3214
+ <line num="1718" type="stmt" count="4"/>
3215
  <line num="1719" type="stmt" count="4"/>
3216
+ <line num="1720" type="stmt" count="4"/>
3217
  <line num="1722" type="stmt" count="4"/>
3218
+ <line num="1724" type="stmt" count="0"/>
3219
+ <line num="1725" type="stmt" count="0"/>
3220
  <line num="1726" type="stmt" count="0"/>
3221
+ <line num="1728" type="stmt" count="4"/>
3222
+ <line num="1731" type="stmt" count="4"/>
3223
+ <line num="1734" type="stmt" count="4"/>
3224
+ <line num="1737" type="stmt" count="4"/>
3225
+ <line num="1740" type="stmt" count="4"/>
3226
+ <line num="1741" type="stmt" count="0"/>
 
3227
  <line num="1743" type="stmt" count="0"/>
3228
+ <line num="1744" type="stmt" count="0"/>
3229
  <line num="1746" type="stmt" count="0"/>
3230
+ <line num="1750" type="stmt" count="4"/>
3231
+ <line num="1753" type="stmt" count="4"/>
3232
+ <line num="1754" type="stmt" count="0"/>
3233
+ <line num="1758" type="stmt" count="4"/>
3234
+ <line num="1759" type="stmt" count="4"/>
3235
+ <line num="1762" type="stmt" count="4"/>
3236
+ <line num="1763" type="stmt" count="4"/>
3237
  <line num="1764" type="stmt" count="4"/>
3238
  <line num="1765" type="stmt" count="4"/>
 
3239
  <line num="1767" type="stmt" count="4"/>
3240
  <line num="1769" type="stmt" count="4"/>
3241
+ <line num="1770" type="stmt" count="4"/>
3242
  <line num="1771" type="stmt" count="4"/>
3243
  <line num="1772" type="stmt" count="4"/>
3244
  <line num="1773" type="stmt" count="4"/>
3246
  <line num="1775" type="stmt" count="4"/>
3247
  <line num="1776" type="stmt" count="4"/>
3248
  <line num="1777" type="stmt" count="4"/>
 
3249
  <line num="1779" type="stmt" count="4"/>
3250
+ <line num="1791" type="stmt" count="4"/>
3251
  <line num="1793" type="stmt" count="4"/>
3252
+ <line num="1794" type="stmt" count="4"/>
3253
+ <line num="1797" type="stmt" count="4"/>
3254
  <line num="1799" type="stmt" count="4"/>
3255
  <line num="1801" type="stmt" count="4"/>
3256
+ <line num="1802" type="stmt" count="4"/>
3257
  <line num="1803" type="stmt" count="4"/>
 
3258
  <line num="1805" type="stmt" count="4"/>
3259
+ <line num="1811" type="stmt" count="4"/>
3260
+ <line num="1812" type="stmt" count="4"/>
3261
+ <line num="1813" type="stmt" count="1"/>
3262
+ <line num="1814" type="stmt" count="1"/>
3263
  <line num="1815" type="stmt" count="1"/>
3264
+ <line num="1816" type="stmt" count="4"/>
3265
+ <line num="1817" type="stmt" count="4"/>
3266
  <line num="1818" type="stmt" count="4"/>
3267
  <line num="1819" type="stmt" count="4"/>
3268
+ <line num="1820" type="stmt" count="1"/>
3269
+ <line num="1822" type="stmt" count="0"/>
3270
+ <line num="1823" type="stmt" count="0"/>
3271
+ <line num="1824" type="stmt" count="1"/>
3272
+ <line num="1826" type="stmt" count="0"/>
3273
+ <line num="1827" type="stmt" count="0"/>
3274
+ <line num="1828" type="stmt" count="1"/>
3275
+ <line num="1830" type="stmt" count="0"/>
3276
+ <line num="1831" type="stmt" count="0"/>
3277
+ <line num="1832" type="stmt" count="1"/>
3278
+ <line num="1834" type="stmt" count="0"/>
3279
+ <line num="1835" type="stmt" count="0"/>
3280
+ <line num="1836" type="stmt" count="1"/>
3281
+ <line num="1837" type="stmt" count="1"/>
3282
  <line num="1838" type="stmt" count="1"/>
3283
  <line num="1839" type="stmt" count="1"/>
3284
+ <line num="1840" type="stmt" count="0"/>
3285
+ <line num="1841" type="stmt" count="0"/>
3286
  <line num="1842" type="stmt" count="0"/>
3287
+ <line num="1843" type="stmt" count="4"/>
 
3288
  <line num="1845" type="stmt" count="4"/>
3289
+ <line num="1846" type="stmt" count="4"/>
3290
+ <line num="1849" type="stmt" count="4"/>
3291
+ <line num="1850" type="stmt" count="4"/>
3292
+ <line num="1851" type="stmt" count="0"/>
3293
+ <line num="1852" type="stmt" count="0"/>
3294
+ <line num="1853" type="stmt" count="4"/>
3295
+ <line num="1854" type="stmt" count="4"/>
3296
  <line num="1855" type="stmt" count="4"/>
3297
  <line num="1856" type="stmt" count="4"/>
3298
  <line num="1857" type="stmt" count="4"/>
3300
  <line num="1859" type="stmt" count="4"/>
3301
  <line num="1860" type="stmt" count="4"/>
3302
  <line num="1861" type="stmt" count="4"/>
 
3303
  <line num="1863" type="stmt" count="4"/>
3304
+ <line num="1864" type="stmt" count="4"/>
3305
  <line num="1866" type="stmt" count="4"/>
3306
  <line num="1868" type="stmt" count="4"/>
3307
+ <line num="1869" type="stmt" count="0"/>
3308
+ <line num="1870" type="stmt" count="0"/>
3309
+ <line num="1872" type="stmt" count="4"/>
3310
+ <line num="1873" type="stmt" count="0"/>
3311
+ <line num="1876" type="stmt" count="4"/>
3312
  <line num="1878" type="stmt" count="4"/>
3313
  <line num="1880" type="stmt" count="4"/>
3314
+ <line num="1883" type="stmt" count="4"/>
3315
+ <line num="1886" type="stmt" count="4"/>
3316
+ <line num="1887" type="stmt" count="4"/>
3317
+ <line num="1890" type="stmt" count="4"/>
3318
+ <line num="1893" type="stmt" count="4"/>
3319
+ <line num="1894" type="stmt" count="4"/>
3320
  <line num="1895" type="stmt" count="4"/>
3321
+ <line num="1928" type="stmt" count="4"/>
3322
+ <line num="1939" type="stmt" count="4"/>
3323
+ <line num="1940" type="stmt" count="4"/>
 
3324
  <line num="1942" type="stmt" count="4"/>
3325
+ <line num="1943" type="stmt" count="4"/>
3326
  <line num="1944" type="stmt" count="4"/>
 
3327
  <line num="1946" type="stmt" count="4"/>
3328
+ <line num="1947" type="stmt" count="4"/>
3329
+ <line num="1950" type="stmt" count="4"/>
3330
  <line num="1952" type="stmt" count="4"/>
3331
  <line num="1954" type="stmt" count="4"/>
3332
+ <line num="1957" type="stmt" count="4"/>
3333
  <line num="1959" type="stmt" count="4"/>
3334
+ <line num="1960" type="stmt" count="4"/>
3335
+ <line num="1963" type="stmt" count="4"/>
3336
+ <line num="1964" type="stmt" count="0"/>
3337
+ <line num="1965" type="stmt" count="0"/>
3338
+ <line num="1967" type="stmt" count="4"/>
3339
  <line num="1969" type="stmt" count="4"/>
3340
+ <line num="1970" type="stmt" count="0"/>
3341
+ <line num="1971" type="stmt" count="0"/>
3342
+ <line num="1973" type="stmt" count="4"/>
3343
+ <line num="1974" type="stmt" count="4"/>
3344
  <line num="1976" type="stmt" count="4"/>
3345
+ <line num="1979" type="stmt" count="4"/>
3346
+ <line num="2000" type="method" name="get_archive_list" visibility="public" complexity="11" crap="11.15" count="6"/>
3347
+ <line num="2002" type="stmt" count="6"/>
3348
+ <line num="2005" type="stmt" count="6"/>
3349
+ <line num="2008" type="stmt" count="6"/>
3350
+ <line num="2009" type="stmt" count="6"/>
3351
  <line num="2010" type="stmt" count="6"/>
3352
+ <line num="2013" type="stmt" count="6"/>
3353
+ <line num="2014" type="stmt" count="0"/>
3354
+ <line num="2018" type="stmt" count="6"/>
3355
+ <line num="2021" type="stmt" count="6"/>
3356
+ <line num="2022" type="stmt" count="0"/>
3357
+ <line num="2026" type="stmt" count="6"/>
3358
+ <line num="2027" type="stmt" count="0"/>
3359
+ <line num="2029" type="stmt" count="6"/>
3360
+ <line num="2030" type="stmt" count="5"/>
3361
+ <line num="2033" type="stmt" count="6"/>
3362
+ <line num="2034" type="stmt" count="5"/>
3363
+ <line num="2037" type="stmt" count="6"/>
 
3364
  <line num="2039" type="stmt" count="6"/>
3365
+ <line num="2042" type="stmt" count="6"/>
3366
+ <line num="2045" type="stmt" count="6"/>
3367
+ <line num="2046" type="stmt" count="6"/>
3368
+ <line num="2048" type="stmt" count="5"/>
3369
+ <line num="2051" type="stmt" count="5"/>
3370
+ <line num="2052" type="stmt" count="0"/>
3371
+ <line num="2057" type="stmt" count="5"/>
3372
+ <line num="2058" type="stmt" count="5"/>
3373
  <line num="2059" type="stmt" count="5"/>
3374
  <line num="2060" type="stmt" count="5"/>
3375
  <line num="2061" type="stmt" count="5"/>
3376
  <line num="2062" type="stmt" count="5"/>
3377
  <line num="2063" type="stmt" count="5"/>
3378
  <line num="2064" type="stmt" count="5"/>
3379
+ <line num="2068" type="stmt" count="5"/>
3380
+ <line num="2069" type="stmt" count="1"/>
3381
+ <line num="2071" type="stmt" count="5"/>
3382
+ <line num="2072" type="stmt" count="6"/>
3383
+ <line num="2075" type="stmt" count="6"/>
3384
+ <line num="2086" type="method" name="delete_archive_file" visibility="public" complexity="11" crap="132" count="0"/>
3385
+ <line num="2089" type="stmt" count="0"/>
3386
+ <line num="2090" type="stmt" count="0"/>
3387
+ <line num="2094" type="stmt" count="0"/>
3388
+ <line num="2097" type="stmt" count="0"/>
3389
+ <line num="2100" type="stmt" count="0"/>
3390
+ <line num="2101" type="stmt" count="0"/>
3391
  <line num="2102" type="stmt" count="0"/>
3392
  <line num="2103" type="stmt" count="0"/>
 
3393
  <line num="2105" type="stmt" count="0"/>
3394
+ <line num="2106" type="stmt" count="0"/>
3395
  <line num="2107" type="stmt" count="0"/>
 
3396
  <line num="2109" type="stmt" count="0"/>
3397
  <line num="2111" type="stmt" count="0"/>
3398
+ <line num="2115" type="stmt" count="0"/>
3399
+ <line num="2116" type="stmt" count="0"/>
3400
  <line num="2117" type="stmt" count="0"/>
 
3401
  <line num="2119" type="stmt" count="0"/>
3402
+ <line num="2120" type="stmt" count="0"/>
3403
  <line num="2121" type="stmt" count="0"/>
 
3404
  <line num="2123" type="stmt" count="0"/>
3405
  <line num="2125" type="stmt" count="0"/>
3406
+ <line num="2129" type="stmt" count="0"/>
3407
+ <line num="2130" type="stmt" count="0"/>
3408
+ <line num="2134" type="stmt" count="0"/>
3409
+ <line num="2137" type="stmt" count="0"/>
3410
  <line num="2139" type="stmt" count="0"/>
3411
+ <line num="2140" type="stmt" count="0"/>
3412
  <line num="2141" type="stmt" count="0"/>
 
3413
  <line num="2143" type="stmt" count="0"/>
3414
  <line num="2145" type="stmt" count="0"/>
3415
+ <line num="2150" type="stmt" count="0"/>
3416
+ <line num="2151" type="stmt" count="0"/>
3417
  <line num="2152" type="stmt" count="0"/>
3418
+ <line num="2155" type="stmt" count="0"/>
 
3419
  <line num="2157" type="stmt" count="0"/>
3420
+ <line num="2158" type="stmt" count="0"/>
3421
  <line num="2159" type="stmt" count="0"/>
 
3422
  <line num="2161" type="stmt" count="0"/>
3423
  <line num="2163" type="stmt" count="0"/>
3424
+ <line num="2168" type="stmt" count="0"/>
3425
+ <line num="2169" type="stmt" count="0"/>
3426
  <line num="2170" type="stmt" count="0"/>
 
3427
  <line num="2172" type="stmt" count="0"/>
3428
+ <line num="2175" type="stmt" count="0"/>
3429
+ <line num="2176" type="stmt" count="0"/>
3430
  <line num="2177" type="stmt" count="0"/>
3431
  <line num="2178" type="stmt" count="0"/>
 
3432
  <line num="2180" type="stmt" count="0"/>
3433
+ <line num="2181" type="stmt" count="0"/>
3434
+ <line num="2191" type="stmt" count="0"/>
3435
+ <line num="2194" type="stmt" count="0"/>
3436
+ <line num="2207" type="method" name="get_dump_file" visibility="public" complexity="9" crap="25.08" count="1"/>
3437
+ <line num="2209" type="stmt" count="1"/>
3438
+ <line num="2210" type="stmt" count="0"/>
3439
+ <line num="2230" type="stmt" count="1"/>
3440
+ <line num="2231" type="stmt" count="1"/>
3441
  <line num="2232" type="stmt" count="1"/>
3442
  <line num="2233" type="stmt" count="1"/>
3443
+ <line num="2237" type="stmt" count="0"/>
3444
+ <line num="2240" type="stmt" count="0"/>
3445
+ <line num="2243" type="stmt" count="0"/>
3446
+ <line num="2244" type="stmt" count="0"/>
3447
+ <line num="2248" type="stmt" count="0"/>
3448
+ <line num="2249" type="stmt" count="0"/>
3449
+ <line num="2250" type="method" name="anonymous function" complexity="3" crap="12" count="0"/>
3450
  <line num="2251" type="stmt" count="0"/>
3451
+ <line num="2252" type="stmt" count="0"/>
3452
+ <line num="2255" type="stmt" count="0"/>
3453
+ <line num="2256" type="stmt" count="0"/>
3454
+ <line num="2259" type="stmt" count="0"/>
 
3455
  <line num="2261" type="stmt" count="0"/>
3456
+ <line num="2268" type="stmt" count="0"/>
3457
+ <line num="2269" type="stmt" count="0"/>
3458
  <line num="2270" type="stmt" count="0"/>
3459
  <line num="2271" type="stmt" count="0"/>
 
3460
  <line num="2273" type="stmt" count="0"/>
3461
+ <line num="2276" type="stmt" count="0"/>
3462
+ <line num="2289" type="method" name="restore_archive_file" visibility="public" complexity="28" crap="65.94" count="1"/>
3463
+ <line num="2290" type="stmt" count="1"/>
3464
  <line num="2292" type="stmt" count="1"/>
3465
+ <line num="2293" type="stmt" count="1"/>
3466
  <line num="2294" type="stmt" count="1"/>
3467
+ <line num="2297" type="stmt" count="1"/>
 
3468
  <line num="2299" type="stmt" count="1"/>
3469
+ <line num="2302" type="stmt" count="1"/>
3470
+ <line num="2303" type="stmt" count="0"/>
3471
+ <line num="2304" type="stmt" count="0"/>
3472
  <line num="2305" type="stmt" count="0"/>
3473
+ <line num="2309" type="stmt" count="1"/>
3474
+ <line num="2310" type="stmt" count="0"/>
3475
+ <line num="2311" type="stmt" count="0"/>
3476
  <line num="2312" type="stmt" count="0"/>
3477
+ <line num="2316" type="stmt" count="1"/>
3478
+ <line num="2317" type="stmt" count="1"/>
3479
+ <line num="2320" type="stmt" count="1"/>
3480
+ <line num="2321" type="stmt" count="1"/>
3481
  <line num="2322" type="stmt" count="1"/>
3482
+ <line num="2323" type="stmt" count="0"/>
3483
+ <line num="2324" type="stmt" count="0"/>
3484
  <line num="2325" type="stmt" count="0"/>
3485
+ <line num="2329" type="stmt" count="1"/>
3486
+ <line num="2330" type="stmt" count="1"/>
3487
  <line num="2331" type="stmt" count="1"/>
3488
+ <line num="2332" type="stmt" count="0"/>
3489
+ <line num="2333" type="stmt" count="0"/>
3490
  <line num="2334" type="stmt" count="0"/>
3491
+ <line num="2338" type="stmt" count="1"/>
 
3492
  <line num="2340" type="stmt" count="1"/>
3493
+ <line num="2341" type="stmt" count="1"/>
3494
+ <line num="2342" type="stmt" count="0"/>
3495
+ <line num="2343" type="stmt" count="0"/>
3496
  <line num="2344" type="stmt" count="0"/>
3497
+ <line num="2347" type="stmt" count="1"/>
 
3498
  <line num="2349" type="stmt" count="1"/>
3499
+ <line num="2350" type="stmt" count="0"/>
3500
+ <line num="2351" type="stmt" count="0"/>
3501
  <line num="2352" type="stmt" count="0"/>
3502
+ <line num="2355" type="stmt" count="1"/>
 
3503
  <line num="2357" type="stmt" count="1"/>
3504
+ <line num="2358" type="stmt" count="1"/>
3505
  <line num="2359" type="stmt" count="1"/>
3506
+ <line num="2360" type="stmt" count="0"/>
3507
+ <line num="2361" type="stmt" count="0"/>
3508
  <line num="2362" type="stmt" count="0"/>
3509
+ <line num="2367" type="stmt" count="1"/>
3510
+ <line num="2368" type="stmt" count="1"/>
3511
  <line num="2369" type="stmt" count="1"/>
3512
  <line num="2370" type="stmt" count="1"/>
3513
  <line num="2371" type="stmt" count="1"/>
3515
  <line num="2373" type="stmt" count="1"/>
3516
  <line num="2374" type="stmt" count="1"/>
3517
  <line num="2375" type="stmt" count="1"/>
3518
+ <line num="2378" type="stmt" count="1"/>
 
3519
  <line num="2380" type="stmt" count="1"/>
3520
+ <line num="2389" type="stmt" count="1"/>
3521
+ <line num="2395" type="stmt" count="1"/>
3522
+ <line num="2396" type="stmt" count="1"/>
3523
+ <line num="2397" type="stmt" count="0"/>
3524
+ <line num="2398" type="stmt" count="0"/>
3525
  <line num="2399" type="stmt" count="0"/>
3526
+ <line num="2401" type="stmt" count="1"/>
3527
+ <line num="2402" type="stmt" count="0"/>
3528
+ <line num="2405" type="stmt" count="1"/>
3529
+ <line num="2406" type="stmt" count="1"/>
3530
+ <line num="2407" type="stmt" count="1"/>
3531
  <line num="2408" type="stmt" count="1"/>
3532
+ <line num="2409" type="stmt" count="1"/>
3533
  <line num="2411" type="stmt" count="1"/>
3534
+ <line num="2412" type="stmt" count="0"/>
3535
+ <line num="2422" type="stmt" count="0"/>
3536
+ <line num="2424" type="stmt" count="0"/>
3537
+ <line num="2425" type="stmt" count="0"/>
 
 
 
 
 
 
3538
  <line num="2426" type="stmt" count="0"/>
3539
+ <line num="2427" type="stmt" count="0"/>
3540
+ <line num="2428" type="stmt" count="0"/>
3541
+ <line num="2430" type="stmt" count="0"/>
3542
+ <line num="2440" type="stmt" count="1"/>
3543
+ <line num="2449" type="stmt" count="1"/>
3544
+ <line num="2450" type="stmt" count="1"/>
3545
+ <line num="2451" type="stmt" count="1"/>
3546
+ <line num="2452" type="stmt" count="1"/>
3547
+ <line num="2453" type="stmt" count="1"/>
3548
  <line num="2456" type="stmt" count="1"/>
3549
+ <line num="2457" type="stmt" count="0"/>
3550
+ <line num="2458" type="stmt" count="0"/>
3551
+ <line num="2460" type="stmt" count="1"/>
3552
+ <line num="2461" type="stmt" count="0"/>
3553
+ <line num="2463" type="stmt" count="0"/>
3554
+ <line num="2464" type="stmt" count="0"/>
3555
+ <line num="2465" type="stmt" count="0"/>
3556
+ <line num="2466" type="stmt" count="0"/>
3557
+ <line num="2469" type="stmt" count="1"/>
3558
  <line num="2470" type="stmt" count="1"/>
3559
+ <line num="2473" type="stmt" count="1"/>
3560
  <line num="2474" type="stmt" count="1"/>
3561
+ <line num="2477" type="stmt" count="1"/>
3562
+ <line num="2478" type="stmt" count="0"/>
3563
+ <line num="2479" type="stmt" count="0"/>
3564
+ <line num="2480" type="stmt" count="0"/>
3565
  <line num="2482" type="stmt" count="1"/>
3566
+ <line num="2483" type="stmt" count="1"/>
3567
+ <line num="2484" type="stmt" count="1"/>
 
3568
  <line num="2487" type="stmt" count="1"/>
3569
  <line num="2490" type="stmt" count="1"/>
 
3570
  <line num="2493" type="stmt" count="1"/>
3571
+ <line num="2494" type="stmt" count="1"/>
 
3572
  <line num="2497" type="stmt" count="1"/>
 
3573
  <line num="2501" type="stmt" count="1"/>
3574
+ <line num="2503" type="stmt" count="1"/>
3575
  <line num="2504" type="stmt" count="1"/>
3576
  <line num="2507" type="stmt" count="1"/>
3577
+ <line num="2510" type="stmt" count="1"/>
3578
+ <line num="2512" type="stmt" count="1"/>
3579
+ <line num="2514" type="stmt" count="1"/>
3580
  <line num="2517" type="stmt" count="1"/>
3581
+ <line num="2530" type="method" name="page_archives" visibility="public" complexity="4" crap="20" count="0"/>
3582
+ <line num="2531" type="stmt" count="0"/>
3583
+ <line num="2534" type="stmt" count="0"/>
3584
+ <line num="2536" type="stmt" count="0"/>
3585
+ <line num="2539" type="stmt" count="0"/>
3586
+ <line num="2542" type="stmt" count="0"/>
3587
+ <line num="2543" type="stmt" count="0"/>
3588
  <line num="2545" type="stmt" count="0"/>
3589
  <line num="2548" type="stmt" count="0"/>
3590
+ <line num="2549" type="stmt" count="0"/>
3591
  <line num="2550" type="stmt" count="0"/>
3592
+ <line num="2552" type="stmt" count="0"/>
3593
  <line num="2553" type="stmt" count="0"/>
3594
  <line num="2556" type="stmt" count="0"/>
 
3595
  <line num="2559" type="stmt" count="0"/>
3596
  <line num="2562" type="stmt" count="0"/>
 
3597
  <line num="2564" type="stmt" count="0"/>
3598
+ <line num="2565" type="stmt" count="0"/>
3599
  <line num="2566" type="stmt" count="0"/>
3600
+ <line num="2569" type="stmt" count="0"/>
3601
+ <line num="2571" type="stmt" count="0"/>
3602
+ <line num="2574" type="stmt" count="0"/>
3603
+ <line num="2575" type="stmt" count="0"/>
3604
  <line num="2576" type="stmt" count="0"/>
3605
  <line num="2578" type="stmt" count="0"/>
3606
+ <line num="2581" type="stmt" count="0"/>
3607
+ <line num="2582" type="stmt" count="0"/>
3608
+ <line num="2591" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="10" crap="110" count="0"/>
3609
+ <line num="2594" type="stmt" count="0"/>
 
 
 
 
3610
  <line num="2595" type="stmt" count="0"/>
3611
  <line num="2596" type="stmt" count="0"/>
3612
+ <line num="2598" type="stmt" count="0"/>
3613
+ <line num="2599" type="stmt" count="0"/>
3614
+ <line num="2600" type="stmt" count="0"/>
3615
+ <line num="2603" type="stmt" count="0"/>
3616
+ <line num="2604" type="stmt" count="0"/>
3617
+ <line num="2605" type="stmt" count="0"/>
3618
+ <line num="2607" type="stmt" count="0"/>
3619
  <line num="2608" type="stmt" count="0"/>
3620
  <line num="2609" type="stmt" count="0"/>
3621
+ <line num="2611" type="stmt" count="0"/>
 
3622
  <line num="2613" type="stmt" count="0"/>
3623
  <line num="2614" type="stmt" count="0"/>
3624
+ <line num="2615" type="stmt" count="0"/>
3625
  <line num="2617" type="stmt" count="0"/>
3626
  <line num="2618" type="stmt" count="0"/>
3627
+ <line num="2620" type="stmt" count="0"/>
 
 
3628
  <line num="2623" type="stmt" count="0"/>
3629
+ <line num="2624" type="stmt" count="0"/>
3630
  <line num="2625" type="stmt" count="0"/>
3631
+ <line num="2626" type="stmt" count="0"/>
3632
  <line num="2627" type="stmt" count="0"/>
 
3633
  <line num="2629" type="stmt" count="0"/>
3634
+ <line num="2630" type="stmt" count="0"/>
3635
  <line num="2632" type="stmt" count="0"/>
3636
+ <line num="2633" type="stmt" count="0"/>
3637
  <line num="2634" type="stmt" count="0"/>
 
 
 
 
 
3638
  <line num="2643" type="stmt" count="0"/>
3639
  <line num="2644" type="stmt" count="0"/>
3640
+ <line num="2656" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
 
 
 
3641
  <line num="2658" type="stmt" count="0"/>
3642
+ <line num="2661" type="stmt" count="0"/>
3643
+ <line num="2662" type="stmt" count="0"/>
3644
+ <line num="2663" type="stmt" count="0"/>
3645
+ <line num="2664" type="stmt" count="0"/>
3646
+ <line num="2667" type="stmt" count="0"/>
3647
+ <line num="2668" type="stmt" count="0"/>
3648
+ <line num="2669" type="stmt" count="0"/>
3649
+ <line num="2670" type="stmt" count="0"/>
3650
+ <line num="2671" type="stmt" count="0"/>
3651
  <line num="2675" type="stmt" count="0"/>
3652
  <line num="2676" type="stmt" count="0"/>
3653
  <line num="2677" type="stmt" count="0"/>
3654
  <line num="2678" type="stmt" count="0"/>
3655
+ <line num="2679" type="stmt" count="0"/>
 
3656
  <line num="2683" type="stmt" count="0"/>
3657
+ <line num="2686" type="stmt" count="0"/>
3658
+ <line num="2687" type="stmt" count="0"/>
3659
+ <line num="2688" type="stmt" count="0"/>
3660
  <line num="2689" type="stmt" count="0"/>
 
 
3661
  <line num="2692" type="stmt" count="0"/>
3662
+ <line num="2695" type="stmt" count="0"/>
3663
+ <line num="2696" type="stmt" count="0"/>
3664
  <line num="2697" type="stmt" count="0"/>
3665
+ <line num="2698" type="stmt" count="0"/>
 
3666
  <line num="2702" type="stmt" count="0"/>
3667
  <line num="2703" type="stmt" count="0"/>
3668
+ <line num="2704" type="stmt" count="0"/>
3669
+ <line num="2707" type="stmt" count="0"/>
3670
+ <line num="2708" type="stmt" count="0"/>
3671
  <line num="2709" type="stmt" count="0"/>
3672
  <line num="2710" type="stmt" count="0"/>
 
3673
  <line num="2712" type="stmt" count="0"/>
3674
+ <line num="2714" type="stmt" count="0"/>
3675
  <line num="2716" type="stmt" count="0"/>
3676
  <line num="2717" type="stmt" count="0"/>
3677
  <line num="2718" type="stmt" count="0"/>
3678
  <line num="2721" type="stmt" count="0"/>
3679
  <line num="2722" type="stmt" count="0"/>
3680
+ <line num="2732" type="method" name="page_backup_test" visibility="public" complexity="6" crap="42" count="0"/>
3681
+ <line num="2734" type="stmt" count="0"/>
3682
+ <line num="2737" type="stmt" count="0"/>
3683
+ <line num="2740" type="stmt" count="0"/>
3684
+ <line num="2743" type="stmt" count="0"/>
3685
+ <line num="2746" type="stmt" count="0"/>
 
 
 
 
3686
  <line num="2748" type="stmt" count="0"/>
3687
  <line num="2751" type="stmt" count="0"/>
3688
  <line num="2754" type="stmt" count="0"/>
3689
  <line num="2757" type="stmt" count="0"/>
3690
  <line num="2760" type="stmt" count="0"/>
3691
+ <line num="2763" type="stmt" count="0"/>
3692
  <line num="2765" type="stmt" count="0"/>
3693
+ <line num="2773" type="stmt" count="0"/>
 
3694
  <line num="2774" type="stmt" count="0"/>
3695
+ <line num="2775" type="stmt" count="0"/>
3696
+ <line num="2776" type="stmt" count="0"/>
3697
  <line num="2777" type="stmt" count="0"/>
3698
+ <line num="2780" type="stmt" count="0"/>
3699
+ <line num="2781" type="stmt" count="0"/>
3700
+ <line num="2782" type="stmt" count="0"/>
3701
+ <line num="2783" type="stmt" count="0"/>
3702
+ <line num="2784" type="stmt" count="0"/>
3703
+ <line num="2785" type="stmt" count="0"/>
3704
+ <line num="2786" type="stmt" count="0"/>
3705
  <line num="2787" type="stmt" count="0"/>
 
3706
  <line num="2789" type="stmt" count="0"/>
3707
+ <line num="2792" type="stmt" count="0"/>
3708
+ <line num="2793" type="stmt" count="0"/>
3709
  <line num="2794" type="stmt" count="0"/>
3710
  <line num="2795" type="stmt" count="0"/>
3711
  <line num="2796" type="stmt" count="0"/>
3712
  <line num="2797" type="stmt" count="0"/>
 
3713
  <line num="2799" type="stmt" count="0"/>
3714
  <line num="2800" type="stmt" count="0"/>
3715
  <line num="2801" type="stmt" count="0"/>
3716
  <line num="2803" type="stmt" count="0"/>
3717
+ <line num="2804" type="stmt" count="0"/>
3718
+ <line num="2805" type="stmt" count="0"/>
3719
  <line num="2807" type="stmt" count="0"/>
3720
  <line num="2808" type="stmt" count="0"/>
 
3721
  <line num="2810" type="stmt" count="0"/>
3722
  <line num="2811" type="stmt" count="0"/>
3723
+ <line num="2812" type="stmt" count="0"/>
 
 
 
 
3724
  <line num="2819" type="stmt" count="0"/>
3725
  <line num="2821" type="stmt" count="0"/>
3726
  <line num="2822" type="stmt" count="0"/>
3727
  <line num="2824" type="stmt" count="0"/>
3728
+ <line num="2829" type="stmt" count="0"/>
3729
+ <line num="2830" type="stmt" count="0"/>
3730
+ <line num="2831" type="stmt" count="0"/>
3731
  <line num="2835" type="stmt" count="0"/>
3732
  <line num="2836" type="stmt" count="0"/>
3733
+ <line num="2851" type="method" name="set_doing_cron" visibility="public" complexity="3" crap="3" count="29"/>
3734
+ <line num="2852" type="stmt" count="29"/>
3735
+ <line num="2853" type="stmt" count="29"/>
3736
+ <line num="2860" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="29"/>
3737
+ <line num="2865" type="stmt" count="29"/>
 
 
 
3738
  <line num="2867" type="stmt" count="29"/>
3739
+ <line num="2868" type="stmt" count="29"/>
3740
+ <line num="2869" type="stmt" count="29"/>
3741
+ <line num="2870" type="stmt" count="29"/>
3742
+ <line num="2871" type="stmt" count="29"/>
3743
+ <line num="2872" type="stmt" count="29"/>
3744
+ <line num="2874" type="stmt" count="29"/>
3745
+ <line num="2875" type="stmt" count="29"/>
3746
+ <line num="2877" type="stmt" count="29"/>
3747
+ <line num="2878" type="stmt" count="29"/>
3748
  <line num="2879" type="stmt" count="29"/>
3749
+ <line num="2880" type="stmt" count="29"/>
3750
  <line num="2881" type="stmt" count="29"/>
3751
  <line num="2882" type="stmt" count="29"/>
 
3752
  <line num="2884" type="stmt" count="29"/>
3753
  <line num="2885" type="stmt" count="29"/>
3754
  <line num="2886" type="stmt" count="29"/>
 
 
 
3755
  <line num="2892" type="stmt" count="29"/>
 
3756
  <line num="2894" type="stmt" count="29"/>
3757
  <line num="2895" type="stmt" count="29"/>
3758
  <line num="2896" type="stmt" count="29"/>
3759
+ <line num="2897" type="stmt" count="29"/>
3760
  <line num="2898" type="stmt" count="29"/>
 
3761
  <line num="2900" type="stmt" count="29"/>
3762
+ <line num="2903" type="stmt" count="29"/>
3763
+ <line num="2904" type="stmt" count="29"/>
3764
  <line num="2906" type="stmt" count="29"/>
3765
  <line num="2908" type="stmt" count="29"/>
3766
+ <line num="2920" type="method" name="set_time_limit" visibility="public" complexity="2" crap="2" count="4"/>
3767
+ <line num="2921" type="stmt" count="4"/>
3768
+ <line num="2923" type="stmt" count="4"/>
3769
+ <line num="2924" type="stmt" count="4"/>
3770
+ <line num="2931" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
3771
+ <line num="2932" type="stmt" count="0"/>
3772
+ <line num="2933" type="stmt" count="0"/>
3773
+ <line num="2936" type="stmt" count="0"/>
3774
+ <line num="2937" type="stmt" count="0"/>
3775
+ <line num="2938" type="stmt" count="0"/>
3776
+ <line num="2940" type="stmt" count="0"/>
3777
+ <line num="2941" type="stmt" count="0"/>
3778
+ <line num="2942" type="stmt" count="0"/>
3779
+ <line num="2945" type="stmt" count="0"/>
3780
  <line num="2946" type="stmt" count="0"/>
3781
  <line num="2947" type="stmt" count="0"/>
3782
+ <line num="2949" type="stmt" count="0"/>
3783
  <line num="2950" type="stmt" count="0"/>
3784
  <line num="2951" type="stmt" count="0"/>
3785
+ <line num="2953" type="stmt" count="0"/>
3786
+ <line num="2966" type="stmt" count="0"/>
 
 
 
 
 
 
 
 
3787
  <line num="2967" type="stmt" count="0"/>
3788
+ <line num="2969" type="stmt" count="0"/>
3789
+ <line num="2970" type="stmt" count="0"/>
3790
+ <line num="2971" type="stmt" count="0"/>
3791
+ <line num="2972" type="stmt" count="0"/>
3792
+ <line num="2973" type="stmt" count="0"/>
3793
+ <line num="2975" type="stmt" count="0"/>
3794
+ <line num="2976" type="stmt" count="0"/>
3795
+ <line num="2977" type="stmt" count="0"/>
3796
+ <line num="2978" type="stmt" count="0"/>
3797
  <line num="2980" type="stmt" count="0"/>
3798
+ <line num="2982" type="stmt" count="0"/>
3799
  <line num="2983" type="stmt" count="0"/>
3800
+ <line num="2999" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
3801
+ <line num="3001" type="stmt" count="0"/>
3802
+ <line num="3004" type="stmt" count="0"/>
3803
+ <line num="3005" type="stmt" count="0"/>
3804
+ <line num="3009" type="stmt" count="0"/>
3805
+ <line num="3012" type="stmt" count="0"/>
3806
+ <line num="3013" type="stmt" count="0"/>
3807
+ <line num="3017" type="stmt" count="0"/>
 
 
 
 
 
3808
  <line num="3018" type="stmt" count="0"/>
3809
+ <line num="3029" type="method" name="enforce_retention" visibility="public" complexity="8" crap="8.07" count="4"/>
3810
+ <line num="3030" type="stmt" count="4"/>
3811
+ <line num="3031" type="stmt" count="4"/>
3812
+ <line num="3032" type="stmt" count="4"/>
3813
+ <line num="3034" type="stmt" count="4"/>
3814
+ <line num="3035" type="stmt" count="4"/>
3815
+ <line num="3037" type="stmt" count="4"/>
3816
+ <line num="3038" type="stmt" count="4"/>
3817
+ <line num="3041" type="stmt" count="4"/>
3818
+ <line num="3042" type="stmt" count="4"/>
3819
+ <line num="3043" type="stmt" count="4"/>
3820
  <line num="3044" type="stmt" count="4"/>
3821
+ <line num="3045" type="stmt" count="0"/>
3822
+ <line num="3046" type="stmt" count="0"/>
3823
+ <line num="3047" type="stmt" count="0"/>
3824
  <line num="3048" type="stmt" count="4"/>
3825
  <line num="3049" type="stmt" count="4"/>
3826
+ <line num="3050" type="stmt" count="4"/>
3827
+ <line num="3053" type="stmt" count="4"/>
 
3828
  <line num="3056" type="stmt" count="4"/>
3829
  <line num="3057" type="stmt" count="4"/>
3830
  <line num="3058" type="stmt" count="4"/>
3831
+ <line num="3062" type="stmt" count="1"/>
3832
+ <line num="3065" type="stmt" count="1"/>
3833
+ <line num="3068" type="stmt" count="1"/>
3834
+ <line num="3069" type="stmt" count="1"/>
3835
+ <line num="3070" type="stmt" count="1"/>
3836
+ <line num="3073" type="stmt" count="1"/>
 
 
 
 
3837
  <line num="3076" type="stmt" count="1"/>
3838
  <line num="3079" type="stmt" count="1"/>
3839
+ <line num="3081" type="stmt" count="1"/>
3840
  <line num="3082" type="stmt" count="1"/>
3841
+ <line num="3091" type="stmt" count="1"/>
3842
+ <line num="3092" type="stmt" count="1"/>
3843
+ <line num="3093" type="stmt" count="0"/>
 
 
3844
  <line num="3095" type="stmt" count="1"/>
3845
+ <line num="3097" type="stmt" count="1"/>
3846
+ <line num="3098" type="stmt" count="1"/>
3847
+ <line num="3099" type="stmt" count="1"/>
3848
+ <line num="3106" type="method" name="add_thickbox" visibility="public" complexity="2" crap="6" count="0"/>
3849
  <line num="3107" type="stmt" count="0"/>
3850
+ <line num="3108" type="stmt" count="0"/>
3851
+ <line num="3109" type="stmt" count="0"/>
3852
+ <line num="3110" type="stmt" count="0"/>
3853
+ <metrics loc="3111" ncloc="1616" classes="1" methods="29" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1128" coveredstatements="542" elements="1157" coveredelements="546"/>
 
 
 
 
 
 
3854
  </file>
3855
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
3856
  <class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
4722
  </file>
4723
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-get.php">
4724
  <class name="Boldgrid_Backup_Admin_Db_Get" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
4725
+ <metrics complexity="11" methods="5" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="43" elements="49" coveredelements="47"/>
4726
  </class>
4727
  <line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
4728
  <line num="40" type="stmt" count="29"/>
4742
  <line num="82" type="stmt" count="6"/>
4743
  <line num="83" type="stmt" count="6"/>
4744
  <line num="85" type="stmt" count="6"/>
4745
+ <line num="100" type="method" name="filter_by_type" visibility="public" complexity="3" crap="3" count="5"/>
4746
+ <line num="102" type="stmt" count="5"/>
4747
+ <line num="104" type="stmt" count="5"/>
4748
+ <line num="106" type="stmt" count="5"/>
4749
+ <line num="107" type="stmt" count="5"/>
4750
+ <line num="108" type="stmt" count="5"/>
4751
+ <line num="109" type="stmt" count="5"/>
4752
+ <line num="110" type="stmt" count="5"/>
4753
+ <line num="112" type="stmt" count="5"/>
4754
+ <line num="124" type="method" name="prefixed" visibility="public" complexity="2" crap="2" count="5"/>
4755
+ <line num="125" type="stmt" count="5"/>
4756
+ <line num="127" type="stmt" count="5"/>
4757
+ <line num="129" type="stmt" count="5"/>
4758
+ <line num="130" type="stmt" count="5"/>
4759
  <line num="131" type="stmt" count="5"/>
4760
+ <line num="132" type="stmt" count="5"/>
4761
  <line num="133" type="stmt" count="5"/>
4762
  <line num="135" type="stmt" count="5"/>
 
4763
  <line num="137" type="stmt" count="5"/>
4764
  <line num="138" type="stmt" count="5"/>
4765
  <line num="139" type="stmt" count="5"/>
4766
  <line num="141" type="stmt" count="5"/>
4767
+ <line num="156" type="method" name="prefixed_count" visibility="public" complexity="2" crap="2" count="4"/>
4768
+ <line num="157" type="stmt" count="4"/>
4769
+ <line num="159" type="stmt" count="4"/>
4770
+ <line num="161" type="stmt" count="4"/>
4771
+ <line num="163" type="stmt" count="4"/>
4772
+ <line num="164" type="stmt" count="4"/>
4773
+ <line num="166" type="stmt" count="4"/>
4774
+ <line num="167" type="stmt" count="4"/>
4775
+ <line num="169" type="stmt" count="4"/>
4776
+ <metrics loc="171" ncloc="79" classes="1" methods="5" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="43" elements="49" coveredelements="47"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4777
  </file>
4778
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-import.php">
4779
  <class name="Boldgrid_Backup_Admin_Db_Import" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
4780
+ <metrics complexity="44" methods="13" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="113" coveredstatements="110" elements="126" coveredelements="121"/>
4781
  </class>
4782
  <line num="45" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="13"/>
4783
  <line num="47" type="stmt" count="13"/>
4784
+ <line num="48" type="stmt" count="1"/>
4785
+ <line num="49" type="stmt" count="1"/>
4786
  <line num="50" type="stmt" count="13"/>
4787
  <line num="63" type="method" name="get_lines" visibility="public" complexity="2" crap="2" count="2"/>
4788
  <line num="64" type="stmt" count="2"/>
4790
  <line num="67" type="stmt" count="2"/>
4791
  <line num="77" type="method" name="import" visibility="public" complexity="3" crap="3" count="2"/>
4792
  <line num="78" type="stmt" count="2"/>
4793
+ <line num="80" type="stmt" count="2"/>
4794
+ <line num="82" type="stmt" count="1"/>
4795
+ <line num="84" type="stmt" count="1"/>
4796
+ <line num="86" type="stmt" count="1"/>
4797
  <line num="87" type="stmt" count="1"/>
4798
+ <line num="90" type="stmt" count="2"/>
 
4799
  <line num="92" type="stmt" count="2"/>
4800
+ <line num="94" type="stmt" count="1"/>
4801
  <line num="96" type="stmt" count="1"/>
4802
  <line num="98" type="stmt" count="1"/>
4803
+ <line num="99" type="stmt" count="1"/>
4804
+ <line num="102" type="stmt" count="1"/>
4805
  <line num="104" type="stmt" count="1"/>
4806
+ <line num="118" type="method" name="import_from_archive" visibility="public" complexity="3" crap="3.14" count="1"/>
4807
+ <line num="119" type="stmt" count="1"/>
4808
+ <line num="120" type="stmt" count="1"/>
4809
  <line num="121" type="stmt" count="1"/>
4810
  <line num="122" type="stmt" count="1"/>
4811
  <line num="123" type="stmt" count="1"/>
4812
  <line num="124" type="stmt" count="1"/>
4813
+ <line num="127" type="stmt" count="0"/>
 
4814
  <line num="129" type="stmt" count="0"/>
4815
+ <line num="148" type="method" name="import_lines" visibility="public" complexity="7" crap="7" count="3"/>
4816
+ <line num="149" type="stmt" count="3"/>
4817
+ <line num="150" type="stmt" count="1"/>
4818
+ <line num="154" type="stmt" count="3"/>
4819
+ <line num="156" type="stmt" count="3"/>
4820
+ <line num="158" type="stmt" count="3"/>
4821
+ <line num="160" type="stmt" count="3"/>
4822
+ <line num="161" type="stmt" count="1"/>
4823
+ <line num="164" type="stmt" count="3"/>
4824
+ <line num="167" type="stmt" count="3"/>
4825
+ <line num="168" type="stmt" count="3"/>
4826
+ <line num="169" type="stmt" count="3"/>
4827
+ <line num="170" type="stmt" count="1"/>
4828
+ <line num="173" type="stmt" count="3"/>
4829
+ <line num="174" type="stmt" count="3"/>
4830
+ <line num="175" type="stmt" count="3"/>
4831
+ <line num="177" type="stmt" count="2"/>
4832
+ <line num="191" type="method" name="import_string" visibility="public" complexity="2" crap="2.02" count="1"/>
4833
+ <line num="192" type="stmt" count="1"/>
4834
+ <line num="194" type="stmt" count="1"/>
4835
+ <line num="196" type="stmt" count="1"/>
4836
+ <line num="197" type="stmt" count="0"/>
4837
+ <line num="200" type="stmt" count="1"/>
4838
+ <line num="202" type="stmt" count="1"/>
4839
+ <line num="215" type="method" name="fix_view_statements" visibility="public" complexity="7" crap="7" count="3"/>
4840
+ <line num="217" type="stmt" count="3"/>
4841
+ <line num="219" type="stmt" count="3"/>
4842
+ <line num="220" type="stmt" count="3"/>
4843
+ <line num="221" type="stmt" count="3"/>
4844
+ <line num="222" type="stmt" count="3"/>
4845
+ <line num="223" type="stmt" count="3"/>
4846
+ <line num="225" type="stmt" count="3"/>
4847
+ <line num="226" type="stmt" count="1"/>
4848
+ <line num="229" type="stmt" count="3"/>
4849
+ <line num="231" type="stmt" count="3"/>
4850
+ <line num="232" type="stmt" count="1"/>
4851
+ <line num="235" type="stmt" count="3"/>
4852
+ <line num="237" type="stmt" count="3"/>
4853
+ <line num="238" type="stmt" count="3"/>
 
 
4854
  <line num="239" type="stmt" count="2"/>
4855
+ <line num="240" type="stmt" count="2"/>
4856
+ <line num="241" type="stmt" count="3"/>
4857
+ <line num="243" type="stmt" count="3"/>
4858
+ <line num="245" type="stmt" count="3"/>
4859
+ <line num="258" type="method" name="fix_definer" visibility="public" complexity="3" crap="3" count="3"/>
4860
+ <line num="259" type="stmt" count="3"/>
4861
+ <line num="260" type="stmt" count="3"/>
4862
+ <line num="261" type="stmt" count="3"/>
4863
+ <line num="262" type="stmt" count="3"/>
4864
+ <line num="263" type="stmt" count="1"/>
4865
  <line num="264" type="stmt" count="1"/>
4866
+ <line num="265" type="stmt" count="3"/>
4867
+ <line num="268" type="stmt" count="3"/>
4868
+ <line num="269" type="stmt" count="3"/>
4869
+ <line num="270" type="stmt" count="3"/>
4870
+ <line num="271" type="stmt" count="1"/>
4871
+ <line num="274" type="stmt" count="3"/>
4872
+ <line num="285" type="method" name="has_db_privileges" visibility="public" complexity="3" crap="3" count="6"/>
4873
+ <line num="286" type="stmt" count="6"/>
4874
+ <line num="287" type="stmt" count="6"/>
4875
+ <line num="288" type="stmt" count="6"/>
4876
+ <line num="290" type="stmt" count="1"/>
4877
+ <line num="291" type="stmt" count="1"/>
4878
+ <line num="293" type="stmt" count="1"/>
4879
+ <line num="305" type="method" name="get_db_privileges" visibility="public" complexity="7" crap="7" count="6"/>
4880
+ <line num="306" type="stmt" count="6"/>
4881
+ <line num="308" type="stmt" count="6"/>
4882
+ <line num="309" type="stmt" count="6"/>
4883
+ <line num="310" type="stmt" count="6"/>
4884
+ <line num="311" type="stmt" count="6"/>
4885
+ <line num="312" type="stmt" count="6"/>
4886
+ <line num="314" type="stmt" count="6"/>
4887
+ <line num="315" type="stmt" count="5"/>
4888
+ <line num="317" type="stmt" count="1"/>
4889
+ <line num="318" type="stmt" count="1"/>
4890
+ <line num="320" type="stmt" count="1"/>
4891
+ <line num="321" type="stmt" count="1"/>
4892
+ <line num="333" type="method" name="show_grants_query" visibility="public" complexity="1" crap="1" count="5"/>
4893
+ <line num="334" type="stmt" count="5"/>
4894
+ <line num="335" type="stmt" count="5"/>
4895
+ <line num="336" type="stmt" count="5"/>
4896
+ <line num="351" type="method" name="exec_import" visibility="public" complexity="1" crap="1" count="2"/>
4897
+ <line num="352" type="stmt" count="2"/>
4898
+ <line num="363" type="method" name="get_grants_array" visibility="public" complexity="3" crap="3" count="2"/>
4899
+ <line num="364" type="stmt" count="2"/>
4900
+ <line num="366" type="stmt" count="2"/>
4901
+ <line num="367" type="stmt" count="2"/>
4902
+ <line num="368" type="stmt" count="2"/>
4903
+ <line num="370" type="stmt" count="2"/>
4904
+ <line num="371" type="stmt" count="2"/>
4905
+ <line num="372" type="stmt" count="2"/>
4906
+ <line num="373" type="stmt" count="2"/>
4907
+ <line num="375" type="stmt" count="2"/>
4908
+ <metrics loc="377" ncloc="207" classes="1" methods="13" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="113" coveredstatements="110" elements="126" coveredelements="121"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4909
  </file>
4910
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-omit.php">
4911
  <class name="Boldgrid_Backup_Admin_Db_Omit" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
5809
  <line num="165" type="stmt" count="4"/>
5810
  <line num="167" type="stmt" count="4"/>
5811
  <line num="168" type="stmt" count="4"/>
5812
+ <line num="175" type="method" name="add_separator" visibility="public" complexity="1" crap="1" count="4"/>
5813
+ <line num="176" type="stmt" count="4"/>
5814
+ <line num="177" type="stmt" count="4"/>
5815
  <line num="184" type="method" name="clean_up" visibility="public" complexity="4" crap="4.25" count="4"/>
5816
  <line num="186" type="stmt" count="4"/>
5817
  <line num="187" type="stmt" count="4"/>
71665
  </file>
71666
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-db-import.php">
71667
  <class name="Test_Boldgrid_Backup_Admin_Db_Import" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Db">
71668
+ <metrics complexity="11" methods="11" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="126" coveredstatements="126" elements="137" coveredelements="137"/>
71669
  </class>
71670
  <line num="27" type="method" name="setUp" visibility="public" complexity="1" crap="1" count="10"/>
71671
  <line num="28" type="stmt" count="10"/>
71714
  <line num="97" type="stmt" count="1"/>
71715
  <line num="103" type="method" name="test_import_lines" visibility="public" complexity="1" crap="1" count="1"/>
71716
  <line num="104" type="stmt" count="1"/>
71717
+ <line num="106" type="stmt" count="1"/>
71718
  <line num="108" type="stmt" count="1"/>
71719
+ <line num="109" type="stmt" count="1"/>
71720
+ <line num="110" type="stmt" count="1"/>
71721
+ <line num="111" type="stmt" count="1"/>
71722
+ <line num="112" type="stmt" count="1"/>
71723
+ <line num="113" type="stmt" count="1"/>
71724
+ <line num="114" type="stmt" count="1"/>
71725
+ <line num="120" type="method" name="test_import_string" visibility="public" complexity="1" crap="1" count="1"/>
71726
+ <line num="121" type="stmt" count="1"/>
71727
+ <line num="122" type="stmt" count="1"/>
71728
+ <line num="123" type="stmt" count="1"/>
71729
+ <line num="124" type="stmt" count="1"/>
71730
  <line num="125" type="stmt" count="1"/>
71731
+ <line num="127" type="stmt" count="1"/>
71732
+ <line num="128" type="stmt" count="1"/>
71733
+ <line num="135" type="method" name="test_fix_view_statements" visibility="public" complexity="1" crap="1" count="1"/>
 
71734
  <line num="136" type="stmt" count="1"/>
71735
+ <line num="138" type="stmt" count="1"/>
71736
  <line num="139" type="stmt" count="1"/>
71737
+ <line num="141" type="stmt" count="1"/>
71738
+ <line num="142" type="stmt" count="1"/>
71739
+ <line num="144" type="stmt" count="1"/>
71740
+ <line num="145" type="stmt" count="1"/>
71741
+ <line num="146" type="stmt" count="1"/>
71742
+ <line num="147" type="stmt" count="1"/>
71743
+ <line num="149" type="stmt" count="1"/>
71744
  <line num="150" type="stmt" count="1"/>
71745
  <line num="151" type="stmt" count="1"/>
71746
+ <line num="158" type="method" name="test_fix_definer" visibility="public" complexity="1" crap="1" count="1"/>
 
 
 
 
71747
  <line num="159" type="stmt" count="1"/>
71748
  <line num="161" type="stmt" count="1"/>
71749
  <line num="162" type="stmt" count="1"/>
71750
  <line num="163" type="stmt" count="1"/>
71751
+ <line num="165" type="stmt" count="1"/>
71752
+ <line num="166" type="stmt" count="1"/>
71753
+ <line num="167" type="stmt" count="1"/>
71754
+ <line num="169" type="stmt" count="1"/>
71755
+ <line num="170" type="stmt" count="1"/>
71756
  <line num="171" type="stmt" count="1"/>
71757
+ <line num="172" type="stmt" count="1"/>
71758
+ <line num="179" type="method" name="test_has_db_privileges" visibility="public" complexity="1" crap="1" count="1"/>
71759
+ <line num="180" type="stmt" count="1"/>
 
 
 
 
71760
  <line num="182" type="stmt" count="1"/>
71761
  <line num="183" type="stmt" count="1"/>
71762
  <line num="184" type="stmt" count="1"/>
71763
+ <line num="185" type="stmt" count="1"/>
71764
+ <line num="186" type="stmt" count="1"/>
71765
+ <line num="187" type="stmt" count="1"/>
71766
+ <line num="188" type="stmt" count="1"/>
71767
+ <line num="189" type="stmt" count="1"/>
71768
+ <line num="191" type="stmt" count="1"/>
71769
  <line num="192" type="stmt" count="1"/>
71770
+ <line num="193" type="stmt" count="1"/>
71771
  <line num="194" type="stmt" count="1"/>
71772
  <line num="195" type="stmt" count="1"/>
71773
  <line num="196" type="stmt" count="1"/>
71774
  <line num="197" type="stmt" count="1"/>
 
71775
  <line num="199" type="stmt" count="1"/>
71776
  <line num="200" type="stmt" count="1"/>
71777
+ <line num="202" type="stmt" count="1"/>
71778
  <line num="203" type="stmt" count="1"/>
71779
  <line num="204" type="stmt" count="1"/>
71780
  <line num="205" type="stmt" count="1"/>
71781
  <line num="206" type="stmt" count="1"/>
71782
  <line num="207" type="stmt" count="1"/>
71783
+ <line num="214" type="method" name="test_get_grants_array" visibility="public" complexity="1" crap="1" count="1"/>
 
 
 
 
71784
  <line num="215" type="stmt" count="1"/>
71785
  <line num="216" type="stmt" count="1"/>
71786
  <line num="217" type="stmt" count="1"/>
71787
  <line num="218" type="stmt" count="1"/>
71788
  <line num="219" type="stmt" count="1"/>
71789
+ <line num="226" type="method" name="test_get_db_privileges" visibility="public" complexity="1" crap="1" count="1"/>
71790
  <line num="227" type="stmt" count="1"/>
71791
  <line num="228" type="stmt" count="1"/>
71792
  <line num="229" type="stmt" count="1"/>
71793
+ <line num="232" type="stmt" count="1"/>
71794
+ <line num="233" type="stmt" count="1"/>
71795
+ <line num="234" type="stmt" count="1"/>
71796
+ <line num="236" type="stmt" count="1"/>
71797
+ <line num="237" type="stmt" count="1"/>
71798
  <line num="239" type="stmt" count="1"/>
71799
  <line num="240" type="stmt" count="1"/>
71800
  <line num="241" type="stmt" count="1"/>
71801
+ <line num="242" type="stmt" count="1"/>
71802
  <line num="244" type="stmt" count="1"/>
71803
  <line num="245" type="stmt" count="1"/>
71804
+ <line num="247" type="stmt" count="1"/>
71805
  <line num="248" type="stmt" count="1"/>
71806
+ <line num="250" type="stmt" count="1"/>
71807
+ <metrics loc="251" ncloc="173" classes="1" methods="11" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="126" coveredstatements="126" elements="137" coveredelements="137"/>
 
 
 
 
 
 
 
 
 
71808
  </file>
71809
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-notices.php">
71810
  <class name="Test_Boldgrid_Backup_Admin_Notice_Counts" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Notice">
76682
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
76683
  </file>
76684
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
76685
+ <class name="ComposerStaticInit8fe6955e1c079ba8be530ee1b930d986" namespace="Composer\Autoload">
76686
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
76687
  </class>
76688
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
76774
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
76775
  </file>
76776
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
76777
+ <class name="ComposerAutoloaderInit8fe6955e1c079ba8be530ee1b930d986" namespace="global">
76778
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
76779
  </class>
76780
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
95993
  <line num="16" type="stmt" count="0"/>
95994
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
95995
  </file>
95996
+ <metrics files="961" loc="192681" ncloc="117533" classes="870" methods="3581" coveredmethods="307" conditionals="0" coveredconditionals="0" statements="86504" coveredstatements="4553" elements="90085" coveredelements="4860"/>
95997
  </project>
95998
  </coverage>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitf02decd371c066865722b3e27e585232::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit8fe6955e1c079ba8be530ee1b930d986::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitf02decd371c066865722b3e27e585232
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitf02decd371c066865722b3e27e585232
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitf02decd371c066865722b3e27e585232', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInitf02decd371c066865722b3e27e585232', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInitf02decd371c066865722b3e27e585232::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInitf02decd371c066865722b3e27e585232
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInitf02decd371c066865722b3e27e585232::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequiref02decd371c066865722b3e27e585232($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequiref02decd371c066865722b3e27e585232($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit8fe6955e1c079ba8be530ee1b930d986
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit8fe6955e1c079ba8be530ee1b930d986', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit8fe6955e1c079ba8be530ee1b930d986', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit8fe6955e1c079ba8be530ee1b930d986::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
+ $includeFiles = Composer\Autoload\ComposerStaticInit8fe6955e1c079ba8be530ee1b930d986::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequire8fe6955e1c079ba8be530ee1b930d986($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequire8fe6955e1c079ba8be530ee1b930d986($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitf02decd371c066865722b3e27e585232
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
@@ -91,9 +91,9 @@ class ComposerStaticInitf02decd371c066865722b3e27e585232
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
- $loader->prefixLengthsPsr4 = ComposerStaticInitf02decd371c066865722b3e27e585232::$prefixLengthsPsr4;
95
- $loader->prefixDirsPsr4 = ComposerStaticInitf02decd371c066865722b3e27e585232::$prefixDirsPsr4;
96
- $loader->classMap = ComposerStaticInitf02decd371c066865722b3e27e585232::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit8fe6955e1c079ba8be530ee1b930d986
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
+ $loader->prefixLengthsPsr4 = ComposerStaticInit8fe6955e1c079ba8be530ee1b930d986::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInit8fe6955e1c079ba8be530ee1b930d986::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInit8fe6955e1c079ba8be530ee1b930d986::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }