Version Description
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | 1.13.5-alpha.2 |
Comparing to | |
See all releases |
Code changes from version 1.13.5-alpha.1 to 1.13.5-alpha.2
- admin/class-boldgrid-backup-admin-core.php +4 -0
- admin/class-boldgrid-backup-admin-log.php +12 -0
- coverage.xml +252 -246
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
admin/class-boldgrid-backup-admin-core.php
CHANGED
@@ -2227,6 +2227,9 @@ class Boldgrid_Backup_Admin_Core {
|
|
2227 |
$this->logger->init( 'restore-' . time() . '.log' );
|
2228 |
$this->logger->add( 'Restoration process initialized.' );
|
2229 |
|
|
|
|
|
|
|
2230 |
$restore_ok = true;
|
2231 |
|
2232 |
// If a restoration was not requested, then abort.
|
@@ -2321,6 +2324,7 @@ class Boldgrid_Backup_Admin_Core {
|
|
2321 |
return [ 'error' => $this->restore_helper->get_last_error() ];
|
2322 |
}
|
2323 |
|
|
|
2324 |
$unzip_status = ! $dryrun ? unzip_file( $info['filepath'], ABSPATH ) : null;
|
2325 |
$this->logger->add( 'Unzip status: ' . print_r( $unzip_status, 1 ) ); // phpcs:ignore
|
2326 |
|
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' ) );
|
2232 |
+
|
2233 |
$restore_ok = true;
|
2234 |
|
2235 |
// If a restoration was not requested, then abort.
|
2324 |
return [ 'error' => $this->restore_helper->get_last_error() ];
|
2325 |
}
|
2326 |
|
2327 |
+
$this->logger->add( 'Unzipping archive... filepath / ABSPATH: ' . $info['filepath'] . ' / ' . ABSPATH );
|
2328 |
$unzip_status = ! $dryrun ? unzip_file( $info['filepath'], ABSPATH ) : null;
|
2329 |
$this->logger->add( 'Unzip status: ' . print_r( $unzip_status, 1 ) ); // phpcs:ignore
|
2330 |
|
admin/class-boldgrid-backup-admin-log.php
CHANGED
@@ -91,6 +91,18 @@ class Boldgrid_Backup_Admin_Log {
|
|
91 |
$this->add( 'Total Upkeep version: ' . BOLDGRID_BACKUP_VERSION );
|
92 |
}
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
/**
|
95 |
* Add info to the log about memory usage.
|
96 |
*
|
91 |
$this->add( 'Total Upkeep version: ' . BOLDGRID_BACKUP_VERSION );
|
92 |
}
|
93 |
|
94 |
+
/**
|
95 |
+
* Add the last error to the log.
|
96 |
+
*
|
97 |
+
* @since SINCEVERSION
|
98 |
+
*/
|
99 |
+
public function add_last_error() {
|
100 |
+
$last_error = error_get_last();
|
101 |
+
|
102 |
+
$this->add( 'Last error: ' . print_r( $last_error, 1 ) ); // phpcs:ignore
|
103 |
+
}
|
104 |
+
|
105 |
+
|
106 |
/**
|
107 |
* Add info to the log about memory usage.
|
108 |
*
|
coverage.xml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<coverage generated="
|
3 |
-
<project timestamp="
|
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="230" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="
|
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,340 +3267,342 @@
|
|
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="25" crap="
|
3271 |
<line num="2227" type="stmt" count="1"/>
|
3272 |
<line num="2228" type="stmt" count="1"/>
|
3273 |
-
<line num="
|
3274 |
<line num="2233" type="stmt" count="1"/>
|
3275 |
-
<line num="
|
3276 |
-
<line num="
|
3277 |
-
<line num="
|
3278 |
-
<line num="
|
3279 |
-
<line num="
|
3280 |
-
<line num="
|
3281 |
-
<line num="
|
3282 |
<line num="2249" type="stmt" count="1"/>
|
3283 |
-
<line num="
|
3284 |
-
<line num="
|
3285 |
-
<line num="
|
3286 |
-
<line num="
|
3287 |
-
<line num="
|
3288 |
-
<line num="
|
3289 |
-
<line num="
|
3290 |
-
<line num="
|
3291 |
-
<line num="
|
3292 |
-
<line num="
|
3293 |
-
<line num="2267" type="stmt" count="1"/>
|
3294 |
<line num="2268" type="stmt" count="1"/>
|
3295 |
-
<line num="
|
3296 |
-
<line num="
|
3297 |
-
<line num="
|
3298 |
-
<line num="
|
3299 |
-
<line num="2276" type="stmt" count="
|
3300 |
-
<line num="
|
3301 |
-
<line num="
|
3302 |
-
<line num="
|
3303 |
<line num="2283" type="stmt" count="1"/>
|
3304 |
-
<line num="
|
3305 |
-
<line num="
|
3306 |
-
<line num="
|
3307 |
-
<line num="
|
3308 |
-
<line num="
|
3309 |
-
<line num="2293" type="stmt" count="1"/>
|
3310 |
<line num="2294" type="stmt" count="1"/>
|
3311 |
<line num="2295" type="stmt" count="1"/>
|
3312 |
<line num="2296" type="stmt" count="1"/>
|
3313 |
<line num="2297" type="stmt" count="1"/>
|
3314 |
<line num="2298" type="stmt" count="1"/>
|
3315 |
<line num="2299" type="stmt" count="1"/>
|
|
|
|
|
3316 |
<line num="2302" type="stmt" count="1"/>
|
3317 |
-
<line num="
|
3318 |
-
<line num="
|
3319 |
-
<line num="
|
3320 |
-
<line num="
|
3321 |
-
<line num="
|
3322 |
-
<line num="2324" type="stmt" count="
|
3323 |
-
<line num="2325" type="stmt" count="1"/>
|
3324 |
<line num="2327" type="stmt" count="1"/>
|
3325 |
-
<line num="2328" type="stmt" count="
|
3326 |
-
<line num="
|
3327 |
-
<line num="
|
3328 |
-
<line num="
|
3329 |
<line num="2342" type="stmt" count="0"/>
|
3330 |
-
<line num="2343" type="stmt" count="0"/>
|
3331 |
<line num="2344" type="stmt" count="0"/>
|
|
|
3332 |
<line num="2346" type="stmt" count="0"/>
|
3333 |
-
<line num="
|
3334 |
-
<line num="
|
3335 |
-
<line num="
|
3336 |
-
<line num="
|
3337 |
-
<line num="
|
|
|
3338 |
<line num="2371" type="stmt" count="1"/>
|
3339 |
-
<line num="2372" type="stmt" count="
|
3340 |
-
<line num="2373" type="stmt" count="0"/>
|
3341 |
<line num="2375" type="stmt" count="1"/>
|
3342 |
<line num="2376" type="stmt" count="0"/>
|
3343 |
-
<line num="
|
3344 |
-
<line num="2379" type="stmt" count="
|
3345 |
<line num="2380" type="stmt" count="0"/>
|
3346 |
-
<line num="
|
3347 |
-
<line num="
|
3348 |
-
<line num="
|
|
|
3349 |
<line num="2388" type="stmt" count="1"/>
|
3350 |
<line num="2389" type="stmt" count="1"/>
|
3351 |
<line num="2392" type="stmt" count="1"/>
|
3352 |
-
<line num="2393" type="stmt" count="
|
3353 |
-
<line num="
|
3354 |
-
<line num="
|
3355 |
-
<line num="
|
3356 |
-
<line num="
|
3357 |
<line num="2402" type="stmt" count="1"/>
|
3358 |
-
<line num="
|
3359 |
-
<line num="
|
3360 |
-
<line num="
|
|
|
3361 |
<line num="2414" type="stmt" count="1"/>
|
3362 |
-
<line num="2415" type="stmt" count="1"/>
|
3363 |
<line num="2418" type="stmt" count="1"/>
|
3364 |
-
<line num="
|
3365 |
-
<line num="
|
3366 |
-
<line num="
|
3367 |
-
<line num="
|
3368 |
-
<line num="2441" type="
|
3369 |
<line num="2442" type="stmt" count="0"/>
|
3370 |
-
<line num="
|
3371 |
-
<line num="
|
3372 |
-
<line num="
|
3373 |
<line num="2451" type="stmt" count="0"/>
|
3374 |
-
<line num="
|
3375 |
-
<line num="
|
3376 |
<line num="2457" type="stmt" count="0"/>
|
3377 |
-
<line num="2458" type="stmt" count="0"/>
|
3378 |
<line num="2460" 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="
|
3383 |
<line num="2469" type="stmt" count="0"/>
|
3384 |
-
<line num="
|
3385 |
-
<line num="
|
3386 |
-
<line num="
|
3387 |
-
<line num="2478" type="stmt" count="0"/>
|
3388 |
<line num="2479" type="stmt" count="0"/>
|
|
|
3389 |
<line num="2482" type="stmt" count="0"/>
|
3390 |
-
<line num="
|
3391 |
-
<line num="
|
3392 |
<line num="2488" type="stmt" count="0"/>
|
3393 |
-
<line num="2489" type="stmt" count="0"/>
|
3394 |
<line num="2491" type="stmt" count="0"/>
|
3395 |
-
<line num="
|
|
|
3396 |
<line num="2495" type="stmt" count="0"/>
|
3397 |
-
<line num="
|
3398 |
-
<line num="
|
3399 |
-
<line num="2508" type="
|
3400 |
-
<line num="2509" type="stmt" count="0"/>
|
3401 |
<line num="2511" type="stmt" count="0"/>
|
3402 |
<line num="2512" type="stmt" count="0"/>
|
3403 |
<line num="2513" type="stmt" count="0"/>
|
|
|
3404 |
<line num="2516" type="stmt" count="0"/>
|
3405 |
<line num="2517" type="stmt" count="0"/>
|
3406 |
-
<line num="2518" type="stmt" 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="2526" type="stmt" count="0"/>
|
3412 |
-
<line num="2527" type="stmt" count="0"/>
|
3413 |
<line num="2528" type="stmt" count="0"/>
|
3414 |
<line num="2530" type="stmt" count="0"/>
|
3415 |
<line num="2531" type="stmt" count="0"/>
|
3416 |
-
<line num="
|
3417 |
-
<line num="
|
|
|
3418 |
<line num="2537" type="stmt" count="0"/>
|
3419 |
-
<line num="2538" type="stmt" count="0"/>
|
3420 |
<line num="2540" type="stmt" count="0"/>
|
3421 |
<line num="2541" type="stmt" count="0"/>
|
3422 |
<line num="2542" type="stmt" count="0"/>
|
3423 |
-
<line num="
|
3424 |
-
<line num="
|
3425 |
-
<line num="
|
3426 |
-
<line num="
|
3427 |
-
<line num="
|
|
|
3428 |
<line num="2570" type="stmt" count="0"/>
|
3429 |
-
<line num="
|
3430 |
-
<line num="
|
3431 |
<line num="2575" type="stmt" count="0"/>
|
3432 |
<line num="2576" type="stmt" count="0"/>
|
3433 |
-
<line num="2577" type="stmt" count="0"/>
|
3434 |
-
<line num="2578" type="stmt" count="0"/>
|
3435 |
<line num="2579" 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="2594" type="stmt" count="0"/>
|
3443 |
<line num="2595" type="stmt" count="0"/>
|
3444 |
-
<line num="
|
3445 |
-
<line num="
|
3446 |
<line num="2600" type="stmt" count="0"/>
|
3447 |
-
<line num="
|
3448 |
<line num="2604" type="stmt" count="0"/>
|
3449 |
-
<line num="
|
3450 |
-
<line num="
|
|
|
3451 |
<line num="2610" type="stmt" count="0"/>
|
3452 |
-
<line num="
|
3453 |
-
<line num="2612" type="stmt" count="0"/>
|
3454 |
<line num="2615" type="stmt" count="0"/>
|
3455 |
<line num="2616" type="stmt" count="0"/>
|
3456 |
-
<line num="
|
3457 |
-
<line num="2618" type="stmt" count="0"/>
|
3458 |
<line num="2620" type="stmt" count="0"/>
|
|
|
3459 |
<line num="2622" 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="2629" type="stmt" count="0"/>
|
3464 |
<line num="2630" type="stmt" count="0"/>
|
3465 |
-
<line num="
|
3466 |
-
<line num="
|
3467 |
-
<line num="
|
3468 |
-
<line num="
|
3469 |
-
<line num="
|
3470 |
-
<line num="
|
3471 |
-
<line num="
|
3472 |
-
<line num="
|
3473 |
-
<line num="
|
3474 |
-
<line num="
|
3475 |
-
<line num="
|
3476 |
-
<line num="
|
3477 |
-
<line num="
|
3478 |
-
<line num="
|
3479 |
-
<line num="
|
3480 |
-
<line num="2683" type="stmt" count="0"/>
|
3481 |
-
<line num="2684" type="stmt" count="0"/>
|
3482 |
<line num="2685" type="stmt" count="0"/>
|
|
|
|
|
3483 |
<line num="2688" type="stmt" count="0"/>
|
3484 |
<line num="2689" type="stmt" count="0"/>
|
3485 |
-
<line num="2690" type="stmt" count="0"/>
|
3486 |
-
<line num="2691" type="stmt" count="0"/>
|
3487 |
<line num="2692" type="stmt" count="0"/>
|
3488 |
<line num="2693" type="stmt" count="0"/>
|
3489 |
<line num="2694" type="stmt" count="0"/>
|
3490 |
<line num="2695" type="stmt" count="0"/>
|
|
|
3491 |
<line num="2697" type="stmt" count="0"/>
|
3492 |
-
<line num="
|
|
|
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="2704" type="stmt" count="0"/>
|
3497 |
<line num="2705" type="stmt" count="0"/>
|
|
|
|
|
3498 |
<line num="2708" type="stmt" count="0"/>
|
3499 |
<line num="2709" type="stmt" count="0"/>
|
3500 |
-
<line num="
|
3501 |
-
<line num="
|
3502 |
-
<line num="
|
3503 |
-
<line num="
|
3504 |
-
<line num="
|
3505 |
-
<line num="
|
3506 |
-
<line num="2741" type="stmt" count="20"/>
|
3507 |
<line num="2742" type="stmt" count="20"/>
|
3508 |
-
<line num="2743" type="stmt" count="20"/>
|
3509 |
<line num="2744" type="stmt" count="20"/>
|
3510 |
<line num="2745" type="stmt" count="20"/>
|
|
|
3511 |
<line num="2747" type="stmt" count="20"/>
|
3512 |
<line num="2748" type="stmt" count="20"/>
|
3513 |
-
<line num="
|
3514 |
<line num="2751" type="stmt" count="20"/>
|
3515 |
<line num="2752" type="stmt" count="20"/>
|
3516 |
-
<line num="2753" type="stmt" count="20"/>
|
3517 |
<line num="2754" type="stmt" count="20"/>
|
3518 |
<line num="2755" type="stmt" count="20"/>
|
|
|
3519 |
<line num="2757" type="stmt" count="20"/>
|
3520 |
<line num="2758" type="stmt" count="20"/>
|
3521 |
<line num="2759" type="stmt" count="20"/>
|
3522 |
-
<line num="
|
3523 |
-
<line num="
|
3524 |
-
<line num="
|
3525 |
<line num="2769" type="stmt" count="20"/>
|
3526 |
-
<line num="2770" type="stmt" count="20"/>
|
3527 |
<line num="2771" type="stmt" count="20"/>
|
|
|
3528 |
<line num="2773" type="stmt" count="20"/>
|
3529 |
-
<line num="
|
|
|
3530 |
<line num="2777" type="stmt" count="20"/>
|
3531 |
-
<line num="
|
3532 |
<line num="2781" type="stmt" count="20"/>
|
3533 |
-
<line num="
|
3534 |
-
<line num="
|
3535 |
-
<line num="
|
3536 |
-
<line num="
|
3537 |
-
<line num="
|
3538 |
-
<line num="
|
3539 |
-
<line num="
|
3540 |
<line num="2809" type="stmt" count="0"/>
|
3541 |
<line num="2810" type="stmt" count="0"/>
|
3542 |
-
<line num="2811" type="stmt" count="0"/>
|
3543 |
<line num="2813" type="stmt" count="0"/>
|
3544 |
<line num="2814" type="stmt" count="0"/>
|
3545 |
<line num="2815" type="stmt" count="0"/>
|
|
|
3546 |
<line num="2818" type="stmt" count="0"/>
|
3547 |
<line num="2819" type="stmt" count="0"/>
|
3548 |
-
<line num="2820" 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="
|
3554 |
-
<line num="
|
3555 |
-
<line num="
|
3556 |
<line num="2843" type="stmt" count="0"/>
|
3557 |
<line num="2844" type="stmt" count="0"/>
|
3558 |
-
<line num="2845" type="stmt" count="0"/>
|
3559 |
<line num="2846" type="stmt" count="0"/>
|
|
|
3560 |
<line num="2848" type="stmt" count="0"/>
|
3561 |
<line num="2849" type="stmt" count="0"/>
|
3562 |
<line num="2850" type="stmt" count="0"/>
|
3563 |
-
<line num="
|
3564 |
<line num="2853" type="stmt" count="0"/>
|
|
|
3565 |
<line num="2855" type="stmt" count="0"/>
|
3566 |
-
<line num="
|
3567 |
-
<line num="
|
3568 |
-
<line num="
|
3569 |
-
<line num="
|
3570 |
<line num="2878" type="stmt" count="0"/>
|
|
|
3571 |
<line num="2882" type="stmt" count="0"/>
|
3572 |
-
<line num="2885" type="stmt" count="0"/>
|
3573 |
<line num="2886" type="stmt" count="0"/>
|
|
|
3574 |
<line num="2890" type="stmt" count="0"/>
|
3575 |
-
<line num="
|
3576 |
-
<line num="
|
3577 |
-
<line num="
|
3578 |
-
<line num="
|
3579 |
-
<line num="2909" type="stmt" count="4"/>
|
3580 |
<line num="2910" type="stmt" count="4"/>
|
3581 |
-
<line num="
|
3582 |
-
<line num="2912" type="stmt" count="0"/>
|
3583 |
-
<line num="2913" type="stmt" count="0"/>
|
3584 |
<line num="2914" type="stmt" count="4"/>
|
3585 |
<line num="2915" type="stmt" count="4"/>
|
|
|
|
|
3586 |
<line num="2918" type="stmt" count="4"/>
|
3587 |
-
<line num="
|
3588 |
<line num="2922" type="stmt" count="4"/>
|
3589 |
-
<line num="
|
3590 |
-
<line num="
|
3591 |
-
<line num="
|
3592 |
-
<line num="
|
3593 |
<line num="2936" type="stmt" count="1"/>
|
3594 |
-
<line num="
|
3595 |
<line num="2940" type="stmt" count="1"/>
|
3596 |
<line num="2941" type="stmt" count="1"/>
|
3597 |
-
<line num="
|
3598 |
-
<line num="
|
3599 |
-
<line num="
|
3600 |
-
<line num="
|
3601 |
<line num="2960" type="stmt" count="1"/>
|
3602 |
-
<line num="
|
3603 |
-
<
|
|
|
|
|
3604 |
</file>
|
3605 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
|
3606 |
<class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
@@ -5407,7 +5409,7 @@
|
|
5407 |
</file>
|
5408 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log.php">
|
5409 |
<class name="Boldgrid_Backup_Admin_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5410 |
-
<metrics complexity="
|
5411 |
</class>
|
5412 |
<line num="55" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
5413 |
<line num="56" type="stmt" count="20"/>
|
@@ -5423,64 +5425,68 @@
|
|
5423 |
<line num="89" type="stmt" count="4"/>
|
5424 |
<line num="91" type="stmt" count="4"/>
|
5425 |
<line num="92" type="stmt" count="4"/>
|
5426 |
-
<line num="99" type="method" name="
|
5427 |
-
<line num="100" type="stmt" count="
|
5428 |
-
<line num="
|
5429 |
-
<line num="
|
5430 |
-
<line num="
|
5431 |
-
<line num="
|
5432 |
-
<line num="106" type="stmt" count="4"/>
|
5433 |
-
<line num="107" type="stmt" count="4"/>
|
5434 |
-
<line num="108" type="stmt" count="4"/>
|
5435 |
-
<line num="109" type="stmt" count="4"/>
|
5436 |
-
<line num="110" type="stmt" count="4"/>
|
5437 |
-
<line num="111" type="stmt" count="4"/>
|
5438 |
<line num="113" type="stmt" count="4"/>
|
5439 |
<line num="114" type="stmt" count="4"/>
|
5440 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
5441 |
<line num="123" type="stmt" count="4"/>
|
5442 |
-
<line num="
|
5443 |
<line num="126" type="stmt" count="4"/>
|
5444 |
-
<line num="
|
5445 |
-
<line num="129" type="stmt" count="0"/>
|
5446 |
-
<line num="133" type="stmt" count="4"/>
|
5447 |
-
<line num="134" type="stmt" count="4"/>
|
5448 |
<line num="135" type="stmt" count="4"/>
|
5449 |
-
<line num="
|
5450 |
-
<line num="
|
5451 |
-
<line num="
|
5452 |
-
<line num="
|
5453 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
5454 |
<line num="154" type="stmt" count="4"/>
|
5455 |
-
<line num="
|
5456 |
-
<line num="158" type="stmt" count="4"/>
|
5457 |
-
<line num="160" type="stmt" count="4"/>
|
5458 |
-
<line num="162" type="stmt" count="4"/>
|
5459 |
-
<line num="164" type="stmt" count="4"/>
|
5460 |
-
<line num="165" type="stmt" count="4"/>
|
5461 |
<line num="166" type="stmt" count="4"/>
|
5462 |
<line num="168" type="stmt" count="4"/>
|
5463 |
-
<line num="
|
5464 |
-
<line num="
|
5465 |
-
<line num="
|
5466 |
-
<line num="
|
5467 |
-
<line num="
|
5468 |
-
<line num="
|
5469 |
-
<line num="
|
5470 |
-
<line num="
|
|
|
|
|
5471 |
<line num="203" type="stmt" count="0"/>
|
|
|
5472 |
<line num="205" type="stmt" count="0"/>
|
5473 |
-
<line num="
|
5474 |
<line num="213" type="stmt" count="0"/>
|
5475 |
-
<line num="
|
5476 |
-
<line num="216" type="stmt" count="0"/>
|
5477 |
<line num="217" type="stmt" count="0"/>
|
5478 |
-
<line num="218" type="stmt" count="0"/>
|
5479 |
<line num="219" type="stmt" count="0"/>
|
5480 |
-
<line num="
|
|
|
|
|
5481 |
<line num="229" type="stmt" count="0"/>
|
|
|
5482 |
<line num="231" type="stmt" count="0"/>
|
5483 |
-
<
|
|
|
|
|
|
|
5484 |
</file>
|
5485 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
5486 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -74950,7 +74956,7 @@
|
|
74950 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
74951 |
</file>
|
74952 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
74953 |
-
<class name="
|
74954 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
74955 |
</class>
|
74956 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -75042,7 +75048,7 @@
|
|
75042 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
75043 |
</file>
|
75044 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
75045 |
-
<class name="
|
75046 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
75047 |
</class>
|
75048 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -94185,6 +94191,6 @@
|
|
94185 |
<line num="16" type="stmt" count="0"/>
|
94186 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
94187 |
</file>
|
94188 |
-
<metrics files="942" loc="
|
94189 |
</project>
|
94190 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1590174801">
|
3 |
+
<project timestamp="1590174801">
|
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="230" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1054" coveredstatements="511" elements="1082" coveredelements="515"/>
|
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="25" crap="51.92" 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="0"/>
|
3322 |
+
<line num="2324" type="stmt" count="0"/>
|
|
|
3323 |
<line num="2327" type="stmt" count="1"/>
|
3324 |
+
<line num="2328" type="stmt" count="1"/>
|
3325 |
+
<line num="2329" type="stmt" count="1"/>
|
3326 |
+
<line num="2331" type="stmt" count="1"/>
|
3327 |
+
<line num="2332" type="stmt" count="0"/>
|
3328 |
<line num="2342" type="stmt" count="0"/>
|
|
|
3329 |
<line num="2344" type="stmt" count="0"/>
|
3330 |
+
<line num="2345" type="stmt" count="0"/>
|
3331 |
<line num="2346" type="stmt" count="0"/>
|
3332 |
+
<line num="2347" type="stmt" count="0"/>
|
3333 |
+
<line num="2348" type="stmt" count="0"/>
|
3334 |
+
<line num="2350" type="stmt" count="0"/>
|
3335 |
+
<line num="2360" type="stmt" count="1"/>
|
3336 |
+
<line num="2369" type="stmt" count="1"/>
|
3337 |
+
<line num="2370" type="stmt" count="1"/>
|
3338 |
<line num="2371" type="stmt" count="1"/>
|
3339 |
+
<line num="2372" type="stmt" count="1"/>
|
|
|
3340 |
<line num="2375" type="stmt" count="1"/>
|
3341 |
<line num="2376" type="stmt" count="0"/>
|
3342 |
+
<line num="2377" type="stmt" count="0"/>
|
3343 |
+
<line num="2379" type="stmt" count="1"/>
|
3344 |
<line num="2380" type="stmt" count="0"/>
|
3345 |
+
<line num="2382" type="stmt" count="0"/>
|
3346 |
+
<line num="2383" type="stmt" count="0"/>
|
3347 |
+
<line num="2384" type="stmt" count="0"/>
|
3348 |
+
<line num="2385" type="stmt" count="0"/>
|
3349 |
<line num="2388" type="stmt" count="1"/>
|
3350 |
<line num="2389" type="stmt" count="1"/>
|
3351 |
<line num="2392" type="stmt" count="1"/>
|
3352 |
+
<line num="2393" type="stmt" count="1"/>
|
3353 |
+
<line num="2396" type="stmt" count="1"/>
|
3354 |
+
<line num="2397" type="stmt" count="0"/>
|
3355 |
+
<line num="2399" type="stmt" count="0"/>
|
3356 |
+
<line num="2400" type="stmt" count="0"/>
|
3357 |
<line num="2402" type="stmt" count="1"/>
|
3358 |
+
<line num="2403" type="stmt" count="1"/>
|
3359 |
+
<line num="2406" type="stmt" count="1"/>
|
3360 |
+
<line num="2409" type="stmt" count="1"/>
|
3361 |
+
<line num="2412" type="stmt" count="1"/>
|
3362 |
<line num="2414" type="stmt" count="1"/>
|
|
|
3363 |
<line num="2418" type="stmt" count="1"/>
|
3364 |
+
<line num="2419" type="stmt" count="1"/>
|
3365 |
+
<line num="2422" type="stmt" count="1"/>
|
3366 |
+
<line num="2425" type="stmt" count="1"/>
|
3367 |
+
<line num="2428" type="stmt" count="1"/>
|
3368 |
+
<line num="2441" type="method" name="page_archives" visibility="public" complexity="5" crap="30" count="0"/>
|
3369 |
<line num="2442" type="stmt" count="0"/>
|
3370 |
+
<line num="2445" type="stmt" count="0"/>
|
3371 |
+
<line num="2446" type="stmt" count="0"/>
|
3372 |
+
<line num="2448" type="stmt" count="0"/>
|
3373 |
<line num="2451" type="stmt" count="0"/>
|
3374 |
+
<line num="2454" type="stmt" count="0"/>
|
3375 |
+
<line num="2455" type="stmt" count="0"/>
|
3376 |
<line num="2457" type="stmt" count="0"/>
|
|
|
3377 |
<line num="2460" type="stmt" count="0"/>
|
3378 |
<line num="2461" type="stmt" count="0"/>
|
3379 |
+
<line num="2462" type="stmt" count="0"/>
|
3380 |
<line num="2464" type="stmt" count="0"/>
|
3381 |
<line num="2465" type="stmt" count="0"/>
|
3382 |
+
<line num="2468" type="stmt" count="0"/>
|
3383 |
<line num="2469" type="stmt" count="0"/>
|
3384 |
+
<line num="2470" type="stmt" count="0"/>
|
3385 |
+
<line num="2473" type="stmt" count="0"/>
|
3386 |
+
<line num="2476" type="stmt" count="0"/>
|
|
|
3387 |
<line num="2479" type="stmt" count="0"/>
|
3388 |
+
<line num="2481" type="stmt" count="0"/>
|
3389 |
<line num="2482" type="stmt" count="0"/>
|
3390 |
+
<line num="2483" type="stmt" count="0"/>
|
3391 |
+
<line num="2486" type="stmt" count="0"/>
|
3392 |
<line num="2488" type="stmt" count="0"/>
|
|
|
3393 |
<line num="2491" type="stmt" count="0"/>
|
3394 |
+
<line num="2492" type="stmt" count="0"/>
|
3395 |
+
<line num="2493" type="stmt" count="0"/>
|
3396 |
<line num="2495" type="stmt" count="0"/>
|
3397 |
+
<line num="2498" type="stmt" count="0"/>
|
3398 |
+
<line num="2499" type="stmt" count="0"/>
|
3399 |
+
<line num="2508" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
|
|
3400 |
<line num="2511" type="stmt" count="0"/>
|
3401 |
<line num="2512" type="stmt" count="0"/>
|
3402 |
<line num="2513" type="stmt" 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="2520" type="stmt" count="0"/>
|
3407 |
<line num="2521" type="stmt" count="0"/>
|
3408 |
<line num="2522" 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="2530" type="stmt" count="0"/>
|
3414 |
<line num="2531" 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="2537" type="stmt" count="0"/>
|
|
|
3419 |
<line num="2540" type="stmt" count="0"/>
|
3420 |
<line num="2541" type="stmt" count="0"/>
|
3421 |
<line num="2542" 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="2555" type="stmt" count="0"/>
|
3426 |
+
<line num="2556" type="stmt" count="0"/>
|
3427 |
+
<line num="2568" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
3428 |
<line num="2570" type="stmt" count="0"/>
|
3429 |
+
<line num="2573" type="stmt" count="0"/>
|
3430 |
+
<line num="2574" type="stmt" count="0"/>
|
3431 |
<line num="2575" type="stmt" count="0"/>
|
3432 |
<line num="2576" type="stmt" count="0"/>
|
|
|
|
|
3433 |
<line num="2579" type="stmt" count="0"/>
|
3434 |
+
<line num="2580" type="stmt" count="0"/>
|
3435 |
+
<line num="2581" type="stmt" count="0"/>
|
3436 |
+
<line num="2582" type="stmt" count="0"/>
|
3437 |
<line num="2583" type="stmt" count="0"/>
|
|
|
|
|
|
|
3438 |
<line num="2587" type="stmt" count="0"/>
|
3439 |
+
<line num="2588" type="stmt" count="0"/>
|
3440 |
+
<line num="2589" type="stmt" count="0"/>
|
3441 |
+
<line num="2590" type="stmt" count="0"/>
|
3442 |
<line num="2591" type="stmt" count="0"/>
|
|
|
3443 |
<line num="2595" type="stmt" count="0"/>
|
3444 |
+
<line num="2598" type="stmt" count="0"/>
|
3445 |
+
<line num="2599" type="stmt" count="0"/>
|
3446 |
<line num="2600" type="stmt" count="0"/>
|
3447 |
+
<line num="2601" type="stmt" count="0"/>
|
3448 |
<line num="2604" type="stmt" count="0"/>
|
3449 |
+
<line num="2607" type="stmt" count="0"/>
|
3450 |
+
<line num="2608" type="stmt" count="0"/>
|
3451 |
+
<line num="2609" type="stmt" count="0"/>
|
3452 |
<line num="2610" type="stmt" count="0"/>
|
3453 |
+
<line num="2614" type="stmt" count="0"/>
|
|
|
3454 |
<line num="2615" type="stmt" count="0"/>
|
3455 |
<line num="2616" type="stmt" count="0"/>
|
3456 |
+
<line num="2619" type="stmt" count="0"/>
|
|
|
3457 |
<line num="2620" type="stmt" count="0"/>
|
3458 |
+
<line num="2621" type="stmt" count="0"/>
|
3459 |
<line num="2622" type="stmt" count="0"/>
|
3460 |
<line num="2624" type="stmt" count="0"/>
|
|
|
3461 |
<line num="2626" type="stmt" count="0"/>
|
3462 |
+
<line num="2628" type="stmt" count="0"/>
|
3463 |
<line num="2629" type="stmt" count="0"/>
|
3464 |
<line num="2630" type="stmt" count="0"/>
|
3465 |
+
<line num="2633" type="stmt" count="0"/>
|
3466 |
+
<line num="2634" type="stmt" count="0"/>
|
3467 |
+
<line num="2644" type="method" name="page_backup_test" visibility="public" complexity="6" crap="42" count="0"/>
|
3468 |
+
<line num="2646" type="stmt" count="0"/>
|
3469 |
+
<line num="2649" type="stmt" count="0"/>
|
3470 |
+
<line num="2652" type="stmt" count="0"/>
|
3471 |
+
<line num="2655" type="stmt" count="0"/>
|
3472 |
+
<line num="2658" type="stmt" count="0"/>
|
3473 |
+
<line num="2660" type="stmt" count="0"/>
|
3474 |
+
<line num="2663" type="stmt" count="0"/>
|
3475 |
+
<line num="2666" type="stmt" count="0"/>
|
3476 |
+
<line num="2669" type="stmt" count="0"/>
|
3477 |
+
<line num="2672" type="stmt" count="0"/>
|
3478 |
+
<line num="2675" type="stmt" count="0"/>
|
3479 |
+
<line num="2677" type="stmt" count="0"/>
|
|
|
|
|
3480 |
<line num="2685" type="stmt" count="0"/>
|
3481 |
+
<line num="2686" type="stmt" count="0"/>
|
3482 |
+
<line num="2687" type="stmt" count="0"/>
|
3483 |
<line num="2688" type="stmt" count="0"/>
|
3484 |
<line num="2689" type="stmt" count="0"/>
|
|
|
|
|
3485 |
<line num="2692" type="stmt" count="0"/>
|
3486 |
<line num="2693" 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="2699" type="stmt" count="0"/>
|
3493 |
<line num="2701" type="stmt" count="0"/>
|
|
|
|
|
3494 |
<line num="2704" type="stmt" count="0"/>
|
3495 |
<line num="2705" type="stmt" count="0"/>
|
3496 |
+
<line num="2706" type="stmt" count="0"/>
|
3497 |
+
<line num="2707" type="stmt" count="0"/>
|
3498 |
<line num="2708" type="stmt" count="0"/>
|
3499 |
<line num="2709" type="stmt" count="0"/>
|
3500 |
+
<line num="2712" type="stmt" count="0"/>
|
3501 |
+
<line num="2713" type="stmt" count="0"/>
|
3502 |
+
<line num="2728" type="method" name="set_doing_cron" visibility="public" complexity="3" crap="3" count="20"/>
|
3503 |
+
<line num="2729" type="stmt" count="20"/>
|
3504 |
+
<line num="2730" type="stmt" count="20"/>
|
3505 |
+
<line num="2737" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="20"/>
|
|
|
3506 |
<line num="2742" type="stmt" count="20"/>
|
|
|
3507 |
<line num="2744" type="stmt" count="20"/>
|
3508 |
<line num="2745" type="stmt" count="20"/>
|
3509 |
+
<line num="2746" type="stmt" count="20"/>
|
3510 |
<line num="2747" type="stmt" count="20"/>
|
3511 |
<line num="2748" type="stmt" count="20"/>
|
3512 |
+
<line num="2749" type="stmt" count="20"/>
|
3513 |
<line num="2751" type="stmt" count="20"/>
|
3514 |
<line num="2752" 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="2759" 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="2769" type="stmt" count="20"/>
|
|
|
3525 |
<line num="2771" type="stmt" count="20"/>
|
3526 |
+
<line num="2772" type="stmt" count="20"/>
|
3527 |
<line num="2773" type="stmt" count="20"/>
|
3528 |
+
<line num="2774" type="stmt" count="20"/>
|
3529 |
+
<line num="2775" type="stmt" count="20"/>
|
3530 |
<line num="2777" type="stmt" count="20"/>
|
3531 |
+
<line num="2780" type="stmt" count="20"/>
|
3532 |
<line num="2781" type="stmt" count="20"/>
|
3533 |
+
<line num="2783" type="stmt" count="20"/>
|
3534 |
+
<line num="2785" type="stmt" count="20"/>
|
3535 |
+
<line num="2797" type="method" name="set_time_limit" visibility="public" complexity="2" crap="2" count="4"/>
|
3536 |
+
<line num="2798" type="stmt" count="4"/>
|
3537 |
+
<line num="2800" type="stmt" count="4"/>
|
3538 |
+
<line num="2801" type="stmt" count="4"/>
|
3539 |
+
<line num="2808" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
|
3540 |
<line num="2809" type="stmt" count="0"/>
|
3541 |
<line num="2810" type="stmt" count="0"/>
|
|
|
3542 |
<line num="2813" type="stmt" count="0"/>
|
3543 |
<line num="2814" type="stmt" count="0"/>
|
3544 |
<line num="2815" 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="2822" type="stmt" count="0"/>
|
3549 |
<line num="2823" type="stmt" count="0"/>
|
3550 |
<line num="2824" 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="2843" type="stmt" count="0"/>
|
3556 |
<line num="2844" type="stmt" count="0"/>
|
|
|
3557 |
<line num="2846" type="stmt" count="0"/>
|
3558 |
+
<line num="2847" type="stmt" count="0"/>
|
3559 |
<line num="2848" type="stmt" count="0"/>
|
3560 |
<line num="2849" type="stmt" count="0"/>
|
3561 |
<line num="2850" 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="2855" type="stmt" count="0"/>
|
3566 |
+
<line num="2857" type="stmt" count="0"/>
|
3567 |
+
<line num="2859" type="stmt" count="0"/>
|
3568 |
+
<line num="2860" type="stmt" count="0"/>
|
3569 |
+
<line num="2876" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
|
3570 |
<line num="2878" type="stmt" count="0"/>
|
3571 |
+
<line num="2881" type="stmt" count="0"/>
|
3572 |
<line num="2882" type="stmt" count="0"/>
|
|
|
3573 |
<line num="2886" type="stmt" count="0"/>
|
3574 |
+
<line num="2889" type="stmt" count="0"/>
|
3575 |
<line num="2890" type="stmt" count="0"/>
|
3576 |
+
<line num="2894" type="stmt" count="0"/>
|
3577 |
+
<line num="2895" type="stmt" count="0"/>
|
3578 |
+
<line num="2906" type="method" name="enforce_retention" visibility="public" complexity="8" crap="8.10" count="4"/>
|
3579 |
+
<line num="2908" type="stmt" count="4"/>
|
|
|
3580 |
<line num="2910" type="stmt" count="4"/>
|
3581 |
+
<line num="2913" type="stmt" count="4"/>
|
|
|
|
|
3582 |
<line num="2914" type="stmt" count="4"/>
|
3583 |
<line num="2915" type="stmt" count="4"/>
|
3584 |
+
<line num="2916" type="stmt" count="0"/>
|
3585 |
+
<line num="2917" type="stmt" count="0"/>
|
3586 |
<line num="2918" type="stmt" count="4"/>
|
3587 |
+
<line num="2919" type="stmt" count="4"/>
|
3588 |
<line num="2922" type="stmt" count="4"/>
|
3589 |
+
<line num="2925" type="stmt" count="4"/>
|
3590 |
+
<line num="2926" type="stmt" count="4"/>
|
3591 |
+
<line num="2930" type="stmt" count="1"/>
|
3592 |
+
<line num="2933" type="stmt" count="1"/>
|
3593 |
<line num="2936" type="stmt" count="1"/>
|
3594 |
+
<line num="2939" type="stmt" count="1"/>
|
3595 |
<line num="2940" type="stmt" count="1"/>
|
3596 |
<line num="2941" type="stmt" count="1"/>
|
3597 |
+
<line num="2944" type="stmt" count="1"/>
|
3598 |
+
<line num="2945" type="stmt" count="1"/>
|
3599 |
+
<line num="2947" type="stmt" count="0"/>
|
3600 |
+
<line num="2957" type="stmt" count="1"/>
|
3601 |
<line num="2960" type="stmt" count="1"/>
|
3602 |
+
<line num="2963" type="stmt" count="1"/>
|
3603 |
+
<line num="2964" type="stmt" count="1"/>
|
3604 |
+
<line num="2965" type="stmt" count="1"/>
|
3605 |
+
<metrics loc="2966" ncloc="1509" classes="1" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1061" coveredstatements="511" elements="1089" coveredelements="515"/>
|
3606 |
</file>
|
3607 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
|
3608 |
<class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
5409 |
</file>
|
5410 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log.php">
|
5411 |
<class name="Boldgrid_Backup_Admin_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5412 |
+
<metrics complexity="16" methods="9" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="66" coveredstatements="44" elements="75" coveredelements="49"/>
|
5413 |
</class>
|
5414 |
<line num="55" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
5415 |
<line num="56" type="stmt" count="20"/>
|
5425 |
<line num="89" type="stmt" count="4"/>
|
5426 |
<line num="91" type="stmt" count="4"/>
|
5427 |
<line num="92" type="stmt" count="4"/>
|
5428 |
+
<line num="99" type="method" name="add_last_error" visibility="public" complexity="1" crap="2" count="0"/>
|
5429 |
+
<line num="100" type="stmt" count="0"/>
|
5430 |
+
<line num="102" type="stmt" count="0"/>
|
5431 |
+
<line num="103" type="stmt" count="0"/>
|
5432 |
+
<line num="111" type="method" name="add_memory" visibility="public" complexity="1" crap="1" count="4"/>
|
5433 |
+
<line num="112" type="stmt" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
5434 |
<line num="113" type="stmt" count="4"/>
|
5435 |
<line num="114" type="stmt" count="4"/>
|
5436 |
+
<line num="116" type="stmt" count="4"/>
|
5437 |
+
<line num="117" type="stmt" count="4"/>
|
5438 |
+
<line num="118" type="stmt" count="4"/>
|
5439 |
+
<line num="119" type="stmt" count="4"/>
|
5440 |
+
<line num="120" type="stmt" count="4"/>
|
5441 |
+
<line num="121" type="stmt" count="4"/>
|
5442 |
+
<line num="122" type="stmt" count="4"/>
|
5443 |
<line num="123" type="stmt" count="4"/>
|
5444 |
+
<line num="125" type="stmt" count="4"/>
|
5445 |
<line num="126" type="stmt" count="4"/>
|
5446 |
+
<line num="133" type="method" name="clean_up" visibility="public" complexity="4" crap="4.25" count="4"/>
|
|
|
|
|
|
|
5447 |
<line num="135" type="stmt" count="4"/>
|
5448 |
+
<line num="136" type="stmt" count="4"/>
|
5449 |
+
<line num="138" type="stmt" count="4"/>
|
5450 |
+
<line num="140" type="stmt" count="4"/>
|
5451 |
+
<line num="141" type="stmt" count="0"/>
|
5452 |
+
<line num="145" type="stmt" count="4"/>
|
5453 |
+
<line num="146" type="stmt" count="4"/>
|
5454 |
+
<line num="147" type="stmt" count="4"/>
|
5455 |
+
<line num="150" type="stmt" count="0"/>
|
5456 |
+
<line num="152" type="stmt" count="0"/>
|
5457 |
+
<line num="153" type="stmt" count="4"/>
|
5458 |
<line num="154" type="stmt" count="4"/>
|
5459 |
+
<line num="164" type="method" name="init" visibility="public" complexity="2" crap="2" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
5460 |
<line num="166" type="stmt" count="4"/>
|
5461 |
<line num="168" type="stmt" count="4"/>
|
5462 |
+
<line num="170" type="stmt" count="4"/>
|
5463 |
+
<line num="172" type="stmt" count="4"/>
|
5464 |
+
<line num="174" type="stmt" count="4"/>
|
5465 |
+
<line num="176" type="stmt" count="4"/>
|
5466 |
+
<line num="177" type="stmt" count="4"/>
|
5467 |
+
<line num="178" type="stmt" count="4"/>
|
5468 |
+
<line num="180" type="stmt" count="4"/>
|
5469 |
+
<line num="190" type="method" name="init_signal_handler" visibility="private" complexity="4" crap="14.72" count="4"/>
|
5470 |
+
<line num="199" type="stmt" count="4"/>
|
5471 |
+
<line num="200" type="stmt" count="4"/>
|
5472 |
<line num="203" type="stmt" count="0"/>
|
5473 |
+
<line num="204" type="stmt" count="0"/>
|
5474 |
<line num="205" type="stmt" count="0"/>
|
5475 |
+
<line num="209" type="stmt" count="0"/>
|
5476 |
<line num="213" type="stmt" count="0"/>
|
5477 |
+
<line num="215" type="stmt" count="0"/>
|
|
|
5478 |
<line num="217" type="stmt" count="0"/>
|
|
|
5479 |
<line num="219" type="stmt" count="0"/>
|
5480 |
+
<line num="225" type="stmt" count="0"/>
|
5481 |
+
<line num="226" type="stmt" count="0"/>
|
5482 |
+
<line num="228" type="stmt" count="0"/>
|
5483 |
<line num="229" type="stmt" count="0"/>
|
5484 |
+
<line num="230" type="stmt" count="0"/>
|
5485 |
<line num="231" type="stmt" count="0"/>
|
5486 |
+
<line num="240" type="method" name="signal_handler" visibility="public" complexity="1" crap="2" count="0"/>
|
5487 |
+
<line num="241" type="stmt" count="0"/>
|
5488 |
+
<line num="243" type="stmt" count="0"/>
|
5489 |
+
<metrics loc="245" ncloc="110" classes="1" methods="9" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="66" coveredstatements="44" elements="75" coveredelements="49"/>
|
5490 |
</file>
|
5491 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
5492 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
74956 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
74957 |
</file>
|
74958 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
74959 |
+
<class name="ComposerStaticInite5fdd21767a360e079b4f1c686ea32ce" namespace="Composer\Autoload">
|
74960 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
74961 |
</class>
|
74962 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
75048 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
75049 |
</file>
|
75050 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
75051 |
+
<class name="ComposerAutoloaderInite5fdd21767a360e079b4f1c686ea32ce" namespace="global">
|
75052 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
75053 |
</class>
|
75054 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
94191 |
<line num="16" type="stmt" count="0"/>
|
94192 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
94193 |
</file>
|
94194 |
+
<metrics files="942" loc="188712" ncloc="115109" classes="852" methods="3498" coveredmethods="267" conditionals="0" coveredconditionals="0" statements="84900" coveredstatements="3902" elements="88398" coveredelements="4169"/>
|
94195 |
</project>
|
94196 |
</coverage>
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInite5fdd21767a360e079b4f1c686ea32ce::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitc3aaf38471ae45ae5c353e74a9083f21
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
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\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
@@ -51,19 +51,19 @@ class ComposerAutoloaderInitc3aaf38471ae45ae5c353e74a9083f21
|
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
-
$includeFiles = Composer\Autoload\
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
-
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
-
function
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInite5fdd21767a360e079b4f1c686ea32ce
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInite5fdd21767a360e079b4f1c686ea32ce', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInite5fdd21767a360e079b4f1c686ea32ce', '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\ComposerStaticInite5fdd21767a360e079b4f1c686ea32ce::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\ComposerStaticInite5fdd21767a360e079b4f1c686ea32ce::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequiree5fdd21767a360e079b4f1c686ea32ce($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequiree5fdd21767a360e079b4f1c686ea32ce($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
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
@@ -91,9 +91,9 @@ class ComposerStaticInitc3aaf38471ae45ae5c353e74a9083f21
|
|
91 |
public static function getInitializer(ClassLoader $loader)
|
92 |
{
|
93 |
return \Closure::bind(function () use ($loader) {
|
94 |
-
$loader->prefixLengthsPsr4 =
|
95 |
-
$loader->prefixDirsPsr4 =
|
96 |
-
$loader->classMap =
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInite5fdd21767a360e079b4f1c686ea32ce
|
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 = ComposerStaticInite5fdd21767a360e079b4f1c686ea32ce::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInite5fdd21767a360e079b4f1c686ea32ce::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInite5fdd21767a360e079b4f1c686ea32ce::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|