Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version 1.13.5-alpha.4

Version Description

Download this release

Release Info

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

Code changes from version 1.13.5-alpha.3 to 1.13.5-alpha.4

admin/class-boldgrid-backup-admin-core.php CHANGED
@@ -2226,6 +2226,9 @@ class Boldgrid_Backup_Admin_Core {
2226
  public function restore_archive_file( $dryrun = false ) {
2227
  $this->logger->init( 'restore-' . time() . '.log' );
2228
  $this->logger->add( 'Restoration process initialized.' );
 
 
 
2229
 
2230
  // If we have an error, add it to the log.
2231
  add_action( 'shutdown', array( $this->logger, 'add_last_error' ) );
@@ -2329,8 +2332,10 @@ class Boldgrid_Backup_Admin_Core {
2329
  }
2330
 
2331
  $this->logger->add( 'Unzipping archive... filepath / ABSPATH: ' . $info['filepath'] . ' / ' . ABSPATH );
 
2332
  $unzip_status = ! $dryrun ? unzip_file( $info['filepath'], ABSPATH ) : null;
2333
- $this->logger->add( 'Unzip status: ' . print_r( $unzip_status, 1 ) ); // phpcs:ignore
 
2334
 
2335
  if ( is_wp_error( $unzip_status ) ) {
2336
  $error = false;
2226
  public function restore_archive_file( $dryrun = false ) {
2227
  $this->logger->init( 'restore-' . time() . '.log' );
2228
  $this->logger->add( 'Restoration process initialized.' );
2229
+ $this->logger->add_memory();
2230
+
2231
+ Boldgrid_Backup_Admin_Utility::bump_memory_limit( '1G' );
2232
 
2233
  // If we have an error, add it to the log.
2234
  add_action( 'shutdown', array( $this->logger, 'add_last_error' ) );
2332
  }
2333
 
2334
  $this->logger->add( 'Unzipping archive... filepath / ABSPATH: ' . $info['filepath'] . ' / ' . ABSPATH );
2335
+ $this->logger->add_memory();
2336
  $unzip_status = ! $dryrun ? unzip_file( $info['filepath'], ABSPATH ) : null;
2337
+ $this->logger->add( 'Unzip complete! Status: ' . print_r( $unzip_status, 1 ) ); // phpcs:ignore
2338
+ $this->logger->add_memory();
2339
 
2340
  if ( is_wp_error( $unzip_status ) ) {
2341
  $error = false;
coverage.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1590175956">
3
- <project timestamp="1590175956">
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">
@@ -2511,7 +2511,7 @@
2511
  </file>
2512
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
2513
  <class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
2514
- <metrics complexity="231" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1057" coveredstatements="513" elements="1085" coveredelements="517"/>
2515
  </class>
2516
  <line num="574" type="method" name="__construct" visibility="public" complexity="7" crap="7.03" count="20"/>
2517
  <line num="575" type="stmt" count="20"/>
@@ -3267,345 +3267,349 @@
3267
  <line num="2208" type="stmt" count="0"/>
3268
  <line num="2210" type="stmt" count="0"/>
3269
  <line num="2213" type="stmt" count="0"/>
3270
- <line num="2226" type="method" name="restore_archive_file" visibility="public" complexity="26" crap="54.98" count="1"/>
3271
  <line num="2227" type="stmt" count="1"/>
3272
  <line num="2228" type="stmt" count="1"/>
 
3273
  <line num="2231" type="stmt" count="1"/>
3274
- <line num="2233" type="stmt" count="1"/>
3275
  <line num="2236" type="stmt" count="1"/>
3276
- <line num="2237" type="stmt" count="0"/>
3277
- <line num="2238" type="stmt" count="0"/>
3278
- <line num="2242" type="stmt" count="1"/>
3279
- <line num="2243" type="stmt" count="0"/>
3280
- <line num="2244" type="stmt" count="0"/>
3281
- <line num="2248" type="stmt" count="1"/>
3282
- <line num="2249" type="stmt" count="1"/>
3283
  <line num="2252" type="stmt" count="1"/>
3284
- <line num="2253" type="stmt" count="1"/>
3285
- <line num="2254" type="stmt" count="1"/>
3286
- <line num="2255" type="stmt" count="0"/>
3287
- <line num="2256" type="stmt" count="0"/>
3288
- <line num="2260" type="stmt" count="1"/>
3289
- <line num="2261" type="stmt" count="1"/>
3290
- <line num="2262" type="stmt" count="1"/>
3291
- <line num="2263" type="stmt" count="0"/>
3292
- <line num="2264" type="stmt" count="0"/>
3293
- <line num="2268" type="stmt" count="1"/>
3294
- <line num="2270" type="stmt" count="1"/>
3295
  <line num="2271" type="stmt" count="1"/>
3296
- <line num="2272" type="stmt" count="0"/>
3297
- <line num="2273" type="stmt" count="0"/>
3298
- <line num="2276" type="stmt" count="1"/>
3299
- <line num="2278" type="stmt" count="1"/>
3300
- <line num="2279" type="stmt" count="0"/>
3301
- <line num="2280" type="stmt" count="0"/>
3302
- <line num="2283" type="stmt" count="1"/>
3303
- <line num="2285" type="stmt" count="1"/>
3304
  <line num="2286" type="stmt" count="1"/>
3305
- <line num="2287" type="stmt" count="1"/>
3306
- <line num="2288" type="stmt" count="0"/>
3307
- <line num="2289" type="stmt" count="0"/>
3308
- <line num="2294" type="stmt" count="1"/>
3309
- <line num="2295" type="stmt" count="1"/>
3310
- <line num="2296" type="stmt" count="1"/>
3311
  <line num="2297" type="stmt" count="1"/>
3312
  <line num="2298" type="stmt" count="1"/>
3313
  <line num="2299" type="stmt" count="1"/>
3314
  <line num="2300" type="stmt" count="1"/>
3315
  <line num="2301" type="stmt" count="1"/>
3316
  <line num="2302" type="stmt" count="1"/>
 
 
3317
  <line num="2305" type="stmt" count="1"/>
3318
- <line num="2307" type="stmt" count="1"/>
3319
- <line num="2316" type="stmt" count="1"/>
3320
- <line num="2322" type="stmt" count="1"/>
3321
- <line num="2323" type="stmt" count="1"/>
3322
- <line num="2324" type="stmt" count="0"/>
3323
- <line num="2325" type="stmt" count="0"/>
3324
- <line num="2327" type="stmt" count="1"/>
3325
  <line num="2328" type="stmt" count="0"/>
3326
- <line num="2331" type="stmt" count="1"/>
3327
- <line num="2332" type="stmt" count="1"/>
3328
- <line num="2333" type="stmt" count="1"/>
3329
  <line num="2335" type="stmt" count="1"/>
3330
- <line num="2336" type="stmt" count="0"/>
3331
- <line num="2346" type="stmt" count="0"/>
3332
- <line num="2348" type="stmt" count="0"/>
3333
- <line num="2349" type="stmt" count="0"/>
3334
- <line num="2350" type="stmt" count="0"/>
3335
  <line num="2351" type="stmt" count="0"/>
3336
- <line num="2352" type="stmt" count="0"/>
3337
  <line num="2354" type="stmt" count="0"/>
3338
- <line num="2364" type="stmt" count="1"/>
3339
- <line num="2373" type="stmt" count="1"/>
3340
- <line num="2374" type="stmt" count="1"/>
3341
- <line num="2375" type="stmt" count="1"/>
3342
- <line num="2376" type="stmt" count="1"/>
 
3343
  <line num="2379" type="stmt" count="1"/>
3344
- <line num="2380" type="stmt" count="0"/>
3345
- <line num="2381" type="stmt" count="0"/>
3346
- <line num="2383" type="stmt" count="1"/>
3347
- <line num="2384" type="stmt" count="0"/>
3348
  <line num="2386" type="stmt" count="0"/>
3349
- <line num="2387" type="stmt" count="0"/>
3350
- <line num="2388" type="stmt" count="0"/>
3351
  <line num="2389" type="stmt" count="0"/>
3352
- <line num="2392" type="stmt" count="1"/>
3353
- <line num="2393" type="stmt" count="1"/>
3354
- <line num="2396" type="stmt" count="1"/>
 
3355
  <line num="2397" type="stmt" count="1"/>
3356
- <line num="2400" type="stmt" count="1"/>
3357
- <line num="2401" type="stmt" count="0"/>
3358
- <line num="2403" type="stmt" count="0"/>
3359
- <line num="2404" type="stmt" count="0"/>
3360
- <line num="2406" type="stmt" count="1"/>
3361
- <line num="2407" type="stmt" count="1"/>
3362
- <line num="2410" type="stmt" count="1"/>
3363
- <line num="2413" type="stmt" count="1"/>
3364
- <line num="2416" type="stmt" count="1"/>
 
3365
  <line num="2418" type="stmt" count="1"/>
3366
- <line num="2422" type="stmt" count="1"/>
3367
  <line num="2423" type="stmt" count="1"/>
3368
- <line num="2426" type="stmt" count="1"/>
3369
- <line num="2429" type="stmt" count="1"/>
3370
- <line num="2432" type="stmt" count="1"/>
3371
- <line num="2445" type="method" name="page_archives" visibility="public" complexity="5" crap="30" count="0"/>
3372
- <line num="2446" type="stmt" count="0"/>
3373
- <line num="2449" type="stmt" count="0"/>
3374
- <line num="2450" type="stmt" count="0"/>
3375
- <line num="2452" type="stmt" count="0"/>
3376
  <line num="2455" type="stmt" count="0"/>
3377
- <line num="2458" type="stmt" count="0"/>
3378
- <line num="2459" type="stmt" count="0"/>
3379
- <line num="2461" type="stmt" count="0"/>
3380
  <line num="2464" type="stmt" count="0"/>
3381
- <line num="2465" type="stmt" count="0"/>
3382
  <line num="2466" type="stmt" count="0"/>
3383
- <line num="2468" type="stmt" count="0"/>
3384
  <line num="2469" type="stmt" count="0"/>
3385
- <line num="2472" type="stmt" count="0"/>
 
3386
  <line num="2473" type="stmt" count="0"/>
3387
  <line num="2474" type="stmt" count="0"/>
3388
  <line num="2477" type="stmt" count="0"/>
3389
- <line num="2480" type="stmt" count="0"/>
3390
- <line num="2483" type="stmt" count="0"/>
 
3391
  <line num="2485" type="stmt" count="0"/>
3392
- <line num="2486" type="stmt" count="0"/>
3393
- <line num="2487" type="stmt" count="0"/>
3394
  <line num="2490" type="stmt" count="0"/>
 
3395
  <line num="2492" type="stmt" count="0"/>
3396
  <line num="2495" type="stmt" count="0"/>
3397
- <line num="2496" type="stmt" count="0"/>
3398
  <line num="2497" type="stmt" count="0"/>
3399
- <line num="2499" type="stmt" count="0"/>
 
3400
  <line num="2502" type="stmt" count="0"/>
3401
- <line num="2503" type="stmt" count="0"/>
3402
- <line num="2512" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="10" crap="110" count="0"/>
3403
- <line num="2515" type="stmt" count="0"/>
3404
- <line num="2516" type="stmt" count="0"/>
3405
- <line num="2517" type="stmt" count="0"/>
3406
- <line num="2519" type="stmt" count="0"/>
3407
  <line num="2520" type="stmt" count="0"/>
3408
  <line num="2521" type="stmt" count="0"/>
 
3409
  <line num="2524" type="stmt" count="0"/>
3410
  <line num="2525" type="stmt" count="0"/>
3411
  <line num="2526" type="stmt" count="0"/>
3412
- <line num="2528" type="stmt" count="0"/>
3413
  <line num="2529" type="stmt" count="0"/>
3414
  <line num="2530" type="stmt" count="0"/>
3415
- <line num="2532" type="stmt" count="0"/>
 
3416
  <line num="2534" type="stmt" count="0"/>
3417
  <line num="2535" type="stmt" count="0"/>
3418
- <line num="2536" type="stmt" count="0"/>
3419
- <line num="2538" type="stmt" count="0"/>
3420
  <line num="2539" type="stmt" count="0"/>
 
3421
  <line num="2541" type="stmt" count="0"/>
 
3422
  <line num="2544" type="stmt" count="0"/>
3423
- <line num="2545" type="stmt" count="0"/>
3424
  <line num="2546" type="stmt" count="0"/>
3425
- <line num="2548" type="stmt" count="0"/>
3426
  <line num="2549" type="stmt" count="0"/>
3427
  <line num="2550" type="stmt" count="0"/>
3428
- <line num="2559" type="stmt" count="0"/>
3429
- <line num="2560" type="stmt" count="0"/>
3430
- <line num="2572" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
3431
- <line num="2574" type="stmt" count="0"/>
3432
- <line num="2577" type="stmt" count="0"/>
3433
- <line num="2578" type="stmt" count="0"/>
 
3434
  <line num="2579" type="stmt" count="0"/>
3435
- <line num="2580" type="stmt" count="0"/>
3436
  <line num="2583" type="stmt" count="0"/>
3437
  <line num="2584" type="stmt" count="0"/>
3438
  <line num="2585" type="stmt" count="0"/>
3439
- <line num="2586" type="stmt" count="0"/>
3440
- <line num="2587" type="stmt" count="0"/>
 
3441
  <line num="2591" type="stmt" count="0"/>
3442
  <line num="2592" type="stmt" count="0"/>
3443
- <line num="2593" type="stmt" count="0"/>
3444
- <line num="2594" type="stmt" count="0"/>
3445
- <line num="2595" type="stmt" count="0"/>
3446
  <line num="2599" type="stmt" count="0"/>
3447
- <line num="2602" type="stmt" count="0"/>
3448
- <line num="2603" type="stmt" count="0"/>
3449
  <line num="2604" type="stmt" count="0"/>
3450
- <line num="2605" type="stmt" count="0"/>
3451
  <line num="2608" type="stmt" count="0"/>
3452
- <line num="2611" type="stmt" count="0"/>
3453
- <line num="2612" type="stmt" count="0"/>
3454
  <line num="2613" type="stmt" count="0"/>
3455
- <line num="2614" type="stmt" count="0"/>
 
3456
  <line num="2618" type="stmt" count="0"/>
3457
  <line num="2619" type="stmt" count="0"/>
3458
- <line num="2620" type="stmt" count="0"/>
3459
  <line num="2623" type="stmt" count="0"/>
3460
  <line num="2624" type="stmt" count="0"/>
3461
  <line num="2625" type="stmt" count="0"/>
3462
- <line num="2626" type="stmt" count="0"/>
3463
  <line num="2628" type="stmt" count="0"/>
 
3464
  <line num="2630" type="stmt" count="0"/>
3465
- <line num="2632" type="stmt" count="0"/>
3466
  <line num="2633" type="stmt" count="0"/>
3467
- <line num="2634" type="stmt" count="0"/>
3468
  <line num="2637" type="stmt" count="0"/>
3469
  <line num="2638" type="stmt" count="0"/>
3470
- <line num="2648" type="method" name="page_backup_test" visibility="public" complexity="6" crap="42" count="0"/>
3471
- <line num="2650" type="stmt" count="0"/>
3472
- <line num="2653" type="stmt" count="0"/>
3473
- <line num="2656" type="stmt" count="0"/>
3474
- <line num="2659" type="stmt" count="0"/>
3475
- <line num="2662" type="stmt" count="0"/>
 
3476
  <line num="2664" type="stmt" count="0"/>
3477
  <line num="2667" type="stmt" count="0"/>
3478
- <line num="2670" type="stmt" count="0"/>
3479
- <line num="2673" type="stmt" count="0"/>
3480
- <line num="2676" type="stmt" count="0"/>
3481
- <line num="2679" type="stmt" count="0"/>
3482
  <line num="2681" type="stmt" count="0"/>
3483
- <line num="2689" type="stmt" count="0"/>
3484
- <line num="2690" type="stmt" count="0"/>
3485
- <line num="2691" type="stmt" count="0"/>
3486
- <line num="2692" type="stmt" count="0"/>
3487
- <line num="2693" type="stmt" count="0"/>
3488
  <line num="2696" type="stmt" count="0"/>
3489
  <line num="2697" type="stmt" count="0"/>
3490
  <line num="2698" type="stmt" count="0"/>
3491
- <line num="2699" type="stmt" count="0"/>
3492
- <line num="2700" type="stmt" count="0"/>
3493
  <line num="2701" type="stmt" count="0"/>
3494
  <line num="2702" type="stmt" count="0"/>
3495
  <line num="2703" type="stmt" count="0"/>
 
3496
  <line num="2705" type="stmt" count="0"/>
 
 
3497
  <line num="2708" type="stmt" count="0"/>
3498
- <line num="2709" type="stmt" count="0"/>
3499
  <line num="2710" type="stmt" count="0"/>
3500
- <line num="2711" type="stmt" count="0"/>
3501
- <line num="2712" type="stmt" count="0"/>
3502
  <line num="2713" type="stmt" count="0"/>
 
 
3503
  <line num="2716" type="stmt" count="0"/>
3504
  <line num="2717" type="stmt" count="0"/>
3505
- <line num="2732" type="method" name="set_doing_cron" visibility="public" complexity="3" crap="3" count="20"/>
3506
- <line num="2733" type="stmt" count="20"/>
3507
- <line num="2734" type="stmt" count="20"/>
3508
- <line num="2741" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="20"/>
3509
- <line num="2746" type="stmt" count="20"/>
3510
- <line num="2748" type="stmt" count="20"/>
3511
- <line num="2749" type="stmt" count="20"/>
3512
- <line num="2750" type="stmt" count="20"/>
3513
  <line num="2751" type="stmt" count="20"/>
3514
- <line num="2752" type="stmt" count="20"/>
3515
  <line num="2753" type="stmt" count="20"/>
 
3516
  <line num="2755" type="stmt" count="20"/>
3517
  <line num="2756" type="stmt" count="20"/>
 
3518
  <line num="2758" type="stmt" count="20"/>
3519
- <line num="2759" type="stmt" count="20"/>
3520
  <line num="2760" type="stmt" count="20"/>
3521
  <line num="2761" type="stmt" count="20"/>
3522
- <line num="2762" type="stmt" count="20"/>
3523
  <line num="2763" type="stmt" count="20"/>
 
3524
  <line num="2765" type="stmt" count="20"/>
3525
  <line num="2766" type="stmt" count="20"/>
3526
  <line num="2767" type="stmt" count="20"/>
3527
- <line num="2773" type="stmt" count="20"/>
3528
- <line num="2775" type="stmt" count="20"/>
3529
- <line num="2776" type="stmt" count="20"/>
3530
- <line num="2777" type="stmt" count="20"/>
3531
  <line num="2778" type="stmt" count="20"/>
3532
- <line num="2779" type="stmt" count="20"/>
3533
  <line num="2781" type="stmt" count="20"/>
 
 
3534
  <line num="2784" type="stmt" count="20"/>
3535
- <line num="2785" type="stmt" count="20"/>
3536
- <line num="2787" type="stmt" count="20"/>
3537
  <line num="2789" type="stmt" count="20"/>
3538
- <line num="2801" type="method" name="set_time_limit" visibility="public" complexity="2" crap="2" count="4"/>
3539
- <line num="2802" type="stmt" count="4"/>
3540
- <line num="2804" type="stmt" count="4"/>
3541
- <line num="2805" type="stmt" count="4"/>
3542
- <line num="2812" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
3543
- <line num="2813" type="stmt" count="0"/>
3544
- <line num="2814" type="stmt" count="0"/>
3545
- <line num="2817" type="stmt" count="0"/>
3546
  <line num="2818" type="stmt" count="0"/>
3547
  <line num="2819" type="stmt" count="0"/>
3548
- <line num="2821" type="stmt" count="0"/>
3549
  <line num="2822" type="stmt" count="0"/>
3550
  <line num="2823" type="stmt" count="0"/>
 
3551
  <line num="2826" type="stmt" count="0"/>
3552
  <line num="2827" type="stmt" count="0"/>
3553
  <line num="2828" type="stmt" count="0"/>
3554
- <line num="2830" type="stmt" count="0"/>
3555
  <line num="2831" type="stmt" count="0"/>
3556
  <line num="2832" type="stmt" count="0"/>
3557
- <line num="2834" type="stmt" count="0"/>
3558
- <line num="2847" type="stmt" count="0"/>
3559
- <line num="2848" type="stmt" count="0"/>
3560
- <line num="2850" type="stmt" count="0"/>
3561
- <line num="2851" type="stmt" count="0"/>
3562
  <line num="2852" type="stmt" count="0"/>
3563
  <line num="2853" type="stmt" count="0"/>
3564
- <line num="2854" type="stmt" count="0"/>
3565
  <line num="2856" type="stmt" count="0"/>
3566
  <line num="2857" type="stmt" count="0"/>
3567
  <line num="2858" type="stmt" count="0"/>
3568
  <line num="2859" type="stmt" count="0"/>
3569
  <line num="2861" type="stmt" count="0"/>
 
3570
  <line num="2863" type="stmt" count="0"/>
3571
  <line num="2864" type="stmt" count="0"/>
3572
- <line num="2880" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
3573
- <line num="2882" type="stmt" count="0"/>
3574
- <line num="2885" type="stmt" count="0"/>
3575
- <line num="2886" type="stmt" count="0"/>
 
3576
  <line num="2890" type="stmt" count="0"/>
3577
- <line num="2893" type="stmt" count="0"/>
3578
- <line num="2894" type="stmt" count="0"/>
3579
  <line num="2898" type="stmt" count="0"/>
3580
  <line num="2899" type="stmt" count="0"/>
3581
- <line num="2910" type="method" name="enforce_retention" visibility="public" complexity="8" crap="8.10" count="4"/>
3582
- <line num="2912" type="stmt" count="4"/>
3583
- <line num="2914" type="stmt" count="4"/>
3584
  <line num="2917" type="stmt" count="4"/>
3585
- <line num="2918" type="stmt" count="4"/>
3586
  <line num="2919" type="stmt" count="4"/>
3587
- <line num="2920" type="stmt" count="0"/>
3588
- <line num="2921" type="stmt" count="0"/>
3589
  <line num="2922" type="stmt" count="4"/>
3590
  <line num="2923" type="stmt" count="4"/>
3591
- <line num="2926" type="stmt" count="4"/>
3592
- <line num="2929" type="stmt" count="4"/>
3593
- <line num="2930" type="stmt" count="4"/>
3594
- <line num="2934" type="stmt" count="1"/>
3595
- <line num="2937" type="stmt" count="1"/>
3596
- <line num="2940" type="stmt" count="1"/>
3597
- <line num="2943" type="stmt" count="1"/>
3598
- <line num="2944" type="stmt" count="1"/>
 
 
3599
  <line num="2945" type="stmt" count="1"/>
3600
  <line num="2948" type="stmt" count="1"/>
3601
  <line num="2949" type="stmt" count="1"/>
3602
- <line num="2951" type="stmt" count="0"/>
3603
- <line num="2961" type="stmt" count="1"/>
3604
- <line num="2964" type="stmt" count="1"/>
3605
- <line num="2967" type="stmt" count="1"/>
3606
- <line num="2968" type="stmt" count="1"/>
3607
  <line num="2969" type="stmt" count="1"/>
3608
- <metrics loc="2970" ncloc="1513" classes="1" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1064" coveredstatements="513" elements="1092" coveredelements="517"/>
 
 
 
3609
  </file>
3610
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
3611
  <class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
@@ -7124,7 +7128,7 @@
7124
  </file>
7125
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-utility.php">
7126
  <class name="Boldgrid_Backup_Admin_Utility" namespace="global" fullPackage="Boldgrid.Backup.Admin">
7127
- <metrics complexity="84" methods="20" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="297" coveredstatements="33" elements="317" coveredelements="34"/>
7128
  </class>
7129
  <line num="34" type="method" name="bytes_to_human" visibility="public" complexity="3" crap="3" count="4"/>
7130
  <line num="36" type="stmt" count="4"/>
@@ -7281,17 +7285,17 @@
7281
  <line num="403" type="stmt" count="0"/>
7282
  <line num="406" type="stmt" count="0"/>
7283
  <line num="409" type="stmt" count="0"/>
7284
- <line num="426" type="method" name="bump_memory_limit" visibility="public" complexity="5" crap="30" count="0"/>
7285
- <line num="428" type="stmt" count="0"/>
7286
  <line num="429" type="stmt" count="0"/>
7287
- <line num="433" type="stmt" count="0"/>
7288
- <line num="436" type="stmt" count="0"/>
7289
- <line num="439" type="stmt" count="0"/>
7290
- <line num="443" type="stmt" count="0"/>
7291
- <line num="444" type="stmt" count="0"/>
7292
  <line num="445" type="stmt" count="0"/>
7293
- <line num="447" type="stmt" count="0"/>
7294
- <line num="449" type="stmt" count="0"/>
7295
  <line num="472" type="method" name="bump_upload_limit" visibility="public" complexity="4" crap="20" count="0"/>
7296
  <line num="474" type="stmt" count="0"/>
7297
  <line num="475" type="stmt" count="0"/>
@@ -7443,7 +7447,7 @@
7443
  <line num="882" type="stmt" count="0"/>
7444
  <line num="883" type="stmt" count="0"/>
7445
  <line num="886" type="stmt" count="6"/>
7446
- <metrics loc="888" ncloc="412" classes="1" methods="20" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="297" coveredstatements="33" elements="317" coveredelements="34"/>
7447
  </file>
7448
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-wp-cron.php">
7449
  <class name="Boldgrid_Backup_Admin_WP_Cron" namespace="global" fullPackage="Boldgrid.Backup.Admin.WP">
@@ -74959,7 +74963,7 @@
74959
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
74960
  </file>
74961
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
74962
- <class name="ComposerStaticInit892c212f710503c42fbce4c5df4c9212" namespace="Composer\Autoload">
74963
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
74964
  </class>
74965
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
@@ -75051,7 +75055,7 @@
75051
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
75052
  </file>
75053
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
75054
- <class name="ComposerAutoloaderInit892c212f710503c42fbce4c5df4c9212" namespace="global">
75055
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
75056
  </class>
75057
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
@@ -94194,6 +94198,6 @@
94194
  <line num="16" type="stmt" count="0"/>
94195
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
94196
  </file>
94197
- <metrics files="942" loc="188716" ncloc="115113" classes="852" methods="3498" coveredmethods="267" conditionals="0" coveredconditionals="0" statements="84903" coveredstatements="3904" elements="88401" coveredelements="4171"/>
94198
  </project>
94199
  </coverage>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1590177287">
3
+ <project timestamp="1590177287">
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">
2511
  </file>
2512
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
2513
  <class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
2514
+ <metrics complexity="231" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1061" coveredstatements="517" elements="1089" coveredelements="521"/>
2515
  </class>
2516
  <line num="574" type="method" name="__construct" visibility="public" complexity="7" crap="7.03" count="20"/>
2517
  <line num="575" type="stmt" count="20"/>
3267
  <line num="2208" type="stmt" count="0"/>
3268
  <line num="2210" type="stmt" count="0"/>
3269
  <line num="2213" type="stmt" count="0"/>
3270
+ <line num="2226" type="method" name="restore_archive_file" visibility="public" complexity="26" crap="51.77" count="1"/>
3271
  <line num="2227" type="stmt" count="1"/>
3272
  <line num="2228" type="stmt" count="1"/>
3273
+ <line num="2229" type="stmt" count="1"/>
3274
  <line num="2231" type="stmt" count="1"/>
3275
+ <line num="2234" type="stmt" count="1"/>
3276
  <line num="2236" type="stmt" count="1"/>
3277
+ <line num="2239" type="stmt" count="1"/>
3278
+ <line num="2240" type="stmt" count="0"/>
3279
+ <line num="2241" type="stmt" count="0"/>
3280
+ <line num="2245" type="stmt" count="1"/>
3281
+ <line num="2246" type="stmt" count="0"/>
3282
+ <line num="2247" type="stmt" count="0"/>
3283
+ <line num="2251" type="stmt" count="1"/>
3284
  <line num="2252" type="stmt" count="1"/>
3285
+ <line num="2255" type="stmt" count="1"/>
3286
+ <line num="2256" type="stmt" count="1"/>
3287
+ <line num="2257" type="stmt" count="1"/>
3288
+ <line num="2258" type="stmt" count="0"/>
3289
+ <line num="2259" type="stmt" count="0"/>
3290
+ <line num="2263" type="stmt" count="1"/>
3291
+ <line num="2264" type="stmt" count="1"/>
3292
+ <line num="2265" type="stmt" count="1"/>
3293
+ <line num="2266" type="stmt" count="0"/>
3294
+ <line num="2267" type="stmt" count="0"/>
 
3295
  <line num="2271" type="stmt" count="1"/>
3296
+ <line num="2273" type="stmt" count="1"/>
3297
+ <line num="2274" type="stmt" count="1"/>
3298
+ <line num="2275" type="stmt" count="0"/>
3299
+ <line num="2276" type="stmt" count="0"/>
3300
+ <line num="2279" type="stmt" count="1"/>
3301
+ <line num="2281" type="stmt" count="1"/>
3302
+ <line num="2282" type="stmt" count="0"/>
3303
+ <line num="2283" type="stmt" count="0"/>
3304
  <line num="2286" type="stmt" count="1"/>
3305
+ <line num="2288" type="stmt" count="1"/>
3306
+ <line num="2289" type="stmt" count="1"/>
3307
+ <line num="2290" type="stmt" count="1"/>
3308
+ <line num="2291" type="stmt" count="0"/>
3309
+ <line num="2292" type="stmt" count="0"/>
 
3310
  <line num="2297" type="stmt" count="1"/>
3311
  <line num="2298" type="stmt" count="1"/>
3312
  <line num="2299" type="stmt" count="1"/>
3313
  <line num="2300" type="stmt" count="1"/>
3314
  <line num="2301" type="stmt" count="1"/>
3315
  <line num="2302" type="stmt" count="1"/>
3316
+ <line num="2303" type="stmt" count="1"/>
3317
+ <line num="2304" type="stmt" count="1"/>
3318
  <line num="2305" type="stmt" count="1"/>
3319
+ <line num="2308" type="stmt" count="1"/>
3320
+ <line num="2310" type="stmt" count="1"/>
3321
+ <line num="2319" type="stmt" count="1"/>
3322
+ <line num="2325" type="stmt" count="1"/>
3323
+ <line num="2326" type="stmt" count="1"/>
3324
+ <line num="2327" type="stmt" count="0"/>
 
3325
  <line num="2328" type="stmt" count="0"/>
3326
+ <line num="2330" type="stmt" count="1"/>
3327
+ <line num="2331" type="stmt" count="0"/>
3328
+ <line num="2334" type="stmt" count="1"/>
3329
  <line num="2335" type="stmt" count="1"/>
3330
+ <line num="2336" type="stmt" count="1"/>
3331
+ <line num="2337" type="stmt" count="1"/>
3332
+ <line num="2338" type="stmt" count="1"/>
3333
+ <line num="2340" type="stmt" count="1"/>
3334
+ <line num="2341" type="stmt" count="0"/>
3335
  <line num="2351" type="stmt" count="0"/>
3336
+ <line num="2353" type="stmt" count="0"/>
3337
  <line num="2354" type="stmt" count="0"/>
3338
+ <line num="2355" type="stmt" count="0"/>
3339
+ <line num="2356" type="stmt" count="0"/>
3340
+ <line num="2357" type="stmt" count="0"/>
3341
+ <line num="2359" type="stmt" count="0"/>
3342
+ <line num="2369" type="stmt" count="1"/>
3343
+ <line num="2378" type="stmt" count="1"/>
3344
  <line num="2379" type="stmt" count="1"/>
3345
+ <line num="2380" type="stmt" count="1"/>
3346
+ <line num="2381" type="stmt" count="1"/>
3347
+ <line num="2384" type="stmt" count="1"/>
3348
+ <line num="2385" type="stmt" count="0"/>
3349
  <line num="2386" type="stmt" count="0"/>
3350
+ <line num="2388" type="stmt" count="1"/>
 
3351
  <line num="2389" type="stmt" count="0"/>
3352
+ <line num="2391" type="stmt" count="0"/>
3353
+ <line num="2392" type="stmt" count="0"/>
3354
+ <line num="2393" type="stmt" count="0"/>
3355
+ <line num="2394" type="stmt" count="0"/>
3356
  <line num="2397" type="stmt" count="1"/>
3357
+ <line num="2398" type="stmt" count="1"/>
3358
+ <line num="2401" type="stmt" count="1"/>
3359
+ <line num="2402" type="stmt" count="1"/>
3360
+ <line num="2405" type="stmt" count="1"/>
3361
+ <line num="2406" type="stmt" count="0"/>
3362
+ <line num="2408" type="stmt" count="0"/>
3363
+ <line num="2409" type="stmt" count="0"/>
3364
+ <line num="2411" type="stmt" count="1"/>
3365
+ <line num="2412" type="stmt" count="1"/>
3366
+ <line num="2415" type="stmt" count="1"/>
3367
  <line num="2418" type="stmt" count="1"/>
3368
+ <line num="2421" type="stmt" count="1"/>
3369
  <line num="2423" type="stmt" count="1"/>
3370
+ <line num="2427" type="stmt" count="1"/>
3371
+ <line num="2428" type="stmt" count="1"/>
3372
+ <line num="2431" type="stmt" count="1"/>
3373
+ <line num="2434" type="stmt" count="1"/>
3374
+ <line num="2437" type="stmt" count="1"/>
3375
+ <line num="2450" type="method" name="page_archives" visibility="public" complexity="5" crap="30" count="0"/>
3376
+ <line num="2451" type="stmt" count="0"/>
3377
+ <line num="2454" type="stmt" count="0"/>
3378
  <line num="2455" type="stmt" count="0"/>
3379
+ <line num="2457" type="stmt" count="0"/>
3380
+ <line num="2460" type="stmt" count="0"/>
3381
+ <line num="2463" type="stmt" count="0"/>
3382
  <line num="2464" type="stmt" count="0"/>
 
3383
  <line num="2466" type="stmt" count="0"/>
 
3384
  <line num="2469" type="stmt" count="0"/>
3385
+ <line num="2470" type="stmt" count="0"/>
3386
+ <line num="2471" type="stmt" count="0"/>
3387
  <line num="2473" type="stmt" count="0"/>
3388
  <line num="2474" type="stmt" count="0"/>
3389
  <line num="2477" type="stmt" count="0"/>
3390
+ <line num="2478" type="stmt" count="0"/>
3391
+ <line num="2479" type="stmt" count="0"/>
3392
+ <line num="2482" type="stmt" count="0"/>
3393
  <line num="2485" type="stmt" count="0"/>
3394
+ <line num="2488" type="stmt" count="0"/>
 
3395
  <line num="2490" type="stmt" count="0"/>
3396
+ <line num="2491" type="stmt" count="0"/>
3397
  <line num="2492" type="stmt" count="0"/>
3398
  <line num="2495" type="stmt" count="0"/>
 
3399
  <line num="2497" type="stmt" count="0"/>
3400
+ <line num="2500" type="stmt" count="0"/>
3401
+ <line num="2501" type="stmt" count="0"/>
3402
  <line num="2502" type="stmt" count="0"/>
3403
+ <line num="2504" type="stmt" count="0"/>
3404
+ <line num="2507" type="stmt" count="0"/>
3405
+ <line num="2508" type="stmt" count="0"/>
3406
+ <line num="2517" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="10" crap="110" count="0"/>
 
 
3407
  <line num="2520" type="stmt" count="0"/>
3408
  <line num="2521" type="stmt" count="0"/>
3409
+ <line num="2522" type="stmt" count="0"/>
3410
  <line num="2524" type="stmt" count="0"/>
3411
  <line num="2525" type="stmt" count="0"/>
3412
  <line num="2526" type="stmt" count="0"/>
 
3413
  <line num="2529" type="stmt" count="0"/>
3414
  <line num="2530" type="stmt" count="0"/>
3415
+ <line num="2531" type="stmt" count="0"/>
3416
+ <line num="2533" type="stmt" count="0"/>
3417
  <line num="2534" type="stmt" count="0"/>
3418
  <line num="2535" type="stmt" count="0"/>
3419
+ <line num="2537" type="stmt" count="0"/>
 
3420
  <line num="2539" type="stmt" count="0"/>
3421
+ <line num="2540" type="stmt" count="0"/>
3422
  <line num="2541" type="stmt" count="0"/>
3423
+ <line num="2543" type="stmt" count="0"/>
3424
  <line num="2544" type="stmt" count="0"/>
 
3425
  <line num="2546" type="stmt" count="0"/>
 
3426
  <line num="2549" type="stmt" count="0"/>
3427
  <line num="2550" type="stmt" count="0"/>
3428
+ <line num="2551" type="stmt" count="0"/>
3429
+ <line num="2553" type="stmt" count="0"/>
3430
+ <line num="2554" type="stmt" count="0"/>
3431
+ <line num="2555" type="stmt" count="0"/>
3432
+ <line num="2564" type="stmt" count="0"/>
3433
+ <line num="2565" type="stmt" count="0"/>
3434
+ <line num="2577" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
3435
  <line num="2579" type="stmt" count="0"/>
3436
+ <line num="2582" type="stmt" count="0"/>
3437
  <line num="2583" type="stmt" count="0"/>
3438
  <line num="2584" type="stmt" count="0"/>
3439
  <line num="2585" type="stmt" count="0"/>
3440
+ <line num="2588" type="stmt" count="0"/>
3441
+ <line num="2589" type="stmt" count="0"/>
3442
+ <line num="2590" type="stmt" count="0"/>
3443
  <line num="2591" type="stmt" count="0"/>
3444
  <line num="2592" type="stmt" count="0"/>
3445
+ <line num="2596" type="stmt" count="0"/>
3446
+ <line num="2597" type="stmt" count="0"/>
3447
+ <line num="2598" type="stmt" count="0"/>
3448
  <line num="2599" type="stmt" count="0"/>
3449
+ <line num="2600" type="stmt" count="0"/>
 
3450
  <line num="2604" type="stmt" count="0"/>
3451
+ <line num="2607" type="stmt" count="0"/>
3452
  <line num="2608" type="stmt" count="0"/>
3453
+ <line num="2609" type="stmt" count="0"/>
3454
+ <line num="2610" type="stmt" count="0"/>
3455
  <line num="2613" type="stmt" count="0"/>
3456
+ <line num="2616" type="stmt" count="0"/>
3457
+ <line num="2617" type="stmt" count="0"/>
3458
  <line num="2618" type="stmt" count="0"/>
3459
  <line num="2619" type="stmt" count="0"/>
 
3460
  <line num="2623" type="stmt" count="0"/>
3461
  <line num="2624" type="stmt" count="0"/>
3462
  <line num="2625" type="stmt" count="0"/>
 
3463
  <line num="2628" type="stmt" count="0"/>
3464
+ <line num="2629" type="stmt" count="0"/>
3465
  <line num="2630" type="stmt" count="0"/>
3466
+ <line num="2631" type="stmt" count="0"/>
3467
  <line num="2633" type="stmt" count="0"/>
3468
+ <line num="2635" type="stmt" count="0"/>
3469
  <line num="2637" type="stmt" count="0"/>
3470
  <line num="2638" type="stmt" count="0"/>
3471
+ <line num="2639" type="stmt" count="0"/>
3472
+ <line num="2642" type="stmt" count="0"/>
3473
+ <line num="2643" type="stmt" count="0"/>
3474
+ <line num="2653" type="method" name="page_backup_test" visibility="public" complexity="6" crap="42" count="0"/>
3475
+ <line num="2655" type="stmt" count="0"/>
3476
+ <line num="2658" type="stmt" count="0"/>
3477
+ <line num="2661" type="stmt" count="0"/>
3478
  <line num="2664" type="stmt" count="0"/>
3479
  <line num="2667" type="stmt" count="0"/>
3480
+ <line num="2669" type="stmt" count="0"/>
3481
+ <line num="2672" type="stmt" count="0"/>
3482
+ <line num="2675" type="stmt" count="0"/>
3483
+ <line num="2678" type="stmt" count="0"/>
3484
  <line num="2681" type="stmt" count="0"/>
3485
+ <line num="2684" type="stmt" count="0"/>
3486
+ <line num="2686" type="stmt" count="0"/>
3487
+ <line num="2694" type="stmt" count="0"/>
3488
+ <line num="2695" type="stmt" count="0"/>
 
3489
  <line num="2696" type="stmt" count="0"/>
3490
  <line num="2697" type="stmt" count="0"/>
3491
  <line num="2698" type="stmt" count="0"/>
 
 
3492
  <line num="2701" type="stmt" count="0"/>
3493
  <line num="2702" type="stmt" count="0"/>
3494
  <line num="2703" type="stmt" count="0"/>
3495
+ <line num="2704" type="stmt" count="0"/>
3496
  <line num="2705" type="stmt" count="0"/>
3497
+ <line num="2706" type="stmt" count="0"/>
3498
+ <line num="2707" type="stmt" count="0"/>
3499
  <line num="2708" type="stmt" count="0"/>
 
3500
  <line num="2710" type="stmt" count="0"/>
 
 
3501
  <line num="2713" type="stmt" count="0"/>
3502
+ <line num="2714" type="stmt" count="0"/>
3503
+ <line num="2715" type="stmt" count="0"/>
3504
  <line num="2716" type="stmt" count="0"/>
3505
  <line num="2717" type="stmt" count="0"/>
3506
+ <line num="2718" type="stmt" count="0"/>
3507
+ <line num="2721" type="stmt" count="0"/>
3508
+ <line num="2722" type="stmt" count="0"/>
3509
+ <line num="2737" type="method" name="set_doing_cron" visibility="public" complexity="3" crap="3" count="20"/>
3510
+ <line num="2738" type="stmt" count="20"/>
3511
+ <line num="2739" type="stmt" count="20"/>
3512
+ <line num="2746" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="20"/>
 
3513
  <line num="2751" type="stmt" count="20"/>
 
3514
  <line num="2753" type="stmt" count="20"/>
3515
+ <line num="2754" type="stmt" count="20"/>
3516
  <line num="2755" type="stmt" count="20"/>
3517
  <line num="2756" type="stmt" count="20"/>
3518
+ <line num="2757" type="stmt" count="20"/>
3519
  <line num="2758" type="stmt" count="20"/>
 
3520
  <line num="2760" type="stmt" count="20"/>
3521
  <line num="2761" type="stmt" count="20"/>
 
3522
  <line num="2763" type="stmt" count="20"/>
3523
+ <line num="2764" type="stmt" count="20"/>
3524
  <line num="2765" type="stmt" count="20"/>
3525
  <line num="2766" type="stmt" count="20"/>
3526
  <line num="2767" type="stmt" count="20"/>
3527
+ <line num="2768" type="stmt" count="20"/>
3528
+ <line num="2770" type="stmt" count="20"/>
3529
+ <line num="2771" type="stmt" count="20"/>
3530
+ <line num="2772" type="stmt" count="20"/>
3531
  <line num="2778" type="stmt" count="20"/>
3532
+ <line num="2780" type="stmt" count="20"/>
3533
  <line num="2781" type="stmt" count="20"/>
3534
+ <line num="2782" type="stmt" count="20"/>
3535
+ <line num="2783" type="stmt" count="20"/>
3536
  <line num="2784" type="stmt" count="20"/>
3537
+ <line num="2786" type="stmt" count="20"/>
 
3538
  <line num="2789" type="stmt" count="20"/>
3539
+ <line num="2790" type="stmt" count="20"/>
3540
+ <line num="2792" type="stmt" count="20"/>
3541
+ <line num="2794" type="stmt" count="20"/>
3542
+ <line num="2806" type="method" name="set_time_limit" visibility="public" complexity="2" crap="2" count="4"/>
3543
+ <line num="2807" type="stmt" count="4"/>
3544
+ <line num="2809" type="stmt" count="4"/>
3545
+ <line num="2810" type="stmt" count="4"/>
3546
+ <line num="2817" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
3547
  <line num="2818" type="stmt" count="0"/>
3548
  <line num="2819" type="stmt" count="0"/>
 
3549
  <line num="2822" type="stmt" count="0"/>
3550
  <line num="2823" type="stmt" count="0"/>
3551
+ <line num="2824" type="stmt" count="0"/>
3552
  <line num="2826" type="stmt" count="0"/>
3553
  <line num="2827" type="stmt" count="0"/>
3554
  <line num="2828" type="stmt" count="0"/>
 
3555
  <line num="2831" type="stmt" count="0"/>
3556
  <line num="2832" type="stmt" count="0"/>
3557
+ <line num="2833" type="stmt" count="0"/>
3558
+ <line num="2835" type="stmt" count="0"/>
3559
+ <line num="2836" type="stmt" count="0"/>
3560
+ <line num="2837" type="stmt" count="0"/>
3561
+ <line num="2839" type="stmt" count="0"/>
3562
  <line num="2852" type="stmt" count="0"/>
3563
  <line num="2853" type="stmt" count="0"/>
3564
+ <line num="2855" type="stmt" count="0"/>
3565
  <line num="2856" type="stmt" count="0"/>
3566
  <line num="2857" type="stmt" count="0"/>
3567
  <line num="2858" type="stmt" count="0"/>
3568
  <line num="2859" type="stmt" count="0"/>
3569
  <line num="2861" type="stmt" count="0"/>
3570
+ <line num="2862" type="stmt" count="0"/>
3571
  <line num="2863" type="stmt" count="0"/>
3572
  <line num="2864" type="stmt" count="0"/>
3573
+ <line num="2866" type="stmt" count="0"/>
3574
+ <line num="2868" type="stmt" count="0"/>
3575
+ <line num="2869" type="stmt" count="0"/>
3576
+ <line num="2885" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
3577
+ <line num="2887" type="stmt" count="0"/>
3578
  <line num="2890" type="stmt" count="0"/>
3579
+ <line num="2891" type="stmt" count="0"/>
3580
+ <line num="2895" type="stmt" count="0"/>
3581
  <line num="2898" type="stmt" count="0"/>
3582
  <line num="2899" type="stmt" count="0"/>
3583
+ <line num="2903" type="stmt" count="0"/>
3584
+ <line num="2904" type="stmt" count="0"/>
3585
+ <line num="2915" type="method" name="enforce_retention" visibility="public" complexity="8" crap="8.10" count="4"/>
3586
  <line num="2917" type="stmt" count="4"/>
 
3587
  <line num="2919" type="stmt" count="4"/>
 
 
3588
  <line num="2922" type="stmt" count="4"/>
3589
  <line num="2923" type="stmt" count="4"/>
3590
+ <line num="2924" type="stmt" count="4"/>
3591
+ <line num="2925" type="stmt" count="0"/>
3592
+ <line num="2926" type="stmt" count="0"/>
3593
+ <line num="2927" type="stmt" count="4"/>
3594
+ <line num="2928" type="stmt" count="4"/>
3595
+ <line num="2931" type="stmt" count="4"/>
3596
+ <line num="2934" type="stmt" count="4"/>
3597
+ <line num="2935" type="stmt" count="4"/>
3598
+ <line num="2939" type="stmt" count="1"/>
3599
+ <line num="2942" type="stmt" count="1"/>
3600
  <line num="2945" type="stmt" count="1"/>
3601
  <line num="2948" type="stmt" count="1"/>
3602
  <line num="2949" type="stmt" count="1"/>
3603
+ <line num="2950" type="stmt" count="1"/>
3604
+ <line num="2953" type="stmt" count="1"/>
3605
+ <line num="2954" type="stmt" count="1"/>
3606
+ <line num="2956" type="stmt" count="0"/>
3607
+ <line num="2966" type="stmt" count="1"/>
3608
  <line num="2969" type="stmt" count="1"/>
3609
+ <line num="2972" type="stmt" count="1"/>
3610
+ <line num="2973" type="stmt" count="1"/>
3611
+ <line num="2974" type="stmt" count="1"/>
3612
+ <metrics loc="2975" ncloc="1518" classes="1" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1068" coveredstatements="517" elements="1096" coveredelements="521"/>
3613
  </file>
3614
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
3615
  <class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
7128
  </file>
7129
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-utility.php">
7130
  <class name="Boldgrid_Backup_Admin_Utility" namespace="global" fullPackage="Boldgrid.Backup.Admin">
7131
+ <metrics complexity="84" methods="20" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="297" coveredstatements="41" elements="317" coveredelements="42"/>
7132
  </class>
7133
  <line num="34" type="method" name="bytes_to_human" visibility="public" complexity="3" crap="3" count="4"/>
7134
  <line num="36" type="stmt" count="4"/>
7285
  <line num="403" type="stmt" count="0"/>
7286
  <line num="406" type="stmt" count="0"/>
7287
  <line num="409" type="stmt" count="0"/>
7288
+ <line num="426" type="method" name="bump_memory_limit" visibility="public" complexity="5" crap="5.20" count="1"/>
7289
+ <line num="428" type="stmt" count="1"/>
7290
  <line num="429" type="stmt" count="0"/>
7291
+ <line num="433" type="stmt" count="1"/>
7292
+ <line num="436" type="stmt" count="1"/>
7293
+ <line num="439" type="stmt" count="1"/>
7294
+ <line num="443" type="stmt" count="1"/>
7295
+ <line num="444" type="stmt" count="1"/>
7296
  <line num="445" type="stmt" count="0"/>
7297
+ <line num="447" type="stmt" count="1"/>
7298
+ <line num="449" type="stmt" count="1"/>
7299
  <line num="472" type="method" name="bump_upload_limit" visibility="public" complexity="4" crap="20" count="0"/>
7300
  <line num="474" type="stmt" count="0"/>
7301
  <line num="475" type="stmt" count="0"/>
7447
  <line num="882" type="stmt" count="0"/>
7448
  <line num="883" type="stmt" count="0"/>
7449
  <line num="886" type="stmt" count="6"/>
7450
+ <metrics loc="888" ncloc="412" classes="1" methods="20" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="297" coveredstatements="41" elements="317" coveredelements="42"/>
7451
  </file>
7452
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-wp-cron.php">
7453
  <class name="Boldgrid_Backup_Admin_WP_Cron" namespace="global" fullPackage="Boldgrid.Backup.Admin.WP">
74963
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
74964
  </file>
74965
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
74966
+ <class name="ComposerStaticInitae24a8adb5144ba4de75bbf137bb8b66" namespace="Composer\Autoload">
74967
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
74968
  </class>
74969
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
75055
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
75056
  </file>
75057
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
75058
+ <class name="ComposerAutoloaderInitae24a8adb5144ba4de75bbf137bb8b66" namespace="global">
75059
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
75060
  </class>
75061
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
94198
  <line num="16" type="stmt" count="0"/>
94199
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
94200
  </file>
94201
+ <metrics files="942" loc="188721" ncloc="115118" classes="852" methods="3498" coveredmethods="267" conditionals="0" coveredconditionals="0" statements="84907" coveredstatements="3916" elements="88405" coveredelements="4183"/>
94202
  </project>
94203
  </coverage>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit892c212f710503c42fbce4c5df4c9212::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitae24a8adb5144ba4de75bbf137bb8b66::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit892c212f710503c42fbce4c5df4c9212
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit892c212f710503c42fbce4c5df4c9212
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit892c212f710503c42fbce4c5df4c9212', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit892c212f710503c42fbce4c5df4c9212', '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\ComposerStaticInit892c212f710503c42fbce4c5df4c9212::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit892c212f710503c42fbce4c5df4c9212
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInit892c212f710503c42fbce4c5df4c9212::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequire892c212f710503c42fbce4c5df4c9212($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequire892c212f710503c42fbce4c5df4c9212($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 ComposerAutoloaderInitae24a8adb5144ba4de75bbf137bb8b66
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInitae24a8adb5144ba4de75bbf137bb8b66', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInitae24a8adb5144ba4de75bbf137bb8b66', '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\ComposerStaticInitae24a8adb5144ba4de75bbf137bb8b66::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\ComposerStaticInitae24a8adb5144ba4de75bbf137bb8b66::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequireae24a8adb5144ba4de75bbf137bb8b66($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequireae24a8adb5144ba4de75bbf137bb8b66($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 ComposerStaticInit892c212f710503c42fbce4c5df4c9212
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
@@ -91,9 +91,9 @@ class ComposerStaticInit892c212f710503c42fbce4c5df4c9212
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
- $loader->prefixLengthsPsr4 = ComposerStaticInit892c212f710503c42fbce4c5df4c9212::$prefixLengthsPsr4;
95
- $loader->prefixDirsPsr4 = ComposerStaticInit892c212f710503c42fbce4c5df4c9212::$prefixDirsPsr4;
96
- $loader->classMap = ComposerStaticInit892c212f710503c42fbce4c5df4c9212::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitae24a8adb5144ba4de75bbf137bb8b66
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 = ComposerStaticInitae24a8adb5144ba4de75bbf137bb8b66::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInitae24a8adb5144ba4de75bbf137bb8b66::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInitae24a8adb5144ba4de75bbf137bb8b66::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }