Version Description
Release date: January 14th, 2020
- Update: Adding logging system.
- Update: Updated dependencies.
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | 1.12.5 |
Comparing to | |
See all releases |
Code changes from version 1.12.4 to 1.12.5
- admin/class-boldgrid-backup-admin-archive-fail.php +5 -1
- admin/class-boldgrid-backup-admin-backup-dir.php +63 -0
- admin/class-boldgrid-backup-admin-core.php +70 -2
- admin/class-boldgrid-backup-admin-log-page.php +96 -0
- admin/class-boldgrid-backup-admin-log.php +150 -0
- admin/class-boldgrid-backup-admin-tools.php +16 -3
- admin/compressor/class-boldgrid-backup-admin-compressor-php-zip.php +9 -0
- admin/js/boldgrid-backup-admin-logs.js +96 -0
- admin/partials/boldgrid-backup-admin-tools.php +5 -0
- admin/partials/tools/view-logs.php +84 -0
- boldgrid-backup.php +1 -1
- coverage.xml +1263 -1021
- includes/class-boldgrid-backup.php +11 -0
- includes/config/config.plugin.php +3 -0
- readme.txt +9 -2
- vendor/autoload.php +1 -1
- vendor/boldgrid/library/README.md +6 -0
- vendor/boldgrid/library/src/Library/Ui.php +1 -1
- vendor/boldgrid/library/src/assets/css/ui.css +6 -0
- vendor/boldgrid/library/src/assets/js/ui.js +2 -0
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.json +6 -6
admin/class-boldgrid-backup-admin-archive-fail.php
CHANGED
@@ -134,7 +134,6 @@ class Boldgrid_Backup_Admin_Archive_Fail {
|
|
134 |
* @since 1.5.2
|
135 |
*/
|
136 |
public function shutdown() {
|
137 |
-
|
138 |
// Free up memory so we have enough to complete this method.
|
139 |
$this->memory = null;
|
140 |
|
@@ -151,6 +150,11 @@ class Boldgrid_Backup_Admin_Archive_Fail {
|
|
151 |
|
152 |
$last_error = error_get_last();
|
153 |
|
|
|
|
|
|
|
|
|
|
|
154 |
/*
|
155 |
* If there's no error or this is not fatal, abort.
|
156 |
*
|
134 |
* @since 1.5.2
|
135 |
*/
|
136 |
public function shutdown() {
|
|
|
137 |
// Free up memory so we have enough to complete this method.
|
138 |
$this->memory = null;
|
139 |
|
150 |
|
151 |
$last_error = error_get_last();
|
152 |
|
153 |
+
// Add a message to the log.
|
154 |
+
if ( ! empty( $last_error ) ) {
|
155 |
+
$this->core->logger->add( 'PHP shutdown - Error found: ' . print_r( $last_error, 1 ) ); // phpcs:ignore
|
156 |
+
}
|
157 |
+
|
158 |
/*
|
159 |
* If there's no error or this is not fatal, abort.
|
160 |
*
|
admin/class-boldgrid-backup-admin-backup-dir.php
CHANGED
@@ -97,6 +97,8 @@ class Boldgrid_Backup_Admin_Backup_Dir {
|
|
97 |
|
98 |
$backup_dir = untrailingslashit( $backup_dir );
|
99 |
|
|
|
|
|
100 |
$htaccess_path = $backup_dir . DIRECTORY_SEPARATOR . '.htaccess';
|
101 |
$index_html_path = $backup_dir . DIRECTORY_SEPARATOR . 'index.html';
|
102 |
$index_php_path = $backup_dir . DIRECTORY_SEPARATOR . 'index.php';
|
@@ -107,6 +109,11 @@ class Boldgrid_Backup_Admin_Backup_Dir {
|
|
107 |
'path' => $backup_dir,
|
108 |
'chmod' => 0700,
|
109 |
),
|
|
|
|
|
|
|
|
|
|
|
110 |
array(
|
111 |
'type' => 'file',
|
112 |
'path' => $htaccess_path,
|
@@ -234,6 +241,62 @@ class Boldgrid_Backup_Admin_Backup_Dir {
|
|
234 |
return $this->guess_and_set();
|
235 |
}
|
236 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
/**
|
238 |
* Get an array of possible backup directories.
|
239 |
*
|
97 |
|
98 |
$backup_dir = untrailingslashit( $backup_dir );
|
99 |
|
100 |
+
$logs_dir = $this->get_logs_dir( $backup_dir );
|
101 |
+
|
102 |
$htaccess_path = $backup_dir . DIRECTORY_SEPARATOR . '.htaccess';
|
103 |
$index_html_path = $backup_dir . DIRECTORY_SEPARATOR . 'index.html';
|
104 |
$index_php_path = $backup_dir . DIRECTORY_SEPARATOR . 'index.php';
|
109 |
'path' => $backup_dir,
|
110 |
'chmod' => 0700,
|
111 |
),
|
112 |
+
array(
|
113 |
+
'type' => 'dir',
|
114 |
+
'path' => $logs_dir,
|
115 |
+
'chmod' => 0700,
|
116 |
+
),
|
117 |
array(
|
118 |
'type' => 'file',
|
119 |
'path' => $htaccess_path,
|
241 |
return $this->guess_and_set();
|
242 |
}
|
243 |
|
244 |
+
/**
|
245 |
+
* Get the directory to our logs folder.
|
246 |
+
*
|
247 |
+
* @since 1.12.5
|
248 |
+
*
|
249 |
+
* @param string $backup_dir Backup directory path.
|
250 |
+
* @return string The filepath to the logs directory.
|
251 |
+
*/
|
252 |
+
public function get_logs_dir( $backup_dir = null ) {
|
253 |
+
$backup_dir = ! empty( $backup_dir ) ? $backup_dir : $this->get();
|
254 |
+
|
255 |
+
$logs_dir = '';
|
256 |
+
|
257 |
+
// When looking for an existing logs dir, we'll be looking for a dir beginning with this prefix.
|
258 |
+
$prefix = 'logs-' . $this->core->get_backup_identifier() . '-';
|
259 |
+
|
260 |
+
/*
|
261 |
+
* Check to see if we already have a logs directory created.
|
262 |
+
*
|
263 |
+
* We'll do this by getting a dir list of the backup directory, and then looking for a folder
|
264 |
+
* named in this format: logs-[BACKUP IDENTIFIER]-[16 CHARS]
|
265 |
+
*/
|
266 |
+
|
267 |
+
// Get directory listing of backup directory.
|
268 |
+
$dirlist = $this->core->wp_filesystem->dirlist( $backup_dir );
|
269 |
+
$dirlist = is_array( $dirlist ) ? $dirlist : array();
|
270 |
+
|
271 |
+
// Look for a logs directory.
|
272 |
+
foreach ( $dirlist as $file ) {
|
273 |
+
if ( 'd' !== $file['type'] ) {
|
274 |
+
continue;
|
275 |
+
}
|
276 |
+
|
277 |
+
preg_match( '/^' . $prefix . '[a-zA-Z0-9]{16}$/', $file['name'], $matches );
|
278 |
+
|
279 |
+
if ( ! empty( $matches ) ) {
|
280 |
+
$logs_dir = Boldgrid_Backup_Admin_Utility::trailingslashit( $backup_dir ) . $matches[0];
|
281 |
+
break;
|
282 |
+
}
|
283 |
+
}
|
284 |
+
|
285 |
+
/*
|
286 |
+
* If we need to, create our log directory.
|
287 |
+
*
|
288 |
+
* We're using the 16 random characters at the end of the folder name to stay consistent with
|
289 |
+
* Total Upkeep Premium.
|
290 |
+
*
|
291 |
+
* @link https://github.com/BoldGrid/boldgrid-backup-premium/blob/ea33c7fc1b9a184d17ee50b2e61e665967595e85/admin/class-boldgrid-backup-premium-admin-historical.php#L165-L175
|
292 |
+
*/
|
293 |
+
if ( empty( $logs_dir ) ) {
|
294 |
+
$logs_dir = $backup_dir . DIRECTORY_SEPARATOR . $prefix . substr( md5( time() ), -16 );
|
295 |
+
}
|
296 |
+
|
297 |
+
return $logs_dir;
|
298 |
+
}
|
299 |
+
|
300 |
/**
|
301 |
* Get an array of possible backup directories.
|
302 |
*
|
admin/class-boldgrid-backup-admin-core.php
CHANGED
@@ -482,6 +482,22 @@ class Boldgrid_Backup_Admin_Core {
|
|
482 |
*/
|
483 |
public $local;
|
484 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
485 |
/**
|
486 |
* Path to our config.rating-prompt.php file.
|
487 |
*
|
@@ -653,6 +669,10 @@ class Boldgrid_Backup_Admin_Core {
|
|
653 |
|
654 |
$this->set_lang();
|
655 |
|
|
|
|
|
|
|
|
|
656 |
// Need to construct class so necessary filters are added.
|
657 |
if ( class_exists( '\Boldgrid\Library\Library\Ui' ) ) {
|
658 |
$ui = new \Boldgrid\Library\Library\Ui();
|
@@ -1458,6 +1478,9 @@ class Boldgrid_Backup_Admin_Core {
|
|
1458 |
* @return array An array of archive file information.
|
1459 |
*/
|
1460 |
public function archive_files( $save = false, $dryrun = false ) {
|
|
|
|
|
|
|
1461 |
$this->pre_auto_update = 'pre_auto_update' === current_filter();
|
1462 |
|
1463 |
/*
|
@@ -1580,8 +1603,14 @@ class Boldgrid_Backup_Admin_Core {
|
|
1580 |
|
1581 |
// Backup the database, if saving an archive file and not a dry run.
|
1582 |
if ( $save && ! $dryrun ) {
|
|
|
|
|
|
|
1583 |
$status = $this->backup_database();
|
1584 |
|
|
|
|
|
|
|
1585 |
if ( false === $status || ! empty( $status['error'] ) ) {
|
1586 |
return [
|
1587 |
'error' => ! empty( $status['error'] ) ? $status['error'] :
|
@@ -1619,13 +1648,24 @@ class Boldgrid_Backup_Admin_Core {
|
|
1619 |
|
1620 |
// Add the database dump file to the beginning of file list.
|
1621 |
if ( ! empty( $this->db_dump_filepath ) ) {
|
|
|
|
|
1622 |
$db_file_array = [
|
1623 |
$this->db_dump_filepath,
|
1624 |
substr( $this->db_dump_filepath, strlen( $backup_directory ) + 1 ),
|
1625 |
-
$
|
1626 |
];
|
1627 |
|
1628 |
array_unshift( $filelist, $db_file_array );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1629 |
}
|
1630 |
|
1631 |
$this->set_time_limit();
|
@@ -1644,6 +1684,9 @@ class Boldgrid_Backup_Admin_Core {
|
|
1644 |
|
1645 |
Boldgrid_Backup_Admin_In_Progress_Data::set_args( [ 'total_files_todo' => count( $filelist ) ] );
|
1646 |
|
|
|
|
|
|
|
1647 |
/*
|
1648 |
* Use the chosen compressor to build an archive.
|
1649 |
* If the is no available compressor, then return an error.
|
@@ -1682,12 +1725,30 @@ class Boldgrid_Backup_Admin_Core {
|
|
1682 |
break;
|
1683 |
}
|
1684 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1685 |
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'status', esc_html__( 'Wrapping things up...', 'boldgrid-backup' ) );
|
1686 |
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'percentage', 100 );
|
1687 |
|
1688 |
$info['total_size'] += $this->filelist->get_total_size( $filelist );
|
1689 |
|
1690 |
-
if ( true === $status && ! $
|
1691 |
$status = [ 'error' => 'The archive file "' . $info['filepath'] . '" was not written.' ];
|
1692 |
}
|
1693 |
|
@@ -1755,9 +1816,13 @@ class Boldgrid_Backup_Admin_Core {
|
|
1755 |
* also include info about other jobs that were run (such as uploading the backup remotely).
|
1756 |
*/
|
1757 |
if ( $this->email->user_wants_notification( 'backup' ) && ! $this->is_scheduled_backup ) {
|
|
|
|
|
1758 |
$email_parts = $this->email->post_archive_parts( $info );
|
1759 |
$email_body = $email_parts['body']['main'] . $email_parts['body']['signature'];
|
1760 |
$info['mail_success'] = $this->email->send( $email_parts['subject'], $email_body );
|
|
|
|
|
1761 |
}
|
1762 |
|
1763 |
// If not a dry-run test, update the last backup option and enforce retention.
|
@@ -1784,6 +1849,9 @@ class Boldgrid_Backup_Admin_Core {
|
|
1784 |
$this->activity->add( 'any_backup_created', 1, $this->rating_prompt_config );
|
1785 |
}
|
1786 |
|
|
|
|
|
|
|
1787 |
// Return the array of archive information.
|
1788 |
return $info;
|
1789 |
}
|
482 |
*/
|
483 |
public $local;
|
484 |
|
485 |
+
/**
|
486 |
+
* Log page.
|
487 |
+
*
|
488 |
+
* @since 1.12.5
|
489 |
+
* @var Boldgrid_Backup_Admin_Log_Page
|
490 |
+
*/
|
491 |
+
public $log_page;
|
492 |
+
|
493 |
+
/**
|
494 |
+
* Logger.
|
495 |
+
*
|
496 |
+
* @since 1.12.5
|
497 |
+
* @var Boldgrid_Backup_Admin_Log
|
498 |
+
*/
|
499 |
+
public $logger;
|
500 |
+
|
501 |
/**
|
502 |
* Path to our config.rating-prompt.php file.
|
503 |
*
|
669 |
|
670 |
$this->set_lang();
|
671 |
|
672 |
+
// Log system.
|
673 |
+
$this->logger = new Boldgrid_Backup_Admin_Log( $this );
|
674 |
+
$this->log_page = new Boldgrid_Backup_Admin_Log_Page( $this );
|
675 |
+
|
676 |
// Need to construct class so necessary filters are added.
|
677 |
if ( class_exists( '\Boldgrid\Library\Library\Ui' ) ) {
|
678 |
$ui = new \Boldgrid\Library\Library\Ui();
|
1478 |
* @return array An array of archive file information.
|
1479 |
*/
|
1480 |
public function archive_files( $save = false, $dryrun = false ) {
|
1481 |
+
$this->logger->init( 'archive-' . time() . '.log' );
|
1482 |
+
$this->logger->add( 'Backup process initialized.' );
|
1483 |
+
|
1484 |
$this->pre_auto_update = 'pre_auto_update' === current_filter();
|
1485 |
|
1486 |
/*
|
1603 |
|
1604 |
// Backup the database, if saving an archive file and not a dry run.
|
1605 |
if ( $save && ! $dryrun ) {
|
1606 |
+
$this->logger->add( 'Starting dump of database...' );
|
1607 |
+
$this->logger->add_memory();
|
1608 |
+
|
1609 |
$status = $this->backup_database();
|
1610 |
|
1611 |
+
$this->logger->add( 'Dump of database complete! $status = ' . print_r( $status, 1 ) ); // phpcs:ignore
|
1612 |
+
$this->logger->add_memory();
|
1613 |
+
|
1614 |
if ( false === $status || ! empty( $status['error'] ) ) {
|
1615 |
return [
|
1616 |
'error' => ! empty( $status['error'] ) ? $status['error'] :
|
1648 |
|
1649 |
// Add the database dump file to the beginning of file list.
|
1650 |
if ( ! empty( $this->db_dump_filepath ) ) {
|
1651 |
+
$db_dump_size = $this->wp_filesystem->size( $this->db_dump_filepath );
|
1652 |
+
|
1653 |
$db_file_array = [
|
1654 |
$this->db_dump_filepath,
|
1655 |
substr( $this->db_dump_filepath, strlen( $backup_directory ) + 1 ),
|
1656 |
+
$db_dump_size,
|
1657 |
];
|
1658 |
|
1659 |
array_unshift( $filelist, $db_file_array );
|
1660 |
+
|
1661 |
+
$this->logger->add(
|
1662 |
+
sprintf(
|
1663 |
+
'Database dump file added to file list: %1$s / %2$s (%3$s)',
|
1664 |
+
$this->db_dump_filepath,
|
1665 |
+
$db_dump_size,
|
1666 |
+
size_format( $db_dump_size, 2 )
|
1667 |
+
)
|
1668 |
+
);
|
1669 |
}
|
1670 |
|
1671 |
$this->set_time_limit();
|
1684 |
|
1685 |
Boldgrid_Backup_Admin_In_Progress_Data::set_args( [ 'total_files_todo' => count( $filelist ) ] );
|
1686 |
|
1687 |
+
$this->logger->add( 'Starting archiving of files. Chosen compressor: ' . $info['compressor'] );
|
1688 |
+
$this->logger->add_memory();
|
1689 |
+
|
1690 |
/*
|
1691 |
* Use the chosen compressor to build an archive.
|
1692 |
* If the is no available compressor, then return an error.
|
1725 |
break;
|
1726 |
}
|
1727 |
|
1728 |
+
$archive_exists = ! empty( $info['filepath'] ) && $this->wp_filesystem->exists( $info['filepath'] );
|
1729 |
+
$archive_size = ! $archive_exists ? 0 : $this->wp_filesystem->size( $info['filepath'] );
|
1730 |
+
|
1731 |
+
// Add additional info to the logs.
|
1732 |
+
$this->logger->add( 'Archiving of files complete!' );
|
1733 |
+
if ( true !== $status ) {
|
1734 |
+
$this->logger->add( 'Archiving of files did not complete successfully: ' . print_r( $status, 1 ) ); // phpcs:ignore
|
1735 |
+
}
|
1736 |
+
$this->logger->add(
|
1737 |
+
sprintf(
|
1738 |
+
'Archive filepath / size: %1$s / %2$s (%3$s)',
|
1739 |
+
( empty( $info['filepath'] ) ? 'MISSING FILEPATH' : $info['filepath'] ),
|
1740 |
+
$archive_size,
|
1741 |
+
size_format( $archive_size, 2 )
|
1742 |
+
)
|
1743 |
+
);
|
1744 |
+
$this->logger->add_memory();
|
1745 |
+
|
1746 |
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'status', esc_html__( 'Wrapping things up...', 'boldgrid-backup' ) );
|
1747 |
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'percentage', 100 );
|
1748 |
|
1749 |
$info['total_size'] += $this->filelist->get_total_size( $filelist );
|
1750 |
|
1751 |
+
if ( true === $status && ! $archive_exists ) {
|
1752 |
$status = [ 'error' => 'The archive file "' . $info['filepath'] . '" was not written.' ];
|
1753 |
}
|
1754 |
|
1816 |
* also include info about other jobs that were run (such as uploading the backup remotely).
|
1817 |
*/
|
1818 |
if ( $this->email->user_wants_notification( 'backup' ) && ! $this->is_scheduled_backup ) {
|
1819 |
+
$this->logger->add( 'Starting sending of email...' );
|
1820 |
+
|
1821 |
$email_parts = $this->email->post_archive_parts( $info );
|
1822 |
$email_body = $email_parts['body']['main'] . $email_parts['body']['signature'];
|
1823 |
$info['mail_success'] = $this->email->send( $email_parts['subject'], $email_body );
|
1824 |
+
|
1825 |
+
$this->logger->add( 'Sending of email complete! Status: ' . $info['mail_success'] );
|
1826 |
}
|
1827 |
|
1828 |
// If not a dry-run test, update the last backup option and enforce retention.
|
1849 |
$this->activity->add( 'any_backup_created', 1, $this->rating_prompt_config );
|
1850 |
}
|
1851 |
|
1852 |
+
$this->logger->add( 'Backup complete!' );
|
1853 |
+
$this->logger->add_memory();
|
1854 |
+
|
1855 |
// Return the array of archive information.
|
1856 |
return $info;
|
1857 |
}
|
admin/class-boldgrid-backup-admin-log-page.php
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* File: class-boldgrid-backup-admin-log-page.php
|
4 |
+
*
|
5 |
+
* @link https://www.boldgrid.com
|
6 |
+
* @since 1.12.5
|
7 |
+
*
|
8 |
+
* @package Boldgrid_Backup
|
9 |
+
* @subpackage Boldgrid_Backup/admin
|
10 |
+
* @copyright BoldGrid
|
11 |
+
* @version $Id$
|
12 |
+
* @author BoldGrid <support@boldgrid.com>
|
13 |
+
*/
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Class: Boldgrid_Backup_Admin_Log_page
|
17 |
+
*
|
18 |
+
* @since 1.12.5
|
19 |
+
*/
|
20 |
+
class Boldgrid_Backup_Admin_Log_Page {
|
21 |
+
/**
|
22 |
+
* Admin enqueue scripts.
|
23 |
+
*
|
24 |
+
* @since 1.12.5
|
25 |
+
*
|
26 |
+
* @param string $hook The current admin page hook.
|
27 |
+
*/
|
28 |
+
public function admin_enqueue_scripts( $hook ) {
|
29 |
+
if ( 'total-upkeep_page_boldgrid-backup-tools' === $hook ) {
|
30 |
+
$handle = 'boldgrid-backup-admin-logs';
|
31 |
+
|
32 |
+
wp_register_script(
|
33 |
+
$handle,
|
34 |
+
plugin_dir_url( __FILE__ ) . 'js/' . $handle . '.js',
|
35 |
+
array( 'jquery' ),
|
36 |
+
BOLDGRID_BACKUP_VERSION,
|
37 |
+
false
|
38 |
+
);
|
39 |
+
|
40 |
+
$translation = array(
|
41 |
+
'loading' => esc_html__( 'Loading log file', 'boldgrid-backup' ),
|
42 |
+
'unknownError' => esc_html__( 'An unknown error occurred. Please close this modal and try again.', 'boldgrid-backup' ),
|
43 |
+
);
|
44 |
+
|
45 |
+
wp_localize_script( $handle, 'BoldGridBackupAdminLogs', $translation );
|
46 |
+
|
47 |
+
wp_enqueue_script( $handle );
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Render the page for a specific log.
|
53 |
+
*
|
54 |
+
* @since 1.12.5
|
55 |
+
*/
|
56 |
+
public function wp_ajax_boldgrid_backup_view_log() {
|
57 |
+
// Validate permissions.
|
58 |
+
if ( ! current_user_can( 'update_plugins' ) ) {
|
59 |
+
$markup = '<div class="notice notice-error"><p>' . esc_html__( 'Permission denied.', 'boldgrid-backup' ) . '</p></div>';
|
60 |
+
wp_send_json_error( $markup );
|
61 |
+
}
|
62 |
+
|
63 |
+
// Validate nonce.
|
64 |
+
if ( ! wp_verify_nonce( $_POST['nonce'], 'boldgrid_backup_view_log' ) ) {
|
65 |
+
$markup = '<div class="notice notice-error"><p>' . esc_html__( 'Invalid nonce. Please refresh the page and try again.', 'boldgrid-backup' ) . '</p></div>';
|
66 |
+
wp_send_json_error( $markup );
|
67 |
+
}
|
68 |
+
|
69 |
+
$core = apply_filters( 'boldgrid_backup_get_core', null );
|
70 |
+
|
71 |
+
// Make sure a filename was passsed.
|
72 |
+
$filename = ! empty( $_POST['filename'] ) ? sanitize_file_name( $_POST['filename'] ) : null; // phpcs:ignore
|
73 |
+
if ( empty( $filename ) ) {
|
74 |
+
$markup = '<div class="notice notice-error"><p>' . esc_html__( 'Error: No log filename provided.', 'boldgrid-backup' ) . '</p></div>';
|
75 |
+
wp_send_json_error( $markup );
|
76 |
+
}
|
77 |
+
|
78 |
+
// Make sure the log file exists.
|
79 |
+
$filepath = $core->backup_dir->get_logs_dir() . DIRECTORY_SEPARATOR . $filename;
|
80 |
+
if ( ! $core->wp_filesystem->exists( $filepath ) ) {
|
81 |
+
$markup = '<div class="notice notice-error"><p>' . esc_html__( 'Error: Log file does not exist.', 'boldgrid-backup' ) . '</p></div>';
|
82 |
+
wp_send_json_error( $markup );
|
83 |
+
}
|
84 |
+
|
85 |
+
// Make sure we don't have an empty file.
|
86 |
+
$contents = $core->wp_filesystem->get_contents( $filepath );
|
87 |
+
if ( empty( $contents ) ) {
|
88 |
+
$markup = '<div class="notice notice-warning"><p>' . esc_html__( 'Log file is empty.', 'boldgrid-backup' ) . '</p></div>';
|
89 |
+
wp_send_json_error( $markup );
|
90 |
+
}
|
91 |
+
|
92 |
+
// Good to go.
|
93 |
+
$markup = '<div style="overflow:auto;white-space:pre;font-family:\'Courier New\';">' . esc_html( $contents ) . '</div>';
|
94 |
+
wp_send_json_success( $markup );
|
95 |
+
}
|
96 |
+
}
|
admin/class-boldgrid-backup-admin-log.php
ADDED
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* File: class-boldgrid-backup-admin-log.php
|
4 |
+
*
|
5 |
+
* @link https://www.boldgrid.com
|
6 |
+
* @since 1.12.5
|
7 |
+
*
|
8 |
+
* @package Boldgrid_Backup
|
9 |
+
* @subpackage Boldgrid_Backup/admin
|
10 |
+
* @copyright BoldGrid
|
11 |
+
* @version $Id$
|
12 |
+
* @author BoldGrid <support@boldgrid.com>
|
13 |
+
*/
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Class: Boldgrid_Backup_Admin_Log
|
17 |
+
*
|
18 |
+
* @since 1.12.5
|
19 |
+
*/
|
20 |
+
class Boldgrid_Backup_Admin_Log {
|
21 |
+
/**
|
22 |
+
* The core class object.
|
23 |
+
*
|
24 |
+
* @since 1.10.0
|
25 |
+
* @access private
|
26 |
+
* @var Boldgrid_Backup_Admin_Core
|
27 |
+
*/
|
28 |
+
private $core;
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Log file filename.
|
32 |
+
*
|
33 |
+
* @since 1.12.5
|
34 |
+
* @var string
|
35 |
+
* @access private
|
36 |
+
*/
|
37 |
+
private $filename;
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Log file filepath.
|
41 |
+
*
|
42 |
+
* @since 1.12.5
|
43 |
+
* @var string
|
44 |
+
* @access private
|
45 |
+
*/
|
46 |
+
private $filepath;
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Constructor.
|
50 |
+
*
|
51 |
+
* @since 1.10.1
|
52 |
+
*
|
53 |
+
* @param Boldgrid_Backup_Admin_Core $core Boldgrid_Backup_Admin_Core object.
|
54 |
+
*/
|
55 |
+
public function __construct( Boldgrid_Backup_Admin_Core $core ) {
|
56 |
+
$this->core = $core;
|
57 |
+
}
|
58 |
+
|
59 |
+
/**
|
60 |
+
* Add a message to the log.
|
61 |
+
*
|
62 |
+
* @since 1.12.5
|
63 |
+
*
|
64 |
+
* @param string $message The message to add to the log.
|
65 |
+
*/
|
66 |
+
public function add( $message ) {
|
67 |
+
// Add a timestamp to the message.
|
68 |
+
$message = date( '[Y-m-d H:i:s e]' ) . ' ' . $message;
|
69 |
+
|
70 |
+
/*
|
71 |
+
* Append the message to the log.
|
72 |
+
*
|
73 |
+
* WP_Filesystem does not have a way to append to a file, so we're rewriting the file each
|
74 |
+
* time. Best route would be to fopen the file and append. This may need to be revisited.
|
75 |
+
*/
|
76 |
+
$file_content = $this->core->wp_filesystem->get_contents( $this->filepath );
|
77 |
+
$file_content .= PHP_EOL . $message;
|
78 |
+
$this->core->wp_filesystem->put_contents( $this->filepath, $file_content );
|
79 |
+
}
|
80 |
+
|
81 |
+
/**
|
82 |
+
* Add info to the log about memory usage.
|
83 |
+
*
|
84 |
+
* @since 1.12.5
|
85 |
+
*/
|
86 |
+
public function add_memory() {
|
87 |
+
$limit = ini_get( 'memory_limit' );
|
88 |
+
$memory = memory_get_usage();
|
89 |
+
$memory_peak = memory_get_peak_usage();
|
90 |
+
|
91 |
+
$message = sprintf(
|
92 |
+
'Memory usage - limit / current / peak memory usage: %1$s / %2$s (%3$s) / %4$s (%5$s)',
|
93 |
+
$limit,
|
94 |
+
$memory,
|
95 |
+
size_format( $memory, 2 ),
|
96 |
+
$memory_peak,
|
97 |
+
size_format( $memory_peak )
|
98 |
+
);
|
99 |
+
|
100 |
+
$this->add( $message );
|
101 |
+
}
|
102 |
+
|
103 |
+
/**
|
104 |
+
* Delete old log files.
|
105 |
+
*
|
106 |
+
* @since 1.12.5
|
107 |
+
*/
|
108 |
+
public function clean_up() {
|
109 |
+
// Get a dirlist of our logs dir.
|
110 |
+
$logs_dir = $this->core->backup_dir->get_logs_dir();
|
111 |
+
$dirlist = $this->core->wp_filesystem->dirlist( $logs_dir );
|
112 |
+
|
113 |
+
foreach ( $dirlist as $item ) {
|
114 |
+
// Skip if this is not a log file.
|
115 |
+
if ( 'log' !== pathinfo( $item['name'], PATHINFO_EXTENSION ) ) {
|
116 |
+
continue;
|
117 |
+
}
|
118 |
+
|
119 |
+
// Skip if this file is not old enough to delete.
|
120 |
+
$is_too_old = time() - $item['lastmodunix'] > $this->core->configs['max_log_age'];
|
121 |
+
if ( ! $is_too_old ) {
|
122 |
+
continue;
|
123 |
+
}
|
124 |
+
|
125 |
+
$filepath = Boldgrid_Backup_Admin_Utility::trailingslashit( $logs_dir ) . $item['name'];
|
126 |
+
|
127 |
+
$this->core->wp_filesystem->delete( $filepath );
|
128 |
+
}
|
129 |
+
}
|
130 |
+
|
131 |
+
/**
|
132 |
+
* Init.
|
133 |
+
*
|
134 |
+
* @since 1.12.5
|
135 |
+
*
|
136 |
+
* @param string $filename The filename of the log to create.
|
137 |
+
* @return bool Whether or not the log file was created successfully.
|
138 |
+
*/
|
139 |
+
public function init( $filename ) {
|
140 |
+
// Purging of old log files is done here, when we're creating a new one.
|
141 |
+
$this->clean_up();
|
142 |
+
|
143 |
+
$this->filename = sanitize_file_name( $filename );
|
144 |
+
|
145 |
+
$this->filepath = $this->core->backup_dir->get_logs_dir() . DIRECTORY_SEPARATOR . $this->filename;
|
146 |
+
|
147 |
+
// Create the file.
|
148 |
+
return $this->core->wp_filesystem->touch( $this->filepath );
|
149 |
+
}
|
150 |
+
}
|
admin/class-boldgrid-backup-admin-tools.php
CHANGED
@@ -39,15 +39,28 @@ class Boldgrid_Backup_Admin_Tools {
|
|
39 |
}
|
40 |
|
41 |
/**
|
42 |
-
* Render the tools page.
|
43 |
*
|
44 |
-
* @since 1.6.0
|
45 |
*/
|
46 |
-
public function
|
|
|
|
|
|
|
|
|
|
|
47 |
wp_enqueue_style( 'bglib-ui-css' );
|
48 |
wp_enqueue_script( 'bglib-ui-js' );
|
49 |
wp_enqueue_script( 'bglib-sticky' );
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-tools.php';
|
52 |
}
|
53 |
}
|
39 |
}
|
40 |
|
41 |
/**
|
|
|
42 |
*
|
|
|
43 |
*/
|
44 |
+
public function admin_enqueue_scripts( $hook ) {
|
45 |
+
if ( 'total-upkeep_page_boldgrid-backup-tools' !== $hook ) {
|
46 |
+
return;
|
47 |
+
}
|
48 |
+
|
49 |
+
// Load classes for the UI class. As of @since 1.12.5, moved from self::page to here.
|
50 |
wp_enqueue_style( 'bglib-ui-css' );
|
51 |
wp_enqueue_script( 'bglib-ui-js' );
|
52 |
wp_enqueue_script( 'bglib-sticky' );
|
53 |
|
54 |
+
// Add thickbox functionality. Initially added to support viewing log files.
|
55 |
+
add_thickbox();
|
56 |
+
}
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Render the tools page.
|
60 |
+
*
|
61 |
+
* @since 1.6.0
|
62 |
+
*/
|
63 |
+
public function page() {
|
64 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-tools.php';
|
65 |
}
|
66 |
}
|
admin/compressor/class-boldgrid-backup-admin-compressor-php-zip.php
CHANGED
@@ -213,6 +213,15 @@ class Boldgrid_Backup_Admin_Compressor_Php_Zip extends Boldgrid_Backup_Admin_Com
|
|
213 |
}
|
214 |
}
|
215 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
/*
|
217 |
* We're done archiving all files.
|
218 |
*
|
213 |
}
|
214 |
}
|
215 |
|
216 |
+
$this->core->logger->add(
|
217 |
+
sprintf(
|
218 |
+
'Total files / size archived: %1$s / %2$s (%3$s)',
|
219 |
+
$number_files_archived,
|
220 |
+
$total_size_archived,
|
221 |
+
size_format( $total_size_archived, 2 )
|
222 |
+
)
|
223 |
+
);
|
224 |
+
|
225 |
/*
|
226 |
* We're done archiving all files.
|
227 |
*
|
admin/js/boldgrid-backup-admin-logs.js
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Backup Logs.
|
3 |
+
*
|
4 |
+
* @summary This file handles the displaying of log files.
|
5 |
+
*
|
6 |
+
* @since 1.12.5
|
7 |
+
*/
|
8 |
+
|
9 |
+
/* global jQuery */
|
10 |
+
|
11 |
+
var BOLDGRID = BOLDGRID || {};
|
12 |
+
|
13 |
+
BOLDGRID.BACKUP = BOLDGRID.BACKUP || {};
|
14 |
+
|
15 |
+
( function( $ ) {
|
16 |
+
'use strict';
|
17 |
+
|
18 |
+
var self;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Logs.
|
22 |
+
*
|
23 |
+
* @since 1.12.5
|
24 |
+
*/
|
25 |
+
BOLDGRID.BACKUP.Logs = {
|
26 |
+
|
27 |
+
/**
|
28 |
+
* i18n.
|
29 |
+
*
|
30 |
+
* @since 1.7.0
|
31 |
+
*
|
32 |
+
* @type object
|
33 |
+
*/
|
34 |
+
i18n: window.BoldGridBackupAdminLogs || {},
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Init.
|
38 |
+
*
|
39 |
+
* @since 1.12.5
|
40 |
+
*/
|
41 |
+
init: function() {
|
42 |
+
self._onReady();
|
43 |
+
},
|
44 |
+
|
45 |
+
/**
|
46 |
+
* Steps to take when a log file is clicked on.
|
47 |
+
*
|
48 |
+
* @since 1.12.5
|
49 |
+
*/
|
50 |
+
onClickLog: function() {
|
51 |
+
var data = {
|
52 |
+
action: 'boldgrid_backup_view_log',
|
53 |
+
filename: $( this ).attr( 'data-filename' ),
|
54 |
+
nonce: $( '#bgbup_log_nonce' ).val()
|
55 |
+
};
|
56 |
+
|
57 |
+
/*
|
58 |
+
* Show a loading message in the thickbox modal.
|
59 |
+
*
|
60 |
+
* Thickbox has a few events, but "on open" is not one of them. The timeout is required
|
61 |
+
* to allow some time for the modal to open before we take action. In testing, a 1ms timeout
|
62 |
+
* worked. To be on the safe side, we're using 10ms.
|
63 |
+
*/
|
64 |
+
setTimeout( function() {
|
65 |
+
$( '#TB_ajaxContent' ).html(
|
66 |
+
'<p id="bgbu_thickbox_loading">' +
|
67 |
+
self.i18n.loading +
|
68 |
+
' <span class="spinner inline"></span></p>'
|
69 |
+
);
|
70 |
+
}, 10 );
|
71 |
+
|
72 |
+
$.post( ajaxurl, data, function( response ) {
|
73 |
+
$( '#TB_ajaxContent' ).html( response.data );
|
74 |
+
} ).error( function() {
|
75 |
+
$( '#TB_ajaxConent' ).html(
|
76 |
+
'<div class="notice notice-error"><p>' + unknownError + '<p></div>'
|
77 |
+
);
|
78 |
+
} );
|
79 |
+
},
|
80 |
+
|
81 |
+
/**
|
82 |
+
* On ready.
|
83 |
+
*
|
84 |
+
* @since 1.7.0
|
85 |
+
*/
|
86 |
+
_onReady: function() {
|
87 |
+
$( function() {
|
88 |
+
$( '#section_logs a[data-filename]' ).on( 'click', self.onClickLog );
|
89 |
+
} );
|
90 |
+
}
|
91 |
+
};
|
92 |
+
|
93 |
+
self = BOLDGRID.BACKUP.Logs;
|
94 |
+
} )( jQuery );
|
95 |
+
|
96 |
+
BOLDGRID.BACKUP.Logs.init();
|
admin/partials/boldgrid-backup-admin-tools.php
CHANGED
@@ -28,6 +28,11 @@ $sections = array(
|
|
28 |
'title' => __( 'Cron Log', 'boldgrid-backup' ),
|
29 |
'content' => $this->core->cron_log->get_markup(),
|
30 |
),
|
|
|
|
|
|
|
|
|
|
|
31 |
),
|
32 |
);
|
33 |
|
28 |
'title' => __( 'Cron Log', 'boldgrid-backup' ),
|
29 |
'content' => $this->core->cron_log->get_markup(),
|
30 |
),
|
31 |
+
array(
|
32 |
+
'id' => 'section_logs',
|
33 |
+
'title' => __( 'Logs', 'boldgrid-backup' ),
|
34 |
+
'content' => include BOLDGRID_BACKUP_PATH . '/admin/partials/tools/view-logs.php',
|
35 |
+
),
|
36 |
),
|
37 |
);
|
38 |
|
admin/partials/tools/view-logs.php
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* File: logs.php
|
4 |
+
*
|
5 |
+
* Show "Auto Updates" on settings page.
|
6 |
+
*
|
7 |
+
* @link https://www.boldgrid.com
|
8 |
+
* @since 1.6.0
|
9 |
+
*
|
10 |
+
* @package Boldgrid_Backup
|
11 |
+
* @subpackage Boldgrid_Backup/admin/partials/tools
|
12 |
+
* @copyright BoldGrid
|
13 |
+
* @author BoldGrid <support@boldgrid.com>
|
14 |
+
*/
|
15 |
+
|
16 |
+
// phpcs:disable WordPress.VIP
|
17 |
+
|
18 |
+
defined( 'WPINC' ) || die;
|
19 |
+
|
20 |
+
// Get a listing of all our logs and order them asc.
|
21 |
+
$logs_dir = $this->core->backup_dir->get_logs_dir();
|
22 |
+
$list = $this->core->wp_filesystem->dirlist( $logs_dir );
|
23 |
+
uasort( $list, function( $a, $b ) {
|
24 |
+
return $a['lastmodunix'] > $b['lastmodunix'];
|
25 |
+
});
|
26 |
+
|
27 |
+
ob_start();
|
28 |
+
|
29 |
+
echo '<h2>' . esc_html__( 'Logs', 'boldgrid-backup' ) . '</h2>';
|
30 |
+
|
31 |
+
if ( empty( $list ) ) {
|
32 |
+
echo '<div><em>' . esc_html__( 'No log files exist.', 'boldgrid-backup' ) . '</em></div>';
|
33 |
+
} else {
|
34 |
+
echo '
|
35 |
+
<table class="wp-list-table widefat fixed striped pages">
|
36 |
+
<thead>
|
37 |
+
<tr>
|
38 |
+
<th>' . esc_html__( 'Filename', 'boldgrid-backup' ) . '</th>
|
39 |
+
<th>' . esc_html__( 'Size', 'boldgrid-backup' ) . '</th>
|
40 |
+
<th>' . esc_html__( 'Timestamp', 'boldgrid-backup' ) . '</th>
|
41 |
+
</tr>
|
42 |
+
</thead>
|
43 |
+
<tbody>';
|
44 |
+
|
45 |
+
foreach ( $list as $item ) {
|
46 |
+
$this->core->time->init( $item['lastmodunix'] );
|
47 |
+
|
48 |
+
echo '
|
49 |
+
<tr>
|
50 |
+
<td>
|
51 |
+
<a
|
52 |
+
title="' . esc_attr( $item['name'] ) . '"
|
53 |
+
class="thickbox"
|
54 |
+
data-filename="' . esc_attr( $item['name'] ) . '"
|
55 |
+
href="#TB_inline&inlineId=bgbkup_show_log">' .
|
56 |
+
esc_html( $item['name'] ) .
|
57 |
+
'</a>
|
58 |
+
</td>
|
59 |
+
<td>' . esc_html( size_format( $item['size'] ) ) . '</td>
|
60 |
+
<td>' .
|
61 |
+
wp_kses(
|
62 |
+
$this->core->time->get_span(),
|
63 |
+
[
|
64 |
+
'span' => [
|
65 |
+
'title' => [],
|
66 |
+
],
|
67 |
+
]
|
68 |
+
) . '</td>
|
69 |
+
</tr>';
|
70 |
+
}
|
71 |
+
|
72 |
+
echo '
|
73 |
+
</tbody>
|
74 |
+
</table>';
|
75 |
+
}
|
76 |
+
|
77 |
+
wp_nonce_field( 'boldgrid_backup_view_log', 'bgbup_log_nonce' );
|
78 |
+
|
79 |
+
echo '<div id="bgbkup_show_log" style="display:none;"></div>';
|
80 |
+
|
81 |
+
$output = ob_get_contents();
|
82 |
+
ob_end_clean();
|
83 |
+
|
84 |
+
return $output;
|
boldgrid-backup.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: Total Upkeep
|
17 |
* Plugin URI: https://www.boldgrid.com/boldgrid-backup/
|
18 |
* Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
|
19 |
-
* Version: 1.12.
|
20 |
* Author: BoldGrid
|
21 |
* Author URI: https://www.boldgrid.com/
|
22 |
* License: GPL-2.0+
|
16 |
* Plugin Name: Total Upkeep
|
17 |
* Plugin URI: https://www.boldgrid.com/boldgrid-backup/
|
18 |
* Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
|
19 |
+
* Version: 1.12.5
|
20 |
* Author: BoldGrid
|
21 |
* Author URI: https://www.boldgrid.com/
|
22 |
* License: GPL-2.0+
|
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-backups.php">
|
6 |
<class name="Backups" namespace="Boldgrid\Backup\Admin\Card">
|
@@ -730,7 +730,7 @@
|
|
730 |
</file>
|
731 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-fail.php">
|
732 |
<class name="Boldgrid_Backup_Admin_Archive_Fail" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
733 |
-
<metrics complexity="
|
734 |
</class>
|
735 |
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
|
736 |
<line num="57" type="stmt" count="17"/>
|
@@ -757,29 +757,32 @@
|
|
757 |
<line num="126" type="stmt" count="0"/>
|
758 |
<line num="128" type="stmt" count="0"/>
|
759 |
<line num="129" type="stmt" count="0"/>
|
760 |
-
<line num="136" type="method" name="shutdown" visibility="public" complexity="
|
761 |
-
<line num="
|
762 |
-
<line num="
|
|
|
763 |
<line num="148" type="stmt" count="0"/>
|
764 |
<line num="149" type="stmt" count="0"/>
|
765 |
-
<line num="
|
766 |
-
<line num="
|
767 |
-
<line num="
|
768 |
-
<line num="
|
769 |
<line num="163" type="stmt" count="0"/>
|
770 |
<line num="164" type="stmt" count="0"/>
|
771 |
-
<line num="165" type="stmt" count="0"/>
|
772 |
-
<line num="166" type="stmt" count="0"/>
|
773 |
<line num="167" type="stmt" count="0"/>
|
774 |
<line num="168" type="stmt" count="0"/>
|
775 |
<line num="169" type="stmt" count="0"/>
|
|
|
776 |
<line num="171" type="stmt" count="0"/>
|
|
|
777 |
<line num="173" type="stmt" count="0"/>
|
778 |
-
<line num="174" type="stmt" count="0"/>
|
779 |
<line num="175" type="stmt" count="0"/>
|
780 |
-
<line num="176" type="stmt" count="0"/>
|
781 |
<line num="177" type="stmt" count="0"/>
|
782 |
-
<
|
|
|
|
|
|
|
|
|
783 |
</file>
|
784 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-log.php">
|
785 |
<class name="Boldgrid_Backup_Admin_Archive_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
@@ -1752,7 +1755,7 @@
|
|
1752 |
</file>
|
1753 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-backup-dir.php">
|
1754 |
<class name="Boldgrid_Backup_Admin_Backup_Dir" namespace="global" fullPackage="Boldgrid.Backup.Admin.Backup">
|
1755 |
-
<metrics complexity="
|
1756 |
</class>
|
1757 |
<line num="64" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
|
1758 |
<line num="65" type="stmt" count="17"/>
|
@@ -1760,189 +1763,212 @@
|
|
1760 |
<line num="75" type="method" name="can_exec_write" visibility="public" complexity="1" crap="1" count="1"/>
|
1761 |
<line num="76" type="stmt" count="1"/>
|
1762 |
<line num="78" type="stmt" count="1"/>
|
1763 |
-
<line num="89" type="method" name="create" visibility="public" complexity="11" crap="11.
|
1764 |
<line num="90" type="stmt" count="2"/>
|
1765 |
<line num="93" type="stmt" count="2"/>
|
1766 |
<line num="96" type="stmt" count="2"/>
|
1767 |
<line num="98" type="stmt" count="2"/>
|
1768 |
<line num="100" type="stmt" count="2"/>
|
1769 |
-
<line num="101" type="stmt" count="2"/>
|
1770 |
<line num="102" type="stmt" count="2"/>
|
1771 |
-
<line num="
|
1772 |
-
<line num="
|
1773 |
<line num="108" type="stmt" count="2"/>
|
1774 |
<line num="109" type="stmt" count="2"/>
|
|
|
1775 |
<line num="111" type="stmt" count="2"/>
|
1776 |
-
<line num="112" type="stmt" count="2"/>
|
1777 |
<line num="113" type="stmt" count="2"/>
|
1778 |
<line num="114" type="stmt" count="2"/>
|
|
|
1779 |
<line num="116" type="stmt" count="2"/>
|
1780 |
-
<line num="117" type="stmt" count="2"/>
|
1781 |
<line num="118" type="stmt" count="2"/>
|
|
|
1782 |
<line num="120" type="stmt" count="2"/>
|
1783 |
<line num="121" type="stmt" count="2"/>
|
1784 |
-
<line num="122" type="stmt" count="2"/>
|
1785 |
<line num="123" type="stmt" count="2"/>
|
1786 |
-
<line num="
|
1787 |
-
<line num="
|
1788 |
-
<line num="
|
1789 |
-
<line num="
|
1790 |
-
<line num="
|
1791 |
-
<line num="
|
1792 |
-
<line num="140" type="stmt" count="
|
1793 |
-
<line num="
|
1794 |
-
<line num="
|
1795 |
-
<line num="
|
1796 |
-
<line num="145" type="stmt" count="
|
1797 |
-
<line num="146" type="stmt" count="
|
1798 |
-
<line num="147" type="stmt" count="
|
1799 |
-
<line num="148" type="stmt" count="
|
1800 |
-
<line num="149" type="stmt" count="
|
1801 |
-
<line num="150" type="stmt" count="
|
1802 |
-
<line num="
|
1803 |
-
<line num="
|
1804 |
-
<line num="
|
|
|
1805 |
<line num="156" type="stmt" count="1"/>
|
1806 |
<line num="157" type="stmt" count="1"/>
|
1807 |
<line num="158" type="stmt" count="0"/>
|
1808 |
<line num="159" type="stmt" count="0"/>
|
1809 |
-
<line num="161" type="stmt" count="1"/>
|
1810 |
<line num="162" type="stmt" count="1"/>
|
1811 |
-
<line num="163" type="stmt" count="
|
1812 |
-
<line num="164" type="stmt" count="
|
1813 |
-
<line num="165" type="stmt" count="
|
1814 |
-
<line num="
|
1815 |
-
<line num="
|
1816 |
-
<line num="
|
1817 |
-
<line num="
|
1818 |
-
<line num="
|
1819 |
-
<line num="
|
1820 |
-
<line num="
|
1821 |
-
<line num="
|
1822 |
-
<line num="
|
1823 |
-
<line num="
|
1824 |
-
<line num="
|
1825 |
-
<line num="
|
1826 |
-
<line num="
|
1827 |
-
<line num="
|
|
|
1828 |
<line num="205" type="stmt" count="0"/>
|
1829 |
<line num="206" type="stmt" count="0"/>
|
1830 |
-
<line num="
|
1831 |
-
<line num="
|
1832 |
-
<line num="
|
1833 |
-
<line num="
|
1834 |
-
<line num="
|
1835 |
-
<line num="
|
1836 |
-
<line num="
|
1837 |
-
<line num="
|
1838 |
-
<line num="
|
|
|
1839 |
<line num="234" type="stmt" count="2"/>
|
1840 |
-
<line num="
|
1841 |
-
<line num="
|
1842 |
-
<line num="
|
1843 |
-
<line num="
|
1844 |
-
<line num="
|
1845 |
-
<line num="253" type="stmt" count="
|
1846 |
-
<line num="
|
1847 |
-
<line num="
|
1848 |
-
<line num="
|
1849 |
-
<line num="
|
1850 |
-
<line num="
|
1851 |
-
<line num="
|
1852 |
-
<line num="
|
1853 |
-
<line num="
|
1854 |
-
<line num="
|
1855 |
-
<line num="
|
1856 |
-
<line num="
|
1857 |
-
<line num="
|
1858 |
-
<line num="
|
1859 |
-
<line num="
|
1860 |
-
<line num="
|
1861 |
-
<line num="
|
1862 |
-
<line num="
|
1863 |
-
<line num="
|
1864 |
-
<line num="
|
1865 |
-
<line num="
|
1866 |
-
<line num="
|
|
|
|
|
|
|
1867 |
<line num="329" type="stmt" count="0"/>
|
1868 |
-
<line num="
|
1869 |
-
<line num="
|
1870 |
-
<line num="
|
1871 |
-
<line num="
|
1872 |
-
<line num="344" type="stmt" count="0"/>
|
1873 |
-
<line num="348" type="stmt" count="2"/>
|
1874 |
<line num="349" type="stmt" count="2"/>
|
1875 |
-
<line num="350" type="stmt" count="
|
1876 |
-
<line num="
|
1877 |
-
<line num="
|
1878 |
-
<line num="
|
1879 |
-
<line num="
|
1880 |
-
<line num="
|
1881 |
-
<line num="
|
1882 |
-
<line num="
|
1883 |
-
<line num="
|
1884 |
-
<line num="
|
1885 |
-
<line num="
|
1886 |
-
<line num="
|
1887 |
-
<line num="
|
1888 |
-
<line num="
|
1889 |
-
<line num="
|
1890 |
-
<line num="
|
1891 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
1892 |
<line num="417" type="stmt" count="2"/>
|
1893 |
-
<line num="
|
1894 |
-
<line num="420" type="stmt" count="
|
1895 |
-
<line num="
|
1896 |
-
<line num="424" type="stmt" count="
|
1897 |
-
<line num="
|
1898 |
-
<line num="
|
1899 |
-
<line num="
|
1900 |
-
<line num="
|
1901 |
-
<line num="
|
1902 |
-
<line num="
|
1903 |
-
<line num="
|
1904 |
-
<line num="
|
1905 |
-
<line num="
|
1906 |
-
<line num="439" type="stmt" count="0"/>
|
1907 |
-
<line num="441" type="stmt" count="0"/>
|
1908 |
-
<line num="443" type="stmt" count="0"/>
|
1909 |
-
<line num="444" type="stmt" count="0"/>
|
1910 |
-
<line num="446" type="stmt" count="2"/>
|
1911 |
-
<line num="447" type="stmt" count="0"/>
|
1912 |
-
<line num="449" type="stmt" count="0"/>
|
1913 |
-
<line num="450" type="stmt" count="0"/>
|
1914 |
-
<line num="452" type="stmt" count="0"/>
|
1915 |
-
<line num="454" type="stmt" count="0"/>
|
1916 |
-
<line num="455" type="stmt" count="0"/>
|
1917 |
-
<line num="457" type="stmt" count="2"/>
|
1918 |
-
<line num="458" type="stmt" count="0"/>
|
1919 |
-
<line num="460" type="stmt" count="0"/>
|
1920 |
-
<line num="461" type="stmt" count="0"/>
|
1921 |
-
<line num="463" type="stmt" count="0"/>
|
1922 |
-
<line num="465" type="stmt" count="0"/>
|
1923 |
-
<line num="466" type="stmt" count="0"/>
|
1924 |
-
<line num="475" type="stmt" count="2"/>
|
1925 |
<line num="476" type="stmt" count="2"/>
|
1926 |
-
<line num="477" type="stmt" count="
|
1927 |
-
<line num="
|
1928 |
-
<line num="
|
1929 |
-
<line num="481" type="stmt" count="0"/>
|
1930 |
<line num="483" type="stmt" count="0"/>
|
1931 |
-
<line num="
|
1932 |
-
<line num="486" type="stmt" count="0"/>
|
1933 |
<line num="487" type="stmt" count="0"/>
|
1934 |
-
<line num="
|
1935 |
-
<line num="
|
1936 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1937 |
<line num="504" type="stmt" count="0"/>
|
1938 |
-
<line num="
|
1939 |
-
<line num="
|
1940 |
-
<line num="509" type="stmt" count="
|
1941 |
-
<line num="
|
1942 |
-
<line num="
|
1943 |
-
<line num="
|
1944 |
-
<line num="
|
1945 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1946 |
</file>
|
1947 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php">
|
1948 |
<class name="Boldgrid_Backup_Admin_Cli" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -2257,32 +2283,24 @@
|
|
2257 |
</file>
|
2258 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
|
2259 |
<class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2260 |
-
<metrics complexity="
|
2261 |
</class>
|
2262 |
-
<line num="
|
2263 |
-
<line num="
|
2264 |
-
<line num="
|
2265 |
-
<line num="535" type="stmt" count="17"/>
|
2266 |
-
<line num="537" type="stmt" count="17"/>
|
2267 |
-
<line num="539" type="stmt" count="17"/>
|
2268 |
-
<line num="540" type="stmt" count="17"/>
|
2269 |
-
<line num="541" type="stmt" count="17"/>
|
2270 |
-
<line num="543" type="stmt" count="17"/>
|
2271 |
-
<line num="545" type="stmt" count="17"/>
|
2272 |
-
<line num="548" type="stmt" count="17"/>
|
2273 |
<line num="551" type="stmt" count="17"/>
|
2274 |
-
<line num="
|
|
|
|
|
2275 |
<line num="557" type="stmt" count="17"/>
|
2276 |
-
<line num="
|
2277 |
-
<line num="
|
|
|
2278 |
<line num="567" type="stmt" count="17"/>
|
2279 |
-
<line num="
|
2280 |
-
<line num="571" type="stmt" count="17"/>
|
2281 |
<line num="573" type="stmt" count="17"/>
|
2282 |
-
<line num="
|
2283 |
-
<line num="577" type="stmt" count="17"/>
|
2284 |
<line num="579" type="stmt" count="17"/>
|
2285 |
-
<line num="581" type="stmt" count="17"/>
|
2286 |
<line num="583" type="stmt" count="17"/>
|
2287 |
<line num="585" type="stmt" count="17"/>
|
2288 |
<line num="587" type="stmt" count="17"/>
|
@@ -2316,411 +2334,402 @@
|
|
2316 |
<line num="643" type="stmt" count="17"/>
|
2317 |
<line num="645" type="stmt" count="17"/>
|
2318 |
<line num="647" type="stmt" count="17"/>
|
2319 |
-
<line num="
|
2320 |
-
<line num="
|
2321 |
-
<line num="
|
|
|
2322 |
<line num="657" type="stmt" count="17"/>
|
2323 |
-
<line num="
|
2324 |
-
<line num="
|
2325 |
-
<line num="662" type="stmt" count="17"/>
|
2326 |
<line num="663" type="stmt" count="17"/>
|
2327 |
-
<line num="664" type="stmt" count="0"/>
|
2328 |
-
<line num="665" type="stmt" count="0"/>
|
2329 |
<line num="666" type="stmt" count="17"/>
|
2330 |
-
<line num="
|
2331 |
-
<line num="
|
2332 |
-
<line num="
|
2333 |
-
<line num="
|
2334 |
-
<line num="
|
2335 |
-
<line num="
|
2336 |
-
<line num="
|
2337 |
-
<line num="
|
2338 |
-
<line num="
|
2339 |
-
<line num="
|
2340 |
-
<line num="
|
2341 |
-
<line num="
|
2342 |
-
<line num="
|
2343 |
-
<line num="
|
2344 |
-
<line num="
|
2345 |
-
<line num="
|
2346 |
-
<line num="
|
2347 |
-
<line num="
|
2348 |
-
<line num="
|
2349 |
-
<line num="
|
2350 |
-
<line num="
|
|
|
2351 |
<line num="715" type="stmt" count="1"/>
|
2352 |
<line num="717" type="stmt" count="1"/>
|
2353 |
-
<line num="
|
2354 |
-
<line num="
|
2355 |
-
<line num="
|
2356 |
-
<line num="
|
2357 |
-
<line num="
|
2358 |
-
<line num="
|
2359 |
-
<line num="
|
2360 |
-
<line num="
|
2361 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
2362 |
<line num="761" type="stmt" count="0"/>
|
2363 |
-
<line num="
|
2364 |
-
<line num="764" type="stmt" count="0"/>
|
2365 |
-
<line num="765" type="stmt" count="0"/>
|
2366 |
-
<line num="767" type="stmt" count="0"/>
|
2367 |
-
<line num="768" type="stmt" count="0"/>
|
2368 |
<line num="769" type="stmt" count="0"/>
|
2369 |
<line num="770" type="stmt" count="0"/>
|
2370 |
-
<line num="
|
2371 |
-
<line num="772" type="stmt" count="0"/>
|
2372 |
-
<line num="773" type="stmt" count="0"/>
|
2373 |
-
<line num="774" type="stmt" count="0"/>
|
2374 |
-
<line num="775" type="stmt" count="0"/>
|
2375 |
-
<line num="777" type="stmt" count="0"/>
|
2376 |
<line num="779" type="stmt" count="0"/>
|
2377 |
-
<line num="
|
2378 |
<line num="782" type="stmt" count="0"/>
|
2379 |
<line num="784" type="stmt" count="0"/>
|
2380 |
<line num="785" type="stmt" count="0"/>
|
2381 |
-
<line num="786" type="stmt" count="0"/>
|
2382 |
<line num="787" type="stmt" count="0"/>
|
2383 |
<line num="788" type="stmt" count="0"/>
|
|
|
2384 |
<line num="790" type="stmt" count="0"/>
|
2385 |
<line num="791" type="stmt" count="0"/>
|
2386 |
<line num="792" type="stmt" count="0"/>
|
|
|
2387 |
<line num="794" type="stmt" count="0"/>
|
|
|
2388 |
<line num="797" type="stmt" count="0"/>
|
2389 |
-
<line num="798" type="stmt" count="0"/>
|
2390 |
<line num="799" type="stmt" count="0"/>
|
2391 |
-
<line num="
|
2392 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2393 |
<line num="817" type="stmt" count="0"/>
|
2394 |
-
<line num="
|
2395 |
-
<line num="
|
2396 |
-
<line num="
|
2397 |
-
<line num="
|
2398 |
-
<line num="
|
2399 |
-
<line num="
|
2400 |
-
<line num="
|
2401 |
-
<line num="
|
2402 |
-
<line num="
|
2403 |
-
<line num="
|
2404 |
-
<line num="
|
2405 |
-
<line num="
|
2406 |
-
<line num="
|
2407 |
-
<line num="
|
2408 |
-
<line num="850" type="stmt" count="0"/>
|
2409 |
-
<line num="851" type="stmt" count="0"/>
|
2410 |
-
<line num="852" type="stmt" count="0"/>
|
2411 |
-
<line num="853" type="stmt" count="0"/>
|
2412 |
-
<line num="854" type="stmt" count="0"/>
|
2413 |
-
<line num="857" type="stmt" count="0"/>
|
2414 |
-
<line num="860" type="stmt" count="0"/>
|
2415 |
<line num="863" type="stmt" count="0"/>
|
2416 |
-
<line num="864" type="stmt" count="0"/>
|
2417 |
-
<line num="865" type="stmt" count="0"/>
|
2418 |
<line num="866" type="stmt" count="0"/>
|
2419 |
<line num="867" type="stmt" count="0"/>
|
|
|
2420 |
<line num="869" type="stmt" count="0"/>
|
2421 |
<line num="870" type="stmt" count="0"/>
|
2422 |
<line num="871" type="stmt" count="0"/>
|
|
|
2423 |
<line num="873" type="stmt" count="0"/>
|
2424 |
-
<line num="
|
2425 |
<line num="877" type="stmt" count="0"/>
|
2426 |
-
<line num="878" type="stmt" count="0"/>
|
2427 |
-
<line num="879" type="stmt" count="0"/>
|
2428 |
<line num="880" type="stmt" count="0"/>
|
2429 |
-
<line num="881" type="stmt" count="0"/>
|
2430 |
<line num="883" type="stmt" count="0"/>
|
2431 |
<line num="884" type="stmt" count="0"/>
|
|
|
2432 |
<line num="886" type="stmt" count="0"/>
|
|
|
2433 |
<line num="889" type="stmt" count="0"/>
|
2434 |
<line num="890" type="stmt" count="0"/>
|
2435 |
<line num="891" type="stmt" count="0"/>
|
2436 |
-
<line num="892" type="stmt" count="0"/>
|
2437 |
<line num="893" type="stmt" count="0"/>
|
2438 |
-
<line num="894" type="stmt" count="0"/>
|
2439 |
<line num="896" type="stmt" count="0"/>
|
2440 |
<line num="897" type="stmt" count="0"/>
|
|
|
2441 |
<line num="899" type="stmt" count="0"/>
|
2442 |
-
<line num="
|
|
|
2443 |
<line num="903" type="stmt" count="0"/>
|
2444 |
<line num="904" type="stmt" count="0"/>
|
2445 |
-
<line num="905" type="stmt" count="0"/>
|
2446 |
<line num="906" type="stmt" count="0"/>
|
2447 |
-
<line num="907" type="stmt" count="0"/>
|
2448 |
<line num="909" type="stmt" count="0"/>
|
2449 |
<line num="910" type="stmt" count="0"/>
|
|
|
2450 |
<line num="912" type="stmt" count="0"/>
|
2451 |
-
<line num="
|
|
|
2452 |
<line num="916" type="stmt" count="0"/>
|
2453 |
<line num="917" type="stmt" count="0"/>
|
2454 |
-
<line num="918" type="stmt" count="0"/>
|
2455 |
<line num="919" type="stmt" count="0"/>
|
2456 |
-
<line num="920" type="stmt" count="0"/>
|
2457 |
<line num="922" type="stmt" count="0"/>
|
2458 |
<line num="923" type="stmt" count="0"/>
|
|
|
2459 |
<line num="925" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
2460 |
<line num="932" type="stmt" count="0"/>
|
2461 |
-
<line num="933" type="stmt" count="0"/>
|
2462 |
-
<line num="934" type="stmt" count="0"/>
|
2463 |
<line num="935" type="stmt" count="0"/>
|
2464 |
<line num="936" type="stmt" count="0"/>
|
2465 |
<line num="937" type="stmt" count="0"/>
|
|
|
2466 |
<line num="939" type="stmt" count="0"/>
|
2467 |
<line num="940" type="stmt" count="0"/>
|
2468 |
<line num="942" type="stmt" count="0"/>
|
|
|
2469 |
<line num="945" type="stmt" count="0"/>
|
2470 |
-
<line num="946" type="stmt" count="0"/>
|
2471 |
-
<line num="947" type="stmt" count="0"/>
|
2472 |
-
<line num="948" type="stmt" count="0"/>
|
2473 |
-
<line num="949" type="stmt" count="0"/>
|
2474 |
-
<line num="950" type="stmt" count="0"/>
|
2475 |
<line num="952" type="stmt" count="0"/>
|
2476 |
<line num="953" type="stmt" count="0"/>
|
|
|
2477 |
<line num="955" type="stmt" count="0"/>
|
2478 |
-
<line num="
|
|
|
2479 |
<line num="959" type="stmt" count="0"/>
|
2480 |
<line num="960" type="stmt" count="0"/>
|
2481 |
-
<line num="961" type="stmt" count="0"/>
|
2482 |
<line num="962" type="stmt" count="0"/>
|
2483 |
-
<line num="963" type="stmt" count="0"/>
|
2484 |
<line num="965" type="stmt" count="0"/>
|
2485 |
<line num="966" type="stmt" count="0"/>
|
|
|
2486 |
<line num="968" type="stmt" count="0"/>
|
2487 |
-
<line num="
|
|
|
2488 |
<line num="972" type="stmt" count="0"/>
|
2489 |
<line num="973" type="stmt" count="0"/>
|
2490 |
-
<line num="974" type="stmt" count="0"/>
|
2491 |
<line num="975" type="stmt" count="0"/>
|
2492 |
-
<line num="976" type="stmt" count="0"/>
|
2493 |
<line num="978" type="stmt" count="0"/>
|
2494 |
<line num="979" type="stmt" count="0"/>
|
|
|
2495 |
<line num="981" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
2496 |
<line num="988" type="stmt" count="0"/>
|
2497 |
-
<line num="989" type="stmt" count="0"/>
|
2498 |
<line num="991" type="stmt" count="0"/>
|
2499 |
<line num="992" type="stmt" count="0"/>
|
2500 |
<line num="993" type="stmt" count="0"/>
|
2501 |
<line num="994" type="stmt" count="0"/>
|
2502 |
<line num="995" type="stmt" count="0"/>
|
2503 |
-
<line num="
|
2504 |
-
<line num="
|
2505 |
-
<line num="
|
2506 |
-
<line num="
|
2507 |
<line num="1008" type="stmt" count="0"/>
|
2508 |
<line num="1009" type="stmt" count="0"/>
|
2509 |
-
<line num="1010" type="stmt" count="0"/>
|
2510 |
<line num="1011" type="stmt" count="0"/>
|
2511 |
<line num="1012" type="stmt" count="0"/>
|
2512 |
<line num="1013" type="stmt" count="0"/>
|
2513 |
-
<line num="
|
2514 |
-
<line num="
|
2515 |
-
<line num="
|
2516 |
<line num="1025" type="stmt" count="0"/>
|
2517 |
<line num="1026" type="stmt" count="0"/>
|
|
|
2518 |
<line num="1028" type="stmt" count="0"/>
|
|
|
2519 |
<line num="1030" type="stmt" count="0"/>
|
2520 |
<line num="1031" type="stmt" count="0"/>
|
2521 |
<line num="1032" type="stmt" count="0"/>
|
2522 |
<line num="1033" type="stmt" count="0"/>
|
2523 |
-
<line num="
|
2524 |
-
<line num="
|
2525 |
-
<line num="
|
2526 |
-
<line num="
|
2527 |
-
<line num="
|
2528 |
-
<line num="
|
2529 |
-
<line num="
|
2530 |
-
<line num="
|
2531 |
-
<line num="
|
2532 |
-
<line num="
|
2533 |
-
<line num="
|
2534 |
-
<line num="
|
2535 |
-
<line num="
|
2536 |
-
<line num="
|
2537 |
-
<line num="
|
2538 |
-
<line num="
|
|
|
|
|
2539 |
<line num="1085" type="stmt" count="3"/>
|
2540 |
-
<line num="
|
2541 |
-
<line num="1090" type="stmt" count="3"/>
|
2542 |
<line num="1091" type="stmt" count="3"/>
|
2543 |
-
<line num="
|
2544 |
-
<line num="
|
2545 |
-
<line num="1097" type="stmt" count="
|
2546 |
-
<line num="
|
2547 |
-
<line num="
|
2548 |
-
<line num="
|
2549 |
-
<line num="1104" type="stmt" count="0"/>
|
2550 |
-
<line num="1106" type="stmt" count="3"/>
|
2551 |
<line num="1107" type="stmt" count="3"/>
|
2552 |
-
<line num="
|
2553 |
-
<line num="1111" type="stmt" count="
|
2554 |
-
<line num="
|
2555 |
-
<line num="
|
2556 |
-
<line num="
|
2557 |
-
<line num="
|
2558 |
-
<line num="
|
2559 |
-
<line num="
|
2560 |
-
<line num="
|
2561 |
-
<line num="
|
2562 |
-
<line num="
|
2563 |
-
<line num="
|
2564 |
-
<line num="
|
2565 |
-
<line num="
|
2566 |
-
<line num="
|
2567 |
-
<line num="
|
|
|
|
|
2568 |
<line num="1163" type="stmt" count="1"/>
|
2569 |
-
<line num="
|
2570 |
-
<line num="
|
2571 |
-
<line num="
|
2572 |
-
<line num="
|
2573 |
-
<line num="
|
2574 |
-
<line num="
|
2575 |
-
<line num="
|
2576 |
-
<line num="
|
2577 |
-
<line num="
|
2578 |
-
<line num="
|
2579 |
-
<line num="
|
2580 |
-
<line num="
|
2581 |
-
<line num="
|
2582 |
-
<line num="
|
2583 |
-
<line num="
|
2584 |
-
<line num="
|
2585 |
-
<line num="
|
2586 |
<line num="1205" type="stmt" count="1"/>
|
2587 |
-
<line num="
|
2588 |
-
<line num="
|
2589 |
-
<line num="
|
2590 |
-
<line num="1213" type="stmt" count="
|
2591 |
<line num="1215" type="stmt" count="0"/>
|
2592 |
-
<line num="1216" type="stmt" count="0"/>
|
2593 |
-
<line num="1217" type="stmt" count="0"/>
|
2594 |
<line num="1218" type="stmt" count="0"/>
|
2595 |
-
<line num="
|
2596 |
-
<line num="1222" type="stmt" count="
|
2597 |
-
<line num="
|
2598 |
-
<line num="
|
2599 |
-
<line num="
|
2600 |
-
<line num="
|
2601 |
-
<line num="1232" type="stmt" count="0"/>
|
2602 |
<line num="1233" type="stmt" count="0"/>
|
2603 |
-
<line num="
|
2604 |
-
<line num="
|
2605 |
-
<line num="
|
2606 |
-
<line num="
|
2607 |
-
<line num="
|
2608 |
-
<line num="
|
2609 |
-
<line num="
|
2610 |
-
<line num="
|
2611 |
-
<line num="
|
2612 |
-
<line num="
|
2613 |
-
<line num="
|
2614 |
-
<line num="
|
2615 |
-
<line num="
|
2616 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
2617 |
<line num="1286" type="stmt" count="3"/>
|
2618 |
<line num="1287" type="stmt" count="3"/>
|
2619 |
<line num="1288" type="stmt" count="3"/>
|
2620 |
-
<line num="1289" type="stmt" count="3"/>
|
2621 |
<line num="1291" type="stmt" count="3"/>
|
2622 |
-
<line num="
|
2623 |
-
<line num="
|
2624 |
-
<line num="
|
2625 |
-
<line num="
|
2626 |
-
<line num="
|
2627 |
-
<line num="1303" type="stmt" count="3"/>
|
2628 |
-
<line num="1304" type="stmt" count="3"/>
|
2629 |
-
<line num="1307" type="stmt" count="0"/>
|
2630 |
<line num="1309" type="stmt" count="3"/>
|
2631 |
-
<line num="
|
2632 |
-
<line num="
|
2633 |
-
<line num="
|
2634 |
-
<line num="1317" type="stmt" count="
|
2635 |
<line num="1319" type="stmt" count="3"/>
|
|
|
2636 |
<line num="1323" type="stmt" count="3"/>
|
2637 |
-
<line num="
|
|
|
2638 |
<line num="1329" type="stmt" count="3"/>
|
2639 |
-
<line num="1330" type="stmt" count="3"/>
|
2640 |
-
<line num="1331" type="stmt" count="3"/>
|
2641 |
<line num="1332" type="stmt" count="3"/>
|
2642 |
<line num="1334" type="stmt" count="3"/>
|
|
|
2643 |
<line num="1337" type="stmt" count="3"/>
|
2644 |
-
<line num="
|
2645 |
-
<line num="
|
2646 |
-
<line num="
|
2647 |
-
<line num="
|
2648 |
-
<line num="
|
2649 |
-
<line num="
|
2650 |
-
<line num="
|
2651 |
-
<line num="
|
2652 |
-
<line num="
|
|
|
2653 |
<line num="1376" type="stmt" count="3"/>
|
2654 |
-
<line num="
|
2655 |
-
<line num="
|
2656 |
-
<line num="
|
2657 |
-
<line num="
|
2658 |
-
<line num="
|
2659 |
-
<line num="
|
2660 |
-
<line num="
|
2661 |
-
<line num="1393" type="stmt" count="3"/>
|
2662 |
<line num="1396" type="stmt" count="3"/>
|
2663 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
2664 |
<line num="1410" type="stmt" count="3"/>
|
2665 |
<line num="1413" type="stmt" count="3"/>
|
2666 |
<line num="1416" type="stmt" count="3"/>
|
2667 |
-
<line num="
|
2668 |
-
<line num="1421" type="stmt" count="3"/>
|
2669 |
-
<line num="1424" type="stmt" count="3"/>
|
2670 |
-
<line num="1426" type="stmt" count="3"/>
|
2671 |
-
<line num="1427" type="stmt" count="3"/>
|
2672 |
-
<line num="1428" type="stmt" count="3"/>
|
2673 |
-
<line num="1429" type="stmt" count="3"/>
|
2674 |
<line num="1430" type="stmt" count="3"/>
|
2675 |
-
<line num="
|
2676 |
-
<line num="
|
2677 |
-
<line num="
|
2678 |
-
<line num="
|
2679 |
-
<line num="
|
2680 |
-
<line num="
|
2681 |
-
<line num="
|
2682 |
-
<line num="
|
2683 |
-
<line num="
|
2684 |
-
<line num="
|
2685 |
-
<line num="
|
2686 |
-
<line num="
|
2687 |
-
<line num="
|
2688 |
-
<line num="
|
2689 |
-
<line num="
|
2690 |
-
<line num="
|
|
|
|
|
|
|
2691 |
<line num="1481" type="stmt" count="3"/>
|
2692 |
<line num="1482" type="stmt" count="3"/>
|
|
|
|
|
|
|
2693 |
<line num="1493" type="stmt" count="3"/>
|
2694 |
-
<line num="1494" type="stmt" count="
|
2695 |
-
<line num="
|
2696 |
-
<line num="
|
2697 |
-
<line num="
|
2698 |
-
<line num="
|
2699 |
-
<line num="
|
2700 |
-
<line num="
|
2701 |
-
<line num="
|
2702 |
-
<line num="
|
2703 |
-
<line num="1520" type="stmt" count="3"/>
|
2704 |
-
<line num="1521" type="stmt" count="3"/>
|
2705 |
-
<line num="1522" type="stmt" count="3"/>
|
2706 |
<line num="1523" type="stmt" count="3"/>
|
2707 |
-
<line num="
|
2708 |
-
<line num="
|
2709 |
-
<line num="
|
2710 |
-
<line num="
|
2711 |
-
<line num="1528" type="stmt" count="3"/>
|
2712 |
-
<line num="1529" type="stmt" count="3"/>
|
2713 |
-
<line num="1530" type="stmt" count="3"/>
|
2714 |
-
<line num="1532" type="stmt" count="3"/>
|
2715 |
-
<line num="1533" type="stmt" count="3"/>
|
2716 |
<line num="1534" type="stmt" count="3"/>
|
2717 |
-
<line num="1535" type="stmt" count="3"/>
|
2718 |
-
<line num="1537" type="stmt" count="3"/>
|
2719 |
-
<line num="1538" type="stmt" count="3"/>
|
2720 |
-
<line num="1539" type="stmt" count="3"/>
|
2721 |
-
<line num="1540" type="stmt" count="3"/>
|
2722 |
-
<line num="1541" type="stmt" count="3"/>
|
2723 |
-
<line num="1542" type="stmt" count="3"/>
|
2724 |
<line num="1543" type="stmt" count="3"/>
|
2725 |
<line num="1544" type="stmt" count="3"/>
|
2726 |
<line num="1545" type="stmt" count="3"/>
|
@@ -2728,552 +2737,607 @@
|
|
2728 |
<line num="1547" type="stmt" count="3"/>
|
2729 |
<line num="1548" type="stmt" count="3"/>
|
2730 |
<line num="1549" type="stmt" count="3"/>
|
|
|
|
|
2731 |
<line num="1552" type="stmt" count="3"/>
|
2732 |
-
<line num="1553" type="stmt" count="
|
2733 |
-
<line num="
|
2734 |
-
<line num="
|
2735 |
-
<line num="1556" type="stmt" count="0"/>
|
2736 |
<line num="1557" type="stmt" count="3"/>
|
2737 |
-
<line num="1558" type="stmt" count="
|
2738 |
-
<line num="
|
2739 |
-
<line num="
|
2740 |
-
<line num="1561" type="stmt" count="0"/>
|
2741 |
<line num="1562" type="stmt" count="3"/>
|
|
|
|
|
2742 |
<line num="1565" type="stmt" count="3"/>
|
|
|
|
|
2743 |
<line num="1568" type="stmt" count="3"/>
|
2744 |
-
<line num="1569" type="stmt" count="
|
2745 |
-
<line num="
|
2746 |
-
<line num="
|
2747 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2748 |
<line num="1582" type="stmt" count="3"/>
|
2749 |
-
<line num="1583" type="stmt" count="
|
|
|
2750 |
<line num="1585" type="stmt" count="3"/>
|
2751 |
-
<line num="
|
2752 |
-
<line num="1588" type="stmt" count="0"/>
|
2753 |
-
<line num="1589" type="stmt" count="0"/>
|
2754 |
<line num="1591" type="stmt" count="3"/>
|
2755 |
-
<line num="
|
2756 |
-
<line num="
|
2757 |
-
<line num="
|
2758 |
-
<line num="
|
2759 |
-
<line num="
|
2760 |
-
<line num="1606" type="stmt" count="
|
2761 |
-
<line num="1607" type="stmt" count="
|
2762 |
-
<line num="1609" type="stmt" count="
|
2763 |
-
<line num="
|
2764 |
-
<line num="
|
|
|
|
|
2765 |
<line num="1617" type="stmt" count="0"/>
|
2766 |
-
<line num="
|
|
|
2767 |
<line num="1623" type="stmt" count="3"/>
|
2768 |
-
<line num="1624" type="stmt" count="3"/>
|
2769 |
-
<line num="1625" type="stmt" count="3"/>
|
2770 |
<line num="1626" type="stmt" count="3"/>
|
2771 |
-
<line num="1628" type="stmt" count="3"/>
|
2772 |
<line num="1629" type="stmt" count="3"/>
|
2773 |
-
<line num="
|
2774 |
-
<line num="
|
|
|
|
|
|
|
|
|
2775 |
<line num="1645" type="stmt" count="3"/>
|
|
|
|
|
2776 |
<line num="1651" type="stmt" count="3"/>
|
2777 |
-
<line num="1652" type="stmt" count="3"/>
|
2778 |
-
<line num="1653" type="stmt" count="3"/>
|
2779 |
<line num="1654" type="stmt" count="3"/>
|
2780 |
<line num="1655" type="stmt" count="3"/>
|
2781 |
-
<line num="1656" type="stmt" count="
|
2782 |
-
<line num="1657" type="stmt" count="
|
2783 |
-
<line num="
|
2784 |
-
<line num="
|
2785 |
-
<line num="
|
2786 |
-
<line num="
|
2787 |
-
<line num="
|
2788 |
-
<line num="
|
2789 |
-
<line num="1666" type="stmt" count="
|
2790 |
-
<line num="1667" type="stmt" count="
|
2791 |
-
<line num="1668" type="stmt" count="
|
2792 |
-
<line num="
|
2793 |
-
<line num="1671" type="stmt" count="
|
2794 |
-
<line num="1672" type="stmt" count="0"/>
|
2795 |
-
<line num="1674" type="stmt" count="0"/>
|
2796 |
-
<line num="1675" type="stmt" count="0"/>
|
2797 |
-
<line num="1676" type="stmt" count="0"/>
|
2798 |
-
<line num="1678" type="stmt" count="0"/>
|
2799 |
-
<line num="1679" type="stmt" count="0"/>
|
2800 |
-
<line num="1680" type="stmt" count="0"/>
|
2801 |
-
<line num="1681" type="stmt" count="0"/>
|
2802 |
-
<line num="1682" type="stmt" count="0"/>
|
2803 |
<line num="1683" type="stmt" count="3"/>
|
2804 |
<line num="1685" type="stmt" count="3"/>
|
2805 |
-
<line num="
|
2806 |
<line num="1688" type="stmt" count="3"/>
|
2807 |
-
<line num="1690" type="stmt" count="3"/>
|
2808 |
-
<line num="1691" type="stmt" count="0"/>
|
2809 |
-
<line num="1692" type="stmt" count="0"/>
|
2810 |
<line num="1694" type="stmt" count="3"/>
|
2811 |
-
<line num="1695" type="stmt" count="
|
|
|
|
|
2812 |
<line num="1698" type="stmt" count="3"/>
|
2813 |
-
<line num="
|
2814 |
-
<line num="
|
2815 |
-
<line num="
|
2816 |
-
<line num="
|
2817 |
-
<line num="
|
2818 |
-
<line num="
|
2819 |
-
<line num="
|
2820 |
-
<line num="
|
2821 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2822 |
<line num="1746" type="stmt" count="3"/>
|
2823 |
-
<line num="
|
2824 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
2825 |
<line num="1759" type="stmt" count="3"/>
|
2826 |
-
<line num="1760" type="stmt" count="3"/>
|
2827 |
<line num="1761" type="stmt" count="3"/>
|
2828 |
-
<line num="
|
2829 |
<line num="1766" type="stmt" count="3"/>
|
2830 |
-
<line num="
|
2831 |
-
<line num="
|
2832 |
<line num="1773" type="stmt" count="3"/>
|
2833 |
-
<line num="
|
2834 |
<line num="1777" type="stmt" count="3"/>
|
2835 |
-
<line num="1778" type="stmt" count="
|
2836 |
-
<line num="
|
2837 |
-
<line num="
|
2838 |
-
<line num="
|
2839 |
-
<line num="
|
2840 |
-
<line num="
|
2841 |
-
<line num="
|
2842 |
-
<line num="
|
2843 |
-
<line num="
|
2844 |
-
<line num="
|
2845 |
-
<line num="
|
2846 |
-
<line num="
|
2847 |
-
<line num="
|
2848 |
-
<line num="
|
2849 |
-
<line num="1823" type="stmt" count="0"/>
|
2850 |
-
<line num="1827" type="stmt" count="4"/>
|
2851 |
-
<line num="1830" type="stmt" count="4"/>
|
2852 |
-
<line num="1831" type="stmt" count="0"/>
|
2853 |
-
<line num="1835" type="stmt" count="4"/>
|
2854 |
-
<line num="1836" type="stmt" count="0"/>
|
2855 |
-
<line num="1838" type="stmt" count="4"/>
|
2856 |
<line num="1839" type="stmt" count="3"/>
|
2857 |
-
<line num="1842" type="stmt" count="
|
2858 |
-
<line num="1843" type="stmt" count="
|
2859 |
-
<line num="
|
2860 |
-
<line num="
|
2861 |
-
<line num="
|
2862 |
-
<line num="
|
2863 |
-
<line num="
|
2864 |
-
<line num="
|
2865 |
-
<line num="
|
2866 |
-
<line num="
|
2867 |
-
<line num="
|
2868 |
-
<line num="
|
2869 |
-
<line num="
|
2870 |
-
<line num="
|
2871 |
-
<line num="
|
2872 |
-
<line num="
|
2873 |
-
<line num="
|
2874 |
-
<line num="
|
2875 |
-
<line num="
|
2876 |
-
<line num="
|
2877 |
-
<line num="1880" type="stmt" count="3"/>
|
2878 |
-
<line num="1881" type="stmt" count="4"/>
|
2879 |
-
<line num="1884" type="stmt" count="4"/>
|
2880 |
-
<line num="1895" type="method" name="delete_archive_file" visibility="public" complexity="11" crap="132" count="0"/>
|
2881 |
-
<line num="1898" type="stmt" count="0"/>
|
2882 |
<line num="1899" type="stmt" count="0"/>
|
2883 |
-
<line num="1903" type="stmt" count="
|
2884 |
-
<line num="
|
2885 |
-
<line num="
|
2886 |
-
<line num="
|
2887 |
-
<line num="
|
2888 |
-
<line num="
|
2889 |
-
<line num="1914" type="stmt" count="
|
2890 |
-
<line num="
|
2891 |
-
<line num="
|
2892 |
-
<line num="
|
2893 |
-
<line num="
|
2894 |
-
<line num="
|
2895 |
-
<line num="
|
2896 |
-
<line num="1926" type="stmt" count="0"/>
|
2897 |
-
<line num="1928" type="stmt" count="0"/>
|
2898 |
<line num="1929" type="stmt" count="0"/>
|
2899 |
-
<line num="
|
2900 |
-
<line num="
|
2901 |
-
<line num="
|
2902 |
-
<line num="
|
2903 |
-
<line num="
|
2904 |
-
<line num="
|
2905 |
-
<line num="
|
2906 |
-
<line num="
|
2907 |
-
<line num="
|
2908 |
-
<line num="
|
2909 |
-
<line num="
|
2910 |
-
<line num="
|
2911 |
-
<line num="
|
2912 |
-
<line num="
|
2913 |
-
<line num="1961" type="stmt" count="0"/>
|
2914 |
-
<line num="1964" type="stmt" count="0"/>
|
2915 |
<line num="1966" type="stmt" count="0"/>
|
2916 |
<line num="1967" type="stmt" count="0"/>
|
2917 |
-
<line num="
|
2918 |
-
<line num="
|
2919 |
-
<line num="1972" type="stmt" count="0"/>
|
2920 |
<line num="1977" type="stmt" count="0"/>
|
2921 |
<line num="1978" type="stmt" count="0"/>
|
2922 |
<line num="1979" type="stmt" count="0"/>
|
2923 |
-
<line num="
|
|
|
|
|
2924 |
<line num="1984" type="stmt" count="0"/>
|
2925 |
-
<line num="1985" type="stmt" count="0"/>
|
2926 |
<line num="1986" type="stmt" count="0"/>
|
2927 |
-
<line num="
|
2928 |
-
<line num="
|
2929 |
-
<line num="
|
|
|
|
|
|
|
|
|
2930 |
<line num="2000" type="stmt" count="0"/>
|
2931 |
-
<line num="
|
2932 |
-
<line num="
|
2933 |
-
<line num="
|
2934 |
-
<line num="
|
2935 |
-
<line num="
|
2936 |
-
<line num="
|
2937 |
-
<line num="
|
2938 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2939 |
<line num="2046" type="stmt" count="0"/>
|
|
|
2940 |
<line num="2049" type="stmt" count="0"/>
|
2941 |
<line num="2052" type="stmt" count="0"/>
|
2942 |
<line num="2053" type="stmt" count="0"/>
|
|
|
|
|
2943 |
<line num="2057" type="stmt" count="0"/>
|
2944 |
<line num="2058" type="stmt" count="0"/>
|
2945 |
-
<line num="2059" type="method" name="anonymous function" complexity="3" crap="12" count="0"/>
|
2946 |
-
<line num="2060" type="stmt" count="0"/>
|
2947 |
-
<line num="2061" type="stmt" count="0"/>
|
2948 |
-
<line num="2064" type="stmt" count="0"/>
|
2949 |
-
<line num="2065" type="stmt" count="0"/>
|
2950 |
<line num="2068" type="stmt" count="0"/>
|
2951 |
-
<line num="
|
2952 |
-
<line num="
|
2953 |
-
<line num="
|
2954 |
-
<line num="
|
2955 |
-
<line num="2080" type="stmt" count="0"/>
|
2956 |
-
<line num="2082" type="stmt" count="0"/>
|
2957 |
-
<line num="2085" type="stmt" count="0"/>
|
2958 |
-
<line num="2098" type="method" name="restore_archive_file" visibility="public" complexity="25" crap="44.07" count="1"/>
|
2959 |
-
<line num="2099" type="stmt" count="1"/>
|
2960 |
-
<line num="2102" type="stmt" count="1"/>
|
2961 |
-
<line num="2103" type="stmt" count="0"/>
|
2962 |
<line num="2107" type="stmt" count="1"/>
|
2963 |
-
<line num="2108" type="stmt" count="
|
2964 |
-
<line num="
|
2965 |
-
<line num="
|
2966 |
-
<line num="
|
2967 |
-
<line num="2117" type="stmt" count="
|
2968 |
-
<line num="
|
2969 |
-
<line num="
|
2970 |
-
<line num="
|
2971 |
-
<line num="2124" type="stmt" count="1"/>
|
2972 |
-
<line num="2125" type="stmt" count="1"/>
|
2973 |
<line num="2126" type="stmt" count="0"/>
|
2974 |
-
<line num="
|
2975 |
-
<line num="
|
2976 |
-
<line num="
|
2977 |
-
<line num="
|
2978 |
-
<line num="
|
2979 |
-
<line num="
|
2980 |
-
<line num="
|
2981 |
-
<line num="
|
2982 |
-
<line num="
|
2983 |
-
<line num="
|
2984 |
-
<line num="2147" type="stmt" count="1"/>
|
2985 |
<line num="2148" type="stmt" count="0"/>
|
2986 |
-
<line num="
|
2987 |
-
<line num="
|
2988 |
-
<line num="
|
2989 |
-
<line num="
|
2990 |
-
<line num="
|
2991 |
-
<line num="
|
2992 |
-
<line num="
|
2993 |
-
<line num="
|
2994 |
-
<line num="2163" type="stmt" count="1"/>
|
2995 |
-
<line num="2165" type="stmt" count="1"/>
|
2996 |
-
<line num="2174" type="stmt" count="1"/>
|
2997 |
<line num="2180" type="stmt" count="1"/>
|
2998 |
-
<line num="2181" type="stmt" count="
|
2999 |
<line num="2184" type="stmt" count="1"/>
|
|
|
3000 |
<line num="2186" type="stmt" count="1"/>
|
3001 |
<line num="2187" type="stmt" count="0"/>
|
3002 |
-
<line num="
|
3003 |
-
<line num="
|
3004 |
-
<line num="
|
3005 |
-
<line num="
|
|
|
|
|
|
|
3006 |
<line num="2202" type="stmt" count="0"/>
|
3007 |
-
<line num="
|
3008 |
-
<line num="
|
|
|
|
|
|
|
|
|
3009 |
<line num="2215" type="stmt" count="1"/>
|
|
|
|
|
|
|
|
|
3010 |
<line num="2224" type="stmt" count="1"/>
|
3011 |
<line num="2225" type="stmt" count="1"/>
|
3012 |
<line num="2226" type="stmt" count="1"/>
|
3013 |
-
<line num="
|
3014 |
-
<line num="
|
3015 |
-
<line num="2231" type="stmt" count="
|
3016 |
<line num="2233" type="stmt" count="1"/>
|
3017 |
-
<line num="2234" type="stmt" count="0"/>
|
3018 |
-
<line num="2236" type="stmt" count="0"/>
|
3019 |
-
<line num="2237" type="stmt" count="0"/>
|
3020 |
-
<line num="2238" type="stmt" count="0"/>
|
3021 |
-
<line num="2239" type="stmt" count="0"/>
|
3022 |
<line num="2242" type="stmt" count="1"/>
|
3023 |
-
<line num="
|
3024 |
-
<line num="
|
3025 |
-
<line num="
|
3026 |
-
<line num="
|
3027 |
-
<line num="
|
3028 |
-
<line num="
|
3029 |
-
<line num="
|
3030 |
-
<line num="
|
3031 |
-
<line num="
|
3032 |
-
<line num="
|
3033 |
-
<line num="
|
3034 |
-
<line num="
|
3035 |
-
<line num="
|
3036 |
-
<line num="
|
3037 |
-
<line num="
|
3038 |
-
<line num="
|
3039 |
-
<line num="
|
3040 |
-
<line num="2294" type="stmt" count="0"/>
|
3041 |
-
<line num="2297" type="stmt" count="0"/>
|
3042 |
<line num="2298" type="stmt" count="0"/>
|
3043 |
-
<line num="
|
3044 |
-
<line num="
|
|
|
|
|
|
|
3045 |
<line num="2306" type="stmt" count="0"/>
|
3046 |
<line num="2307" type="stmt" count="0"/>
|
3047 |
-
<line num="
|
3048 |
-
<line num="
|
3049 |
-
<line num="
|
3050 |
-
<line num="
|
3051 |
-
<line num="
|
3052 |
-
<line num="2317" type="stmt" count="0"/>
|
3053 |
<line num="2320" type="stmt" count="0"/>
|
3054 |
<line num="2321" type="stmt" count="0"/>
|
3055 |
-
<line num="
|
3056 |
-
<line num="
|
3057 |
-
<line num="
|
3058 |
-
<line num="
|
3059 |
-
<line num="
|
3060 |
-
<line num="
|
3061 |
-
<line num="
|
3062 |
-
<line num="
|
3063 |
-
<line num="
|
3064 |
-
<line num="
|
3065 |
-
<line num="
|
3066 |
-
<line num="
|
3067 |
-
<line num="2347" type="stmt" count="0"/>
|
3068 |
-
<line num="2350" type="stmt" count="0"/>
|
3069 |
-
<line num="2351" type="stmt" count="0"/>
|
3070 |
-
<line num="2360" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
3071 |
-
<line num="2363" type="stmt" count="0"/>
|
3072 |
-
<line num="2364" type="stmt" count="0"/>
|
3073 |
<line num="2365" type="stmt" count="0"/>
|
3074 |
-
<line num="
|
3075 |
<line num="2368" type="stmt" count="0"/>
|
3076 |
-
<line num="
|
3077 |
-
<line num="2372" type="stmt" count="0"/>
|
3078 |
-
<line num="2373" type="stmt" count="0"/>
|
3079 |
<line num="2374" type="stmt" count="0"/>
|
3080 |
-
<line num="
|
3081 |
<line num="2377" type="stmt" count="0"/>
|
3082 |
-
<line num="2378" type="stmt" count="0"/>
|
3083 |
<line num="2380" type="stmt" count="0"/>
|
|
|
3084 |
<line num="2382" type="stmt" count="0"/>
|
3085 |
-
<line num="2383" type="stmt" count="0"/>
|
3086 |
<line num="2384" type="stmt" count="0"/>
|
3087 |
-
<line num="
|
3088 |
-
<line num="
|
3089 |
<line num="2389" type="stmt" count="0"/>
|
3090 |
-
<line num="
|
3091 |
<line num="2393" type="stmt" count="0"/>
|
3092 |
-
<line num="2394" type="stmt" count="0"/>
|
3093 |
<line num="2396" type="stmt" count="0"/>
|
3094 |
-
<line num="
|
3095 |
-
<line num="
|
3096 |
-
<line num="
|
|
|
|
|
3097 |
<line num="2408" type="stmt" count="0"/>
|
3098 |
-
<line num="
|
3099 |
-
<line num="
|
3100 |
-
<line num="
|
3101 |
-
<line num="
|
3102 |
-
<line num="
|
3103 |
-
<line num="
|
|
|
3104 |
<line num="2431" type="stmt" count="0"/>
|
3105 |
<line num="2432" type="stmt" count="0"/>
|
3106 |
<line num="2433" type="stmt" count="0"/>
|
3107 |
-
<line num="2434" type="stmt" count="0"/>
|
3108 |
<line num="2435" type="stmt" count="0"/>
|
3109 |
-
<line num="
|
|
|
3110 |
<line num="2440" type="stmt" count="0"/>
|
3111 |
<line num="2441" type="stmt" count="0"/>
|
3112 |
<line num="2442" type="stmt" count="0"/>
|
3113 |
-
<line num="
|
3114 |
-
<line num="
|
|
|
|
|
3115 |
<line num="2450" type="stmt" count="0"/>
|
3116 |
<line num="2451" type="stmt" count="0"/>
|
3117 |
<line num="2452" type="stmt" count="0"/>
|
3118 |
-
<line num="
|
3119 |
-
<line num="
|
3120 |
-
<line num="
|
3121 |
<line num="2460" type="stmt" count="0"/>
|
3122 |
<line num="2461" type="stmt" count="0"/>
|
3123 |
<line num="2462" type="stmt" count="0"/>
|
|
|
|
|
3124 |
<line num="2466" type="stmt" count="0"/>
|
3125 |
-
<line num="
|
3126 |
-
<line num="2468" type="stmt" count="0"/>
|
3127 |
-
<line num="2471" type="stmt" count="0"/>
|
3128 |
-
<line num="2472" type="stmt" count="0"/>
|
3129 |
-
<line num="2473" type="stmt" count="0"/>
|
3130 |
-
<line num="2474" type="stmt" count="0"/>
|
3131 |
<line num="2476" type="stmt" count="0"/>
|
3132 |
-
<line num="
|
3133 |
-
<line num="
|
3134 |
-
<line num="
|
3135 |
-
<line num="
|
3136 |
-
<line num="
|
3137 |
-
<line num="
|
3138 |
-
<line num="
|
3139 |
-
<line num="
|
3140 |
<line num="2501" type="stmt" count="0"/>
|
3141 |
-
<line num="
|
|
|
3142 |
<line num="2507" type="stmt" count="0"/>
|
|
|
|
|
3143 |
<line num="2510" type="stmt" count="0"/>
|
3144 |
-
<line num="
|
3145 |
<line num="2515" type="stmt" count="0"/>
|
3146 |
<line num="2518" type="stmt" count="0"/>
|
|
|
|
|
3147 |
<line num="2521" type="stmt" count="0"/>
|
3148 |
<line num="2524" type="stmt" count="0"/>
|
3149 |
<line num="2527" type="stmt" count="0"/>
|
|
|
3150 |
<line num="2529" type="stmt" count="0"/>
|
3151 |
-
<line num="
|
3152 |
-
<line num="
|
|
|
|
|
3153 |
<line num="2539" type="stmt" count="0"/>
|
3154 |
<line num="2540" type="stmt" count="0"/>
|
3155 |
<line num="2541" type="stmt" count="0"/>
|
|
|
3156 |
<line num="2544" type="stmt" count="0"/>
|
3157 |
-
<line num="2545" type="stmt" count="0"/>
|
3158 |
<line num="2546" type="stmt" count="0"/>
|
3159 |
-
<line num="2547" type="stmt" count="0"/>
|
3160 |
<line num="2548" type="stmt" count="0"/>
|
3161 |
<line num="2549" type="stmt" count="0"/>
|
3162 |
<line num="2550" type="stmt" count="0"/>
|
3163 |
-
<line num="2551" type="stmt" count="0"/>
|
3164 |
<line num="2553" type="stmt" count="0"/>
|
3165 |
-
<line num="
|
3166 |
-
<line num="
|
3167 |
-
<line num="
|
3168 |
-
<line num="
|
3169 |
-
<line num="
|
3170 |
-
<line num="
|
3171 |
-
<line num="
|
3172 |
-
<line num="
|
3173 |
-
<line num="
|
3174 |
-
<line num="
|
3175 |
-
<line num="
|
3176 |
-
<line num="
|
3177 |
-
<line num="
|
3178 |
-
<line num="
|
3179 |
-
<line num="
|
3180 |
-
<line num="
|
3181 |
-
<line num="
|
3182 |
-
<line num="
|
3183 |
-
<line num="
|
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="
|
3197 |
-
<line num="
|
3198 |
-
<line num="
|
3199 |
-
<line num="
|
3200 |
-
<line num="
|
3201 |
-
<line num="
|
3202 |
-
<line num="
|
3203 |
-
<line num="
|
3204 |
-
<line num="
|
3205 |
-
<line num="
|
3206 |
-
<line num="
|
3207 |
-
<line num="
|
3208 |
-
<line num="
|
3209 |
-
<line num="
|
3210 |
-
<line num="
|
3211 |
-
<line num="
|
3212 |
-
<line num="
|
3213 |
-
<line num="
|
3214 |
-
<line num="
|
3215 |
-
<line num="
|
3216 |
-
<line num="
|
3217 |
-
<line num="
|
3218 |
-
<line num="
|
3219 |
-
<line num="
|
3220 |
-
<line num="
|
3221 |
-
<line num="
|
3222 |
-
<line num="
|
3223 |
-
<line num="
|
3224 |
-
<line num="
|
3225 |
-
<line num="
|
3226 |
-
<line num="
|
3227 |
-
<line num="
|
3228 |
-
<line num="
|
3229 |
-
<line num="
|
3230 |
-
<line num="2700" type="stmt" count="
|
3231 |
-
<line num="2701" type="stmt" count="
|
3232 |
-
<line num="
|
3233 |
-
<line num="
|
3234 |
-
<line num="
|
3235 |
-
<line num="
|
3236 |
-
<line num="
|
3237 |
-
<line num="
|
3238 |
-
<line num="
|
3239 |
-
<line num="
|
3240 |
-
<line num="2728" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
|
3241 |
<line num="2730" type="stmt" count="0"/>
|
3242 |
<line num="2733" type="stmt" count="0"/>
|
3243 |
<line num="2734" type="stmt" count="0"/>
|
|
|
|
|
3244 |
<line num="2738" type="stmt" count="0"/>
|
3245 |
-
<line num="
|
3246 |
<line num="2742" type="stmt" count="0"/>
|
|
|
|
|
3247 |
<line num="2746" type="stmt" count="0"/>
|
3248 |
<line num="2747" type="stmt" count="0"/>
|
3249 |
-
<line num="
|
3250 |
-
<line num="
|
3251 |
-
<line num="
|
3252 |
-
<line num="
|
3253 |
-
<line num="2766" type="stmt" count="
|
3254 |
-
<line num="2767" type="stmt" count="
|
3255 |
<line num="2768" type="stmt" count="0"/>
|
3256 |
<line num="2769" type="stmt" count="0"/>
|
3257 |
-
<line num="2770" type="stmt" count="
|
3258 |
-
<line num="
|
3259 |
-
<line num="
|
3260 |
-
<line num="
|
3261 |
-
<line num="
|
3262 |
-
<line num="
|
3263 |
-
<line num="
|
3264 |
-
<line num="
|
3265 |
-
<line num="
|
3266 |
-
<line num="
|
3267 |
-
<line num="
|
3268 |
-
<line num="
|
3269 |
-
<line num="
|
3270 |
-
<line num="2799" type="stmt" count="0"/>
|
3271 |
<line num="2809" type="stmt" count="0"/>
|
3272 |
-
<line num="
|
|
|
3273 |
<line num="2815" type="stmt" count="0"/>
|
3274 |
-
<line num="
|
3275 |
-
<line num="
|
3276 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3277 |
</file>
|
3278 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
|
3279 |
<class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
@@ -4944,6 +5008,103 @@
|
|
4944 |
<line num="288" type="stmt" count="0"/>
|
4945 |
<metrics loc="289" ncloc="163" classes="1" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="93" coveredstatements="2" elements="102" coveredelements="3"/>
|
4946 |
</file>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4947 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
4948 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
4949 |
<metrics complexity="22" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="87" coveredstatements="2" elements="98" coveredelements="3"/>
|
@@ -6222,18 +6383,23 @@
|
|
6222 |
</file>
|
6223 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-tools.php">
|
6224 |
<class name="Boldgrid_Backup_Admin_Tools" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6225 |
-
<metrics complexity="
|
6226 |
</class>
|
6227 |
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
|
6228 |
<line num="38" type="stmt" count="17"/>
|
6229 |
<line num="39" type="stmt" count="17"/>
|
6230 |
-
<line num="
|
6231 |
-
<line num="
|
6232 |
-
<line num="
|
6233 |
-
<line num="
|
6234 |
<line num="51" type="stmt" count="0"/>
|
6235 |
<line num="52" type="stmt" count="0"/>
|
6236 |
-
<
|
|
|
|
|
|
|
|
|
|
|
6237 |
</file>
|
6238 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-transfers.php">
|
6239 |
<class name="Boldgrid_Backup_Admin_Transfers" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -7458,7 +7624,7 @@
|
|
7458 |
</file>
|
7459 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-php-zip.php">
|
7460 |
<class name="Boldgrid_Backup_Admin_Compressor_Php_Zip" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.Php">
|
7461 |
-
<metrics complexity="29" methods="4" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="
|
7462 |
</class>
|
7463 |
<line num="69" type="method" name="add_dir" visibility="public" complexity="4" crap="4" count="3"/>
|
7464 |
<line num="70" type="stmt" count="3"/>
|
@@ -7474,7 +7640,7 @@
|
|
7474 |
<line num="83" type="stmt" count="3"/>
|
7475 |
<line num="84" type="stmt" count="3"/>
|
7476 |
<line num="85" type="stmt" count="3"/>
|
7477 |
-
<line num="113" type="method" name="archive_files" visibility="public" complexity="19" crap="
|
7478 |
<line num="114" type="stmt" count="3"/>
|
7479 |
<line num="117" type="stmt" count="3"/>
|
7480 |
<line num="118" type="stmt" count="3"/>
|
@@ -7531,56 +7697,64 @@
|
|
7531 |
<line num="212" type="stmt" count="3"/>
|
7532 |
<line num="213" type="stmt" count="3"/>
|
7533 |
<line num="214" type="stmt" count="3"/>
|
|
|
|
|
|
|
|
|
|
|
7534 |
<line num="221" type="stmt" count="3"/>
|
7535 |
<line num="222" type="stmt" count="3"/>
|
7536 |
-
<line num="
|
7537 |
-
<line num="
|
7538 |
-
<line num="
|
7539 |
-
<line num="
|
7540 |
-
<line num="242" type="stmt" count="3"/>
|
7541 |
-
<line num="243" type="stmt" count="0"/>
|
7542 |
-
<line num="244" type="stmt" count="0"/>
|
7543 |
-
<line num="245" type="stmt" count="3"/>
|
7544 |
<line num="247" type="stmt" count="3"/>
|
|
|
7545 |
<line num="249" type="stmt" count="3"/>
|
7546 |
<line num="251" type="stmt" count="3"/>
|
|
|
7547 |
<line num="253" type="stmt" count="0"/>
|
7548 |
-
<line num="254" type="stmt" count="
|
7549 |
-
<line num="
|
7550 |
-
<line num="
|
7551 |
-
<line num="
|
7552 |
-
<line num="
|
7553 |
-
<line num="
|
7554 |
-
<line num="
|
7555 |
-
<line num="
|
7556 |
-
<line num="
|
7557 |
-
<line num="285" type="
|
7558 |
-
<line num="
|
|
|
7559 |
<line num="290" type="stmt" count="1"/>
|
7560 |
-
<line num="
|
7561 |
<line num="294" type="stmt" count="1"/>
|
7562 |
-
<line num="295" type="stmt" count="1"/>
|
7563 |
<line num="296" type="stmt" count="1"/>
|
7564 |
-
<line num="
|
7565 |
-
<line num="
|
7566 |
-
<line num="300" type="stmt" count="1"/>
|
7567 |
-
<line num="301" type="stmt" count="1"/>
|
7568 |
<line num="303" type="stmt" count="1"/>
|
7569 |
-
<line num="304" type="stmt" count="
|
7570 |
-
<line num="305" type="stmt" count="
|
7571 |
-
<line num="
|
|
|
|
|
7572 |
<line num="310" type="stmt" count="1"/>
|
7573 |
-
<line num="
|
7574 |
-
<line num="313" type="stmt" count="
|
7575 |
-
<line num="
|
7576 |
-
<line num="
|
7577 |
<line num="319" type="stmt" count="1"/>
|
7578 |
-
<line num="320" type="stmt" count="
|
7579 |
-
<line num="
|
7580 |
-
<line num="
|
7581 |
<line num="326" type="stmt" count="1"/>
|
7582 |
<line num="328" type="stmt" count="1"/>
|
7583 |
-
<
|
|
|
|
|
|
|
|
|
|
|
7584 |
</file>
|
7585 |
<package name="Boldgrid\Backup\Admin\Cron">
|
7586 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/cron/class-crontab.php">
|
@@ -9408,12 +9582,17 @@
|
|
9408 |
<line num="30" type="stmt" count="0"/>
|
9409 |
<line num="31" type="stmt" count="0"/>
|
9410 |
<line num="32" type="stmt" count="0"/>
|
9411 |
-
<line num="
|
9412 |
-
<line num="
|
9413 |
-
<line num="
|
9414 |
-
<line num="
|
9415 |
-
<line num="
|
9416 |
-
<
|
|
|
|
|
|
|
|
|
|
|
9417 |
</file>
|
9418 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-transfers.php">
|
9419 |
<line num="14" type="stmt" count="0"/>
|
@@ -10707,6 +10886,63 @@
|
|
10707 |
<line num="232" type="stmt" count="0"/>
|
10708 |
<metrics loc="232" ncloc="191" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="185" coveredstatements="0" elements="185" coveredelements="0"/>
|
10709 |
</file>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10710 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/transfers/destination.php">
|
10711 |
<line num="16" type="stmt" count="0"/>
|
10712 |
<line num="18" type="stmt" count="0"/>
|
@@ -13152,7 +13388,7 @@
|
|
13152 |
</file>
|
13153 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
|
13154 |
<class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
|
13155 |
-
<metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="
|
13156 |
</class>
|
13157 |
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
13158 |
<line num="67" type="stmt" count="0"/>
|
@@ -13257,157 +13493,162 @@
|
|
13257 |
<line num="272" type="stmt" count="0"/>
|
13258 |
<line num="274" type="stmt" count="0"/>
|
13259 |
<line num="276" type="stmt" count="0"/>
|
13260 |
-
<line num="278" type="stmt" count="0"/>
|
13261 |
<line num="279" type="stmt" count="0"/>
|
13262 |
-
<line num="
|
13263 |
-
<line num="
|
13264 |
-
<line num="
|
13265 |
-
<line num="294" type="
|
13266 |
-
<line num="
|
13267 |
-
<line num="
|
13268 |
-
<line num="
|
13269 |
-
<line num="
|
13270 |
-
<line num="
|
|
|
13271 |
<line num="313" type="stmt" count="0"/>
|
13272 |
-
<line num="314" type="stmt" count="0"/>
|
13273 |
<line num="316" type="stmt" count="0"/>
|
13274 |
<line num="317" type="stmt" count="0"/>
|
13275 |
<line num="318" type="stmt" count="0"/>
|
|
|
13276 |
<line num="321" type="stmt" count="0"/>
|
13277 |
<line num="322" type="stmt" count="0"/>
|
13278 |
-
<line num="
|
13279 |
-
<line num="
|
13280 |
<line num="327" type="stmt" count="0"/>
|
13281 |
<line num="328" type="stmt" count="0"/>
|
13282 |
-
<line num="
|
13283 |
-
<line num="330" type="stmt" count="0"/>
|
13284 |
<line num="332" type="stmt" count="0"/>
|
13285 |
<line num="333" type="stmt" count="0"/>
|
13286 |
<line num="334" type="stmt" count="0"/>
|
13287 |
-
<line num="335" type="stmt" count="0"/>
|
13288 |
<line num="336" type="stmt" count="0"/>
|
|
|
|
|
13289 |
<line num="339" type="stmt" count="0"/>
|
13290 |
<line num="340" type="stmt" count="0"/>
|
13291 |
-
<line num="
|
13292 |
-
<line num="
|
13293 |
<line num="345" type="stmt" count="0"/>
|
13294 |
<line num="346" type="stmt" count="0"/>
|
13295 |
-
<line num="
|
13296 |
-
<line num="
|
13297 |
<line num="351" type="stmt" count="0"/>
|
13298 |
<line num="352" type="stmt" count="0"/>
|
13299 |
-
<line num="
|
13300 |
-
<line num="
|
13301 |
<line num="357" type="stmt" count="0"/>
|
13302 |
<line num="358" type="stmt" count="0"/>
|
13303 |
-
<line num="
|
13304 |
-
<line num="
|
13305 |
<line num="363" type="stmt" count="0"/>
|
13306 |
<line num="364" type="stmt" count="0"/>
|
13307 |
-
<line num="
|
13308 |
-
<line num="
|
13309 |
<line num="369" type="stmt" count="0"/>
|
13310 |
<line num="370" type="stmt" count="0"/>
|
13311 |
-
<line num="
|
13312 |
-
<line num="372" type="stmt" count="0"/>
|
13313 |
<line num="374" type="stmt" count="0"/>
|
13314 |
<line num="375" type="stmt" count="0"/>
|
13315 |
<line num="376" type="stmt" count="0"/>
|
|
|
13316 |
<line num="379" type="stmt" count="0"/>
|
13317 |
<line num="380" type="stmt" count="0"/>
|
13318 |
-
<line num="
|
13319 |
-
<line num="
|
13320 |
<line num="385" type="stmt" count="0"/>
|
13321 |
<line num="386" type="stmt" count="0"/>
|
13322 |
-
<line num="
|
13323 |
-
<line num="388" type="stmt" count="0"/>
|
13324 |
<line num="390" type="stmt" count="0"/>
|
13325 |
<line num="391" type="stmt" count="0"/>
|
13326 |
<line num="392" type="stmt" count="0"/>
|
13327 |
-
<line num="393" type="stmt" count="0"/>
|
13328 |
<line num="394" type="stmt" count="0"/>
|
13329 |
<line num="395" type="stmt" count="0"/>
|
|
|
13330 |
<line num="397" type="stmt" count="0"/>
|
|
|
13331 |
<line num="399" type="stmt" count="0"/>
|
13332 |
<line num="401" type="stmt" count="0"/>
|
13333 |
<line num="403" type="stmt" count="0"/>
|
13334 |
-
<line num="404" type="stmt" count="0"/>
|
13335 |
<line num="405" type="stmt" count="0"/>
|
13336 |
<line num="407" type="stmt" count="0"/>
|
|
|
13337 |
<line num="409" type="stmt" count="0"/>
|
13338 |
<line num="411" type="stmt" count="0"/>
|
13339 |
<line num="413" type="stmt" count="0"/>
|
13340 |
<line num="415" type="stmt" count="0"/>
|
13341 |
<line num="417" type="stmt" count="0"/>
|
13342 |
-
<line num="418" type="stmt" count="0"/>
|
13343 |
<line num="419" type="stmt" count="0"/>
|
13344 |
<line num="421" type="stmt" count="0"/>
|
|
|
13345 |
<line num="423" type="stmt" count="0"/>
|
13346 |
-
<line num="424" type="stmt" count="0"/>
|
13347 |
<line num="425" type="stmt" count="0"/>
|
13348 |
-
<line num="
|
13349 |
<line num="428" type="stmt" count="0"/>
|
|
|
13350 |
<line num="430" type="stmt" count="0"/>
|
13351 |
<line num="432" type="stmt" count="0"/>
|
13352 |
<line num="434" type="stmt" count="0"/>
|
13353 |
<line num="436" type="stmt" count="0"/>
|
13354 |
<line num="438" type="stmt" count="0"/>
|
13355 |
-
<line num="
|
13356 |
-
<line num="
|
13357 |
<line num="447" type="stmt" count="0"/>
|
13358 |
<line num="449" type="stmt" count="0"/>
|
13359 |
<line num="451" type="stmt" count="0"/>
|
13360 |
<line num="453" type="stmt" count="0"/>
|
13361 |
<line num="455" type="stmt" count="0"/>
|
13362 |
<line num="457" type="stmt" count="0"/>
|
13363 |
-
<line num="
|
13364 |
-
<line num="460" type="stmt" count="0"/>
|
13365 |
<line num="461" type="stmt" count="0"/>
|
13366 |
-
<line num="
|
|
|
13367 |
<line num="465" type="stmt" count="0"/>
|
13368 |
-
<line num="466" type="stmt" count="0"/>
|
13369 |
<line num="467" type="stmt" count="0"/>
|
13370 |
<line num="469" type="stmt" count="0"/>
|
|
|
13371 |
<line num="471" type="stmt" count="0"/>
|
13372 |
-
<line num="
|
13373 |
<line num="475" type="stmt" count="0"/>
|
13374 |
<line num="476" type="stmt" count="0"/>
|
13375 |
-
<line num="
|
13376 |
<line num="480" type="stmt" count="0"/>
|
13377 |
<line num="481" type="stmt" count="0"/>
|
13378 |
<line num="484" type="stmt" count="0"/>
|
13379 |
-
<line num="
|
13380 |
-
<line num="
|
13381 |
-
<line num="
|
13382 |
-
<line num="
|
13383 |
<line num="497" type="stmt" count="0"/>
|
13384 |
-
<line num="
|
13385 |
-
<line num="
|
13386 |
<line num="502" type="stmt" count="0"/>
|
13387 |
<line num="504" type="stmt" count="0"/>
|
13388 |
-
<line num="
|
13389 |
<line num="508" type="stmt" count="0"/>
|
13390 |
-
<line num="
|
13391 |
<line num="512" type="stmt" count="0"/>
|
13392 |
-
<line num="514" type="stmt" count="0"/>
|
13393 |
<line num="515" type="stmt" count="0"/>
|
13394 |
<line num="516" type="stmt" count="0"/>
|
13395 |
-
<line num="517" type="stmt" count="0"/>
|
13396 |
<line num="518" type="stmt" count="0"/>
|
13397 |
<line num="519" type="stmt" count="0"/>
|
13398 |
-
<line num="
|
13399 |
-
<line num="
|
13400 |
-
<line num="
|
13401 |
-
<line num="
|
|
|
|
|
|
|
|
|
13402 |
<line num="538" type="stmt" count="0"/>
|
13403 |
<line num="539" type="stmt" count="0"/>
|
13404 |
-
<line num="
|
13405 |
-
<line num="548" type="stmt" count="0"/>
|
13406 |
<line num="549" type="stmt" count="0"/>
|
13407 |
-
<line num="
|
13408 |
-
<line num="558" type="
|
13409 |
<line num="559" type="stmt" count="0"/>
|
13410 |
-
<
|
|
|
|
|
|
|
|
|
13411 |
</file>
|
13412 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
|
13413 |
<line num="17" type="stmt" count="0"/>
|
@@ -13468,8 +13709,9 @@
|
|
13468 |
<line num="81" type="stmt" count="1"/>
|
13469 |
<line num="82" type="stmt" count="1"/>
|
13470 |
<line num="83" type="stmt" count="1"/>
|
13471 |
-
<line num="
|
13472 |
-
<
|
|
|
13473 |
</file>
|
13474 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.rating-prompt.php">
|
13475 |
<line num="17" type="stmt" count="0"/>
|
@@ -68075,12 +68317,12 @@
|
|
68075 |
<metrics loc="135" ncloc="76" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="51" elements="55" coveredelements="55"/>
|
68076 |
</file>
|
68077 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/bootstrap.php">
|
68078 |
-
<line num="
|
68079 |
-
<line num="113" type="stmt" count="0"/>
|
68080 |
<line num="115" type="stmt" count="0"/>
|
68081 |
<line num="117" type="stmt" count="0"/>
|
68082 |
-
<line num="
|
68083 |
-
<
|
|
|
68084 |
</file>
|
68085 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/cli/test-class-info.php">
|
68086 |
<class name="Test_Boldgrid_Backup_Cli_Info" namespace="global" fullPackage="Test.Boldgrid.Backup.Cli">
|
@@ -73041,7 +73283,7 @@
|
|
73041 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
73042 |
</file>
|
73043 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
73044 |
-
<class name="
|
73045 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
73046 |
</class>
|
73047 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -73133,7 +73375,7 @@
|
|
73133 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
73134 |
</file>
|
73135 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
73136 |
-
<class name="
|
73137 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
73138 |
</class>
|
73139 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -92276,6 +92518,6 @@
|
|
92276 |
<line num="16" type="stmt" count="0"/>
|
92277 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
92278 |
</file>
|
92279 |
-
<metrics files="
|
92280 |
</project>
|
92281 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1579033182">
|
3 |
+
<project timestamp="1579033182">
|
4 |
<package name="Boldgrid\Backup\Admin\Card">
|
5 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-backups.php">
|
6 |
<class name="Backups" namespace="Boldgrid\Backup\Admin\Card">
|
730 |
</file>
|
731 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-fail.php">
|
732 |
<class name="Boldgrid_Backup_Admin_Archive_Fail" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
733 |
+
<metrics complexity="10" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="45" coveredstatements="3" elements="50" coveredelements="4"/>
|
734 |
</class>
|
735 |
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
|
736 |
<line num="57" type="stmt" count="17"/>
|
757 |
<line num="126" type="stmt" count="0"/>
|
758 |
<line num="128" type="stmt" count="0"/>
|
759 |
<line num="129" type="stmt" count="0"/>
|
760 |
+
<line num="136" type="method" name="shutdown" visibility="public" complexity="6" crap="42" count="0"/>
|
761 |
+
<line num="138" type="stmt" count="0"/>
|
762 |
+
<line num="141" type="stmt" count="0"/>
|
763 |
+
<line num="147" type="stmt" count="0"/>
|
764 |
<line num="148" type="stmt" count="0"/>
|
765 |
<line num="149" type="stmt" count="0"/>
|
766 |
+
<line num="151" type="stmt" count="0"/>
|
767 |
+
<line num="154" type="stmt" count="0"/>
|
768 |
+
<line num="155" type="stmt" count="0"/>
|
769 |
+
<line num="156" type="stmt" count="0"/>
|
770 |
<line num="163" type="stmt" count="0"/>
|
771 |
<line num="164" type="stmt" count="0"/>
|
|
|
|
|
772 |
<line num="167" type="stmt" count="0"/>
|
773 |
<line num="168" type="stmt" count="0"/>
|
774 |
<line num="169" type="stmt" count="0"/>
|
775 |
+
<line num="170" type="stmt" count="0"/>
|
776 |
<line num="171" type="stmt" count="0"/>
|
777 |
+
<line num="172" type="stmt" count="0"/>
|
778 |
<line num="173" type="stmt" count="0"/>
|
|
|
779 |
<line num="175" type="stmt" count="0"/>
|
|
|
780 |
<line num="177" type="stmt" count="0"/>
|
781 |
+
<line num="178" type="stmt" count="0"/>
|
782 |
+
<line num="179" type="stmt" count="0"/>
|
783 |
+
<line num="180" type="stmt" count="0"/>
|
784 |
+
<line num="181" type="stmt" count="0"/>
|
785 |
+
<metrics loc="182" ncloc="76" classes="1" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="45" coveredstatements="3" elements="50" coveredelements="4"/>
|
786 |
</file>
|
787 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-log.php">
|
788 |
<class name="Boldgrid_Backup_Admin_Archive_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
1755 |
</file>
|
1756 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-backup-dir.php">
|
1757 |
<class name="Boldgrid_Backup_Admin_Backup_Dir" namespace="global" fullPackage="Boldgrid.Backup.Admin.Backup">
|
1758 |
+
<metrics complexity="61" methods="14" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="123" elements="211" coveredelements="128"/>
|
1759 |
</class>
|
1760 |
<line num="64" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
|
1761 |
<line num="65" type="stmt" count="17"/>
|
1763 |
<line num="75" type="method" name="can_exec_write" visibility="public" complexity="1" crap="1" count="1"/>
|
1764 |
<line num="76" type="stmt" count="1"/>
|
1765 |
<line num="78" type="stmt" count="1"/>
|
1766 |
+
<line num="89" type="method" name="create" visibility="public" complexity="11" crap="11.15" count="2"/>
|
1767 |
<line num="90" type="stmt" count="2"/>
|
1768 |
<line num="93" type="stmt" count="2"/>
|
1769 |
<line num="96" type="stmt" count="2"/>
|
1770 |
<line num="98" type="stmt" count="2"/>
|
1771 |
<line num="100" type="stmt" count="2"/>
|
|
|
1772 |
<line num="102" type="stmt" count="2"/>
|
1773 |
+
<line num="103" type="stmt" count="2"/>
|
1774 |
+
<line num="104" type="stmt" count="2"/>
|
1775 |
<line num="108" type="stmt" count="2"/>
|
1776 |
<line num="109" type="stmt" count="2"/>
|
1777 |
+
<line num="110" type="stmt" count="2"/>
|
1778 |
<line num="111" type="stmt" count="2"/>
|
|
|
1779 |
<line num="113" type="stmt" count="2"/>
|
1780 |
<line num="114" type="stmt" count="2"/>
|
1781 |
+
<line num="115" type="stmt" count="2"/>
|
1782 |
<line num="116" type="stmt" count="2"/>
|
|
|
1783 |
<line num="118" type="stmt" count="2"/>
|
1784 |
+
<line num="119" type="stmt" count="2"/>
|
1785 |
<line num="120" type="stmt" count="2"/>
|
1786 |
<line num="121" type="stmt" count="2"/>
|
|
|
1787 |
<line num="123" type="stmt" count="2"/>
|
1788 |
+
<line num="124" type="stmt" count="2"/>
|
1789 |
+
<line num="125" type="stmt" count="2"/>
|
1790 |
+
<line num="127" type="stmt" count="2"/>
|
1791 |
+
<line num="128" type="stmt" count="2"/>
|
1792 |
+
<line num="129" type="stmt" count="2"/>
|
1793 |
+
<line num="130" type="stmt" count="2"/>
|
1794 |
+
<line num="140" type="stmt" count="2"/>
|
1795 |
+
<line num="142" type="stmt" count="2"/>
|
1796 |
+
<line num="143" type="stmt" count="2"/>
|
1797 |
+
<line num="144" type="stmt" count="2"/>
|
1798 |
+
<line num="145" type="stmt" count="2"/>
|
1799 |
+
<line num="146" type="stmt" count="1"/>
|
1800 |
+
<line num="147" type="stmt" count="1"/>
|
1801 |
+
<line num="148" type="stmt" count="1"/>
|
1802 |
+
<line num="149" type="stmt" count="0"/>
|
1803 |
+
<line num="150" type="stmt" count="0"/>
|
1804 |
+
<line num="152" type="stmt" count="1"/>
|
1805 |
+
<line num="153" type="stmt" count="2"/>
|
1806 |
+
<line num="154" type="stmt" count="2"/>
|
1807 |
+
<line num="155" type="stmt" count="2"/>
|
1808 |
<line num="156" type="stmt" count="1"/>
|
1809 |
<line num="157" type="stmt" count="1"/>
|
1810 |
<line num="158" type="stmt" count="0"/>
|
1811 |
<line num="159" type="stmt" count="0"/>
|
|
|
1812 |
<line num="162" type="stmt" count="1"/>
|
1813 |
+
<line num="163" type="stmt" count="1"/>
|
1814 |
+
<line num="164" type="stmt" count="1"/>
|
1815 |
+
<line num="165" type="stmt" count="0"/>
|
1816 |
+
<line num="166" type="stmt" count="0"/>
|
1817 |
+
<line num="168" type="stmt" count="1"/>
|
1818 |
+
<line num="169" type="stmt" count="1"/>
|
1819 |
+
<line num="170" type="stmt" count="2"/>
|
1820 |
+
<line num="171" type="stmt" count="2"/>
|
1821 |
+
<line num="172" type="stmt" count="2"/>
|
1822 |
+
<line num="174" type="stmt" count="2"/>
|
1823 |
+
<line num="184" type="method" name="dirlist" visibility="public" complexity="2" crap="6" count="0"/>
|
1824 |
+
<line num="185" type="stmt" count="0"/>
|
1825 |
+
<line num="187" type="stmt" count="0"/>
|
1826 |
+
<line num="189" type="stmt" count="0"/>
|
1827 |
+
<line num="190" type="stmt" count="0"/>
|
1828 |
+
<line num="191" type="stmt" count="0"/>
|
1829 |
+
<line num="193" type="stmt" count="0"/>
|
1830 |
+
<line num="204" type="method" name="dirlist_containing" visibility="public" complexity="3" crap="12" count="0"/>
|
1831 |
<line num="205" type="stmt" count="0"/>
|
1832 |
<line num="206" type="stmt" count="0"/>
|
1833 |
+
<line num="209" type="stmt" count="0"/>
|
1834 |
+
<line num="210" type="stmt" count="0"/>
|
1835 |
+
<line num="211" type="stmt" count="0"/>
|
1836 |
+
<line num="212" type="stmt" count="0"/>
|
1837 |
+
<line num="213" type="stmt" count="0"/>
|
1838 |
+
<line num="215" type="stmt" count="0"/>
|
1839 |
+
<line num="225" type="method" name="get" visibility="public" complexity="4" crap="4.25" count="5"/>
|
1840 |
+
<line num="228" type="stmt" count="5"/>
|
1841 |
+
<line num="229" type="stmt" count="3"/>
|
1842 |
+
<line num="233" type="stmt" count="2"/>
|
1843 |
<line num="234" type="stmt" count="2"/>
|
1844 |
+
<line num="235" type="stmt" count="2"/>
|
1845 |
+
<line num="236" type="stmt" count="0"/>
|
1846 |
+
<line num="238" type="stmt" count="0"/>
|
1847 |
+
<line num="241" type="stmt" count="2"/>
|
1848 |
+
<line num="252" type="method" name="get_logs_dir" visibility="public" complexity="7" crap="7" count="5"/>
|
1849 |
+
<line num="253" type="stmt" count="5"/>
|
1850 |
+
<line num="255" type="stmt" count="5"/>
|
1851 |
+
<line num="258" type="stmt" count="5"/>
|
1852 |
+
<line num="268" type="stmt" count="5"/>
|
1853 |
+
<line num="269" type="stmt" count="5"/>
|
1854 |
+
<line num="272" type="stmt" count="5"/>
|
1855 |
+
<line num="273" type="stmt" count="5"/>
|
1856 |
+
<line num="274" type="stmt" count="5"/>
|
1857 |
+
<line num="277" type="stmt" count="5"/>
|
1858 |
+
<line num="279" type="stmt" count="5"/>
|
1859 |
+
<line num="280" type="stmt" count="5"/>
|
1860 |
+
<line num="281" type="stmt" count="5"/>
|
1861 |
+
<line num="283" type="stmt" count="5"/>
|
1862 |
+
<line num="293" type="stmt" count="5"/>
|
1863 |
+
<line num="294" type="stmt" count="1"/>
|
1864 |
+
<line num="295" type="stmt" count="1"/>
|
1865 |
+
<line num="297" type="stmt" count="5"/>
|
1866 |
+
<line num="306" type="method" name="get_possible_dirs" visibility="public" complexity="3" crap="4.46" count="2"/>
|
1867 |
+
<line num="307" type="stmt" count="2"/>
|
1868 |
+
<line num="310" type="stmt" count="2"/>
|
1869 |
+
<line num="312" type="stmt" count="2"/>
|
1870 |
+
<line num="314" type="stmt" count="0"/>
|
1871 |
+
<line num="316" type="stmt" count="0"/>
|
1872 |
+
<line num="327" type="stmt" count="0"/>
|
1873 |
+
<line num="328" type="stmt" count="0"/>
|
1874 |
<line num="329" type="stmt" count="0"/>
|
1875 |
+
<line num="330" type="stmt" count="0"/>
|
1876 |
+
<line num="333" type="stmt" count="2"/>
|
1877 |
+
<line num="335" type="stmt" count="2"/>
|
1878 |
+
<line num="348" type="method" name="get_path_to" visibility="public" complexity="1" crap="1" count="2"/>
|
|
|
|
|
1879 |
<line num="349" type="stmt" count="2"/>
|
1880 |
+
<line num="350" type="stmt" count="2"/>
|
1881 |
+
<line num="360" type="method" name="generate_suffix" visibility="public" complexity="2" crap="6" count="0"/>
|
1882 |
+
<line num="361" type="stmt" count="0"/>
|
1883 |
+
<line num="362" type="stmt" count="0"/>
|
1884 |
+
<line num="364" type="stmt" count="0"/>
|
1885 |
+
<line num="365" type="stmt" count="0"/>
|
1886 |
+
<line num="366" type="stmt" count="0"/>
|
1887 |
+
<line num="368" type="stmt" count="0"/>
|
1888 |
+
<line num="383" type="method" name="guess_and_set" visibility="public" complexity="7" crap="7.29" count="2"/>
|
1889 |
+
<line num="384" type="stmt" count="2"/>
|
1890 |
+
<line num="386" type="stmt" count="2"/>
|
1891 |
+
<line num="388" type="stmt" count="2"/>
|
1892 |
+
<line num="391" type="stmt" count="2"/>
|
1893 |
+
<line num="392" type="stmt" count="0"/>
|
1894 |
+
<line num="402" type="stmt" count="2"/>
|
1895 |
+
<line num="403" type="stmt" count="2"/>
|
1896 |
+
<line num="404" type="stmt" count="2"/>
|
1897 |
+
<line num="406" type="stmt" count="2"/>
|
1898 |
+
<line num="407" type="stmt" count="0"/>
|
1899 |
+
<line num="411" type="stmt" count="2"/>
|
1900 |
+
<line num="412" type="stmt" count="2"/>
|
1901 |
+
<line num="413" type="stmt" count="0"/>
|
1902 |
<line num="417" type="stmt" count="2"/>
|
1903 |
+
<line num="418" type="stmt" count="2"/>
|
1904 |
+
<line num="420" type="stmt" count="2"/>
|
1905 |
+
<line num="421" type="stmt" count="0"/>
|
1906 |
+
<line num="424" type="stmt" count="2"/>
|
1907 |
+
<line num="426" type="stmt" count="2"/>
|
1908 |
+
<line num="428" type="stmt" count="2"/>
|
1909 |
+
<line num="430" type="stmt" count="2"/>
|
1910 |
+
<line num="432" type="stmt" count="2"/>
|
1911 |
+
<line num="456" type="method" name="file_in_dir" visibility="public" complexity="2" crap="2" count="3"/>
|
1912 |
+
<line num="457" type="stmt" count="3"/>
|
1913 |
+
<line num="458" type="stmt" count="3"/>
|
1914 |
+
<line num="460" type="stmt" count="3"/>
|
1915 |
+
<line num="474" type="method" name="is_valid" visibility="public" complexity="14" crap="98.54" count="2"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1916 |
<line num="476" type="stmt" count="2"/>
|
1917 |
+
<line num="477" type="stmt" count="0"/>
|
1918 |
+
<line num="480" type="stmt" count="2"/>
|
1919 |
+
<line num="482" type="stmt" count="2"/>
|
|
|
1920 |
<line num="483" type="stmt" count="0"/>
|
1921 |
+
<line num="485" type="stmt" count="0"/>
|
|
|
1922 |
<line num="487" type="stmt" count="0"/>
|
1923 |
+
<line num="488" type="stmt" count="0"/>
|
1924 |
+
<line num="490" type="stmt" count="2"/>
|
1925 |
+
<line num="491" type="stmt" count="0"/>
|
1926 |
+
<line num="493" type="stmt" count="0"/>
|
1927 |
+
<line num="495" type="stmt" count="0"/>
|
1928 |
+
<line num="496" type="stmt" count="0"/>
|
1929 |
+
<line num="498" type="stmt" count="2"/>
|
1930 |
+
<line num="499" type="stmt" count="0"/>
|
1931 |
+
<line num="501" type="stmt" count="0"/>
|
1932 |
+
<line num="502" type="stmt" count="0"/>
|
1933 |
<line num="504" type="stmt" count="0"/>
|
1934 |
+
<line num="506" type="stmt" count="0"/>
|
1935 |
+
<line num="507" type="stmt" count="0"/>
|
1936 |
+
<line num="509" type="stmt" count="2"/>
|
1937 |
+
<line num="510" type="stmt" count="0"/>
|
1938 |
+
<line num="512" type="stmt" count="0"/>
|
1939 |
+
<line num="513" type="stmt" count="0"/>
|
1940 |
+
<line num="515" type="stmt" count="0"/>
|
1941 |
+
<line num="517" type="stmt" count="0"/>
|
1942 |
+
<line num="518" type="stmt" count="0"/>
|
1943 |
+
<line num="520" type="stmt" count="2"/>
|
1944 |
+
<line num="521" type="stmt" count="0"/>
|
1945 |
+
<line num="523" type="stmt" count="0"/>
|
1946 |
+
<line num="524" type="stmt" count="0"/>
|
1947 |
+
<line num="526" type="stmt" count="0"/>
|
1948 |
+
<line num="528" type="stmt" count="0"/>
|
1949 |
+
<line num="529" type="stmt" count="0"/>
|
1950 |
+
<line num="538" type="stmt" count="2"/>
|
1951 |
+
<line num="539" type="stmt" count="2"/>
|
1952 |
+
<line num="540" type="stmt" count="2"/>
|
1953 |
+
<line num="541" type="stmt" count="0"/>
|
1954 |
+
<line num="543" type="stmt" count="0"/>
|
1955 |
+
<line num="544" type="stmt" count="0"/>
|
1956 |
+
<line num="546" type="stmt" count="0"/>
|
1957 |
+
<line num="547" type="stmt" count="0"/>
|
1958 |
+
<line num="549" type="stmt" count="0"/>
|
1959 |
+
<line num="550" type="stmt" count="0"/>
|
1960 |
+
<line num="552" type="stmt" count="2"/>
|
1961 |
+
<line num="564" type="method" name="set" visibility="public" complexity="3" crap="3.10" count="2"/>
|
1962 |
+
<line num="566" type="stmt" count="2"/>
|
1963 |
+
<line num="567" type="stmt" count="0"/>
|
1964 |
+
<line num="570" type="stmt" count="2"/>
|
1965 |
+
<line num="571" type="stmt" count="2"/>
|
1966 |
+
<line num="572" type="stmt" count="0"/>
|
1967 |
+
<line num="575" type="stmt" count="2"/>
|
1968 |
+
<line num="577" type="stmt" count="2"/>
|
1969 |
+
<line num="578" type="stmt" count="2"/>
|
1970 |
+
<line num="579" type="stmt" count="2"/>
|
1971 |
+
<metrics loc="580" ncloc="322" classes="1" methods="14" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="123" elements="211" coveredelements="128"/>
|
1972 |
</file>
|
1973 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php">
|
1974 |
<class name="Boldgrid_Backup_Admin_Cli" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2283 |
</file>
|
2284 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
|
2285 |
<class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2286 |
+
<metrics complexity="230" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1017" coveredstatements="469" elements="1045" coveredelements="473"/>
|
2287 |
</class>
|
2288 |
+
<line num="548" type="method" name="__construct" visibility="public" complexity="7" crap="7.03" count="17"/>
|
2289 |
+
<line num="549" type="stmt" count="17"/>
|
2290 |
+
<line num="550" type="stmt" count="17"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2291 |
<line num="551" type="stmt" count="17"/>
|
2292 |
+
<line num="553" type="stmt" count="17"/>
|
2293 |
+
<line num="555" type="stmt" count="17"/>
|
2294 |
+
<line num="556" type="stmt" count="17"/>
|
2295 |
<line num="557" type="stmt" count="17"/>
|
2296 |
+
<line num="559" type="stmt" count="17"/>
|
2297 |
+
<line num="561" type="stmt" count="17"/>
|
2298 |
+
<line num="564" type="stmt" count="17"/>
|
2299 |
<line num="567" type="stmt" count="17"/>
|
2300 |
+
<line num="570" type="stmt" count="17"/>
|
|
|
2301 |
<line num="573" type="stmt" count="17"/>
|
2302 |
+
<line num="576" type="stmt" count="17"/>
|
|
|
2303 |
<line num="579" type="stmt" count="17"/>
|
|
|
2304 |
<line num="583" type="stmt" count="17"/>
|
2305 |
<line num="585" type="stmt" count="17"/>
|
2306 |
<line num="587" type="stmt" count="17"/>
|
2334 |
<line num="643" type="stmt" count="17"/>
|
2335 |
<line num="645" type="stmt" count="17"/>
|
2336 |
<line num="647" type="stmt" count="17"/>
|
2337 |
+
<line num="649" type="stmt" count="17"/>
|
2338 |
+
<line num="651" type="stmt" count="17"/>
|
2339 |
+
<line num="653" type="stmt" count="17"/>
|
2340 |
+
<line num="655" type="stmt" count="17"/>
|
2341 |
<line num="657" type="stmt" count="17"/>
|
2342 |
+
<line num="659" type="stmt" count="17"/>
|
2343 |
+
<line num="661" type="stmt" count="17"/>
|
|
|
2344 |
<line num="663" type="stmt" count="17"/>
|
|
|
|
|
2345 |
<line num="666" type="stmt" count="17"/>
|
2346 |
+
<line num="668" type="stmt" count="17"/>
|
2347 |
+
<line num="670" type="stmt" count="17"/>
|
2348 |
+
<line num="673" type="stmt" count="17"/>
|
2349 |
+
<line num="674" type="stmt" count="17"/>
|
2350 |
+
<line num="677" type="stmt" count="17"/>
|
2351 |
+
<line num="678" type="stmt" count="0"/>
|
2352 |
+
<line num="679" type="stmt" count="0"/>
|
2353 |
+
<line num="682" type="stmt" count="17"/>
|
2354 |
+
<line num="683" type="stmt" count="17"/>
|
2355 |
+
<line num="684" type="stmt" count="0"/>
|
2356 |
+
<line num="685" type="stmt" count="0"/>
|
2357 |
+
<line num="686" type="stmt" count="17"/>
|
2358 |
+
<line num="687" type="stmt" count="0"/>
|
2359 |
+
<line num="688" type="stmt" count="0"/>
|
2360 |
+
<line num="689" type="stmt" count="17"/>
|
2361 |
+
<line num="698" type="method" name="get_backup_identifier" visibility="public" complexity="5" crap="5.79" count="21"/>
|
2362 |
+
<line num="700" type="stmt" count="21"/>
|
2363 |
+
<line num="701" type="stmt" count="5"/>
|
2364 |
+
<line num="705" type="stmt" count="17"/>
|
2365 |
+
<line num="708" type="stmt" count="17"/>
|
2366 |
+
<line num="709" type="stmt" count="16"/>
|
2367 |
+
<line num="711" type="stmt" count="16"/>
|
2368 |
<line num="715" type="stmt" count="1"/>
|
2369 |
<line num="717" type="stmt" count="1"/>
|
2370 |
+
<line num="719" type="stmt" count="1"/>
|
2371 |
+
<line num="722" type="stmt" count="1"/>
|
2372 |
+
<line num="723" type="stmt" count="0"/>
|
2373 |
+
<line num="725" type="stmt" count="0"/>
|
2374 |
+
<line num="726" type="stmt" count="0"/>
|
2375 |
+
<line num="727" type="stmt" count="0"/>
|
2376 |
+
<line num="729" type="stmt" count="0"/>
|
2377 |
+
<line num="730" type="stmt" count="0"/>
|
2378 |
+
<line num="733" type="stmt" count="1"/>
|
2379 |
+
<line num="735" type="stmt" count="1"/>
|
2380 |
+
<line num="737" type="stmt" count="1"/>
|
2381 |
+
<line num="749" type="method" name="get_core" visibility="public" complexity="1" crap="1" count="8"/>
|
2382 |
+
<line num="750" type="stmt" count="8"/>
|
2383 |
+
<line num="760" type="method" name="init_premium" visibility="public" complexity="5" crap="30" count="0"/>
|
2384 |
<line num="761" type="stmt" count="0"/>
|
2385 |
+
<line num="763" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
2386 |
<line num="769" type="stmt" count="0"/>
|
2387 |
<line num="770" type="stmt" count="0"/>
|
2388 |
+
<line num="778" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
2389 |
<line num="779" type="stmt" count="0"/>
|
2390 |
+
<line num="781" type="stmt" count="0"/>
|
2391 |
<line num="782" type="stmt" count="0"/>
|
2392 |
<line num="784" type="stmt" count="0"/>
|
2393 |
<line num="785" type="stmt" count="0"/>
|
|
|
2394 |
<line num="787" type="stmt" count="0"/>
|
2395 |
<line num="788" type="stmt" count="0"/>
|
2396 |
+
<line num="789" type="stmt" count="0"/>
|
2397 |
<line num="790" type="stmt" count="0"/>
|
2398 |
<line num="791" type="stmt" count="0"/>
|
2399 |
<line num="792" type="stmt" count="0"/>
|
2400 |
+
<line num="793" type="stmt" count="0"/>
|
2401 |
<line num="794" type="stmt" count="0"/>
|
2402 |
+
<line num="795" type="stmt" count="0"/>
|
2403 |
<line num="797" type="stmt" count="0"/>
|
|
|
2404 |
<line num="799" type="stmt" count="0"/>
|
2405 |
+
<line num="800" type="stmt" count="0"/>
|
2406 |
+
<line num="802" type="stmt" count="0"/>
|
2407 |
+
<line num="804" type="stmt" count="0"/>
|
2408 |
+
<line num="805" type="stmt" count="0"/>
|
2409 |
+
<line num="806" type="stmt" count="0"/>
|
2410 |
+
<line num="807" type="stmt" count="0"/>
|
2411 |
+
<line num="808" type="stmt" count="0"/>
|
2412 |
+
<line num="810" type="stmt" count="0"/>
|
2413 |
+
<line num="811" type="stmt" count="0"/>
|
2414 |
+
<line num="812" type="stmt" count="0"/>
|
2415 |
+
<line num="814" type="stmt" count="0"/>
|
2416 |
<line num="817" type="stmt" count="0"/>
|
2417 |
+
<line num="818" type="stmt" count="0"/>
|
2418 |
+
<line num="819" type="stmt" count="0"/>
|
2419 |
+
<line num="834" type="method" name="execute_command" visibility="public" complexity="6" crap="6.04" count="5"/>
|
2420 |
+
<line num="836" type="stmt" count="5"/>
|
2421 |
+
<line num="837" type="stmt" count="0"/>
|
2422 |
+
<line num="841" type="stmt" count="5"/>
|
2423 |
+
<line num="842" type="stmt" count="1"/>
|
2424 |
+
<line num="843" type="stmt" count="1"/>
|
2425 |
+
<line num="846" type="stmt" count="5"/>
|
2426 |
+
<line num="847" type="stmt" count="5"/>
|
2427 |
+
<line num="848" type="stmt" count="5"/>
|
2428 |
+
<line num="850" type="stmt" count="5"/>
|
2429 |
+
<line num="852" type="stmt" count="5"/>
|
2430 |
+
<line num="862" type="method" name="add_menu_items" visibility="public" complexity="5" crap="30" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2431 |
<line num="863" type="stmt" count="0"/>
|
|
|
|
|
2432 |
<line num="866" type="stmt" count="0"/>
|
2433 |
<line num="867" type="stmt" count="0"/>
|
2434 |
+
<line num="868" type="stmt" count="0"/>
|
2435 |
<line num="869" type="stmt" count="0"/>
|
2436 |
<line num="870" type="stmt" count="0"/>
|
2437 |
<line num="871" type="stmt" count="0"/>
|
2438 |
+
<line num="872" type="stmt" count="0"/>
|
2439 |
<line num="873" type="stmt" count="0"/>
|
2440 |
+
<line num="874" type="stmt" count="0"/>
|
2441 |
<line num="877" type="stmt" count="0"/>
|
|
|
|
|
2442 |
<line num="880" type="stmt" count="0"/>
|
|
|
2443 |
<line num="883" type="stmt" count="0"/>
|
2444 |
<line num="884" type="stmt" count="0"/>
|
2445 |
+
<line num="885" type="stmt" count="0"/>
|
2446 |
<line num="886" type="stmt" count="0"/>
|
2447 |
+
<line num="887" type="stmt" count="0"/>
|
2448 |
<line num="889" type="stmt" count="0"/>
|
2449 |
<line num="890" type="stmt" count="0"/>
|
2450 |
<line num="891" type="stmt" count="0"/>
|
|
|
2451 |
<line num="893" type="stmt" count="0"/>
|
|
|
2452 |
<line num="896" type="stmt" count="0"/>
|
2453 |
<line num="897" type="stmt" count="0"/>
|
2454 |
+
<line num="898" type="stmt" count="0"/>
|
2455 |
<line num="899" type="stmt" count="0"/>
|
2456 |
+
<line num="900" type="stmt" count="0"/>
|
2457 |
+
<line num="901" type="stmt" count="0"/>
|
2458 |
<line num="903" type="stmt" count="0"/>
|
2459 |
<line num="904" type="stmt" count="0"/>
|
|
|
2460 |
<line num="906" type="stmt" count="0"/>
|
|
|
2461 |
<line num="909" type="stmt" count="0"/>
|
2462 |
<line num="910" type="stmt" count="0"/>
|
2463 |
+
<line num="911" type="stmt" count="0"/>
|
2464 |
<line num="912" type="stmt" count="0"/>
|
2465 |
+
<line num="913" type="stmt" count="0"/>
|
2466 |
+
<line num="914" type="stmt" count="0"/>
|
2467 |
<line num="916" type="stmt" count="0"/>
|
2468 |
<line num="917" type="stmt" count="0"/>
|
|
|
2469 |
<line num="919" type="stmt" count="0"/>
|
|
|
2470 |
<line num="922" type="stmt" count="0"/>
|
2471 |
<line num="923" type="stmt" count="0"/>
|
2472 |
+
<line num="924" type="stmt" count="0"/>
|
2473 |
<line num="925" type="stmt" count="0"/>
|
2474 |
+
<line num="926" type="stmt" count="0"/>
|
2475 |
+
<line num="927" type="stmt" count="0"/>
|
2476 |
+
<line num="929" type="stmt" count="0"/>
|
2477 |
+
<line num="930" type="stmt" count="0"/>
|
2478 |
<line num="932" type="stmt" count="0"/>
|
|
|
|
|
2479 |
<line num="935" type="stmt" count="0"/>
|
2480 |
<line num="936" type="stmt" count="0"/>
|
2481 |
<line num="937" type="stmt" count="0"/>
|
2482 |
+
<line num="938" type="stmt" count="0"/>
|
2483 |
<line num="939" type="stmt" count="0"/>
|
2484 |
<line num="940" type="stmt" count="0"/>
|
2485 |
<line num="942" type="stmt" count="0"/>
|
2486 |
+
<line num="943" type="stmt" count="0"/>
|
2487 |
<line num="945" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
2488 |
<line num="952" type="stmt" count="0"/>
|
2489 |
<line num="953" type="stmt" count="0"/>
|
2490 |
+
<line num="954" type="stmt" count="0"/>
|
2491 |
<line num="955" type="stmt" count="0"/>
|
2492 |
+
<line num="956" type="stmt" count="0"/>
|
2493 |
+
<line num="957" type="stmt" count="0"/>
|
2494 |
<line num="959" type="stmt" count="0"/>
|
2495 |
<line num="960" type="stmt" count="0"/>
|
|
|
2496 |
<line num="962" type="stmt" count="0"/>
|
|
|
2497 |
<line num="965" type="stmt" count="0"/>
|
2498 |
<line num="966" type="stmt" count="0"/>
|
2499 |
+
<line num="967" type="stmt" count="0"/>
|
2500 |
<line num="968" type="stmt" count="0"/>
|
2501 |
+
<line num="969" type="stmt" count="0"/>
|
2502 |
+
<line num="970" type="stmt" count="0"/>
|
2503 |
<line num="972" type="stmt" count="0"/>
|
2504 |
<line num="973" type="stmt" count="0"/>
|
|
|
2505 |
<line num="975" type="stmt" count="0"/>
|
|
|
2506 |
<line num="978" type="stmt" count="0"/>
|
2507 |
<line num="979" type="stmt" count="0"/>
|
2508 |
+
<line num="980" type="stmt" count="0"/>
|
2509 |
<line num="981" type="stmt" count="0"/>
|
2510 |
+
<line num="982" type="stmt" count="0"/>
|
2511 |
+
<line num="983" type="stmt" count="0"/>
|
2512 |
+
<line num="985" type="stmt" count="0"/>
|
2513 |
+
<line num="986" type="stmt" count="0"/>
|
2514 |
<line num="988" type="stmt" count="0"/>
|
|
|
2515 |
<line num="991" type="stmt" count="0"/>
|
2516 |
<line num="992" type="stmt" count="0"/>
|
2517 |
<line num="993" type="stmt" count="0"/>
|
2518 |
<line num="994" type="stmt" count="0"/>
|
2519 |
<line num="995" type="stmt" count="0"/>
|
2520 |
+
<line num="996" type="stmt" count="0"/>
|
2521 |
+
<line num="998" type="stmt" count="0"/>
|
2522 |
+
<line num="999" type="stmt" count="0"/>
|
2523 |
+
<line num="1001" type="stmt" count="0"/>
|
2524 |
<line num="1008" type="stmt" count="0"/>
|
2525 |
<line num="1009" type="stmt" count="0"/>
|
|
|
2526 |
<line num="1011" type="stmt" count="0"/>
|
2527 |
<line num="1012" type="stmt" count="0"/>
|
2528 |
<line num="1013" type="stmt" count="0"/>
|
2529 |
+
<line num="1014" type="stmt" count="0"/>
|
2530 |
+
<line num="1015" type="stmt" count="0"/>
|
2531 |
+
<line num="1017" type="stmt" count="0"/>
|
2532 |
<line num="1025" type="stmt" count="0"/>
|
2533 |
<line num="1026" type="stmt" count="0"/>
|
2534 |
+
<line num="1027" type="stmt" count="0"/>
|
2535 |
<line num="1028" type="stmt" count="0"/>
|
2536 |
+
<line num="1029" type="stmt" count="0"/>
|
2537 |
<line num="1030" type="stmt" count="0"/>
|
2538 |
<line num="1031" type="stmt" count="0"/>
|
2539 |
<line num="1032" type="stmt" count="0"/>
|
2540 |
<line num="1033" type="stmt" count="0"/>
|
2541 |
+
<line num="1042" type="method" name="admin_enqueue_scripts" visibility="public" complexity="1" crap="2" count="0"/>
|
2542 |
+
<line num="1043" type="stmt" count="0"/>
|
2543 |
+
<line num="1044" type="stmt" count="0"/>
|
2544 |
+
<line num="1045" type="stmt" count="0"/>
|
2545 |
+
<line num="1046" type="stmt" count="0"/>
|
2546 |
+
<line num="1048" type="stmt" count="0"/>
|
2547 |
+
<line num="1050" type="stmt" count="0"/>
|
2548 |
+
<line num="1051" type="stmt" count="0"/>
|
2549 |
+
<line num="1052" type="stmt" count="0"/>
|
2550 |
+
<line num="1053" type="stmt" count="0"/>
|
2551 |
+
<line num="1055" type="stmt" count="0"/>
|
2552 |
+
<line num="1056" type="stmt" count="0"/>
|
2553 |
+
<line num="1068" type="method" name="backup_database" visibility="private" complexity="7" crap="13.12" count="3"/>
|
2554 |
+
<line num="1073" type="stmt" count="3"/>
|
2555 |
+
<line num="1074" type="stmt" count="0"/>
|
2556 |
+
<line num="1078" type="stmt" count="3"/>
|
2557 |
+
<line num="1080" type="stmt" count="0"/>
|
2558 |
+
<line num="1081" type="stmt" count="0"/>
|
2559 |
<line num="1085" type="stmt" count="3"/>
|
2560 |
+
<line num="1088" type="stmt" count="3"/>
|
|
|
2561 |
<line num="1091" type="stmt" count="3"/>
|
2562 |
+
<line num="1093" type="stmt" count="0"/>
|
2563 |
+
<line num="1095" type="stmt" count="0"/>
|
2564 |
+
<line num="1097" type="stmt" count="0"/>
|
2565 |
+
<line num="1098" type="stmt" count="0"/>
|
2566 |
+
<line num="1102" type="stmt" count="3"/>
|
2567 |
+
<line num="1105" type="stmt" count="3"/>
|
|
|
|
|
2568 |
<line num="1107" type="stmt" count="3"/>
|
2569 |
+
<line num="1110" type="stmt" count="3"/>
|
2570 |
+
<line num="1111" type="stmt" count="3"/>
|
2571 |
+
<line num="1112" type="stmt" count="0"/>
|
2572 |
+
<line num="1116" type="stmt" count="3"/>
|
2573 |
+
<line num="1117" type="stmt" count="3"/>
|
2574 |
+
<line num="1119" type="stmt" count="0"/>
|
2575 |
+
<line num="1121" type="stmt" count="0"/>
|
2576 |
+
<line num="1123" type="stmt" count="0"/>
|
2577 |
+
<line num="1124" type="stmt" count="0"/>
|
2578 |
+
<line num="1126" type="stmt" count="3"/>
|
2579 |
+
<line num="1127" type="stmt" count="3"/>
|
2580 |
+
<line num="1129" type="stmt" count="0"/>
|
2581 |
+
<line num="1131" type="stmt" count="0"/>
|
2582 |
+
<line num="1133" type="stmt" count="0"/>
|
2583 |
+
<line num="1134" type="stmt" count="0"/>
|
2584 |
+
<line num="1138" type="stmt" count="3"/>
|
2585 |
+
<line num="1141" type="stmt" count="3"/>
|
2586 |
+
<line num="1161" type="method" name="restore_database" visibility="private" complexity="9" crap="26.50" count="1"/>
|
2587 |
<line num="1163" type="stmt" count="1"/>
|
2588 |
+
<line num="1165" type="stmt" count="0"/>
|
2589 |
+
<line num="1166" type="stmt" count="0"/>
|
2590 |
+
<line num="1167" type="stmt" count="0"/>
|
2591 |
+
<line num="1169" type="stmt" count="0"/>
|
2592 |
+
<line num="1171" type="stmt" count="0"/>
|
2593 |
+
<line num="1175" type="stmt" count="1"/>
|
2594 |
+
<line num="1177" type="stmt" count="0"/>
|
2595 |
+
<line num="1179" type="stmt" count="0"/>
|
2596 |
+
<line num="1183" type="stmt" count="1"/>
|
2597 |
+
<line num="1186" type="stmt" count="1"/>
|
2598 |
+
<line num="1189" type="stmt" count="1"/>
|
2599 |
+
<line num="1190" type="stmt" count="1"/>
|
2600 |
+
<line num="1192" type="stmt" count="1"/>
|
2601 |
+
<line num="1194" type="stmt" count="1"/>
|
2602 |
+
<line num="1200" type="stmt" count="0"/>
|
2603 |
+
<line num="1201" type="stmt" count="0"/>
|
2604 |
+
<line num="1204" type="stmt" count="1"/>
|
2605 |
<line num="1205" type="stmt" count="1"/>
|
2606 |
+
<line num="1207" type="stmt" count="1"/>
|
2607 |
+
<line num="1208" type="stmt" count="0"/>
|
2608 |
+
<line num="1209" type="stmt" count="0"/>
|
2609 |
+
<line num="1213" type="stmt" count="1"/>
|
2610 |
<line num="1215" type="stmt" count="0"/>
|
|
|
|
|
2611 |
<line num="1218" type="stmt" count="0"/>
|
2612 |
+
<line num="1219" type="stmt" count="0"/>
|
2613 |
+
<line num="1222" type="stmt" count="1"/>
|
2614 |
+
<line num="1225" type="stmt" count="1"/>
|
2615 |
+
<line num="1226" type="stmt" count="1"/>
|
2616 |
+
<line num="1229" type="stmt" count="1"/>
|
2617 |
+
<line num="1231" type="stmt" count="0"/>
|
|
|
2618 |
<line num="1233" type="stmt" count="0"/>
|
2619 |
+
<line num="1235" type="stmt" count="0"/>
|
2620 |
+
<line num="1236" type="stmt" count="0"/>
|
2621 |
+
<line num="1237" type="stmt" count="0"/>
|
2622 |
+
<line num="1238" type="stmt" count="0"/>
|
2623 |
+
<line num="1240" type="stmt" count="0"/>
|
2624 |
+
<line num="1242" type="stmt" count="0"/>
|
2625 |
+
<line num="1243" type="stmt" count="0"/>
|
2626 |
+
<line num="1244" type="stmt" count="0"/>
|
2627 |
+
<line num="1247" type="stmt" count="1"/>
|
2628 |
+
<line num="1250" type="stmt" count="0"/>
|
2629 |
+
<line num="1252" type="stmt" count="0"/>
|
2630 |
+
<line num="1253" type="stmt" count="0"/>
|
2631 |
+
<line num="1256" type="stmt" count="1"/>
|
2632 |
+
<line num="1267" type="method" name="get_filelist" visibility="public" complexity="10" crap="10.11" count="3"/>
|
2633 |
+
<line num="1270" type="stmt" count="3"/>
|
2634 |
+
<line num="1271" type="stmt" count="0"/>
|
2635 |
+
<line num="1275" type="stmt" count="3"/>
|
2636 |
+
<line num="1278" type="stmt" count="3"/>
|
2637 |
+
<line num="1279" type="stmt" count="0"/>
|
2638 |
+
<line num="1283" type="stmt" count="3"/>
|
2639 |
<line num="1286" type="stmt" count="3"/>
|
2640 |
<line num="1287" type="stmt" count="3"/>
|
2641 |
<line num="1288" type="stmt" count="3"/>
|
|
|
2642 |
<line num="1291" type="stmt" count="3"/>
|
2643 |
+
<line num="1294" type="stmt" count="3"/>
|
2644 |
+
<line num="1305" type="stmt" count="3"/>
|
2645 |
+
<line num="1306" type="stmt" count="3"/>
|
2646 |
+
<line num="1307" type="stmt" count="3"/>
|
2647 |
+
<line num="1308" type="stmt" count="3"/>
|
|
|
|
|
|
|
2648 |
<line num="1309" type="stmt" count="3"/>
|
2649 |
+
<line num="1311" type="stmt" count="3"/>
|
2650 |
+
<line num="1313" type="stmt" count="3"/>
|
2651 |
+
<line num="1316" type="stmt" count="3"/>
|
2652 |
+
<line num="1317" type="stmt" count="0"/>
|
2653 |
<line num="1319" type="stmt" count="3"/>
|
2654 |
+
<line num="1320" type="stmt" count="3"/>
|
2655 |
<line num="1323" type="stmt" count="3"/>
|
2656 |
+
<line num="1324" type="stmt" count="3"/>
|
2657 |
+
<line num="1327" type="stmt" count="0"/>
|
2658 |
<line num="1329" type="stmt" count="3"/>
|
|
|
|
|
2659 |
<line num="1332" type="stmt" count="3"/>
|
2660 |
<line num="1334" type="stmt" count="3"/>
|
2661 |
+
<line num="1335" type="stmt" count="3"/>
|
2662 |
<line num="1337" type="stmt" count="3"/>
|
2663 |
+
<line num="1339" type="stmt" count="3"/>
|
2664 |
+
<line num="1343" type="stmt" count="3"/>
|
2665 |
+
<line num="1346" type="stmt" count="3"/>
|
2666 |
+
<line num="1349" type="stmt" count="3"/>
|
2667 |
+
<line num="1350" type="stmt" count="3"/>
|
2668 |
+
<line num="1351" type="stmt" count="3"/>
|
2669 |
+
<line num="1352" type="stmt" count="3"/>
|
2670 |
+
<line num="1354" type="stmt" count="3"/>
|
2671 |
+
<line num="1357" type="stmt" count="3"/>
|
2672 |
+
<line num="1373" type="method" name="get_filtered_filelist" visibility="public" complexity="8" crap="8.30" count="3"/>
|
2673 |
<line num="1376" type="stmt" count="3"/>
|
2674 |
+
<line num="1377" type="stmt" count="0"/>
|
2675 |
+
<line num="1381" type="stmt" count="3"/>
|
2676 |
+
<line num="1384" type="stmt" count="3"/>
|
2677 |
+
<line num="1385" type="stmt" count="0"/>
|
2678 |
+
<line num="1389" type="stmt" count="3"/>
|
2679 |
+
<line num="1392" type="stmt" count="3"/>
|
2680 |
+
<line num="1395" type="stmt" count="3"/>
|
|
|
2681 |
<line num="1396" type="stmt" count="3"/>
|
2682 |
+
<line num="1398" type="stmt" count="3"/>
|
2683 |
+
<line num="1399" type="stmt" count="0"/>
|
2684 |
+
<line num="1402" type="stmt" count="3"/>
|
2685 |
+
<line num="1403" type="stmt" count="3"/>
|
2686 |
+
<line num="1406" type="stmt" count="3"/>
|
2687 |
+
<line num="1407" type="stmt" count="3"/>
|
2688 |
<line num="1410" type="stmt" count="3"/>
|
2689 |
<line num="1413" type="stmt" count="3"/>
|
2690 |
<line num="1416" type="stmt" count="3"/>
|
2691 |
+
<line num="1428" type="method" name="generate_archive_path" visibility="public" complexity="3" crap="3.00" count="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
2692 |
<line num="1430" type="stmt" count="3"/>
|
2693 |
+
<line num="1433" type="stmt" count="3"/>
|
2694 |
+
<line num="1436" type="stmt" count="3"/>
|
2695 |
+
<line num="1437" type="stmt" count="0"/>
|
2696 |
+
<line num="1441" type="stmt" count="3"/>
|
2697 |
+
<line num="1444" type="stmt" count="3"/>
|
2698 |
+
<line num="1446" type="stmt" count="3"/>
|
2699 |
+
<line num="1447" type="stmt" count="3"/>
|
2700 |
+
<line num="1448" type="stmt" count="3"/>
|
2701 |
+
<line num="1449" type="stmt" count="3"/>
|
2702 |
+
<line num="1450" type="stmt" count="3"/>
|
2703 |
+
<line num="1451" type="stmt" count="3"/>
|
2704 |
+
<line num="1452" type="stmt" count="3"/>
|
2705 |
+
<line num="1455" type="stmt" count="3"/>
|
2706 |
+
<line num="1458" type="stmt" count="3"/>
|
2707 |
+
<line num="1460" type="stmt" count="3"/>
|
2708 |
+
<line num="1462" type="stmt" count="3"/>
|
2709 |
+
<line num="1463" type="stmt" count="3"/>
|
2710 |
+
<line num="1465" type="stmt" count="3"/>
|
2711 |
+
<line num="1480" type="method" name="archive_files" visibility="public" complexity="49" crap="97.96" count="3"/>
|
2712 |
<line num="1481" type="stmt" count="3"/>
|
2713 |
<line num="1482" type="stmt" count="3"/>
|
2714 |
+
<line num="1484" type="stmt" count="3"/>
|
2715 |
+
<line num="1490" type="stmt" count="3"/>
|
2716 |
+
<line num="1492" type="stmt" count="3"/>
|
2717 |
<line num="1493" type="stmt" count="3"/>
|
2718 |
+
<line num="1494" type="stmt" count="3"/>
|
2719 |
+
<line num="1501" type="stmt" count="3"/>
|
2720 |
+
<line num="1503" type="stmt" count="3"/>
|
2721 |
+
<line num="1504" type="stmt" count="3"/>
|
2722 |
+
<line num="1505" type="stmt" count="3"/>
|
2723 |
+
<line num="1516" type="stmt" count="3"/>
|
2724 |
+
<line num="1517" type="stmt" count="0"/>
|
2725 |
+
<line num="1518" type="stmt" count="0"/>
|
2726 |
+
<line num="1519" type="stmt" count="0"/>
|
|
|
|
|
|
|
2727 |
<line num="1523" type="stmt" count="3"/>
|
2728 |
+
<line num="1525" type="stmt" count="0"/>
|
2729 |
+
<line num="1527" type="stmt" count="0"/>
|
2730 |
+
<line num="1528" type="stmt" count="0"/>
|
2731 |
+
<line num="1530" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
2732 |
<line num="1534" type="stmt" count="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2733 |
<line num="1543" type="stmt" count="3"/>
|
2734 |
<line num="1544" type="stmt" count="3"/>
|
2735 |
<line num="1545" type="stmt" count="3"/>
|
2737 |
<line num="1547" type="stmt" count="3"/>
|
2738 |
<line num="1548" type="stmt" count="3"/>
|
2739 |
<line num="1549" type="stmt" count="3"/>
|
2740 |
+
<line num="1550" type="stmt" count="3"/>
|
2741 |
+
<line num="1551" type="stmt" count="3"/>
|
2742 |
<line num="1552" type="stmt" count="3"/>
|
2743 |
+
<line num="1553" type="stmt" count="3"/>
|
2744 |
+
<line num="1555" type="stmt" count="3"/>
|
2745 |
+
<line num="1556" type="stmt" count="3"/>
|
|
|
2746 |
<line num="1557" type="stmt" count="3"/>
|
2747 |
+
<line num="1558" type="stmt" count="3"/>
|
2748 |
+
<line num="1560" type="stmt" count="3"/>
|
2749 |
+
<line num="1561" type="stmt" count="3"/>
|
|
|
2750 |
<line num="1562" type="stmt" count="3"/>
|
2751 |
+
<line num="1563" type="stmt" count="3"/>
|
2752 |
+
<line num="1564" type="stmt" count="3"/>
|
2753 |
<line num="1565" type="stmt" count="3"/>
|
2754 |
+
<line num="1566" type="stmt" count="3"/>
|
2755 |
+
<line num="1567" type="stmt" count="3"/>
|
2756 |
<line num="1568" type="stmt" count="3"/>
|
2757 |
+
<line num="1569" type="stmt" count="3"/>
|
2758 |
+
<line num="1570" type="stmt" count="3"/>
|
2759 |
+
<line num="1571" type="stmt" count="3"/>
|
2760 |
+
<line num="1572" type="stmt" count="3"/>
|
2761 |
+
<line num="1575" type="stmt" count="3"/>
|
2762 |
+
<line num="1576" type="stmt" count="0"/>
|
2763 |
+
<line num="1577" type="stmt" count="3"/>
|
2764 |
+
<line num="1578" type="stmt" count="0"/>
|
2765 |
+
<line num="1579" type="stmt" count="0"/>
|
2766 |
+
<line num="1580" type="stmt" count="3"/>
|
2767 |
+
<line num="1581" type="stmt" count="0"/>
|
2768 |
<line num="1582" type="stmt" count="3"/>
|
2769 |
+
<line num="1583" type="stmt" count="0"/>
|
2770 |
+
<line num="1584" type="stmt" count="0"/>
|
2771 |
<line num="1585" type="stmt" count="3"/>
|
2772 |
+
<line num="1588" type="stmt" count="3"/>
|
|
|
|
|
2773 |
<line num="1591" type="stmt" count="3"/>
|
2774 |
+
<line num="1592" type="stmt" count="0"/>
|
2775 |
+
<line num="1596" type="stmt" count="3"/>
|
2776 |
+
<line num="1599" type="stmt" count="3"/>
|
2777 |
+
<line num="1602" type="stmt" count="3"/>
|
2778 |
+
<line num="1605" type="stmt" count="3"/>
|
2779 |
+
<line num="1606" type="stmt" count="3"/>
|
2780 |
+
<line num="1607" type="stmt" count="3"/>
|
2781 |
+
<line num="1609" type="stmt" count="3"/>
|
2782 |
+
<line num="1611" type="stmt" count="3"/>
|
2783 |
+
<line num="1612" type="stmt" count="3"/>
|
2784 |
+
<line num="1614" type="stmt" count="3"/>
|
2785 |
+
<line num="1616" type="stmt" count="0"/>
|
2786 |
<line num="1617" type="stmt" count="0"/>
|
2787 |
+
<line num="1618" type="stmt" count="0"/>
|
2788 |
+
<line num="1620" type="stmt" count="3"/>
|
2789 |
<line num="1623" type="stmt" count="3"/>
|
|
|
|
|
2790 |
<line num="1626" type="stmt" count="3"/>
|
|
|
2791 |
<line num="1629" type="stmt" count="3"/>
|
2792 |
+
<line num="1632" type="stmt" count="3"/>
|
2793 |
+
<line num="1633" type="stmt" count="0"/>
|
2794 |
+
<line num="1635" type="stmt" count="0"/>
|
2795 |
+
<line num="1636" type="stmt" count="0"/>
|
2796 |
+
<line num="1638" type="stmt" count="0"/>
|
2797 |
+
<line num="1642" type="stmt" count="3"/>
|
2798 |
<line num="1645" type="stmt" count="3"/>
|
2799 |
+
<line num="1646" type="stmt" count="0"/>
|
2800 |
+
<line num="1650" type="stmt" count="3"/>
|
2801 |
<line num="1651" type="stmt" count="3"/>
|
|
|
|
|
2802 |
<line num="1654" type="stmt" count="3"/>
|
2803 |
<line num="1655" type="stmt" count="3"/>
|
2804 |
+
<line num="1656" type="stmt" count="3"/>
|
2805 |
+
<line num="1657" type="stmt" count="3"/>
|
2806 |
+
<line num="1659" type="stmt" count="3"/>
|
2807 |
+
<line num="1661" type="stmt" count="3"/>
|
2808 |
+
<line num="1662" type="stmt" count="3"/>
|
2809 |
+
<line num="1663" type="stmt" count="3"/>
|
2810 |
+
<line num="1664" type="stmt" count="3"/>
|
2811 |
+
<line num="1665" type="stmt" count="3"/>
|
2812 |
+
<line num="1666" type="stmt" count="3"/>
|
2813 |
+
<line num="1667" type="stmt" count="3"/>
|
2814 |
+
<line num="1668" type="stmt" count="3"/>
|
2815 |
+
<line num="1669" type="stmt" count="3"/>
|
2816 |
+
<line num="1671" type="stmt" count="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2817 |
<line num="1683" type="stmt" count="3"/>
|
2818 |
<line num="1685" type="stmt" count="3"/>
|
2819 |
+
<line num="1687" type="stmt" count="3"/>
|
2820 |
<line num="1688" type="stmt" count="3"/>
|
|
|
|
|
|
|
2821 |
<line num="1694" type="stmt" count="3"/>
|
2822 |
+
<line num="1695" type="stmt" count="3"/>
|
2823 |
+
<line num="1696" type="stmt" count="3"/>
|
2824 |
+
<line num="1697" type="stmt" count="3"/>
|
2825 |
<line num="1698" type="stmt" count="3"/>
|
2826 |
+
<line num="1699" type="stmt" count="0"/>
|
2827 |
+
<line num="1700" type="stmt" count="0"/>
|
2828 |
+
<line num="1701" type="stmt" count="0"/>
|
2829 |
+
<line num="1702" type="stmt" count="0"/>
|
2830 |
+
<line num="1703" type="stmt" count="0"/>
|
2831 |
+
<line num="1705" type="stmt" count="0"/>
|
2832 |
+
<line num="1706" type="stmt" count="0"/>
|
2833 |
+
<line num="1707" type="stmt" count="0"/>
|
2834 |
+
<line num="1709" type="stmt" count="0"/>
|
2835 |
+
<line num="1710" type="stmt" count="0"/>
|
2836 |
+
<line num="1711" type="stmt" count="0"/>
|
2837 |
+
<line num="1713" type="stmt" count="0"/>
|
2838 |
+
<line num="1714" type="stmt" count="0"/>
|
2839 |
+
<line num="1715" type="stmt" count="0"/>
|
2840 |
+
<line num="1717" type="stmt" count="0"/>
|
2841 |
+
<line num="1718" type="stmt" count="0"/>
|
2842 |
+
<line num="1719" type="stmt" count="0"/>
|
2843 |
+
<line num="1721" type="stmt" count="0"/>
|
2844 |
+
<line num="1722" type="stmt" count="0"/>
|
2845 |
+
<line num="1723" type="stmt" count="0"/>
|
2846 |
+
<line num="1724" type="stmt" count="0"/>
|
2847 |
+
<line num="1725" type="stmt" count="0"/>
|
2848 |
+
<line num="1726" type="stmt" count="3"/>
|
2849 |
+
<line num="1728" type="stmt" count="3"/>
|
2850 |
+
<line num="1729" type="stmt" count="3"/>
|
2851 |
+
<line num="1732" type="stmt" count="3"/>
|
2852 |
+
<line num="1733" type="stmt" count="3"/>
|
2853 |
+
<line num="1734" type="stmt" count="0"/>
|
2854 |
+
<line num="1735" type="stmt" count="0"/>
|
2855 |
+
<line num="1736" type="stmt" count="3"/>
|
2856 |
+
<line num="1737" type="stmt" count="3"/>
|
2857 |
+
<line num="1738" type="stmt" count="3"/>
|
2858 |
+
<line num="1739" type="stmt" count="3"/>
|
2859 |
+
<line num="1740" type="stmt" count="3"/>
|
2860 |
+
<line num="1741" type="stmt" count="3"/>
|
2861 |
+
<line num="1742" type="stmt" count="3"/>
|
2862 |
+
<line num="1743" type="stmt" count="3"/>
|
2863 |
+
<line num="1744" type="stmt" count="3"/>
|
2864 |
<line num="1746" type="stmt" count="3"/>
|
2865 |
+
<line num="1747" type="stmt" count="3"/>
|
2866 |
+
<line num="1749" type="stmt" count="3"/>
|
2867 |
+
<line num="1751" type="stmt" count="3"/>
|
2868 |
+
<line num="1752" type="stmt" count="0"/>
|
2869 |
+
<line num="1753" type="stmt" count="0"/>
|
2870 |
+
<line num="1755" type="stmt" count="3"/>
|
2871 |
+
<line num="1756" type="stmt" count="0"/>
|
2872 |
<line num="1759" type="stmt" count="3"/>
|
|
|
2873 |
<line num="1761" type="stmt" count="3"/>
|
2874 |
+
<line num="1763" type="stmt" count="3"/>
|
2875 |
<line num="1766" type="stmt" count="3"/>
|
2876 |
+
<line num="1769" type="stmt" count="3"/>
|
2877 |
+
<line num="1770" type="stmt" count="3"/>
|
2878 |
<line num="1773" type="stmt" count="3"/>
|
2879 |
+
<line num="1776" type="stmt" count="3"/>
|
2880 |
<line num="1777" type="stmt" count="3"/>
|
2881 |
+
<line num="1778" type="stmt" count="3"/>
|
2882 |
+
<line num="1807" type="stmt" count="3"/>
|
2883 |
+
<line num="1818" type="stmt" count="3"/>
|
2884 |
+
<line num="1819" type="stmt" count="3"/>
|
2885 |
+
<line num="1821" type="stmt" count="3"/>
|
2886 |
+
<line num="1822" type="stmt" count="3"/>
|
2887 |
+
<line num="1823" type="stmt" count="3"/>
|
2888 |
+
<line num="1825" type="stmt" count="3"/>
|
2889 |
+
<line num="1826" type="stmt" count="3"/>
|
2890 |
+
<line num="1829" type="stmt" count="3"/>
|
2891 |
+
<line num="1831" type="stmt" count="3"/>
|
2892 |
+
<line num="1833" type="stmt" count="3"/>
|
2893 |
+
<line num="1836" type="stmt" count="3"/>
|
2894 |
+
<line num="1838" type="stmt" count="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2895 |
<line num="1839" type="stmt" count="3"/>
|
2896 |
+
<line num="1842" type="stmt" count="3"/>
|
2897 |
+
<line num="1843" type="stmt" count="0"/>
|
2898 |
+
<line num="1844" type="stmt" count="0"/>
|
2899 |
+
<line num="1846" type="stmt" count="3"/>
|
2900 |
+
<line num="1848" type="stmt" count="3"/>
|
2901 |
+
<line num="1849" type="stmt" count="0"/>
|
2902 |
+
<line num="1850" type="stmt" count="0"/>
|
2903 |
+
<line num="1852" type="stmt" count="3"/>
|
2904 |
+
<line num="1853" type="stmt" count="3"/>
|
2905 |
+
<line num="1856" type="stmt" count="3"/>
|
2906 |
+
<line num="1877" type="method" name="get_archive_list" visibility="public" complexity="11" crap="11.15" count="4"/>
|
2907 |
+
<line num="1879" type="stmt" count="4"/>
|
2908 |
+
<line num="1882" type="stmt" count="4"/>
|
2909 |
+
<line num="1885" type="stmt" count="4"/>
|
2910 |
+
<line num="1886" type="stmt" count="4"/>
|
2911 |
+
<line num="1887" type="stmt" count="4"/>
|
2912 |
+
<line num="1890" type="stmt" count="4"/>
|
2913 |
+
<line num="1891" type="stmt" count="0"/>
|
2914 |
+
<line num="1895" type="stmt" count="4"/>
|
2915 |
+
<line num="1898" type="stmt" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
2916 |
<line num="1899" type="stmt" count="0"/>
|
2917 |
+
<line num="1903" type="stmt" count="4"/>
|
2918 |
+
<line num="1904" type="stmt" count="0"/>
|
2919 |
+
<line num="1906" type="stmt" count="4"/>
|
2920 |
+
<line num="1907" type="stmt" count="2"/>
|
2921 |
+
<line num="1910" type="stmt" count="4"/>
|
2922 |
+
<line num="1911" type="stmt" count="3"/>
|
2923 |
+
<line num="1914" type="stmt" count="4"/>
|
2924 |
+
<line num="1916" type="stmt" count="4"/>
|
2925 |
+
<line num="1919" type="stmt" count="4"/>
|
2926 |
+
<line num="1922" type="stmt" count="4"/>
|
2927 |
+
<line num="1923" type="stmt" count="4"/>
|
2928 |
+
<line num="1925" type="stmt" count="3"/>
|
2929 |
+
<line num="1928" type="stmt" count="3"/>
|
|
|
|
|
2930 |
<line num="1929" type="stmt" count="0"/>
|
2931 |
+
<line num="1934" type="stmt" count="3"/>
|
2932 |
+
<line num="1935" type="stmt" count="3"/>
|
2933 |
+
<line num="1936" type="stmt" count="3"/>
|
2934 |
+
<line num="1937" type="stmt" count="3"/>
|
2935 |
+
<line num="1938" type="stmt" count="3"/>
|
2936 |
+
<line num="1939" type="stmt" count="3"/>
|
2937 |
+
<line num="1940" type="stmt" count="3"/>
|
2938 |
+
<line num="1941" type="stmt" count="3"/>
|
2939 |
+
<line num="1945" type="stmt" count="3"/>
|
2940 |
+
<line num="1946" type="stmt" count="1"/>
|
2941 |
+
<line num="1948" type="stmt" count="3"/>
|
2942 |
+
<line num="1949" type="stmt" count="4"/>
|
2943 |
+
<line num="1952" type="stmt" count="4"/>
|
2944 |
+
<line num="1963" type="method" name="delete_archive_file" visibility="public" complexity="11" crap="132" count="0"/>
|
|
|
|
|
2945 |
<line num="1966" type="stmt" count="0"/>
|
2946 |
<line num="1967" type="stmt" count="0"/>
|
2947 |
+
<line num="1971" type="stmt" count="0"/>
|
2948 |
+
<line num="1974" type="stmt" count="0"/>
|
|
|
2949 |
<line num="1977" type="stmt" count="0"/>
|
2950 |
<line num="1978" type="stmt" count="0"/>
|
2951 |
<line num="1979" type="stmt" count="0"/>
|
2952 |
+
<line num="1980" type="stmt" count="0"/>
|
2953 |
+
<line num="1982" type="stmt" count="0"/>
|
2954 |
+
<line num="1983" type="stmt" count="0"/>
|
2955 |
<line num="1984" type="stmt" count="0"/>
|
|
|
2956 |
<line num="1986" type="stmt" count="0"/>
|
2957 |
+
<line num="1988" type="stmt" count="0"/>
|
2958 |
+
<line num="1992" type="stmt" count="0"/>
|
2959 |
+
<line num="1993" type="stmt" count="0"/>
|
2960 |
+
<line num="1994" type="stmt" count="0"/>
|
2961 |
+
<line num="1996" type="stmt" count="0"/>
|
2962 |
+
<line num="1997" type="stmt" count="0"/>
|
2963 |
+
<line num="1998" type="stmt" count="0"/>
|
2964 |
<line num="2000" type="stmt" count="0"/>
|
2965 |
+
<line num="2002" type="stmt" count="0"/>
|
2966 |
+
<line num="2006" type="stmt" count="0"/>
|
2967 |
+
<line num="2007" type="stmt" count="0"/>
|
2968 |
+
<line num="2011" type="stmt" count="0"/>
|
2969 |
+
<line num="2014" type="stmt" count="0"/>
|
2970 |
+
<line num="2016" type="stmt" count="0"/>
|
2971 |
+
<line num="2017" type="stmt" count="0"/>
|
2972 |
+
<line num="2018" type="stmt" count="0"/>
|
2973 |
+
<line num="2020" type="stmt" count="0"/>
|
2974 |
+
<line num="2022" type="stmt" count="0"/>
|
2975 |
+
<line num="2027" type="stmt" count="0"/>
|
2976 |
+
<line num="2028" type="stmt" count="0"/>
|
2977 |
+
<line num="2029" type="stmt" count="0"/>
|
2978 |
+
<line num="2032" type="stmt" count="0"/>
|
2979 |
+
<line num="2034" type="stmt" count="0"/>
|
2980 |
+
<line num="2035" type="stmt" count="0"/>
|
2981 |
+
<line num="2036" type="stmt" count="0"/>
|
2982 |
+
<line num="2038" type="stmt" count="0"/>
|
2983 |
+
<line num="2040" type="stmt" count="0"/>
|
2984 |
+
<line num="2045" type="stmt" count="0"/>
|
2985 |
<line num="2046" type="stmt" count="0"/>
|
2986 |
+
<line num="2047" type="stmt" count="0"/>
|
2987 |
<line num="2049" type="stmt" count="0"/>
|
2988 |
<line num="2052" type="stmt" count="0"/>
|
2989 |
<line num="2053" type="stmt" count="0"/>
|
2990 |
+
<line num="2054" type="stmt" count="0"/>
|
2991 |
+
<line num="2055" type="stmt" count="0"/>
|
2992 |
<line num="2057" type="stmt" count="0"/>
|
2993 |
<line num="2058" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
2994 |
<line num="2068" type="stmt" count="0"/>
|
2995 |
+
<line num="2071" type="stmt" count="0"/>
|
2996 |
+
<line num="2084" type="method" name="get_dump_file" visibility="public" complexity="9" crap="25.08" count="1"/>
|
2997 |
+
<line num="2086" type="stmt" count="1"/>
|
2998 |
+
<line num="2087" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2999 |
<line num="2107" type="stmt" count="1"/>
|
3000 |
+
<line num="2108" type="stmt" count="1"/>
|
3001 |
+
<line num="2109" type="stmt" count="1"/>
|
3002 |
+
<line num="2110" type="stmt" count="1"/>
|
3003 |
+
<line num="2114" type="stmt" count="0"/>
|
3004 |
+
<line num="2117" type="stmt" count="0"/>
|
3005 |
+
<line num="2120" type="stmt" count="0"/>
|
3006 |
+
<line num="2121" type="stmt" count="0"/>
|
3007 |
+
<line num="2125" type="stmt" count="0"/>
|
|
|
|
|
3008 |
<line num="2126" type="stmt" count="0"/>
|
3009 |
+
<line num="2127" type="method" name="anonymous function" complexity="3" crap="12" count="0"/>
|
3010 |
+
<line num="2128" type="stmt" count="0"/>
|
3011 |
+
<line num="2129" type="stmt" count="0"/>
|
3012 |
+
<line num="2132" type="stmt" count="0"/>
|
3013 |
+
<line num="2133" type="stmt" count="0"/>
|
3014 |
+
<line num="2136" type="stmt" count="0"/>
|
3015 |
+
<line num="2138" type="stmt" count="0"/>
|
3016 |
+
<line num="2145" type="stmt" count="0"/>
|
3017 |
+
<line num="2146" type="stmt" count="0"/>
|
3018 |
+
<line num="2147" type="stmt" count="0"/>
|
|
|
3019 |
<line num="2148" type="stmt" count="0"/>
|
3020 |
+
<line num="2150" type="stmt" count="0"/>
|
3021 |
+
<line num="2153" type="stmt" count="0"/>
|
3022 |
+
<line num="2166" type="method" name="restore_archive_file" visibility="public" complexity="25" crap="44.07" count="1"/>
|
3023 |
+
<line num="2167" type="stmt" count="1"/>
|
3024 |
+
<line num="2170" type="stmt" count="1"/>
|
3025 |
+
<line num="2171" type="stmt" count="0"/>
|
3026 |
+
<line num="2175" type="stmt" count="1"/>
|
3027 |
+
<line num="2176" type="stmt" count="0"/>
|
|
|
|
|
|
|
3028 |
<line num="2180" type="stmt" count="1"/>
|
3029 |
+
<line num="2181" type="stmt" count="1"/>
|
3030 |
<line num="2184" type="stmt" count="1"/>
|
3031 |
+
<line num="2185" type="stmt" count="1"/>
|
3032 |
<line num="2186" type="stmt" count="1"/>
|
3033 |
<line num="2187" type="stmt" count="0"/>
|
3034 |
+
<line num="2191" type="stmt" count="1"/>
|
3035 |
+
<line num="2192" type="stmt" count="1"/>
|
3036 |
+
<line num="2193" type="stmt" count="1"/>
|
3037 |
+
<line num="2194" type="stmt" count="0"/>
|
3038 |
+
<line num="2198" type="stmt" count="1"/>
|
3039 |
+
<line num="2200" type="stmt" count="1"/>
|
3040 |
+
<line num="2201" type="stmt" count="1"/>
|
3041 |
<line num="2202" type="stmt" count="0"/>
|
3042 |
+
<line num="2205" type="stmt" count="1"/>
|
3043 |
+
<line num="2207" type="stmt" count="1"/>
|
3044 |
+
<line num="2208" type="stmt" count="0"/>
|
3045 |
+
<line num="2211" type="stmt" count="1"/>
|
3046 |
+
<line num="2213" type="stmt" count="1"/>
|
3047 |
+
<line num="2214" type="stmt" count="1"/>
|
3048 |
<line num="2215" type="stmt" count="1"/>
|
3049 |
+
<line num="2216" type="stmt" count="0"/>
|
3050 |
+
<line num="2221" type="stmt" count="1"/>
|
3051 |
+
<line num="2222" type="stmt" count="1"/>
|
3052 |
+
<line num="2223" type="stmt" count="1"/>
|
3053 |
<line num="2224" type="stmt" count="1"/>
|
3054 |
<line num="2225" type="stmt" count="1"/>
|
3055 |
<line num="2226" type="stmt" count="1"/>
|
3056 |
+
<line num="2227" type="stmt" count="1"/>
|
3057 |
+
<line num="2228" type="stmt" count="1"/>
|
3058 |
+
<line num="2231" type="stmt" count="1"/>
|
3059 |
<line num="2233" type="stmt" count="1"/>
|
|
|
|
|
|
|
|
|
|
|
3060 |
<line num="2242" type="stmt" count="1"/>
|
3061 |
+
<line num="2248" type="stmt" count="1"/>
|
3062 |
+
<line num="2249" type="stmt" count="0"/>
|
3063 |
+
<line num="2252" type="stmt" count="1"/>
|
3064 |
+
<line num="2254" type="stmt" count="1"/>
|
3065 |
+
<line num="2255" type="stmt" count="0"/>
|
3066 |
+
<line num="2265" type="stmt" count="0"/>
|
3067 |
+
<line num="2267" type="stmt" count="0"/>
|
3068 |
+
<line num="2268" type="stmt" count="0"/>
|
3069 |
+
<line num="2269" type="stmt" count="0"/>
|
3070 |
+
<line num="2270" type="stmt" count="0"/>
|
3071 |
+
<line num="2271" type="stmt" count="0"/>
|
3072 |
+
<line num="2273" type="stmt" count="0"/>
|
3073 |
+
<line num="2283" type="stmt" count="1"/>
|
3074 |
+
<line num="2292" type="stmt" count="1"/>
|
3075 |
+
<line num="2293" type="stmt" count="1"/>
|
3076 |
+
<line num="2294" type="stmt" count="1"/>
|
3077 |
+
<line num="2297" type="stmt" count="1"/>
|
|
|
|
|
3078 |
<line num="2298" type="stmt" count="0"/>
|
3079 |
+
<line num="2299" type="stmt" count="0"/>
|
3080 |
+
<line num="2301" type="stmt" count="1"/>
|
3081 |
+
<line num="2302" type="stmt" count="0"/>
|
3082 |
+
<line num="2304" type="stmt" count="0"/>
|
3083 |
+
<line num="2305" type="stmt" count="0"/>
|
3084 |
<line num="2306" type="stmt" count="0"/>
|
3085 |
<line num="2307" type="stmt" count="0"/>
|
3086 |
+
<line num="2310" type="stmt" count="1"/>
|
3087 |
+
<line num="2311" type="stmt" count="1"/>
|
3088 |
+
<line num="2314" type="stmt" count="1"/>
|
3089 |
+
<line num="2315" type="stmt" count="1"/>
|
3090 |
+
<line num="2318" type="stmt" count="1"/>
|
|
|
3091 |
<line num="2320" type="stmt" count="0"/>
|
3092 |
<line num="2321" type="stmt" count="0"/>
|
3093 |
+
<line num="2323" type="stmt" count="1"/>
|
3094 |
+
<line num="2326" type="stmt" count="1"/>
|
3095 |
+
<line num="2329" type="stmt" count="1"/>
|
3096 |
+
<line num="2332" type="stmt" count="1"/>
|
3097 |
+
<line num="2334" type="stmt" count="1"/>
|
3098 |
+
<line num="2338" type="stmt" count="1"/>
|
3099 |
+
<line num="2339" type="stmt" count="1"/>
|
3100 |
+
<line num="2342" type="stmt" count="1"/>
|
3101 |
+
<line num="2345" type="stmt" count="1"/>
|
3102 |
+
<line num="2348" type="stmt" count="1"/>
|
3103 |
+
<line num="2361" type="method" name="page_archives" visibility="public" complexity="5" crap="30" count="0"/>
|
3104 |
+
<line num="2362" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
3105 |
<line num="2365" type="stmt" count="0"/>
|
3106 |
+
<line num="2366" type="stmt" count="0"/>
|
3107 |
<line num="2368" type="stmt" count="0"/>
|
3108 |
+
<line num="2371" type="stmt" count="0"/>
|
|
|
|
|
3109 |
<line num="2374" type="stmt" count="0"/>
|
3110 |
+
<line num="2375" type="stmt" count="0"/>
|
3111 |
<line num="2377" type="stmt" count="0"/>
|
|
|
3112 |
<line num="2380" type="stmt" count="0"/>
|
3113 |
+
<line num="2381" type="stmt" count="0"/>
|
3114 |
<line num="2382" type="stmt" count="0"/>
|
|
|
3115 |
<line num="2384" type="stmt" count="0"/>
|
3116 |
+
<line num="2385" type="stmt" count="0"/>
|
3117 |
+
<line num="2388" type="stmt" count="0"/>
|
3118 |
<line num="2389" type="stmt" count="0"/>
|
3119 |
+
<line num="2390" type="stmt" count="0"/>
|
3120 |
<line num="2393" type="stmt" count="0"/>
|
|
|
3121 |
<line num="2396" type="stmt" count="0"/>
|
3122 |
+
<line num="2399" type="stmt" count="0"/>
|
3123 |
+
<line num="2401" type="stmt" count="0"/>
|
3124 |
+
<line num="2402" type="stmt" count="0"/>
|
3125 |
+
<line num="2403" type="stmt" count="0"/>
|
3126 |
+
<line num="2406" type="stmt" count="0"/>
|
3127 |
<line num="2408" type="stmt" count="0"/>
|
3128 |
+
<line num="2411" type="stmt" count="0"/>
|
3129 |
+
<line num="2412" type="stmt" count="0"/>
|
3130 |
+
<line num="2413" type="stmt" count="0"/>
|
3131 |
+
<line num="2415" type="stmt" count="0"/>
|
3132 |
+
<line num="2418" type="stmt" count="0"/>
|
3133 |
+
<line num="2419" type="stmt" count="0"/>
|
3134 |
+
<line num="2428" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
3135 |
<line num="2431" type="stmt" count="0"/>
|
3136 |
<line num="2432" type="stmt" count="0"/>
|
3137 |
<line num="2433" type="stmt" count="0"/>
|
|
|
3138 |
<line num="2435" type="stmt" count="0"/>
|
3139 |
+
<line num="2436" type="stmt" count="0"/>
|
3140 |
+
<line num="2437" type="stmt" count="0"/>
|
3141 |
<line num="2440" type="stmt" count="0"/>
|
3142 |
<line num="2441" type="stmt" count="0"/>
|
3143 |
<line num="2442" type="stmt" count="0"/>
|
3144 |
+
<line num="2444" type="stmt" count="0"/>
|
3145 |
+
<line num="2445" type="stmt" count="0"/>
|
3146 |
+
<line num="2446" type="stmt" count="0"/>
|
3147 |
+
<line num="2448" type="stmt" count="0"/>
|
3148 |
<line num="2450" type="stmt" count="0"/>
|
3149 |
<line num="2451" type="stmt" count="0"/>
|
3150 |
<line num="2452" type="stmt" count="0"/>
|
3151 |
+
<line num="2454" type="stmt" count="0"/>
|
3152 |
+
<line num="2455" type="stmt" count="0"/>
|
3153 |
+
<line num="2457" type="stmt" count="0"/>
|
3154 |
<line num="2460" type="stmt" count="0"/>
|
3155 |
<line num="2461" type="stmt" count="0"/>
|
3156 |
<line num="2462" type="stmt" count="0"/>
|
3157 |
+
<line num="2464" type="stmt" count="0"/>
|
3158 |
+
<line num="2465" type="stmt" count="0"/>
|
3159 |
<line num="2466" type="stmt" count="0"/>
|
3160 |
+
<line num="2475" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
3161 |
<line num="2476" type="stmt" count="0"/>
|
3162 |
+
<line num="2488" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
3163 |
+
<line num="2490" type="stmt" count="0"/>
|
3164 |
+
<line num="2493" type="stmt" count="0"/>
|
3165 |
+
<line num="2494" type="stmt" count="0"/>
|
3166 |
+
<line num="2495" type="stmt" count="0"/>
|
3167 |
+
<line num="2496" type="stmt" count="0"/>
|
3168 |
+
<line num="2499" type="stmt" count="0"/>
|
3169 |
+
<line num="2500" type="stmt" count="0"/>
|
3170 |
<line num="2501" type="stmt" count="0"/>
|
3171 |
+
<line num="2502" type="stmt" count="0"/>
|
3172 |
+
<line num="2503" type="stmt" count="0"/>
|
3173 |
<line num="2507" type="stmt" count="0"/>
|
3174 |
+
<line num="2508" type="stmt" count="0"/>
|
3175 |
+
<line num="2509" type="stmt" count="0"/>
|
3176 |
<line num="2510" type="stmt" count="0"/>
|
3177 |
+
<line num="2511" type="stmt" count="0"/>
|
3178 |
<line num="2515" type="stmt" count="0"/>
|
3179 |
<line num="2518" type="stmt" count="0"/>
|
3180 |
+
<line num="2519" type="stmt" count="0"/>
|
3181 |
+
<line num="2520" type="stmt" count="0"/>
|
3182 |
<line num="2521" type="stmt" count="0"/>
|
3183 |
<line num="2524" type="stmt" count="0"/>
|
3184 |
<line num="2527" type="stmt" count="0"/>
|
3185 |
+
<line num="2528" type="stmt" count="0"/>
|
3186 |
<line num="2529" type="stmt" count="0"/>
|
3187 |
+
<line num="2530" type="stmt" count="0"/>
|
3188 |
+
<line num="2534" type="stmt" count="0"/>
|
3189 |
+
<line num="2535" type="stmt" count="0"/>
|
3190 |
+
<line num="2536" type="stmt" count="0"/>
|
3191 |
<line num="2539" type="stmt" count="0"/>
|
3192 |
<line num="2540" type="stmt" count="0"/>
|
3193 |
<line num="2541" type="stmt" count="0"/>
|
3194 |
+
<line num="2542" type="stmt" count="0"/>
|
3195 |
<line num="2544" type="stmt" count="0"/>
|
|
|
3196 |
<line num="2546" type="stmt" count="0"/>
|
|
|
3197 |
<line num="2548" type="stmt" count="0"/>
|
3198 |
<line num="2549" type="stmt" count="0"/>
|
3199 |
<line num="2550" type="stmt" count="0"/>
|
|
|
3200 |
<line num="2553" type="stmt" count="0"/>
|
3201 |
+
<line num="2554" type="stmt" count="0"/>
|
3202 |
+
<line num="2564" type="method" name="page_backup_test" visibility="public" complexity="6" crap="42" count="0"/>
|
3203 |
+
<line num="2566" type="stmt" count="0"/>
|
3204 |
+
<line num="2569" type="stmt" count="0"/>
|
3205 |
+
<line num="2572" type="stmt" count="0"/>
|
3206 |
+
<line num="2575" type="stmt" count="0"/>
|
3207 |
+
<line num="2578" type="stmt" count="0"/>
|
3208 |
+
<line num="2580" type="stmt" count="0"/>
|
3209 |
+
<line num="2583" type="stmt" count="0"/>
|
3210 |
+
<line num="2586" type="stmt" count="0"/>
|
3211 |
+
<line num="2589" type="stmt" count="0"/>
|
3212 |
+
<line num="2592" type="stmt" count="0"/>
|
3213 |
+
<line num="2595" type="stmt" count="0"/>
|
3214 |
+
<line num="2597" type="stmt" count="0"/>
|
3215 |
+
<line num="2605" type="stmt" count="0"/>
|
3216 |
+
<line num="2606" type="stmt" count="0"/>
|
3217 |
+
<line num="2607" type="stmt" count="0"/>
|
3218 |
+
<line num="2608" type="stmt" count="0"/>
|
3219 |
+
<line num="2609" type="stmt" count="0"/>
|
3220 |
+
<line num="2612" type="stmt" count="0"/>
|
3221 |
+
<line num="2613" type="stmt" count="0"/>
|
3222 |
+
<line num="2614" type="stmt" count="0"/>
|
3223 |
+
<line num="2615" type="stmt" count="0"/>
|
3224 |
+
<line num="2616" type="stmt" count="0"/>
|
3225 |
+
<line num="2617" type="stmt" count="0"/>
|
3226 |
+
<line num="2618" type="stmt" count="0"/>
|
3227 |
+
<line num="2619" type="stmt" count="0"/>
|
3228 |
+
<line num="2621" type="stmt" count="0"/>
|
3229 |
+
<line num="2624" type="stmt" count="0"/>
|
3230 |
+
<line num="2625" type="stmt" count="0"/>
|
3231 |
+
<line num="2626" type="stmt" count="0"/>
|
3232 |
+
<line num="2627" type="stmt" count="0"/>
|
3233 |
+
<line num="2628" type="stmt" count="0"/>
|
3234 |
+
<line num="2629" type="stmt" count="0"/>
|
3235 |
+
<line num="2632" type="stmt" count="0"/>
|
3236 |
+
<line num="2633" type="stmt" count="0"/>
|
3237 |
+
<line num="2648" type="method" name="set_doing_cron" visibility="public" complexity="3" crap="3" count="17"/>
|
3238 |
+
<line num="2649" type="stmt" count="17"/>
|
3239 |
+
<line num="2650" type="stmt" count="17"/>
|
3240 |
+
<line num="2657" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="17"/>
|
3241 |
+
<line num="2662" type="stmt" count="17"/>
|
3242 |
+
<line num="2664" type="stmt" count="17"/>
|
3243 |
+
<line num="2665" type="stmt" count="17"/>
|
3244 |
+
<line num="2666" type="stmt" count="17"/>
|
3245 |
+
<line num="2667" type="stmt" count="17"/>
|
3246 |
+
<line num="2668" type="stmt" count="17"/>
|
3247 |
+
<line num="2669" type="stmt" count="17"/>
|
3248 |
+
<line num="2671" type="stmt" count="17"/>
|
3249 |
+
<line num="2672" type="stmt" count="17"/>
|
3250 |
+
<line num="2674" type="stmt" count="17"/>
|
3251 |
+
<line num="2675" type="stmt" count="17"/>
|
3252 |
+
<line num="2676" type="stmt" count="17"/>
|
3253 |
+
<line num="2677" type="stmt" count="17"/>
|
3254 |
+
<line num="2678" type="stmt" count="17"/>
|
3255 |
+
<line num="2679" type="stmt" count="17"/>
|
3256 |
+
<line num="2681" type="stmt" count="17"/>
|
3257 |
+
<line num="2682" type="stmt" count="17"/>
|
3258 |
+
<line num="2683" type="stmt" count="17"/>
|
3259 |
+
<line num="2689" type="stmt" count="17"/>
|
3260 |
+
<line num="2691" type="stmt" count="17"/>
|
3261 |
+
<line num="2692" type="stmt" count="17"/>
|
3262 |
+
<line num="2693" type="stmt" count="17"/>
|
3263 |
+
<line num="2694" type="stmt" count="17"/>
|
3264 |
+
<line num="2695" type="stmt" count="17"/>
|
3265 |
+
<line num="2697" type="stmt" count="17"/>
|
3266 |
+
<line num="2700" type="stmt" count="17"/>
|
3267 |
+
<line num="2701" type="stmt" count="17"/>
|
3268 |
+
<line num="2703" type="stmt" count="17"/>
|
3269 |
+
<line num="2705" type="stmt" count="17"/>
|
3270 |
+
<line num="2717" type="method" name="set_time_limit" visibility="public" complexity="2" crap="2" count="3"/>
|
3271 |
+
<line num="2718" type="stmt" count="3"/>
|
3272 |
+
<line num="2720" type="stmt" count="3"/>
|
3273 |
+
<line num="2721" type="stmt" count="3"/>
|
3274 |
+
<line num="2728" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
|
3275 |
+
<line num="2729" type="stmt" count="0"/>
|
|
|
3276 |
<line num="2730" type="stmt" count="0"/>
|
3277 |
<line num="2733" type="stmt" count="0"/>
|
3278 |
<line num="2734" type="stmt" count="0"/>
|
3279 |
+
<line num="2735" type="stmt" count="0"/>
|
3280 |
+
<line num="2737" type="stmt" count="0"/>
|
3281 |
<line num="2738" type="stmt" count="0"/>
|
3282 |
+
<line num="2739" type="stmt" count="0"/>
|
3283 |
<line num="2742" type="stmt" count="0"/>
|
3284 |
+
<line num="2743" type="stmt" count="0"/>
|
3285 |
+
<line num="2744" type="stmt" count="0"/>
|
3286 |
<line num="2746" type="stmt" count="0"/>
|
3287 |
<line num="2747" type="stmt" count="0"/>
|
3288 |
+
<line num="2748" type="stmt" count="0"/>
|
3289 |
+
<line num="2750" type="stmt" count="0"/>
|
3290 |
+
<line num="2763" type="stmt" count="0"/>
|
3291 |
+
<line num="2764" type="stmt" count="0"/>
|
3292 |
+
<line num="2766" type="stmt" count="0"/>
|
3293 |
+
<line num="2767" type="stmt" count="0"/>
|
3294 |
<line num="2768" type="stmt" count="0"/>
|
3295 |
<line num="2769" type="stmt" count="0"/>
|
3296 |
+
<line num="2770" type="stmt" count="0"/>
|
3297 |
+
<line num="2772" type="stmt" count="0"/>
|
3298 |
+
<line num="2773" type="stmt" count="0"/>
|
3299 |
+
<line num="2774" type="stmt" count="0"/>
|
3300 |
+
<line num="2775" type="stmt" count="0"/>
|
3301 |
+
<line num="2777" type="stmt" count="0"/>
|
3302 |
+
<line num="2779" type="stmt" count="0"/>
|
3303 |
+
<line num="2780" type="stmt" count="0"/>
|
3304 |
+
<line num="2796" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
|
3305 |
+
<line num="2798" type="stmt" count="0"/>
|
3306 |
+
<line num="2801" type="stmt" count="0"/>
|
3307 |
+
<line num="2802" type="stmt" count="0"/>
|
3308 |
+
<line num="2806" type="stmt" count="0"/>
|
|
|
3309 |
<line num="2809" type="stmt" count="0"/>
|
3310 |
+
<line num="2810" type="stmt" count="0"/>
|
3311 |
+
<line num="2814" type="stmt" count="0"/>
|
3312 |
<line num="2815" type="stmt" count="0"/>
|
3313 |
+
<line num="2826" type="method" name="enforce_retention" visibility="public" complexity="8" crap="22.91" count="3"/>
|
3314 |
+
<line num="2828" type="stmt" count="3"/>
|
3315 |
+
<line num="2830" type="stmt" count="3"/>
|
3316 |
+
<line num="2833" type="stmt" count="3"/>
|
3317 |
+
<line num="2834" type="stmt" count="3"/>
|
3318 |
+
<line num="2835" type="stmt" count="3"/>
|
3319 |
+
<line num="2836" type="stmt" count="0"/>
|
3320 |
+
<line num="2837" type="stmt" count="0"/>
|
3321 |
+
<line num="2838" type="stmt" count="3"/>
|
3322 |
+
<line num="2839" type="stmt" count="3"/>
|
3323 |
+
<line num="2842" type="stmt" count="3"/>
|
3324 |
+
<line num="2845" type="stmt" count="3"/>
|
3325 |
+
<line num="2846" type="stmt" count="3"/>
|
3326 |
+
<line num="2850" type="stmt" count="0"/>
|
3327 |
+
<line num="2853" type="stmt" count="0"/>
|
3328 |
+
<line num="2856" type="stmt" count="0"/>
|
3329 |
+
<line num="2859" type="stmt" count="0"/>
|
3330 |
+
<line num="2860" type="stmt" count="0"/>
|
3331 |
+
<line num="2861" type="stmt" count="0"/>
|
3332 |
+
<line num="2864" type="stmt" count="0"/>
|
3333 |
+
<line num="2865" type="stmt" count="0"/>
|
3334 |
+
<line num="2867" type="stmt" count="0"/>
|
3335 |
+
<line num="2877" type="stmt" count="0"/>
|
3336 |
+
<line num="2880" type="stmt" count="0"/>
|
3337 |
+
<line num="2883" type="stmt" count="0"/>
|
3338 |
+
<line num="2884" type="stmt" count="0"/>
|
3339 |
+
<line num="2885" type="stmt" count="0"/>
|
3340 |
+
<metrics loc="2886" ncloc="1465" classes="1" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1024" coveredstatements="469" elements="1052" coveredelements="473"/>
|
3341 |
</file>
|
3342 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
|
3343 |
<class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
5008 |
<line num="288" type="stmt" count="0"/>
|
5009 |
<metrics loc="289" ncloc="163" classes="1" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="93" coveredstatements="2" elements="102" coveredelements="3"/>
|
5010 |
</file>
|
5011 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log-page.php">
|
5012 |
+
<class name="Boldgrid_Backup_Admin_Log_Page" namespace="global" fullPackage="Boldgrid.Backup.Admin.Log">
|
5013 |
+
<metrics complexity="9" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="42" coveredstatements="0" elements="44" coveredelements="0"/>
|
5014 |
+
</class>
|
5015 |
+
<line num="28" type="method" name="admin_enqueue_scripts" visibility="public" complexity="2" crap="6" count="0"/>
|
5016 |
+
<line num="29" type="stmt" count="0"/>
|
5017 |
+
<line num="30" type="stmt" count="0"/>
|
5018 |
+
<line num="32" type="stmt" count="0"/>
|
5019 |
+
<line num="33" type="stmt" count="0"/>
|
5020 |
+
<line num="34" type="stmt" count="0"/>
|
5021 |
+
<line num="35" type="stmt" count="0"/>
|
5022 |
+
<line num="36" type="stmt" count="0"/>
|
5023 |
+
<line num="38" type="stmt" count="0"/>
|
5024 |
+
<line num="41" type="stmt" count="0"/>
|
5025 |
+
<line num="42" type="stmt" count="0"/>
|
5026 |
+
<line num="43" type="stmt" count="0"/>
|
5027 |
+
<line num="45" type="stmt" count="0"/>
|
5028 |
+
<line num="47" type="stmt" count="0"/>
|
5029 |
+
<line num="48" type="stmt" count="0"/>
|
5030 |
+
<line num="49" type="stmt" count="0"/>
|
5031 |
+
<line num="56" type="method" name="wp_ajax_boldgrid_backup_view_log" visibility="public" complexity="7" crap="56" count="0"/>
|
5032 |
+
<line num="58" type="stmt" count="0"/>
|
5033 |
+
<line num="59" type="stmt" count="0"/>
|
5034 |
+
<line num="60" type="stmt" count="0"/>
|
5035 |
+
<line num="61" type="stmt" count="0"/>
|
5036 |
+
<line num="64" type="stmt" count="0"/>
|
5037 |
+
<line num="65" type="stmt" count="0"/>
|
5038 |
+
<line num="66" type="stmt" count="0"/>
|
5039 |
+
<line num="67" type="stmt" count="0"/>
|
5040 |
+
<line num="69" type="stmt" count="0"/>
|
5041 |
+
<line num="72" type="stmt" count="0"/>
|
5042 |
+
<line num="73" type="stmt" count="0"/>
|
5043 |
+
<line num="74" type="stmt" count="0"/>
|
5044 |
+
<line num="75" type="stmt" count="0"/>
|
5045 |
+
<line num="76" type="stmt" count="0"/>
|
5046 |
+
<line num="79" type="stmt" count="0"/>
|
5047 |
+
<line num="80" type="stmt" count="0"/>
|
5048 |
+
<line num="81" type="stmt" count="0"/>
|
5049 |
+
<line num="82" type="stmt" count="0"/>
|
5050 |
+
<line num="83" type="stmt" count="0"/>
|
5051 |
+
<line num="86" type="stmt" count="0"/>
|
5052 |
+
<line num="87" type="stmt" count="0"/>
|
5053 |
+
<line num="88" type="stmt" count="0"/>
|
5054 |
+
<line num="89" type="stmt" count="0"/>
|
5055 |
+
<line num="90" type="stmt" count="0"/>
|
5056 |
+
<line num="93" type="stmt" count="0"/>
|
5057 |
+
<line num="94" type="stmt" count="0"/>
|
5058 |
+
<line num="95" type="stmt" count="0"/>
|
5059 |
+
<metrics loc="96" ncloc="53" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="42" coveredstatements="0" elements="44" coveredelements="0"/>
|
5060 |
+
</file>
|
5061 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log.php">
|
5062 |
+
<class name="Boldgrid_Backup_Admin_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5063 |
+
<metrics complexity="8" methods="5" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="36" coveredstatements="33" elements="41" coveredelements="37"/>
|
5064 |
+
</class>
|
5065 |
+
<line num="55" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
|
5066 |
+
<line num="56" type="stmt" count="17"/>
|
5067 |
+
<line num="57" type="stmt" count="17"/>
|
5068 |
+
<line num="66" type="method" name="add" visibility="public" complexity="1" crap="1" count="3"/>
|
5069 |
+
<line num="68" type="stmt" count="3"/>
|
5070 |
+
<line num="76" type="stmt" count="3"/>
|
5071 |
+
<line num="77" type="stmt" count="3"/>
|
5072 |
+
<line num="78" type="stmt" count="3"/>
|
5073 |
+
<line num="79" type="stmt" count="3"/>
|
5074 |
+
<line num="86" type="method" name="add_memory" visibility="public" complexity="1" crap="1" count="3"/>
|
5075 |
+
<line num="87" type="stmt" count="3"/>
|
5076 |
+
<line num="88" type="stmt" count="3"/>
|
5077 |
+
<line num="89" type="stmt" count="3"/>
|
5078 |
+
<line num="91" type="stmt" count="3"/>
|
5079 |
+
<line num="92" type="stmt" count="3"/>
|
5080 |
+
<line num="93" type="stmt" count="3"/>
|
5081 |
+
<line num="94" type="stmt" count="3"/>
|
5082 |
+
<line num="95" type="stmt" count="3"/>
|
5083 |
+
<line num="96" type="stmt" count="3"/>
|
5084 |
+
<line num="97" type="stmt" count="3"/>
|
5085 |
+
<line num="98" type="stmt" count="3"/>
|
5086 |
+
<line num="100" type="stmt" count="3"/>
|
5087 |
+
<line num="101" type="stmt" count="3"/>
|
5088 |
+
<line num="108" type="method" name="clean_up" visibility="public" complexity="4" crap="4.25" count="3"/>
|
5089 |
+
<line num="110" type="stmt" count="3"/>
|
5090 |
+
<line num="111" type="stmt" count="3"/>
|
5091 |
+
<line num="113" type="stmt" count="3"/>
|
5092 |
+
<line num="115" type="stmt" count="2"/>
|
5093 |
+
<line num="116" type="stmt" count="0"/>
|
5094 |
+
<line num="120" type="stmt" count="2"/>
|
5095 |
+
<line num="121" type="stmt" count="2"/>
|
5096 |
+
<line num="122" type="stmt" count="2"/>
|
5097 |
+
<line num="125" type="stmt" count="0"/>
|
5098 |
+
<line num="127" type="stmt" count="0"/>
|
5099 |
+
<line num="128" type="stmt" count="3"/>
|
5100 |
+
<line num="129" type="stmt" count="3"/>
|
5101 |
+
<line num="139" type="method" name="init" visibility="public" complexity="1" crap="1" count="3"/>
|
5102 |
+
<line num="141" type="stmt" count="3"/>
|
5103 |
+
<line num="143" type="stmt" count="3"/>
|
5104 |
+
<line num="145" type="stmt" count="3"/>
|
5105 |
+
<line num="148" type="stmt" count="3"/>
|
5106 |
+
<metrics loc="150" ncloc="62" classes="1" methods="5" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="36" coveredstatements="33" elements="41" coveredelements="37"/>
|
5107 |
+
</file>
|
5108 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
5109 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5110 |
<metrics complexity="22" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="87" coveredstatements="2" elements="98" coveredelements="3"/>
|
6383 |
</file>
|
6384 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-tools.php">
|
6385 |
<class name="Boldgrid_Backup_Admin_Tools" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6386 |
+
<metrics complexity="4" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="2" elements="14" coveredelements="3"/>
|
6387 |
</class>
|
6388 |
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
|
6389 |
<line num="38" type="stmt" count="17"/>
|
6390 |
<line num="39" type="stmt" count="17"/>
|
6391 |
+
<line num="44" type="method" name="admin_enqueue_scripts" visibility="public" complexity="2" crap="6" count="0"/>
|
6392 |
+
<line num="45" type="stmt" count="0"/>
|
6393 |
+
<line num="46" type="stmt" count="0"/>
|
6394 |
+
<line num="50" type="stmt" count="0"/>
|
6395 |
<line num="51" type="stmt" count="0"/>
|
6396 |
<line num="52" type="stmt" count="0"/>
|
6397 |
+
<line num="55" type="stmt" count="0"/>
|
6398 |
+
<line num="56" type="stmt" count="0"/>
|
6399 |
+
<line num="63" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
6400 |
+
<line num="64" type="stmt" count="0"/>
|
6401 |
+
<line num="65" type="stmt" count="0"/>
|
6402 |
+
<metrics loc="66" ncloc="23" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="2" elements="14" coveredelements="3"/>
|
6403 |
</file>
|
6404 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-transfers.php">
|
6405 |
<class name="Boldgrid_Backup_Admin_Transfers" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7624 |
</file>
|
7625 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-php-zip.php">
|
7626 |
<class name="Boldgrid_Backup_Admin_Compressor_Php_Zip" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.Php">
|
7627 |
+
<metrics complexity="29" methods="4" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="124" coveredstatements="103" elements="128" coveredelements="105"/>
|
7628 |
</class>
|
7629 |
<line num="69" type="method" name="add_dir" visibility="public" complexity="4" crap="4" count="3"/>
|
7630 |
<line num="70" type="stmt" count="3"/>
|
7640 |
<line num="83" type="stmt" count="3"/>
|
7641 |
<line num="84" type="stmt" count="3"/>
|
7642 |
<line num="85" type="stmt" count="3"/>
|
7643 |
+
<line num="113" type="method" name="archive_files" visibility="public" complexity="19" crap="20.93" count="3"/>
|
7644 |
<line num="114" type="stmt" count="3"/>
|
7645 |
<line num="117" type="stmt" count="3"/>
|
7646 |
<line num="118" type="stmt" count="3"/>
|
7697 |
<line num="212" type="stmt" count="3"/>
|
7698 |
<line num="213" type="stmt" count="3"/>
|
7699 |
<line num="214" type="stmt" count="3"/>
|
7700 |
+
<line num="216" type="stmt" count="3"/>
|
7701 |
+
<line num="217" type="stmt" count="3"/>
|
7702 |
+
<line num="218" type="stmt" count="3"/>
|
7703 |
+
<line num="219" type="stmt" count="3"/>
|
7704 |
+
<line num="220" type="stmt" count="3"/>
|
7705 |
<line num="221" type="stmt" count="3"/>
|
7706 |
<line num="222" type="stmt" count="3"/>
|
7707 |
+
<line num="223" type="stmt" count="3"/>
|
7708 |
+
<line num="230" type="stmt" count="3"/>
|
7709 |
+
<line num="231" type="stmt" count="3"/>
|
7710 |
+
<line num="246" type="stmt" count="3"/>
|
|
|
|
|
|
|
|
|
7711 |
<line num="247" type="stmt" count="3"/>
|
7712 |
+
<line num="248" type="stmt" count="3"/>
|
7713 |
<line num="249" type="stmt" count="3"/>
|
7714 |
<line num="251" type="stmt" count="3"/>
|
7715 |
+
<line num="252" type="stmt" count="0"/>
|
7716 |
<line num="253" type="stmt" count="0"/>
|
7717 |
+
<line num="254" type="stmt" count="3"/>
|
7718 |
+
<line num="256" type="stmt" count="3"/>
|
7719 |
+
<line num="258" type="stmt" count="3"/>
|
7720 |
+
<line num="260" type="stmt" count="3"/>
|
7721 |
+
<line num="262" type="stmt" count="0"/>
|
7722 |
+
<line num="263" type="stmt" count="0"/>
|
7723 |
+
<line num="266" type="stmt" count="3"/>
|
7724 |
+
<line num="274" type="method" name="is_available" visibility="public" complexity="2" crap="2" count="18"/>
|
7725 |
+
<line num="275" type="stmt" count="18"/>
|
7726 |
+
<line num="285" type="method" name="test" visibility="public" complexity="4" crap="4.20" count="1"/>
|
7727 |
+
<line num="286" type="stmt" count="1"/>
|
7728 |
+
<line num="287" type="stmt" count="0"/>
|
7729 |
<line num="290" type="stmt" count="1"/>
|
7730 |
+
<line num="292" type="stmt" count="1"/>
|
7731 |
<line num="294" type="stmt" count="1"/>
|
|
|
7732 |
<line num="296" type="stmt" count="1"/>
|
7733 |
+
<line num="299" type="stmt" count="1"/>
|
7734 |
+
<line num="302" type="stmt" count="1"/>
|
|
|
|
|
7735 |
<line num="303" type="stmt" count="1"/>
|
7736 |
+
<line num="304" type="stmt" count="1"/>
|
7737 |
+
<line num="305" type="stmt" count="1"/>
|
7738 |
+
<line num="306" type="stmt" count="1"/>
|
7739 |
+
<line num="307" type="stmt" count="1"/>
|
7740 |
+
<line num="309" type="stmt" count="1"/>
|
7741 |
<line num="310" type="stmt" count="1"/>
|
7742 |
+
<line num="312" type="stmt" count="1"/>
|
7743 |
+
<line num="313" type="stmt" count="0"/>
|
7744 |
+
<line num="314" type="stmt" count="0"/>
|
7745 |
+
<line num="316" type="stmt" count="0"/>
|
7746 |
<line num="319" type="stmt" count="1"/>
|
7747 |
+
<line num="320" type="stmt" count="1"/>
|
7748 |
+
<line num="322" type="stmt" count="1"/>
|
7749 |
+
<line num="324" type="stmt" count="1"/>
|
7750 |
<line num="326" type="stmt" count="1"/>
|
7751 |
<line num="328" type="stmt" count="1"/>
|
7752 |
+
<line num="329" type="stmt" count="0"/>
|
7753 |
+
<line num="330" type="stmt" count="0"/>
|
7754 |
+
<line num="332" type="stmt" count="0"/>
|
7755 |
+
<line num="335" type="stmt" count="1"/>
|
7756 |
+
<line num="337" type="stmt" count="1"/>
|
7757 |
+
<metrics loc="339" ncloc="190" classes="1" methods="4" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="124" coveredstatements="103" elements="128" coveredelements="105"/>
|
7758 |
</file>
|
7759 |
<package name="Boldgrid\Backup\Admin\Cron">
|
7760 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/cron/class-crontab.php">
|
9582 |
<line num="30" type="stmt" count="0"/>
|
9583 |
<line num="31" type="stmt" count="0"/>
|
9584 |
<line num="32" type="stmt" count="0"/>
|
9585 |
+
<line num="33" type="stmt" count="0"/>
|
9586 |
+
<line num="34" type="stmt" count="0"/>
|
9587 |
+
<line num="35" type="stmt" count="0"/>
|
9588 |
+
<line num="36" type="stmt" count="0"/>
|
9589 |
+
<line num="37" type="stmt" count="0"/>
|
9590 |
+
<line num="46" type="stmt" count="0"/>
|
9591 |
+
<line num="57" type="stmt" count="0"/>
|
9592 |
+
<line num="61" type="stmt" count="0"/>
|
9593 |
+
<line num="65" type="stmt" count="0"/>
|
9594 |
+
<line num="67" type="stmt" count="0"/>
|
9595 |
+
<metrics loc="67" ncloc="37" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="26" coveredstatements="0" elements="26" coveredelements="0"/>
|
9596 |
</file>
|
9597 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-transfers.php">
|
9598 |
<line num="14" type="stmt" count="0"/>
|
10886 |
<line num="232" type="stmt" count="0"/>
|
10887 |
<metrics loc="232" ncloc="191" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="185" coveredstatements="0" elements="185" coveredelements="0"/>
|
10888 |
</file>
|
10889 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/tools/view-logs.php">
|
10890 |
+
<line num="18" type="stmt" count="0"/>
|
10891 |
+
<line num="21" type="stmt" count="0"/>
|
10892 |
+
<line num="22" type="stmt" count="0"/>
|
10893 |
+
<line num="24" type="stmt" count="0"/>
|
10894 |
+
<line num="25" type="stmt" count="0"/>
|
10895 |
+
<line num="27" type="stmt" count="0"/>
|
10896 |
+
<line num="29" type="stmt" count="0"/>
|
10897 |
+
<line num="31" type="stmt" count="0"/>
|
10898 |
+
<line num="32" type="stmt" count="0"/>
|
10899 |
+
<line num="33" type="stmt" count="0"/>
|
10900 |
+
<line num="34" type="stmt" count="0"/>
|
10901 |
+
<line num="35" type="stmt" count="0"/>
|
10902 |
+
<line num="36" type="stmt" count="0"/>
|
10903 |
+
<line num="37" type="stmt" count="0"/>
|
10904 |
+
<line num="38" type="stmt" count="0"/>
|
10905 |
+
<line num="39" type="stmt" count="0"/>
|
10906 |
+
<line num="40" type="stmt" count="0"/>
|
10907 |
+
<line num="41" type="stmt" count="0"/>
|
10908 |
+
<line num="42" type="stmt" count="0"/>
|
10909 |
+
<line num="43" type="stmt" count="0"/>
|
10910 |
+
<line num="45" type="stmt" count="0"/>
|
10911 |
+
<line num="46" type="stmt" count="0"/>
|
10912 |
+
<line num="48" type="stmt" count="0"/>
|
10913 |
+
<line num="49" type="stmt" count="0"/>
|
10914 |
+
<line num="50" type="stmt" count="0"/>
|
10915 |
+
<line num="51" type="stmt" count="0"/>
|
10916 |
+
<line num="52" type="stmt" count="0"/>
|
10917 |
+
<line num="53" type="stmt" count="0"/>
|
10918 |
+
<line num="54" type="stmt" count="0"/>
|
10919 |
+
<line num="55" type="stmt" count="0"/>
|
10920 |
+
<line num="56" type="stmt" count="0"/>
|
10921 |
+
<line num="57" type="stmt" count="0"/>
|
10922 |
+
<line num="58" type="stmt" count="0"/>
|
10923 |
+
<line num="59" type="stmt" count="0"/>
|
10924 |
+
<line num="60" type="stmt" count="0"/>
|
10925 |
+
<line num="61" type="stmt" count="0"/>
|
10926 |
+
<line num="62" type="stmt" count="0"/>
|
10927 |
+
<line num="63" type="stmt" count="0"/>
|
10928 |
+
<line num="64" type="stmt" count="0"/>
|
10929 |
+
<line num="65" type="stmt" count="0"/>
|
10930 |
+
<line num="66" type="stmt" count="0"/>
|
10931 |
+
<line num="67" type="stmt" count="0"/>
|
10932 |
+
<line num="68" type="stmt" count="0"/>
|
10933 |
+
<line num="69" type="stmt" count="0"/>
|
10934 |
+
<line num="70" type="stmt" count="0"/>
|
10935 |
+
<line num="72" type="stmt" count="0"/>
|
10936 |
+
<line num="73" type="stmt" count="0"/>
|
10937 |
+
<line num="74" type="stmt" count="0"/>
|
10938 |
+
<line num="75" type="stmt" count="0"/>
|
10939 |
+
<line num="77" type="stmt" count="0"/>
|
10940 |
+
<line num="79" type="stmt" count="0"/>
|
10941 |
+
<line num="81" type="stmt" count="0"/>
|
10942 |
+
<line num="82" type="stmt" count="0"/>
|
10943 |
+
<line num="84" type="stmt" count="0"/>
|
10944 |
+
<metrics loc="84" ncloc="67" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="54" coveredstatements="0" elements="54" coveredelements="0"/>
|
10945 |
+
</file>
|
10946 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/transfers/destination.php">
|
10947 |
<line num="16" type="stmt" count="0"/>
|
10948 |
<line num="18" type="stmt" count="0"/>
|
13388 |
</file>
|
13389 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
|
13390 |
<class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
|
13391 |
+
<metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="250" coveredstatements="0" elements="258" coveredelements="0"/>
|
13392 |
</class>
|
13393 |
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
13394 |
<line num="67" type="stmt" count="0"/>
|
13493 |
<line num="272" type="stmt" count="0"/>
|
13494 |
<line num="274" type="stmt" count="0"/>
|
13495 |
<line num="276" type="stmt" count="0"/>
|
|
|
13496 |
<line num="279" type="stmt" count="0"/>
|
13497 |
+
<line num="280" type="stmt" count="0"/>
|
13498 |
+
<line num="282" type="stmt" count="0"/>
|
13499 |
+
<line num="283" type="stmt" count="0"/>
|
13500 |
+
<line num="294" type="method" name="set_locale" visibility="private" complexity="1" crap="2" count="0"/>
|
13501 |
+
<line num="295" type="stmt" count="0"/>
|
13502 |
+
<line num="297" type="stmt" count="0"/>
|
13503 |
+
<line num="298" type="stmt" count="0"/>
|
13504 |
+
<line num="306" type="method" name="define_admin_hooks" visibility="private" complexity="4" crap="20" count="0"/>
|
13505 |
+
<line num="308" type="stmt" count="0"/>
|
13506 |
+
<line num="310" type="stmt" count="0"/>
|
13507 |
<line num="313" type="stmt" count="0"/>
|
|
|
13508 |
<line num="316" type="stmt" count="0"/>
|
13509 |
<line num="317" type="stmt" count="0"/>
|
13510 |
<line num="318" type="stmt" count="0"/>
|
13511 |
+
<line num="320" type="stmt" count="0"/>
|
13512 |
<line num="321" type="stmt" count="0"/>
|
13513 |
<line num="322" type="stmt" count="0"/>
|
13514 |
+
<line num="325" type="stmt" count="0"/>
|
13515 |
+
<line num="326" type="stmt" count="0"/>
|
13516 |
<line num="327" type="stmt" count="0"/>
|
13517 |
<line num="328" type="stmt" count="0"/>
|
13518 |
+
<line num="331" type="stmt" count="0"/>
|
|
|
13519 |
<line num="332" type="stmt" count="0"/>
|
13520 |
<line num="333" type="stmt" count="0"/>
|
13521 |
<line num="334" type="stmt" count="0"/>
|
|
|
13522 |
<line num="336" type="stmt" count="0"/>
|
13523 |
+
<line num="337" type="stmt" count="0"/>
|
13524 |
+
<line num="338" type="stmt" count="0"/>
|
13525 |
<line num="339" type="stmt" count="0"/>
|
13526 |
<line num="340" type="stmt" count="0"/>
|
13527 |
+
<line num="343" type="stmt" count="0"/>
|
13528 |
+
<line num="344" type="stmt" count="0"/>
|
13529 |
<line num="345" type="stmt" count="0"/>
|
13530 |
<line num="346" type="stmt" count="0"/>
|
13531 |
+
<line num="349" type="stmt" count="0"/>
|
13532 |
+
<line num="350" type="stmt" count="0"/>
|
13533 |
<line num="351" type="stmt" count="0"/>
|
13534 |
<line num="352" type="stmt" count="0"/>
|
13535 |
+
<line num="355" type="stmt" count="0"/>
|
13536 |
+
<line num="356" type="stmt" count="0"/>
|
13537 |
<line num="357" type="stmt" count="0"/>
|
13538 |
<line num="358" type="stmt" count="0"/>
|
13539 |
+
<line num="361" type="stmt" count="0"/>
|
13540 |
+
<line num="362" type="stmt" count="0"/>
|
13541 |
<line num="363" type="stmt" count="0"/>
|
13542 |
<line num="364" type="stmt" count="0"/>
|
13543 |
+
<line num="367" type="stmt" count="0"/>
|
13544 |
+
<line num="368" type="stmt" count="0"/>
|
13545 |
<line num="369" type="stmt" count="0"/>
|
13546 |
<line num="370" type="stmt" count="0"/>
|
13547 |
+
<line num="373" type="stmt" count="0"/>
|
|
|
13548 |
<line num="374" type="stmt" count="0"/>
|
13549 |
<line num="375" type="stmt" count="0"/>
|
13550 |
<line num="376" type="stmt" count="0"/>
|
13551 |
+
<line num="378" type="stmt" count="0"/>
|
13552 |
<line num="379" type="stmt" count="0"/>
|
13553 |
<line num="380" type="stmt" count="0"/>
|
13554 |
+
<line num="383" type="stmt" count="0"/>
|
13555 |
+
<line num="384" type="stmt" count="0"/>
|
13556 |
<line num="385" type="stmt" count="0"/>
|
13557 |
<line num="386" type="stmt" count="0"/>
|
13558 |
+
<line num="389" type="stmt" count="0"/>
|
|
|
13559 |
<line num="390" type="stmt" count="0"/>
|
13560 |
<line num="391" type="stmt" count="0"/>
|
13561 |
<line num="392" type="stmt" count="0"/>
|
|
|
13562 |
<line num="394" type="stmt" count="0"/>
|
13563 |
<line num="395" type="stmt" count="0"/>
|
13564 |
+
<line num="396" type="stmt" count="0"/>
|
13565 |
<line num="397" type="stmt" count="0"/>
|
13566 |
+
<line num="398" type="stmt" count="0"/>
|
13567 |
<line num="399" type="stmt" count="0"/>
|
13568 |
<line num="401" type="stmt" count="0"/>
|
13569 |
<line num="403" type="stmt" count="0"/>
|
|
|
13570 |
<line num="405" type="stmt" count="0"/>
|
13571 |
<line num="407" type="stmt" count="0"/>
|
13572 |
+
<line num="408" type="stmt" count="0"/>
|
13573 |
<line num="409" type="stmt" count="0"/>
|
13574 |
<line num="411" type="stmt" count="0"/>
|
13575 |
<line num="413" type="stmt" count="0"/>
|
13576 |
<line num="415" type="stmt" count="0"/>
|
13577 |
<line num="417" type="stmt" count="0"/>
|
|
|
13578 |
<line num="419" type="stmt" count="0"/>
|
13579 |
<line num="421" type="stmt" count="0"/>
|
13580 |
+
<line num="422" type="stmt" count="0"/>
|
13581 |
<line num="423" type="stmt" count="0"/>
|
|
|
13582 |
<line num="425" type="stmt" count="0"/>
|
13583 |
+
<line num="427" type="stmt" count="0"/>
|
13584 |
<line num="428" type="stmt" count="0"/>
|
13585 |
+
<line num="429" type="stmt" count="0"/>
|
13586 |
<line num="430" type="stmt" count="0"/>
|
13587 |
<line num="432" type="stmt" count="0"/>
|
13588 |
<line num="434" type="stmt" count="0"/>
|
13589 |
<line num="436" type="stmt" count="0"/>
|
13590 |
<line num="438" type="stmt" count="0"/>
|
13591 |
+
<line num="440" type="stmt" count="0"/>
|
13592 |
+
<line num="442" type="stmt" count="0"/>
|
13593 |
<line num="447" type="stmt" count="0"/>
|
13594 |
<line num="449" type="stmt" count="0"/>
|
13595 |
<line num="451" type="stmt" count="0"/>
|
13596 |
<line num="453" type="stmt" count="0"/>
|
13597 |
<line num="455" type="stmt" count="0"/>
|
13598 |
<line num="457" type="stmt" count="0"/>
|
13599 |
+
<line num="459" type="stmt" count="0"/>
|
|
|
13600 |
<line num="461" type="stmt" count="0"/>
|
13601 |
+
<line num="462" type="stmt" count="0"/>
|
13602 |
+
<line num="464" type="stmt" count="0"/>
|
13603 |
<line num="465" type="stmt" count="0"/>
|
|
|
13604 |
<line num="467" type="stmt" count="0"/>
|
13605 |
<line num="469" type="stmt" count="0"/>
|
13606 |
+
<line num="470" type="stmt" count="0"/>
|
13607 |
<line num="471" type="stmt" count="0"/>
|
13608 |
+
<line num="473" type="stmt" count="0"/>
|
13609 |
<line num="475" type="stmt" count="0"/>
|
13610 |
<line num="476" type="stmt" count="0"/>
|
13611 |
+
<line num="479" type="stmt" count="0"/>
|
13612 |
<line num="480" type="stmt" count="0"/>
|
13613 |
<line num="481" type="stmt" count="0"/>
|
13614 |
<line num="484" type="stmt" count="0"/>
|
13615 |
+
<line num="485" type="stmt" count="0"/>
|
13616 |
+
<line num="488" type="stmt" count="0"/>
|
13617 |
+
<line num="491" type="stmt" count="0"/>
|
13618 |
+
<line num="494" type="stmt" count="0"/>
|
13619 |
<line num="497" type="stmt" count="0"/>
|
13620 |
+
<line num="499" type="stmt" count="0"/>
|
13621 |
+
<line num="501" type="stmt" count="0"/>
|
13622 |
<line num="502" type="stmt" count="0"/>
|
13623 |
<line num="504" type="stmt" count="0"/>
|
13624 |
+
<line num="506" type="stmt" count="0"/>
|
13625 |
<line num="508" type="stmt" count="0"/>
|
13626 |
+
<line num="509" type="stmt" count="0"/>
|
13627 |
<line num="512" type="stmt" count="0"/>
|
|
|
13628 |
<line num="515" type="stmt" count="0"/>
|
13629 |
<line num="516" type="stmt" count="0"/>
|
|
|
13630 |
<line num="518" type="stmt" count="0"/>
|
13631 |
<line num="519" type="stmt" count="0"/>
|
13632 |
+
<line num="520" type="stmt" count="0"/>
|
13633 |
+
<line num="521" type="stmt" count="0"/>
|
13634 |
+
<line num="522" type="stmt" count="0"/>
|
13635 |
+
<line num="525" type="stmt" count="0"/>
|
13636 |
+
<line num="526" type="stmt" count="0"/>
|
13637 |
+
<line num="529" type="stmt" count="0"/>
|
13638 |
+
<line num="530" type="stmt" count="0"/>
|
13639 |
+
<line num="537" type="method" name="run" visibility="public" complexity="1" crap="2" count="0"/>
|
13640 |
<line num="538" type="stmt" count="0"/>
|
13641 |
<line num="539" type="stmt" count="0"/>
|
13642 |
+
<line num="548" type="method" name="get_plugin_name" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
13643 |
<line num="549" type="stmt" count="0"/>
|
13644 |
+
<line num="550" type="stmt" count="0"/>
|
13645 |
+
<line num="558" type="method" name="get_loader" visibility="public" complexity="1" crap="2" count="0"/>
|
13646 |
<line num="559" type="stmt" count="0"/>
|
13647 |
+
<line num="560" type="stmt" count="0"/>
|
13648 |
+
<line num="568" type="method" name="get_version" visibility="public" complexity="1" crap="2" count="0"/>
|
13649 |
+
<line num="569" type="stmt" count="0"/>
|
13650 |
+
<line num="570" type="stmt" count="0"/>
|
13651 |
+
<metrics loc="571" ncloc="342" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="250" coveredstatements="0" elements="258" coveredelements="0"/>
|
13652 |
</file>
|
13653 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
|
13654 |
<line num="17" type="stmt" count="0"/>
|
13709 |
<line num="81" type="stmt" count="1"/>
|
13710 |
<line num="82" type="stmt" count="1"/>
|
13711 |
<line num="83" type="stmt" count="1"/>
|
13712 |
+
<line num="86" type="stmt" count="1"/>
|
13713 |
+
<line num="87" type="stmt" count="1"/>
|
13714 |
+
<metrics loc="87" ncloc="44" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="33" coveredstatements="30" elements="33" coveredelements="30"/>
|
13715 |
</file>
|
13716 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.rating-prompt.php">
|
13717 |
<line num="17" type="stmt" count="0"/>
|
68317 |
<metrics loc="135" ncloc="76" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="51" elements="55" coveredelements="55"/>
|
68318 |
</file>
|
68319 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/bootstrap.php">
|
68320 |
+
<line num="114" type="stmt" count="0"/>
|
|
|
68321 |
<line num="115" type="stmt" count="0"/>
|
68322 |
<line num="117" type="stmt" count="0"/>
|
68323 |
+
<line num="119" type="stmt" count="0"/>
|
68324 |
+
<line num="120" type="stmt" count="0"/>
|
68325 |
+
<metrics loc="122" ncloc="98" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="5" coveredelements="0"/>
|
68326 |
</file>
|
68327 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/cli/test-class-info.php">
|
68328 |
<class name="Test_Boldgrid_Backup_Cli_Info" namespace="global" fullPackage="Test.Boldgrid.Backup.Cli">
|
73283 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
73284 |
</file>
|
73285 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
73286 |
+
<class name="ComposerStaticInit6df192d9853bdd4228855a4ad06079b1" namespace="Composer\Autoload">
|
73287 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
73288 |
</class>
|
73289 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
73375 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
73376 |
</file>
|
73377 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
73378 |
+
<class name="ComposerAutoloaderInit6df192d9853bdd4228855a4ad06079b1" namespace="global">
|
73379 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
73380 |
</class>
|
73381 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
92518 |
<line num="16" type="stmt" count="0"/>
|
92519 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
92520 |
</file>
|
92521 |
+
<metrics files="916" loc="184644" ncloc="112902" classes="827" methods="3355" coveredmethods="176" conditionals="0" coveredconditionals="0" statements="83523" coveredstatements="2986" elements="86878" coveredelements="3162"/>
|
92522 |
</project>
|
92523 |
</coverage>
|
includes/class-boldgrid-backup.php
CHANGED
@@ -275,6 +275,10 @@ class Boldgrid_Backup {
|
|
275 |
|
276 |
require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-usage.php';
|
277 |
|
|
|
|
|
|
|
|
|
278 |
$this->loader = new Boldgrid_Backup_Loader();
|
279 |
}
|
280 |
|
@@ -516,6 +520,13 @@ class Boldgrid_Backup {
|
|
516 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\admin_notices', $usage, 'filter_notice' );
|
517 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\maybeShow', $usage, 'maybe_show_notice' );
|
518 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\getPrefixes', $usage, 'filter_prefixes' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
519 |
}
|
520 |
|
521 |
/**
|
275 |
|
276 |
require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-usage.php';
|
277 |
|
278 |
+
// Logs system.
|
279 |
+
require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-log.php';
|
280 |
+
require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-log-page.php';
|
281 |
+
|
282 |
$this->loader = new Boldgrid_Backup_Loader();
|
283 |
}
|
284 |
|
520 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\admin_notices', $usage, 'filter_notice' );
|
521 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\maybeShow', $usage, 'maybe_show_notice' );
|
522 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\getPrefixes', $usage, 'filter_prefixes' );
|
523 |
+
|
524 |
+
// Log system.
|
525 |
+
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin_core->log_page, 'admin_enqueue_scripts' );
|
526 |
+
$this->loader->add_action( 'wp_ajax_boldgrid_backup_view_log', $plugin_admin_core->log_page, 'wp_ajax_boldgrid_backup_view_log' );
|
527 |
+
|
528 |
+
// Tools page.
|
529 |
+
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin_core->tools, 'admin_enqueue_scripts' );
|
530 |
}
|
531 |
|
532 |
/**
|
includes/config/config.plugin.php
CHANGED
@@ -81,4 +81,7 @@ return [
|
|
81 |
'key' => 'dreamobjects',
|
82 |
],
|
83 |
],
|
|
|
|
|
|
|
84 |
];
|
81 |
'key' => 'dreamobjects',
|
82 |
],
|
83 |
],
|
84 |
+
|
85 |
+
// The time, in seconds, that log files are kept for.
|
86 |
+
'max_log_age' => 30 * DAY_IN_SECONDS,
|
87 |
];
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: backup, cloud backup, database backup, restore, wordpress backup
|
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.3
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 1.12.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -132,9 +132,16 @@ Have a problem? First, take a look at our [Getting Started](https://www.boldgrid
|
|
132 |
|
133 |
== Changelog ==
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
= 1.12.4 =
|
136 |
|
137 |
-
Release date: January 10th,
|
138 |
|
139 |
* Bug fix: Escape table prefix when getting tables.
|
140 |
* Bug fix: Include views when dumping the database.
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.3
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 1.12.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
+
= 1.12.5 =
|
136 |
+
|
137 |
+
Release date: January 14th, 2020
|
138 |
+
|
139 |
+
* Update: Adding logging system.
|
140 |
+
* Update: Updated dependencies.
|
141 |
+
|
142 |
= 1.12.4 =
|
143 |
|
144 |
+
Release date: January 10th, 2020
|
145 |
|
146 |
* Bug fix: Escape table prefix when getting tables.
|
147 |
* Bug fix: Include views when dumping the database.
|
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 ComposerAutoloaderInit6df192d9853bdd4228855a4ad06079b1::getLoader();
|
vendor/boldgrid/library/README.md
CHANGED
@@ -11,6 +11,12 @@ composer require boldgrid/library
|
|
11 |
|
12 |
## Changelog ##
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
### 2.11.0 ###
|
15 |
|
16 |
Release date: December 19th, 2019
|
11 |
|
12 |
## Changelog ##
|
13 |
|
14 |
+
### 2.11.1 ###
|
15 |
+
|
16 |
+
Release date: January 14th, 2019
|
17 |
+
|
18 |
+
* Update: Added spinner for the UI menu while the page loads.
|
19 |
+
|
20 |
### 2.11.0 ###
|
21 |
|
22 |
Release date: December 19th, 2019
|
vendor/boldgrid/library/src/Library/Ui.php
CHANGED
@@ -140,7 +140,7 @@ class Ui {
|
|
140 |
sanitize_key( $_REQUEST['section'] ) : null;
|
141 |
|
142 |
$content = '';
|
143 |
-
$navigation = '<ul class="bg-left-nav">';
|
144 |
foreach ( $sections['sections'] as $section ) {
|
145 |
$section_count++;
|
146 |
|
140 |
sanitize_key( $_REQUEST['section'] ) : null;
|
141 |
|
142 |
$content = '';
|
143 |
+
$navigation = '<ul class="bg-left-nav bg-before-ready">';
|
144 |
foreach ( $sections['sections'] as $section ) {
|
145 |
$section_count++;
|
146 |
|
vendor/boldgrid/library/src/assets/css/ui.css
CHANGED
@@ -50,6 +50,12 @@
|
|
50 |
border: 1px solid #e1e1e1;
|
51 |
}
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
.bg-left-nav li {
|
54 |
padding: 5px 0px 5px 10px;
|
55 |
margin: 0px;
|
50 |
border: 1px solid #e1e1e1;
|
51 |
}
|
52 |
|
53 |
+
/* Nav menu items cannot be clicked until the page has loaded and event listeners added. Change the
|
54 |
+
cursor to a wait, and remove the before-ready class when the page is loaded. */
|
55 |
+
.bg-left-nav.bg-before-ready li {
|
56 |
+
cursor: wait;
|
57 |
+
}
|
58 |
+
|
59 |
.bg-left-nav li {
|
60 |
padding: 5px 0px 5px 10px;
|
61 |
margin: 0px;
|
vendor/boldgrid/library/src/assets/js/ui.js
CHANGED
@@ -72,6 +72,8 @@ BOLDGRID.LIBRARY.Ui = function( $ ) {
|
|
72 |
* @since 1.1.7
|
73 |
*/
|
74 |
$( function() {
|
|
|
|
|
75 |
$sections = $( '.col-right-section' );
|
76 |
$sectionLinks = $( '[data-section-id]' );
|
77 |
|
72 |
* @since 1.1.7
|
73 |
*/
|
74 |
$( function() {
|
75 |
+
$( '.bg-left-nav' ).removeClass( 'bg-before-ready' );
|
76 |
+
|
77 |
$sections = $( '.col-right-section' );
|
78 |
$sectionLinks = $( '[data-section-id]' );
|
79 |
|
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 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit33375066d3c33a409e6153965725b8a0
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit33375066d3c33a409e6153965725b8a0
|
|
48 |
$loader->register(true);
|
49 |
|
50 |
if ($useStaticLoader) {
|
51 |
-
$includeFiles = Composer\Autoload\
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
-
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
-
function
|
64 |
{
|
65 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit6df192d9853bdd4228855a4ad06079b1
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit6df192d9853bdd4228855a4ad06079b1', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit6df192d9853bdd4228855a4ad06079b1', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit6df192d9853bdd4228855a4ad06079b1::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
48 |
$loader->register(true);
|
49 |
|
50 |
if ($useStaticLoader) {
|
51 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit6df192d9853bdd4228855a4ad06079b1::$files;
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
+
composerRequire6df192d9853bdd4228855a4ad06079b1($fileIdentifier, $file);
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
+
function composerRequire6df192d9853bdd4228855a4ad06079b1($fileIdentifier, $file)
|
64 |
{
|
65 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
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 ComposerStaticInit33375066d3c33a409e6153965725b8a0
|
|
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 ComposerStaticInit6df192d9853bdd4228855a4ad06079b1
|
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 = ComposerStaticInit6df192d9853bdd4228855a4ad06079b1::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit6df192d9853bdd4228855a4ad06079b1::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInit6df192d9853bdd4228855a4ad06079b1::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|
vendor/composer/installed.json
CHANGED
@@ -1,20 +1,20 @@
|
|
1 |
[
|
2 |
{
|
3 |
"name": "boldgrid/library",
|
4 |
-
"version": "2.11.
|
5 |
-
"version_normalized": "2.11.
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/BoldGrid/library.git",
|
9 |
-
"reference": "
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
-
"url": "https://api.github.com/repos/BoldGrid/library/zipball/
|
14 |
-
"reference": "
|
15 |
"shasum": ""
|
16 |
},
|
17 |
-
"time": "
|
18 |
"type": "library",
|
19 |
"installation-source": "dist",
|
20 |
"autoload": {
|
1 |
[
|
2 |
{
|
3 |
"name": "boldgrid/library",
|
4 |
+
"version": "2.11.1",
|
5 |
+
"version_normalized": "2.11.1.0",
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/BoldGrid/library.git",
|
9 |
+
"reference": "a590210345f754a27a300772b0bd0bf54e5e7fcf"
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/BoldGrid/library/zipball/a590210345f754a27a300772b0bd0bf54e5e7fcf",
|
14 |
+
"reference": "a590210345f754a27a300772b0bd0bf54e5e7fcf",
|
15 |
"shasum": ""
|
16 |
},
|
17 |
+
"time": "2020-01-14T19:24:12+00:00",
|
18 |
"type": "library",
|
19 |
"installation-source": "dist",
|
20 |
"autoload": {
|