Version Description
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | tmp-transfer-log-2 |
Comparing to | |
See all releases |
Code changes from version tmp-transfer-log to tmp-transfer-log-2
- admin/class-boldgrid-backup-admin-backup-dir.php +19 -4
- admin/class-boldgrid-backup-admin-core.php +3 -1
- admin/class-boldgrid-backup-admin-log.php +15 -0
- admin/class-boldgrid-backup-admin-upload.php +9 -4
- admin/compressor/class-boldgrid-backup-admin-compressor-system-zip-temp-folder.php +42 -0
- admin/orphan/README.md +54 -0
- admin/orphan/class-cleanup.php +78 -0
- admin/orphan/class-finder.php +110 -0
- coverage.xml +771 -677
- includes/class-boldgrid-backup.php +4 -0
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
admin/class-boldgrid-backup-admin-backup-dir.php
CHANGED
@@ -198,17 +198,32 @@ class Boldgrid_Backup_Admin_Backup_Dir {
|
|
198 |
*
|
199 |
* @since 1.7.0
|
200 |
*
|
201 |
-
* @param string $search
|
|
|
|
|
|
|
|
|
202 |
* @return array
|
203 |
*/
|
204 |
-
public function dirlist_containing( $search ) {
|
205 |
$matches = array();
|
206 |
$dirlist = $this->dirlist();
|
207 |
|
208 |
// Find all the files including $search in their filename.
|
209 |
foreach ( $dirlist as $filename => $filedata ) {
|
210 |
-
|
211 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
}
|
213 |
}
|
214 |
|
198 |
*
|
199 |
* @since 1.7.0
|
200 |
*
|
201 |
+
* @param string $search The search string / needle.
|
202 |
+
* @param string $search_type The type of search to perform. As you can see based on this method's
|
203 |
+
* name, originally we only found files containing a string. As of 1.13.8,
|
204 |
+
* you can pass a $search_type of 'end' to find files ending with a
|
205 |
+
* string.
|
206 |
* @return array
|
207 |
*/
|
208 |
+
public function dirlist_containing( $search, $search_type = 'contain' ) {
|
209 |
$matches = array();
|
210 |
$dirlist = $this->dirlist();
|
211 |
|
212 |
// Find all the files including $search in their filename.
|
213 |
foreach ( $dirlist as $filename => $filedata ) {
|
214 |
+
switch ( $search_type ) {
|
215 |
+
case 'end':
|
216 |
+
// As of 1.13.8, find files ending with string.
|
217 |
+
if ( substr( $filename, -strlen( $search ) ) === $search ) {
|
218 |
+
$matches[ $filename ] = $filedata;
|
219 |
+
}
|
220 |
+
break;
|
221 |
+
default:
|
222 |
+
// Default behaviour, find files containing.
|
223 |
+
if ( false !== strpos( $filename, $search ) ) {
|
224 |
+
$matches[ $filename ] = $filedata;
|
225 |
+
}
|
226 |
+
break;
|
227 |
}
|
228 |
}
|
229 |
|
admin/class-boldgrid-backup-admin-core.php
CHANGED
@@ -1651,8 +1651,10 @@ class Boldgrid_Backup_Admin_Core {
|
|
1651 |
return [ 'error' => 'No available compressor.' ];
|
1652 |
}
|
1653 |
|
1654 |
-
// Enforce retention
|
1655 |
$this->enforce_retention();
|
|
|
|
|
1656 |
|
1657 |
// Prevent this script from dying.
|
1658 |
ignore_user_abort( true );
|
1651 |
return [ 'error' => 'No available compressor.' ];
|
1652 |
}
|
1653 |
|
1654 |
+
// Cleanup. Enforce retention and delete orphaned files.
|
1655 |
$this->enforce_retention();
|
1656 |
+
$orphan_cleanup = new Boldgrid\Backup\Admin\Orphan\Cleanup();
|
1657 |
+
$orphan_cleanup->run();
|
1658 |
|
1659 |
// Prevent this script from dying.
|
1660 |
ignore_user_abort( true );
|
admin/class-boldgrid-backup-admin-log.php
CHANGED
@@ -18,6 +18,20 @@
|
|
18 |
* @since 1.12.5
|
19 |
*/
|
20 |
class Boldgrid_Backup_Admin_Log {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
/**
|
22 |
* The core class object.
|
23 |
*
|
@@ -214,6 +228,7 @@ class Boldgrid_Backup_Admin_Log {
|
|
214 |
$log_created = $this->core->wp_filesystem->touch( $this->filepath );
|
215 |
|
216 |
if ( $log_created ) {
|
|
|
217 |
$this->add_generic();
|
218 |
}
|
219 |
}
|
18 |
* @since 1.12.5
|
19 |
*/
|
20 |
class Boldgrid_Backup_Admin_Log {
|
21 |
+
/**
|
22 |
+
* Whether or not this log file was just created within this instance.
|
23 |
+
*
|
24 |
+
* Not all log files are recording info for one process, like a backup. There could be a general
|
25 |
+
* log that has stuff added to it on a regular basis.
|
26 |
+
*
|
27 |
+
* Knowing if this log file was just created can be useful, for example, if you wanted to add a
|
28 |
+
* heading to the log file to describe what the file is for.
|
29 |
+
*
|
30 |
+
* @since 1.13.8
|
31 |
+
* @var bool
|
32 |
+
*/
|
33 |
+
public $is_new = false;
|
34 |
+
|
35 |
/**
|
36 |
* The core class object.
|
37 |
*
|
228 |
$log_created = $this->core->wp_filesystem->touch( $this->filepath );
|
229 |
|
230 |
if ( $log_created ) {
|
231 |
+
$this->is_new = true;
|
232 |
$this->add_generic();
|
233 |
}
|
234 |
}
|
admin/class-boldgrid-backup-admin-upload.php
CHANGED
@@ -500,12 +500,17 @@ class Boldgrid_Backup_Admin_Upload {
|
|
500 |
$this->core->wp_filesystem->delete( $filepath );
|
501 |
}
|
502 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
503 |
wp_send_json_error(
|
504 |
[
|
505 |
-
'error' =>
|
506 |
-
'Could not retrieve the remote file. It may not be a ZIP file, or the link is no longer valid.',
|
507 |
-
'boldgrid-backup'
|
508 |
-
),
|
509 |
]
|
510 |
);
|
511 |
}
|
500 |
$this->core->wp_filesystem->delete( $filepath );
|
501 |
}
|
502 |
|
503 |
+
// Determine the error message the user will see and return it.
|
504 |
+
$error_message = __( 'Could not retrieve the remote file.', 'boldgrid-backup' );
|
505 |
+
if ( is_wp_error( $response ) ) {
|
506 |
+
$error_message .= ' ' . $response->get_error_message();
|
507 |
+
} else {
|
508 |
+
$error_message .= ' ' . __( 'It may not be a ZIP file, or the link is no longer valid.', 'boldgrid-backup' );
|
509 |
+
}
|
510 |
+
|
511 |
wp_send_json_error(
|
512 |
[
|
513 |
+
'error' => $error_message,
|
|
|
|
|
|
|
514 |
]
|
515 |
);
|
516 |
}
|
admin/compressor/class-boldgrid-backup-admin-compressor-system-zip-temp-folder.php
CHANGED
@@ -67,6 +67,48 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder {
|
|
67 |
return $this->core->wp_filesystem->rmdir( self::get_path() );
|
68 |
}
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
/**
|
71 |
* Get the path to our temp folder.
|
72 |
*
|
67 |
return $this->core->wp_filesystem->rmdir( self::get_path() );
|
68 |
}
|
69 |
|
70 |
+
/**
|
71 |
+
* Determine whether or not the system zip temp folder exists.
|
72 |
+
*
|
73 |
+
* @since 1.13.8
|
74 |
+
*
|
75 |
+
* @return bool
|
76 |
+
*/
|
77 |
+
public function exists() {
|
78 |
+
$path = self::get_path();
|
79 |
+
|
80 |
+
return $this->core->wp_filesystem->exists( $path );
|
81 |
+
}
|
82 |
+
|
83 |
+
/**
|
84 |
+
* Return a list of files in the system zip temp folder.
|
85 |
+
*
|
86 |
+
* @since 1.13.8
|
87 |
+
*
|
88 |
+
* @return array
|
89 |
+
*/
|
90 |
+
public function dirlist() {
|
91 |
+
$dirlist = array();
|
92 |
+
|
93 |
+
if ( $this->exists() ) {
|
94 |
+
$path = trailingslashit( self::get_path() );
|
95 |
+
|
96 |
+
$dirlist = $this->core->wp_filesystem->dirlist( $path );
|
97 |
+
$dirlist = empty( $dirlist ) ? array() : $dirlist;
|
98 |
+
|
99 |
+
/*
|
100 |
+
* When using WP_Filesystem, the key of each array element is the name of the file. For
|
101 |
+
* this method, we prefer the keys to be the full path to the file.
|
102 |
+
*/
|
103 |
+
foreach ( $dirlist as $filename => $data ) {
|
104 |
+
$dirlist[ $path . $filename ] = $data;
|
105 |
+
unset( $dirlist[ $filename ] );
|
106 |
+
}
|
107 |
+
}
|
108 |
+
|
109 |
+
return $dirlist;
|
110 |
+
}
|
111 |
+
|
112 |
/**
|
113 |
* Get the path to our temp folder.
|
114 |
*
|
admin/orphan/README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Orphaned Files
|
2 |
+
|
3 |
+
An orphaned file is a backup file that should not exist. For example, while a `.zip` file is being written
|
4 |
+
it may temporarily be named `backup.zip.JIE4T9A`. When the file is successfully written, the random `JIE4T9A`
|
5 |
+
extension will be removed.
|
6 |
+
|
7 |
+
If the backup process is killed, the orphaned `backup.zip.JIE4T9A` file will exists and just take up
|
8 |
+
space. It should be removed.
|
9 |
+
|
10 |
+
## Naming Conventions
|
11 |
+
|
12 |
+
### PclZip ###
|
13 |
+
|
14 |
+
PclZip does not appear to store `.zip` files anywhere temporarily while they're written. Testing shows
|
15 |
+
backup files are written in the permanent location using the permanent filename.
|
16 |
+
|
17 |
+
```
|
18 |
+
/home/user/boldgrid_backup/backup.zip
|
19 |
+
```
|
20 |
+
|
21 |
+
### ZipArchive ###
|
22 |
+
|
23 |
+
ZipArchive will append a random string to the end of the file, such as `backup.zip.hzWRMm`, and then
|
24 |
+
remove it when the file is written.
|
25 |
+
|
26 |
+
```
|
27 |
+
/home/user/boldgrid_backup/backup.zip.hzWRMm
|
28 |
+
```
|
29 |
+
|
30 |
+
### System Zip ###
|
31 |
+
|
32 |
+
We've setup System Zip to archive files in a separate folder, and then move them when done.
|
33 |
+
|
34 |
+
```
|
35 |
+
/home/user/boldgrid_backup/system-zip-temp/zi5XqLpx
|
36 |
+
```
|
37 |
+
|
38 |
+
In testing, when the backup process received a `kill -9`, the zip file was created, but it was incomplete:
|
39 |
+
|
40 |
+
```
|
41 |
+
/home/user/boldgrid_backup/backup.zip
|
42 |
+
```
|
43 |
+
|
44 |
+
Running a test command still showed the zip was valid.
|
45 |
+
|
46 |
+
```
|
47 |
+
unzip -t backup.zip
|
48 |
+
Archive: backup.zip
|
49 |
+
testing: domain.20200605-181832.sql OK
|
50 |
+
testing: domain.log OK
|
51 |
+
No errors detected in compressed data of backup.zip.
|
52 |
+
```
|
53 |
+
|
54 |
+
As you can see, it looks like only 2 files, the `.sql` file and the `.log` file were written.
|
admin/orphan/class-cleanup.php
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Orphan Cleanup class.
|
4 |
+
*
|
5 |
+
* @link https://www.boldgrid.com
|
6 |
+
* @since 1.13.8
|
7 |
+
*
|
8 |
+
* @package Boldgrid\Backup
|
9 |
+
* @subpackage Boldgrid\Backup\Admin
|
10 |
+
* @copyright BoldGrid
|
11 |
+
* @author BoldGrid <support@boldgrid.com>
|
12 |
+
*/
|
13 |
+
|
14 |
+
namespace Boldgrid\Backup\Admin\Orphan;
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Class: Finder
|
18 |
+
*
|
19 |
+
* @since 1.13.8
|
20 |
+
*/
|
21 |
+
class Cleanup {
|
22 |
+
/**
|
23 |
+
* An instance of core.
|
24 |
+
*
|
25 |
+
* @since 1.13.8
|
26 |
+
* @access private
|
27 |
+
* @var Boldgrid_Backup_Admin_Core
|
28 |
+
*/
|
29 |
+
private $core;
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Header message for log file.
|
33 |
+
*
|
34 |
+
* @since 1.13.8
|
35 |
+
* @access private
|
36 |
+
* @var string
|
37 |
+
*/
|
38 |
+
private $header;
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Constructor.
|
42 |
+
*
|
43 |
+
* @since 1.13.8
|
44 |
+
*/
|
45 |
+
public function __construct() {
|
46 |
+
$this->core = apply_filters( 'boldgrid_backup_get_core', null );
|
47 |
+
|
48 |
+
$this->header = "\n" .
|
49 |
+
'This is your "orphaned files" log. If a backup process fails, orphaned files might remain in ' .
|
50 |
+
'your backup directory, and they will need to be deleted. Total Upkeep will delete those files ' .
|
51 |
+
'and keep a log of them here. If this file exists and you see an excess of orphaned files being ' .
|
52 |
+
'deleted, please contact support for further assistance at https://wordpress.org/support/plugin/boldgrid-backup/';
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Delete orphaned files.
|
57 |
+
*
|
58 |
+
* @since 1.13.8
|
59 |
+
*/
|
60 |
+
public function run() {
|
61 |
+
$orphan_finder = new Finder();
|
62 |
+
$orphans = $orphan_finder->run();
|
63 |
+
|
64 |
+
if ( $orphans ) {
|
65 |
+
$logger = new \Boldgrid_Backup_Admin_Log( $this->core );
|
66 |
+
$logger->init( 'orphaned-files.log' );
|
67 |
+
|
68 |
+
if ( $logger->is_new ) {
|
69 |
+
$logger->add( $this->header );
|
70 |
+
}
|
71 |
+
|
72 |
+
foreach ( $orphans as $filepath => $data ) {
|
73 |
+
$this->core->wp_filesystem->delete( $filepath );
|
74 |
+
$logger->add( 'Deleted: ' . $filepath . ' (' . size_format( $data['size'], 2 ) . ')' );
|
75 |
+
}
|
76 |
+
}
|
77 |
+
}
|
78 |
+
}
|
admin/orphan/class-finder.php
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Orphan Finder class.
|
4 |
+
*
|
5 |
+
* @link https://www.boldgrid.com
|
6 |
+
* @since 1.13.8
|
7 |
+
*
|
8 |
+
* @package Boldgrid\Backup
|
9 |
+
* @subpackage Boldgrid\Backup\Admin
|
10 |
+
* @copyright BoldGrid
|
11 |
+
* @author BoldGrid <support@boldgrid.com>
|
12 |
+
*/
|
13 |
+
|
14 |
+
namespace Boldgrid\Backup\Admin\Orphan;
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Class: Finder
|
18 |
+
*
|
19 |
+
* @since 1.13.8
|
20 |
+
*/
|
21 |
+
class Finder {
|
22 |
+
/**
|
23 |
+
* An instance of Boldgrid_Backup_Admin_Core.
|
24 |
+
*
|
25 |
+
* @since 1.13.8
|
26 |
+
* @access private
|
27 |
+
* @var Boldgrid_Backup_Admin_Core
|
28 |
+
*/
|
29 |
+
private $core;
|
30 |
+
|
31 |
+
/**
|
32 |
+
* An array of all orphaned files.
|
33 |
+
*
|
34 |
+
* Example: https://pastebin.com/T36y5PXb
|
35 |
+
*
|
36 |
+
* @since 1.13.8
|
37 |
+
* @access private
|
38 |
+
* @var array
|
39 |
+
*/
|
40 |
+
private $filelist = array();
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Constructor.
|
44 |
+
*
|
45 |
+
* @since 1.13.8
|
46 |
+
*/
|
47 |
+
public function __construct() {
|
48 |
+
$this->core = apply_filters( 'boldgrid_backup_get_core', null );
|
49 |
+
}
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Determine whether or not a file is considered old enough to be an orphan.
|
53 |
+
*
|
54 |
+
* For example, we may be in the middle of creating a backup with system zip. Just because a file
|
55 |
+
* exists in /home/user/boldgrid_backup/system_zip_temp, doesn't mean it's an orphan. It could be
|
56 |
+
* the actual temp file for the zip in progress.
|
57 |
+
*
|
58 |
+
* @since 1.13.8
|
59 |
+
*
|
60 |
+
* @param array $file An array of file information as received from a WP_Filesystm::dirlist call.
|
61 |
+
* @return bool
|
62 |
+
*/
|
63 |
+
public function is_file_old( array $file ) {
|
64 |
+
// Any possible orphan over 2 hours old will be considered an orphan.
|
65 |
+
$threshold = 60 * 60 * 2;
|
66 |
+
|
67 |
+
return 'f' === $file['type'] && ( time() - $file['lastmodunix'] > $threshold );
|
68 |
+
}
|
69 |
+
|
70 |
+
/**
|
71 |
+
* Get and return a list of orphaned files.
|
72 |
+
*
|
73 |
+
* These files are considered safe to delete.
|
74 |
+
*
|
75 |
+
* @since 1.13.8
|
76 |
+
*
|
77 |
+
* @return array
|
78 |
+
*/
|
79 |
+
public function run() {
|
80 |
+
$this->set_filelist();
|
81 |
+
|
82 |
+
return $this->filelist;
|
83 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Set our filelist, our array or orphaned files.
|
87 |
+
*
|
88 |
+
* @since 1.13.8
|
89 |
+
*/
|
90 |
+
public function set_filelist() {
|
91 |
+
// Get orphaned files in the root of the backup directory.
|
92 |
+
$zip_with_extension = $this->core->backup_dir->dirlist_containing( '.zip.' );
|
93 |
+
$sqls = $this->core->backup_dir->dirlist_containing( '.sql', 'end' );
|
94 |
+
$files = array_merge( $zip_with_extension, $sqls );
|
95 |
+
foreach ( $files as $file ) {
|
96 |
+
if ( $this->is_file_old( $file ) ) {
|
97 |
+
$full_path = $this->core->backup_dir->get_path_to( $file['name'] );
|
98 |
+
$this->filelist[ $full_path ] = $file;
|
99 |
+
}
|
100 |
+
}
|
101 |
+
|
102 |
+
// Get orphaned files in the system zip temp folder.
|
103 |
+
$system_zip_temp = new \Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder();
|
104 |
+
foreach ( $system_zip_temp->dirlist() as $filepath => $file ) {
|
105 |
+
if ( $this->is_file_old( $file ) ) {
|
106 |
+
$this->filelist[ $filepath ] = $file;
|
107 |
+
}
|
108 |
+
}
|
109 |
+
}
|
110 |
+
}
|
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">
|
@@ -1959,7 +1959,7 @@
|
|
1959 |
</file>
|
1960 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-backup-dir.php">
|
1961 |
<class name="Boldgrid_Backup_Admin_Backup_Dir" namespace="global" fullPackage="Boldgrid.Backup.Admin.Backup">
|
1962 |
-
<metrics complexity="
|
1963 |
</class>
|
1964 |
<line num="64" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
1965 |
<line num="65" type="stmt" count="20"/>
|
@@ -2024,155 +2024,163 @@
|
|
2024 |
<line num="171" type="stmt" count="2"/>
|
2025 |
<line num="172" type="stmt" count="2"/>
|
2026 |
<line num="174" type="stmt" count="2"/>
|
2027 |
-
<line num="184" type="method" name="dirlist" visibility="public" complexity="2" crap="
|
2028 |
-
<line num="185" type="stmt" count="
|
2029 |
-
<line num="187" type="stmt" count="
|
2030 |
-
<line num="189" type="stmt" count="
|
2031 |
-
<line num="190" type="stmt" count="
|
2032 |
-
<line num="191" type="stmt" count="
|
2033 |
-
<line num="193" type="stmt" count="
|
2034 |
-
<line num="
|
2035 |
-
<line num="
|
2036 |
-
<line num="
|
2037 |
-
<line num="
|
2038 |
-
<line num="
|
2039 |
-
<line num="
|
2040 |
-
<line num="
|
2041 |
-
<line num="
|
2042 |
-
<line num="
|
2043 |
-
<line num="
|
2044 |
-
<line num="
|
2045 |
-
<line num="
|
2046 |
-
<line num="
|
2047 |
-
<line num="
|
2048 |
-
<line num="
|
2049 |
-
<line num="
|
2050 |
-
<line num="
|
2051 |
-
<line num="
|
2052 |
-
<line num="
|
2053 |
-
<line num="
|
2054 |
-
<line num="
|
2055 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
2056 |
<line num="268" type="stmt" count="6"/>
|
2057 |
-
<line num="
|
2058 |
-
<line num="272" type="stmt" count="6"/>
|
2059 |
<line num="273" type="stmt" count="6"/>
|
2060 |
-
<line num="274" type="stmt" count="0"/>
|
2061 |
-
<line num="277" type="stmt" count="6"/>
|
2062 |
-
<line num="279" type="stmt" count="6"/>
|
2063 |
-
<line num="280" type="stmt" count="6"/>
|
2064 |
-
<line num="281" type="stmt" count="6"/>
|
2065 |
<line num="283" type="stmt" count="6"/>
|
2066 |
-
<line num="
|
2067 |
-
<line num="
|
2068 |
-
<line num="
|
2069 |
-
<line num="
|
2070 |
-
<line num="
|
2071 |
-
<line num="
|
2072 |
-
<line num="
|
2073 |
-
<line num="
|
2074 |
-
<line num="
|
2075 |
-
<line num="
|
2076 |
-
<line num="
|
2077 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
2078 |
<line num="329" type="stmt" count="0"/>
|
2079 |
-
<line num="
|
2080 |
-
<line num="
|
2081 |
-
<line num="
|
2082 |
-
<line num="
|
2083 |
-
<line num="
|
2084 |
-
<line num="
|
2085 |
-
<line num="
|
2086 |
-
<line num="
|
2087 |
-
<line num="
|
2088 |
-
<line num="
|
2089 |
-
<line num="
|
2090 |
-
<line num="
|
2091 |
-
<line num="
|
2092 |
-
<line num="
|
2093 |
-
<line num="
|
2094 |
-
<line num="
|
2095 |
-
<line num="
|
2096 |
-
<line num="
|
2097 |
-
<line num="
|
2098 |
-
<line num="
|
2099 |
<line num="403" type="stmt" count="2"/>
|
2100 |
-
<line num="404" type="stmt" count="2"/>
|
2101 |
<line num="406" type="stmt" count="2"/>
|
2102 |
<line num="407" type="stmt" count="0"/>
|
2103 |
-
<line num="411" type="stmt" count="2"/>
|
2104 |
-
<line num="412" type="stmt" count="2"/>
|
2105 |
-
<line num="413" type="stmt" count="0"/>
|
2106 |
<line num="417" type="stmt" count="2"/>
|
2107 |
<line num="418" type="stmt" count="2"/>
|
2108 |
-
<line num="
|
2109 |
-
<line num="421" type="stmt" count="
|
2110 |
-
<line num="
|
2111 |
<line num="426" type="stmt" count="2"/>
|
2112 |
-
<line num="
|
2113 |
-
<line num="
|
2114 |
<line num="432" type="stmt" count="2"/>
|
2115 |
-
<line num="
|
2116 |
-
<line num="
|
2117 |
-
<line num="
|
2118 |
-
<line num="
|
2119 |
-
<line num="
|
2120 |
-
<line num="
|
2121 |
-
<line num="
|
2122 |
-
<line num="
|
2123 |
-
<line num="
|
2124 |
-
<line num="
|
2125 |
-
<line num="
|
2126 |
-
<line num="
|
2127 |
-
<line num="
|
2128 |
-
<line num="
|
2129 |
-
<line num="
|
2130 |
-
<line num="
|
2131 |
-
<line num="
|
2132 |
-
<line num="
|
2133 |
-
<line num="
|
2134 |
-
<line num="499" type="stmt" count="0"/>
|
2135 |
-
<line num="501" type="stmt" count="0"/>
|
2136 |
<line num="502" type="stmt" count="0"/>
|
2137 |
-
<line num="
|
|
|
2138 |
<line num="506" type="stmt" count="0"/>
|
2139 |
-
<line num="
|
2140 |
-
<line num="509" type="stmt" count="2"/>
|
2141 |
<line num="510" type="stmt" count="0"/>
|
2142 |
-
<line num="
|
2143 |
-
<line num="513" type="stmt" count="
|
2144 |
-
<line num="
|
|
|
2145 |
<line num="517" type="stmt" count="0"/>
|
2146 |
-
<line num="
|
2147 |
-
<line num="520" type="stmt" count="2"/>
|
2148 |
<line num="521" type="stmt" count="0"/>
|
2149 |
-
<line num="
|
2150 |
-
<line num="524" type="stmt" count="
|
2151 |
-
<line num="
|
|
|
2152 |
<line num="528" type="stmt" count="0"/>
|
2153 |
-
<line num="
|
2154 |
-
<line num="
|
2155 |
-
<line num="
|
2156 |
-
<line num="
|
|
|
|
|
|
|
2157 |
<line num="541" type="stmt" count="0"/>
|
2158 |
<line num="543" type="stmt" count="0"/>
|
2159 |
<line num="544" type="stmt" count="0"/>
|
2160 |
-
<line num="
|
2161 |
-
<line num="
|
2162 |
-
<line num="
|
2163 |
-
<line num="
|
2164 |
-
<line num="
|
2165 |
-
<line num="
|
2166 |
-
<line num="
|
2167 |
-
<line num="
|
2168 |
-
<line num="
|
2169 |
-
<line num="
|
2170 |
-
<line num="
|
2171 |
-
<line num="
|
2172 |
-
<line num="
|
2173 |
-
<line num="
|
2174 |
-
<line num="
|
2175 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
2176 |
</file>
|
2177 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php">
|
2178 |
<class name="Boldgrid_Backup_Admin_Cli" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -2508,7 +2516,7 @@
|
|
2508 |
</file>
|
2509 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
|
2510 |
<class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2511 |
-
<metrics complexity="232" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="
|
2512 |
</class>
|
2513 |
<line num="584" type="method" name="__construct" visibility="public" complexity="7" crap="7.03" count="20"/>
|
2514 |
<line num="585" type="stmt" count="20"/>
|
@@ -2945,7 +2953,7 @@
|
|
2945 |
<line num="1519" type="stmt" count="4"/>
|
2946 |
<line num="1520" type="stmt" count="4"/>
|
2947 |
<line num="1522" type="stmt" count="4"/>
|
2948 |
-
<line num="1537" type="method" name="archive_files" visibility="public" complexity="49" crap="
|
2949 |
<line num="1538" type="stmt" count="4"/>
|
2950 |
<line num="1540" type="stmt" count="4"/>
|
2951 |
<line num="1541" type="stmt" count="4"/>
|
@@ -3011,39 +3019,39 @@
|
|
3011 |
<line num="1650" type="stmt" count="4"/>
|
3012 |
<line num="1651" type="stmt" count="0"/>
|
3013 |
<line num="1655" type="stmt" count="4"/>
|
3014 |
-
<line num="
|
3015 |
-
<line num="
|
3016 |
-
<line num="
|
3017 |
-
<line num="
|
3018 |
<line num="1666" type="stmt" count="4"/>
|
|
|
3019 |
<line num="1668" type="stmt" count="4"/>
|
3020 |
<line num="1670" type="stmt" count="4"/>
|
3021 |
-
<line num="
|
3022 |
<line num="1673" type="stmt" count="4"/>
|
3023 |
-
<line num="1675" type="stmt" count="
|
3024 |
-
<line num="1676" type="stmt" count="0"/>
|
3025 |
<line num="1677" type="stmt" count="0"/>
|
3026 |
-
<line num="
|
3027 |
-
<line num="
|
3028 |
-
<line num="
|
3029 |
-
<line num="
|
3030 |
-
<line num="
|
3031 |
-
<line num="
|
|
|
3032 |
<line num="1694" type="stmt" count="0"/>
|
3033 |
-
<line num="
|
3034 |
<line num="1697" type="stmt" count="0"/>
|
3035 |
-
<line num="
|
3036 |
-
<line num="
|
3037 |
-
<line num="
|
3038 |
-
<line num="
|
3039 |
-
<line num="
|
3040 |
-
<line num="
|
3041 |
-
<line num="1714" type="stmt" count="4"/>
|
3042 |
<line num="1715" type="stmt" count="4"/>
|
3043 |
<line num="1716" type="stmt" count="4"/>
|
|
|
3044 |
<line num="1718" type="stmt" count="4"/>
|
3045 |
<line num="1720" type="stmt" count="4"/>
|
3046 |
-
<line num="1721" type="stmt" count="4"/>
|
3047 |
<line num="1722" type="stmt" count="4"/>
|
3048 |
<line num="1723" type="stmt" count="4"/>
|
3049 |
<line num="1724" type="stmt" count="4"/>
|
@@ -3051,53 +3059,53 @@
|
|
3051 |
<line num="1726" type="stmt" count="4"/>
|
3052 |
<line num="1727" type="stmt" count="4"/>
|
3053 |
<line num="1728" type="stmt" count="4"/>
|
|
|
3054 |
<line num="1730" type="stmt" count="4"/>
|
3055 |
-
<line num="
|
3056 |
<line num="1744" type="stmt" count="4"/>
|
3057 |
-
<line num="
|
3058 |
-
<line num="
|
3059 |
<line num="1750" type="stmt" count="4"/>
|
3060 |
<line num="1752" type="stmt" count="4"/>
|
3061 |
-
<line num="1753" type="stmt" count="4"/>
|
3062 |
<line num="1754" type="stmt" count="4"/>
|
|
|
3063 |
<line num="1756" type="stmt" count="4"/>
|
3064 |
-
<line num="
|
3065 |
-
<line num="
|
3066 |
-
<line num="
|
3067 |
-
<line num="1765" type="stmt" count="1"/>
|
3068 |
<line num="1766" type="stmt" count="1"/>
|
3069 |
-
<line num="1767" type="stmt" count="
|
3070 |
-
<line num="1768" type="stmt" count="
|
3071 |
<line num="1769" type="stmt" count="4"/>
|
3072 |
<line num="1770" type="stmt" count="4"/>
|
3073 |
-
<line num="1771" type="stmt" count="
|
3074 |
-
<line num="
|
3075 |
-
<line num="
|
3076 |
-
<line num="1775" type="stmt" count="
|
3077 |
-
<line num="
|
3078 |
-
<line num="
|
3079 |
-
<line num="1779" type="stmt" count="
|
3080 |
-
<line num="
|
3081 |
-
<line num="
|
3082 |
-
<line num="1783" type="stmt" count="
|
3083 |
-
<line num="
|
3084 |
-
<line num="
|
3085 |
-
<line num="1787" type="stmt" count="
|
3086 |
-
<line num="1788" type="stmt" count="
|
3087 |
<line num="1789" type="stmt" count="1"/>
|
3088 |
<line num="1790" type="stmt" count="1"/>
|
3089 |
-
<line num="1791" type="stmt" count="
|
3090 |
-
<line num="1792" type="stmt" count="
|
3091 |
<line num="1793" type="stmt" count="0"/>
|
3092 |
-
<line num="1794" type="stmt" count="
|
|
|
3093 |
<line num="1796" type="stmt" count="4"/>
|
3094 |
-
<line num="
|
3095 |
-
<line num="
|
3096 |
-
<line num="
|
3097 |
-
<line num="
|
3098 |
-
<line num="
|
3099 |
-
<line num="
|
3100 |
-
<line num="1805" type="stmt" count="4"/>
|
3101 |
<line num="1806" type="stmt" count="4"/>
|
3102 |
<line num="1807" type="stmt" count="4"/>
|
3103 |
<line num="1808" type="stmt" count="4"/>
|
@@ -3105,214 +3113,214 @@
|
|
3105 |
<line num="1810" type="stmt" count="4"/>
|
3106 |
<line num="1811" type="stmt" count="4"/>
|
3107 |
<line num="1812" type="stmt" count="4"/>
|
|
|
3108 |
<line num="1814" type="stmt" count="4"/>
|
3109 |
-
<line num="
|
3110 |
<line num="1817" type="stmt" count="4"/>
|
3111 |
<line num="1819" type="stmt" count="4"/>
|
3112 |
-
<line num="
|
3113 |
-
<line num="
|
3114 |
-
<line num="1823" type="stmt" count="
|
3115 |
-
<line num="
|
3116 |
-
<line num="
|
3117 |
<line num="1829" type="stmt" count="4"/>
|
3118 |
<line num="1831" type="stmt" count="4"/>
|
3119 |
-
<line num="
|
3120 |
-
<line num="
|
3121 |
-
<line num="
|
3122 |
-
<line num="
|
3123 |
-
<line num="
|
3124 |
-
<line num="1845" type="stmt" count="4"/>
|
3125 |
<line num="1846" type="stmt" count="4"/>
|
3126 |
-
<line num="
|
3127 |
-
<line num="
|
3128 |
-
<line num="
|
|
|
3129 |
<line num="1889" type="stmt" count="4"/>
|
3130 |
-
<line num="1890" type="stmt" count="4"/>
|
3131 |
<line num="1891" type="stmt" count="4"/>
|
|
|
3132 |
<line num="1893" type="stmt" count="4"/>
|
3133 |
-
<line num="
|
3134 |
-
<line num="
|
3135 |
<line num="1899" type="stmt" count="4"/>
|
3136 |
<line num="1901" type="stmt" count="4"/>
|
3137 |
-
<line num="
|
3138 |
<line num="1906" type="stmt" count="4"/>
|
3139 |
-
<line num="
|
3140 |
-
<line num="
|
3141 |
-
<line num="
|
3142 |
-
<line num="
|
3143 |
-
<line num="1914" type="stmt" count="
|
3144 |
<line num="1916" type="stmt" count="4"/>
|
3145 |
-
<line num="
|
3146 |
-
<line num="
|
3147 |
-
<line num="1920" type="stmt" count="
|
3148 |
-
<line num="
|
3149 |
<line num="1923" type="stmt" count="4"/>
|
3150 |
-
<line num="
|
3151 |
-
<line num="
|
3152 |
-
<line num="1949" type="
|
3153 |
-
<line num="
|
3154 |
-
<line num="
|
3155 |
-
<line num="1956" type="stmt" count="5"/>
|
3156 |
<line num="1957" type="stmt" count="5"/>
|
3157 |
-
<line num="
|
3158 |
-
<line num="
|
3159 |
-
<line num="
|
3160 |
-
<line num="
|
3161 |
-
<line num="
|
3162 |
-
<line num="
|
3163 |
-
<line num="
|
3164 |
-
<line num="
|
3165 |
-
<line num="
|
3166 |
-
<line num="
|
3167 |
-
<line num="
|
3168 |
-
<line num="
|
|
|
3169 |
<line num="1986" type="stmt" count="5"/>
|
3170 |
-
<line num="
|
3171 |
-
<line num="
|
3172 |
-
<line num="
|
3173 |
-
<line num="1995" type="stmt" count="
|
3174 |
-
<line num="
|
3175 |
-
<line num="
|
3176 |
-
<line num="
|
3177 |
-
<line num="2005" type="stmt" count="4"/>
|
3178 |
<line num="2006" type="stmt" count="4"/>
|
3179 |
<line num="2007" type="stmt" count="4"/>
|
3180 |
<line num="2008" type="stmt" count="4"/>
|
3181 |
<line num="2009" type="stmt" count="4"/>
|
3182 |
<line num="2010" type="stmt" count="4"/>
|
3183 |
<line num="2011" type="stmt" count="4"/>
|
3184 |
-
<line num="
|
3185 |
-
<line num="
|
3186 |
-
<line num="
|
3187 |
-
<line num="
|
3188 |
-
<line num="
|
3189 |
-
<line num="
|
3190 |
-
<line num="
|
3191 |
-
<line num="
|
3192 |
-
<line num="
|
3193 |
-
<line num="
|
3194 |
-
<line num="
|
3195 |
-
<line num="
|
3196 |
<line num="2049" type="stmt" count="0"/>
|
3197 |
<line num="2050" type="stmt" count="0"/>
|
|
|
3198 |
<line num="2052" type="stmt" count="0"/>
|
3199 |
-
<line num="2053" type="stmt" count="0"/>
|
3200 |
<line num="2054" type="stmt" count="0"/>
|
|
|
3201 |
<line num="2056" type="stmt" count="0"/>
|
3202 |
<line num="2058" type="stmt" count="0"/>
|
3203 |
-
<line num="
|
3204 |
-
<line num="2063" type="stmt" count="0"/>
|
3205 |
<line num="2064" type="stmt" count="0"/>
|
|
|
3206 |
<line num="2066" type="stmt" count="0"/>
|
3207 |
-
<line num="2067" type="stmt" count="0"/>
|
3208 |
<line num="2068" type="stmt" count="0"/>
|
|
|
3209 |
<line num="2070" type="stmt" count="0"/>
|
3210 |
<line num="2072" type="stmt" count="0"/>
|
3211 |
-
<line num="
|
3212 |
-
<line num="
|
3213 |
-
<line num="
|
3214 |
-
<line num="
|
3215 |
<line num="2086" type="stmt" count="0"/>
|
3216 |
-
<line num="2087" type="stmt" count="0"/>
|
3217 |
<line num="2088" type="stmt" count="0"/>
|
|
|
3218 |
<line num="2090" type="stmt" count="0"/>
|
3219 |
<line num="2092" type="stmt" count="0"/>
|
3220 |
-
<line num="
|
3221 |
-
<line num="2098" type="stmt" count="0"/>
|
3222 |
<line num="2099" type="stmt" count="0"/>
|
3223 |
-
<line num="
|
|
|
3224 |
<line num="2104" type="stmt" count="0"/>
|
3225 |
-
<line num="2105" type="stmt" count="0"/>
|
3226 |
<line num="2106" type="stmt" count="0"/>
|
|
|
3227 |
<line num="2108" type="stmt" count="0"/>
|
3228 |
<line num="2110" type="stmt" count="0"/>
|
3229 |
-
<line num="
|
3230 |
-
<line num="2116" type="stmt" count="0"/>
|
3231 |
<line num="2117" type="stmt" count="0"/>
|
|
|
3232 |
<line num="2119" type="stmt" count="0"/>
|
3233 |
-
<line num="
|
3234 |
-
<line num="2123" type="stmt" count="0"/>
|
3235 |
<line num="2124" type="stmt" count="0"/>
|
3236 |
<line num="2125" type="stmt" count="0"/>
|
|
|
3237 |
<line num="2127" type="stmt" count="0"/>
|
3238 |
-
<line num="
|
3239 |
-
<line num="
|
3240 |
-
<line num="
|
3241 |
-
<line num="
|
3242 |
-
<line num="2156" type="
|
3243 |
-
<line num="
|
3244 |
-
<line num="
|
3245 |
-
<line num="2178" type="stmt" count="1"/>
|
3246 |
<line num="2179" type="stmt" count="1"/>
|
3247 |
<line num="2180" type="stmt" count="1"/>
|
3248 |
-
<line num="
|
3249 |
-
<line num="
|
3250 |
-
<line num="
|
3251 |
-
<line num="
|
3252 |
-
<line num="
|
3253 |
-
<line num="
|
3254 |
-
<line num="2197" type="
|
3255 |
<line num="2198" type="stmt" count="0"/>
|
3256 |
-
<line num="2199" type="
|
3257 |
-
<line num="
|
3258 |
-
<line num="
|
3259 |
-
<line num="
|
|
|
3260 |
<line num="2208" type="stmt" count="0"/>
|
3261 |
-
<line num="
|
3262 |
-
<line num="2216" type="stmt" count="0"/>
|
3263 |
<line num="2217" type="stmt" count="0"/>
|
3264 |
<line num="2218" type="stmt" count="0"/>
|
|
|
3265 |
<line num="2220" type="stmt" count="0"/>
|
3266 |
-
<line num="
|
3267 |
-
<line num="
|
3268 |
-
<line num="
|
3269 |
<line num="2239" type="stmt" count="1"/>
|
3270 |
-
<line num="2240" type="stmt" count="1"/>
|
3271 |
<line num="2241" type="stmt" count="1"/>
|
3272 |
-
<line num="
|
|
|
3273 |
<line num="2246" type="stmt" count="1"/>
|
3274 |
-
<line num="
|
3275 |
-
<line num="
|
3276 |
-
<line num="2251" type="stmt" count="0"/>
|
3277 |
<line num="2252" type="stmt" count="0"/>
|
3278 |
-
<line num="
|
3279 |
-
<line num="
|
3280 |
-
<line num="2258" type="stmt" count="
|
3281 |
<line num="2259" type="stmt" count="0"/>
|
3282 |
-
<line num="
|
3283 |
-
<line num="
|
3284 |
-
<line num="
|
3285 |
-
<line num="
|
3286 |
<line num="2269" type="stmt" count="1"/>
|
3287 |
-
<line num="2270" type="stmt" count="
|
3288 |
-
<line num="2271" type="stmt" count="
|
3289 |
<line num="2272" type="stmt" count="0"/>
|
3290 |
-
<line num="
|
3291 |
-
<line num="
|
3292 |
<line num="2278" type="stmt" count="1"/>
|
3293 |
-
<line num="2279" type="stmt" count="
|
3294 |
-
<line num="2280" type="stmt" count="
|
3295 |
<line num="2281" type="stmt" count="0"/>
|
3296 |
-
<line num="
|
|
|
3297 |
<line num="2287" type="stmt" count="1"/>
|
3298 |
-
<line num="
|
3299 |
-
<line num="
|
3300 |
-
<line num="2290" type="stmt" count="0"/>
|
3301 |
<line num="2291" type="stmt" count="0"/>
|
3302 |
-
<line num="
|
|
|
3303 |
<line num="2296" type="stmt" count="1"/>
|
3304 |
-
<line num="
|
3305 |
-
<line num="2298" type="stmt" count="0"/>
|
3306 |
<line num="2299" type="stmt" count="0"/>
|
3307 |
-
<line num="
|
|
|
3308 |
<line num="2304" type="stmt" count="1"/>
|
3309 |
-
<line num="2305" type="stmt" count="1"/>
|
3310 |
<line num="2306" type="stmt" count="1"/>
|
3311 |
-
<line num="2307" type="stmt" count="
|
3312 |
-
<line num="2308" type="stmt" count="
|
3313 |
<line num="2309" type="stmt" count="0"/>
|
3314 |
-
<line num="
|
3315 |
-
<line num="
|
3316 |
<line num="2316" type="stmt" count="1"/>
|
3317 |
<line num="2317" type="stmt" count="1"/>
|
3318 |
<line num="2318" type="stmt" count="1"/>
|
@@ -3320,319 +3328,321 @@
|
|
3320 |
<line num="2320" type="stmt" count="1"/>
|
3321 |
<line num="2321" type="stmt" count="1"/>
|
3322 |
<line num="2322" type="stmt" count="1"/>
|
3323 |
-
<line num="
|
|
|
3324 |
<line num="2327" type="stmt" count="1"/>
|
3325 |
-
<line num="
|
3326 |
-
<line num="
|
3327 |
-
<line num="
|
3328 |
-
<line num="
|
3329 |
-
<line num="2345" type="stmt" count="0"/>
|
3330 |
<line num="2346" type="stmt" count="0"/>
|
3331 |
-
<line num="
|
3332 |
-
<line num="
|
3333 |
-
<line num="
|
3334 |
-
<line num="
|
3335 |
<line num="2354" type="stmt" count="1"/>
|
3336 |
<line num="2355" type="stmt" count="1"/>
|
3337 |
<line num="2356" type="stmt" count="1"/>
|
|
|
3338 |
<line num="2358" type="stmt" count="1"/>
|
3339 |
-
<line num="
|
3340 |
-
<line num="
|
3341 |
<line num="2371" type="stmt" count="0"/>
|
3342 |
-
<line num="2372" type="stmt" count="0"/>
|
3343 |
<line num="2373" type="stmt" count="0"/>
|
3344 |
<line num="2374" type="stmt" count="0"/>
|
3345 |
<line num="2375" type="stmt" count="0"/>
|
|
|
3346 |
<line num="2377" type="stmt" count="0"/>
|
3347 |
-
<line num="
|
3348 |
-
<line num="
|
3349 |
-
<line num="2397" type="stmt" count="1"/>
|
3350 |
<line num="2398" type="stmt" count="1"/>
|
3351 |
<line num="2399" type="stmt" count="1"/>
|
3352 |
<line num="2400" type="stmt" count="1"/>
|
3353 |
-
<line num="
|
3354 |
-
<line num="
|
3355 |
-
<line num="2405" type="stmt" count="
|
3356 |
-
<line num="
|
3357 |
-
<line num="
|
|
|
3358 |
<line num="2410" type="stmt" count="0"/>
|
3359 |
-
<line num="2411" type="stmt" count="0"/>
|
3360 |
<line num="2412" type="stmt" count="0"/>
|
3361 |
<line num="2413" type="stmt" count="0"/>
|
3362 |
-
<line num="
|
3363 |
-
<line num="
|
3364 |
-
<line num="
|
3365 |
-
<line num="
|
3366 |
-
<line num="
|
3367 |
-
<line num="
|
3368 |
-
<line num="2426" type="stmt" count="
|
3369 |
<line num="2427" type="stmt" count="0"/>
|
3370 |
-
<line num="
|
3371 |
-
<line num="
|
3372 |
<line num="2431" type="stmt" count="1"/>
|
3373 |
-
<line num="
|
3374 |
-
<line num="
|
3375 |
-
<line num="
|
3376 |
-
<line num="
|
3377 |
-
<line num="
|
3378 |
-
<line num="
|
|
|
3379 |
<line num="2450" type="stmt" count="1"/>
|
3380 |
-
<line num="
|
3381 |
-
<line num="
|
3382 |
-
<line num="
|
3383 |
<line num="2459" type="stmt" count="1"/>
|
3384 |
<line num="2461" type="stmt" count="1"/>
|
3385 |
-
<line num="
|
3386 |
-
<line num="
|
3387 |
-
<line num="
|
3388 |
-
<line num="
|
3389 |
-
<line num="
|
3390 |
<line num="2484" type="stmt" count="0"/>
|
3391 |
-
<line num="
|
3392 |
-
<line num="
|
3393 |
-
<line num="
|
3394 |
<line num="2493" type="stmt" count="0"/>
|
3395 |
-
<line num="
|
3396 |
-
<line num="2497" type="stmt" count="0"/>
|
3397 |
<line num="2498" type="stmt" count="0"/>
|
|
|
3398 |
<line num="2500" type="stmt" count="0"/>
|
3399 |
-
<line num="
|
3400 |
-
<line num="
|
3401 |
-
<line num="2505" type="stmt" count="0"/>
|
3402 |
<line num="2506" type="stmt" count="0"/>
|
3403 |
-
<line num="
|
3404 |
-
<line num="
|
3405 |
-
<line num="
|
|
|
3406 |
<line num="2517" type="stmt" count="0"/>
|
3407 |
-
<line num="2518" type="stmt" count="0"/>
|
3408 |
<line num="2519" type="stmt" count="0"/>
|
3409 |
-
<line num="
|
|
|
3410 |
<line num="2524" type="stmt" count="0"/>
|
3411 |
-
<line num="
|
3412 |
-
<line num="2528" type="stmt" count="0"/>
|
3413 |
<line num="2529" type="stmt" count="0"/>
|
|
|
3414 |
<line num="2531" type="stmt" count="0"/>
|
3415 |
-
<line num="
|
3416 |
-
<line num="
|
3417 |
-
<line num="
|
3418 |
-
<line num="
|
3419 |
-
<line num="2548" type="stmt" count="0"/>
|
3420 |
<line num="2549" type="stmt" count="0"/>
|
|
|
3421 |
<line num="2551" type="stmt" count="0"/>
|
3422 |
-
<line num="2552" type="stmt" count="0"/>
|
3423 |
<line num="2553" type="stmt" count="0"/>
|
3424 |
-
<line num="
|
3425 |
-
<line num="
|
3426 |
<line num="2558" type="stmt" count="0"/>
|
|
|
3427 |
<line num="2560" type="stmt" count="0"/>
|
3428 |
-
<line num="2561" type="stmt" count="0"/>
|
3429 |
<line num="2562" type="stmt" count="0"/>
|
|
|
3430 |
<line num="2564" type="stmt" count="0"/>
|
3431 |
<line num="2566" type="stmt" count="0"/>
|
3432 |
-
<line num="2567" type="stmt" count="0"/>
|
3433 |
<line num="2568" type="stmt" count="0"/>
|
|
|
3434 |
<line num="2570" type="stmt" count="0"/>
|
3435 |
-
<line num="
|
3436 |
<line num="2573" type="stmt" count="0"/>
|
3437 |
-
<line num="
|
3438 |
-
<line num="2577" type="stmt" count="0"/>
|
3439 |
<line num="2578" type="stmt" count="0"/>
|
|
|
3440 |
<line num="2580" type="stmt" count="0"/>
|
3441 |
-
<line num="2581" type="stmt" count="0"/>
|
3442 |
<line num="2582" type="stmt" count="0"/>
|
3443 |
-
<line num="
|
3444 |
-
<line num="
|
3445 |
-
<line num="
|
3446 |
-
<line num="
|
3447 |
-
<line num="
|
3448 |
-
<line num="
|
3449 |
<line num="2611" type="stmt" count="0"/>
|
3450 |
<line num="2612" type="stmt" count="0"/>
|
3451 |
-
<line num="
|
3452 |
-
<line num="
|
3453 |
<line num="2617" type="stmt" count="0"/>
|
3454 |
<line num="2618" type="stmt" count="0"/>
|
3455 |
<line num="2619" type="stmt" count="0"/>
|
3456 |
-
<line num="
|
3457 |
-
<line num="
|
3458 |
<line num="2625" type="stmt" count="0"/>
|
3459 |
<line num="2626" type="stmt" count="0"/>
|
3460 |
<line num="2627" type="stmt" count="0"/>
|
3461 |
-
<line num="
|
3462 |
-
<line num="
|
3463 |
-
<line num="
|
3464 |
<line num="2636" type="stmt" count="0"/>
|
3465 |
<line num="2637" type="stmt" count="0"/>
|
3466 |
-
<line num="
|
3467 |
-
<line num="
|
3468 |
-
<line num="
|
3469 |
<line num="2645" type="stmt" count="0"/>
|
3470 |
<line num="2646" type="stmt" count="0"/>
|
3471 |
-
<line num="
|
3472 |
-
<line num="
|
3473 |
<line num="2652" type="stmt" count="0"/>
|
3474 |
-
<line num="
|
3475 |
-
<line num="
|
3476 |
<line num="2657" type="stmt" count="0"/>
|
3477 |
<line num="2658" type="stmt" count="0"/>
|
|
|
3478 |
<line num="2660" type="stmt" count="0"/>
|
3479 |
<line num="2662" type="stmt" count="0"/>
|
3480 |
<line num="2664" type="stmt" count="0"/>
|
3481 |
-
<line num="2665" type="stmt" count="0"/>
|
3482 |
<line num="2666" type="stmt" count="0"/>
|
3483 |
-
<line num="
|
3484 |
-
<line num="
|
3485 |
-
<line num="
|
3486 |
-
<line num="
|
3487 |
-
<line num="
|
3488 |
-
<line num="
|
3489 |
-
<line num="
|
3490 |
-
<line num="
|
|
|
3491 |
<line num="2696" type="stmt" count="0"/>
|
3492 |
-
<line num="
|
3493 |
-
<line num="
|
3494 |
-
<line num="
|
3495 |
-
<line num="
|
3496 |
-
<line num="
|
3497 |
<line num="2713" type="stmt" count="0"/>
|
3498 |
-
<line num="
|
3499 |
-
<line num="2722" type="stmt" count="0"/>
|
3500 |
<line num="2723" type="stmt" count="0"/>
|
3501 |
<line num="2724" type="stmt" count="0"/>
|
3502 |
<line num="2725" type="stmt" count="0"/>
|
3503 |
-
<line num="
|
3504 |
-
<line num="
|
3505 |
<line num="2730" type="stmt" count="0"/>
|
3506 |
<line num="2731" type="stmt" count="0"/>
|
3507 |
<line num="2732" type="stmt" count="0"/>
|
3508 |
<line num="2733" type="stmt" count="0"/>
|
3509 |
<line num="2734" type="stmt" count="0"/>
|
3510 |
<line num="2735" type="stmt" count="0"/>
|
|
|
3511 |
<line num="2737" type="stmt" count="0"/>
|
3512 |
-
<line num="
|
3513 |
-
<line num="2741" type="stmt" count="0"/>
|
3514 |
<line num="2742" type="stmt" count="0"/>
|
3515 |
<line num="2743" type="stmt" count="0"/>
|
3516 |
<line num="2744" type="stmt" count="0"/>
|
3517 |
<line num="2745" type="stmt" count="0"/>
|
3518 |
-
<line num="
|
3519 |
-
<line num="
|
3520 |
-
<line num="
|
3521 |
-
<line num="
|
3522 |
-
<line num="2766" type="
|
3523 |
-
<line num="
|
3524 |
-
<line num="
|
|
|
3525 |
<line num="2780" type="stmt" count="20"/>
|
3526 |
-
<line num="2781" type="stmt" count="20"/>
|
3527 |
<line num="2782" type="stmt" count="20"/>
|
3528 |
<line num="2783" type="stmt" count="20"/>
|
3529 |
<line num="2784" type="stmt" count="20"/>
|
3530 |
<line num="2785" type="stmt" count="20"/>
|
|
|
3531 |
<line num="2787" type="stmt" count="20"/>
|
3532 |
-
<line num="
|
3533 |
<line num="2790" type="stmt" count="20"/>
|
3534 |
-
<line num="2791" type="stmt" count="20"/>
|
3535 |
<line num="2792" type="stmt" count="20"/>
|
3536 |
<line num="2793" type="stmt" count="20"/>
|
3537 |
<line num="2794" type="stmt" count="20"/>
|
3538 |
<line num="2795" type="stmt" count="20"/>
|
|
|
3539 |
<line num="2797" type="stmt" count="20"/>
|
3540 |
-
<line num="2798" type="stmt" count="20"/>
|
3541 |
<line num="2799" type="stmt" count="20"/>
|
3542 |
-
<line num="
|
|
|
3543 |
<line num="2807" type="stmt" count="20"/>
|
3544 |
-
<line num="2808" type="stmt" count="20"/>
|
3545 |
<line num="2809" type="stmt" count="20"/>
|
3546 |
<line num="2810" type="stmt" count="20"/>
|
3547 |
<line num="2811" type="stmt" count="20"/>
|
|
|
3548 |
<line num="2813" type="stmt" count="20"/>
|
3549 |
-
<line num="
|
3550 |
-
<line num="
|
3551 |
<line num="2819" type="stmt" count="20"/>
|
3552 |
<line num="2821" type="stmt" count="20"/>
|
3553 |
-
<line num="
|
3554 |
-
<line num="
|
3555 |
<line num="2836" type="stmt" count="4"/>
|
3556 |
-
<line num="
|
3557 |
-
<line num="
|
3558 |
-
<line num="
|
3559 |
-
<line num="
|
3560 |
-
<line num="
|
3561 |
-
<line num="2850" type="stmt" count="0"/>
|
3562 |
<line num="2851" type="stmt" count="0"/>
|
|
|
3563 |
<line num="2853" type="stmt" count="0"/>
|
3564 |
-
<line num="2854" type="stmt" count="0"/>
|
3565 |
<line num="2855" type="stmt" count="0"/>
|
3566 |
-
<line num="
|
3567 |
-
<line num="
|
3568 |
<line num="2860" type="stmt" count="0"/>
|
|
|
3569 |
<line num="2862" type="stmt" count="0"/>
|
3570 |
-
<line num="2863" type="stmt" count="0"/>
|
3571 |
<line num="2864" type="stmt" count="0"/>
|
|
|
3572 |
<line num="2866" type="stmt" count="0"/>
|
3573 |
-
<line num="
|
3574 |
-
<line num="
|
3575 |
<line num="2882" type="stmt" count="0"/>
|
3576 |
-
<line num="2883" type="stmt" count="0"/>
|
3577 |
<line num="2884" type="stmt" count="0"/>
|
3578 |
<line num="2885" type="stmt" count="0"/>
|
3579 |
<line num="2886" type="stmt" count="0"/>
|
|
|
3580 |
<line num="2888" type="stmt" count="0"/>
|
3581 |
-
<line num="2889" type="stmt" count="0"/>
|
3582 |
<line num="2890" type="stmt" count="0"/>
|
3583 |
<line num="2891" type="stmt" count="0"/>
|
|
|
3584 |
<line num="2893" type="stmt" count="0"/>
|
3585 |
<line num="2895" type="stmt" count="0"/>
|
3586 |
-
<line num="
|
3587 |
-
<line num="
|
3588 |
-
<line num="2914" type="
|
3589 |
-
<line num="
|
3590 |
-
<line num="
|
3591 |
-
<line num="
|
3592 |
-
<line num="
|
3593 |
-
<line num="
|
3594 |
-
<line num="
|
3595 |
-
<line num="
|
3596 |
-
<line num="
|
3597 |
-
<line num="
|
3598 |
-
<line num="2944" type="stmt" count="4"/>
|
3599 |
<line num="2945" type="stmt" count="4"/>
|
|
|
3600 |
<line num="2947" type="stmt" count="4"/>
|
3601 |
-
<line num="
|
3602 |
<line num="2950" type="stmt" count="4"/>
|
3603 |
-
<line num="
|
3604 |
-
<line num="
|
3605 |
-
<line num="2955" type="stmt" count="4"/>
|
3606 |
<line num="2956" type="stmt" count="4"/>
|
3607 |
<line num="2957" type="stmt" count="4"/>
|
3608 |
-
<line num="2958" type="stmt" count="
|
3609 |
-
<line num="2959" type="stmt" count="
|
3610 |
<line num="2960" type="stmt" count="0"/>
|
3611 |
-
<line num="2961" type="stmt" count="
|
3612 |
-
<line num="2962" type="stmt" count="
|
3613 |
<line num="2963" type="stmt" count="4"/>
|
3614 |
-
<line num="
|
3615 |
-
<line num="
|
3616 |
-
<line num="
|
3617 |
<line num="2971" type="stmt" count="4"/>
|
3618 |
-
<line num="
|
3619 |
-
<line num="
|
3620 |
-
<line num="
|
3621 |
-
<line num="
|
3622 |
<line num="2983" type="stmt" count="1"/>
|
3623 |
-
<line num="
|
3624 |
-
<line num="
|
3625 |
-
<line num="
|
|
|
3626 |
<line num="2994" type="stmt" count="1"/>
|
3627 |
-
<line num="
|
3628 |
-
<line num="
|
3629 |
-
<line num="
|
3630 |
-
<line num="
|
3631 |
-
<line num="3008" type="stmt" count="
|
3632 |
<line num="3010" type="stmt" count="1"/>
|
3633 |
-
<line num="3011" type="stmt" count="1"/>
|
3634 |
<line num="3012" type="stmt" count="1"/>
|
3635 |
-
<
|
|
|
|
|
3636 |
</file>
|
3637 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
|
3638 |
<class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
@@ -5444,101 +5454,102 @@
|
|
5444 |
</file>
|
5445 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log.php">
|
5446 |
<class name="Boldgrid_Backup_Admin_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5447 |
-
<metrics complexity="23" methods="11" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="
|
5448 |
</class>
|
5449 |
-
<line num="
|
5450 |
-
<line num="
|
5451 |
-
<line num="
|
5452 |
-
<line num="
|
5453 |
-
<line num="83" type="stmt" count="4"/>
|
5454 |
-
<line num="84" type="stmt" count="4"/>
|
5455 |
-
<line num="85" type="stmt" count="4"/>
|
5456 |
-
<line num="88" type="stmt" count="4"/>
|
5457 |
-
<line num="96" type="stmt" count="4"/>
|
5458 |
<line num="97" type="stmt" count="4"/>
|
5459 |
<line num="98" type="stmt" count="4"/>
|
5460 |
<line num="99" type="stmt" count="4"/>
|
5461 |
-
<line num="
|
5462 |
-
<line num="
|
5463 |
-
<line num="109" type="stmt" count="4"/>
|
5464 |
<line num="111" type="stmt" count="4"/>
|
5465 |
<line num="112" type="stmt" count="4"/>
|
5466 |
-
<line num="
|
5467 |
-
<line num="
|
|
|
|
|
5468 |
<line num="125" type="stmt" count="4"/>
|
5469 |
-
<line num="126" type="stmt" count="
|
5470 |
-
<line num="
|
5471 |
-
<line num="
|
5472 |
-
<line num="
|
5473 |
-
<line num="
|
5474 |
-
<line num="
|
5475 |
-
<line num="141" type="stmt" count="4"/>
|
5476 |
-
<line num="142" type="stmt" count="4"/>
|
5477 |
<line num="144" type="stmt" count="4"/>
|
5478 |
<line num="145" type="stmt" count="4"/>
|
5479 |
-
<line num="
|
5480 |
-
<line num="147" type="stmt" count="4"/>
|
5481 |
-
<line num="148" type="stmt" count="4"/>
|
5482 |
-
<line num="149" type="stmt" count="4"/>
|
5483 |
-
<line num="150" type="stmt" count="4"/>
|
5484 |
-
<line num="151" type="stmt" count="4"/>
|
5485 |
-
<line num="153" type="stmt" count="4"/>
|
5486 |
<line num="154" type="stmt" count="4"/>
|
5487 |
-
<line num="
|
5488 |
-
<line num="
|
5489 |
-
<line num="
|
5490 |
-
<line num="
|
5491 |
-
<line num="
|
5492 |
-
<line num="
|
5493 |
-
<line num="
|
5494 |
-
<line num="
|
5495 |
-
<line num="
|
5496 |
-
<line num="
|
5497 |
-
<line num="
|
5498 |
-
<line num="
|
5499 |
-
<line num="
|
5500 |
-
<line num="
|
5501 |
-
<line num="
|
|
|
|
|
|
|
|
|
5502 |
<line num="191" type="stmt" count="4"/>
|
5503 |
-
<line num="
|
5504 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
5505 |
<line num="205" type="stmt" count="4"/>
|
5506 |
-
<line num="
|
5507 |
-
<line num="209" type="stmt" count="4"/>
|
5508 |
-
<line num="211" type="stmt" count="4"/>
|
5509 |
-
<line num="213" type="stmt" count="4"/>
|
5510 |
-
<line num="214" type="stmt" count="4"/>
|
5511 |
-
<line num="216" type="stmt" count="4"/>
|
5512 |
<line num="217" type="stmt" count="4"/>
|
5513 |
-
<line num="218" type="stmt" count="4"/>
|
5514 |
<line num="219" type="stmt" count="4"/>
|
5515 |
<line num="221" type="stmt" count="4"/>
|
5516 |
-
<line num="
|
5517 |
-
<line num="
|
5518 |
-
<line num="
|
5519 |
-
<line num="
|
5520 |
-
<line num="
|
5521 |
-
<line num="
|
5522 |
-
<line num="
|
5523 |
-
<line num="
|
5524 |
-
<line num="
|
5525 |
-
<line num="
|
|
|
|
|
|
|
|
|
5526 |
<line num="260" type="stmt" count="0"/>
|
5527 |
-
<line num="
|
5528 |
-
<line num="
|
5529 |
<line num="269" type="stmt" count="0"/>
|
5530 |
-
<line num="270" type="stmt" count="0"/>
|
5531 |
<line num="271" type="stmt" count="0"/>
|
5532 |
-
<line num="
|
5533 |
-
<line num="
|
|
|
|
|
5534 |
<line num="284" type="stmt" count="0"/>
|
5535 |
<line num="285" type="stmt" count="0"/>
|
5536 |
<line num="286" type="stmt" count="0"/>
|
5537 |
<line num="287" type="stmt" count="0"/>
|
5538 |
-
<line num="
|
5539 |
-
<line num="297" type="stmt" count="0"/>
|
5540 |
<line num="299" type="stmt" count="0"/>
|
5541 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
5542 |
</file>
|
5543 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
5544 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -6952,7 +6963,7 @@
|
|
6952 |
</file>
|
6953 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-upload.php">
|
6954 |
<class name="Boldgrid_Backup_Admin_Upload" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6955 |
-
<metrics complexity="
|
6956 |
</class>
|
6957 |
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
6958 |
<line num="41" type="stmt" count="20"/>
|
@@ -7089,7 +7100,7 @@
|
|
7089 |
<line num="369" type="stmt" count="0"/>
|
7090 |
<line num="371" type="stmt" count="0"/>
|
7091 |
<line num="373" type="stmt" count="0"/>
|
7092 |
-
<line num="392" type="method" name="ajax_url_import" visibility="public" complexity="
|
7093 |
<line num="393" type="stmt" count="0"/>
|
7094 |
<line num="394" type="stmt" count="0"/>
|
7095 |
<line num="395" type="stmt" count="0"/>
|
@@ -7161,13 +7172,16 @@
|
|
7161 |
<line num="498" type="stmt" count="0"/>
|
7162 |
<line num="499" type="stmt" count="0"/>
|
7163 |
<line num="500" type="stmt" count="0"/>
|
7164 |
-
<line num="
|
7165 |
<line num="505" type="stmt" count="0"/>
|
7166 |
<line num="506" type="stmt" count="0"/>
|
|
|
7167 |
<line num="508" type="stmt" count="0"/>
|
7168 |
-
<line num="510" type="stmt" count="0"/>
|
7169 |
<line num="511" type="stmt" count="0"/>
|
7170 |
-
<
|
|
|
|
|
|
|
7171 |
</file>
|
7172 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-usage.php">
|
7173 |
<class name="Boldgrid_Backup_Admin_Usage" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -8306,19 +8320,34 @@
|
|
8306 |
</file>
|
8307 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-system-zip-temp-folder.php">
|
8308 |
<class name="Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.System.Zip.Temp">
|
8309 |
-
<metrics complexity="
|
8310 |
</class>
|
8311 |
-
<line num="44" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
8312 |
-
<line num="45" type="stmt" count="
|
8313 |
-
<line num="46" type="stmt" count="
|
8314 |
<line num="55" type="method" name="create" visibility="public" complexity="1" crap="1" count="1"/>
|
8315 |
<line num="56" type="stmt" count="1"/>
|
8316 |
<line num="66" type="method" name="delete" visibility="public" complexity="1" crap="1" count="1"/>
|
8317 |
<line num="67" type="stmt" count="1"/>
|
8318 |
-
<line num="77" type="method" name="
|
8319 |
-
<line num="78" type="stmt" count="
|
8320 |
-
<line num="80" type="stmt" count="
|
8321 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8322 |
</file>
|
8323 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-system-zip-test.php">
|
8324 |
<class name="Boldgrid_Backup_Admin_Compressor_System_Zip_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.System.Zip">
|
@@ -8616,6 +8645,69 @@
|
|
8616 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/index.php">
|
8617 |
<metrics loc="8" ncloc="1" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
|
8618 |
</file>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8619 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/archive-details/browser-entry.php">
|
8620 |
<line num="17" type="stmt" count="0"/>
|
8621 |
<line num="19" type="stmt" count="0"/>
|
@@ -14169,7 +14261,7 @@
|
|
14169 |
</file>
|
14170 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
|
14171 |
<class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
|
14172 |
-
<metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="
|
14173 |
</class>
|
14174 |
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
14175 |
<line num="67" type="stmt" count="0"/>
|
@@ -14290,167 +14382,169 @@
|
|
14290 |
<line num="294" type="stmt" count="0"/>
|
14291 |
<line num="295" type="stmt" count="0"/>
|
14292 |
<line num="297" type="stmt" count="0"/>
|
14293 |
-
<line num="299" type="stmt" count="0"/>
|
14294 |
<line num="300" type="stmt" count="0"/>
|
14295 |
-
<line num="
|
14296 |
-
<line num="
|
14297 |
-
<line num="
|
14298 |
-
<line num="315" type="
|
14299 |
-
<line num="
|
14300 |
-
<line num="
|
14301 |
-
<line num="
|
14302 |
-
<line num="
|
14303 |
-
<line num="
|
|
|
14304 |
<line num="334" type="stmt" count="0"/>
|
14305 |
-
<line num="335" type="stmt" count="0"/>
|
14306 |
<line num="337" type="stmt" count="0"/>
|
14307 |
<line num="338" type="stmt" count="0"/>
|
14308 |
<line num="339" type="stmt" count="0"/>
|
|
|
14309 |
<line num="342" type="stmt" count="0"/>
|
14310 |
<line num="343" type="stmt" count="0"/>
|
14311 |
-
<line num="
|
14312 |
-
<line num="
|
14313 |
<line num="348" type="stmt" count="0"/>
|
14314 |
<line num="349" type="stmt" count="0"/>
|
14315 |
-
<line num="
|
14316 |
-
<line num="351" type="stmt" count="0"/>
|
14317 |
<line num="353" type="stmt" count="0"/>
|
14318 |
<line num="354" type="stmt" count="0"/>
|
14319 |
<line num="355" type="stmt" count="0"/>
|
14320 |
-
<line num="356" type="stmt" count="0"/>
|
14321 |
<line num="357" type="stmt" count="0"/>
|
|
|
|
|
14322 |
<line num="360" type="stmt" count="0"/>
|
14323 |
<line num="361" type="stmt" count="0"/>
|
14324 |
-
<line num="
|
14325 |
-
<line num="
|
14326 |
<line num="366" type="stmt" count="0"/>
|
14327 |
<line num="367" type="stmt" count="0"/>
|
14328 |
-
<line num="
|
14329 |
-
<line num="
|
14330 |
<line num="372" type="stmt" count="0"/>
|
14331 |
<line num="373" type="stmt" count="0"/>
|
14332 |
-
<line num="
|
14333 |
-
<line num="
|
14334 |
<line num="378" type="stmt" count="0"/>
|
14335 |
<line num="379" type="stmt" count="0"/>
|
14336 |
-
<line num="
|
14337 |
-
<line num="
|
14338 |
<line num="384" type="stmt" count="0"/>
|
14339 |
<line num="385" type="stmt" count="0"/>
|
14340 |
-
<line num="
|
14341 |
-
<line num="
|
14342 |
<line num="390" type="stmt" count="0"/>
|
14343 |
<line num="391" type="stmt" count="0"/>
|
14344 |
-
<line num="
|
14345 |
-
<line num="393" type="stmt" count="0"/>
|
14346 |
<line num="395" type="stmt" count="0"/>
|
14347 |
<line num="396" type="stmt" count="0"/>
|
14348 |
<line num="397" type="stmt" count="0"/>
|
|
|
14349 |
<line num="400" type="stmt" count="0"/>
|
14350 |
<line num="401" type="stmt" count="0"/>
|
14351 |
-
<line num="
|
14352 |
-
<line num="
|
14353 |
<line num="406" type="stmt" count="0"/>
|
14354 |
<line num="407" type="stmt" count="0"/>
|
14355 |
-
<line num="
|
14356 |
-
<line num="409" type="stmt" count="0"/>
|
14357 |
<line num="411" type="stmt" count="0"/>
|
14358 |
<line num="412" type="stmt" count="0"/>
|
14359 |
<line num="413" type="stmt" count="0"/>
|
14360 |
-
<line num="414" type="stmt" count="0"/>
|
14361 |
<line num="415" type="stmt" count="0"/>
|
14362 |
<line num="416" type="stmt" count="0"/>
|
|
|
14363 |
<line num="418" type="stmt" count="0"/>
|
|
|
14364 |
<line num="420" type="stmt" count="0"/>
|
14365 |
<line num="422" type="stmt" count="0"/>
|
14366 |
<line num="424" type="stmt" count="0"/>
|
14367 |
-
<line num="425" type="stmt" count="0"/>
|
14368 |
<line num="426" type="stmt" count="0"/>
|
14369 |
<line num="428" type="stmt" count="0"/>
|
14370 |
<line num="429" type="stmt" count="0"/>
|
14371 |
-
<line num="
|
|
|
14372 |
<line num="433" type="stmt" count="0"/>
|
14373 |
<line num="435" type="stmt" count="0"/>
|
14374 |
<line num="437" type="stmt" count="0"/>
|
14375 |
<line num="439" type="stmt" count="0"/>
|
14376 |
-
<line num="440" type="stmt" count="0"/>
|
14377 |
<line num="441" type="stmt" count="0"/>
|
14378 |
<line num="443" type="stmt" count="0"/>
|
|
|
14379 |
<line num="445" type="stmt" count="0"/>
|
14380 |
-
<line num="446" type="stmt" count="0"/>
|
14381 |
<line num="447" type="stmt" count="0"/>
|
14382 |
-
<line num="
|
14383 |
<line num="450" type="stmt" count="0"/>
|
|
|
14384 |
<line num="452" type="stmt" count="0"/>
|
14385 |
<line num="454" type="stmt" count="0"/>
|
14386 |
<line num="456" type="stmt" count="0"/>
|
14387 |
<line num="458" type="stmt" count="0"/>
|
14388 |
<line num="460" type="stmt" count="0"/>
|
14389 |
-
<line num="
|
14390 |
-
<line num="
|
14391 |
<line num="469" type="stmt" count="0"/>
|
14392 |
<line num="471" type="stmt" count="0"/>
|
14393 |
<line num="473" type="stmt" count="0"/>
|
14394 |
<line num="475" type="stmt" count="0"/>
|
14395 |
<line num="477" type="stmt" count="0"/>
|
14396 |
<line num="479" type="stmt" count="0"/>
|
14397 |
-
<line num="
|
14398 |
-
<line num="482" type="stmt" count="0"/>
|
14399 |
<line num="483" type="stmt" count="0"/>
|
14400 |
-
<line num="
|
|
|
14401 |
<line num="487" type="stmt" count="0"/>
|
14402 |
-
<line num="488" type="stmt" count="0"/>
|
14403 |
<line num="489" type="stmt" count="0"/>
|
14404 |
<line num="491" type="stmt" count="0"/>
|
|
|
14405 |
<line num="493" type="stmt" count="0"/>
|
14406 |
-
<line num="
|
14407 |
<line num="497" type="stmt" count="0"/>
|
14408 |
<line num="498" type="stmt" count="0"/>
|
14409 |
-
<line num="
|
14410 |
<line num="502" type="stmt" count="0"/>
|
14411 |
<line num="503" type="stmt" count="0"/>
|
14412 |
<line num="506" type="stmt" count="0"/>
|
14413 |
-
<line num="
|
14414 |
-
<line num="
|
14415 |
-
<line num="
|
14416 |
-
<line num="
|
14417 |
<line num="519" type="stmt" count="0"/>
|
14418 |
-
<line num="
|
14419 |
-
<line num="
|
14420 |
<line num="524" type="stmt" count="0"/>
|
14421 |
<line num="526" type="stmt" count="0"/>
|
14422 |
-
<line num="
|
14423 |
<line num="530" type="stmt" count="0"/>
|
14424 |
-
<line num="
|
14425 |
<line num="534" type="stmt" count="0"/>
|
14426 |
-
<line num="536" type="stmt" count="0"/>
|
14427 |
<line num="537" type="stmt" count="0"/>
|
14428 |
<line num="538" type="stmt" count="0"/>
|
14429 |
-
<line num="539" type="stmt" count="0"/>
|
14430 |
<line num="540" type="stmt" count="0"/>
|
|
|
|
|
14431 |
<line num="543" type="stmt" count="0"/>
|
14432 |
<line num="544" type="stmt" count="0"/>
|
14433 |
-
<line num="
|
14434 |
<line num="548" type="stmt" count="0"/>
|
14435 |
-
<line num="
|
14436 |
-
<line num="
|
14437 |
-
<line num="557" type="stmt" count="0"/>
|
14438 |
<line num="559" type="stmt" count="0"/>
|
14439 |
<line num="560" type="stmt" count="0"/>
|
14440 |
<line num="561" type="stmt" count="0"/>
|
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 |
-
<
|
|
|
|
|
|
|
14454 |
</file>
|
14455 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
|
14456 |
<line num="17" type="stmt" count="0"/>
|
@@ -69378,12 +69472,12 @@
|
|
69378 |
<metrics loc="135" ncloc="76" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="51" elements="55" coveredelements="55"/>
|
69379 |
</file>
|
69380 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/bootstrap.php">
|
69381 |
-
<line num="129" type="stmt" count="0"/>
|
69382 |
-
<line num="130" type="stmt" count="0"/>
|
69383 |
<line num="132" type="stmt" count="0"/>
|
69384 |
-
<line num="
|
69385 |
<line num="135" type="stmt" count="0"/>
|
69386 |
-
<
|
|
|
|
|
69387 |
</file>
|
69388 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/cli/test-class-info.php">
|
69389 |
<class name="Test_Boldgrid_Backup_Cli_Info" namespace="global" fullPackage="Test.Boldgrid.Backup.Cli">
|
@@ -75053,7 +75147,7 @@
|
|
75053 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
75054 |
</file>
|
75055 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
75056 |
-
<class name="
|
75057 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
75058 |
</class>
|
75059 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -75145,7 +75239,7 @@
|
|
75145 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
75146 |
</file>
|
75147 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
75148 |
-
<class name="
|
75149 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
75150 |
</class>
|
75151 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -94364,6 +94458,6 @@
|
|
94364 |
<line num="16" type="stmt" count="0"/>
|
94365 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
94366 |
</file>
|
94367 |
-
<metrics files="
|
94368 |
</project>
|
94369 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1591729664">
|
3 |
+
<project timestamp="1591729664">
|
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">
|
1959 |
</file>
|
1960 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-backup-dir.php">
|
1961 |
<class name="Boldgrid_Backup_Admin_Backup_Dir" namespace="global" fullPackage="Boldgrid.Backup.Admin.Backup">
|
1962 |
+
<metrics complexity="63" methods="14" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="205" coveredstatements="141" elements="219" coveredelements="147"/>
|
1963 |
</class>
|
1964 |
<line num="64" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
1965 |
<line num="65" type="stmt" count="20"/>
|
2024 |
<line num="171" type="stmt" count="2"/>
|
2025 |
<line num="172" type="stmt" count="2"/>
|
2026 |
<line num="174" type="stmt" count="2"/>
|
2027 |
+
<line num="184" type="method" name="dirlist" visibility="public" complexity="2" crap="2" count="4"/>
|
2028 |
+
<line num="185" type="stmt" count="4"/>
|
2029 |
+
<line num="187" type="stmt" count="4"/>
|
2030 |
+
<line num="189" type="stmt" count="4"/>
|
2031 |
+
<line num="190" type="stmt" count="4"/>
|
2032 |
+
<line num="191" type="stmt" count="4"/>
|
2033 |
+
<line num="193" type="stmt" count="4"/>
|
2034 |
+
<line num="208" type="method" name="dirlist_containing" visibility="public" complexity="5" crap="5.39" count="4"/>
|
2035 |
+
<line num="209" type="stmt" count="4"/>
|
2036 |
+
<line num="210" type="stmt" count="4"/>
|
2037 |
+
<line num="213" type="stmt" count="4"/>
|
2038 |
+
<line num="215" type="stmt" count="4"/>
|
2039 |
+
<line num="217" type="stmt" count="4"/>
|
2040 |
+
<line num="218" type="stmt" count="0"/>
|
2041 |
+
<line num="219" type="stmt" count="0"/>
|
2042 |
+
<line num="220" type="stmt" count="4"/>
|
2043 |
+
<line num="221" type="stmt" count="4"/>
|
2044 |
+
<line num="223" type="stmt" count="4"/>
|
2045 |
+
<line num="224" type="stmt" count="0"/>
|
2046 |
+
<line num="225" type="stmt" count="0"/>
|
2047 |
+
<line num="226" type="stmt" count="4"/>
|
2048 |
+
<line num="227" type="stmt" count="4"/>
|
2049 |
+
<line num="228" type="stmt" count="4"/>
|
2050 |
+
<line num="230" type="stmt" count="4"/>
|
2051 |
+
<line num="240" type="method" name="get" visibility="public" complexity="4" crap="4.25" count="6"/>
|
2052 |
+
<line num="243" type="stmt" count="6"/>
|
2053 |
+
<line num="244" type="stmt" count="4"/>
|
2054 |
+
<line num="248" type="stmt" count="2"/>
|
2055 |
+
<line num="249" type="stmt" count="2"/>
|
2056 |
+
<line num="250" type="stmt" count="2"/>
|
2057 |
+
<line num="251" type="stmt" count="0"/>
|
2058 |
+
<line num="253" type="stmt" count="0"/>
|
2059 |
+
<line num="256" type="stmt" count="2"/>
|
2060 |
+
<line num="267" type="method" name="get_logs_dir" visibility="public" complexity="7" crap="7" count="6"/>
|
2061 |
<line num="268" type="stmt" count="6"/>
|
2062 |
+
<line num="270" type="stmt" count="6"/>
|
|
|
2063 |
<line num="273" type="stmt" count="6"/>
|
|
|
|
|
|
|
|
|
|
|
2064 |
<line num="283" type="stmt" count="6"/>
|
2065 |
+
<line num="284" type="stmt" count="6"/>
|
2066 |
+
<line num="287" type="stmt" count="6"/>
|
2067 |
+
<line num="288" type="stmt" count="6"/>
|
2068 |
+
<line num="289" type="stmt" count="6"/>
|
2069 |
+
<line num="292" type="stmt" count="6"/>
|
2070 |
+
<line num="294" type="stmt" count="6"/>
|
2071 |
+
<line num="295" type="stmt" count="6"/>
|
2072 |
+
<line num="296" type="stmt" count="6"/>
|
2073 |
+
<line num="298" type="stmt" count="6"/>
|
2074 |
+
<line num="308" type="stmt" count="6"/>
|
2075 |
+
<line num="309" type="stmt" count="1"/>
|
2076 |
+
<line num="310" type="stmt" count="1"/>
|
2077 |
+
<line num="312" type="stmt" count="6"/>
|
2078 |
+
<line num="321" type="method" name="get_possible_dirs" visibility="public" complexity="3" crap="4.46" count="2"/>
|
2079 |
+
<line num="322" type="stmt" count="2"/>
|
2080 |
+
<line num="325" type="stmt" count="2"/>
|
2081 |
+
<line num="327" type="stmt" count="2"/>
|
2082 |
<line num="329" type="stmt" count="0"/>
|
2083 |
+
<line num="331" type="stmt" count="0"/>
|
2084 |
+
<line num="342" type="stmt" count="0"/>
|
2085 |
+
<line num="343" type="stmt" count="0"/>
|
2086 |
+
<line num="344" type="stmt" count="0"/>
|
2087 |
+
<line num="345" type="stmt" count="0"/>
|
2088 |
+
<line num="348" type="stmt" count="2"/>
|
2089 |
+
<line num="350" type="stmt" count="2"/>
|
2090 |
+
<line num="363" type="method" name="get_path_to" visibility="public" complexity="1" crap="1" count="4"/>
|
2091 |
+
<line num="364" type="stmt" count="4"/>
|
2092 |
+
<line num="365" type="stmt" count="4"/>
|
2093 |
+
<line num="375" type="method" name="generate_suffix" visibility="public" complexity="2" crap="6" count="0"/>
|
2094 |
+
<line num="376" type="stmt" count="0"/>
|
2095 |
+
<line num="377" type="stmt" count="0"/>
|
2096 |
+
<line num="379" type="stmt" count="0"/>
|
2097 |
+
<line num="380" type="stmt" count="0"/>
|
2098 |
+
<line num="381" type="stmt" count="0"/>
|
2099 |
+
<line num="383" type="stmt" count="0"/>
|
2100 |
+
<line num="398" type="method" name="guess_and_set" visibility="public" complexity="7" crap="7.29" count="2"/>
|
2101 |
+
<line num="399" type="stmt" count="2"/>
|
2102 |
+
<line num="401" type="stmt" count="2"/>
|
2103 |
<line num="403" type="stmt" count="2"/>
|
|
|
2104 |
<line num="406" type="stmt" count="2"/>
|
2105 |
<line num="407" type="stmt" count="0"/>
|
|
|
|
|
|
|
2106 |
<line num="417" type="stmt" count="2"/>
|
2107 |
<line num="418" type="stmt" count="2"/>
|
2108 |
+
<line num="419" type="stmt" count="2"/>
|
2109 |
+
<line num="421" type="stmt" count="2"/>
|
2110 |
+
<line num="422" type="stmt" count="0"/>
|
2111 |
<line num="426" type="stmt" count="2"/>
|
2112 |
+
<line num="427" type="stmt" count="2"/>
|
2113 |
+
<line num="428" type="stmt" count="0"/>
|
2114 |
<line num="432" type="stmt" count="2"/>
|
2115 |
+
<line num="433" type="stmt" count="2"/>
|
2116 |
+
<line num="435" type="stmt" count="2"/>
|
2117 |
+
<line num="436" type="stmt" count="0"/>
|
2118 |
+
<line num="439" type="stmt" count="2"/>
|
2119 |
+
<line num="441" type="stmt" count="2"/>
|
2120 |
+
<line num="443" type="stmt" count="2"/>
|
2121 |
+
<line num="445" type="stmt" count="2"/>
|
2122 |
+
<line num="447" type="stmt" count="2"/>
|
2123 |
+
<line num="471" type="method" name="file_in_dir" visibility="public" complexity="2" crap="2" count="4"/>
|
2124 |
+
<line num="472" type="stmt" count="4"/>
|
2125 |
+
<line num="473" type="stmt" count="4"/>
|
2126 |
+
<line num="475" type="stmt" count="4"/>
|
2127 |
+
<line num="489" type="method" name="is_valid" visibility="public" complexity="14" crap="98.54" count="2"/>
|
2128 |
+
<line num="491" type="stmt" count="2"/>
|
2129 |
+
<line num="492" type="stmt" count="0"/>
|
2130 |
+
<line num="495" type="stmt" count="2"/>
|
2131 |
+
<line num="497" type="stmt" count="2"/>
|
2132 |
+
<line num="498" type="stmt" count="0"/>
|
2133 |
+
<line num="500" type="stmt" count="0"/>
|
|
|
|
|
2134 |
<line num="502" type="stmt" count="0"/>
|
2135 |
+
<line num="503" type="stmt" count="0"/>
|
2136 |
+
<line num="505" type="stmt" count="2"/>
|
2137 |
<line num="506" type="stmt" count="0"/>
|
2138 |
+
<line num="508" type="stmt" count="0"/>
|
|
|
2139 |
<line num="510" type="stmt" count="0"/>
|
2140 |
+
<line num="511" type="stmt" count="0"/>
|
2141 |
+
<line num="513" type="stmt" count="2"/>
|
2142 |
+
<line num="514" type="stmt" count="0"/>
|
2143 |
+
<line num="516" type="stmt" count="0"/>
|
2144 |
<line num="517" type="stmt" count="0"/>
|
2145 |
+
<line num="519" type="stmt" count="0"/>
|
|
|
2146 |
<line num="521" type="stmt" count="0"/>
|
2147 |
+
<line num="522" type="stmt" count="0"/>
|
2148 |
+
<line num="524" type="stmt" count="2"/>
|
2149 |
+
<line num="525" type="stmt" count="0"/>
|
2150 |
+
<line num="527" type="stmt" count="0"/>
|
2151 |
<line num="528" type="stmt" count="0"/>
|
2152 |
+
<line num="530" type="stmt" count="0"/>
|
2153 |
+
<line num="532" type="stmt" count="0"/>
|
2154 |
+
<line num="533" type="stmt" count="0"/>
|
2155 |
+
<line num="535" type="stmt" count="2"/>
|
2156 |
+
<line num="536" type="stmt" count="0"/>
|
2157 |
+
<line num="538" type="stmt" count="0"/>
|
2158 |
+
<line num="539" type="stmt" count="0"/>
|
2159 |
<line num="541" type="stmt" count="0"/>
|
2160 |
<line num="543" type="stmt" count="0"/>
|
2161 |
<line num="544" type="stmt" count="0"/>
|
2162 |
+
<line num="553" type="stmt" count="2"/>
|
2163 |
+
<line num="554" type="stmt" count="2"/>
|
2164 |
+
<line num="555" type="stmt" count="2"/>
|
2165 |
+
<line num="556" type="stmt" count="0"/>
|
2166 |
+
<line num="558" type="stmt" count="0"/>
|
2167 |
+
<line num="559" type="stmt" count="0"/>
|
2168 |
+
<line num="561" type="stmt" count="0"/>
|
2169 |
+
<line num="562" type="stmt" count="0"/>
|
2170 |
+
<line num="564" type="stmt" count="0"/>
|
2171 |
+
<line num="565" type="stmt" count="0"/>
|
2172 |
+
<line num="567" type="stmt" count="2"/>
|
2173 |
+
<line num="579" type="method" name="set" visibility="public" complexity="3" crap="3.10" count="2"/>
|
2174 |
+
<line num="581" type="stmt" count="2"/>
|
2175 |
+
<line num="582" type="stmt" count="0"/>
|
2176 |
+
<line num="585" type="stmt" count="2"/>
|
2177 |
+
<line num="586" type="stmt" count="2"/>
|
2178 |
+
<line num="587" type="stmt" count="0"/>
|
2179 |
+
<line num="590" type="stmt" count="2"/>
|
2180 |
+
<line num="592" type="stmt" count="2"/>
|
2181 |
+
<line num="593" type="stmt" count="2"/>
|
2182 |
+
<line num="594" type="stmt" count="2"/>
|
2183 |
+
<metrics loc="595" ncloc="329" classes="1" methods="14" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="205" coveredstatements="141" elements="219" coveredelements="147"/>
|
2184 |
</file>
|
2185 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php">
|
2186 |
<class name="Boldgrid_Backup_Admin_Cli" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2516 |
</file>
|
2517 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
|
2518 |
<class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2519 |
+
<metrics complexity="232" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1089" coveredstatements="536" elements="1117" coveredelements="540"/>
|
2520 |
</class>
|
2521 |
<line num="584" type="method" name="__construct" visibility="public" complexity="7" crap="7.03" count="20"/>
|
2522 |
<line num="585" type="stmt" count="20"/>
|
2953 |
<line num="1519" type="stmt" count="4"/>
|
2954 |
<line num="1520" type="stmt" count="4"/>
|
2955 |
<line num="1522" type="stmt" count="4"/>
|
2956 |
+
<line num="1537" type="method" name="archive_files" visibility="public" complexity="49" crap="69.95" count="4"/>
|
2957 |
<line num="1538" type="stmt" count="4"/>
|
2958 |
<line num="1540" type="stmt" count="4"/>
|
2959 |
<line num="1541" type="stmt" count="4"/>
|
3019 |
<line num="1650" type="stmt" count="4"/>
|
3020 |
<line num="1651" type="stmt" count="0"/>
|
3021 |
<line num="1655" type="stmt" count="4"/>
|
3022 |
+
<line num="1656" type="stmt" count="4"/>
|
3023 |
+
<line num="1657" type="stmt" count="4"/>
|
3024 |
+
<line num="1660" type="stmt" count="4"/>
|
3025 |
+
<line num="1663" type="stmt" count="4"/>
|
3026 |
<line num="1666" type="stmt" count="4"/>
|
3027 |
+
<line num="1667" type="stmt" count="4"/>
|
3028 |
<line num="1668" type="stmt" count="4"/>
|
3029 |
<line num="1670" type="stmt" count="4"/>
|
3030 |
+
<line num="1672" type="stmt" count="4"/>
|
3031 |
<line num="1673" type="stmt" count="4"/>
|
3032 |
+
<line num="1675" type="stmt" count="4"/>
|
|
|
3033 |
<line num="1677" type="stmt" count="0"/>
|
3034 |
+
<line num="1678" type="stmt" count="0"/>
|
3035 |
+
<line num="1679" type="stmt" count="0"/>
|
3036 |
+
<line num="1681" type="stmt" count="4"/>
|
3037 |
+
<line num="1684" type="stmt" count="4"/>
|
3038 |
+
<line num="1687" type="stmt" count="4"/>
|
3039 |
+
<line num="1690" type="stmt" count="4"/>
|
3040 |
+
<line num="1693" type="stmt" count="4"/>
|
3041 |
<line num="1694" type="stmt" count="0"/>
|
3042 |
+
<line num="1696" type="stmt" count="0"/>
|
3043 |
<line num="1697" type="stmt" count="0"/>
|
3044 |
+
<line num="1699" type="stmt" count="0"/>
|
3045 |
+
<line num="1703" type="stmt" count="4"/>
|
3046 |
+
<line num="1706" type="stmt" count="4"/>
|
3047 |
+
<line num="1707" type="stmt" count="0"/>
|
3048 |
+
<line num="1711" type="stmt" count="4"/>
|
3049 |
+
<line num="1712" type="stmt" count="4"/>
|
|
|
3050 |
<line num="1715" type="stmt" count="4"/>
|
3051 |
<line num="1716" type="stmt" count="4"/>
|
3052 |
+
<line num="1717" type="stmt" count="4"/>
|
3053 |
<line num="1718" type="stmt" count="4"/>
|
3054 |
<line num="1720" type="stmt" count="4"/>
|
|
|
3055 |
<line num="1722" type="stmt" count="4"/>
|
3056 |
<line num="1723" type="stmt" count="4"/>
|
3057 |
<line num="1724" type="stmt" count="4"/>
|
3059 |
<line num="1726" type="stmt" count="4"/>
|
3060 |
<line num="1727" type="stmt" count="4"/>
|
3061 |
<line num="1728" type="stmt" count="4"/>
|
3062 |
+
<line num="1729" type="stmt" count="4"/>
|
3063 |
<line num="1730" type="stmt" count="4"/>
|
3064 |
+
<line num="1732" type="stmt" count="4"/>
|
3065 |
<line num="1744" type="stmt" count="4"/>
|
3066 |
+
<line num="1746" type="stmt" count="4"/>
|
3067 |
+
<line num="1747" type="stmt" count="4"/>
|
3068 |
<line num="1750" type="stmt" count="4"/>
|
3069 |
<line num="1752" type="stmt" count="4"/>
|
|
|
3070 |
<line num="1754" type="stmt" count="4"/>
|
3071 |
+
<line num="1755" type="stmt" count="4"/>
|
3072 |
<line num="1756" type="stmt" count="4"/>
|
3073 |
+
<line num="1758" type="stmt" count="4"/>
|
3074 |
+
<line num="1764" type="stmt" count="4"/>
|
3075 |
+
<line num="1765" type="stmt" count="4"/>
|
|
|
3076 |
<line num="1766" type="stmt" count="1"/>
|
3077 |
+
<line num="1767" type="stmt" count="1"/>
|
3078 |
+
<line num="1768" type="stmt" count="1"/>
|
3079 |
<line num="1769" type="stmt" count="4"/>
|
3080 |
<line num="1770" type="stmt" count="4"/>
|
3081 |
+
<line num="1771" type="stmt" count="4"/>
|
3082 |
+
<line num="1772" type="stmt" count="4"/>
|
3083 |
+
<line num="1773" type="stmt" count="1"/>
|
3084 |
+
<line num="1775" type="stmt" count="0"/>
|
3085 |
+
<line num="1776" type="stmt" count="0"/>
|
3086 |
+
<line num="1777" type="stmt" count="1"/>
|
3087 |
+
<line num="1779" type="stmt" count="0"/>
|
3088 |
+
<line num="1780" type="stmt" count="0"/>
|
3089 |
+
<line num="1781" type="stmt" count="1"/>
|
3090 |
+
<line num="1783" type="stmt" count="0"/>
|
3091 |
+
<line num="1784" type="stmt" count="0"/>
|
3092 |
+
<line num="1785" type="stmt" count="1"/>
|
3093 |
+
<line num="1787" type="stmt" count="0"/>
|
3094 |
+
<line num="1788" type="stmt" count="0"/>
|
3095 |
<line num="1789" type="stmt" count="1"/>
|
3096 |
<line num="1790" type="stmt" count="1"/>
|
3097 |
+
<line num="1791" type="stmt" count="1"/>
|
3098 |
+
<line num="1792" type="stmt" count="1"/>
|
3099 |
<line num="1793" type="stmt" count="0"/>
|
3100 |
+
<line num="1794" type="stmt" count="0"/>
|
3101 |
+
<line num="1795" type="stmt" count="0"/>
|
3102 |
<line num="1796" type="stmt" count="4"/>
|
3103 |
+
<line num="1798" type="stmt" count="4"/>
|
3104 |
+
<line num="1799" type="stmt" count="4"/>
|
3105 |
+
<line num="1802" type="stmt" count="4"/>
|
3106 |
+
<line num="1803" type="stmt" count="4"/>
|
3107 |
+
<line num="1804" type="stmt" count="0"/>
|
3108 |
+
<line num="1805" type="stmt" count="0"/>
|
|
|
3109 |
<line num="1806" type="stmt" count="4"/>
|
3110 |
<line num="1807" type="stmt" count="4"/>
|
3111 |
<line num="1808" type="stmt" count="4"/>
|
3113 |
<line num="1810" type="stmt" count="4"/>
|
3114 |
<line num="1811" type="stmt" count="4"/>
|
3115 |
<line num="1812" type="stmt" count="4"/>
|
3116 |
+
<line num="1813" type="stmt" count="4"/>
|
3117 |
<line num="1814" type="stmt" count="4"/>
|
3118 |
+
<line num="1816" type="stmt" count="4"/>
|
3119 |
<line num="1817" type="stmt" count="4"/>
|
3120 |
<line num="1819" type="stmt" count="4"/>
|
3121 |
+
<line num="1821" type="stmt" count="4"/>
|
3122 |
+
<line num="1822" type="stmt" count="0"/>
|
3123 |
+
<line num="1823" type="stmt" count="0"/>
|
3124 |
+
<line num="1825" type="stmt" count="4"/>
|
3125 |
+
<line num="1826" type="stmt" count="0"/>
|
3126 |
<line num="1829" type="stmt" count="4"/>
|
3127 |
<line num="1831" type="stmt" count="4"/>
|
3128 |
+
<line num="1833" type="stmt" count="4"/>
|
3129 |
+
<line num="1836" type="stmt" count="4"/>
|
3130 |
+
<line num="1839" type="stmt" count="4"/>
|
3131 |
+
<line num="1840" type="stmt" count="4"/>
|
3132 |
+
<line num="1843" type="stmt" count="4"/>
|
|
|
3133 |
<line num="1846" type="stmt" count="4"/>
|
3134 |
+
<line num="1847" type="stmt" count="4"/>
|
3135 |
+
<line num="1848" type="stmt" count="4"/>
|
3136 |
+
<line num="1877" type="stmt" count="4"/>
|
3137 |
+
<line num="1888" type="stmt" count="4"/>
|
3138 |
<line num="1889" type="stmt" count="4"/>
|
|
|
3139 |
<line num="1891" type="stmt" count="4"/>
|
3140 |
+
<line num="1892" type="stmt" count="4"/>
|
3141 |
<line num="1893" type="stmt" count="4"/>
|
3142 |
+
<line num="1895" type="stmt" count="4"/>
|
3143 |
+
<line num="1896" type="stmt" count="4"/>
|
3144 |
<line num="1899" type="stmt" count="4"/>
|
3145 |
<line num="1901" type="stmt" count="4"/>
|
3146 |
+
<line num="1903" type="stmt" count="4"/>
|
3147 |
<line num="1906" type="stmt" count="4"/>
|
3148 |
+
<line num="1908" type="stmt" count="4"/>
|
3149 |
+
<line num="1909" type="stmt" count="4"/>
|
3150 |
+
<line num="1912" type="stmt" count="4"/>
|
3151 |
+
<line num="1913" type="stmt" count="0"/>
|
3152 |
+
<line num="1914" type="stmt" count="0"/>
|
3153 |
<line num="1916" type="stmt" count="4"/>
|
3154 |
+
<line num="1918" type="stmt" count="4"/>
|
3155 |
+
<line num="1919" type="stmt" count="0"/>
|
3156 |
+
<line num="1920" type="stmt" count="0"/>
|
3157 |
+
<line num="1922" type="stmt" count="4"/>
|
3158 |
<line num="1923" type="stmt" count="4"/>
|
3159 |
+
<line num="1925" type="stmt" count="4"/>
|
3160 |
+
<line num="1928" type="stmt" count="4"/>
|
3161 |
+
<line num="1949" type="method" name="get_archive_list" visibility="public" complexity="11" crap="11.15" count="5"/>
|
3162 |
+
<line num="1951" type="stmt" count="5"/>
|
3163 |
+
<line num="1954" type="stmt" count="5"/>
|
|
|
3164 |
<line num="1957" type="stmt" count="5"/>
|
3165 |
+
<line num="1958" type="stmt" count="5"/>
|
3166 |
+
<line num="1959" type="stmt" count="5"/>
|
3167 |
+
<line num="1962" type="stmt" count="5"/>
|
3168 |
+
<line num="1963" type="stmt" count="0"/>
|
3169 |
+
<line num="1967" type="stmt" count="5"/>
|
3170 |
+
<line num="1970" type="stmt" count="5"/>
|
3171 |
+
<line num="1971" type="stmt" count="0"/>
|
3172 |
+
<line num="1975" type="stmt" count="5"/>
|
3173 |
+
<line num="1976" type="stmt" count="0"/>
|
3174 |
+
<line num="1978" type="stmt" count="5"/>
|
3175 |
+
<line num="1979" type="stmt" count="4"/>
|
3176 |
+
<line num="1982" type="stmt" count="5"/>
|
3177 |
+
<line num="1983" type="stmt" count="4"/>
|
3178 |
<line num="1986" type="stmt" count="5"/>
|
3179 |
+
<line num="1988" type="stmt" count="5"/>
|
3180 |
+
<line num="1991" type="stmt" count="5"/>
|
3181 |
+
<line num="1994" type="stmt" count="5"/>
|
3182 |
+
<line num="1995" type="stmt" count="5"/>
|
3183 |
+
<line num="1997" type="stmt" count="4"/>
|
3184 |
+
<line num="2000" type="stmt" count="4"/>
|
3185 |
+
<line num="2001" type="stmt" count="0"/>
|
|
|
3186 |
<line num="2006" type="stmt" count="4"/>
|
3187 |
<line num="2007" type="stmt" count="4"/>
|
3188 |
<line num="2008" type="stmt" count="4"/>
|
3189 |
<line num="2009" type="stmt" count="4"/>
|
3190 |
<line num="2010" type="stmt" count="4"/>
|
3191 |
<line num="2011" type="stmt" count="4"/>
|
3192 |
+
<line num="2012" type="stmt" count="4"/>
|
3193 |
+
<line num="2013" type="stmt" count="4"/>
|
3194 |
+
<line num="2017" type="stmt" count="4"/>
|
3195 |
+
<line num="2018" type="stmt" count="1"/>
|
3196 |
+
<line num="2020" type="stmt" count="4"/>
|
3197 |
+
<line num="2021" type="stmt" count="5"/>
|
3198 |
+
<line num="2024" type="stmt" count="5"/>
|
3199 |
+
<line num="2035" type="method" name="delete_archive_file" visibility="public" complexity="11" crap="132" count="0"/>
|
3200 |
+
<line num="2038" type="stmt" count="0"/>
|
3201 |
+
<line num="2039" type="stmt" count="0"/>
|
3202 |
+
<line num="2043" type="stmt" count="0"/>
|
3203 |
+
<line num="2046" type="stmt" count="0"/>
|
3204 |
<line num="2049" type="stmt" count="0"/>
|
3205 |
<line num="2050" type="stmt" count="0"/>
|
3206 |
+
<line num="2051" type="stmt" count="0"/>
|
3207 |
<line num="2052" type="stmt" count="0"/>
|
|
|
3208 |
<line num="2054" type="stmt" count="0"/>
|
3209 |
+
<line num="2055" type="stmt" count="0"/>
|
3210 |
<line num="2056" type="stmt" count="0"/>
|
3211 |
<line num="2058" type="stmt" count="0"/>
|
3212 |
+
<line num="2060" type="stmt" count="0"/>
|
|
|
3213 |
<line num="2064" type="stmt" count="0"/>
|
3214 |
+
<line num="2065" type="stmt" count="0"/>
|
3215 |
<line num="2066" type="stmt" count="0"/>
|
|
|
3216 |
<line num="2068" type="stmt" count="0"/>
|
3217 |
+
<line num="2069" type="stmt" count="0"/>
|
3218 |
<line num="2070" type="stmt" count="0"/>
|
3219 |
<line num="2072" type="stmt" count="0"/>
|
3220 |
+
<line num="2074" type="stmt" count="0"/>
|
3221 |
+
<line num="2078" type="stmt" count="0"/>
|
3222 |
+
<line num="2079" type="stmt" count="0"/>
|
3223 |
+
<line num="2083" type="stmt" count="0"/>
|
3224 |
<line num="2086" type="stmt" count="0"/>
|
|
|
3225 |
<line num="2088" type="stmt" count="0"/>
|
3226 |
+
<line num="2089" type="stmt" count="0"/>
|
3227 |
<line num="2090" type="stmt" count="0"/>
|
3228 |
<line num="2092" type="stmt" count="0"/>
|
3229 |
+
<line num="2094" type="stmt" count="0"/>
|
|
|
3230 |
<line num="2099" type="stmt" count="0"/>
|
3231 |
+
<line num="2100" type="stmt" count="0"/>
|
3232 |
+
<line num="2101" type="stmt" count="0"/>
|
3233 |
<line num="2104" type="stmt" count="0"/>
|
|
|
3234 |
<line num="2106" type="stmt" count="0"/>
|
3235 |
+
<line num="2107" type="stmt" count="0"/>
|
3236 |
<line num="2108" type="stmt" count="0"/>
|
3237 |
<line num="2110" type="stmt" count="0"/>
|
3238 |
+
<line num="2112" type="stmt" count="0"/>
|
|
|
3239 |
<line num="2117" type="stmt" count="0"/>
|
3240 |
+
<line num="2118" type="stmt" count="0"/>
|
3241 |
<line num="2119" type="stmt" count="0"/>
|
3242 |
+
<line num="2121" type="stmt" count="0"/>
|
|
|
3243 |
<line num="2124" type="stmt" count="0"/>
|
3244 |
<line num="2125" type="stmt" count="0"/>
|
3245 |
+
<line num="2126" type="stmt" count="0"/>
|
3246 |
<line num="2127" type="stmt" count="0"/>
|
3247 |
+
<line num="2129" type="stmt" count="0"/>
|
3248 |
+
<line num="2130" type="stmt" count="0"/>
|
3249 |
+
<line num="2140" type="stmt" count="0"/>
|
3250 |
+
<line num="2143" type="stmt" count="0"/>
|
3251 |
+
<line num="2156" type="method" name="get_dump_file" visibility="public" complexity="9" crap="25.08" count="1"/>
|
3252 |
+
<line num="2158" type="stmt" count="1"/>
|
3253 |
+
<line num="2159" type="stmt" count="0"/>
|
|
|
3254 |
<line num="2179" type="stmt" count="1"/>
|
3255 |
<line num="2180" type="stmt" count="1"/>
|
3256 |
+
<line num="2181" type="stmt" count="1"/>
|
3257 |
+
<line num="2182" type="stmt" count="1"/>
|
3258 |
+
<line num="2186" type="stmt" count="0"/>
|
3259 |
+
<line num="2189" type="stmt" count="0"/>
|
3260 |
+
<line num="2192" type="stmt" count="0"/>
|
3261 |
+
<line num="2193" type="stmt" count="0"/>
|
3262 |
+
<line num="2197" type="stmt" count="0"/>
|
3263 |
<line num="2198" type="stmt" count="0"/>
|
3264 |
+
<line num="2199" type="method" name="anonymous function" complexity="3" crap="12" count="0"/>
|
3265 |
+
<line num="2200" type="stmt" count="0"/>
|
3266 |
+
<line num="2201" type="stmt" count="0"/>
|
3267 |
+
<line num="2204" type="stmt" count="0"/>
|
3268 |
+
<line num="2205" type="stmt" count="0"/>
|
3269 |
<line num="2208" type="stmt" count="0"/>
|
3270 |
+
<line num="2210" type="stmt" count="0"/>
|
|
|
3271 |
<line num="2217" type="stmt" count="0"/>
|
3272 |
<line num="2218" type="stmt" count="0"/>
|
3273 |
+
<line num="2219" type="stmt" count="0"/>
|
3274 |
<line num="2220" type="stmt" count="0"/>
|
3275 |
+
<line num="2222" type="stmt" count="0"/>
|
3276 |
+
<line num="2225" type="stmt" count="0"/>
|
3277 |
+
<line num="2238" type="method" name="restore_archive_file" visibility="public" complexity="27" crap="62.28" count="1"/>
|
3278 |
<line num="2239" type="stmt" count="1"/>
|
|
|
3279 |
<line num="2241" type="stmt" count="1"/>
|
3280 |
+
<line num="2242" type="stmt" count="1"/>
|
3281 |
+
<line num="2243" type="stmt" count="1"/>
|
3282 |
<line num="2246" type="stmt" count="1"/>
|
3283 |
+
<line num="2248" type="stmt" count="1"/>
|
3284 |
+
<line num="2251" type="stmt" count="1"/>
|
|
|
3285 |
<line num="2252" type="stmt" count="0"/>
|
3286 |
+
<line num="2253" type="stmt" count="0"/>
|
3287 |
+
<line num="2254" type="stmt" count="0"/>
|
3288 |
+
<line num="2258" type="stmt" count="1"/>
|
3289 |
<line num="2259" type="stmt" count="0"/>
|
3290 |
+
<line num="2260" type="stmt" count="0"/>
|
3291 |
+
<line num="2261" type="stmt" count="0"/>
|
3292 |
+
<line num="2265" type="stmt" count="1"/>
|
3293 |
+
<line num="2266" type="stmt" count="1"/>
|
3294 |
<line num="2269" type="stmt" count="1"/>
|
3295 |
+
<line num="2270" type="stmt" count="1"/>
|
3296 |
+
<line num="2271" type="stmt" count="1"/>
|
3297 |
<line num="2272" type="stmt" count="0"/>
|
3298 |
+
<line num="2273" type="stmt" count="0"/>
|
3299 |
+
<line num="2274" type="stmt" count="0"/>
|
3300 |
<line num="2278" type="stmt" count="1"/>
|
3301 |
+
<line num="2279" type="stmt" count="1"/>
|
3302 |
+
<line num="2280" type="stmt" count="1"/>
|
3303 |
<line num="2281" type="stmt" count="0"/>
|
3304 |
+
<line num="2282" type="stmt" count="0"/>
|
3305 |
+
<line num="2283" type="stmt" count="0"/>
|
3306 |
<line num="2287" type="stmt" count="1"/>
|
3307 |
+
<line num="2289" type="stmt" count="1"/>
|
3308 |
+
<line num="2290" type="stmt" count="1"/>
|
|
|
3309 |
<line num="2291" type="stmt" count="0"/>
|
3310 |
+
<line num="2292" type="stmt" count="0"/>
|
3311 |
+
<line num="2293" type="stmt" count="0"/>
|
3312 |
<line num="2296" type="stmt" count="1"/>
|
3313 |
+
<line num="2298" type="stmt" count="1"/>
|
|
|
3314 |
<line num="2299" type="stmt" count="0"/>
|
3315 |
+
<line num="2300" type="stmt" count="0"/>
|
3316 |
+
<line num="2301" type="stmt" count="0"/>
|
3317 |
<line num="2304" type="stmt" count="1"/>
|
|
|
3318 |
<line num="2306" type="stmt" count="1"/>
|
3319 |
+
<line num="2307" type="stmt" count="1"/>
|
3320 |
+
<line num="2308" type="stmt" count="1"/>
|
3321 |
<line num="2309" type="stmt" count="0"/>
|
3322 |
+
<line num="2310" type="stmt" count="0"/>
|
3323 |
+
<line num="2311" type="stmt" count="0"/>
|
3324 |
<line num="2316" type="stmt" count="1"/>
|
3325 |
<line num="2317" type="stmt" count="1"/>
|
3326 |
<line num="2318" type="stmt" count="1"/>
|
3328 |
<line num="2320" type="stmt" count="1"/>
|
3329 |
<line num="2321" type="stmt" count="1"/>
|
3330 |
<line num="2322" type="stmt" count="1"/>
|
3331 |
+
<line num="2323" type="stmt" count="1"/>
|
3332 |
+
<line num="2324" type="stmt" count="1"/>
|
3333 |
<line num="2327" type="stmt" count="1"/>
|
3334 |
+
<line num="2329" type="stmt" count="1"/>
|
3335 |
+
<line num="2338" type="stmt" count="1"/>
|
3336 |
+
<line num="2344" type="stmt" count="1"/>
|
3337 |
+
<line num="2345" type="stmt" count="1"/>
|
|
|
3338 |
<line num="2346" type="stmt" count="0"/>
|
3339 |
+
<line num="2347" type="stmt" count="0"/>
|
3340 |
+
<line num="2348" type="stmt" count="0"/>
|
3341 |
+
<line num="2350" type="stmt" count="1"/>
|
3342 |
+
<line num="2351" type="stmt" count="0"/>
|
3343 |
<line num="2354" type="stmt" count="1"/>
|
3344 |
<line num="2355" type="stmt" count="1"/>
|
3345 |
<line num="2356" type="stmt" count="1"/>
|
3346 |
+
<line num="2357" type="stmt" count="1"/>
|
3347 |
<line num="2358" type="stmt" count="1"/>
|
3348 |
+
<line num="2360" type="stmt" count="1"/>
|
3349 |
+
<line num="2361" type="stmt" count="0"/>
|
3350 |
<line num="2371" type="stmt" count="0"/>
|
|
|
3351 |
<line num="2373" type="stmt" count="0"/>
|
3352 |
<line num="2374" type="stmt" count="0"/>
|
3353 |
<line num="2375" type="stmt" count="0"/>
|
3354 |
+
<line num="2376" type="stmt" count="0"/>
|
3355 |
<line num="2377" type="stmt" count="0"/>
|
3356 |
+
<line num="2379" type="stmt" count="0"/>
|
3357 |
+
<line num="2389" type="stmt" count="1"/>
|
|
|
3358 |
<line num="2398" type="stmt" count="1"/>
|
3359 |
<line num="2399" type="stmt" count="1"/>
|
3360 |
<line num="2400" type="stmt" count="1"/>
|
3361 |
+
<line num="2401" type="stmt" count="1"/>
|
3362 |
+
<line num="2402" type="stmt" count="1"/>
|
3363 |
+
<line num="2405" type="stmt" count="1"/>
|
3364 |
+
<line num="2406" type="stmt" count="0"/>
|
3365 |
+
<line num="2407" type="stmt" count="0"/>
|
3366 |
+
<line num="2409" type="stmt" count="1"/>
|
3367 |
<line num="2410" type="stmt" count="0"/>
|
|
|
3368 |
<line num="2412" type="stmt" count="0"/>
|
3369 |
<line num="2413" type="stmt" count="0"/>
|
3370 |
+
<line num="2414" type="stmt" count="0"/>
|
3371 |
+
<line num="2415" type="stmt" count="0"/>
|
3372 |
+
<line num="2418" type="stmt" count="1"/>
|
3373 |
+
<line num="2419" type="stmt" count="1"/>
|
3374 |
+
<line num="2422" type="stmt" count="1"/>
|
3375 |
+
<line num="2423" type="stmt" count="1"/>
|
3376 |
+
<line num="2426" type="stmt" count="1"/>
|
3377 |
<line num="2427" type="stmt" count="0"/>
|
3378 |
+
<line num="2428" type="stmt" count="0"/>
|
3379 |
+
<line num="2429" type="stmt" count="0"/>
|
3380 |
<line num="2431" type="stmt" count="1"/>
|
3381 |
+
<line num="2432" type="stmt" count="1"/>
|
3382 |
+
<line num="2433" type="stmt" count="1"/>
|
3383 |
+
<line num="2436" type="stmt" count="1"/>
|
3384 |
+
<line num="2439" type="stmt" count="1"/>
|
3385 |
+
<line num="2442" type="stmt" count="1"/>
|
3386 |
+
<line num="2443" type="stmt" count="1"/>
|
3387 |
+
<line num="2446" type="stmt" count="1"/>
|
3388 |
<line num="2450" type="stmt" count="1"/>
|
3389 |
+
<line num="2452" type="stmt" count="1"/>
|
3390 |
+
<line num="2453" type="stmt" count="1"/>
|
3391 |
+
<line num="2456" type="stmt" count="1"/>
|
3392 |
<line num="2459" type="stmt" count="1"/>
|
3393 |
<line num="2461" type="stmt" count="1"/>
|
3394 |
+
<line num="2463" type="stmt" count="1"/>
|
3395 |
+
<line num="2466" type="stmt" count="1"/>
|
3396 |
+
<line num="2479" type="method" name="page_archives" visibility="public" complexity="5" crap="30" count="0"/>
|
3397 |
+
<line num="2480" type="stmt" count="0"/>
|
3398 |
+
<line num="2483" type="stmt" count="0"/>
|
3399 |
<line num="2484" type="stmt" count="0"/>
|
3400 |
+
<line num="2486" type="stmt" count="0"/>
|
3401 |
+
<line num="2489" type="stmt" count="0"/>
|
3402 |
+
<line num="2492" type="stmt" count="0"/>
|
3403 |
<line num="2493" type="stmt" count="0"/>
|
3404 |
+
<line num="2495" type="stmt" count="0"/>
|
|
|
3405 |
<line num="2498" type="stmt" count="0"/>
|
3406 |
+
<line num="2499" type="stmt" count="0"/>
|
3407 |
<line num="2500" type="stmt" count="0"/>
|
3408 |
+
<line num="2502" type="stmt" count="0"/>
|
3409 |
+
<line num="2503" type="stmt" count="0"/>
|
|
|
3410 |
<line num="2506" type="stmt" count="0"/>
|
3411 |
+
<line num="2507" type="stmt" count="0"/>
|
3412 |
+
<line num="2508" type="stmt" count="0"/>
|
3413 |
+
<line num="2511" type="stmt" count="0"/>
|
3414 |
+
<line num="2514" type="stmt" count="0"/>
|
3415 |
<line num="2517" type="stmt" count="0"/>
|
|
|
3416 |
<line num="2519" type="stmt" count="0"/>
|
3417 |
+
<line num="2520" type="stmt" count="0"/>
|
3418 |
+
<line num="2521" type="stmt" count="0"/>
|
3419 |
<line num="2524" type="stmt" count="0"/>
|
3420 |
+
<line num="2526" type="stmt" count="0"/>
|
|
|
3421 |
<line num="2529" type="stmt" count="0"/>
|
3422 |
+
<line num="2530" type="stmt" count="0"/>
|
3423 |
<line num="2531" type="stmt" count="0"/>
|
3424 |
+
<line num="2533" type="stmt" count="0"/>
|
3425 |
+
<line num="2536" type="stmt" count="0"/>
|
3426 |
+
<line num="2537" type="stmt" count="0"/>
|
3427 |
+
<line num="2546" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
|
|
3428 |
<line num="2549" type="stmt" count="0"/>
|
3429 |
+
<line num="2550" type="stmt" count="0"/>
|
3430 |
<line num="2551" type="stmt" count="0"/>
|
|
|
3431 |
<line num="2553" type="stmt" count="0"/>
|
3432 |
+
<line num="2554" type="stmt" count="0"/>
|
3433 |
+
<line num="2555" type="stmt" count="0"/>
|
3434 |
<line num="2558" type="stmt" count="0"/>
|
3435 |
+
<line num="2559" type="stmt" count="0"/>
|
3436 |
<line num="2560" type="stmt" count="0"/>
|
|
|
3437 |
<line num="2562" type="stmt" count="0"/>
|
3438 |
+
<line num="2563" type="stmt" count="0"/>
|
3439 |
<line num="2564" type="stmt" count="0"/>
|
3440 |
<line num="2566" type="stmt" count="0"/>
|
|
|
3441 |
<line num="2568" type="stmt" count="0"/>
|
3442 |
+
<line num="2569" type="stmt" count="0"/>
|
3443 |
<line num="2570" type="stmt" count="0"/>
|
3444 |
+
<line num="2572" type="stmt" count="0"/>
|
3445 |
<line num="2573" type="stmt" count="0"/>
|
3446 |
+
<line num="2575" type="stmt" count="0"/>
|
|
|
3447 |
<line num="2578" type="stmt" count="0"/>
|
3448 |
+
<line num="2579" type="stmt" count="0"/>
|
3449 |
<line num="2580" type="stmt" count="0"/>
|
|
|
3450 |
<line num="2582" type="stmt" count="0"/>
|
3451 |
+
<line num="2583" type="stmt" count="0"/>
|
3452 |
+
<line num="2584" type="stmt" count="0"/>
|
3453 |
+
<line num="2593" type="stmt" count="0"/>
|
3454 |
+
<line num="2594" type="stmt" count="0"/>
|
3455 |
+
<line num="2606" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
3456 |
+
<line num="2608" type="stmt" count="0"/>
|
3457 |
<line num="2611" type="stmt" count="0"/>
|
3458 |
<line num="2612" type="stmt" count="0"/>
|
3459 |
+
<line num="2613" type="stmt" count="0"/>
|
3460 |
+
<line num="2614" type="stmt" count="0"/>
|
3461 |
<line num="2617" type="stmt" count="0"/>
|
3462 |
<line num="2618" type="stmt" count="0"/>
|
3463 |
<line num="2619" type="stmt" count="0"/>
|
3464 |
+
<line num="2620" type="stmt" count="0"/>
|
3465 |
+
<line num="2621" type="stmt" count="0"/>
|
3466 |
<line num="2625" type="stmt" count="0"/>
|
3467 |
<line num="2626" type="stmt" count="0"/>
|
3468 |
<line num="2627" type="stmt" count="0"/>
|
3469 |
+
<line num="2628" type="stmt" count="0"/>
|
3470 |
+
<line num="2629" type="stmt" count="0"/>
|
3471 |
+
<line num="2633" type="stmt" count="0"/>
|
3472 |
<line num="2636" type="stmt" count="0"/>
|
3473 |
<line num="2637" type="stmt" count="0"/>
|
3474 |
+
<line num="2638" type="stmt" count="0"/>
|
3475 |
+
<line num="2639" type="stmt" count="0"/>
|
3476 |
+
<line num="2642" type="stmt" count="0"/>
|
3477 |
<line num="2645" type="stmt" count="0"/>
|
3478 |
<line num="2646" type="stmt" count="0"/>
|
3479 |
+
<line num="2647" type="stmt" count="0"/>
|
3480 |
+
<line num="2648" type="stmt" count="0"/>
|
3481 |
<line num="2652" type="stmt" count="0"/>
|
3482 |
+
<line num="2653" type="stmt" count="0"/>
|
3483 |
+
<line num="2654" type="stmt" count="0"/>
|
3484 |
<line num="2657" type="stmt" count="0"/>
|
3485 |
<line num="2658" type="stmt" count="0"/>
|
3486 |
+
<line num="2659" type="stmt" count="0"/>
|
3487 |
<line num="2660" type="stmt" count="0"/>
|
3488 |
<line num="2662" type="stmt" count="0"/>
|
3489 |
<line num="2664" type="stmt" count="0"/>
|
|
|
3490 |
<line num="2666" type="stmt" count="0"/>
|
3491 |
+
<line num="2667" type="stmt" count="0"/>
|
3492 |
+
<line num="2668" type="stmt" count="0"/>
|
3493 |
+
<line num="2671" type="stmt" count="0"/>
|
3494 |
+
<line num="2672" type="stmt" count="0"/>
|
3495 |
+
<line num="2682" type="method" name="page_backup_test" visibility="public" complexity="6" crap="42" count="0"/>
|
3496 |
+
<line num="2684" type="stmt" count="0"/>
|
3497 |
+
<line num="2687" type="stmt" count="0"/>
|
3498 |
+
<line num="2690" type="stmt" count="0"/>
|
3499 |
+
<line num="2693" type="stmt" count="0"/>
|
3500 |
<line num="2696" type="stmt" count="0"/>
|
3501 |
+
<line num="2698" type="stmt" count="0"/>
|
3502 |
+
<line num="2701" type="stmt" count="0"/>
|
3503 |
+
<line num="2704" type="stmt" count="0"/>
|
3504 |
+
<line num="2707" type="stmt" count="0"/>
|
3505 |
+
<line num="2710" type="stmt" count="0"/>
|
3506 |
<line num="2713" type="stmt" count="0"/>
|
3507 |
+
<line num="2715" type="stmt" count="0"/>
|
|
|
3508 |
<line num="2723" type="stmt" count="0"/>
|
3509 |
<line num="2724" type="stmt" count="0"/>
|
3510 |
<line num="2725" type="stmt" count="0"/>
|
3511 |
+
<line num="2726" type="stmt" count="0"/>
|
3512 |
+
<line num="2727" type="stmt" count="0"/>
|
3513 |
<line num="2730" type="stmt" count="0"/>
|
3514 |
<line num="2731" type="stmt" count="0"/>
|
3515 |
<line num="2732" type="stmt" count="0"/>
|
3516 |
<line num="2733" type="stmt" count="0"/>
|
3517 |
<line num="2734" type="stmt" count="0"/>
|
3518 |
<line num="2735" type="stmt" count="0"/>
|
3519 |
+
<line num="2736" type="stmt" count="0"/>
|
3520 |
<line num="2737" type="stmt" count="0"/>
|
3521 |
+
<line num="2739" type="stmt" count="0"/>
|
|
|
3522 |
<line num="2742" type="stmt" count="0"/>
|
3523 |
<line num="2743" type="stmt" count="0"/>
|
3524 |
<line num="2744" type="stmt" count="0"/>
|
3525 |
<line num="2745" type="stmt" count="0"/>
|
3526 |
+
<line num="2746" type="stmt" count="0"/>
|
3527 |
+
<line num="2747" type="stmt" count="0"/>
|
3528 |
+
<line num="2750" type="stmt" count="0"/>
|
3529 |
+
<line num="2751" type="stmt" count="0"/>
|
3530 |
+
<line num="2766" type="method" name="set_doing_cron" visibility="public" complexity="3" crap="3" count="20"/>
|
3531 |
+
<line num="2767" type="stmt" count="20"/>
|
3532 |
+
<line num="2768" type="stmt" count="20"/>
|
3533 |
+
<line num="2775" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="20"/>
|
3534 |
<line num="2780" type="stmt" count="20"/>
|
|
|
3535 |
<line num="2782" type="stmt" count="20"/>
|
3536 |
<line num="2783" type="stmt" count="20"/>
|
3537 |
<line num="2784" type="stmt" count="20"/>
|
3538 |
<line num="2785" type="stmt" count="20"/>
|
3539 |
+
<line num="2786" type="stmt" count="20"/>
|
3540 |
<line num="2787" type="stmt" count="20"/>
|
3541 |
+
<line num="2789" type="stmt" count="20"/>
|
3542 |
<line num="2790" type="stmt" count="20"/>
|
|
|
3543 |
<line num="2792" type="stmt" count="20"/>
|
3544 |
<line num="2793" type="stmt" count="20"/>
|
3545 |
<line num="2794" type="stmt" count="20"/>
|
3546 |
<line num="2795" type="stmt" count="20"/>
|
3547 |
+
<line num="2796" type="stmt" count="20"/>
|
3548 |
<line num="2797" type="stmt" count="20"/>
|
|
|
3549 |
<line num="2799" type="stmt" count="20"/>
|
3550 |
+
<line num="2800" type="stmt" count="20"/>
|
3551 |
+
<line num="2801" type="stmt" count="20"/>
|
3552 |
<line num="2807" type="stmt" count="20"/>
|
|
|
3553 |
<line num="2809" type="stmt" count="20"/>
|
3554 |
<line num="2810" type="stmt" count="20"/>
|
3555 |
<line num="2811" type="stmt" count="20"/>
|
3556 |
+
<line num="2812" type="stmt" count="20"/>
|
3557 |
<line num="2813" type="stmt" count="20"/>
|
3558 |
+
<line num="2815" type="stmt" count="20"/>
|
3559 |
+
<line num="2818" type="stmt" count="20"/>
|
3560 |
<line num="2819" type="stmt" count="20"/>
|
3561 |
<line num="2821" type="stmt" count="20"/>
|
3562 |
+
<line num="2823" type="stmt" count="20"/>
|
3563 |
+
<line num="2835" type="method" name="set_time_limit" visibility="public" complexity="2" crap="2" count="4"/>
|
3564 |
<line num="2836" type="stmt" count="4"/>
|
3565 |
+
<line num="2838" type="stmt" count="4"/>
|
3566 |
+
<line num="2839" type="stmt" count="4"/>
|
3567 |
+
<line num="2846" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
|
3568 |
+
<line num="2847" type="stmt" count="0"/>
|
3569 |
+
<line num="2848" type="stmt" count="0"/>
|
|
|
3570 |
<line num="2851" type="stmt" count="0"/>
|
3571 |
+
<line num="2852" type="stmt" count="0"/>
|
3572 |
<line num="2853" type="stmt" count="0"/>
|
|
|
3573 |
<line num="2855" type="stmt" count="0"/>
|
3574 |
+
<line num="2856" type="stmt" count="0"/>
|
3575 |
+
<line num="2857" type="stmt" count="0"/>
|
3576 |
<line num="2860" type="stmt" count="0"/>
|
3577 |
+
<line num="2861" type="stmt" count="0"/>
|
3578 |
<line num="2862" type="stmt" count="0"/>
|
|
|
3579 |
<line num="2864" type="stmt" count="0"/>
|
3580 |
+
<line num="2865" type="stmt" count="0"/>
|
3581 |
<line num="2866" type="stmt" count="0"/>
|
3582 |
+
<line num="2868" type="stmt" count="0"/>
|
3583 |
+
<line num="2881" type="stmt" count="0"/>
|
3584 |
<line num="2882" type="stmt" count="0"/>
|
|
|
3585 |
<line num="2884" type="stmt" count="0"/>
|
3586 |
<line num="2885" type="stmt" count="0"/>
|
3587 |
<line num="2886" type="stmt" count="0"/>
|
3588 |
+
<line num="2887" type="stmt" count="0"/>
|
3589 |
<line num="2888" type="stmt" count="0"/>
|
|
|
3590 |
<line num="2890" type="stmt" count="0"/>
|
3591 |
<line num="2891" type="stmt" count="0"/>
|
3592 |
+
<line num="2892" type="stmt" count="0"/>
|
3593 |
<line num="2893" type="stmt" count="0"/>
|
3594 |
<line num="2895" type="stmt" count="0"/>
|
3595 |
+
<line num="2897" type="stmt" count="0"/>
|
3596 |
+
<line num="2898" type="stmt" count="0"/>
|
3597 |
+
<line num="2914" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
|
3598 |
+
<line num="2916" type="stmt" count="0"/>
|
3599 |
+
<line num="2919" type="stmt" count="0"/>
|
3600 |
+
<line num="2920" type="stmt" count="0"/>
|
3601 |
+
<line num="2924" type="stmt" count="0"/>
|
3602 |
+
<line num="2927" type="stmt" count="0"/>
|
3603 |
+
<line num="2928" type="stmt" count="0"/>
|
3604 |
+
<line num="2932" type="stmt" count="0"/>
|
3605 |
+
<line num="2933" type="stmt" count="0"/>
|
3606 |
+
<line num="2944" type="method" name="enforce_retention" visibility="public" complexity="8" crap="8.07" count="4"/>
|
|
|
3607 |
<line num="2945" type="stmt" count="4"/>
|
3608 |
+
<line num="2946" type="stmt" count="4"/>
|
3609 |
<line num="2947" type="stmt" count="4"/>
|
3610 |
+
<line num="2949" type="stmt" count="4"/>
|
3611 |
<line num="2950" type="stmt" count="4"/>
|
3612 |
+
<line num="2952" type="stmt" count="4"/>
|
3613 |
+
<line num="2953" type="stmt" count="4"/>
|
|
|
3614 |
<line num="2956" type="stmt" count="4"/>
|
3615 |
<line num="2957" type="stmt" count="4"/>
|
3616 |
+
<line num="2958" type="stmt" count="4"/>
|
3617 |
+
<line num="2959" type="stmt" count="4"/>
|
3618 |
<line num="2960" type="stmt" count="0"/>
|
3619 |
+
<line num="2961" type="stmt" count="0"/>
|
3620 |
+
<line num="2962" type="stmt" count="0"/>
|
3621 |
<line num="2963" type="stmt" count="4"/>
|
3622 |
+
<line num="2964" type="stmt" count="4"/>
|
3623 |
+
<line num="2965" type="stmt" count="4"/>
|
3624 |
+
<line num="2968" type="stmt" count="4"/>
|
3625 |
<line num="2971" type="stmt" count="4"/>
|
3626 |
+
<line num="2972" type="stmt" count="4"/>
|
3627 |
+
<line num="2973" type="stmt" count="4"/>
|
3628 |
+
<line num="2977" type="stmt" count="1"/>
|
3629 |
+
<line num="2980" type="stmt" count="1"/>
|
3630 |
<line num="2983" type="stmt" count="1"/>
|
3631 |
+
<line num="2984" type="stmt" count="1"/>
|
3632 |
+
<line num="2985" type="stmt" count="1"/>
|
3633 |
+
<line num="2988" type="stmt" count="1"/>
|
3634 |
+
<line num="2991" type="stmt" count="1"/>
|
3635 |
<line num="2994" type="stmt" count="1"/>
|
3636 |
+
<line num="2996" type="stmt" count="1"/>
|
3637 |
+
<line num="2997" type="stmt" count="1"/>
|
3638 |
+
<line num="3006" type="stmt" count="1"/>
|
3639 |
+
<line num="3007" type="stmt" count="1"/>
|
3640 |
+
<line num="3008" type="stmt" count="0"/>
|
3641 |
<line num="3010" type="stmt" count="1"/>
|
|
|
3642 |
<line num="3012" type="stmt" count="1"/>
|
3643 |
+
<line num="3013" type="stmt" count="1"/>
|
3644 |
+
<line num="3014" type="stmt" count="1"/>
|
3645 |
+
<metrics loc="3015" ncloc="1556" classes="1" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1096" coveredstatements="536" elements="1124" coveredelements="540"/>
|
3646 |
</file>
|
3647 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
|
3648 |
<class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
5454 |
</file>
|
5455 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log.php">
|
5456 |
<class name="Boldgrid_Backup_Admin_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5457 |
+
<metrics complexity="23" methods="11" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="82" coveredstatements="59" elements="93" coveredelements="66"/>
|
5458 |
</class>
|
5459 |
+
<line num="78" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="24"/>
|
5460 |
+
<line num="79" type="stmt" count="24"/>
|
5461 |
+
<line num="80" type="stmt" count="24"/>
|
5462 |
+
<line num="91" type="method" name="add" visibility="public" complexity="2" crap="2" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
5463 |
<line num="97" type="stmt" count="4"/>
|
5464 |
<line num="98" type="stmt" count="4"/>
|
5465 |
<line num="99" type="stmt" count="4"/>
|
5466 |
+
<line num="102" type="stmt" count="4"/>
|
5467 |
+
<line num="110" type="stmt" count="4"/>
|
|
|
5468 |
<line num="111" type="stmt" count="4"/>
|
5469 |
<line num="112" type="stmt" count="4"/>
|
5470 |
+
<line num="113" type="stmt" count="4"/>
|
5471 |
+
<line num="120" type="method" name="add_generic" visibility="public" complexity="1" crap="1" count="4"/>
|
5472 |
+
<line num="121" type="stmt" count="4"/>
|
5473 |
+
<line num="123" type="stmt" count="4"/>
|
5474 |
<line num="125" type="stmt" count="4"/>
|
5475 |
+
<line num="126" type="stmt" count="4"/>
|
5476 |
+
<line num="135" type="method" name="add_last_error" visibility="public" complexity="2" crap="2" count="4"/>
|
5477 |
+
<line num="136" type="stmt" count="4"/>
|
5478 |
+
<line num="139" type="stmt" count="4"/>
|
5479 |
+
<line num="140" type="stmt" count="2"/>
|
5480 |
+
<line num="141" type="stmt" count="2"/>
|
|
|
|
|
5481 |
<line num="144" type="stmt" count="4"/>
|
5482 |
<line num="145" type="stmt" count="4"/>
|
5483 |
+
<line num="153" type="method" name="add_memory" visibility="public" complexity="1" crap="1" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
5484 |
<line num="154" type="stmt" count="4"/>
|
5485 |
+
<line num="155" type="stmt" count="4"/>
|
5486 |
+
<line num="156" type="stmt" count="4"/>
|
5487 |
+
<line num="158" type="stmt" count="4"/>
|
5488 |
+
<line num="159" type="stmt" count="4"/>
|
5489 |
+
<line num="160" type="stmt" count="4"/>
|
5490 |
+
<line num="161" type="stmt" count="4"/>
|
5491 |
+
<line num="162" type="stmt" count="4"/>
|
5492 |
+
<line num="163" type="stmt" count="4"/>
|
5493 |
+
<line num="164" type="stmt" count="4"/>
|
5494 |
+
<line num="165" type="stmt" count="4"/>
|
5495 |
+
<line num="167" type="stmt" count="4"/>
|
5496 |
+
<line num="168" type="stmt" count="4"/>
|
5497 |
+
<line num="175" type="method" name="add_separator" visibility="public" complexity="1" crap="1" count="1"/>
|
5498 |
+
<line num="176" type="stmt" count="1"/>
|
5499 |
+
<line num="177" type="stmt" count="1"/>
|
5500 |
+
<line num="184" type="method" name="clean_up" visibility="public" complexity="4" crap="4.25" count="4"/>
|
5501 |
+
<line num="186" type="stmt" count="4"/>
|
5502 |
+
<line num="187" type="stmt" count="4"/>
|
5503 |
+
<line num="189" type="stmt" count="4"/>
|
5504 |
<line num="191" type="stmt" count="4"/>
|
5505 |
+
<line num="192" type="stmt" count="0"/>
|
5506 |
+
<line num="196" type="stmt" count="4"/>
|
5507 |
+
<line num="197" type="stmt" count="4"/>
|
5508 |
+
<line num="198" type="stmt" count="4"/>
|
5509 |
+
<line num="201" type="stmt" count="0"/>
|
5510 |
+
<line num="203" type="stmt" count="0"/>
|
5511 |
+
<line num="204" type="stmt" count="4"/>
|
5512 |
<line num="205" type="stmt" count="4"/>
|
5513 |
+
<line num="215" type="method" name="init" visibility="public" complexity="4" crap="4" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
5514 |
<line num="217" type="stmt" count="4"/>
|
|
|
5515 |
<line num="219" type="stmt" count="4"/>
|
5516 |
<line num="221" type="stmt" count="4"/>
|
5517 |
+
<line num="223" type="stmt" count="4"/>
|
5518 |
+
<line num="225" type="stmt" count="4"/>
|
5519 |
+
<line num="227" type="stmt" count="4"/>
|
5520 |
+
<line num="228" type="stmt" count="4"/>
|
5521 |
+
<line num="230" type="stmt" count="4"/>
|
5522 |
+
<line num="231" type="stmt" count="4"/>
|
5523 |
+
<line num="232" type="stmt" count="4"/>
|
5524 |
+
<line num="233" type="stmt" count="4"/>
|
5525 |
+
<line num="234" type="stmt" count="4"/>
|
5526 |
+
<line num="236" type="stmt" count="4"/>
|
5527 |
+
<line num="246" type="method" name="init_signal_handler" visibility="private" complexity="4" crap="14.72" count="4"/>
|
5528 |
+
<line num="255" type="stmt" count="4"/>
|
5529 |
+
<line num="256" type="stmt" count="4"/>
|
5530 |
+
<line num="259" type="stmt" count="0"/>
|
5531 |
<line num="260" type="stmt" count="0"/>
|
5532 |
+
<line num="261" type="stmt" count="0"/>
|
5533 |
+
<line num="265" type="stmt" count="0"/>
|
5534 |
<line num="269" type="stmt" count="0"/>
|
|
|
5535 |
<line num="271" type="stmt" count="0"/>
|
5536 |
+
<line num="273" type="stmt" count="0"/>
|
5537 |
+
<line num="275" type="stmt" count="0"/>
|
5538 |
+
<line num="281" type="stmt" count="0"/>
|
5539 |
+
<line num="282" type="stmt" count="0"/>
|
5540 |
<line num="284" type="stmt" count="0"/>
|
5541 |
<line num="285" type="stmt" count="0"/>
|
5542 |
<line num="286" type="stmt" count="0"/>
|
5543 |
<line num="287" type="stmt" count="0"/>
|
5544 |
+
<line num="294" type="method" name="shutdown" visibility="public" complexity="2" crap="6" count="0"/>
|
|
|
5545 |
<line num="299" type="stmt" count="0"/>
|
5546 |
+
<line num="300" type="stmt" count="0"/>
|
5547 |
+
<line num="301" type="stmt" count="0"/>
|
5548 |
+
<line num="302" type="stmt" count="0"/>
|
5549 |
+
<line num="311" type="method" name="signal_handler" visibility="public" complexity="1" crap="2" count="0"/>
|
5550 |
+
<line num="312" type="stmt" count="0"/>
|
5551 |
+
<line num="314" type="stmt" count="0"/>
|
5552 |
+
<metrics loc="316" ncloc="135" classes="1" methods="11" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="82" coveredstatements="59" elements="93" coveredelements="66"/>
|
5553 |
</file>
|
5554 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
5555 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6963 |
</file>
|
6964 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-upload.php">
|
6965 |
<class name="Boldgrid_Backup_Admin_Upload" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6966 |
+
<metrics complexity="39" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="208" coveredstatements="2" elements="216" coveredelements="3"/>
|
6967 |
</class>
|
6968 |
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
6969 |
<line num="41" type="stmt" count="20"/>
|
7100 |
<line num="369" type="stmt" count="0"/>
|
7101 |
<line num="371" type="stmt" count="0"/>
|
7102 |
<line num="373" type="stmt" count="0"/>
|
7103 |
+
<line num="392" type="method" name="ajax_url_import" visibility="public" complexity="14" crap="210" count="0"/>
|
7104 |
<line num="393" type="stmt" count="0"/>
|
7105 |
<line num="394" type="stmt" count="0"/>
|
7106 |
<line num="395" type="stmt" count="0"/>
|
7172 |
<line num="498" type="stmt" count="0"/>
|
7173 |
<line num="499" type="stmt" count="0"/>
|
7174 |
<line num="500" type="stmt" count="0"/>
|
7175 |
+
<line num="504" type="stmt" count="0"/>
|
7176 |
<line num="505" type="stmt" count="0"/>
|
7177 |
<line num="506" type="stmt" count="0"/>
|
7178 |
+
<line num="507" type="stmt" count="0"/>
|
7179 |
<line num="508" type="stmt" count="0"/>
|
|
|
7180 |
<line num="511" type="stmt" count="0"/>
|
7181 |
+
<line num="513" type="stmt" count="0"/>
|
7182 |
+
<line num="515" type="stmt" count="0"/>
|
7183 |
+
<line num="516" type="stmt" count="0"/>
|
7184 |
+
<metrics loc="517" ncloc="288" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="208" coveredstatements="2" elements="216" coveredelements="3"/>
|
7185 |
</file>
|
7186 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-usage.php">
|
7187 |
<class name="Boldgrid_Backup_Admin_Usage" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
8320 |
</file>
|
8321 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-system-zip-temp-folder.php">
|
8322 |
<class name="Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.System.Zip.Temp">
|
8323 |
+
<metrics complexity="9" methods="6" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="19" coveredstatements="11" elements="25" coveredelements="16"/>
|
8324 |
</class>
|
8325 |
+
<line num="44" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/>
|
8326 |
+
<line num="45" type="stmt" count="7"/>
|
8327 |
+
<line num="46" type="stmt" count="7"/>
|
8328 |
<line num="55" type="method" name="create" visibility="public" complexity="1" crap="1" count="1"/>
|
8329 |
<line num="56" type="stmt" count="1"/>
|
8330 |
<line num="66" type="method" name="delete" visibility="public" complexity="1" crap="1" count="1"/>
|
8331 |
<line num="67" type="stmt" count="1"/>
|
8332 |
+
<line num="77" type="method" name="exists" visibility="public" complexity="1" crap="1" count="4"/>
|
8333 |
+
<line num="78" type="stmt" count="4"/>
|
8334 |
+
<line num="80" type="stmt" count="4"/>
|
8335 |
+
<line num="90" type="method" name="dirlist" visibility="public" complexity="4" crap="10.15" count="4"/>
|
8336 |
+
<line num="91" type="stmt" count="4"/>
|
8337 |
+
<line num="93" type="stmt" count="4"/>
|
8338 |
+
<line num="94" type="stmt" count="0"/>
|
8339 |
+
<line num="96" type="stmt" count="0"/>
|
8340 |
+
<line num="97" type="stmt" count="0"/>
|
8341 |
+
<line num="103" type="stmt" count="0"/>
|
8342 |
+
<line num="104" type="stmt" count="0"/>
|
8343 |
+
<line num="105" type="stmt" count="0"/>
|
8344 |
+
<line num="106" type="stmt" count="0"/>
|
8345 |
+
<line num="107" type="stmt" count="0"/>
|
8346 |
+
<line num="109" type="stmt" count="4"/>
|
8347 |
+
<line num="119" type="method" name="get_path" visibility="public" complexity="1" crap="1" count="4"/>
|
8348 |
+
<line num="120" type="stmt" count="4"/>
|
8349 |
+
<line num="122" type="stmt" count="4"/>
|
8350 |
+
<metrics loc="124" ncloc="49" classes="1" methods="6" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="19" coveredstatements="11" elements="25" coveredelements="16"/>
|
8351 |
</file>
|
8352 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-system-zip-test.php">
|
8353 |
<class name="Boldgrid_Backup_Admin_Compressor_System_Zip_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.System.Zip">
|
8645 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/index.php">
|
8646 |
<metrics loc="8" ncloc="1" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
|
8647 |
</file>
|
8648 |
+
<package name="Boldgrid\Backup\Admin\Orphan">
|
8649 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/orphan/class-cleanup.php">
|
8650 |
+
<class name="Cleanup" namespace="Boldgrid\Backup\Admin\Orphan">
|
8651 |
+
<metrics complexity="5" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="21" coveredstatements="11" elements="23" coveredelements="12"/>
|
8652 |
+
</class>
|
8653 |
+
<line num="45" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="4"/>
|
8654 |
+
<line num="46" type="stmt" count="4"/>
|
8655 |
+
<line num="48" type="stmt" count="4"/>
|
8656 |
+
<line num="49" type="stmt" count="4"/>
|
8657 |
+
<line num="50" type="stmt" count="4"/>
|
8658 |
+
<line num="51" type="stmt" count="4"/>
|
8659 |
+
<line num="52" type="stmt" count="4"/>
|
8660 |
+
<line num="53" type="stmt" count="4"/>
|
8661 |
+
<line num="60" type="method" name="run" visibility="public" complexity="4" crap="9.83" count="4"/>
|
8662 |
+
<line num="61" type="stmt" count="4"/>
|
8663 |
+
<line num="62" type="stmt" count="4"/>
|
8664 |
+
<line num="64" type="stmt" count="4"/>
|
8665 |
+
<line num="65" type="stmt" count="0"/>
|
8666 |
+
<line num="66" type="stmt" count="0"/>
|
8667 |
+
<line num="68" type="stmt" count="0"/>
|
8668 |
+
<line num="69" type="stmt" count="0"/>
|
8669 |
+
<line num="70" type="stmt" count="0"/>
|
8670 |
+
<line num="72" type="stmt" count="0"/>
|
8671 |
+
<line num="73" type="stmt" count="0"/>
|
8672 |
+
<line num="74" type="stmt" count="0"/>
|
8673 |
+
<line num="75" type="stmt" count="0"/>
|
8674 |
+
<line num="76" type="stmt" count="0"/>
|
8675 |
+
<line num="77" type="stmt" count="4"/>
|
8676 |
+
<metrics loc="78" ncloc="38" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="21" coveredstatements="11" elements="23" coveredelements="12"/>
|
8677 |
+
</file>
|
8678 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/orphan/class-finder.php">
|
8679 |
+
<class name="Finder" namespace="Boldgrid\Backup\Admin\Orphan">
|
8680 |
+
<metrics complexity="9" methods="4" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="13" elements="26" coveredelements="15"/>
|
8681 |
+
</class>
|
8682 |
+
<line num="47" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="4"/>
|
8683 |
+
<line num="48" type="stmt" count="4"/>
|
8684 |
+
<line num="49" type="stmt" count="4"/>
|
8685 |
+
<line num="63" type="method" name="is_file_old" visibility="public" complexity="2" crap="6" count="0"/>
|
8686 |
+
<line num="65" type="stmt" count="0"/>
|
8687 |
+
<line num="67" type="stmt" count="0"/>
|
8688 |
+
<line num="79" type="method" name="run" visibility="public" complexity="1" crap="1" count="4"/>
|
8689 |
+
<line num="80" type="stmt" count="4"/>
|
8690 |
+
<line num="82" type="stmt" count="4"/>
|
8691 |
+
<line num="90" type="method" name="set_filelist" visibility="public" complexity="5" crap="7.09" count="4"/>
|
8692 |
+
<line num="92" type="stmt" count="4"/>
|
8693 |
+
<line num="93" type="stmt" count="4"/>
|
8694 |
+
<line num="94" type="stmt" count="4"/>
|
8695 |
+
<line num="95" type="stmt" count="4"/>
|
8696 |
+
<line num="96" type="stmt" count="0"/>
|
8697 |
+
<line num="97" type="stmt" count="0"/>
|
8698 |
+
<line num="98" type="stmt" count="0"/>
|
8699 |
+
<line num="99" type="stmt" count="0"/>
|
8700 |
+
<line num="100" type="stmt" count="4"/>
|
8701 |
+
<line num="103" type="stmt" count="4"/>
|
8702 |
+
<line num="104" type="stmt" count="4"/>
|
8703 |
+
<line num="105" type="stmt" count="0"/>
|
8704 |
+
<line num="106" type="stmt" count="0"/>
|
8705 |
+
<line num="107" type="stmt" count="0"/>
|
8706 |
+
<line num="108" type="stmt" count="4"/>
|
8707 |
+
<line num="109" type="stmt" count="4"/>
|
8708 |
+
<metrics loc="110" ncloc="41" classes="1" methods="4" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="13" elements="26" coveredelements="15"/>
|
8709 |
+
</file>
|
8710 |
+
</package>
|
8711 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/archive-details/browser-entry.php">
|
8712 |
<line num="17" type="stmt" count="0"/>
|
8713 |
<line num="19" type="stmt" count="0"/>
|
14261 |
</file>
|
14262 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
|
14263 |
<class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
|
14264 |
+
<metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="273" coveredstatements="0" elements="281" coveredelements="0"/>
|
14265 |
</class>
|
14266 |
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
14267 |
<line num="67" type="stmt" count="0"/>
|
14382 |
<line num="294" type="stmt" count="0"/>
|
14383 |
<line num="295" type="stmt" count="0"/>
|
14384 |
<line num="297" type="stmt" count="0"/>
|
|
|
14385 |
<line num="300" type="stmt" count="0"/>
|
14386 |
+
<line num="301" type="stmt" count="0"/>
|
14387 |
+
<line num="303" type="stmt" count="0"/>
|
14388 |
+
<line num="304" type="stmt" count="0"/>
|
14389 |
+
<line num="315" type="method" name="set_locale" visibility="private" complexity="1" crap="2" count="0"/>
|
14390 |
+
<line num="316" type="stmt" count="0"/>
|
14391 |
+
<line num="318" type="stmt" count="0"/>
|
14392 |
+
<line num="319" type="stmt" count="0"/>
|
14393 |
+
<line num="327" type="method" name="define_admin_hooks" visibility="private" complexity="5" crap="30" count="0"/>
|
14394 |
+
<line num="329" type="stmt" count="0"/>
|
14395 |
+
<line num="331" type="stmt" count="0"/>
|
14396 |
<line num="334" type="stmt" count="0"/>
|
|
|
14397 |
<line num="337" type="stmt" count="0"/>
|
14398 |
<line num="338" type="stmt" count="0"/>
|
14399 |
<line num="339" type="stmt" count="0"/>
|
14400 |
+
<line num="341" type="stmt" count="0"/>
|
14401 |
<line num="342" type="stmt" count="0"/>
|
14402 |
<line num="343" type="stmt" count="0"/>
|
14403 |
+
<line num="346" type="stmt" count="0"/>
|
14404 |
+
<line num="347" type="stmt" count="0"/>
|
14405 |
<line num="348" type="stmt" count="0"/>
|
14406 |
<line num="349" type="stmt" count="0"/>
|
14407 |
+
<line num="352" type="stmt" count="0"/>
|
|
|
14408 |
<line num="353" type="stmt" count="0"/>
|
14409 |
<line num="354" type="stmt" count="0"/>
|
14410 |
<line num="355" type="stmt" count="0"/>
|
|
|
14411 |
<line num="357" type="stmt" count="0"/>
|
14412 |
+
<line num="358" type="stmt" count="0"/>
|
14413 |
+
<line num="359" type="stmt" count="0"/>
|
14414 |
<line num="360" type="stmt" count="0"/>
|
14415 |
<line num="361" type="stmt" count="0"/>
|
14416 |
+
<line num="364" type="stmt" count="0"/>
|
14417 |
+
<line num="365" type="stmt" count="0"/>
|
14418 |
<line num="366" type="stmt" count="0"/>
|
14419 |
<line num="367" type="stmt" count="0"/>
|
14420 |
+
<line num="370" type="stmt" count="0"/>
|
14421 |
+
<line num="371" type="stmt" count="0"/>
|
14422 |
<line num="372" type="stmt" count="0"/>
|
14423 |
<line num="373" type="stmt" count="0"/>
|
14424 |
+
<line num="376" type="stmt" count="0"/>
|
14425 |
+
<line num="377" type="stmt" count="0"/>
|
14426 |
<line num="378" type="stmt" count="0"/>
|
14427 |
<line num="379" type="stmt" count="0"/>
|
14428 |
+
<line num="382" type="stmt" count="0"/>
|
14429 |
+
<line num="383" type="stmt" count="0"/>
|
14430 |
<line num="384" type="stmt" count="0"/>
|
14431 |
<line num="385" type="stmt" count="0"/>
|
14432 |
+
<line num="388" type="stmt" count="0"/>
|
14433 |
+
<line num="389" type="stmt" count="0"/>
|
14434 |
<line num="390" type="stmt" count="0"/>
|
14435 |
<line num="391" type="stmt" count="0"/>
|
14436 |
+
<line num="394" type="stmt" count="0"/>
|
|
|
14437 |
<line num="395" type="stmt" count="0"/>
|
14438 |
<line num="396" type="stmt" count="0"/>
|
14439 |
<line num="397" type="stmt" count="0"/>
|
14440 |
+
<line num="399" type="stmt" count="0"/>
|
14441 |
<line num="400" type="stmt" count="0"/>
|
14442 |
<line num="401" type="stmt" count="0"/>
|
14443 |
+
<line num="404" type="stmt" count="0"/>
|
14444 |
+
<line num="405" type="stmt" count="0"/>
|
14445 |
<line num="406" type="stmt" count="0"/>
|
14446 |
<line num="407" type="stmt" count="0"/>
|
14447 |
+
<line num="410" type="stmt" count="0"/>
|
|
|
14448 |
<line num="411" type="stmt" count="0"/>
|
14449 |
<line num="412" type="stmt" count="0"/>
|
14450 |
<line num="413" type="stmt" count="0"/>
|
|
|
14451 |
<line num="415" type="stmt" count="0"/>
|
14452 |
<line num="416" type="stmt" count="0"/>
|
14453 |
+
<line num="417" type="stmt" count="0"/>
|
14454 |
<line num="418" type="stmt" count="0"/>
|
14455 |
+
<line num="419" type="stmt" count="0"/>
|
14456 |
<line num="420" type="stmt" count="0"/>
|
14457 |
<line num="422" type="stmt" count="0"/>
|
14458 |
<line num="424" type="stmt" count="0"/>
|
|
|
14459 |
<line num="426" type="stmt" count="0"/>
|
14460 |
<line num="428" type="stmt" count="0"/>
|
14461 |
<line num="429" type="stmt" count="0"/>
|
14462 |
+
<line num="430" type="stmt" count="0"/>
|
14463 |
+
<line num="432" type="stmt" count="0"/>
|
14464 |
<line num="433" type="stmt" count="0"/>
|
14465 |
<line num="435" type="stmt" count="0"/>
|
14466 |
<line num="437" type="stmt" count="0"/>
|
14467 |
<line num="439" type="stmt" count="0"/>
|
|
|
14468 |
<line num="441" type="stmt" count="0"/>
|
14469 |
<line num="443" type="stmt" count="0"/>
|
14470 |
+
<line num="444" type="stmt" count="0"/>
|
14471 |
<line num="445" type="stmt" count="0"/>
|
|
|
14472 |
<line num="447" type="stmt" count="0"/>
|
14473 |
+
<line num="449" type="stmt" count="0"/>
|
14474 |
<line num="450" type="stmt" count="0"/>
|
14475 |
+
<line num="451" type="stmt" count="0"/>
|
14476 |
<line num="452" type="stmt" count="0"/>
|
14477 |
<line num="454" type="stmt" count="0"/>
|
14478 |
<line num="456" type="stmt" count="0"/>
|
14479 |
<line num="458" type="stmt" count="0"/>
|
14480 |
<line num="460" type="stmt" count="0"/>
|
14481 |
+
<line num="462" type="stmt" count="0"/>
|
14482 |
+
<line num="464" type="stmt" count="0"/>
|
14483 |
<line num="469" type="stmt" count="0"/>
|
14484 |
<line num="471" type="stmt" count="0"/>
|
14485 |
<line num="473" type="stmt" count="0"/>
|
14486 |
<line num="475" type="stmt" count="0"/>
|
14487 |
<line num="477" type="stmt" count="0"/>
|
14488 |
<line num="479" type="stmt" count="0"/>
|
14489 |
+
<line num="481" type="stmt" count="0"/>
|
|
|
14490 |
<line num="483" type="stmt" count="0"/>
|
14491 |
+
<line num="484" type="stmt" count="0"/>
|
14492 |
+
<line num="486" type="stmt" count="0"/>
|
14493 |
<line num="487" type="stmt" count="0"/>
|
|
|
14494 |
<line num="489" type="stmt" count="0"/>
|
14495 |
<line num="491" type="stmt" count="0"/>
|
14496 |
+
<line num="492" type="stmt" count="0"/>
|
14497 |
<line num="493" type="stmt" count="0"/>
|
14498 |
+
<line num="495" type="stmt" count="0"/>
|
14499 |
<line num="497" type="stmt" count="0"/>
|
14500 |
<line num="498" type="stmt" count="0"/>
|
14501 |
+
<line num="501" type="stmt" count="0"/>
|
14502 |
<line num="502" type="stmt" count="0"/>
|
14503 |
<line num="503" type="stmt" count="0"/>
|
14504 |
<line num="506" type="stmt" count="0"/>
|
14505 |
+
<line num="507" type="stmt" count="0"/>
|
14506 |
+
<line num="510" type="stmt" count="0"/>
|
14507 |
+
<line num="513" type="stmt" count="0"/>
|
14508 |
+
<line num="516" type="stmt" count="0"/>
|
14509 |
<line num="519" type="stmt" count="0"/>
|
14510 |
+
<line num="521" type="stmt" count="0"/>
|
14511 |
+
<line num="523" type="stmt" count="0"/>
|
14512 |
<line num="524" type="stmt" count="0"/>
|
14513 |
<line num="526" type="stmt" count="0"/>
|
14514 |
+
<line num="528" type="stmt" count="0"/>
|
14515 |
<line num="530" type="stmt" count="0"/>
|
14516 |
+
<line num="531" type="stmt" count="0"/>
|
14517 |
<line num="534" type="stmt" count="0"/>
|
|
|
14518 |
<line num="537" type="stmt" count="0"/>
|
14519 |
<line num="538" type="stmt" count="0"/>
|
|
|
14520 |
<line num="540" type="stmt" count="0"/>
|
14521 |
+
<line num="541" type="stmt" count="0"/>
|
14522 |
+
<line num="542" type="stmt" count="0"/>
|
14523 |
<line num="543" type="stmt" count="0"/>
|
14524 |
<line num="544" type="stmt" count="0"/>
|
14525 |
+
<line num="547" type="stmt" count="0"/>
|
14526 |
<line num="548" type="stmt" count="0"/>
|
14527 |
+
<line num="549" type="stmt" count="0"/>
|
14528 |
+
<line num="552" type="stmt" count="0"/>
|
|
|
14529 |
<line num="559" type="stmt" count="0"/>
|
14530 |
<line num="560" type="stmt" count="0"/>
|
14531 |
<line num="561" type="stmt" count="0"/>
|
14532 |
+
<line num="563" type="stmt" count="0"/>
|
14533 |
+
<line num="564" type="stmt" count="0"/>
|
14534 |
+
<line num="565" type="stmt" count="0"/>
|
14535 |
+
<line num="572" type="method" name="run" visibility="public" complexity="1" crap="2" count="0"/>
|
14536 |
+
<line num="573" type="stmt" count="0"/>
|
14537 |
+
<line num="574" type="stmt" count="0"/>
|
14538 |
+
<line num="583" type="method" name="get_plugin_name" visibility="public" complexity="1" crap="2" count="0"/>
|
14539 |
+
<line num="584" type="stmt" count="0"/>
|
14540 |
+
<line num="585" type="stmt" count="0"/>
|
14541 |
+
<line num="593" type="method" name="get_loader" visibility="public" complexity="1" crap="2" count="0"/>
|
14542 |
+
<line num="594" type="stmt" count="0"/>
|
14543 |
+
<line num="595" type="stmt" count="0"/>
|
14544 |
+
<line num="603" type="method" name="get_version" visibility="public" complexity="1" crap="2" count="0"/>
|
14545 |
+
<line num="604" type="stmt" count="0"/>
|
14546 |
+
<line num="605" type="stmt" count="0"/>
|
14547 |
+
<metrics loc="606" ncloc="368" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="273" coveredstatements="0" elements="281" coveredelements="0"/>
|
14548 |
</file>
|
14549 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
|
14550 |
<line num="17" type="stmt" count="0"/>
|
69472 |
<metrics loc="135" ncloc="76" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="51" elements="55" coveredelements="55"/>
|
69473 |
</file>
|
69474 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/bootstrap.php">
|
|
|
|
|
69475 |
<line num="132" type="stmt" count="0"/>
|
69476 |
+
<line num="133" type="stmt" count="0"/>
|
69477 |
<line num="135" type="stmt" count="0"/>
|
69478 |
+
<line num="137" type="stmt" count="0"/>
|
69479 |
+
<line num="138" type="stmt" count="0"/>
|
69480 |
+
<metrics loc="140" ncloc="106" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="5" coveredelements="0"/>
|
69481 |
</file>
|
69482 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/cli/test-class-info.php">
|
69483 |
<class name="Test_Boldgrid_Backup_Cli_Info" namespace="global" fullPackage="Test.Boldgrid.Backup.Cli">
|
75147 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
75148 |
</file>
|
75149 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
75150 |
+
<class name="ComposerStaticInit1bb8fd72f2028a4e77c175b85cc8b875" namespace="Composer\Autoload">
|
75151 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
75152 |
</class>
|
75153 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
75239 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
75240 |
</file>
|
75241 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
75242 |
+
<class name="ComposerAutoloaderInit1bb8fd72f2028a4e77c175b85cc8b875" namespace="global">
|
75243 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
75244 |
</class>
|
75245 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
94458 |
<line num="16" type="stmt" count="0"/>
|
94459 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
94460 |
</file>
|
94461 |
+
<metrics files="944" loc="189348" ncloc="115435" classes="854" methods="3513" coveredmethods="274" conditionals="0" coveredconditionals="0" statements="85138" coveredstatements="4002" elements="88651" coveredelements="4276"/>
|
94462 |
</project>
|
94463 |
</coverage>
|
includes/class-boldgrid-backup.php
CHANGED
@@ -296,6 +296,10 @@ class Boldgrid_Backup {
|
|
296 |
|
297 |
require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-plugin-notices.php';
|
298 |
|
|
|
|
|
|
|
|
|
299 |
$this->loader = new Boldgrid_Backup_Loader();
|
300 |
}
|
301 |
|
296 |
|
297 |
require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-plugin-notices.php';
|
298 |
|
299 |
+
// Orphaned files.
|
300 |
+
require_once BOLDGRID_BACKUP_PATH . '/admin/orphan/class-finder.php';
|
301 |
+
require_once BOLDGRID_BACKUP_PATH . '/admin/orphan/class-cleanup.php';
|
302 |
+
|
303 |
$this->loader = new Boldgrid_Backup_Loader();
|
304 |
}
|
305 |
|
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 ComposerAutoloaderInit1bb8fd72f2028a4e77c175b85cc8b875::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 ComposerAutoloaderInit7ee03c35b81d70939c920118d6c7af77
|
|
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 ComposerAutoloaderInit7ee03c35b81d70939c920118d6c7af77
|
|
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 ComposerAutoloaderInit1bb8fd72f2028a4e77c175b85cc8b875
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit1bb8fd72f2028a4e77c175b85cc8b875', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit1bb8fd72f2028a4e77c175b85cc8b875', '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\ComposerStaticInit1bb8fd72f2028a4e77c175b85cc8b875::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\ComposerStaticInit1bb8fd72f2028a4e77c175b85cc8b875::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequire1bb8fd72f2028a4e77c175b85cc8b875($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequire1bb8fd72f2028a4e77c175b85cc8b875($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 ComposerStaticInit7ee03c35b81d70939c920118d6c7af77
|
|
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 ComposerStaticInit1bb8fd72f2028a4e77c175b85cc8b875
|
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 = ComposerStaticInit1bb8fd72f2028a4e77c175b85cc8b875::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit1bb8fd72f2028a4e77c175b85cc8b875::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInit1bb8fd72f2028a4e77c175b85cc8b875::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|