Version Description
Release date: December 14th, 2020
- Update: Added transfer log.
- Security fix: Fixes for restore-info.json file and cli/env-info.php script.
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | 1.14.10 |
Comparing to | |
See all releases |
Code changes from version 1.14.9 to 1.14.10
- admin/class-boldgrid-backup-admin-archive.php +1 -1
- admin/class-boldgrid-backup-admin-filelist-analyzer.php +1 -1
- admin/class-boldgrid-backup-admin-folder-exclusion.php +12 -1
- admin/class-boldgrid-backup-admin-upload.php +42 -7
- boldgrid-backup.php +13 -1
- cli/class-info.php +39 -9
- cli/env-info.php +8 -0
- cli/index.html +0 -0
- cli/verify-b7ed5b8df3333fb69fbc53b1434d3cc4.php +1 -0
- coverage.xml +580 -528
- cron/index.html +0 -0
- includes/class-boldgrid-backup.php +2 -0
- readme.txt +13 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
admin/class-boldgrid-backup-admin-archive.php
CHANGED
@@ -626,7 +626,7 @@ class Boldgrid_Backup_Admin_Archive {
|
|
626 |
public function write_results_file( $info ) {
|
627 |
$success = false;
|
628 |
$archive_filepath = ! empty( $info['filepath'] ) ? $info['filepath'] : null;
|
629 |
-
$results_filepath =
|
630 |
$is_dir_writable = $this->core->wp_filesystem->is_writable( dirname( $results_filepath ) );
|
631 |
|
632 |
if ( $archive_filepath && $is_dir_writable ) {
|
626 |
public function write_results_file( $info ) {
|
627 |
$success = false;
|
628 |
$archive_filepath = ! empty( $info['filepath'] ) ? $info['filepath'] : null;
|
629 |
+
$results_filepath = \Boldgrid\Backup\Cli\Info::get_results_filepath();
|
630 |
$is_dir_writable = $this->core->wp_filesystem->is_writable( dirname( $results_filepath ) );
|
631 |
|
632 |
if ( $archive_filepath && $is_dir_writable ) {
|
admin/class-boldgrid-backup-admin-filelist-analyzer.php
CHANGED
@@ -59,7 +59,7 @@ class Boldgrid_Backup_Admin_Filelist_Analyzer {
|
|
59 |
* @param array $filelist
|
60 |
* @param int $log_time
|
61 |
*/
|
62 |
-
public function __construct( $filelist = array(), $log_time ) {
|
63 |
$this->filelist = is_array( $filelist ) ? $filelist : array();
|
64 |
$this->log_time = ! empty( $log_time ) ? $log_time : time();
|
65 |
}
|
59 |
* @param array $filelist
|
60 |
* @param int $log_time
|
61 |
*/
|
62 |
+
public function __construct( $filelist = array(), $log_time = 0 ) {
|
63 |
$this->filelist = is_array( $filelist ) ? $filelist : array();
|
64 |
$this->log_time = ! empty( $log_time ) ? $log_time : time();
|
65 |
}
|
admin/class-boldgrid-backup-admin-folder-exclusion.php
CHANGED
@@ -68,6 +68,14 @@ class Boldgrid_Backup_Admin_Folder_Exclusion {
|
|
68 |
*/
|
69 |
public $in_ajax_preview = false;
|
70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
/**
|
72 |
* Determine the type of backup we are performing.
|
73 |
*
|
@@ -130,6 +138,9 @@ class Boldgrid_Backup_Admin_Folder_Exclusion {
|
|
130 |
*/
|
131 |
$this->default_include = apply_filters( 'boldgrid_backup_default_folder_include', $this->default_include );
|
132 |
$this->default_exclude = apply_filters( 'boldgrid_backup_default_folder_exclude', $this->default_exclude );
|
|
|
|
|
|
|
133 |
}
|
134 |
|
135 |
/**
|
@@ -147,7 +158,7 @@ class Boldgrid_Backup_Admin_Folder_Exclusion {
|
|
147 |
}
|
148 |
|
149 |
// Do not allow the "cron/restore-info.json" file used for emergency restorations.
|
150 |
-
if ( $this->is_match( 'cron/
|
151 |
return false;
|
152 |
}
|
153 |
|
68 |
*/
|
69 |
public $in_ajax_preview = false;
|
70 |
|
71 |
+
/**
|
72 |
+
* Filename of our restore-info.json file.
|
73 |
+
*
|
74 |
+
* @since 1.14.10
|
75 |
+
* @var string
|
76 |
+
*/
|
77 |
+
public $restore_info_filename;
|
78 |
+
|
79 |
/**
|
80 |
* Determine the type of backup we are performing.
|
81 |
*
|
138 |
*/
|
139 |
$this->default_include = apply_filters( 'boldgrid_backup_default_folder_include', $this->default_include );
|
140 |
$this->default_exclude = apply_filters( 'boldgrid_backup_default_folder_exclude', $this->default_exclude );
|
141 |
+
|
142 |
+
// Set in the constructor so as to prevent excessive calls in self::allow_file.
|
143 |
+
$this->restore_info_filename = basename( \Boldgrid\Backup\Cli\Info::get_results_filepath() );
|
144 |
}
|
145 |
|
146 |
/**
|
158 |
}
|
159 |
|
160 |
// Do not allow the "cron/restore-info.json" file used for emergency restorations.
|
161 |
+
if ( $this->is_match( 'cron/' . $this->restore_info_filename, $file ) ) {
|
162 |
return false;
|
163 |
}
|
164 |
|
admin/class-boldgrid-backup-admin-upload.php
CHANGED
@@ -401,6 +401,11 @@ class Boldgrid_Backup_Admin_Upload {
|
|
401 |
* @uses $_POST['url'] URL address.
|
402 |
*/
|
403 |
public function ajax_url_import() {
|
|
|
|
|
|
|
|
|
|
|
404 |
// Check user permissions.
|
405 |
if ( ! current_user_can( 'update_plugins' ) ) {
|
406 |
wp_send_json_error(
|
@@ -461,8 +466,11 @@ class Boldgrid_Backup_Admin_Upload {
|
|
461 |
|
462 |
if ( is_array( $response ) && ! is_wp_error( $response ) &&
|
463 |
in_array( $response['headers']['content-type'], $allowed_content_types, true ) ) {
|
464 |
-
|
465 |
-
|
|
|
|
|
|
|
466 |
|
467 |
if ( ! empty( $response['headers']['content-disposition'] ) ) {
|
468 |
$log_filepath = trim(
|
@@ -478,7 +486,8 @@ class Boldgrid_Backup_Admin_Upload {
|
|
478 |
$filename = basename( $filepath );
|
479 |
|
480 |
// Restore the log file from the archive.
|
481 |
-
$this->core->archive_log->restore_by_zip( $filepath, basename( $log_filepath ) );
|
|
|
482 |
|
483 |
// Update the archive file modification time, based on the log file contents.
|
484 |
$this->core->remote->post_download( $filepath );
|
@@ -498,15 +507,41 @@ class Boldgrid_Backup_Admin_Upload {
|
|
498 |
]
|
499 |
);
|
500 |
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
501 |
$this->core->wp_filesystem->delete( $filepath );
|
502 |
}
|
503 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
504 |
wp_send_json_error(
|
505 |
[
|
506 |
-
'error' =>
|
507 |
-
'Could not retrieve the remote file. It may not be a ZIP file, or the link is no longer valid.',
|
508 |
-
'boldgrid-backup'
|
509 |
-
),
|
510 |
]
|
511 |
);
|
512 |
}
|
401 |
* @uses $_POST['url'] URL address.
|
402 |
*/
|
403 |
public function ajax_url_import() {
|
404 |
+
$logger = new Boldgrid_Backup_Admin_Log( $this->core );
|
405 |
+
$logger->init( 'transfer-archive.log' );
|
406 |
+
$logger->add_separator();
|
407 |
+
$logger->add( 'Beginning ajax_url_import...' );
|
408 |
+
|
409 |
// Check user permissions.
|
410 |
if ( ! current_user_can( 'update_plugins' ) ) {
|
411 |
wp_send_json_error(
|
466 |
|
467 |
if ( is_array( $response ) && ! is_wp_error( $response ) &&
|
468 |
in_array( $response['headers']['content-type'], $allowed_content_types, true ) ) {
|
469 |
+
$logger->add( 'Archive downloaded successfully.' );
|
470 |
+
$logger->add( 'Headers: ' . ( empty( $response['headers'] ) ? 'Empty' : print_r( $response['headers'], 1 ) ) ); // phpcs:ignore
|
471 |
+
|
472 |
+
// Determine the archive log file path.
|
473 |
+
$log_filepath = $filepath;
|
474 |
|
475 |
if ( ! empty( $response['headers']['content-disposition'] ) ) {
|
476 |
$log_filepath = trim(
|
486 |
$filename = basename( $filepath );
|
487 |
|
488 |
// Restore the log file from the archive.
|
489 |
+
$restored = $this->core->archive_log->restore_by_zip( $filepath, basename( $log_filepath ) );
|
490 |
+
$logger->add( 'Log restored from zip: ' . ( $restored ? 'Success' : 'Fail' ) );
|
491 |
|
492 |
// Update the archive file modification time, based on the log file contents.
|
493 |
$this->core->remote->post_download( $filepath );
|
507 |
]
|
508 |
);
|
509 |
} else {
|
510 |
+
// Get the data from the $response that we want to print to the log.
|
511 |
+
// @todo simply the below.
|
512 |
+
if ( is_wp_error( $response ) ) {
|
513 |
+
$log_data = $response;
|
514 |
+
} elseif ( is_array( $response ) ) {
|
515 |
+
$log_data = array();
|
516 |
+
|
517 |
+
if ( ! empty( $response['body'] ) ) {
|
518 |
+
$log_data['body'] = $response['body'];
|
519 |
+
}
|
520 |
+
if ( ! empty( $response['response'] ) ) {
|
521 |
+
$log_data['response'] = $response['response'];
|
522 |
+
}
|
523 |
+
}
|
524 |
+
|
525 |
+
$logger->add( 'Failed to download archive. Additional info: ' . print_r( $log_data, 1 ) ); // phpcs:ignore
|
526 |
$this->core->wp_filesystem->delete( $filepath );
|
527 |
}
|
528 |
|
529 |
+
// Determine the error message the user will see and return it.
|
530 |
+
$error_message = __( 'Could not retrieve the remote file.', 'boldgrid-backup' );
|
531 |
+
if ( is_wp_error( $response ) ) {
|
532 |
+
// Example: cURL error 28: Connection timed out after 100001 milliseconds.
|
533 |
+
$error_message .= ' ' . $response->get_error_message();
|
534 |
+
} elseif ( ! empty( $response['response']['code'] && ! empty( $response['response']['message'] ) ) ) {
|
535 |
+
// Example: 403 Forbidden
|
536 |
+
$error_message .= ' ' . $response['response']['code'] . ' ' . $response['response']['message'];
|
537 |
+
} else {
|
538 |
+
// Unkown error.
|
539 |
+
$error_message .= ' ' . __( 'Unknown error. It may not be a ZIP file, or the link is no longer valid.', 'boldgrid-backup' );
|
540 |
+
}
|
541 |
+
|
542 |
wp_send_json_error(
|
543 |
[
|
544 |
+
'error' => $error_message,
|
|
|
|
|
|
|
545 |
]
|
546 |
);
|
547 |
}
|
boldgrid-backup.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: Total Upkeep
|
17 |
* Plugin URI: https://www.boldgrid.com/boldgrid-backup/
|
18 |
* Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
|
19 |
-
* Version: 1.14.
|
20 |
* Author: BoldGrid
|
21 |
* Author URI: https://www.boldgrid.com/
|
22 |
* License: GPL-2.0+
|
@@ -147,3 +147,15 @@ if ( is_admin() || ( defined( 'DOING_CRON' ) && DOING_CRON ) || defined( 'WP_CLI
|
|
147 |
run_boldgrid_backup();
|
148 |
}
|
149 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
* Plugin Name: Total Upkeep
|
17 |
* Plugin URI: https://www.boldgrid.com/boldgrid-backup/
|
18 |
* Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
|
19 |
+
* Version: 1.14.10
|
20 |
* Author: BoldGrid
|
21 |
* Author URI: https://www.boldgrid.com/
|
22 |
* License: GPL-2.0+
|
147 |
run_boldgrid_backup();
|
148 |
}
|
149 |
}
|
150 |
+
|
151 |
+
/*
|
152 |
+
* Fix added as of 1.14.10.
|
153 |
+
*
|
154 |
+
* @todo This fix can be removed in the future.
|
155 |
+
*/
|
156 |
+
$oldname = BOLDGRID_BACKUP_PATH . '/cron/restore-info.json';
|
157 |
+
if ( file_exists( $oldname ) ) {
|
158 |
+
require_once 'cli/class-info.php';
|
159 |
+
$newname = BOLDGRID_BACKUP_PATH . '/cron/' . basename( \Boldgrid\Backup\Cli\Info::get_results_filepath() );
|
160 |
+
rename( $oldname, $newname );
|
161 |
+
}
|
cli/class-info.php
CHANGED
@@ -55,12 +55,47 @@ class Info {
|
|
55 |
*/
|
56 |
public static function get_results_filepath() {
|
57 |
if ( null === self::$results_file_path ) {
|
58 |
-
self::$results_file_path = dirname( __DIR__ ) . '/cron/restore-info.json';
|
59 |
}
|
60 |
|
61 |
return self::$results_file_path;
|
62 |
}
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
/**
|
65 |
* Get information.
|
66 |
*
|
@@ -514,14 +549,9 @@ class Info {
|
|
514 |
public static function get_env_info() {
|
515 |
if ( empty( self::$info['env'] ) ) {
|
516 |
require_once dirname( __DIR__ ) . '/cron/class-boldgrid-backup-url-helper.php';
|
517 |
-
$url_helper
|
518 |
-
|
519 |
-
self::$info['env'] = json_decode(
|
520 |
-
$url_helper->call_url(
|
521 |
-
self::$info['siteurl'] . '/wp-content/plugins/boldgrid-backup/cli/env-info.php'
|
522 |
-
),
|
523 |
-
true
|
524 |
-
);
|
525 |
}
|
526 |
|
527 |
return self::$info['env'];
|
55 |
*/
|
56 |
public static function get_results_filepath() {
|
57 |
if ( null === self::$results_file_path ) {
|
58 |
+
self::$results_file_path = dirname( __DIR__ ) . '/cron/restore-info-' . self::get_secret() . '.json';
|
59 |
}
|
60 |
|
61 |
return self::$results_file_path;
|
62 |
}
|
63 |
|
64 |
+
/**
|
65 |
+
* Get secret.
|
66 |
+
*
|
67 |
+
* Used to secure scripts used outside of WordPress.
|
68 |
+
*
|
69 |
+
* @since 1.14.10
|
70 |
+
*
|
71 |
+
* @return string
|
72 |
+
*/
|
73 |
+
public static function get_secret() {
|
74 |
+
$secret = null;
|
75 |
+
|
76 |
+
// First, attempt to get our secret.
|
77 |
+
$files = scandir( __DIR__ );
|
78 |
+
$pattern = '/^verify-[0-9a-f]{32}\.php/';
|
79 |
+
$matches = preg_grep( $pattern, $files );
|
80 |
+
if ( ! empty( $matches ) ) {
|
81 |
+
$matches = array_values( $matches );
|
82 |
+
preg_match( '/^verify-(.*).php/', $matches[0], $match );
|
83 |
+
|
84 |
+
if ( ! empty( $match[1] ) ) {
|
85 |
+
$secret = $match[1];
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
+
// If we don't have a secret, make one.
|
90 |
+
if ( empty( $secret ) ) {
|
91 |
+
$secret = md5( openssl_random_pseudo_bytes( 32 ) );
|
92 |
+
$filepath = __DIR__ . '/verify-' . $secret . '.php';
|
93 |
+
file_put_contents( $filepath, '<?php // phpcs:disable' );
|
94 |
+
}
|
95 |
+
|
96 |
+
return $secret;
|
97 |
+
}
|
98 |
+
|
99 |
/**
|
100 |
* Get information.
|
101 |
*
|
549 |
public static function get_env_info() {
|
550 |
if ( empty( self::$info['env'] ) ) {
|
551 |
require_once dirname( __DIR__ ) . '/cron/class-boldgrid-backup-url-helper.php';
|
552 |
+
$url_helper = new \Boldgrid_Backup_Url_Helper();
|
553 |
+
$url = self::$info['siteurl'] . '/wp-content/plugins/boldgrid-backup/cli/env-info.php?secret=' . self::get_secret();
|
554 |
+
self::$info['env'] = json_decode( $url_helper->call_url( $url ), true );
|
|
|
|
|
|
|
|
|
|
|
555 |
}
|
556 |
|
557 |
return self::$info['env'];
|
cli/env-info.php
CHANGED
@@ -13,6 +13,14 @@
|
|
13 |
* phpcs:disable WordPress.WP.AlternativeFunctions
|
14 |
*/
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
echo json_encode( array(
|
17 |
'gateway_interface' => getenv( 'GATEWAY_INTERFACE' ),
|
18 |
'http_host' => getenv( 'HTTP_HOST' ),
|
13 |
* phpcs:disable WordPress.WP.AlternativeFunctions
|
14 |
*/
|
15 |
|
16 |
+
require_once 'class-info.php';
|
17 |
+
|
18 |
+
// Protect access to this script.
|
19 |
+
if ( empty( $_REQUEST['secret'] ) || \Boldgrid\Backup\Cli\Info::get_secret() !== $_REQUEST['secret'] ) { // phpcs:ignore WordPress.CSRF.NonceVerification.NoNonceVerification
|
20 |
+
header( 'HTTP/1.1 403 Unauthorized' );
|
21 |
+
exit;
|
22 |
+
}
|
23 |
+
|
24 |
echo json_encode( array(
|
25 |
'gateway_interface' => getenv( 'GATEWAY_INTERFACE' ),
|
26 |
'http_host' => getenv( 'HTTP_HOST' ),
|
cli/index.html
ADDED
File without changes
|
cli/verify-b7ed5b8df3333fb69fbc53b1434d3cc4.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // phpcs:disable
|
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">
|
@@ -5290,174 +5290,175 @@
|
|
5290 |
</file>
|
5291 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-folder-exclusion.php">
|
5292 |
<class name="Boldgrid_Backup_Admin_Folder_Exclusion" namespace="global" fullPackage="Boldgrid.Backup.Admin.Folder">
|
5293 |
-
<metrics complexity="59" methods="11" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="
|
5294 |
</class>
|
5295 |
-
<line num="
|
5296 |
-
<line num="
|
5297 |
-
<line num="
|
5298 |
-
<line num="
|
5299 |
-
<line num="
|
5300 |
-
<line num="
|
5301 |
-
<line num="
|
5302 |
-
<line num="
|
5303 |
-
<line num="
|
5304 |
-
<line num="
|
5305 |
-
<line num="
|
5306 |
-
<line num="
|
5307 |
-
<line num="
|
5308 |
-
<line num="160" type="stmt" count="4"/>
|
5309 |
-
<line num="163" type="stmt" count="4"/>
|
5310 |
-
<line num="164" type="stmt" count="4"/>
|
5311 |
-
<line num="167" type="stmt" count="4"/>
|
5312 |
-
<line num="168" type="stmt" count="4"/>
|
5313 |
<line num="170" type="stmt" count="4"/>
|
5314 |
<line num="171" type="stmt" count="4"/>
|
5315 |
-
<line num="172" type="stmt" count="4"/>
|
5316 |
-
<line num="173" type="stmt" count="4"/>
|
5317 |
<line num="174" type="stmt" count="4"/>
|
5318 |
-
<line num="
|
5319 |
<line num="178" type="stmt" count="4"/>
|
|
|
|
|
5320 |
<line num="182" type="stmt" count="4"/>
|
5321 |
-
<line num="183" type="stmt" count="
|
5322 |
-
<line num="
|
5323 |
-
<line num="
|
5324 |
-
<line num="188" type="stmt" count="
|
5325 |
-
<line num="189" type="stmt" count="
|
5326 |
-
<line num="
|
5327 |
-
<line num="
|
5328 |
-
<line num="
|
5329 |
-
<line num="
|
5330 |
-
<line num="
|
5331 |
-
<line num="
|
5332 |
-
<line num="
|
5333 |
-
<line num="
|
5334 |
-
<line num="
|
5335 |
-
<line num="
|
5336 |
-
<line num="215" type="stmt" count="4"/>
|
5337 |
-
<line num="217" type="stmt" count="4"/>
|
5338 |
<line num="218" type="stmt" count="4"/>
|
5339 |
<line num="219" type="stmt" count="4"/>
|
5340 |
-
<line num="
|
5341 |
<line num="222" type="stmt" count="4"/>
|
5342 |
<line num="223" type="stmt" count="4"/>
|
5343 |
<line num="225" type="stmt" count="4"/>
|
5344 |
<line num="226" type="stmt" count="4"/>
|
5345 |
-
<line num="227" type="stmt" count="4"/>
|
5346 |
<line num="228" type="stmt" count="4"/>
|
|
|
5347 |
<line num="230" type="stmt" count="4"/>
|
5348 |
-
<line num="
|
5349 |
-
<line num="
|
5350 |
-
<line num="
|
5351 |
-
<line num="
|
5352 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
5353 |
<line num="271" type="stmt" count="4"/>
|
5354 |
-
<line num="
|
5355 |
-
<line num="
|
5356 |
-
<line num="
|
5357 |
-
<line num="
|
5358 |
-
<line num="
|
5359 |
-
<line num="
|
5360 |
-
<line num="297" type="stmt" count="0"/>
|
5361 |
-
<line num="298" type="stmt" count="0"/>
|
5362 |
-
<line num="299" type="stmt" count="0"/>
|
5363 |
-
<line num="300" type="stmt" count="0"/>
|
5364 |
-
<line num="302" type="stmt" count="0"/>
|
5365 |
-
<line num="304" type="stmt" count="0"/>
|
5366 |
-
<line num="305" type="stmt" count="0"/>
|
5367 |
<line num="306" type="stmt" count="0"/>
|
5368 |
<line num="307" type="stmt" count="0"/>
|
5369 |
<line num="308" type="stmt" count="0"/>
|
5370 |
<line num="309" type="stmt" count="0"/>
|
5371 |
<line num="310" type="stmt" count="0"/>
|
5372 |
<line num="311" type="stmt" count="0"/>
|
5373 |
-
<line num="
|
5374 |
<line num="315" type="stmt" count="0"/>
|
5375 |
<line num="316" type="stmt" count="0"/>
|
|
|
5376 |
<line num="318" type="stmt" count="0"/>
|
|
|
5377 |
<line num="320" type="stmt" count="0"/>
|
5378 |
<line num="321" type="stmt" count="0"/>
|
5379 |
<line num="322" type="stmt" count="0"/>
|
5380 |
-
<line num="
|
5381 |
-
<line num="
|
5382 |
-
<line num="
|
5383 |
-
<line num="
|
5384 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
5385 |
<line num="349" type="stmt" count="15"/>
|
5386 |
-
<line num="350" type="stmt" count="
|
5387 |
-
<line num="
|
5388 |
-
<line num="
|
5389 |
-
<line num="
|
5390 |
-
<line num="
|
5391 |
-
<line num="
|
5392 |
-
<line num="
|
5393 |
-
<line num="
|
5394 |
-
<line num="
|
5395 |
-
<line num="
|
5396 |
-
<line num="
|
5397 |
-
<line num="382" type="stmt" count="1"/>
|
5398 |
-
<line num="383" type="stmt" count="3"/>
|
5399 |
<line num="384" type="stmt" count="0"/>
|
5400 |
-
<line num="385" type="stmt" count="
|
5401 |
-
<line num="
|
5402 |
-
<line num="387" type="stmt" count="0"/>
|
5403 |
-
<line num="388" type="stmt" count="0"/>
|
5404 |
-
<line num="390" type="stmt" count="3"/>
|
5405 |
-
<line num="391" type="stmt" count="2"/>
|
5406 |
-
<line num="392" type="stmt" count="2"/>
|
5407 |
<line num="394" type="stmt" count="3"/>
|
5408 |
-
<line num="
|
5409 |
-
<line num="
|
5410 |
-
<line num="
|
5411 |
-
<line num="
|
5412 |
-
<line num="
|
5413 |
-
<line num="
|
5414 |
-
<line num="
|
5415 |
-
<line num="
|
5416 |
-
<line num="
|
5417 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
5418 |
<line num="446" type="stmt" count="4"/>
|
5419 |
-
<line num="
|
5420 |
-
<line num="
|
5421 |
-
<line num="
|
5422 |
-
<line num="
|
5423 |
-
<line num="
|
5424 |
-
<line num="
|
5425 |
-
<line num="
|
5426 |
-
<line num="
|
5427 |
-
<line num="
|
5428 |
<line num="485" type="stmt" count="0"/>
|
5429 |
-
<line num="
|
5430 |
-
<line num="
|
5431 |
-
<line num="492" type="stmt" count="0"/>
|
5432 |
-
<line num="493" type="stmt" count="0"/>
|
5433 |
-
<line num="494" type="stmt" count="0"/>
|
5434 |
-
<line num="495" type="stmt" count="0"/>
|
5435 |
<line num="496" type="stmt" count="0"/>
|
5436 |
<line num="497" type="stmt" count="0"/>
|
5437 |
<line num="498" type="stmt" count="0"/>
|
5438 |
-
<line num="501" type="stmt" count="0"/>
|
5439 |
<line num="503" type="stmt" count="0"/>
|
5440 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
5441 |
<line num="512" type="stmt" count="0"/>
|
5442 |
-
<line num="513" type="stmt" count="0"/>
|
5443 |
<line num="514" type="stmt" count="0"/>
|
5444 |
-
<line num="
|
5445 |
-
<line num="517" type="stmt" count="0"/>
|
5446 |
-
<line num="519" type="stmt" count="0"/>
|
5447 |
-
<line num="520" type="stmt" count="0"/>
|
5448 |
-
<line num="521" type="stmt" count="0"/>
|
5449 |
<line num="523" type="stmt" count="0"/>
|
|
|
5450 |
<line num="525" type="stmt" count="0"/>
|
5451 |
<line num="527" type="stmt" count="0"/>
|
5452 |
<line num="528" type="stmt" count="0"/>
|
5453 |
-
<line num="
|
5454 |
<line num="531" type="stmt" count="0"/>
|
5455 |
-
<line num="
|
5456 |
<line num="534" type="stmt" count="0"/>
|
5457 |
-
<line num="
|
5458 |
-
<line num="537" type="stmt" count="0"/>
|
5459 |
<line num="538" type="stmt" count="0"/>
|
5460 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5461 |
</file>
|
5462 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-go-pro.php">
|
5463 |
<class name="Boldgrid_Backup_Admin_Go_Pro" namespace="global" fullPackage="Boldgrid.Backup.Admin.Go">
|
@@ -7626,7 +7627,7 @@
|
|
7626 |
</file>
|
7627 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-upload.php">
|
7628 |
<class name="Boldgrid_Backup_Admin_Upload" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7629 |
-
<metrics complexity="
|
7630 |
</class>
|
7631 |
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
7632 |
<line num="41" type="stmt" count="29"/>
|
@@ -7769,44 +7770,45 @@
|
|
7769 |
<line num="380" type="stmt" count="0"/>
|
7770 |
<line num="382" type="stmt" count="0"/>
|
7771 |
<line num="384" type="stmt" count="0"/>
|
7772 |
-
<line num="403" type="method" name="ajax_url_import" visibility="public" complexity="
|
|
|
7773 |
<line num="405" type="stmt" count="0"/>
|
7774 |
<line num="406" type="stmt" count="0"/>
|
7775 |
-
<line num="
|
7776 |
<line num="410" type="stmt" count="0"/>
|
7777 |
<line num="411" type="stmt" count="0"/>
|
7778 |
-
<line num="
|
7779 |
<line num="415" type="stmt" count="0"/>
|
7780 |
-
<line num="
|
7781 |
<line num="419" type="stmt" count="0"/>
|
7782 |
<line num="420" type="stmt" count="0"/>
|
7783 |
<line num="422" type="stmt" count="0"/>
|
7784 |
-
<line num="
|
7785 |
<line num="425" type="stmt" count="0"/>
|
7786 |
-
<line num="
|
7787 |
<line num="428" type="stmt" count="0"/>
|
7788 |
<line num="430" type="stmt" count="0"/>
|
7789 |
<line num="431" type="stmt" count="0"/>
|
7790 |
<line num="433" type="stmt" count="0"/>
|
7791 |
<line num="435" type="stmt" count="0"/>
|
7792 |
<line num="436" type="stmt" count="0"/>
|
7793 |
-
<line num="
|
7794 |
-
<line num="
|
7795 |
<line num="441" type="stmt" count="0"/>
|
7796 |
<line num="442" type="stmt" count="0"/>
|
7797 |
<line num="444" type="stmt" count="0"/>
|
|
|
7798 |
<line num="447" type="stmt" count="0"/>
|
7799 |
-
<line num="448" type="stmt" count="0"/>
|
7800 |
<line num="449" type="stmt" count="0"/>
|
7801 |
-
<line num="450" type="stmt" count="0"/>
|
7802 |
<line num="452" type="stmt" count="0"/>
|
7803 |
<line num="453" type="stmt" count="0"/>
|
7804 |
<line num="454" type="stmt" count="0"/>
|
7805 |
<line num="455" type="stmt" count="0"/>
|
7806 |
-
<line num="456" type="stmt" count="0"/>
|
7807 |
<line num="457" type="stmt" count="0"/>
|
7808 |
<line num="458" type="stmt" count="0"/>
|
|
|
7809 |
<line num="460" type="stmt" count="0"/>
|
|
|
7810 |
<line num="462" type="stmt" count="0"/>
|
7811 |
<line num="463" type="stmt" count="0"/>
|
7812 |
<line num="465" type="stmt" count="0"/>
|
@@ -7814,38 +7816,61 @@
|
|
7814 |
<line num="468" type="stmt" count="0"/>
|
7815 |
<line num="469" type="stmt" count="0"/>
|
7816 |
<line num="470" type="stmt" count="0"/>
|
7817 |
-
<line num="
|
7818 |
-
<line num="472" type="stmt" count="0"/>
|
7819 |
-
<line num="474" type="stmt" count="0"/>
|
7820 |
<line num="475" type="stmt" count="0"/>
|
|
|
7821 |
<line num="477" type="stmt" count="0"/>
|
7822 |
<line num="478" type="stmt" count="0"/>
|
7823 |
-
<line num="
|
7824 |
-
<line num="
|
7825 |
-
<line num="
|
|
|
|
|
|
|
7826 |
<line num="489" type="stmt" count="0"/>
|
7827 |
-
<line num="
|
7828 |
-
<line num="
|
7829 |
-
<line num="494" type="stmt" count="0"/>
|
7830 |
-
<line num="495" type="stmt" count="0"/>
|
7831 |
<line num="496" type="stmt" count="0"/>
|
7832 |
-
<line num="
|
7833 |
-
<line num="499" type="stmt" count="0"/>
|
7834 |
<line num="500" type="stmt" count="0"/>
|
7835 |
<line num="501" type="stmt" count="0"/>
|
|
|
7836 |
<line num="504" type="stmt" count="0"/>
|
|
|
7837 |
<line num="506" type="stmt" count="0"/>
|
7838 |
-
<line num="
|
7839 |
<line num="509" type="stmt" count="0"/>
|
7840 |
-
<line num="511" type="stmt" count="0"/>
|
7841 |
<line num="512" type="stmt" count="0"/>
|
7842 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
7843 |
<line num="520" type="stmt" count="0"/>
|
7844 |
<line num="521" type="stmt" count="0"/>
|
7845 |
<line num="522" type="stmt" count="0"/>
|
7846 |
<line num="523" type="stmt" count="0"/>
|
7847 |
-
<line num="
|
7848 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7849 |
</file>
|
7850 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-usage.php">
|
7851 |
<class name="Boldgrid_Backup_Admin_Usage" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -14299,7 +14324,13 @@
|
|
14299 |
<line num="147" type="stmt" count="0"/>
|
14300 |
<line num="148" type="stmt" count="0"/>
|
14301 |
<line num="149" type="stmt" count="0"/>
|
14302 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
14303 |
</file>
|
14304 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/cli/bgbkup-cli.php">
|
14305 |
<line num="27" type="stmt" count="0"/>
|
@@ -14343,387 +14374,402 @@
|
|
14343 |
</file>
|
14344 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/cli/class-info.php">
|
14345 |
<class name="Info" namespace="Boldgrid\Backup\Cli">
|
14346 |
-
<metrics complexity="
|
14347 |
</class>
|
14348 |
-
<line num="56" type="method" name="get_results_filepath" visibility="public" complexity="2" crap="2" count="
|
14349 |
-
<line num="57" type="stmt" count="
|
14350 |
<line num="58" type="stmt" count="1"/>
|
14351 |
<line num="59" type="stmt" count="1"/>
|
14352 |
-
<line num="61" type="stmt" count="
|
14353 |
-
<line num="
|
14354 |
-
<line num="
|
14355 |
-
<line num="
|
14356 |
-
<line num="
|
14357 |
-
<line num="
|
14358 |
-
<line num="
|
14359 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
14360 |
<line num="90" type="stmt" count="1"/>
|
14361 |
<line num="91" type="stmt" count="1"/>
|
14362 |
<line num="92" type="stmt" count="1"/>
|
14363 |
<line num="93" type="stmt" count="1"/>
|
14364 |
<line num="94" type="stmt" count="1"/>
|
14365 |
-
<line num="95" type="stmt" count="1"/>
|
14366 |
<line num="96" type="stmt" count="1"/>
|
14367 |
-
<line num="
|
14368 |
-
<line num="
|
14369 |
-
<line num="
|
14370 |
-
<line num="
|
14371 |
-
<line num="
|
14372 |
-
<line num="
|
14373 |
-
<line num="
|
14374 |
-
<line num="
|
14375 |
-
<line num="
|
14376 |
-
<line num="
|
14377 |
-
<line num="
|
14378 |
-
<line num="
|
14379 |
-
<line num="
|
14380 |
-
<line num="
|
14381 |
-
<line num="
|
14382 |
-
<line num="
|
14383 |
-
<line num="
|
14384 |
-
<line num="
|
14385 |
-
<line num="
|
14386 |
-
<line num="
|
14387 |
-
<line num="
|
14388 |
-
<line num="
|
14389 |
-
<line num="
|
14390 |
-
<line num="
|
14391 |
-
<line num="
|
14392 |
-
<line num="
|
14393 |
-
<line num="
|
14394 |
-
<line num="182" type="
|
14395 |
-
<line num="183" type="stmt" count="
|
14396 |
-
<line num="
|
14397 |
-
<line num="185" type="stmt" count="0"/>
|
14398 |
<line num="186" type="stmt" count="0"/>
|
14399 |
<line num="187" type="stmt" count="0"/>
|
14400 |
<line num="188" type="stmt" count="0"/>
|
14401 |
-
<line num="
|
14402 |
-
<line num="
|
14403 |
-
<line num="
|
14404 |
-
<line num="
|
14405 |
-
<line num="
|
14406 |
-
<line num="
|
14407 |
-
<line num="
|
14408 |
-
<line num="
|
14409 |
-
<line num="
|
14410 |
-
<line num="
|
14411 |
-
<line num="
|
14412 |
-
<line num="
|
14413 |
-
<line num="
|
14414 |
-
<line num="
|
14415 |
-
<line num="
|
14416 |
-
<line num="224" type="stmt" count="
|
14417 |
<line num="225" type="stmt" count="0"/>
|
14418 |
-
<line num="
|
14419 |
-
<line num="
|
14420 |
-
<line num="
|
14421 |
-
<line num="
|
14422 |
-
<line num="
|
14423 |
-
<line num="
|
14424 |
-
<line num="
|
14425 |
-
<line num="
|
14426 |
-
<line num="
|
14427 |
-
<line num="
|
14428 |
-
<line num="
|
14429 |
-
<line num="
|
14430 |
-
<line num="
|
14431 |
-
<line num="
|
14432 |
-
<line num="
|
14433 |
-
<line num="
|
14434 |
-
<line num="
|
14435 |
-
<line num="
|
14436 |
-
<line num="
|
14437 |
-
<line num="
|
14438 |
-
<line num="
|
14439 |
-
<line num="
|
14440 |
-
<line num="
|
14441 |
-
<line num="
|
14442 |
-
<line num="
|
14443 |
-
<line num="
|
14444 |
-
<line num="
|
14445 |
-
<line num="
|
14446 |
-
<line num="
|
14447 |
-
<line num="
|
14448 |
-
<line num="
|
14449 |
-
<line num="
|
14450 |
-
<line num="
|
14451 |
-
<line num="
|
14452 |
-
<line num="
|
14453 |
-
<line num="
|
14454 |
-
<line num="
|
14455 |
-
<line num="
|
14456 |
-
<line num="339" type="stmt" count="
|
14457 |
-
<line num="
|
14458 |
-
<line num="
|
14459 |
-
<line num="
|
14460 |
-
<line num="
|
14461 |
-
<line num="
|
14462 |
-
<line num="
|
14463 |
-
<line num="362" type="
|
14464 |
<line num="363" type="stmt" count="1"/>
|
14465 |
<line num="364" type="stmt" count="1"/>
|
14466 |
<line num="365" type="stmt" count="1"/>
|
14467 |
-
<line num="
|
14468 |
-
<line num="
|
14469 |
-
<line num="
|
14470 |
-
<line num="
|
14471 |
-
<line num="
|
14472 |
-
<line num="
|
14473 |
-
<line num="
|
14474 |
-
<line num="
|
14475 |
-
<line num="
|
14476 |
-
<line num="
|
14477 |
-
<line num="
|
14478 |
-
<line num="
|
14479 |
-
<line num="
|
14480 |
-
<line num="
|
14481 |
-
<line num="
|
14482 |
-
<line num="
|
14483 |
-
<line num="
|
14484 |
-
<line num="417" type="stmt" count="1"/>
|
14485 |
<line num="418" type="stmt" count="1"/>
|
14486 |
-
<line num="
|
14487 |
-
<line num="
|
14488 |
-
<line num="
|
|
|
|
|
|
|
14489 |
<line num="442" type="stmt" count="1"/>
|
14490 |
-
<line num="443" type="stmt" count="1"/>
|
14491 |
<line num="444" type="stmt" count="1"/>
|
|
|
|
|
14492 |
<line num="447" type="stmt" count="1"/>
|
14493 |
-
<line num="448" type="stmt" count="
|
14494 |
-
<line num="449" type="stmt" count="
|
14495 |
-
<line num="
|
14496 |
-
<line num="452" type="stmt" count="
|
14497 |
-
<line num="453" type="stmt" count="
|
14498 |
-
<line num="
|
14499 |
-
<line num="
|
14500 |
-
<line num="
|
14501 |
-
<line num="457" type="stmt" count="0"/>
|
14502 |
-
<line num="459" type="stmt" count="0"/>
|
14503 |
-
<line num="460" type="stmt" count="0"/>
|
14504 |
-
<line num="461" type="stmt" count="1"/>
|
14505 |
-
<line num="462" type="stmt" count="0"/>
|
14506 |
-
<line num="463" type="stmt" count="0"/>
|
14507 |
-
<line num="464" type="stmt" count="0"/>
|
14508 |
-
<line num="466" type="stmt" count="0"/>
|
14509 |
-
<line num="467" type="stmt" count="0"/>
|
14510 |
-
<line num="468" type="stmt" count="1"/>
|
14511 |
-
<line num="469" type="stmt" count="0"/>
|
14512 |
-
<line num="470" type="stmt" count="0"/>
|
14513 |
-
<line num="471" type="stmt" count="0"/>
|
14514 |
-
<line num="473" type="stmt" count="0"/>
|
14515 |
-
<line num="474" type="stmt" count="0"/>
|
14516 |
-
<line num="475" type="stmt" count="1"/>
|
14517 |
<line num="477" type="stmt" count="1"/>
|
14518 |
<line num="478" type="stmt" count="1"/>
|
14519 |
<line num="479" type="stmt" count="1"/>
|
14520 |
-
<line num="
|
14521 |
-
<line num="481" type="stmt" count="0"/>
|
14522 |
-
<line num="482" type="stmt" count="0"/>
|
14523 |
<line num="483" type="stmt" count="0"/>
|
14524 |
<line num="484" type="stmt" count="0"/>
|
14525 |
<line num="485" type="stmt" count="0"/>
|
14526 |
-
<line num="486" type="stmt" count="0"/>
|
14527 |
<line num="487" type="stmt" count="0"/>
|
14528 |
<line num="488" type="stmt" count="0"/>
|
14529 |
-
<line num="489" type="stmt" count="
|
14530 |
<line num="490" type="stmt" count="0"/>
|
14531 |
-
<line num="491" type="stmt" count="
|
14532 |
<line num="492" type="stmt" count="0"/>
|
14533 |
-
<line num="
|
14534 |
<line num="495" type="stmt" count="0"/>
|
14535 |
-
<line num="496" type="stmt" count="
|
14536 |
-
<line num="497" type="stmt" count="
|
14537 |
-
<line num="
|
14538 |
-
<line num="
|
14539 |
-
<line num="
|
14540 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14541 |
<line num="516" type="stmt" count="0"/>
|
14542 |
<line num="517" type="stmt" count="0"/>
|
|
|
14543 |
<line num="519" type="stmt" count="0"/>
|
14544 |
<line num="520" type="stmt" count="0"/>
|
14545 |
<line num="521" type="stmt" count="0"/>
|
14546 |
<line num="522" type="stmt" count="0"/>
|
|
|
14547 |
<line num="524" type="stmt" count="0"/>
|
14548 |
<line num="525" type="stmt" count="0"/>
|
|
|
14549 |
<line num="527" type="stmt" count="0"/>
|
14550 |
-
<line num="
|
14551 |
-
<line num="
|
14552 |
-
<line num="
|
14553 |
-
<line num="
|
14554 |
-
<line num="
|
14555 |
-
<line num="
|
14556 |
-
<line num="
|
14557 |
-
<line num="
|
14558 |
-
<line num="
|
14559 |
-
<line num="
|
14560 |
-
<line num="
|
14561 |
-
<line num="
|
14562 |
-
<line num="
|
14563 |
-
<line num="
|
14564 |
-
<line num="
|
14565 |
-
<line num="
|
14566 |
-
<line num="
|
14567 |
-
<line num="
|
14568 |
-
<line num="
|
14569 |
-
<line num="578" type="stmt" count="0"/>
|
14570 |
-
<line num="579" type="stmt" count="0"/>
|
14571 |
-
<line num="580" type="stmt" count="0"/>
|
14572 |
-
<line num="581" type="stmt" count="0"/>
|
14573 |
-
<line num="583" type="stmt" count="0"/>
|
14574 |
-
<line num="584" type="stmt" count="0"/>
|
14575 |
-
<line num="585" type="stmt" count="0"/>
|
14576 |
-
<line num="586" type="stmt" count="0"/>
|
14577 |
-
<line num="587" type="stmt" count="0"/>
|
14578 |
-
<line num="588" type="stmt" count="0"/>
|
14579 |
<line num="589" type="stmt" count="0"/>
|
14580 |
-
<line num="
|
14581 |
-
<line num="
|
14582 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14583 |
<line num="609" type="stmt" count="0"/>
|
14584 |
<line num="610" type="stmt" count="0"/>
|
14585 |
-
<line num="
|
14586 |
<line num="613" type="stmt" count="0"/>
|
|
|
|
|
14587 |
<line num="616" type="stmt" count="0"/>
|
14588 |
<line num="617" type="stmt" count="0"/>
|
14589 |
<line num="618" type="stmt" count="0"/>
|
14590 |
<line num="619" type="stmt" count="0"/>
|
14591 |
-
<line num="
|
14592 |
-
<line num="
|
14593 |
-
<line num="
|
14594 |
-
<line num="
|
14595 |
-
<line num="
|
14596 |
-
<line num="
|
14597 |
-
<line num="
|
14598 |
-
<line num="
|
14599 |
-
<line num="634" type="stmt" count="0"/>
|
14600 |
-
<line num="646" type="method" name="set_info_item" visibility="public" complexity="3" crap="12" count="0"/>
|
14601 |
<line num="647" type="stmt" count="0"/>
|
14602 |
<line num="648" type="stmt" count="0"/>
|
14603 |
<line num="649" type="stmt" count="0"/>
|
14604 |
-
<line num="
|
14605 |
-
<line num="
|
14606 |
-
<line num="
|
14607 |
-
<line num="
|
14608 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
14609 |
<line num="677" type="stmt" count="0"/>
|
14610 |
<line num="678" type="stmt" count="0"/>
|
14611 |
<line num="679" type="stmt" count="0"/>
|
14612 |
<line num="680" type="stmt" count="0"/>
|
14613 |
-
<line num="
|
14614 |
-
<line num="
|
14615 |
-
<line num="
|
14616 |
-
<line num="
|
14617 |
-
<line num="691" type="stmt" count="0"/>
|
14618 |
-
<line num="693" type="stmt" count="0"/>
|
14619 |
-
<line num="697" type="stmt" count="0"/>
|
14620 |
-
<line num="698" type="stmt" count="0"/>
|
14621 |
-
<line num="699" type="stmt" count="0"/>
|
14622 |
-
<line num="700" type="stmt" count="0"/>
|
14623 |
-
<line num="701" type="stmt" count="0"/>
|
14624 |
-
<line num="704" type="stmt" count="0"/>
|
14625 |
-
<line num="705" type="stmt" count="0"/>
|
14626 |
-
<line num="706" type="stmt" count="0"/>
|
14627 |
<line num="707" type="stmt" count="0"/>
|
14628 |
<line num="708" type="stmt" count="0"/>
|
14629 |
<line num="709" type="stmt" count="0"/>
|
14630 |
-
<line num="
|
14631 |
-
<line num="
|
14632 |
-
<line num="
|
14633 |
-
<line num="
|
14634 |
-
<line num="715" type="stmt" count="0"/>
|
14635 |
-
<line num="716" type="stmt" count="0"/>
|
14636 |
-
<line num="718" type="stmt" count="0"/>
|
14637 |
<line num="719" type="stmt" count="0"/>
|
14638 |
-
<line num="720" type="stmt" count="0"/>
|
14639 |
<line num="721" type="stmt" count="0"/>
|
14640 |
-
<line num="
|
14641 |
-
<line num="724" type="stmt" count="0"/>
|
14642 |
-
<line num="725" type="stmt" count="0"/>
|
14643 |
-
<line num="726" type="stmt" count="0"/>
|
14644 |
<line num="727" type="stmt" count="0"/>
|
14645 |
<line num="728" type="stmt" count="0"/>
|
14646 |
<line num="729" type="stmt" count="0"/>
|
14647 |
-
<line num="
|
|
|
14648 |
<line num="734" type="stmt" count="0"/>
|
14649 |
-
<line num="
|
14650 |
-
<line num="
|
14651 |
-
<line num="
|
14652 |
-
<line num="
|
14653 |
-
<line num="
|
14654 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14655 |
<line num="762" type="stmt" count="0"/>
|
14656 |
-
<line num="
|
14657 |
-
<line num="
|
14658 |
-
<line num="
|
14659 |
-
<line num="
|
14660 |
-
<line num="
|
14661 |
-
<line num="774" type="stmt" count="0"/>
|
14662 |
-
<line num="777" type="stmt" count="0"/>
|
14663 |
-
<line num="779" type="stmt" count="0"/>
|
14664 |
-
<line num="781" type="stmt" count="0"/>
|
14665 |
-
<line num="782" type="stmt" count="0"/>
|
14666 |
-
<line num="783" type="stmt" count="0"/>
|
14667 |
-
<line num="785" type="stmt" count="0"/>
|
14668 |
-
<line num="786" type="stmt" count="0"/>
|
14669 |
-
<line num="787" type="stmt" count="0"/>
|
14670 |
-
<line num="788" type="stmt" count="0"/>
|
14671 |
-
<line num="789" type="stmt" count="0"/>
|
14672 |
<line num="790" type="stmt" count="0"/>
|
14673 |
<line num="791" type="stmt" count="0"/>
|
14674 |
<line num="792" type="stmt" count="0"/>
|
14675 |
-
<line num="794" type="stmt" count="0"/>
|
14676 |
<line num="795" type="stmt" count="0"/>
|
|
|
14677 |
<line num="797" type="stmt" count="0"/>
|
14678 |
-
<line num="
|
14679 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14680 |
<line num="820" type="stmt" count="0"/>
|
14681 |
<line num="821" type="stmt" count="0"/>
|
|
|
|
|
14682 |
<line num="825" type="stmt" count="0"/>
|
14683 |
<line num="827" type="stmt" count="0"/>
|
14684 |
-
<line num="828" type="stmt" count="0"/>
|
14685 |
<line num="829" type="stmt" count="0"/>
|
14686 |
-
<line num="
|
14687 |
-
<line num="
|
14688 |
-
<line num="836" type="stmt" count="0"/>
|
14689 |
-
<line num="837" type="stmt" count="0"/>
|
14690 |
-
<line num="838" type="stmt" count="0"/>
|
14691 |
-
<line num="839" type="stmt" count="0"/>
|
14692 |
-
<line num="840" type="stmt" count="0"/>
|
14693 |
-
<line num="843" type="stmt" count="0"/>
|
14694 |
-
<line num="844" type="stmt" count="0"/>
|
14695 |
-
<line num="845" type="stmt" count="0"/>
|
14696 |
-
<line num="846" type="stmt" count="0"/>
|
14697 |
-
<line num="847" type="stmt" count="0"/>
|
14698 |
<line num="851" type="stmt" count="0"/>
|
14699 |
-
<line num="853" type="stmt" count="0"/>
|
14700 |
-
<line num="854" type="stmt" count="0"/>
|
14701 |
<line num="855" type="stmt" count="0"/>
|
14702 |
-
<line num="
|
|
|
|
|
14703 |
<line num="860" type="stmt" count="0"/>
|
14704 |
-
<line num="862" type="stmt" count="0"/>
|
14705 |
<line num="863" type="stmt" count="0"/>
|
14706 |
-
<line num="864" type="stmt" count="0"/>
|
14707 |
-
<line num="865" type="stmt" count="0"/>
|
14708 |
<line num="866" type="stmt" count="0"/>
|
14709 |
<line num="867" type="stmt" count="0"/>
|
|
|
|
|
14710 |
<line num="870" type="stmt" count="0"/>
|
14711 |
<line num="873" type="stmt" count="0"/>
|
|
|
14712 |
<line num="875" type="stmt" count="0"/>
|
14713 |
<line num="876" type="stmt" count="0"/>
|
14714 |
<line num="877" type="stmt" count="0"/>
|
14715 |
-
<line num="
|
14716 |
-
<line num="
|
14717 |
<line num="884" type="stmt" count="0"/>
|
14718 |
<line num="885" type="stmt" count="0"/>
|
14719 |
<line num="886" type="stmt" count="0"/>
|
14720 |
-
<line num="
|
14721 |
-
<line num="888" type="stmt" count="0"/>
|
14722 |
-
<line num="891" type="stmt" count="0"/>
|
14723 |
<line num="892" type="stmt" count="0"/>
|
14724 |
<line num="893" type="stmt" count="0"/>
|
|
|
14725 |
<line num="895" type="stmt" count="0"/>
|
14726 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14727 |
</file>
|
14728 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/cli/class-log.php">
|
14729 |
<class name="Log" namespace="Boldgrid\Backup\Cli">
|
@@ -15040,19 +15086,24 @@
|
|
15040 |
</package>
|
15041 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/cli/env-info.php">
|
15042 |
<line num="16" type="stmt" count="0"/>
|
15043 |
-
<line num="17" type="stmt" count="0"/>
|
15044 |
-
<line num="18" type="stmt" count="0"/>
|
15045 |
<line num="19" type="stmt" count="0"/>
|
15046 |
<line num="20" type="stmt" count="0"/>
|
15047 |
<line num="21" type="stmt" count="0"/>
|
15048 |
<line num="22" type="stmt" count="0"/>
|
15049 |
-
<line num="23" type="stmt" count="0"/>
|
15050 |
<line num="24" type="stmt" count="0"/>
|
15051 |
<line num="25" type="stmt" count="0"/>
|
15052 |
<line num="26" type="stmt" count="0"/>
|
15053 |
<line num="27" type="stmt" count="0"/>
|
15054 |
<line num="28" type="stmt" count="0"/>
|
15055 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15056 |
</file>
|
15057 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/cli/wp-test.php">
|
15058 |
<line num="22" type="stmt" count="0"/>
|
@@ -15518,7 +15569,7 @@
|
|
15518 |
</file>
|
15519 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
|
15520 |
<class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
|
15521 |
-
<metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="
|
15522 |
</class>
|
15523 |
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
15524 |
<line num="67" type="stmt" count="0"/>
|
@@ -15647,102 +15698,102 @@
|
|
15647 |
<line num="306" type="stmt" count="0"/>
|
15648 |
<line num="308" type="stmt" count="0"/>
|
15649 |
<line num="310" type="stmt" count="0"/>
|
15650 |
-
<line num="
|
15651 |
-
<line num="
|
15652 |
-
<line num="
|
15653 |
<line num="325" type="stmt" count="0"/>
|
15654 |
-
<line num="
|
15655 |
-
<line num="
|
15656 |
-
<line num="336" type="
|
15657 |
<line num="338" type="stmt" count="0"/>
|
15658 |
-
<line num="
|
15659 |
-
<line num="
|
15660 |
-
<line num="345" type="stmt" count="0"/>
|
15661 |
<line num="346" type="stmt" count="0"/>
|
|
|
15662 |
<line num="348" type="stmt" count="0"/>
|
15663 |
-
<line num="349" type="stmt" count="0"/>
|
15664 |
<line num="350" type="stmt" count="0"/>
|
15665 |
-
<line num="
|
15666 |
-
<line num="
|
15667 |
<line num="355" type="stmt" count="0"/>
|
15668 |
<line num="356" type="stmt" count="0"/>
|
15669 |
-
<line num="
|
15670 |
-
<line num="
|
15671 |
<line num="361" type="stmt" count="0"/>
|
15672 |
<line num="362" type="stmt" count="0"/>
|
|
|
15673 |
<line num="364" type="stmt" count="0"/>
|
15674 |
-
<line num="365" type="stmt" count="0"/>
|
15675 |
<line num="366" type="stmt" count="0"/>
|
15676 |
<line num="367" type="stmt" count="0"/>
|
15677 |
<line num="368" type="stmt" count="0"/>
|
15678 |
-
<line num="
|
15679 |
-
<line num="
|
15680 |
<line num="373" type="stmt" count="0"/>
|
15681 |
<line num="374" type="stmt" count="0"/>
|
15682 |
-
<line num="
|
15683 |
-
<line num="
|
15684 |
<line num="379" type="stmt" count="0"/>
|
15685 |
<line num="380" type="stmt" count="0"/>
|
15686 |
-
<line num="
|
15687 |
-
<line num="
|
15688 |
<line num="385" type="stmt" count="0"/>
|
15689 |
<line num="386" type="stmt" count="0"/>
|
15690 |
-
<line num="
|
15691 |
-
<line num="
|
15692 |
<line num="391" type="stmt" count="0"/>
|
15693 |
<line num="392" type="stmt" count="0"/>
|
15694 |
-
<line num="
|
15695 |
-
<line num="
|
15696 |
<line num="397" type="stmt" count="0"/>
|
15697 |
<line num="398" type="stmt" count="0"/>
|
15698 |
-
<line num="
|
15699 |
-
<line num="
|
15700 |
<line num="403" type="stmt" count="0"/>
|
15701 |
<line num="404" type="stmt" count="0"/>
|
|
|
15702 |
<line num="406" type="stmt" count="0"/>
|
15703 |
-
<line num="407" type="stmt" count="0"/>
|
15704 |
<line num="408" type="stmt" count="0"/>
|
15705 |
-
<line num="
|
15706 |
-
<line num="
|
15707 |
<line num="413" type="stmt" count="0"/>
|
15708 |
<line num="414" type="stmt" count="0"/>
|
15709 |
-
<line num="
|
15710 |
-
<line num="
|
15711 |
<line num="419" type="stmt" count="0"/>
|
15712 |
<line num="420" type="stmt" count="0"/>
|
|
|
15713 |
<line num="422" type="stmt" count="0"/>
|
15714 |
-
<line num="423" type="stmt" count="0"/>
|
15715 |
<line num="424" type="stmt" count="0"/>
|
15716 |
<line num="425" type="stmt" count="0"/>
|
15717 |
<line num="426" type="stmt" count="0"/>
|
15718 |
<line num="427" type="stmt" count="0"/>
|
|
|
15719 |
<line num="429" type="stmt" count="0"/>
|
15720 |
<line num="431" type="stmt" count="0"/>
|
15721 |
<line num="433" type="stmt" count="0"/>
|
15722 |
<line num="435" type="stmt" count="0"/>
|
15723 |
-
<line num="436" type="stmt" count="0"/>
|
15724 |
<line num="437" type="stmt" count="0"/>
|
|
|
15725 |
<line num="439" type="stmt" count="0"/>
|
15726 |
-
<line num="
|
15727 |
<line num="442" type="stmt" count="0"/>
|
15728 |
<line num="444" type="stmt" count="0"/>
|
15729 |
<line num="446" type="stmt" count="0"/>
|
15730 |
<line num="448" type="stmt" count="0"/>
|
15731 |
<line num="450" type="stmt" count="0"/>
|
15732 |
-
<line num="451" type="stmt" count="0"/>
|
15733 |
<line num="452" type="stmt" count="0"/>
|
|
|
15734 |
<line num="454" type="stmt" count="0"/>
|
15735 |
<line num="456" type="stmt" count="0"/>
|
15736 |
-
<line num="457" type="stmt" count="0"/>
|
15737 |
<line num="458" type="stmt" count="0"/>
|
15738 |
<line num="459" type="stmt" count="0"/>
|
|
|
15739 |
<line num="461" type="stmt" count="0"/>
|
15740 |
<line num="463" type="stmt" count="0"/>
|
15741 |
<line num="465" type="stmt" count="0"/>
|
15742 |
<line num="467" type="stmt" count="0"/>
|
15743 |
<line num="469" type="stmt" count="0"/>
|
15744 |
<line num="471" type="stmt" count="0"/>
|
15745 |
-
<line num="
|
15746 |
<line num="478" type="stmt" count="0"/>
|
15747 |
<line num="480" type="stmt" count="0"/>
|
15748 |
<line num="482" type="stmt" count="0"/>
|
@@ -15750,69 +15801,70 @@
|
|
15750 |
<line num="486" type="stmt" count="0"/>
|
15751 |
<line num="488" type="stmt" count="0"/>
|
15752 |
<line num="490" type="stmt" count="0"/>
|
15753 |
-
<line num="
|
15754 |
<line num="493" type="stmt" count="0"/>
|
15755 |
-
<line num="
|
15756 |
<line num="496" type="stmt" count="0"/>
|
15757 |
<line num="498" type="stmt" count="0"/>
|
15758 |
-
<line num="499" type="stmt" count="0"/>
|
15759 |
<line num="500" type="stmt" count="0"/>
|
|
|
15760 |
<line num="502" type="stmt" count="0"/>
|
15761 |
<line num="504" type="stmt" count="0"/>
|
15762 |
-
<line num="
|
15763 |
-
<line num="
|
15764 |
-
<line num="509" type="stmt" count="0"/>
|
15765 |
<line num="510" type="stmt" count="0"/>
|
15766 |
-
<line num="
|
15767 |
-
<line num="
|
15768 |
-
<line num="
|
15769 |
-
<line num="
|
15770 |
-
<line num="
|
15771 |
-
<line num="
|
|
|
15772 |
<line num="528" type="stmt" count="0"/>
|
15773 |
<line num="530" type="stmt" count="0"/>
|
15774 |
<line num="532" type="stmt" count="0"/>
|
15775 |
<line num="534" type="stmt" count="0"/>
|
15776 |
-
<line num="
|
15777 |
-
<line num="538" type="stmt" count="0"/>
|
15778 |
<line num="539" type="stmt" count="0"/>
|
15779 |
<line num="540" type="stmt" count="0"/>
|
15780 |
<line num="541" type="stmt" count="0"/>
|
15781 |
<line num="542" type="stmt" count="0"/>
|
15782 |
-
<line num="
|
15783 |
-
<line num="
|
15784 |
-
<line num="
|
|
|
15785 |
<line num="551" type="stmt" count="0"/>
|
15786 |
<line num="553" type="stmt" count="0"/>
|
15787 |
-
<line num="554" type="stmt" count="0"/>
|
15788 |
<line num="555" type="stmt" count="0"/>
|
15789 |
<line num="556" type="stmt" count="0"/>
|
15790 |
<line num="557" type="stmt" count="0"/>
|
15791 |
<line num="558" type="stmt" count="0"/>
|
15792 |
-
<line num="
|
15793 |
-
<line num="
|
15794 |
<line num="563" type="stmt" count="0"/>
|
15795 |
-
<line num="
|
15796 |
-
<line num="
|
15797 |
-
<line num="
|
15798 |
<line num="575" type="stmt" count="0"/>
|
|
|
15799 |
<line num="577" type="stmt" count="0"/>
|
15800 |
-
<line num="
|
15801 |
<line num="580" type="stmt" count="0"/>
|
15802 |
-
<line num="
|
15803 |
-
<line num="
|
15804 |
-
<line num="
|
15805 |
-
<line num="
|
15806 |
-
<line num="
|
15807 |
-
<line num="
|
15808 |
-
<line num="
|
15809 |
-
<line num="
|
15810 |
-
<line num="
|
15811 |
-
<line num="
|
15812 |
-
<line num="
|
15813 |
-
<line num="
|
15814 |
-
<line num="
|
15815 |
-
<
|
|
|
15816 |
</file>
|
15817 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
|
15818 |
<line num="17" type="stmt" count="0"/>
|
@@ -77001,7 +77053,7 @@
|
|
77001 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
77002 |
</file>
|
77003 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
77004 |
-
<class name="
|
77005 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
77006 |
</class>
|
77007 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -77093,7 +77145,7 @@
|
|
77093 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
77094 |
</file>
|
77095 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
77096 |
-
<class name="
|
77097 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
77098 |
</class>
|
77099 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -96338,6 +96390,6 @@
|
|
96338 |
<line num="16" type="stmt" count="0"/>
|
96339 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
96340 |
</file>
|
96341 |
-
<metrics files="964" loc="
|
96342 |
</project>
|
96343 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1607985674">
|
3 |
+
<project timestamp="1607985674">
|
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">
|
5290 |
</file>
|
5291 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-folder-exclusion.php">
|
5292 |
<class name="Boldgrid_Backup_Admin_Folder_Exclusion" namespace="global" fullPackage="Boldgrid.Backup.Admin.Folder">
|
5293 |
+
<metrics complexity="59" methods="11" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="155" coveredstatements="78" elements="166" coveredelements="82"/>
|
5294 |
</class>
|
5295 |
+
<line num="121" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
5296 |
+
<line num="122" type="stmt" count="29"/>
|
5297 |
+
<line num="139" type="stmt" count="29"/>
|
5298 |
+
<line num="140" type="stmt" count="29"/>
|
5299 |
+
<line num="143" type="stmt" count="29"/>
|
5300 |
+
<line num="144" type="stmt" count="29"/>
|
5301 |
+
<line num="154" type="method" name="allow_file" visibility="public" complexity="12" crap="13.58" count="4"/>
|
5302 |
+
<line num="156" type="stmt" count="4"/>
|
5303 |
+
<line num="157" type="stmt" count="0"/>
|
5304 |
+
<line num="161" type="stmt" count="4"/>
|
5305 |
+
<line num="162" type="stmt" count="0"/>
|
5306 |
+
<line num="165" type="stmt" count="4"/>
|
5307 |
+
<line num="166" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
5308 |
<line num="170" type="stmt" count="4"/>
|
5309 |
<line num="171" type="stmt" count="4"/>
|
|
|
|
|
5310 |
<line num="174" type="stmt" count="4"/>
|
5311 |
+
<line num="175" type="stmt" count="4"/>
|
5312 |
<line num="178" type="stmt" count="4"/>
|
5313 |
+
<line num="179" type="stmt" count="4"/>
|
5314 |
+
<line num="181" type="stmt" count="4"/>
|
5315 |
<line num="182" type="stmt" count="4"/>
|
5316 |
+
<line num="183" type="stmt" count="4"/>
|
5317 |
+
<line num="184" type="stmt" count="4"/>
|
5318 |
+
<line num="185" type="stmt" count="4"/>
|
5319 |
+
<line num="188" type="stmt" count="4"/>
|
5320 |
+
<line num="189" type="stmt" count="4"/>
|
5321 |
+
<line num="193" type="stmt" count="4"/>
|
5322 |
+
<line num="194" type="stmt" count="0"/>
|
5323 |
+
<line num="197" type="stmt" count="4"/>
|
5324 |
+
<line num="198" type="stmt" count="4"/>
|
5325 |
+
<line num="199" type="stmt" count="0"/>
|
5326 |
+
<line num="200" type="stmt" count="0"/>
|
5327 |
+
<line num="201" type="stmt" count="4"/>
|
5328 |
+
<line num="203" type="stmt" count="4"/>
|
5329 |
+
<line num="215" type="method" name="email_part" visibility="public" complexity="5" crap="5" count="4"/>
|
5330 |
+
<line num="216" type="stmt" count="4"/>
|
|
|
|
|
5331 |
<line num="218" type="stmt" count="4"/>
|
5332 |
<line num="219" type="stmt" count="4"/>
|
5333 |
+
<line num="221" type="stmt" count="4"/>
|
5334 |
<line num="222" type="stmt" count="4"/>
|
5335 |
<line num="223" type="stmt" count="4"/>
|
5336 |
<line num="225" type="stmt" count="4"/>
|
5337 |
<line num="226" type="stmt" count="4"/>
|
|
|
5338 |
<line num="228" type="stmt" count="4"/>
|
5339 |
+
<line num="229" type="stmt" count="4"/>
|
5340 |
<line num="230" type="stmt" count="4"/>
|
5341 |
+
<line num="231" type="stmt" count="4"/>
|
5342 |
+
<line num="233" type="stmt" count="4"/>
|
5343 |
+
<line num="234" type="stmt" count="4"/>
|
5344 |
+
<line num="236" type="stmt" count="4"/>
|
5345 |
+
<line num="237" type="stmt" count="4"/>
|
5346 |
+
<line num="238" type="stmt" count="4"/>
|
5347 |
+
<line num="239" type="stmt" count="4"/>
|
5348 |
+
<line num="241" type="stmt" count="4"/>
|
5349 |
+
<line num="264" type="method" name="create_pattern" visibility="public" complexity="2" crap="2" count="4"/>
|
5350 |
+
<line num="265" type="stmt" count="4"/>
|
5351 |
+
<line num="268" type="stmt" count="4"/>
|
5352 |
<line num="271" type="stmt" count="4"/>
|
5353 |
+
<line num="272" type="stmt" count="4"/>
|
5354 |
+
<line num="282" type="stmt" count="4"/>
|
5355 |
+
<line num="289" type="stmt" count="4"/>
|
5356 |
+
<line num="295" type="stmt" count="4"/>
|
5357 |
+
<line num="297" type="stmt" count="4"/>
|
5358 |
+
<line num="305" type="method" name="enqueue_scripts" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5359 |
<line num="306" type="stmt" count="0"/>
|
5360 |
<line num="307" type="stmt" count="0"/>
|
5361 |
<line num="308" type="stmt" count="0"/>
|
5362 |
<line num="309" type="stmt" count="0"/>
|
5363 |
<line num="310" type="stmt" count="0"/>
|
5364 |
<line num="311" type="stmt" count="0"/>
|
5365 |
+
<line num="313" type="stmt" count="0"/>
|
5366 |
<line num="315" type="stmt" count="0"/>
|
5367 |
<line num="316" type="stmt" count="0"/>
|
5368 |
+
<line num="317" type="stmt" count="0"/>
|
5369 |
<line num="318" type="stmt" count="0"/>
|
5370 |
+
<line num="319" type="stmt" count="0"/>
|
5371 |
<line num="320" type="stmt" count="0"/>
|
5372 |
<line num="321" type="stmt" count="0"/>
|
5373 |
<line num="322" type="stmt" count="0"/>
|
5374 |
+
<line num="325" type="stmt" count="0"/>
|
5375 |
+
<line num="326" type="stmt" count="0"/>
|
5376 |
+
<line num="327" type="stmt" count="0"/>
|
5377 |
+
<line num="329" type="stmt" count="0"/>
|
5378 |
+
<line num="331" type="stmt" count="0"/>
|
5379 |
+
<line num="332" type="stmt" count="0"/>
|
5380 |
+
<line num="333" type="stmt" count="0"/>
|
5381 |
+
<line num="344" type="method" name="from_settings" visibility="public" complexity="16" crap="33.31" count="15"/>
|
5382 |
+
<line num="345" type="stmt" count="15"/>
|
5383 |
+
<line num="346" type="stmt" count="0"/>
|
5384 |
<line num="349" type="stmt" count="15"/>
|
5385 |
+
<line num="350" type="stmt" count="15"/>
|
5386 |
+
<line num="360" type="stmt" count="15"/>
|
5387 |
+
<line num="361" type="stmt" count="0"/>
|
5388 |
+
<line num="368" type="stmt" count="15"/>
|
5389 |
+
<line num="369" type="stmt" count="0"/>
|
5390 |
+
<line num="370" type="stmt" count="0"/>
|
5391 |
+
<line num="373" type="stmt" count="15"/>
|
5392 |
+
<line num="374" type="stmt" count="14"/>
|
5393 |
+
<line num="377" type="stmt" count="3"/>
|
5394 |
+
<line num="378" type="stmt" count="0"/>
|
5395 |
+
<line num="379" type="stmt" count="3"/>
|
|
|
|
|
5396 |
<line num="384" type="stmt" count="0"/>
|
5397 |
+
<line num="385" type="stmt" count="3"/>
|
5398 |
+
<line num="393" type="stmt" count="1"/>
|
|
|
|
|
|
|
|
|
|
|
5399 |
<line num="394" type="stmt" count="3"/>
|
5400 |
+
<line num="395" type="stmt" count="0"/>
|
5401 |
+
<line num="396" type="stmt" count="0"/>
|
5402 |
+
<line num="397" type="stmt" count="0"/>
|
5403 |
+
<line num="398" type="stmt" count="0"/>
|
5404 |
+
<line num="399" type="stmt" count="0"/>
|
5405 |
+
<line num="401" type="stmt" count="3"/>
|
5406 |
+
<line num="402" type="stmt" count="2"/>
|
5407 |
+
<line num="403" type="stmt" count="2"/>
|
5408 |
+
<line num="405" type="stmt" count="3"/>
|
5409 |
+
<line num="420" type="method" name="is_banned" visibility="public" complexity="1" crap="1" count="4"/>
|
5410 |
+
<line num="421" type="stmt" count="4"/>
|
5411 |
+
<line num="424" type="stmt" count="4"/>
|
5412 |
+
<line num="439" type="method" name="is_match" visibility="public" complexity="3" crap="3.02" count="4"/>
|
5413 |
+
<line num="440" type="stmt" count="4"/>
|
5414 |
+
<line num="441" type="stmt" count="0"/>
|
5415 |
+
<line num="445" type="stmt" count="4"/>
|
5416 |
<line num="446" type="stmt" count="4"/>
|
5417 |
+
<line num="453" type="stmt" count="4"/>
|
5418 |
+
<line num="455" type="stmt" count="4"/>
|
5419 |
+
<line num="457" type="stmt" count="4"/>
|
5420 |
+
<line num="459" type="stmt" count="4"/>
|
5421 |
+
<line num="469" type="method" name="is_using_defaults" visibility="public" complexity="1" crap="2" count="0"/>
|
5422 |
+
<line num="470" type="stmt" count="0"/>
|
5423 |
+
<line num="472" type="stmt" count="0"/>
|
5424 |
+
<line num="483" type="method" name="from_post" visibility="public" complexity="9" crap="90" count="0"/>
|
5425 |
+
<line num="484" type="stmt" count="0"/>
|
5426 |
<line num="485" type="stmt" count="0"/>
|
5427 |
+
<line num="488" type="stmt" count="0"/>
|
5428 |
+
<line num="491" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
5429 |
<line num="496" type="stmt" count="0"/>
|
5430 |
<line num="497" type="stmt" count="0"/>
|
5431 |
<line num="498" type="stmt" count="0"/>
|
|
|
5432 |
<line num="503" type="stmt" count="0"/>
|
5433 |
+
<line num="504" type="stmt" count="0"/>
|
5434 |
+
<line num="505" type="stmt" count="0"/>
|
5435 |
+
<line num="506" type="stmt" count="0"/>
|
5436 |
+
<line num="507" type="stmt" count="0"/>
|
5437 |
+
<line num="508" type="stmt" count="0"/>
|
5438 |
+
<line num="509" type="stmt" count="0"/>
|
5439 |
<line num="512" type="stmt" count="0"/>
|
|
|
5440 |
<line num="514" type="stmt" count="0"/>
|
5441 |
+
<line num="522" type="method" name="wp_ajax_preview" visibility="public" complexity="8" crap="72" count="0"/>
|
|
|
|
|
|
|
|
|
5442 |
<line num="523" type="stmt" count="0"/>
|
5443 |
+
<line num="524" type="stmt" count="0"/>
|
5444 |
<line num="525" type="stmt" count="0"/>
|
5445 |
<line num="527" type="stmt" count="0"/>
|
5446 |
<line num="528" type="stmt" count="0"/>
|
5447 |
+
<line num="530" type="stmt" count="0"/>
|
5448 |
<line num="531" type="stmt" count="0"/>
|
5449 |
+
<line num="532" type="stmt" count="0"/>
|
5450 |
<line num="534" type="stmt" count="0"/>
|
5451 |
+
<line num="536" type="stmt" count="0"/>
|
|
|
5452 |
<line num="538" type="stmt" count="0"/>
|
5453 |
+
<line num="539" type="stmt" count="0"/>
|
5454 |
+
<line num="540" type="stmt" count="0"/>
|
5455 |
+
<line num="542" type="stmt" count="0"/>
|
5456 |
+
<line num="544" type="stmt" count="0"/>
|
5457 |
+
<line num="545" type="stmt" count="0"/>
|
5458 |
+
<line num="546" type="stmt" count="0"/>
|
5459 |
+
<line num="548" type="stmt" count="0"/>
|
5460 |
+
<line num="549" type="stmt" count="0"/>
|
5461 |
+
<metrics loc="550" ncloc="263" classes="1" methods="11" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="155" coveredstatements="78" elements="166" coveredelements="82"/>
|
5462 |
</file>
|
5463 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-go-pro.php">
|
5464 |
<class name="Boldgrid_Backup_Admin_Go_Pro" namespace="global" fullPackage="Boldgrid.Backup.Admin.Go">
|
7627 |
</file>
|
7628 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-upload.php">
|
7629 |
<class name="Boldgrid_Backup_Admin_Upload" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7630 |
+
<metrics complexity="49" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="232" coveredstatements="2" elements="241" coveredelements="3"/>
|
7631 |
</class>
|
7632 |
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
7633 |
<line num="41" type="stmt" count="29"/>
|
7770 |
<line num="380" type="stmt" count="0"/>
|
7771 |
<line num="382" type="stmt" count="0"/>
|
7772 |
<line num="384" type="stmt" count="0"/>
|
7773 |
+
<line num="403" type="method" name="ajax_url_import" visibility="public" complexity="20" crap="420" count="0"/>
|
7774 |
+
<line num="404" type="stmt" count="0"/>
|
7775 |
<line num="405" type="stmt" count="0"/>
|
7776 |
<line num="406" type="stmt" count="0"/>
|
7777 |
+
<line num="407" type="stmt" count="0"/>
|
7778 |
<line num="410" type="stmt" count="0"/>
|
7779 |
<line num="411" type="stmt" count="0"/>
|
7780 |
+
<line num="413" type="stmt" count="0"/>
|
7781 |
<line num="415" type="stmt" count="0"/>
|
7782 |
+
<line num="416" type="stmt" count="0"/>
|
7783 |
<line num="419" type="stmt" count="0"/>
|
7784 |
<line num="420" type="stmt" count="0"/>
|
7785 |
<line num="422" type="stmt" count="0"/>
|
7786 |
+
<line num="424" type="stmt" count="0"/>
|
7787 |
<line num="425" type="stmt" count="0"/>
|
7788 |
+
<line num="427" type="stmt" count="0"/>
|
7789 |
<line num="428" type="stmt" count="0"/>
|
7790 |
<line num="430" type="stmt" count="0"/>
|
7791 |
<line num="431" type="stmt" count="0"/>
|
7792 |
<line num="433" type="stmt" count="0"/>
|
7793 |
<line num="435" type="stmt" count="0"/>
|
7794 |
<line num="436" type="stmt" count="0"/>
|
7795 |
+
<line num="438" type="stmt" count="0"/>
|
7796 |
+
<line num="440" type="stmt" count="0"/>
|
7797 |
<line num="441" type="stmt" count="0"/>
|
7798 |
<line num="442" type="stmt" count="0"/>
|
7799 |
<line num="444" type="stmt" count="0"/>
|
7800 |
+
<line num="446" type="stmt" count="0"/>
|
7801 |
<line num="447" type="stmt" count="0"/>
|
|
|
7802 |
<line num="449" type="stmt" count="0"/>
|
|
|
7803 |
<line num="452" type="stmt" count="0"/>
|
7804 |
<line num="453" type="stmt" count="0"/>
|
7805 |
<line num="454" type="stmt" count="0"/>
|
7806 |
<line num="455" type="stmt" count="0"/>
|
|
|
7807 |
<line num="457" type="stmt" count="0"/>
|
7808 |
<line num="458" type="stmt" count="0"/>
|
7809 |
+
<line num="459" type="stmt" count="0"/>
|
7810 |
<line num="460" type="stmt" count="0"/>
|
7811 |
+
<line num="461" type="stmt" count="0"/>
|
7812 |
<line num="462" type="stmt" count="0"/>
|
7813 |
<line num="463" type="stmt" count="0"/>
|
7814 |
<line num="465" type="stmt" count="0"/>
|
7816 |
<line num="468" type="stmt" count="0"/>
|
7817 |
<line num="469" type="stmt" count="0"/>
|
7818 |
<line num="470" type="stmt" count="0"/>
|
7819 |
+
<line num="473" type="stmt" count="0"/>
|
|
|
|
|
7820 |
<line num="475" type="stmt" count="0"/>
|
7821 |
+
<line num="476" type="stmt" count="0"/>
|
7822 |
<line num="477" type="stmt" count="0"/>
|
7823 |
<line num="478" type="stmt" count="0"/>
|
7824 |
+
<line num="479" type="stmt" count="0"/>
|
7825 |
+
<line num="480" type="stmt" count="0"/>
|
7826 |
+
<line num="482" type="stmt" count="0"/>
|
7827 |
+
<line num="483" type="stmt" count="0"/>
|
7828 |
+
<line num="485" type="stmt" count="0"/>
|
7829 |
+
<line num="486" type="stmt" count="0"/>
|
7830 |
<line num="489" type="stmt" count="0"/>
|
7831 |
+
<line num="490" type="stmt" count="0"/>
|
7832 |
+
<line num="493" type="stmt" count="0"/>
|
|
|
|
|
7833 |
<line num="496" type="stmt" count="0"/>
|
7834 |
+
<line num="498" type="stmt" count="0"/>
|
|
|
7835 |
<line num="500" type="stmt" count="0"/>
|
7836 |
<line num="501" type="stmt" count="0"/>
|
7837 |
+
<line num="503" type="stmt" count="0"/>
|
7838 |
<line num="504" type="stmt" count="0"/>
|
7839 |
+
<line num="505" type="stmt" count="0"/>
|
7840 |
<line num="506" type="stmt" count="0"/>
|
7841 |
+
<line num="508" type="stmt" count="0"/>
|
7842 |
<line num="509" type="stmt" count="0"/>
|
|
|
7843 |
<line num="512" type="stmt" count="0"/>
|
7844 |
+
<line num="513" type="stmt" count="0"/>
|
7845 |
+
<line num="514" type="stmt" count="0"/>
|
7846 |
+
<line num="515" type="stmt" count="0"/>
|
7847 |
+
<line num="517" type="stmt" count="0"/>
|
7848 |
+
<line num="518" type="stmt" count="0"/>
|
7849 |
+
<line num="519" type="stmt" count="0"/>
|
7850 |
<line num="520" type="stmt" count="0"/>
|
7851 |
<line num="521" type="stmt" count="0"/>
|
7852 |
<line num="522" type="stmt" count="0"/>
|
7853 |
<line num="523" type="stmt" count="0"/>
|
7854 |
+
<line num="525" type="stmt" count="0"/>
|
7855 |
+
<line num="526" type="stmt" count="0"/>
|
7856 |
+
<line num="530" type="stmt" count="0"/>
|
7857 |
+
<line num="531" type="stmt" count="0"/>
|
7858 |
+
<line num="533" type="stmt" count="0"/>
|
7859 |
+
<line num="534" type="stmt" count="0"/>
|
7860 |
+
<line num="536" type="stmt" count="0"/>
|
7861 |
+
<line num="537" type="stmt" count="0"/>
|
7862 |
+
<line num="539" type="stmt" count="0"/>
|
7863 |
+
<line num="542" type="stmt" count="0"/>
|
7864 |
+
<line num="544" type="stmt" count="0"/>
|
7865 |
+
<line num="546" type="stmt" count="0"/>
|
7866 |
+
<line num="547" type="stmt" count="0"/>
|
7867 |
+
<line num="554" type="method" name="archive_upload_action" visibility="public" complexity="3" crap="12" count="0"/>
|
7868 |
+
<line num="555" type="stmt" count="0"/>
|
7869 |
+
<line num="556" type="stmt" count="0"/>
|
7870 |
+
<line num="557" type="stmt" count="0"/>
|
7871 |
+
<line num="558" type="stmt" count="0"/>
|
7872 |
+
<line num="559" type="stmt" count="0"/>
|
7873 |
+
<metrics loc="560" ncloc="314" classes="1" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="232" coveredstatements="2" elements="241" coveredelements="3"/>
|
7874 |
</file>
|
7875 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-usage.php">
|
7876 |
<class name="Boldgrid_Backup_Admin_Usage" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
14324 |
<line num="147" type="stmt" count="0"/>
|
14325 |
<line num="148" type="stmt" count="0"/>
|
14326 |
<line num="149" type="stmt" count="0"/>
|
14327 |
+
<line num="156" type="stmt" count="0"/>
|
14328 |
+
<line num="157" type="stmt" count="0"/>
|
14329 |
+
<line num="158" type="stmt" count="0"/>
|
14330 |
+
<line num="159" type="stmt" count="0"/>
|
14331 |
+
<line num="160" type="stmt" count="0"/>
|
14332 |
+
<line num="161" type="stmt" count="0"/>
|
14333 |
+
<metrics loc="161" ncloc="72" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="59" coveredstatements="0" elements="59" coveredelements="0"/>
|
14334 |
</file>
|
14335 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/cli/bgbkup-cli.php">
|
14336 |
<line num="27" type="stmt" count="0"/>
|
14374 |
</file>
|
14375 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/cli/class-info.php">
|
14376 |
<class name="Info" namespace="Boldgrid\Backup\Cli">
|
14377 |
+
<metrics complexity="118" methods="25" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="368" coveredstatements="134" elements="393" coveredelements="143"/>
|
14378 |
</class>
|
14379 |
+
<line num="56" type="method" name="get_results_filepath" visibility="public" complexity="2" crap="2" count="31"/>
|
14380 |
+
<line num="57" type="stmt" count="31"/>
|
14381 |
<line num="58" type="stmt" count="1"/>
|
14382 |
<line num="59" type="stmt" count="1"/>
|
14383 |
+
<line num="61" type="stmt" count="31"/>
|
14384 |
+
<line num="73" type="method" name="get_secret" visibility="public" complexity="4" crap="4.70" count="1"/>
|
14385 |
+
<line num="74" type="stmt" count="1"/>
|
14386 |
+
<line num="77" type="stmt" count="1"/>
|
14387 |
+
<line num="78" type="stmt" count="1"/>
|
14388 |
+
<line num="79" type="stmt" count="1"/>
|
14389 |
+
<line num="80" type="stmt" count="1"/>
|
14390 |
+
<line num="81" type="stmt" count="0"/>
|
14391 |
+
<line num="82" type="stmt" count="0"/>
|
14392 |
+
<line num="84" type="stmt" count="0"/>
|
14393 |
+
<line num="85" type="stmt" count="0"/>
|
14394 |
+
<line num="86" type="stmt" count="0"/>
|
14395 |
+
<line num="87" type="stmt" count="0"/>
|
14396 |
<line num="90" type="stmt" count="1"/>
|
14397 |
<line num="91" type="stmt" count="1"/>
|
14398 |
<line num="92" type="stmt" count="1"/>
|
14399 |
<line num="93" type="stmt" count="1"/>
|
14400 |
<line num="94" type="stmt" count="1"/>
|
|
|
14401 |
<line num="96" type="stmt" count="1"/>
|
14402 |
+
<line num="118" type="method" name="get_info" visibility="public" complexity="2" crap="2" count="2"/>
|
14403 |
+
<line num="119" type="stmt" count="2"/>
|
14404 |
+
<line num="120" type="stmt" count="1"/>
|
14405 |
+
<line num="121" type="stmt" count="1"/>
|
14406 |
+
<line num="122" type="stmt" count="1"/>
|
14407 |
+
<line num="123" type="stmt" count="1"/>
|
14408 |
+
<line num="124" type="stmt" count="1"/>
|
14409 |
+
<line num="125" type="stmt" count="1"/>
|
14410 |
+
<line num="126" type="stmt" count="1"/>
|
14411 |
+
<line num="127" type="stmt" count="1"/>
|
14412 |
+
<line num="128" type="stmt" count="1"/>
|
14413 |
+
<line num="129" type="stmt" count="1"/>
|
14414 |
+
<line num="130" type="stmt" count="1"/>
|
14415 |
+
<line num="131" type="stmt" count="1"/>
|
14416 |
+
<line num="132" type="stmt" count="1"/>
|
14417 |
+
<line num="134" type="stmt" count="2"/>
|
14418 |
+
<line num="147" type="method" name="has_errors" visibility="public" complexity="1" crap="1" count="1"/>
|
14419 |
+
<line num="148" type="stmt" count="1"/>
|
14420 |
+
<line num="150" type="stmt" count="1"/>
|
14421 |
+
<line num="161" type="method" name="print_errors" visibility="public" complexity="3" crap="12" count="0"/>
|
14422 |
+
<line num="162" type="stmt" count="0"/>
|
14423 |
+
<line num="163" type="stmt" count="0"/>
|
14424 |
+
<line num="164" type="stmt" count="0"/>
|
14425 |
+
<line num="165" type="stmt" count="0"/>
|
14426 |
+
<line num="167" type="stmt" count="0"/>
|
14427 |
+
<line num="168" type="stmt" count="0"/>
|
14428 |
+
<line num="169" type="stmt" count="0"/>
|
14429 |
+
<line num="182" type="method" name="is_cli" visibility="public" complexity="2" crap="2.50" count="2"/>
|
14430 |
+
<line num="183" type="stmt" count="2"/>
|
14431 |
+
<line num="185" type="stmt" count="2"/>
|
|
|
14432 |
<line num="186" type="stmt" count="0"/>
|
14433 |
<line num="187" type="stmt" count="0"/>
|
14434 |
<line num="188" type="stmt" count="0"/>
|
14435 |
+
<line num="190" type="stmt" count="2"/>
|
14436 |
+
<line num="210" type="method" name="get_mode" visibility="public" complexity="7" crap="15.61" count="2"/>
|
14437 |
+
<line num="211" type="stmt" count="2"/>
|
14438 |
+
<line num="212" type="stmt" count="1"/>
|
14439 |
+
<line num="213" type="stmt" count="1"/>
|
14440 |
+
<line num="214" type="stmt" count="1"/>
|
14441 |
+
<line num="215" type="stmt" count="1"/>
|
14442 |
+
<line num="216" type="stmt" count="0"/>
|
14443 |
+
<line num="217" type="stmt" count="0"/>
|
14444 |
+
<line num="218" type="stmt" count="0"/>
|
14445 |
+
<line num="219" type="stmt" count="0"/>
|
14446 |
+
<line num="220" type="stmt" count="0"/>
|
14447 |
+
<line num="221" type="stmt" count="0"/>
|
14448 |
+
<line num="222" type="stmt" count="0"/>
|
14449 |
+
<line num="223" type="stmt" count="0"/>
|
14450 |
+
<line num="224" type="stmt" count="0"/>
|
14451 |
<line num="225" type="stmt" count="0"/>
|
14452 |
+
<line num="227" type="stmt" count="1"/>
|
14453 |
+
<line num="229" type="stmt" count="1"/>
|
14454 |
+
<line num="230" type="stmt" count="1"/>
|
14455 |
+
<line num="231" type="stmt" count="1"/>
|
14456 |
+
<line num="232" type="stmt" count="0"/>
|
14457 |
+
<line num="234" type="stmt" count="0"/>
|
14458 |
+
<line num="235" type="stmt" count="0"/>
|
14459 |
+
<line num="236" type="stmt" count="0"/>
|
14460 |
+
<line num="238" type="stmt" count="1"/>
|
14461 |
+
<line num="240" type="stmt" count="2"/>
|
14462 |
+
<line num="254" type="method" name="have_execution_functions" visibility="public" complexity="2" crap="2.31" count="2"/>
|
14463 |
+
<line num="255" type="stmt" count="2"/>
|
14464 |
+
<line num="257" type="stmt" count="2"/>
|
14465 |
+
<line num="259" type="stmt" count="2"/>
|
14466 |
+
<line num="260" type="stmt" count="0"/>
|
14467 |
+
<line num="261" type="stmt" count="0"/>
|
14468 |
+
<line num="262" type="stmt" count="0"/>
|
14469 |
+
<line num="264" type="stmt" count="2"/>
|
14470 |
+
<line num="276" type="method" name="get_cli_args" visibility="public" complexity="3" crap="3.01" count="5"/>
|
14471 |
+
<line num="277" type="stmt" count="5"/>
|
14472 |
+
<line num="278" type="stmt" count="1"/>
|
14473 |
+
<line num="279" type="stmt" count="1"/>
|
14474 |
+
<line num="280" type="stmt" count="1"/>
|
14475 |
+
<line num="281" type="stmt" count="1"/>
|
14476 |
+
<line num="282" type="stmt" count="1"/>
|
14477 |
+
<line num="283" type="stmt" count="1"/>
|
14478 |
+
<line num="284" type="stmt" count="0"/>
|
14479 |
+
<line num="286" type="stmt" count="1"/>
|
14480 |
+
<line num="288" type="stmt" count="5"/>
|
14481 |
+
<line num="302" type="method" name="has_arg_flag" visibility="public" complexity="1" crap="1" count="2"/>
|
14482 |
+
<line num="303" type="stmt" count="2"/>
|
14483 |
+
<line num="317" type="method" name="get_arg_value" visibility="public" complexity="2" crap="2" count="3"/>
|
14484 |
+
<line num="318" type="stmt" count="3"/>
|
14485 |
+
<line num="319" type="stmt" count="3"/>
|
14486 |
+
<line num="321" type="stmt" count="3"/>
|
14487 |
+
<line num="336" type="method" name="get_log_flag" visibility="public" complexity="2" crap="2" count="2"/>
|
14488 |
+
<line num="337" type="stmt" count="2"/>
|
14489 |
+
<line num="338" type="stmt" count="1"/>
|
14490 |
+
<line num="339" type="stmt" count="1"/>
|
14491 |
+
<line num="341" type="stmt" count="2"/>
|
14492 |
+
<line num="356" type="method" name="get_log_level" visibility="public" complexity="6" crap="6.01" count="1"/>
|
14493 |
+
<line num="358" type="stmt" count="1"/>
|
14494 |
+
<line num="359" type="stmt" count="1"/>
|
14495 |
+
<line num="360" type="stmt" count="1"/>
|
14496 |
+
<line num="361" type="stmt" count="1"/>
|
14497 |
+
<line num="362" type="stmt" count="1"/>
|
14498 |
<line num="363" type="stmt" count="1"/>
|
14499 |
<line num="364" type="stmt" count="1"/>
|
14500 |
<line num="365" type="stmt" count="1"/>
|
14501 |
+
<line num="366" type="stmt" count="1"/>
|
14502 |
+
<line num="368" type="stmt" count="1"/>
|
14503 |
+
<line num="369" type="stmt" count="1"/>
|
14504 |
+
<line num="372" type="stmt" count="1"/>
|
14505 |
+
<line num="374" type="stmt" count="0"/>
|
14506 |
+
<line num="375" type="stmt" count="1"/>
|
14507 |
+
<line num="376" type="stmt" count="1"/>
|
14508 |
+
<line num="378" type="stmt" count="1"/>
|
14509 |
+
<line num="379" type="stmt" count="1"/>
|
14510 |
+
<line num="380" type="stmt" count="1"/>
|
14511 |
+
<line num="382" type="stmt" count="1"/>
|
14512 |
+
<line num="397" type="method" name="get_notify_flag" visibility="public" complexity="2" crap="2" count="1"/>
|
14513 |
+
<line num="398" type="stmt" count="1"/>
|
14514 |
+
<line num="399" type="stmt" count="1"/>
|
14515 |
+
<line num="400" type="stmt" count="1"/>
|
14516 |
+
<line num="402" type="stmt" count="1"/>
|
14517 |
+
<line num="417" type="method" name="get_email_arg" visibility="public" complexity="2" crap="2" count="1"/>
|
|
|
14518 |
<line num="418" type="stmt" count="1"/>
|
14519 |
+
<line num="419" type="stmt" count="1"/>
|
14520 |
+
<line num="420" type="stmt" count="1"/>
|
14521 |
+
<line num="422" type="stmt" count="1"/>
|
14522 |
+
<line num="439" type="method" name="get_zip_arg" visibility="public" complexity="10" crap="10.05" count="2"/>
|
14523 |
+
<line num="440" type="stmt" count="2"/>
|
14524 |
+
<line num="441" type="stmt" count="1"/>
|
14525 |
<line num="442" type="stmt" count="1"/>
|
|
|
14526 |
<line num="444" type="stmt" count="1"/>
|
14527 |
+
<line num="445" type="stmt" count="0"/>
|
14528 |
+
<line num="446" type="stmt" count="1"/>
|
14529 |
<line num="447" type="stmt" count="1"/>
|
14530 |
+
<line num="448" type="stmt" count="1"/>
|
14531 |
+
<line num="449" type="stmt" count="1"/>
|
14532 |
+
<line num="451" type="stmt" count="1"/>
|
14533 |
+
<line num="452" type="stmt" count="1"/>
|
14534 |
+
<line num="453" type="stmt" count="1"/>
|
14535 |
+
<line num="455" type="stmt" count="2"/>
|
14536 |
+
<line num="475" type="method" name="choose_method" visibility="public" complexity="20" crap="138.52" count="2"/>
|
14537 |
+
<line num="476" type="stmt" count="2"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14538 |
<line num="477" type="stmt" count="1"/>
|
14539 |
<line num="478" type="stmt" count="1"/>
|
14540 |
<line num="479" type="stmt" count="1"/>
|
14541 |
+
<line num="482" type="stmt" count="1"/>
|
|
|
|
|
14542 |
<line num="483" type="stmt" count="0"/>
|
14543 |
<line num="484" type="stmt" count="0"/>
|
14544 |
<line num="485" type="stmt" count="0"/>
|
|
|
14545 |
<line num="487" type="stmt" count="0"/>
|
14546 |
<line num="488" type="stmt" count="0"/>
|
14547 |
+
<line num="489" type="stmt" count="1"/>
|
14548 |
<line num="490" type="stmt" count="0"/>
|
14549 |
+
<line num="491" type="stmt" count="0"/>
|
14550 |
<line num="492" type="stmt" count="0"/>
|
14551 |
+
<line num="494" type="stmt" count="0"/>
|
14552 |
<line num="495" type="stmt" count="0"/>
|
14553 |
+
<line num="496" type="stmt" count="1"/>
|
14554 |
+
<line num="497" type="stmt" count="0"/>
|
14555 |
+
<line num="498" type="stmt" count="0"/>
|
14556 |
+
<line num="499" type="stmt" count="0"/>
|
14557 |
+
<line num="501" type="stmt" count="0"/>
|
14558 |
+
<line num="502" type="stmt" count="0"/>
|
14559 |
+
<line num="503" type="stmt" count="1"/>
|
14560 |
+
<line num="504" type="stmt" count="0"/>
|
14561 |
+
<line num="505" type="stmt" count="0"/>
|
14562 |
+
<line num="506" type="stmt" count="0"/>
|
14563 |
+
<line num="508" type="stmt" count="0"/>
|
14564 |
+
<line num="509" type="stmt" count="0"/>
|
14565 |
+
<line num="510" type="stmt" count="1"/>
|
14566 |
+
<line num="512" type="stmt" count="1"/>
|
14567 |
+
<line num="513" type="stmt" count="1"/>
|
14568 |
+
<line num="514" type="stmt" count="1"/>
|
14569 |
+
<line num="515" type="stmt" count="1"/>
|
14570 |
<line num="516" type="stmt" count="0"/>
|
14571 |
<line num="517" type="stmt" count="0"/>
|
14572 |
+
<line num="518" type="stmt" count="0"/>
|
14573 |
<line num="519" type="stmt" count="0"/>
|
14574 |
<line num="520" type="stmt" count="0"/>
|
14575 |
<line num="521" type="stmt" count="0"/>
|
14576 |
<line num="522" type="stmt" count="0"/>
|
14577 |
+
<line num="523" type="stmt" count="0"/>
|
14578 |
<line num="524" type="stmt" count="0"/>
|
14579 |
<line num="525" type="stmt" count="0"/>
|
14580 |
+
<line num="526" type="stmt" count="1"/>
|
14581 |
<line num="527" type="stmt" count="0"/>
|
14582 |
+
<line num="528" type="stmt" count="0"/>
|
14583 |
+
<line num="530" type="stmt" count="0"/>
|
14584 |
+
<line num="531" type="stmt" count="0"/>
|
14585 |
+
<line num="532" type="stmt" count="1"/>
|
14586 |
+
<line num="534" type="stmt" count="2"/>
|
14587 |
+
<line num="536" type="stmt" count="2"/>
|
14588 |
+
<line num="549" type="method" name="get_env_info" visibility="public" complexity="2" crap="6" count="0"/>
|
14589 |
+
<line num="550" type="stmt" count="0"/>
|
14590 |
+
<line num="551" type="stmt" count="0"/>
|
14591 |
+
<line num="552" type="stmt" count="0"/>
|
14592 |
+
<line num="553" type="stmt" count="0"/>
|
14593 |
+
<line num="554" type="stmt" count="0"/>
|
14594 |
+
<line num="555" type="stmt" count="0"/>
|
14595 |
+
<line num="557" type="stmt" count="0"/>
|
14596 |
+
<line num="569" type="method" name="read_json_file" visibility="public" complexity="3" crap="3" count="1"/>
|
14597 |
+
<line num="570" type="stmt" count="1"/>
|
14598 |
+
<line num="571" type="stmt" count="1"/>
|
14599 |
+
<line num="573" type="stmt" count="1"/>
|
14600 |
+
<line num="588" type="method" name="extract_file" visibility="public" complexity="5" crap="30" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14601 |
<line num="589" type="stmt" count="0"/>
|
14602 |
+
<line num="591" type="stmt" count="0"/>
|
14603 |
+
<line num="593" type="stmt" count="0"/>
|
14604 |
+
<line num="594" type="stmt" count="0"/>
|
14605 |
+
<line num="595" type="stmt" count="0"/>
|
14606 |
+
<line num="596" type="stmt" count="0"/>
|
14607 |
+
<line num="597" type="stmt" count="0"/>
|
14608 |
+
<line num="598" type="stmt" count="0"/>
|
14609 |
+
<line num="599" type="stmt" count="0"/>
|
14610 |
+
<line num="601" type="stmt" count="0"/>
|
14611 |
+
<line num="602" type="stmt" count="0"/>
|
14612 |
+
<line num="603" type="stmt" count="0"/>
|
14613 |
+
<line num="605" type="stmt" count="0"/>
|
14614 |
+
<line num="607" type="stmt" count="0"/>
|
14615 |
+
<line num="608" type="stmt" count="0"/>
|
14616 |
<line num="609" type="stmt" count="0"/>
|
14617 |
<line num="610" type="stmt" count="0"/>
|
14618 |
+
<line num="611" type="stmt" count="0"/>
|
14619 |
<line num="613" type="stmt" count="0"/>
|
14620 |
+
<line num="614" type="stmt" count="0"/>
|
14621 |
+
<line num="615" type="stmt" count="0"/>
|
14622 |
<line num="616" type="stmt" count="0"/>
|
14623 |
<line num="617" type="stmt" count="0"/>
|
14624 |
<line num="618" type="stmt" count="0"/>
|
14625 |
<line num="619" type="stmt" count="0"/>
|
14626 |
+
<line num="620" type="stmt" count="0"/>
|
14627 |
+
<line num="622" type="stmt" count="0"/>
|
14628 |
+
<line num="638" type="method" name="read_zip_log" visibility="public" complexity="5" crap="30" count="0"/>
|
14629 |
+
<line num="639" type="stmt" count="0"/>
|
14630 |
+
<line num="640" type="stmt" count="0"/>
|
14631 |
+
<line num="642" type="stmt" count="0"/>
|
14632 |
+
<line num="643" type="stmt" count="0"/>
|
14633 |
+
<line num="646" type="stmt" count="0"/>
|
|
|
|
|
14634 |
<line num="647" type="stmt" count="0"/>
|
14635 |
<line num="648" type="stmt" count="0"/>
|
14636 |
<line num="649" type="stmt" count="0"/>
|
14637 |
+
<line num="651" type="stmt" count="0"/>
|
14638 |
+
<line num="653" type="stmt" count="0"/>
|
14639 |
+
<line num="655" type="stmt" count="0"/>
|
14640 |
+
<line num="656" type="stmt" count="0"/>
|
14641 |
+
<line num="657" type="stmt" count="0"/>
|
14642 |
+
<line num="658" type="stmt" count="0"/>
|
14643 |
+
<line num="659" type="stmt" count="0"/>
|
14644 |
+
<line num="661" type="stmt" count="0"/>
|
14645 |
+
<line num="664" type="stmt" count="0"/>
|
14646 |
+
<line num="676" type="method" name="set_info_item" visibility="public" complexity="3" crap="12" count="0"/>
|
14647 |
<line num="677" type="stmt" count="0"/>
|
14648 |
<line num="678" type="stmt" count="0"/>
|
14649 |
<line num="679" type="stmt" count="0"/>
|
14650 |
<line num="680" type="stmt" count="0"/>
|
14651 |
+
<line num="699" type="method" name="get_restore_info" visibility="private" complexity="10" crap="73.71" count="1"/>
|
14652 |
+
<line num="700" type="stmt" count="1"/>
|
14653 |
+
<line num="703" type="stmt" count="1"/>
|
14654 |
+
<line num="706" type="stmt" count="1"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14655 |
<line num="707" type="stmt" count="0"/>
|
14656 |
<line num="708" type="stmt" count="0"/>
|
14657 |
<line num="709" type="stmt" count="0"/>
|
14658 |
+
<line num="710" type="stmt" count="0"/>
|
14659 |
+
<line num="713" type="stmt" count="1"/>
|
14660 |
+
<line num="715" type="stmt" count="1"/>
|
14661 |
+
<line num="717" type="stmt" count="1"/>
|
|
|
|
|
|
|
14662 |
<line num="719" type="stmt" count="0"/>
|
|
|
14663 |
<line num="721" type="stmt" count="0"/>
|
14664 |
+
<line num="723" type="stmt" count="0"/>
|
|
|
|
|
|
|
14665 |
<line num="727" type="stmt" count="0"/>
|
14666 |
<line num="728" type="stmt" count="0"/>
|
14667 |
<line num="729" type="stmt" count="0"/>
|
14668 |
+
<line num="730" type="stmt" count="0"/>
|
14669 |
+
<line num="731" type="stmt" count="0"/>
|
14670 |
<line num="734" type="stmt" count="0"/>
|
14671 |
+
<line num="735" type="stmt" count="0"/>
|
14672 |
+
<line num="736" type="stmt" count="0"/>
|
14673 |
+
<line num="737" type="stmt" count="0"/>
|
14674 |
+
<line num="738" type="stmt" count="0"/>
|
14675 |
+
<line num="739" type="stmt" count="0"/>
|
14676 |
+
<line num="741" type="stmt" count="0"/>
|
14677 |
+
<line num="742" type="stmt" count="0"/>
|
14678 |
+
<line num="743" type="stmt" count="0"/>
|
14679 |
+
<line num="744" type="stmt" count="0"/>
|
14680 |
+
<line num="745" type="stmt" count="0"/>
|
14681 |
+
<line num="746" type="stmt" count="0"/>
|
14682 |
+
<line num="748" type="stmt" count="0"/>
|
14683 |
+
<line num="749" type="stmt" count="0"/>
|
14684 |
+
<line num="750" type="stmt" count="0"/>
|
14685 |
+
<line num="751" type="stmt" count="0"/>
|
14686 |
+
<line num="752" type="stmt" count="0"/>
|
14687 |
+
<line num="754" type="stmt" count="0"/>
|
14688 |
+
<line num="755" type="stmt" count="0"/>
|
14689 |
+
<line num="756" type="stmt" count="0"/>
|
14690 |
+
<line num="757" type="stmt" count="0"/>
|
14691 |
+
<line num="758" type="stmt" count="0"/>
|
14692 |
+
<line num="759" type="stmt" count="0"/>
|
14693 |
<line num="762" type="stmt" count="0"/>
|
14694 |
+
<line num="764" type="stmt" count="0"/>
|
14695 |
+
<line num="782" type="method" name="get_zip_info" visibility="private" complexity="8" crap="54.12" count="1"/>
|
14696 |
+
<line num="783" type="stmt" count="1"/>
|
14697 |
+
<line num="785" type="stmt" count="1"/>
|
14698 |
+
<line num="787" type="stmt" count="1"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14699 |
<line num="790" type="stmt" count="0"/>
|
14700 |
<line num="791" type="stmt" count="0"/>
|
14701 |
<line num="792" type="stmt" count="0"/>
|
|
|
14702 |
<line num="795" type="stmt" count="0"/>
|
14703 |
+
<line num="796" type="stmt" count="0"/>
|
14704 |
<line num="797" type="stmt" count="0"/>
|
14705 |
+
<line num="800" type="stmt" count="0"/>
|
14706 |
+
<line num="802" type="stmt" count="0"/>
|
14707 |
+
<line num="804" type="stmt" count="0"/>
|
14708 |
+
<line num="807" type="stmt" count="0"/>
|
14709 |
+
<line num="809" type="stmt" count="0"/>
|
14710 |
+
<line num="811" type="stmt" count="0"/>
|
14711 |
+
<line num="812" type="stmt" count="0"/>
|
14712 |
+
<line num="813" type="stmt" count="0"/>
|
14713 |
+
<line num="815" type="stmt" count="0"/>
|
14714 |
+
<line num="816" type="stmt" count="0"/>
|
14715 |
+
<line num="817" type="stmt" count="0"/>
|
14716 |
+
<line num="818" type="stmt" count="0"/>
|
14717 |
+
<line num="819" type="stmt" count="0"/>
|
14718 |
<line num="820" type="stmt" count="0"/>
|
14719 |
<line num="821" type="stmt" count="0"/>
|
14720 |
+
<line num="822" type="stmt" count="0"/>
|
14721 |
+
<line num="824" type="stmt" count="0"/>
|
14722 |
<line num="825" type="stmt" count="0"/>
|
14723 |
<line num="827" type="stmt" count="0"/>
|
|
|
14724 |
<line num="829" type="stmt" count="0"/>
|
14725 |
+
<line num="848" type="method" name="get_latest_info" visibility="private" complexity="11" crap="132" count="0"/>
|
14726 |
+
<line num="850" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14727 |
<line num="851" type="stmt" count="0"/>
|
|
|
|
|
14728 |
<line num="855" type="stmt" count="0"/>
|
14729 |
+
<line num="857" type="stmt" count="0"/>
|
14730 |
+
<line num="858" type="stmt" count="0"/>
|
14731 |
+
<line num="859" type="stmt" count="0"/>
|
14732 |
<line num="860" type="stmt" count="0"/>
|
|
|
14733 |
<line num="863" type="stmt" count="0"/>
|
|
|
|
|
14734 |
<line num="866" type="stmt" count="0"/>
|
14735 |
<line num="867" type="stmt" count="0"/>
|
14736 |
+
<line num="868" type="stmt" count="0"/>
|
14737 |
+
<line num="869" type="stmt" count="0"/>
|
14738 |
<line num="870" type="stmt" count="0"/>
|
14739 |
<line num="873" type="stmt" count="0"/>
|
14740 |
+
<line num="874" type="stmt" count="0"/>
|
14741 |
<line num="875" type="stmt" count="0"/>
|
14742 |
<line num="876" type="stmt" count="0"/>
|
14743 |
<line num="877" type="stmt" count="0"/>
|
14744 |
+
<line num="881" type="stmt" count="0"/>
|
14745 |
+
<line num="883" type="stmt" count="0"/>
|
14746 |
<line num="884" type="stmt" count="0"/>
|
14747 |
<line num="885" type="stmt" count="0"/>
|
14748 |
<line num="886" type="stmt" count="0"/>
|
14749 |
+
<line num="890" type="stmt" count="0"/>
|
|
|
|
|
14750 |
<line num="892" type="stmt" count="0"/>
|
14751 |
<line num="893" type="stmt" count="0"/>
|
14752 |
+
<line num="894" type="stmt" count="0"/>
|
14753 |
<line num="895" type="stmt" count="0"/>
|
14754 |
+
<line num="896" type="stmt" count="0"/>
|
14755 |
+
<line num="897" type="stmt" count="0"/>
|
14756 |
+
<line num="900" type="stmt" count="0"/>
|
14757 |
+
<line num="903" type="stmt" count="0"/>
|
14758 |
+
<line num="905" type="stmt" count="0"/>
|
14759 |
+
<line num="906" type="stmt" count="0"/>
|
14760 |
+
<line num="907" type="stmt" count="0"/>
|
14761 |
+
<line num="908" type="stmt" count="0"/>
|
14762 |
+
<line num="912" type="stmt" count="0"/>
|
14763 |
+
<line num="914" type="stmt" count="0"/>
|
14764 |
+
<line num="915" type="stmt" count="0"/>
|
14765 |
+
<line num="916" type="stmt" count="0"/>
|
14766 |
+
<line num="917" type="stmt" count="0"/>
|
14767 |
+
<line num="918" type="stmt" count="0"/>
|
14768 |
+
<line num="921" type="stmt" count="0"/>
|
14769 |
+
<line num="922" type="stmt" count="0"/>
|
14770 |
+
<line num="923" type="stmt" count="0"/>
|
14771 |
+
<line num="925" type="stmt" count="0"/>
|
14772 |
+
<metrics loc="927" ncloc="513" classes="1" methods="25" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="368" coveredstatements="134" elements="393" coveredelements="143"/>
|
14773 |
</file>
|
14774 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/cli/class-log.php">
|
14775 |
<class name="Log" namespace="Boldgrid\Backup\Cli">
|
15086 |
</package>
|
15087 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/cli/env-info.php">
|
15088 |
<line num="16" type="stmt" count="0"/>
|
|
|
|
|
15089 |
<line num="19" type="stmt" count="0"/>
|
15090 |
<line num="20" type="stmt" count="0"/>
|
15091 |
<line num="21" type="stmt" count="0"/>
|
15092 |
<line num="22" type="stmt" count="0"/>
|
|
|
15093 |
<line num="24" type="stmt" count="0"/>
|
15094 |
<line num="25" type="stmt" count="0"/>
|
15095 |
<line num="26" type="stmt" count="0"/>
|
15096 |
<line num="27" type="stmt" count="0"/>
|
15097 |
<line num="28" type="stmt" count="0"/>
|
15098 |
+
<line num="29" type="stmt" count="0"/>
|
15099 |
+
<line num="30" type="stmt" count="0"/>
|
15100 |
+
<line num="31" type="stmt" count="0"/>
|
15101 |
+
<line num="32" type="stmt" count="0"/>
|
15102 |
+
<line num="33" type="stmt" count="0"/>
|
15103 |
+
<line num="34" type="stmt" count="0"/>
|
15104 |
+
<line num="35" type="stmt" count="0"/>
|
15105 |
+
<line num="36" type="stmt" count="0"/>
|
15106 |
+
<metrics loc="36" ncloc="19" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="18" coveredstatements="0" elements="18" coveredelements="0"/>
|
15107 |
</file>
|
15108 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/cli/wp-test.php">
|
15109 |
<line num="22" type="stmt" count="0"/>
|
15569 |
</file>
|
15570 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
|
15571 |
<class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
|
15572 |
+
<metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="285" coveredstatements="0" elements="293" coveredelements="0"/>
|
15573 |
</class>
|
15574 |
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
15575 |
<line num="67" type="stmt" count="0"/>
|
15698 |
<line num="306" type="stmt" count="0"/>
|
15699 |
<line num="308" type="stmt" count="0"/>
|
15700 |
<line num="310" type="stmt" count="0"/>
|
15701 |
+
<line num="312" type="stmt" count="0"/>
|
15702 |
+
<line num="313" type="stmt" count="0"/>
|
15703 |
+
<line num="324" type="method" name="set_locale" visibility="private" complexity="1" crap="2" count="0"/>
|
15704 |
<line num="325" type="stmt" count="0"/>
|
15705 |
+
<line num="327" type="stmt" count="0"/>
|
15706 |
+
<line num="328" type="stmt" count="0"/>
|
15707 |
+
<line num="336" type="method" name="define_admin_hooks" visibility="private" complexity="5" crap="30" count="0"/>
|
15708 |
<line num="338" type="stmt" count="0"/>
|
15709 |
+
<line num="340" type="stmt" count="0"/>
|
15710 |
+
<line num="343" type="stmt" count="0"/>
|
|
|
15711 |
<line num="346" type="stmt" count="0"/>
|
15712 |
+
<line num="347" type="stmt" count="0"/>
|
15713 |
<line num="348" type="stmt" count="0"/>
|
|
|
15714 |
<line num="350" type="stmt" count="0"/>
|
15715 |
+
<line num="351" type="stmt" count="0"/>
|
15716 |
+
<line num="352" type="stmt" count="0"/>
|
15717 |
<line num="355" type="stmt" count="0"/>
|
15718 |
<line num="356" type="stmt" count="0"/>
|
15719 |
+
<line num="357" type="stmt" count="0"/>
|
15720 |
+
<line num="358" type="stmt" count="0"/>
|
15721 |
<line num="361" type="stmt" count="0"/>
|
15722 |
<line num="362" type="stmt" count="0"/>
|
15723 |
+
<line num="363" type="stmt" count="0"/>
|
15724 |
<line num="364" type="stmt" count="0"/>
|
|
|
15725 |
<line num="366" type="stmt" count="0"/>
|
15726 |
<line num="367" type="stmt" count="0"/>
|
15727 |
<line num="368" type="stmt" count="0"/>
|
15728 |
+
<line num="369" type="stmt" count="0"/>
|
15729 |
+
<line num="370" type="stmt" count="0"/>
|
15730 |
<line num="373" type="stmt" count="0"/>
|
15731 |
<line num="374" type="stmt" count="0"/>
|
15732 |
+
<line num="375" type="stmt" count="0"/>
|
15733 |
+
<line num="376" type="stmt" count="0"/>
|
15734 |
<line num="379" type="stmt" count="0"/>
|
15735 |
<line num="380" type="stmt" count="0"/>
|
15736 |
+
<line num="381" type="stmt" count="0"/>
|
15737 |
+
<line num="382" type="stmt" count="0"/>
|
15738 |
<line num="385" type="stmt" count="0"/>
|
15739 |
<line num="386" type="stmt" count="0"/>
|
15740 |
+
<line num="387" type="stmt" count="0"/>
|
15741 |
+
<line num="388" type="stmt" count="0"/>
|
15742 |
<line num="391" type="stmt" count="0"/>
|
15743 |
<line num="392" type="stmt" count="0"/>
|
15744 |
+
<line num="393" type="stmt" count="0"/>
|
15745 |
+
<line num="394" type="stmt" count="0"/>
|
15746 |
<line num="397" type="stmt" count="0"/>
|
15747 |
<line num="398" type="stmt" count="0"/>
|
15748 |
+
<line num="399" type="stmt" count="0"/>
|
15749 |
+
<line num="400" type="stmt" count="0"/>
|
15750 |
<line num="403" type="stmt" count="0"/>
|
15751 |
<line num="404" type="stmt" count="0"/>
|
15752 |
+
<line num="405" type="stmt" count="0"/>
|
15753 |
<line num="406" type="stmt" count="0"/>
|
|
|
15754 |
<line num="408" type="stmt" count="0"/>
|
15755 |
+
<line num="409" type="stmt" count="0"/>
|
15756 |
+
<line num="410" type="stmt" count="0"/>
|
15757 |
<line num="413" type="stmt" count="0"/>
|
15758 |
<line num="414" type="stmt" count="0"/>
|
15759 |
+
<line num="415" type="stmt" count="0"/>
|
15760 |
+
<line num="416" type="stmt" count="0"/>
|
15761 |
<line num="419" type="stmt" count="0"/>
|
15762 |
<line num="420" type="stmt" count="0"/>
|
15763 |
+
<line num="421" type="stmt" count="0"/>
|
15764 |
<line num="422" type="stmt" count="0"/>
|
|
|
15765 |
<line num="424" type="stmt" count="0"/>
|
15766 |
<line num="425" type="stmt" count="0"/>
|
15767 |
<line num="426" type="stmt" count="0"/>
|
15768 |
<line num="427" type="stmt" count="0"/>
|
15769 |
+
<line num="428" type="stmt" count="0"/>
|
15770 |
<line num="429" type="stmt" count="0"/>
|
15771 |
<line num="431" type="stmt" count="0"/>
|
15772 |
<line num="433" type="stmt" count="0"/>
|
15773 |
<line num="435" type="stmt" count="0"/>
|
|
|
15774 |
<line num="437" type="stmt" count="0"/>
|
15775 |
+
<line num="438" type="stmt" count="0"/>
|
15776 |
<line num="439" type="stmt" count="0"/>
|
15777 |
+
<line num="441" type="stmt" count="0"/>
|
15778 |
<line num="442" type="stmt" count="0"/>
|
15779 |
<line num="444" type="stmt" count="0"/>
|
15780 |
<line num="446" type="stmt" count="0"/>
|
15781 |
<line num="448" type="stmt" count="0"/>
|
15782 |
<line num="450" type="stmt" count="0"/>
|
|
|
15783 |
<line num="452" type="stmt" count="0"/>
|
15784 |
+
<line num="453" type="stmt" count="0"/>
|
15785 |
<line num="454" type="stmt" count="0"/>
|
15786 |
<line num="456" type="stmt" count="0"/>
|
|
|
15787 |
<line num="458" type="stmt" count="0"/>
|
15788 |
<line num="459" type="stmt" count="0"/>
|
15789 |
+
<line num="460" type="stmt" count="0"/>
|
15790 |
<line num="461" type="stmt" count="0"/>
|
15791 |
<line num="463" type="stmt" count="0"/>
|
15792 |
<line num="465" type="stmt" count="0"/>
|
15793 |
<line num="467" type="stmt" count="0"/>
|
15794 |
<line num="469" type="stmt" count="0"/>
|
15795 |
<line num="471" type="stmt" count="0"/>
|
15796 |
+
<line num="473" type="stmt" count="0"/>
|
15797 |
<line num="478" type="stmt" count="0"/>
|
15798 |
<line num="480" type="stmt" count="0"/>
|
15799 |
<line num="482" type="stmt" count="0"/>
|
15801 |
<line num="486" type="stmt" count="0"/>
|
15802 |
<line num="488" type="stmt" count="0"/>
|
15803 |
<line num="490" type="stmt" count="0"/>
|
15804 |
+
<line num="492" type="stmt" count="0"/>
|
15805 |
<line num="493" type="stmt" count="0"/>
|
15806 |
+
<line num="495" type="stmt" count="0"/>
|
15807 |
<line num="496" type="stmt" count="0"/>
|
15808 |
<line num="498" type="stmt" count="0"/>
|
|
|
15809 |
<line num="500" type="stmt" count="0"/>
|
15810 |
+
<line num="501" type="stmt" count="0"/>
|
15811 |
<line num="502" type="stmt" count="0"/>
|
15812 |
<line num="504" type="stmt" count="0"/>
|
15813 |
+
<line num="506" type="stmt" count="0"/>
|
15814 |
+
<line num="507" type="stmt" count="0"/>
|
|
|
15815 |
<line num="510" type="stmt" count="0"/>
|
15816 |
+
<line num="511" type="stmt" count="0"/>
|
15817 |
+
<line num="512" type="stmt" count="0"/>
|
15818 |
+
<line num="515" type="stmt" count="0"/>
|
15819 |
+
<line num="516" type="stmt" count="0"/>
|
15820 |
+
<line num="519" type="stmt" count="0"/>
|
15821 |
+
<line num="522" type="stmt" count="0"/>
|
15822 |
+
<line num="525" type="stmt" count="0"/>
|
15823 |
<line num="528" type="stmt" count="0"/>
|
15824 |
<line num="530" type="stmt" count="0"/>
|
15825 |
<line num="532" type="stmt" count="0"/>
|
15826 |
<line num="534" type="stmt" count="0"/>
|
15827 |
+
<line num="536" type="stmt" count="0"/>
|
|
|
15828 |
<line num="539" type="stmt" count="0"/>
|
15829 |
<line num="540" type="stmt" count="0"/>
|
15830 |
<line num="541" type="stmt" count="0"/>
|
15831 |
<line num="542" type="stmt" count="0"/>
|
15832 |
+
<line num="543" type="stmt" count="0"/>
|
15833 |
+
<line num="544" type="stmt" count="0"/>
|
15834 |
+
<line num="547" type="stmt" count="0"/>
|
15835 |
+
<line num="550" type="stmt" count="0"/>
|
15836 |
<line num="551" type="stmt" count="0"/>
|
15837 |
<line num="553" type="stmt" count="0"/>
|
|
|
15838 |
<line num="555" type="stmt" count="0"/>
|
15839 |
<line num="556" type="stmt" count="0"/>
|
15840 |
<line num="557" type="stmt" count="0"/>
|
15841 |
<line num="558" type="stmt" count="0"/>
|
15842 |
+
<line num="559" type="stmt" count="0"/>
|
15843 |
+
<line num="560" type="stmt" count="0"/>
|
15844 |
<line num="563" type="stmt" count="0"/>
|
15845 |
+
<line num="564" type="stmt" count="0"/>
|
15846 |
+
<line num="565" type="stmt" count="0"/>
|
15847 |
+
<line num="568" type="stmt" count="0"/>
|
15848 |
<line num="575" type="stmt" count="0"/>
|
15849 |
+
<line num="576" type="stmt" count="0"/>
|
15850 |
<line num="577" type="stmt" count="0"/>
|
15851 |
+
<line num="579" type="stmt" count="0"/>
|
15852 |
<line num="580" type="stmt" count="0"/>
|
15853 |
+
<line num="582" type="stmt" count="0"/>
|
15854 |
+
<line num="583" type="stmt" count="0"/>
|
15855 |
+
<line num="590" type="method" name="run" visibility="public" complexity="1" crap="2" count="0"/>
|
15856 |
+
<line num="591" type="stmt" count="0"/>
|
15857 |
+
<line num="592" type="stmt" count="0"/>
|
15858 |
+
<line num="601" type="method" name="get_plugin_name" visibility="public" complexity="1" crap="2" count="0"/>
|
15859 |
+
<line num="602" type="stmt" count="0"/>
|
15860 |
+
<line num="603" type="stmt" count="0"/>
|
15861 |
+
<line num="611" type="method" name="get_loader" visibility="public" complexity="1" crap="2" count="0"/>
|
15862 |
+
<line num="612" type="stmt" count="0"/>
|
15863 |
+
<line num="613" type="stmt" count="0"/>
|
15864 |
+
<line num="621" type="method" name="get_version" visibility="public" complexity="1" crap="2" count="0"/>
|
15865 |
+
<line num="622" type="stmt" count="0"/>
|
15866 |
+
<line num="623" type="stmt" count="0"/>
|
15867 |
+
<metrics loc="624" ncloc="384" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="285" coveredstatements="0" elements="293" coveredelements="0"/>
|
15868 |
</file>
|
15869 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
|
15870 |
<line num="17" type="stmt" count="0"/>
|
77053 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
77054 |
</file>
|
77055 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
77056 |
+
<class name="ComposerStaticInit40fd5fe7480b2ba5202eea3877071f94" namespace="Composer\Autoload">
|
77057 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
77058 |
</class>
|
77059 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
77145 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
77146 |
</file>
|
77147 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
77148 |
+
<class name="ComposerAutoloaderInit40fd5fe7480b2ba5202eea3877071f94" namespace="global">
|
77149 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
77150 |
</class>
|
77151 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
96390 |
<line num="16" type="stmt" count="0"/>
|
96391 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
96392 |
</file>
|
96393 |
+
<metrics files="964" loc="193723" ncloc="118043" classes="872" methods="3605" coveredmethods="310" conditionals="0" coveredconditionals="0" statements="86862" coveredstatements="4597" elements="90467" coveredelements="4907"/>
|
96394 |
</project>
|
96395 |
</coverage>
|
cron/index.html
ADDED
File without changes
|
includes/class-boldgrid-backup.php
CHANGED
@@ -307,6 +307,8 @@ class Boldgrid_Backup {
|
|
307 |
|
308 |
require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-environment.php';
|
309 |
|
|
|
|
|
310 |
$this->loader = new Boldgrid_Backup_Loader();
|
311 |
}
|
312 |
|
307 |
|
308 |
require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-environment.php';
|
309 |
|
310 |
+
require_once BOLDGRID_BACKUP_PATH . '/cli/class-info.php';
|
311 |
+
|
312 |
$this->loader = new Boldgrid_Backup_Loader();
|
313 |
}
|
314 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: backup, cloud backup, database backup, restore, wordpress backup
|
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.6
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 1.14.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -132,6 +132,13 @@ Have a problem? First, take a look at our [Getting Started](https://www.boldgrid
|
|
132 |
|
133 |
== Changelog ==
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
= 1.14.9 =
|
136 |
|
137 |
Release date: December 8th, 2020
|
@@ -791,5 +798,10 @@ Release Date: June 21st, 2016
|
|
791 |
* Initial public release.
|
792 |
|
793 |
== Upgrade Notice ==
|
|
|
794 |
= 1.12.0 =
|
795 |
BoldGrid Backup has become Total Upkeep. Different name with the same great features.
|
|
|
|
|
|
|
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.6
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 1.14.10
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
+
= 1.14.10 =
|
136 |
+
|
137 |
+
Release date: December 14th, 2020
|
138 |
+
|
139 |
+
* Update: Added transfer log.
|
140 |
+
* Security fix: Fixes for restore-info.json file and cli/env-info.php script.
|
141 |
+
|
142 |
= 1.14.9 =
|
143 |
|
144 |
Release date: December 8th, 2020
|
798 |
* Initial public release.
|
799 |
|
800 |
== Upgrade Notice ==
|
801 |
+
|
802 |
= 1.12.0 =
|
803 |
BoldGrid Backup has become Total Upkeep. Different name with the same great features.
|
804 |
+
|
805 |
+
= 1.14.10 =
|
806 |
+
Updating to Total Upkeep 1.14.10 will fix possible security issues related to the restore-info.json file and cli/env-info.php script.
|
807 |
+
|
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 ComposerAutoloaderInit40fd5fe7480b2ba5202eea3877071f94::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 ComposerAutoloaderInitc813f76d2c406598733e9ca90b39f208
|
|
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 ComposerAutoloaderInitc813f76d2c406598733e9ca90b39f208
|
|
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 ComposerAutoloaderInit40fd5fe7480b2ba5202eea3877071f94
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit40fd5fe7480b2ba5202eea3877071f94', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit40fd5fe7480b2ba5202eea3877071f94', '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\ComposerStaticInit40fd5fe7480b2ba5202eea3877071f94::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\ComposerStaticInit40fd5fe7480b2ba5202eea3877071f94::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequire40fd5fe7480b2ba5202eea3877071f94($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequire40fd5fe7480b2ba5202eea3877071f94($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 ComposerStaticInitc813f76d2c406598733e9ca90b39f208
|
|
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 ComposerStaticInit40fd5fe7480b2ba5202eea3877071f94
|
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 = ComposerStaticInit40fd5fe7480b2ba5202eea3877071f94::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit40fd5fe7480b2ba5202eea3877071f94::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInit40fd5fe7480b2ba5202eea3877071f94::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|