Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version 1.14.11

Version Description

Release date: February 16th, 2021

  • Bug fix: Improved check for available execution functions and disabled functions.
  • Bug fix: Fixes js handling file / db backup filters on settings page.
  • Update: Changed "download backup" feature to send chunked.
  • Update: Fixed uasort usage.
  • Update: Added "Dismiss" verbiage to "Please rate us!" notice.
Download this release

Release Info

Developer boldgrid
Plugin Icon 128x128 Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
Version 1.14.11
Comparing to
See all releases

Code changes from version branch.issue-445.202102111509 to 1.14.11

admin/class-boldgrid-backup-admin-cli.php CHANGED
@@ -40,7 +40,7 @@ class Boldgrid_Backup_Admin_Cli {
40
  */
41
  public static function get_execution_functions() {
42
  // If the array already has elements, then return the array.
43
- if ( self::$available_exec_functions ) {
44
  return self::$available_exec_functions;
45
  }
46
 
@@ -51,6 +51,9 @@ class Boldgrid_Backup_Admin_Cli {
51
 
52
  // Get the PHP disable_functions list.
53
  $disabled = explode( ',', ini_get( 'disable_functions' ) );
 
 
 
54
 
55
  // Make an array of execution functions.
56
  $exec_functions = array(
@@ -89,6 +92,7 @@ class Boldgrid_Backup_Admin_Cli {
89
  */
90
  public static function call_command( $command, &$success = false, &$return_var = 0 ) {
91
  $success = false;
 
92
 
93
  // phpcs:disable WordPress.PHP.DiscouragedPHPFunctions, WordPress.WP.AlternativeFunctions
94
 
40
  */
41
  public static function get_execution_functions() {
42
  // If the array already has elements, then return the array.
43
+ if ( ! is_null( self::$available_exec_functions ) ) {
44
  return self::$available_exec_functions;
45
  }
46
 
51
 
52
  // Get the PHP disable_functions list.
53
  $disabled = explode( ',', ini_get( 'disable_functions' ) );
54
+ array_walk( $disabled, function( &$function ) {
55
+ $function = trim( $function );
56
+ } );
57
 
58
  // Make an array of execution functions.
59
  $exec_functions = array(
92
  */
93
  public static function call_command( $command, &$success = false, &$return_var = 0 ) {
94
  $success = false;
95
+ $output = false;
96
 
97
  // phpcs:disable WordPress.PHP.DiscouragedPHPFunctions, WordPress.WP.AlternativeFunctions
98
 
admin/class-boldgrid-backup-admin-test.php CHANGED
@@ -554,8 +554,23 @@ class Boldgrid_Backup_Admin_Test {
554
 
555
  $available_compressors = $this->core->config->get_available_compressors();
556
  $compressor = $this->core->compressors->get();
557
-
558
- if ( ! self::is_filesystem_supported() ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
559
  $this->is_functional = false;
560
  } elseif ( ! $this->get_is_abspath_writable() ) {
561
  $this->is_functional = false;
554
 
555
  $available_compressors = $this->core->config->get_available_compressors();
556
  $compressor = $this->core->compressors->get();
557
+ $execution_functions = Boldgrid_Backup_Admin_Cli::get_execution_functions();
558
+
559
+ if ( empty( $execution_functions ) ) {
560
+ /*
561
+ * The first test is to determine if we have any execution functions available. Some of
562
+ * the other tests may require them. Before this test was added, a variety of warnings would
563
+ * appear due to trying to run commands such as the following:
564
+ *
565
+ * # echo "This file is safe to delete." > /home/user/boldgrid_backup/safe-to-delete.txt 2>/dev/null
566
+ * # crontab -l 2>/dev/null
567
+ * # crontab /home/user/boldgrid_backup/crontab.1607956270.549.tmp 2>/dev/null
568
+ *
569
+ * Technically, we may be able to be fully functional without being able to execute commands,
570
+ * but for the moment, let's say we're not funtional. Only two reports of this ever.
571
+ */
572
+ $this->is_functional = false;
573
+ } elseif ( ! self::is_filesystem_supported() ) {
574
  $this->is_functional = false;
575
  } elseif ( ! $this->get_is_abspath_writable() ) {
576
  $this->is_functional = false;
admin/cron/class-crontab.php CHANGED
@@ -54,6 +54,7 @@ class Crontab {
54
  */
55
  public function find_crons( array $patterns = [] ) {
56
  $all_crons = $this->core->cron->get_all( false );
 
57
 
58
  $matched_crons = [];
59
 
54
  */
55
  public function find_crons( array $patterns = [] ) {
56
  $all_crons = $this->core->cron->get_all( false );
57
+ $all_crons = false === $all_crons ? array() : $all_crons;
58
 
59
  $matched_crons = [];
60
 
admin/partials/boldgrid-backup-admin-test.php CHANGED
@@ -22,6 +22,7 @@ defined( 'WPINC' ) || die;
22
  $lang = array(
23
  'yes' => __( 'Yes', 'boldgrid-backup' ),
24
  'no' => __( 'No', 'boldgrid-backup' ),
 
25
  'untested' => __( 'untested', 'boldgrid-backup' ),
26
  'PASS' => __( 'PASS', 'boldgrid-backup' ),
27
  'FAIL' => __( 'FAIL', 'boldgrid-backup' ),
@@ -90,6 +91,8 @@ $pcl_zip = new Boldgrid_Backup_Admin_Compressor_Pcl_Zip( $this );
90
 
91
  $filesystem_method = get_filesystem_method();
92
 
 
 
93
  $valid_backup_dir = $backup_dir_perms['exists'] && $backup_dir_perms['read'] && $backup_dir_perms['write'] && $backup_dir_perms['rename'] && $backup_dir_perms['delete'] && $backup_dir_perms['dirlist'];
94
 
95
  $timezone = $this->time->get_server_timezone();
@@ -141,6 +144,10 @@ $tests = array(
141
  $filesystem_method, __( 'Only "direct" filesystem supported.', 'boldgrid-backup' )
142
  ),
143
  ),
 
 
 
 
144
  array(
145
  'k' => __( 'WordPress version:', 'boldgrid-backup' ),
146
  'v' => $wp_version,
22
  $lang = array(
23
  'yes' => __( 'Yes', 'boldgrid-backup' ),
24
  'no' => __( 'No', 'boldgrid-backup' ),
25
+ 'none' => __( 'None', 'boldgrid-backup' ),
26
  'untested' => __( 'untested', 'boldgrid-backup' ),
27
  'PASS' => __( 'PASS', 'boldgrid-backup' ),
28
  'FAIL' => __( 'FAIL', 'boldgrid-backup' ),
91
 
92
  $filesystem_method = get_filesystem_method();
93
 
94
+ $execution_functions = Boldgrid_Backup_Admin_Cli::get_execution_functions();
95
+
96
  $valid_backup_dir = $backup_dir_perms['exists'] && $backup_dir_perms['read'] && $backup_dir_perms['write'] && $backup_dir_perms['rename'] && $backup_dir_perms['delete'] && $backup_dir_perms['dirlist'];
97
 
98
  $timezone = $this->time->get_server_timezone();
144
  $filesystem_method, __( 'Only "direct" filesystem supported.', 'boldgrid-backup' )
145
  ),
146
  ),
147
+ array(
148
+ 'k' => __( 'Execution functions available', 'boldgrid-backup' ),
149
+ 'v' => empty( $execution_functions ) ? sprintf( $error_span, $lang['none'], '' ) : implode( ', ', $execution_functions ),
150
+ ),
151
  array(
152
  'k' => __( 'WordPress version:', 'boldgrid-backup' ),
153
  'v' => $wp_version,
admin/partials/tools/view-logs.php CHANGED
@@ -21,7 +21,7 @@ defined( 'WPINC' ) || die;
21
  $logs_dir = $this->core->backup_dir->get_logs_dir();
22
  $list = $this->core->wp_filesystem->dirlist( $logs_dir );
23
  uasort( $list, function( $a, $b ) {
24
- return $a['lastmodunix'] > $b['lastmodunix'];
25
  });
26
 
27
  ob_start();
21
  $logs_dir = $this->core->backup_dir->get_logs_dir();
22
  $list = $this->core->wp_filesystem->dirlist( $logs_dir );
23
  uasort( $list, function( $a, $b ) {
24
+ return $a['lastmodunix'] > $b['lastmodunix'] ? 1 : -1;
25
  });
26
 
27
  ob_start();
boldgrid-backup.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: Total Upkeep
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
19
- * Version: 1.14.10
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
16
  * Plugin Name: Total Upkeep
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
19
+ * Version: 1.14.11
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
cli/{verify-d9685af3bc3b2d7461d43bb7294a36ca.php → verify-8722dbabe84e610a464f1cd4d92f42c0.php} RENAMED
File without changes
coverage.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1613074969">
3
- <project timestamp="1613074969">
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">
@@ -2388,105 +2388,109 @@
2388
  </file>
2389
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php">
2390
  <class name="Boldgrid_Backup_Admin_Cli" namespace="global" fullPackage="Boldgrid.Backup.Admin">
2391
- <metrics complexity="24" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="94" coveredstatements="36" elements="96" coveredelements="36"/>
2392
  </class>
2393
- <line num="41" type="method" name="get_execution_functions" visibility="public" complexity="5" crap="5.10" count="7"/>
2394
  <line num="43" type="stmt" count="7"/>
2395
  <line num="44" type="stmt" count="6"/>
2396
  <line num="48" type="stmt" count="1"/>
2397
  <line num="49" type="stmt" count="0"/>
2398
  <line num="53" type="stmt" count="1"/>
2399
- <line num="57" type="stmt" count="1"/>
2400
- <line num="58" type="stmt" count="1"/>
2401
- <line num="59" type="stmt" count="1"/>
2402
  <line num="60" type="stmt" count="1"/>
2403
  <line num="61" type="stmt" count="1"/>
2404
  <line num="62" type="stmt" count="1"/>
2405
  <line num="63" type="stmt" count="1"/>
 
 
2406
  <line num="66" type="stmt" count="1"/>
2407
- <line num="67" type="stmt" count="1"/>
2408
- <line num="68" type="stmt" count="0"/>
2409
- <line num="69" type="stmt" count="0"/>
2410
  <line num="70" type="stmt" count="1"/>
 
 
2411
  <line num="73" type="stmt" count="1"/>
2412
- <line num="75" type="stmt" count="1"/>
2413
- <line num="90" type="method" name="call_command" visibility="public" complexity="19" crap="161.37" count="5"/>
2414
- <line num="91" type="stmt" count="5"/>
2415
- <line num="96" type="stmt" count="5"/>
2416
- <line num="98" type="stmt" count="5"/>
2417
  <line num="100" type="stmt" count="5"/>
2418
- <line num="101" type="stmt" count="0"/>
2419
- <line num="104" type="stmt" count="0"/>
2420
  <line num="105" type="stmt" count="0"/>
2421
- <line num="107" type="stmt" count="0"/>
2422
  <line num="109" type="stmt" count="0"/>
2423
- <line num="112" type="stmt" count="0"/>
2424
- <line num="114" type="stmt" count="5"/>
2425
  <line num="116" type="stmt" count="0"/>
2426
- <line num="117" type="stmt" count="0"/>
2427
  <line num="120" type="stmt" count="0"/>
2428
- <line num="123" type="stmt" count="0"/>
2429
  <line num="124" type="stmt" count="0"/>
2430
- <line num="126" type="stmt" count="0"/>
2431
  <line num="128" type="stmt" count="0"/>
2432
  <line num="130" type="stmt" count="0"/>
2433
- <line num="132" type="stmt" count="5"/>
2434
- <line num="133" type="stmt" count="5"/>
2435
- <line num="135" type="stmt" count="5"/>
2436
- <line num="140" type="stmt" count="5"/>
2437
- <line num="142" type="stmt" count="5"/>
2438
- <line num="145" type="stmt" count="5"/>
2439
  <line num="146" type="stmt" count="5"/>
2440
- <line num="148" type="stmt" count="5"/>
2441
- <line num="150" type="stmt" count="1"/>
2442
- <line num="152" type="stmt" count="1"/>
2443
- <line num="154" type="stmt" count="0"/>
 
2444
  <line num="158" type="stmt" count="0"/>
2445
- <line num="159" type="stmt" count="0"/>
2446
- <line num="160" type="stmt" count="0"/>
2447
  <line num="162" type="stmt" count="0"/>
2448
  <line num="163" type="stmt" count="0"/>
2449
  <line num="164" type="stmt" count="0"/>
2450
  <line num="166" type="stmt" count="0"/>
2451
  <line num="167" type="stmt" count="0"/>
2452
  <line num="168" type="stmt" count="0"/>
2453
- <line num="169" type="stmt" count="0"/>
 
2454
  <line num="172" type="stmt" count="0"/>
2455
- <line num="174" type="stmt" count="0"/>
2456
  <line num="176" type="stmt" count="0"/>
2457
- <line num="179" type="stmt" count="0"/>
2458
- <line num="182" type="stmt" count="0"/>
2459
- <line num="185" type="stmt" count="0"/>
2460
- <line num="188" type="stmt" count="0"/>
2461
- <line num="191" type="stmt" count="0"/>
2462
  <line num="192" type="stmt" count="0"/>
2463
- <line num="194" type="stmt" count="0"/>
2464
  <line num="196" type="stmt" count="0"/>
2465
  <line num="198" type="stmt" count="0"/>
2466
  <line num="200" type="stmt" count="0"/>
2467
- <line num="201" type="stmt" count="0"/>
2468
- <line num="203" type="stmt" count="0"/>
2469
  <line num="204" type="stmt" count="0"/>
2470
- <line num="206" type="stmt" count="0"/>
2471
- <line num="209" type="stmt" count="0"/>
2472
- <line num="211" type="stmt" count="0"/>
 
2473
  <line num="213" type="stmt" count="0"/>
2474
- <line num="214" type="stmt" count="0"/>
2475
  <line num="217" type="stmt" count="0"/>
2476
- <line num="220" type="stmt" count="0"/>
2477
  <line num="221" type="stmt" count="0"/>
2478
- <line num="223" type="stmt" count="0"/>
2479
  <line num="225" type="stmt" count="0"/>
2480
  <line num="227" type="stmt" count="0"/>
2481
  <line num="229" type="stmt" count="0"/>
2482
- <line num="230" type="stmt" count="0"/>
2483
  <line num="231" type="stmt" count="0"/>
2484
- <line num="232" type="stmt" count="5"/>
 
 
2485
  <line num="236" type="stmt" count="5"/>
2486
- <line num="237" type="stmt" count="4"/>
2487
- <line num="238" type="stmt" count="4"/>
2488
  <line num="240" type="stmt" count="5"/>
2489
- <metrics loc="242" ncloc="140" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="94" coveredstatements="36" elements="96" coveredelements="36"/>
 
 
 
2490
  </file>
2491
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-compressor.php">
2492
  <class name="Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Boldgrid.Backup.Admin">
@@ -7143,7 +7147,7 @@
7143
  </file>
7144
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-test.php">
7145
  <class name="Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin">
7146
- <metrics complexity="99" methods="26" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="261" coveredstatements="112" elements="287" coveredelements="117"/>
7147
  </class>
7148
  <line num="122" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
7149
  <line num="124" type="stmt" count="29"/>
@@ -7289,7 +7293,7 @@
7289
  <line num="521" type="method" name="is_system_zip_supported" visibility="public" complexity="1" crap="2" count="0"/>
7290
  <line num="522" type="stmt" count="0"/>
7291
  <line num="524" type="stmt" count="0"/>
7292
- <line num="534" type="method" name="run_functionality_tests" visibility="public" complexity="15" crap="25.25" count="4"/>
7293
  <line num="536" type="stmt" count="4"/>
7294
  <line num="537" type="stmt" count="4"/>
7295
  <line num="540" type="stmt" count="1"/>
@@ -7298,141 +7302,144 @@
7298
  <line num="552" type="stmt" count="0"/>
7299
  <line num="555" type="stmt" count="1"/>
7300
  <line num="556" type="stmt" count="1"/>
7301
- <line num="558" type="stmt" count="1"/>
7302
- <line num="559" type="stmt" count="0"/>
7303
- <line num="560" type="stmt" count="1"/>
7304
- <line num="561" type="stmt" count="0"/>
7305
- <line num="562" type="stmt" count="1"/>
7306
- <line num="563" type="stmt" count="0"/>
7307
- <line num="564" type="stmt" count="1"/>
7308
- <line num="565" type="stmt" count="0"/>
7309
- <line num="566" type="stmt" count="1"/>
7310
- <line num="567" type="stmt" count="0"/>
7311
- <line num="568" type="stmt" count="1"/>
7312
- <line num="569" type="stmt" count="0"/>
7313
- <line num="570" type="stmt" count="1"/>
7314
- <line num="571" type="stmt" count="0"/>
7315
- <line num="572" type="stmt" count="1"/>
7316
- <line num="573" type="stmt" count="0"/>
7317
  <line num="574" type="stmt" count="0"/>
7318
  <line num="575" type="stmt" count="1"/>
 
 
 
7319
  <line num="579" type="stmt" count="1"/>
 
7320
  <line num="581" type="stmt" count="1"/>
7321
- <line num="594" type="method" name="get_disk_space" visibility="public" complexity="5" crap="30" count="0"/>
7322
- <line num="596" type="stmt" count="0"/>
7323
- <line num="599" type="stmt" count="0"/>
7324
- <line num="602" type="stmt" count="0"/>
7325
- <line num="603" type="stmt" count="0"/>
7326
- <line num="605" type="stmt" count="0"/>
7327
- <line num="606" type="stmt" count="0"/>
7328
- <line num="607" type="stmt" count="0"/>
7329
- <line num="608" type="stmt" count="0"/>
7330
- <line num="609" type="stmt" count="0"/>
7331
- <line num="613" type="stmt" count="0"/>
 
 
7332
  <line num="614" type="stmt" count="0"/>
7333
- <line num="615" type="stmt" count="0"/>
7334
  <line num="618" type="stmt" count="0"/>
 
7335
  <line num="621" type="stmt" count="0"/>
7336
  <line num="622" type="stmt" count="0"/>
7337
  <line num="623" type="stmt" count="0"/>
7338
- <line num="627" type="stmt" count="0"/>
7339
  <line num="628" type="stmt" count="0"/>
7340
  <line num="629" type="stmt" count="0"/>
7341
  <line num="630" type="stmt" count="0"/>
7342
- <line num="631" type="stmt" count="0"/>
7343
- <line num="644" type="method" name="get_wp_size" visibility="private" complexity="5" crap="30" count="0"/>
 
 
 
 
 
 
7344
  <line num="646" type="stmt" count="0"/>
7345
- <line num="648" type="stmt" count="0"/>
7346
- <line num="649" type="stmt" count="0"/>
7347
- <line num="653" type="stmt" count="0"/>
7348
- <line num="654" type="stmt" count="0"/>
7349
- <line num="655" type="stmt" count="0"/>
7350
- <line num="656" type="stmt" count="0"/>
7351
- <line num="658" type="stmt" count="0"/>
7352
  <line num="661" type="stmt" count="0"/>
 
7353
  <line num="664" type="stmt" count="0"/>
7354
- <line num="665" type="stmt" count="0"/>
7355
  <line num="668" type="stmt" count="0"/>
 
 
7356
  <line num="671" type="stmt" count="0"/>
7357
- <line num="674" type="stmt" count="0"/>
7358
- <line num="687" type="method" name="get_cli_support" visibility="public" complexity="10" crap="10.20" count="1"/>
7359
- <line num="689" type="stmt" count="1"/>
7360
- <line num="690" type="stmt" count="1"/>
7361
- <line num="691" type="stmt" count="1"/>
7362
- <line num="694" type="stmt" count="1"/>
7363
- <line num="698" type="stmt" count="1"/>
7364
- <line num="699" type="stmt" count="1"/>
7365
- <line num="701" type="stmt" count="1"/>
7366
- <line num="703" type="stmt" count="1"/>
7367
  <line num="705" type="stmt" count="1"/>
7368
- <line num="707" type="stmt" count="0"/>
7369
- <line num="708" type="stmt" count="0"/>
7370
  <line num="709" type="stmt" count="1"/>
7371
- <line num="712" type="stmt" count="1"/>
7372
  <line num="713" type="stmt" count="1"/>
 
7373
  <line num="716" type="stmt" count="1"/>
7374
  <line num="718" type="stmt" count="1"/>
7375
  <line num="720" type="stmt" count="1"/>
7376
- <line num="722" type="stmt" count="1"/>
7377
  <line num="723" type="stmt" count="0"/>
7378
- <line num="726" type="stmt" count="1"/>
7379
  <line num="727" type="stmt" count="1"/>
7380
- <line num="729" type="stmt" count="1"/>
7381
  <line num="731" type="stmt" count="1"/>
7382
  <line num="733" type="stmt" count="1"/>
7383
- <line num="745" type="method" name="get_database_size" visibility="public" complexity="4" crap="20" count="0"/>
7384
- <line num="747" type="stmt" count="0"/>
7385
- <line num="749" type="stmt" count="0"/>
7386
- <line num="750" type="stmt" count="0"/>
7387
- <line num="754" type="stmt" count="0"/>
7388
- <line num="757" type="stmt" count="0"/>
7389
- <line num="759" type="stmt" count="0"/>
7390
- <line num="760" type="stmt" count="0"/>
7391
- <line num="761" type="stmt" count="0"/>
7392
  <line num="762" type="stmt" count="0"/>
 
7393
  <line num="765" type="stmt" count="0"/>
7394
- <line num="766" type="stmt" count="0"/>
7395
- <line num="770" type="stmt" count="0"/>
7396
- <line num="773" type="stmt" count="0"/>
7397
  <line num="774" type="stmt" count="0"/>
7398
- <line num="778" type="stmt" count="0"/>
 
 
 
7399
  <line num="781" type="stmt" count="0"/>
7400
- <line num="793" type="method" name="get_is_abspath_writable" visibility="public" complexity="2" crap="2.03" count="1"/>
7401
- <line num="794" type="stmt" count="1"/>
7402
- <line num="795" type="stmt" count="0"/>
7403
- <line num="799" type="stmt" count="1"/>
7404
- <line num="802" type="stmt" count="1"/>
7405
- <line num="805" type="stmt" count="1"/>
7406
- <line num="815" type="method" name="is_homedir_writable" visibility="public" complexity="2" crap="6" count="0"/>
7407
- <line num="816" type="stmt" count="0"/>
7408
- <line num="817" type="stmt" count="0"/>
7409
- <line num="821" type="stmt" count="0"/>
7410
- <line num="824" type="stmt" count="0"/>
7411
- <line num="827" type="stmt" count="0"/>
7412
- <line num="837" type="method" name="is_iis" visibility="public" complexity="3" crap="12" count="0"/>
7413
- <line num="838" type="stmt" count="0"/>
 
7414
  <line num="839" type="stmt" count="0"/>
7415
- <line num="840" type="stmt" count="0"/>
7416
- <line num="850" type="method" name="is_pcl_zip_supported" visibility="public" complexity="1" crap="1" count="1"/>
7417
- <line num="851" type="stmt" count="1"/>
7418
- <line num="853" type="stmt" count="1"/>
7419
- <line num="865" type="method" name="is_ea4_cli" visibility="public" complexity="3" crap="3" count="1"/>
 
7420
  <line num="866" type="stmt" count="1"/>
7421
- <line num="867" type="stmt" count="1"/>
7422
- <line num="869" type="stmt" count="1"/>
7423
- <line num="871" type="stmt" count="1"/>
7424
- <line num="883" type="method" name="is_filesystem_supported" visibility="public" complexity="3" crap="4.12" count="1"/>
7425
  <line num="884" type="stmt" count="1"/>
7426
  <line num="886" type="stmt" count="1"/>
7427
- <line num="889" type="stmt" count="1"/>
7428
- <line num="890" type="stmt" count="0"/>
7429
- <line num="891" type="stmt" count="0"/>
7430
- <line num="892" type="stmt" count="0"/>
7431
- <line num="894" type="stmt" count="1"/>
7432
- <line num="895" type="stmt" count="0"/>
7433
- <line num="896" type="stmt" count="0"/>
7434
- <line num="898" type="stmt" count="1"/>
7435
- <metrics loc="900" ncloc="445" classes="1" methods="26" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="261" coveredstatements="112" elements="287" coveredelements="117"/>
 
 
 
7436
  </file>
7437
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-time.php">
7438
  <class name="Boldgrid_Backup_Admin_Time" namespace="global" fullPackage="Boldgrid.Backup.Admin">
@@ -9287,42 +9294,43 @@
9287
  <package name="Boldgrid\Backup\Admin\Cron">
9288
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/cron/class-crontab.php">
9289
  <class name="Crontab" namespace="Boldgrid\Backup\Admin\Cron">
9290
- <metrics complexity="9" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="14" elements="33" coveredelements="15"/>
9291
  </class>
9292
  <line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
9293
  <line num="40" type="stmt" count="1"/>
9294
  <line num="41" type="stmt" count="1"/>
9295
- <line num="55" type="method" name="find_crons" visibility="public" complexity="5" crap="30" count="0"/>
9296
  <line num="56" type="stmt" count="0"/>
9297
- <line num="58" type="stmt" count="0"/>
9298
- <line num="60" type="stmt" count="0"/>
9299
  <line num="61" type="stmt" count="0"/>
9300
- <line num="63" type="stmt" count="0"/>
9301
  <line num="64" type="stmt" count="0"/>
9302
  <line num="65" type="stmt" count="0"/>
9303
  <line num="66" type="stmt" count="0"/>
9304
  <line num="67" type="stmt" count="0"/>
9305
- <line num="69" type="stmt" count="0"/>
9306
  <line num="70" type="stmt" count="0"/>
9307
  <line num="71" type="stmt" count="0"/>
9308
  <line num="72" type="stmt" count="0"/>
9309
- <line num="74" type="stmt" count="0"/>
9310
- <line num="87" type="method" name="write_crontab" visibility="public" complexity="3" crap="3.03" count="1"/>
9311
- <line num="88" type="stmt" count="1"/>
9312
- <line num="90" type="stmt" count="1"/>
9313
- <line num="91" type="stmt" count="0"/>
9314
- <line num="95" type="stmt" count="1"/>
9315
- <line num="98" type="stmt" count="1"/>
9316
- <line num="101" type="stmt" count="1"/>
9317
- <line num="104" type="stmt" count="1"/>
9318
- <line num="107" type="stmt" count="1"/>
9319
- <line num="110" type="stmt" count="1"/>
9320
- <line num="111" type="stmt" count="0"/>
9321
- <line num="115" type="stmt" count="1"/>
9322
- <line num="117" type="stmt" count="1"/>
9323
- <line num="120" type="stmt" count="1"/>
9324
- <line num="122" type="stmt" count="1"/>
9325
- <metrics loc="124" ncloc="55" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="14" elements="33" coveredelements="15"/>
 
9326
  </file>
9327
  </package>
9328
  <package name="Boldgrid\Backup\Admin\Cron\Entry">
@@ -10893,14 +10901,14 @@
10893
  <line num="29" type="stmt" count="0"/>
10894
  <line num="30" type="stmt" count="0"/>
10895
  <line num="31" type="stmt" count="0"/>
10896
- <line num="33" type="stmt" count="0"/>
10897
  <line num="34" type="stmt" count="0"/>
10898
  <line num="35" type="stmt" count="0"/>
10899
  <line num="36" type="stmt" count="0"/>
10900
- <line num="38" type="stmt" count="0"/>
10901
  <line num="39" type="stmt" count="0"/>
10902
  <line num="40" type="stmt" count="0"/>
10903
- <line num="42" type="stmt" count="0"/>
10904
  <line num="43" type="stmt" count="0"/>
10905
  <line num="44" type="stmt" count="0"/>
10906
  <line num="45" type="stmt" count="0"/>
@@ -10942,16 +10950,15 @@
10942
  <line num="81" type="stmt" count="0"/>
10943
  <line num="82" type="stmt" count="0"/>
10944
  <line num="83" type="stmt" count="0"/>
10945
- <line num="85" type="stmt" count="0"/>
10946
- <line num="87" type="stmt" count="0"/>
10947
- <line num="89" type="stmt" count="0"/>
10948
- <line num="91" type="stmt" count="0"/>
10949
- <line num="93" type="stmt" count="0"/>
10950
- <line num="95" type="stmt" count="0"/>
10951
  <line num="96" type="stmt" count="0"/>
 
10952
  <line num="99" type="stmt" count="0"/>
10953
- <line num="100" type="stmt" count="0"/>
10954
- <line num="101" type="stmt" count="0"/>
10955
  <line num="102" type="stmt" count="0"/>
10956
  <line num="103" type="stmt" count="0"/>
10957
  <line num="104" type="stmt" count="0"/>
@@ -11007,45 +11014,46 @@
11007
  <line num="154" type="stmt" count="0"/>
11008
  <line num="155" type="stmt" count="0"/>
11009
  <line num="156" type="stmt" count="0"/>
 
11010
  <line num="158" type="stmt" count="0"/>
11011
  <line num="159" type="stmt" count="0"/>
11012
  <line num="160" type="stmt" count="0"/>
 
11013
  <line num="162" type="stmt" count="0"/>
11014
  <line num="163" type="stmt" count="0"/>
11015
- <line num="164" type="stmt" count="0"/>
11016
  <line num="165" type="stmt" count="0"/>
 
11017
  <line num="167" type="stmt" count="0"/>
11018
- <line num="168" type="stmt" count="0"/>
11019
  <line num="169" type="stmt" count="0"/>
11020
  <line num="170" type="stmt" count="0"/>
11021
- <line num="173" type="stmt" count="0"/>
 
11022
  <line num="174" type="stmt" count="0"/>
11023
  <line num="175" type="stmt" count="0"/>
11024
  <line num="176" type="stmt" count="0"/>
11025
  <line num="177" type="stmt" count="0"/>
11026
- <line num="179" type="stmt" count="0"/>
11027
  <line num="180" type="stmt" count="0"/>
11028
  <line num="181" type="stmt" count="0"/>
11029
  <line num="182" type="stmt" count="0"/>
 
11030
  <line num="184" type="stmt" count="0"/>
11031
- <line num="185" type="stmt" count="0"/>
11032
  <line num="186" type="stmt" count="0"/>
11033
  <line num="187" type="stmt" count="0"/>
11034
  <line num="188" type="stmt" count="0"/>
11035
- <line num="190" type="stmt" count="0"/>
11036
  <line num="191" type="stmt" count="0"/>
11037
  <line num="192" type="stmt" count="0"/>
11038
  <line num="193" type="stmt" count="0"/>
 
11039
  <line num="195" type="stmt" count="0"/>
11040
- <line num="196" type="stmt" count="0"/>
11041
  <line num="197" type="stmt" count="0"/>
11042
  <line num="198" type="stmt" count="0"/>
 
11043
  <line num="200" type="stmt" count="0"/>
11044
- <line num="201" type="stmt" count="0"/>
11045
  <line num="202" type="stmt" count="0"/>
11046
  <line num="203" type="stmt" count="0"/>
 
11047
  <line num="205" type="stmt" count="0"/>
11048
- <line num="206" type="stmt" count="0"/>
11049
  <line num="207" type="stmt" count="0"/>
11050
  <line num="208" type="stmt" count="0"/>
11051
  <line num="209" type="stmt" count="0"/>
@@ -11053,164 +11061,163 @@
11053
  <line num="212" type="stmt" count="0"/>
11054
  <line num="213" type="stmt" count="0"/>
11055
  <line num="214" type="stmt" count="0"/>
 
11056
  <line num="216" type="stmt" count="0"/>
11057
  <line num="217" type="stmt" count="0"/>
11058
- <line num="218" type="stmt" count="0"/>
11059
  <line num="219" type="stmt" count="0"/>
 
11060
  <line num="221" type="stmt" count="0"/>
11061
- <line num="222" type="stmt" count="0"/>
11062
  <line num="223" type="stmt" count="0"/>
11063
  <line num="224" type="stmt" count="0"/>
11064
  <line num="225" type="stmt" count="0"/>
11065
  <line num="226" type="stmt" count="0"/>
11066
- <line num="227" type="stmt" count="0"/>
11067
  <line num="228" type="stmt" count="0"/>
 
11068
  <line num="230" type="stmt" count="0"/>
11069
  <line num="231" type="stmt" count="0"/>
11070
  <line num="232" type="stmt" count="0"/>
11071
  <line num="233" type="stmt" count="0"/>
11072
  <line num="234" type="stmt" count="0"/>
11073
- <line num="236" type="stmt" count="0"/>
11074
  <line num="237" type="stmt" count="0"/>
11075
  <line num="238" type="stmt" count="0"/>
11076
  <line num="239" type="stmt" count="0"/>
 
11077
  <line num="241" type="stmt" count="0"/>
11078
- <line num="242" type="stmt" count="0"/>
11079
  <line num="243" type="stmt" count="0"/>
11080
  <line num="244" type="stmt" count="0"/>
11081
  <line num="245" type="stmt" count="0"/>
11082
  <line num="246" type="stmt" count="0"/>
11083
- <line num="247" type="stmt" count="0"/>
11084
  <line num="248" type="stmt" count="0"/>
 
11085
  <line num="250" type="stmt" count="0"/>
11086
  <line num="251" type="stmt" count="0"/>
11087
  <line num="252" type="stmt" count="0"/>
11088
  <line num="253" type="stmt" count="0"/>
11089
  <line num="254" type="stmt" count="0"/>
11090
- <line num="256" type="stmt" count="0"/>
11091
  <line num="257" type="stmt" count="0"/>
11092
  <line num="258" type="stmt" count="0"/>
11093
  <line num="259" type="stmt" count="0"/>
 
11094
  <line num="261" type="stmt" count="0"/>
11095
- <line num="262" type="stmt" count="0"/>
11096
  <line num="263" type="stmt" count="0"/>
11097
  <line num="264" type="stmt" count="0"/>
 
11098
  <line num="266" type="stmt" count="0"/>
11099
- <line num="267" type="stmt" count="0"/>
11100
  <line num="268" type="stmt" count="0"/>
11101
  <line num="269" type="stmt" count="0"/>
 
11102
  <line num="271" type="stmt" count="0"/>
11103
- <line num="272" type="stmt" count="0"/>
11104
  <line num="273" type="stmt" count="0"/>
11105
  <line num="274" type="stmt" count="0"/>
 
11106
  <line num="276" type="stmt" count="0"/>
11107
- <line num="277" type="stmt" count="0"/>
11108
  <line num="278" type="stmt" count="0"/>
11109
  <line num="279" type="stmt" count="0"/>
11110
  <line num="280" type="stmt" count="0"/>
11111
  <line num="281" type="stmt" count="0"/>
11112
- <line num="282" type="stmt" count="0"/>
11113
  <line num="284" type="stmt" count="0"/>
11114
  <line num="285" type="stmt" count="0"/>
11115
  <line num="286" type="stmt" count="0"/>
 
11116
  <line num="288" type="stmt" count="0"/>
11117
  <line num="289" type="stmt" count="0"/>
11118
- <line num="290" type="stmt" count="0"/>
11119
  <line num="291" type="stmt" count="0"/>
 
11120
  <line num="293" type="stmt" count="0"/>
11121
- <line num="294" type="stmt" count="0"/>
11122
  <line num="295" type="stmt" count="0"/>
11123
  <line num="296" type="stmt" count="0"/>
 
11124
  <line num="298" type="stmt" count="0"/>
11125
- <line num="299" type="stmt" count="0"/>
11126
  <line num="300" type="stmt" count="0"/>
11127
  <line num="301" type="stmt" count="0"/>
 
11128
  <line num="303" type="stmt" count="0"/>
11129
- <line num="304" type="stmt" count="0"/>
11130
  <line num="305" type="stmt" count="0"/>
11131
  <line num="306" type="stmt" count="0"/>
 
11132
  <line num="308" type="stmt" count="0"/>
11133
- <line num="309" type="stmt" count="0"/>
11134
  <line num="310" type="stmt" count="0"/>
11135
  <line num="311" type="stmt" count="0"/>
 
11136
  <line num="313" type="stmt" count="0"/>
11137
- <line num="314" type="stmt" count="0"/>
11138
  <line num="315" type="stmt" count="0"/>
11139
  <line num="316" type="stmt" count="0"/>
 
11140
  <line num="318" type="stmt" count="0"/>
11141
- <line num="319" type="stmt" count="0"/>
11142
  <line num="320" type="stmt" count="0"/>
11143
  <line num="321" type="stmt" count="0"/>
 
11144
  <line num="323" type="stmt" count="0"/>
11145
- <line num="324" type="stmt" count="0"/>
11146
  <line num="325" type="stmt" count="0"/>
11147
  <line num="326" type="stmt" count="0"/>
 
11148
  <line num="328" type="stmt" count="0"/>
11149
- <line num="329" type="stmt" count="0"/>
11150
  <line num="330" type="stmt" count="0"/>
11151
  <line num="331" type="stmt" count="0"/>
11152
- <line num="334" type="stmt" count="0"/>
 
11153
  <line num="335" type="stmt" count="0"/>
11154
  <line num="336" type="stmt" count="0"/>
11155
  <line num="337" type="stmt" count="0"/>
11156
- <line num="339" type="stmt" count="0"/>
11157
- <line num="340" type="stmt" count="0"/>
11158
  <line num="341" type="stmt" count="0"/>
11159
  <line num="342" type="stmt" count="0"/>
 
11160
  <line num="344" type="stmt" count="0"/>
11161
- <line num="345" type="stmt" count="0"/>
11162
  <line num="346" type="stmt" count="0"/>
11163
  <line num="347" type="stmt" count="0"/>
 
11164
  <line num="349" type="stmt" count="0"/>
11165
- <line num="350" type="stmt" count="0"/>
11166
  <line num="351" type="stmt" count="0"/>
11167
  <line num="352" type="stmt" count="0"/>
 
11168
  <line num="354" type="stmt" count="0"/>
11169
- <line num="355" type="stmt" count="0"/>
11170
  <line num="356" type="stmt" count="0"/>
11171
  <line num="357" type="stmt" count="0"/>
 
11172
  <line num="359" type="stmt" count="0"/>
11173
- <line num="360" type="stmt" count="0"/>
11174
  <line num="361" type="stmt" count="0"/>
11175
  <line num="362" type="stmt" count="0"/>
11176
  <line num="363" type="stmt" count="0"/>
11177
  <line num="364" type="stmt" count="0"/>
 
11178
  <line num="367" type="stmt" count="0"/>
 
11179
  <line num="369" type="stmt" count="0"/>
11180
  <line num="370" type="stmt" count="0"/>
11181
  <line num="371" type="stmt" count="0"/>
11182
- <line num="372" type="stmt" count="0"/>
11183
- <line num="373" type="stmt" count="0"/>
11184
  <line num="374" type="stmt" count="0"/>
11185
- <line num="375" type="stmt" count="0"/>
11186
  <line num="376" type="stmt" count="0"/>
11187
  <line num="377" type="stmt" count="0"/>
11188
  <line num="378" type="stmt" count="0"/>
 
11189
  <line num="380" type="stmt" count="0"/>
11190
  <line num="381" type="stmt" count="0"/>
11191
  <line num="382" type="stmt" count="0"/>
 
11192
  <line num="384" type="stmt" count="0"/>
11193
  <line num="385" type="stmt" count="0"/>
11194
- <line num="386" type="stmt" count="0"/>
11195
  <line num="387" type="stmt" count="0"/>
 
11196
  <line num="389" type="stmt" count="0"/>
11197
- <line num="390" type="stmt" count="0"/>
11198
  <line num="391" type="stmt" count="0"/>
11199
  <line num="392" type="stmt" count="0"/>
 
11200
  <line num="394" type="stmt" count="0"/>
11201
- <line num="395" type="stmt" count="0"/>
11202
  <line num="396" type="stmt" count="0"/>
11203
  <line num="397" type="stmt" count="0"/>
11204
  <line num="398" type="stmt" count="0"/>
11205
  <line num="399" type="stmt" count="0"/>
11206
- <line num="400" type="stmt" count="0"/>
 
11207
  <line num="403" type="stmt" count="0"/>
11208
  <line num="404" type="stmt" count="0"/>
11209
  <line num="405" type="stmt" count="0"/>
11210
  <line num="406" type="stmt" count="0"/>
11211
  <line num="407" type="stmt" count="0"/>
11212
- <line num="408" type="stmt" count="0"/>
11213
- <line num="409" type="stmt" count="0"/>
11214
  <line num="410" type="stmt" count="0"/>
11215
  <line num="411" type="stmt" count="0"/>
11216
  <line num="412" type="stmt" count="0"/>
@@ -11218,13 +11225,13 @@
11218
  <line num="414" type="stmt" count="0"/>
11219
  <line num="415" type="stmt" count="0"/>
11220
  <line num="416" type="stmt" count="0"/>
 
 
11221
  <line num="419" type="stmt" count="0"/>
11222
  <line num="420" type="stmt" count="0"/>
11223
  <line num="421" type="stmt" count="0"/>
11224
  <line num="422" type="stmt" count="0"/>
11225
  <line num="423" type="stmt" count="0"/>
11226
- <line num="424" type="stmt" count="0"/>
11227
- <line num="425" type="stmt" count="0"/>
11228
  <line num="426" type="stmt" count="0"/>
11229
  <line num="427" type="stmt" count="0"/>
11230
  <line num="428" type="stmt" count="0"/>
@@ -11242,14 +11249,21 @@
11242
  <line num="440" type="stmt" count="0"/>
11243
  <line num="441" type="stmt" count="0"/>
11244
  <line num="442" type="stmt" count="0"/>
 
 
11245
  <line num="445" type="stmt" count="0"/>
 
 
11246
  <line num="448" type="stmt" count="0"/>
11247
  <line num="449" type="stmt" count="0"/>
11248
- <line num="451" type="stmt" count="0"/>
11249
- <line num="453" type="stmt" count="0"/>
11250
  <line num="455" type="stmt" count="0"/>
 
11251
  <line num="458" type="stmt" count="0"/>
11252
- <metrics loc="458" ncloc="422" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="367" coveredstatements="0" elements="367" coveredelements="0"/>
 
 
 
11253
  </file>
11254
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-tools.php">
11255
  <line num="15" type="stmt" count="0"/>
@@ -15480,30 +15494,40 @@
15480
  </file>
15481
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-file.php">
15482
  <class name="Boldgrid_Backup_File" namespace="global" fullPackage="Boldgrid.Backup">
15483
- <metrics complexity="5" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="0" elements="21" coveredelements="0"/>
15484
  </class>
15485
- <line num="32" type="method" name="send_file" visibility="public" complexity="5" crap="30" count="0"/>
15486
  <line num="33" type="stmt" count="0"/>
15487
  <line num="34" type="stmt" count="0"/>
 
15488
  <line num="37" type="stmt" count="0"/>
15489
  <line num="38" type="stmt" count="0"/>
15490
- <line num="39" type="stmt" count="0"/>
15491
- <line num="41" type="stmt" count="0"/>
15492
  <line num="43" type="stmt" count="0"/>
15493
  <line num="44" type="stmt" count="0"/>
15494
- <line num="45" type="stmt" count="0"/>
15495
  <line num="48" type="stmt" count="0"/>
15496
  <line num="49" type="stmt" count="0"/>
15497
  <line num="50" type="stmt" count="0"/>
15498
- <line num="51" type="stmt" count="0"/>
15499
  <line num="54" type="stmt" count="0"/>
15500
  <line num="55" type="stmt" count="0"/>
15501
- <line num="56" type="stmt" count="0"/>
15502
- <line num="59" type="stmt" count="0"/>
15503
- <line num="63" type="stmt" count="0"/>
15504
- <line num="66" type="stmt" count="0"/>
15505
- <line num="69" type="stmt" count="0"/>
15506
- <metrics loc="70" ncloc="26" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="0" elements="21" coveredelements="0"/>
 
 
 
 
 
 
 
 
 
15507
  </file>
15508
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-i18n.php">
15509
  <class name="Boldgrid_Backup_I18n" namespace="global" fullPackage="Boldgrid.Backup">
@@ -77053,7 +77077,7 @@
77053
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
77054
  </file>
77055
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
77056
- <class name="ComposerStaticInit5b02665d944ce53b67f03f0dbd19d60f" namespace="Composer\Autoload">
77057
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
77058
  </class>
77059
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
@@ -77145,7 +77169,7 @@
77145
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
77146
  </file>
77147
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
77148
- <class name="ComposerAutoloaderInit5b02665d944ce53b67f03f0dbd19d60f" namespace="global">
77149
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
77150
  </class>
77151
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
@@ -96390,6 +96414,6 @@
96390
  <line num="16" type="stmt" count="0"/>
96391
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
96392
  </file>
96393
- <metrics files="964" loc="193723" ncloc="118043" classes="872" methods="3605" coveredmethods="310" conditionals="0" coveredconditionals="0" statements="86862" coveredstatements="4597" elements="90467" coveredelements="4907"/>
96394
  </project>
96395
  </coverage>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1613504104">
3
+ <project timestamp="1613504104">
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">
2388
  </file>
2389
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php">
2390
  <class name="Boldgrid_Backup_Admin_Cli" namespace="global" fullPackage="Boldgrid.Backup.Admin">
2391
+ <metrics complexity="25" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="83" coveredstatements="27" elements="86" coveredelements="28"/>
2392
  </class>
2393
+ <line num="41" type="method" name="get_execution_functions" visibility="public" complexity="5" crap="5.20" count="7"/>
2394
  <line num="43" type="stmt" count="7"/>
2395
  <line num="44" type="stmt" count="6"/>
2396
  <line num="48" type="stmt" count="1"/>
2397
  <line num="49" type="stmt" count="0"/>
2398
  <line num="53" type="stmt" count="1"/>
2399
+ <line num="54" type="method" name="anonymous function" complexity="1" crap="1" count="1"/>
2400
+ <line num="55" type="stmt" count="1"/>
2401
+ <line num="56" type="stmt" count="1"/>
2402
  <line num="60" type="stmt" count="1"/>
2403
  <line num="61" type="stmt" count="1"/>
2404
  <line num="62" type="stmt" count="1"/>
2405
  <line num="63" type="stmt" count="1"/>
2406
+ <line num="64" type="stmt" count="1"/>
2407
+ <line num="65" type="stmt" count="1"/>
2408
  <line num="66" type="stmt" count="1"/>
2409
+ <line num="69" type="stmt" count="1"/>
 
 
2410
  <line num="70" type="stmt" count="1"/>
2411
+ <line num="71" type="stmt" count="0"/>
2412
+ <line num="72" type="stmt" count="0"/>
2413
  <line num="73" type="stmt" count="1"/>
2414
+ <line num="76" type="stmt" count="1"/>
2415
+ <line num="78" type="stmt" count="1"/>
2416
+ <line num="93" type="method" name="call_command" visibility="public" complexity="19" crap="155.82" count="5"/>
2417
+ <line num="94" type="stmt" count="5"/>
2418
+ <line num="95" type="stmt" count="5"/>
2419
  <line num="100" type="stmt" count="5"/>
2420
+ <line num="102" type="stmt" count="5"/>
2421
+ <line num="104" type="stmt" count="5"/>
2422
  <line num="105" type="stmt" count="0"/>
2423
+ <line num="108" type="stmt" count="0"/>
2424
  <line num="109" type="stmt" count="0"/>
2425
+ <line num="111" type="stmt" count="0"/>
2426
+ <line num="113" type="stmt" count="0"/>
2427
  <line num="116" type="stmt" count="0"/>
2428
+ <line num="118" type="stmt" count="5"/>
2429
  <line num="120" type="stmt" count="0"/>
2430
+ <line num="121" type="stmt" count="0"/>
2431
  <line num="124" type="stmt" count="0"/>
2432
+ <line num="127" type="stmt" count="0"/>
2433
  <line num="128" type="stmt" count="0"/>
2434
  <line num="130" type="stmt" count="0"/>
2435
+ <line num="132" type="stmt" count="0"/>
2436
+ <line num="134" type="stmt" count="0"/>
2437
+ <line num="136" type="stmt" count="5"/>
2438
+ <line num="137" type="stmt" count="5"/>
2439
+ <line num="139" type="stmt" count="5"/>
2440
+ <line num="144" type="stmt" count="5"/>
2441
  <line num="146" type="stmt" count="5"/>
2442
+ <line num="149" type="stmt" count="5"/>
2443
+ <line num="150" type="stmt" count="5"/>
2444
+ <line num="152" type="stmt" count="5"/>
2445
+ <line num="154" type="stmt" count="1"/>
2446
+ <line num="156" type="stmt" count="1"/>
2447
  <line num="158" type="stmt" count="0"/>
 
 
2448
  <line num="162" type="stmt" count="0"/>
2449
  <line num="163" type="stmt" count="0"/>
2450
  <line num="164" type="stmt" count="0"/>
2451
  <line num="166" type="stmt" count="0"/>
2452
  <line num="167" type="stmt" count="0"/>
2453
  <line num="168" type="stmt" count="0"/>
2454
+ <line num="170" type="stmt" count="0"/>
2455
+ <line num="171" type="stmt" count="0"/>
2456
  <line num="172" type="stmt" count="0"/>
2457
+ <line num="173" type="stmt" count="0"/>
2458
  <line num="176" type="stmt" count="0"/>
2459
+ <line num="178" type="stmt" count="0"/>
2460
+ <line num="180" type="stmt" count="0"/>
2461
+ <line num="183" type="stmt" count="0"/>
2462
+ <line num="186" type="stmt" count="0"/>
2463
+ <line num="189" type="stmt" count="0"/>
2464
  <line num="192" type="stmt" count="0"/>
2465
+ <line num="195" type="stmt" count="0"/>
2466
  <line num="196" type="stmt" count="0"/>
2467
  <line num="198" type="stmt" count="0"/>
2468
  <line num="200" type="stmt" count="0"/>
2469
+ <line num="202" type="stmt" count="0"/>
 
2470
  <line num="204" type="stmt" count="0"/>
2471
+ <line num="205" type="stmt" count="0"/>
2472
+ <line num="207" type="stmt" count="0"/>
2473
+ <line num="208" type="stmt" count="0"/>
2474
+ <line num="210" type="stmt" count="0"/>
2475
  <line num="213" type="stmt" count="0"/>
2476
+ <line num="215" type="stmt" count="0"/>
2477
  <line num="217" type="stmt" count="0"/>
2478
+ <line num="218" type="stmt" count="0"/>
2479
  <line num="221" type="stmt" count="0"/>
2480
+ <line num="224" type="stmt" count="0"/>
2481
  <line num="225" type="stmt" count="0"/>
2482
  <line num="227" type="stmt" count="0"/>
2483
  <line num="229" type="stmt" count="0"/>
 
2484
  <line num="231" type="stmt" count="0"/>
2485
+ <line num="233" type="stmt" count="0"/>
2486
+ <line num="234" type="stmt" count="0"/>
2487
+ <line num="235" type="stmt" count="0"/>
2488
  <line num="236" type="stmt" count="5"/>
 
 
2489
  <line num="240" type="stmt" count="5"/>
2490
+ <line num="241" type="stmt" count="4"/>
2491
+ <line num="242" type="stmt" count="4"/>
2492
+ <line num="244" type="stmt" count="5"/>
2493
+ <metrics loc="246" ncloc="144" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="97" coveredstatements="39" elements="100" coveredelements="40"/>
2494
  </file>
2495
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-compressor.php">
2496
  <class name="Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Boldgrid.Backup.Admin">
7147
  </file>
7148
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-test.php">
7149
  <class name="Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin">
7150
+ <metrics complexity="100" methods="26" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="264" coveredstatements="114" elements="290" coveredelements="119"/>
7151
  </class>
7152
  <line num="122" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
7153
  <line num="124" type="stmt" count="29"/>
7293
  <line num="521" type="method" name="is_system_zip_supported" visibility="public" complexity="1" crap="2" count="0"/>
7294
  <line num="522" type="stmt" count="0"/>
7295
  <line num="524" type="stmt" count="0"/>
7296
+ <line num="534" type="method" name="run_functionality_tests" visibility="public" complexity="16" crap="27.44" count="4"/>
7297
  <line num="536" type="stmt" count="4"/>
7298
  <line num="537" type="stmt" count="4"/>
7299
  <line num="540" type="stmt" count="1"/>
7302
  <line num="552" type="stmt" count="0"/>
7303
  <line num="555" type="stmt" count="1"/>
7304
  <line num="556" type="stmt" count="1"/>
7305
+ <line num="557" type="stmt" count="1"/>
7306
+ <line num="559" type="stmt" count="1"/>
7307
+ <line num="572" type="stmt" count="0"/>
7308
+ <line num="573" type="stmt" count="1"/>
 
 
 
 
 
 
 
 
 
 
 
 
7309
  <line num="574" type="stmt" count="0"/>
7310
  <line num="575" type="stmt" count="1"/>
7311
+ <line num="576" type="stmt" count="0"/>
7312
+ <line num="577" type="stmt" count="1"/>
7313
+ <line num="578" type="stmt" count="0"/>
7314
  <line num="579" type="stmt" count="1"/>
7315
+ <line num="580" type="stmt" count="0"/>
7316
  <line num="581" type="stmt" count="1"/>
7317
+ <line num="582" type="stmt" count="0"/>
7318
+ <line num="583" type="stmt" count="1"/>
7319
+ <line num="584" type="stmt" count="0"/>
7320
+ <line num="585" type="stmt" count="1"/>
7321
+ <line num="586" type="stmt" count="0"/>
7322
+ <line num="587" type="stmt" count="1"/>
7323
+ <line num="588" type="stmt" count="0"/>
7324
+ <line num="589" type="stmt" count="0"/>
7325
+ <line num="590" type="stmt" count="1"/>
7326
+ <line num="594" type="stmt" count="1"/>
7327
+ <line num="596" type="stmt" count="1"/>
7328
+ <line num="609" type="method" name="get_disk_space" visibility="public" complexity="5" crap="30" count="0"/>
7329
+ <line num="611" type="stmt" count="0"/>
7330
  <line num="614" type="stmt" count="0"/>
7331
+ <line num="617" type="stmt" count="0"/>
7332
  <line num="618" type="stmt" count="0"/>
7333
+ <line num="620" type="stmt" count="0"/>
7334
  <line num="621" type="stmt" count="0"/>
7335
  <line num="622" type="stmt" count="0"/>
7336
  <line num="623" type="stmt" count="0"/>
7337
+ <line num="624" type="stmt" count="0"/>
7338
  <line num="628" type="stmt" count="0"/>
7339
  <line num="629" type="stmt" count="0"/>
7340
  <line num="630" type="stmt" count="0"/>
7341
+ <line num="633" type="stmt" count="0"/>
7342
+ <line num="636" type="stmt" count="0"/>
7343
+ <line num="637" type="stmt" count="0"/>
7344
+ <line num="638" type="stmt" count="0"/>
7345
+ <line num="642" type="stmt" count="0"/>
7346
+ <line num="643" type="stmt" count="0"/>
7347
+ <line num="644" type="stmt" count="0"/>
7348
+ <line num="645" type="stmt" count="0"/>
7349
  <line num="646" type="stmt" count="0"/>
7350
+ <line num="659" type="method" name="get_wp_size" visibility="private" complexity="5" crap="30" count="0"/>
 
 
 
 
 
 
7351
  <line num="661" type="stmt" count="0"/>
7352
+ <line num="663" type="stmt" count="0"/>
7353
  <line num="664" type="stmt" count="0"/>
 
7354
  <line num="668" type="stmt" count="0"/>
7355
+ <line num="669" type="stmt" count="0"/>
7356
+ <line num="670" type="stmt" count="0"/>
7357
  <line num="671" type="stmt" count="0"/>
7358
+ <line num="673" type="stmt" count="0"/>
7359
+ <line num="676" type="stmt" count="0"/>
7360
+ <line num="679" type="stmt" count="0"/>
7361
+ <line num="680" type="stmt" count="0"/>
7362
+ <line num="683" type="stmt" count="0"/>
7363
+ <line num="686" type="stmt" count="0"/>
7364
+ <line num="689" type="stmt" count="0"/>
7365
+ <line num="702" type="method" name="get_cli_support" visibility="public" complexity="10" crap="10.20" count="1"/>
7366
+ <line num="704" type="stmt" count="1"/>
 
7367
  <line num="705" type="stmt" count="1"/>
7368
+ <line num="706" type="stmt" count="1"/>
 
7369
  <line num="709" type="stmt" count="1"/>
 
7370
  <line num="713" type="stmt" count="1"/>
7371
+ <line num="714" type="stmt" count="1"/>
7372
  <line num="716" type="stmt" count="1"/>
7373
  <line num="718" type="stmt" count="1"/>
7374
  <line num="720" type="stmt" count="1"/>
7375
+ <line num="722" type="stmt" count="0"/>
7376
  <line num="723" type="stmt" count="0"/>
7377
+ <line num="724" type="stmt" count="1"/>
7378
  <line num="727" type="stmt" count="1"/>
7379
+ <line num="728" type="stmt" count="1"/>
7380
  <line num="731" type="stmt" count="1"/>
7381
  <line num="733" type="stmt" count="1"/>
7382
+ <line num="735" type="stmt" count="1"/>
7383
+ <line num="737" type="stmt" count="1"/>
7384
+ <line num="738" type="stmt" count="0"/>
7385
+ <line num="741" type="stmt" count="1"/>
7386
+ <line num="742" type="stmt" count="1"/>
7387
+ <line num="744" type="stmt" count="1"/>
7388
+ <line num="746" type="stmt" count="1"/>
7389
+ <line num="748" type="stmt" count="1"/>
7390
+ <line num="760" type="method" name="get_database_size" visibility="public" complexity="4" crap="20" count="0"/>
7391
  <line num="762" type="stmt" count="0"/>
7392
+ <line num="764" type="stmt" count="0"/>
7393
  <line num="765" type="stmt" count="0"/>
7394
+ <line num="769" type="stmt" count="0"/>
7395
+ <line num="772" type="stmt" count="0"/>
 
7396
  <line num="774" type="stmt" count="0"/>
7397
+ <line num="775" type="stmt" count="0"/>
7398
+ <line num="776" type="stmt" count="0"/>
7399
+ <line num="777" type="stmt" count="0"/>
7400
+ <line num="780" type="stmt" count="0"/>
7401
  <line num="781" type="stmt" count="0"/>
7402
+ <line num="785" type="stmt" count="0"/>
7403
+ <line num="788" type="stmt" count="0"/>
7404
+ <line num="789" type="stmt" count="0"/>
7405
+ <line num="793" type="stmt" count="0"/>
7406
+ <line num="796" type="stmt" count="0"/>
7407
+ <line num="808" type="method" name="get_is_abspath_writable" visibility="public" complexity="2" crap="2.03" count="1"/>
7408
+ <line num="809" type="stmt" count="1"/>
7409
+ <line num="810" type="stmt" count="0"/>
7410
+ <line num="814" type="stmt" count="1"/>
7411
+ <line num="817" type="stmt" count="1"/>
7412
+ <line num="820" type="stmt" count="1"/>
7413
+ <line num="830" type="method" name="is_homedir_writable" visibility="public" complexity="2" crap="6" count="0"/>
7414
+ <line num="831" type="stmt" count="0"/>
7415
+ <line num="832" type="stmt" count="0"/>
7416
+ <line num="836" type="stmt" count="0"/>
7417
  <line num="839" type="stmt" count="0"/>
7418
+ <line num="842" type="stmt" count="0"/>
7419
+ <line num="852" type="method" name="is_iis" visibility="public" complexity="3" crap="12" count="0"/>
7420
+ <line num="853" type="stmt" count="0"/>
7421
+ <line num="854" type="stmt" count="0"/>
7422
+ <line num="855" type="stmt" count="0"/>
7423
+ <line num="865" type="method" name="is_pcl_zip_supported" visibility="public" complexity="1" crap="1" count="1"/>
7424
  <line num="866" type="stmt" count="1"/>
7425
+ <line num="868" type="stmt" count="1"/>
7426
+ <line num="880" type="method" name="is_ea4_cli" visibility="public" complexity="3" crap="3" count="1"/>
7427
+ <line num="881" type="stmt" count="1"/>
7428
+ <line num="882" type="stmt" count="1"/>
7429
  <line num="884" type="stmt" count="1"/>
7430
  <line num="886" type="stmt" count="1"/>
7431
+ <line num="898" type="method" name="is_filesystem_supported" visibility="public" complexity="3" crap="4.12" count="1"/>
7432
+ <line num="899" type="stmt" count="1"/>
7433
+ <line num="901" type="stmt" count="1"/>
7434
+ <line num="904" type="stmt" count="1"/>
7435
+ <line num="905" type="stmt" count="0"/>
7436
+ <line num="906" type="stmt" count="0"/>
7437
+ <line num="907" type="stmt" count="0"/>
7438
+ <line num="909" type="stmt" count="1"/>
7439
+ <line num="910" type="stmt" count="0"/>
7440
+ <line num="911" type="stmt" count="0"/>
7441
+ <line num="913" type="stmt" count="1"/>
7442
+ <metrics loc="915" ncloc="448" classes="1" methods="26" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="264" coveredstatements="114" elements="290" coveredelements="119"/>
7443
  </file>
7444
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-time.php">
7445
  <class name="Boldgrid_Backup_Admin_Time" namespace="global" fullPackage="Boldgrid.Backup.Admin">
9294
  <package name="Boldgrid\Backup\Admin\Cron">
9295
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/cron/class-crontab.php">
9296
  <class name="Crontab" namespace="Boldgrid\Backup\Admin\Cron">
9297
+ <metrics complexity="10" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="31" coveredstatements="14" elements="34" coveredelements="15"/>
9298
  </class>
9299
  <line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
9300
  <line num="40" type="stmt" count="1"/>
9301
  <line num="41" type="stmt" count="1"/>
9302
+ <line num="55" type="method" name="find_crons" visibility="public" complexity="6" crap="42" count="0"/>
9303
  <line num="56" type="stmt" count="0"/>
9304
+ <line num="57" type="stmt" count="0"/>
9305
+ <line num="59" type="stmt" count="0"/>
9306
  <line num="61" type="stmt" count="0"/>
9307
+ <line num="62" type="stmt" count="0"/>
9308
  <line num="64" type="stmt" count="0"/>
9309
  <line num="65" type="stmt" count="0"/>
9310
  <line num="66" type="stmt" count="0"/>
9311
  <line num="67" type="stmt" count="0"/>
9312
+ <line num="68" type="stmt" count="0"/>
9313
  <line num="70" type="stmt" count="0"/>
9314
  <line num="71" type="stmt" count="0"/>
9315
  <line num="72" type="stmt" count="0"/>
9316
+ <line num="73" type="stmt" count="0"/>
9317
+ <line num="75" type="stmt" count="0"/>
9318
+ <line num="88" type="method" name="write_crontab" visibility="public" complexity="3" crap="3.03" count="1"/>
9319
+ <line num="89" type="stmt" count="1"/>
9320
+ <line num="91" type="stmt" count="1"/>
9321
+ <line num="92" type="stmt" count="0"/>
9322
+ <line num="96" type="stmt" count="1"/>
9323
+ <line num="99" type="stmt" count="1"/>
9324
+ <line num="102" type="stmt" count="1"/>
9325
+ <line num="105" type="stmt" count="1"/>
9326
+ <line num="108" type="stmt" count="1"/>
9327
+ <line num="111" type="stmt" count="1"/>
9328
+ <line num="112" type="stmt" count="0"/>
9329
+ <line num="116" type="stmt" count="1"/>
9330
+ <line num="118" type="stmt" count="1"/>
9331
+ <line num="121" type="stmt" count="1"/>
9332
+ <line num="123" type="stmt" count="1"/>
9333
+ <metrics loc="125" ncloc="56" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="31" coveredstatements="14" elements="34" coveredelements="15"/>
9334
  </file>
9335
  </package>
9336
  <package name="Boldgrid\Backup\Admin\Cron\Entry">
10901
  <line num="29" type="stmt" count="0"/>
10902
  <line num="30" type="stmt" count="0"/>
10903
  <line num="31" type="stmt" count="0"/>
10904
+ <line num="32" type="stmt" count="0"/>
10905
  <line num="34" type="stmt" count="0"/>
10906
  <line num="35" type="stmt" count="0"/>
10907
  <line num="36" type="stmt" count="0"/>
10908
+ <line num="37" type="stmt" count="0"/>
10909
  <line num="39" type="stmt" count="0"/>
10910
  <line num="40" type="stmt" count="0"/>
10911
+ <line num="41" type="stmt" count="0"/>
10912
  <line num="43" type="stmt" count="0"/>
10913
  <line num="44" type="stmt" count="0"/>
10914
  <line num="45" type="stmt" count="0"/>
10950
  <line num="81" type="stmt" count="0"/>
10951
  <line num="82" type="stmt" count="0"/>
10952
  <line num="83" type="stmt" count="0"/>
10953
+ <line num="84" type="stmt" count="0"/>
10954
+ <line num="86" type="stmt" count="0"/>
10955
+ <line num="88" type="stmt" count="0"/>
10956
+ <line num="90" type="stmt" count="0"/>
10957
+ <line num="92" type="stmt" count="0"/>
10958
+ <line num="94" type="stmt" count="0"/>
10959
  <line num="96" type="stmt" count="0"/>
10960
+ <line num="98" type="stmt" count="0"/>
10961
  <line num="99" type="stmt" count="0"/>
 
 
10962
  <line num="102" type="stmt" count="0"/>
10963
  <line num="103" type="stmt" count="0"/>
10964
  <line num="104" type="stmt" count="0"/>
11014
  <line num="154" type="stmt" count="0"/>
11015
  <line num="155" type="stmt" count="0"/>
11016
  <line num="156" type="stmt" count="0"/>
11017
+ <line num="157" type="stmt" count="0"/>
11018
  <line num="158" type="stmt" count="0"/>
11019
  <line num="159" type="stmt" count="0"/>
11020
  <line num="160" type="stmt" count="0"/>
11021
+ <line num="161" type="stmt" count="0"/>
11022
  <line num="162" type="stmt" count="0"/>
11023
  <line num="163" type="stmt" count="0"/>
 
11024
  <line num="165" type="stmt" count="0"/>
11025
+ <line num="166" type="stmt" count="0"/>
11026
  <line num="167" type="stmt" count="0"/>
 
11027
  <line num="169" type="stmt" count="0"/>
11028
  <line num="170" type="stmt" count="0"/>
11029
+ <line num="171" type="stmt" count="0"/>
11030
+ <line num="172" type="stmt" count="0"/>
11031
  <line num="174" type="stmt" count="0"/>
11032
  <line num="175" type="stmt" count="0"/>
11033
  <line num="176" type="stmt" count="0"/>
11034
  <line num="177" type="stmt" count="0"/>
 
11035
  <line num="180" type="stmt" count="0"/>
11036
  <line num="181" type="stmt" count="0"/>
11037
  <line num="182" type="stmt" count="0"/>
11038
+ <line num="183" type="stmt" count="0"/>
11039
  <line num="184" type="stmt" count="0"/>
 
11040
  <line num="186" type="stmt" count="0"/>
11041
  <line num="187" type="stmt" count="0"/>
11042
  <line num="188" type="stmt" count="0"/>
11043
+ <line num="189" type="stmt" count="0"/>
11044
  <line num="191" type="stmt" count="0"/>
11045
  <line num="192" type="stmt" count="0"/>
11046
  <line num="193" type="stmt" count="0"/>
11047
+ <line num="194" type="stmt" count="0"/>
11048
  <line num="195" type="stmt" count="0"/>
 
11049
  <line num="197" type="stmt" count="0"/>
11050
  <line num="198" type="stmt" count="0"/>
11051
+ <line num="199" type="stmt" count="0"/>
11052
  <line num="200" type="stmt" count="0"/>
 
11053
  <line num="202" type="stmt" count="0"/>
11054
  <line num="203" type="stmt" count="0"/>
11055
+ <line num="204" type="stmt" count="0"/>
11056
  <line num="205" type="stmt" count="0"/>
 
11057
  <line num="207" type="stmt" count="0"/>
11058
  <line num="208" type="stmt" count="0"/>
11059
  <line num="209" type="stmt" count="0"/>
11061
  <line num="212" type="stmt" count="0"/>
11062
  <line num="213" type="stmt" count="0"/>
11063
  <line num="214" type="stmt" count="0"/>
11064
+ <line num="215" type="stmt" count="0"/>
11065
  <line num="216" type="stmt" count="0"/>
11066
  <line num="217" type="stmt" count="0"/>
 
11067
  <line num="219" type="stmt" count="0"/>
11068
+ <line num="220" type="stmt" count="0"/>
11069
  <line num="221" type="stmt" count="0"/>
 
11070
  <line num="223" type="stmt" count="0"/>
11071
  <line num="224" type="stmt" count="0"/>
11072
  <line num="225" type="stmt" count="0"/>
11073
  <line num="226" type="stmt" count="0"/>
 
11074
  <line num="228" type="stmt" count="0"/>
11075
+ <line num="229" type="stmt" count="0"/>
11076
  <line num="230" type="stmt" count="0"/>
11077
  <line num="231" type="stmt" count="0"/>
11078
  <line num="232" type="stmt" count="0"/>
11079
  <line num="233" type="stmt" count="0"/>
11080
  <line num="234" type="stmt" count="0"/>
11081
+ <line num="235" type="stmt" count="0"/>
11082
  <line num="237" type="stmt" count="0"/>
11083
  <line num="238" type="stmt" count="0"/>
11084
  <line num="239" type="stmt" count="0"/>
11085
+ <line num="240" type="stmt" count="0"/>
11086
  <line num="241" type="stmt" count="0"/>
 
11087
  <line num="243" type="stmt" count="0"/>
11088
  <line num="244" type="stmt" count="0"/>
11089
  <line num="245" type="stmt" count="0"/>
11090
  <line num="246" type="stmt" count="0"/>
 
11091
  <line num="248" type="stmt" count="0"/>
11092
+ <line num="249" type="stmt" count="0"/>
11093
  <line num="250" type="stmt" count="0"/>
11094
  <line num="251" type="stmt" count="0"/>
11095
  <line num="252" type="stmt" count="0"/>
11096
  <line num="253" type="stmt" count="0"/>
11097
  <line num="254" type="stmt" count="0"/>
11098
+ <line num="255" type="stmt" count="0"/>
11099
  <line num="257" type="stmt" count="0"/>
11100
  <line num="258" type="stmt" count="0"/>
11101
  <line num="259" type="stmt" count="0"/>
11102
+ <line num="260" type="stmt" count="0"/>
11103
  <line num="261" type="stmt" count="0"/>
 
11104
  <line num="263" type="stmt" count="0"/>
11105
  <line num="264" type="stmt" count="0"/>
11106
+ <line num="265" type="stmt" count="0"/>
11107
  <line num="266" type="stmt" count="0"/>
 
11108
  <line num="268" type="stmt" count="0"/>
11109
  <line num="269" type="stmt" count="0"/>
11110
+ <line num="270" type="stmt" count="0"/>
11111
  <line num="271" type="stmt" count="0"/>
 
11112
  <line num="273" type="stmt" count="0"/>
11113
  <line num="274" type="stmt" count="0"/>
11114
+ <line num="275" type="stmt" count="0"/>
11115
  <line num="276" type="stmt" count="0"/>
 
11116
  <line num="278" type="stmt" count="0"/>
11117
  <line num="279" type="stmt" count="0"/>
11118
  <line num="280" type="stmt" count="0"/>
11119
  <line num="281" type="stmt" count="0"/>
11120
+ <line num="283" type="stmt" count="0"/>
11121
  <line num="284" type="stmt" count="0"/>
11122
  <line num="285" type="stmt" count="0"/>
11123
  <line num="286" type="stmt" count="0"/>
11124
+ <line num="287" type="stmt" count="0"/>
11125
  <line num="288" type="stmt" count="0"/>
11126
  <line num="289" type="stmt" count="0"/>
 
11127
  <line num="291" type="stmt" count="0"/>
11128
+ <line num="292" type="stmt" count="0"/>
11129
  <line num="293" type="stmt" count="0"/>
 
11130
  <line num="295" type="stmt" count="0"/>
11131
  <line num="296" type="stmt" count="0"/>
11132
+ <line num="297" type="stmt" count="0"/>
11133
  <line num="298" type="stmt" count="0"/>
 
11134
  <line num="300" type="stmt" count="0"/>
11135
  <line num="301" type="stmt" count="0"/>
11136
+ <line num="302" type="stmt" count="0"/>
11137
  <line num="303" type="stmt" count="0"/>
 
11138
  <line num="305" type="stmt" count="0"/>
11139
  <line num="306" type="stmt" count="0"/>
11140
+ <line num="307" type="stmt" count="0"/>
11141
  <line num="308" type="stmt" count="0"/>
 
11142
  <line num="310" type="stmt" count="0"/>
11143
  <line num="311" type="stmt" count="0"/>
11144
+ <line num="312" type="stmt" count="0"/>
11145
  <line num="313" type="stmt" count="0"/>
 
11146
  <line num="315" type="stmt" count="0"/>
11147
  <line num="316" type="stmt" count="0"/>
11148
+ <line num="317" type="stmt" count="0"/>
11149
  <line num="318" type="stmt" count="0"/>
 
11150
  <line num="320" type="stmt" count="0"/>
11151
  <line num="321" type="stmt" count="0"/>
11152
+ <line num="322" type="stmt" count="0"/>
11153
  <line num="323" type="stmt" count="0"/>
 
11154
  <line num="325" type="stmt" count="0"/>
11155
  <line num="326" type="stmt" count="0"/>
11156
+ <line num="327" type="stmt" count="0"/>
11157
  <line num="328" type="stmt" count="0"/>
 
11158
  <line num="330" type="stmt" count="0"/>
11159
  <line num="331" type="stmt" count="0"/>
11160
+ <line num="332" type="stmt" count="0"/>
11161
+ <line num="333" type="stmt" count="0"/>
11162
  <line num="335" type="stmt" count="0"/>
11163
  <line num="336" type="stmt" count="0"/>
11164
  <line num="337" type="stmt" count="0"/>
11165
+ <line num="338" type="stmt" count="0"/>
 
11166
  <line num="341" type="stmt" count="0"/>
11167
  <line num="342" type="stmt" count="0"/>
11168
+ <line num="343" type="stmt" count="0"/>
11169
  <line num="344" type="stmt" count="0"/>
 
11170
  <line num="346" type="stmt" count="0"/>
11171
  <line num="347" type="stmt" count="0"/>
11172
+ <line num="348" type="stmt" count="0"/>
11173
  <line num="349" type="stmt" count="0"/>
 
11174
  <line num="351" type="stmt" count="0"/>
11175
  <line num="352" type="stmt" count="0"/>
11176
+ <line num="353" type="stmt" count="0"/>
11177
  <line num="354" type="stmt" count="0"/>
 
11178
  <line num="356" type="stmt" count="0"/>
11179
  <line num="357" type="stmt" count="0"/>
11180
+ <line num="358" type="stmt" count="0"/>
11181
  <line num="359" type="stmt" count="0"/>
 
11182
  <line num="361" type="stmt" count="0"/>
11183
  <line num="362" type="stmt" count="0"/>
11184
  <line num="363" type="stmt" count="0"/>
11185
  <line num="364" type="stmt" count="0"/>
11186
+ <line num="366" type="stmt" count="0"/>
11187
  <line num="367" type="stmt" count="0"/>
11188
+ <line num="368" type="stmt" count="0"/>
11189
  <line num="369" type="stmt" count="0"/>
11190
  <line num="370" type="stmt" count="0"/>
11191
  <line num="371" type="stmt" count="0"/>
 
 
11192
  <line num="374" type="stmt" count="0"/>
 
11193
  <line num="376" type="stmt" count="0"/>
11194
  <line num="377" type="stmt" count="0"/>
11195
  <line num="378" type="stmt" count="0"/>
11196
+ <line num="379" type="stmt" count="0"/>
11197
  <line num="380" type="stmt" count="0"/>
11198
  <line num="381" type="stmt" count="0"/>
11199
  <line num="382" type="stmt" count="0"/>
11200
+ <line num="383" type="stmt" count="0"/>
11201
  <line num="384" type="stmt" count="0"/>
11202
  <line num="385" type="stmt" count="0"/>
 
11203
  <line num="387" type="stmt" count="0"/>
11204
+ <line num="388" type="stmt" count="0"/>
11205
  <line num="389" type="stmt" count="0"/>
 
11206
  <line num="391" type="stmt" count="0"/>
11207
  <line num="392" type="stmt" count="0"/>
11208
+ <line num="393" type="stmt" count="0"/>
11209
  <line num="394" type="stmt" count="0"/>
 
11210
  <line num="396" type="stmt" count="0"/>
11211
  <line num="397" type="stmt" count="0"/>
11212
  <line num="398" type="stmt" count="0"/>
11213
  <line num="399" type="stmt" count="0"/>
11214
+ <line num="401" type="stmt" count="0"/>
11215
+ <line num="402" type="stmt" count="0"/>
11216
  <line num="403" type="stmt" count="0"/>
11217
  <line num="404" type="stmt" count="0"/>
11218
  <line num="405" type="stmt" count="0"/>
11219
  <line num="406" type="stmt" count="0"/>
11220
  <line num="407" type="stmt" count="0"/>
 
 
11221
  <line num="410" type="stmt" count="0"/>
11222
  <line num="411" type="stmt" count="0"/>
11223
  <line num="412" type="stmt" count="0"/>
11225
  <line num="414" type="stmt" count="0"/>
11226
  <line num="415" type="stmt" count="0"/>
11227
  <line num="416" type="stmt" count="0"/>
11228
+ <line num="417" type="stmt" count="0"/>
11229
+ <line num="418" type="stmt" count="0"/>
11230
  <line num="419" type="stmt" count="0"/>
11231
  <line num="420" type="stmt" count="0"/>
11232
  <line num="421" type="stmt" count="0"/>
11233
  <line num="422" type="stmt" count="0"/>
11234
  <line num="423" type="stmt" count="0"/>
 
 
11235
  <line num="426" type="stmt" count="0"/>
11236
  <line num="427" type="stmt" count="0"/>
11237
  <line num="428" type="stmt" count="0"/>
11249
  <line num="440" type="stmt" count="0"/>
11250
  <line num="441" type="stmt" count="0"/>
11251
  <line num="442" type="stmt" count="0"/>
11252
+ <line num="443" type="stmt" count="0"/>
11253
+ <line num="444" type="stmt" count="0"/>
11254
  <line num="445" type="stmt" count="0"/>
11255
+ <line num="446" type="stmt" count="0"/>
11256
+ <line num="447" type="stmt" count="0"/>
11257
  <line num="448" type="stmt" count="0"/>
11258
  <line num="449" type="stmt" count="0"/>
11259
+ <line num="452" type="stmt" count="0"/>
 
11260
  <line num="455" type="stmt" count="0"/>
11261
+ <line num="456" type="stmt" count="0"/>
11262
  <line num="458" type="stmt" count="0"/>
11263
+ <line num="460" type="stmt" count="0"/>
11264
+ <line num="462" type="stmt" count="0"/>
11265
+ <line num="465" type="stmt" count="0"/>
11266
+ <metrics loc="465" ncloc="429" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="373" coveredstatements="0" elements="373" coveredelements="0"/>
11267
  </file>
11268
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-tools.php">
11269
  <line num="15" type="stmt" count="0"/>
15494
  </file>
15495
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-file.php">
15496
  <class name="Boldgrid_Backup_File" namespace="global" fullPackage="Boldgrid.Backup">
15497
+ <metrics complexity="7" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="0" elements="31" coveredelements="0"/>
15498
  </class>
15499
+ <line num="32" type="method" name="send_file" visibility="public" complexity="7" crap="56" count="0"/>
15500
  <line num="33" type="stmt" count="0"/>
15501
  <line num="34" type="stmt" count="0"/>
15502
+ <line num="36" type="stmt" count="0"/>
15503
  <line num="37" type="stmt" count="0"/>
15504
  <line num="38" type="stmt" count="0"/>
15505
+ <line num="40" type="stmt" count="0"/>
15506
+ <line num="42" type="stmt" count="0"/>
15507
  <line num="43" type="stmt" count="0"/>
15508
  <line num="44" type="stmt" count="0"/>
15509
+ <line num="47" type="stmt" count="0"/>
15510
  <line num="48" type="stmt" count="0"/>
15511
  <line num="49" type="stmt" count="0"/>
15512
  <line num="50" type="stmt" count="0"/>
15513
+ <line num="53" type="stmt" count="0"/>
15514
  <line num="54" type="stmt" count="0"/>
15515
  <line num="55" type="stmt" count="0"/>
15516
+ <line num="61" type="stmt" count="0"/>
15517
+ <line num="64" type="stmt" count="0"/>
15518
+ <line num="76" type="stmt" count="0"/>
15519
+ <line num="79" type="stmt" count="0"/>
15520
+ <line num="80" type="stmt" count="0"/>
15521
+ <line num="81" type="stmt" count="0"/>
15522
+ <line num="82" type="stmt" count="0"/>
15523
+ <line num="85" type="stmt" count="0"/>
15524
+ <line num="86" type="stmt" count="0"/>
15525
+ <line num="87" type="stmt" count="0"/>
15526
+ <line num="88" type="stmt" count="0"/>
15527
+ <line num="90" type="stmt" count="0"/>
15528
+ <line num="92" type="stmt" count="0"/>
15529
+ <line num="93" type="stmt" count="0"/>
15530
+ <metrics loc="94" ncloc="34" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="0" elements="31" coveredelements="0"/>
15531
  </file>
15532
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-i18n.php">
15533
  <class name="Boldgrid_Backup_I18n" namespace="global" fullPackage="Boldgrid.Backup">
77077
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
77078
  </file>
77079
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
77080
+ <class name="ComposerStaticInit32d4cd09e587793b876fe3c5becc355c" namespace="Composer\Autoload">
77081
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
77082
  </class>
77083
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
77169
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
77170
  </file>
77171
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
77172
+ <class name="ComposerAutoloaderInit32d4cd09e587793b876fe3c5becc355c" namespace="global">
77173
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
77174
  </class>
77175
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
96414
  <line num="16" type="stmt" count="0"/>
96415
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
96416
  </file>
96417
+ <metrics files="964" loc="193774" ncloc="118066" classes="872" methods="3606" coveredmethods="311" conditionals="0" coveredconditionals="0" statements="86885" coveredstatements="4602" elements="90491" coveredelements="4913"/>
96418
  </project>
96419
  </coverage>
includes/class-boldgrid-backup-file.php CHANGED
@@ -33,7 +33,6 @@ class Boldgrid_Backup_File {
33
  WP_Filesystem();
34
  global $wp_filesystem;
35
 
36
- // phpcs:disable WordPress.VIP
37
  if ( empty( $filepath ) || ! $wp_filesystem->exists( $filepath ) ) {
38
  wp_redirect( get_site_url(), 404 );
39
  }
@@ -55,16 +54,41 @@ class Boldgrid_Backup_File {
55
  ob_end_flush();
56
  }
57
 
 
 
 
 
 
 
58
  // Close any PHP session, so another session can open during the download.
59
  session_write_close();
60
 
61
- // Send the file. Not finding a replacement in $wp_filesystem.
62
- // phpcs:disable
63
- readfile( $filepath );
64
- // phpcs:enable
 
 
 
 
 
 
 
65
 
66
- wp_die();
 
 
 
 
67
 
68
- // phpcs:enable WordPress.VIP
 
 
 
 
 
 
 
 
69
  }
70
  }
33
  WP_Filesystem();
34
  global $wp_filesystem;
35
 
 
36
  if ( empty( $filepath ) || ! $wp_filesystem->exists( $filepath ) ) {
37
  wp_redirect( get_site_url(), 404 );
38
  }
54
  ob_end_flush();
55
  }
56
 
57
+ /*
58
+ * Implicit flushing will result in a flush operation after every output call, so that explicit
59
+ * calls to flush() will no longer be needed.
60
+ */
61
+ ob_implicit_flush( true );
62
+
63
  // Close any PHP session, so another session can open during the download.
64
  session_write_close();
65
 
66
+ /*
67
+ * Begin code to send the file, chunked.
68
+ *
69
+ * Unable to find a replacement in $wp_filesystem.
70
+ *
71
+ * Inspired by https://stackoverflow.com/questions/6914912/streaming-a-large-file-using-php
72
+ *
73
+ * This method was needed because some users couldn't download large files using readfile() alone.
74
+ * They were able to download small backup files, but not larger ones.
75
+ */
76
+ $buffer = '';
77
 
78
+ // If we can't open the file, abort.
79
+ $handle = fopen( $filepath, 'rb' ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_fopen
80
+ if ( false === $handle ) {
81
+ wp_die();
82
+ }
83
 
84
+ // Loop through the file and send it 1MB at a time.
85
+ while ( ! feof( $handle ) ) {
86
+ $buffer = fread( $handle, 1024 * 1024 ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_fread
87
+ echo $buffer; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
88
+ }
89
+
90
+ fclose( $handle ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_fclose
91
+
92
+ wp_die();
93
  }
94
  }
includes/config/config.rating-prompt.php CHANGED
@@ -68,7 +68,7 @@ $default_prompt = [
68
  'slide' => 'maybe_later',
69
  ],
70
  'already_did' => [
71
- 'text' => esc_html__( 'I already did', 'boldgrid-backup' ),
72
  'slide' => 'already_did',
73
  ],
74
  ],
68
  'slide' => 'maybe_later',
69
  ],
70
  'already_did' => [
71
+ 'text' => esc_html__( 'I already did / Permanently dismiss this notice', 'boldgrid-backup' ),
72
  'slide' => 'already_did',
73
  ],
74
  ],
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: boldgrid, joemoto, imh_brad, rramo012, bgnicolepaschen, jamesros161
3
  Tags: backup, cloud backup, database backup, restore, wordpress backup
4
  Requires at least: 4.4
5
- Tested up to: 5.6
6
  Requires PHP: 5.4
7
- Stable tag: 1.14.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -132,6 +132,16 @@ Have a problem? First, take a look at our [Getting Started](https://www.boldgrid
132
 
133
  == Changelog ==
134
 
 
 
 
 
 
 
 
 
 
 
135
  = 1.14.10 =
136
 
137
  Release date: December 14th, 2020
2
  Contributors: boldgrid, joemoto, imh_brad, rramo012, bgnicolepaschen, jamesros161
3
  Tags: backup, cloud backup, database backup, restore, wordpress backup
4
  Requires at least: 4.4
5
+ Tested up to: 5.7
6
  Requires PHP: 5.4
7
+ Stable tag: 1.14.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
132
 
133
  == Changelog ==
134
 
135
+ = 1.14.11 =
136
+
137
+ Release date: February 16th, 2021
138
+
139
+ * Bug fix: Improved check for available execution functions and disabled functions.
140
+ * Bug fix: Fixes js handling file / db backup filters on settings page.
141
+ * Update: Changed "download backup" feature to send chunked.
142
+ * Update: Fixed uasort usage.
143
+ * Update: Added "Dismiss" verbiage to "Please rate us!" notice.
144
+
145
  = 1.14.10 =
146
 
147
  Release date: December 14th, 2020
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit5b02665d944ce53b67f03f0dbd19d60f::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit32d4cd09e587793b876fe3c5becc355c::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit5b02665d944ce53b67f03f0dbd19d60f
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit5b02665d944ce53b67f03f0dbd19d60f
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit5b02665d944ce53b67f03f0dbd19d60f', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit5b02665d944ce53b67f03f0dbd19d60f', '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\ComposerStaticInit5b02665d944ce53b67f03f0dbd19d60f::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit5b02665d944ce53b67f03f0dbd19d60f
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInit5b02665d944ce53b67f03f0dbd19d60f::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequire5b02665d944ce53b67f03f0dbd19d60f($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequire5b02665d944ce53b67f03f0dbd19d60f($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 ComposerAutoloaderInit32d4cd09e587793b876fe3c5becc355c
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit32d4cd09e587793b876fe3c5becc355c', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit32d4cd09e587793b876fe3c5becc355c', '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\ComposerStaticInit32d4cd09e587793b876fe3c5becc355c::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\ComposerStaticInit32d4cd09e587793b876fe3c5becc355c::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequire32d4cd09e587793b876fe3c5becc355c($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequire32d4cd09e587793b876fe3c5becc355c($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 ComposerStaticInit5b02665d944ce53b67f03f0dbd19d60f
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
@@ -91,9 +91,9 @@ class ComposerStaticInit5b02665d944ce53b67f03f0dbd19d60f
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
- $loader->prefixLengthsPsr4 = ComposerStaticInit5b02665d944ce53b67f03f0dbd19d60f::$prefixLengthsPsr4;
95
- $loader->prefixDirsPsr4 = ComposerStaticInit5b02665d944ce53b67f03f0dbd19d60f::$prefixDirsPsr4;
96
- $loader->classMap = ComposerStaticInit5b02665d944ce53b67f03f0dbd19d60f::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit32d4cd09e587793b876fe3c5becc355c
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 = ComposerStaticInit32d4cd09e587793b876fe3c5becc355c::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInit32d4cd09e587793b876fe3c5becc355c::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInit32d4cd09e587793b876fe3c5becc355c::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }