Version Description
Release date: June 4rd, 2020
- Update: Create log file for local retention.
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | 1.13.7 |
Comparing to | |
See all releases |
Code changes from version 1.14.0-rc.3 to 1.13.7
- admin/card/class-find-modified-files.php +0 -7
- admin/card/class-premium.php +1 -1
- admin/card/class-timely-auto-updates.php +0 -50
- admin/card/class-updates.php +0 -6
- admin/card/feature/class-database-encryption.php +1 -1
- admin/card/feature/class-remote-storage.php +1 -1
- admin/card/feature/class-scheduled-backups.php +1 -1
- admin/card/feature/class-timely-auto-updates.php +0 -57
- admin/class-boldgrid-backup-admin-archive-browser.php +6 -10
- admin/class-boldgrid-backup-admin-archive-details.php +0 -30
- admin/class-boldgrid-backup-admin-auto-rollback.php +18 -16
- admin/class-boldgrid-backup-admin-auto-updates.php +0 -217
- admin/class-boldgrid-backup-admin-core.php +37 -100
- admin/class-boldgrid-backup-admin-dashboard.php +0 -36
- admin/class-boldgrid-backup-admin-db-dump.php +1 -15
- admin/class-boldgrid-backup-admin-db-import.php +13 -217
- admin/class-boldgrid-backup-admin-db-omit.php +1 -1
- admin/class-boldgrid-backup-admin-go-pro.php +1 -1
- admin/class-boldgrid-backup-admin-in-progress-tmp.php +13 -12
- admin/class-boldgrid-backup-admin-log.php +20 -8
- admin/class-boldgrid-backup-admin-notice.php +3 -43
- admin/class-boldgrid-backup-admin-premium-features.php +0 -38
- admin/class-boldgrid-backup-admin-settings.php +3 -49
- admin/class-boldgrid-backup-admin-support.php +0 -35
- admin/class-boldgrid-backup-admin-tools.php +2 -36
- admin/class-boldgrid-backup-admin-transfers.php +0 -35
- admin/class-boldgrid-backup-admin-upload.php +0 -23
- admin/class-boldgrid-backup-admin.php +0 -29
- admin/compressor/class-boldgrid-backup-admin-compressor-system-zip.php +7 -141
- admin/css/boldgrid-backup-admin-settings.css +0 -31
- admin/css/boldgrid-backup-admin.css +0 -67
- admin/image/icon-128x128.png +0 -0
- admin/js/boldgrid-backup-admin-backup-now.js +1 -1
- admin/js/boldgrid-backup-admin-folder-exclude.js +17 -82
- admin/js/boldgrid-backup-admin-home.js +11 -31
- admin/js/boldgrid-backup-admin-in-progress.js +3 -9
- admin/js/boldgrid-backup-admin-settings-autoupdate.js +21 -64
- admin/js/boldgrid-backup-admin-settings.js +0 -18
- admin/js/{boldgrid-backup-admin-table-includes.js → boldgrid-backup-admin-table-include.js} +9 -46
- admin/partials/archives/add-new.php +6 -17
- admin/partials/boldgrid-backup-admin-archive-details.php +19 -24
- admin/partials/boldgrid-backup-admin-backup-button.php +3 -2
- admin/partials/boldgrid-backup-admin-dashboard.php +8 -3
- admin/partials/boldgrid-backup-admin-home.php +31 -36
- admin/partials/boldgrid-backup-admin-premium.php +10 -4
- admin/partials/boldgrid-backup-admin-settings.php +34 -29
- admin/partials/boldgrid-backup-admin-support.php +54 -49
- admin/partials/boldgrid-backup-admin-test.php +4 -3
- admin/partials/boldgrid-backup-admin-tools.php +7 -3
- admin/partials/boldgrid-backup-admin-transfers.php +5 -7
- admin/partials/settings/auto-backup.php +30 -52
- admin/partials/settings/auto-update.php +0 -435
- admin/partials/settings/backup-security.php +3 -8
- admin/partials/settings/compressor.php +0 -32
- admin/partials/settings/storage.php +1 -1
- admin/partials/tools/local-remote.php +12 -8
- admin/partials/transfers/destination.php +2 -4
- boldgrid-backup.php +1 -1
- coverage.xml +5000 -6446
- includes/class-boldgrid-backup.php +2 -13
- includes/config/config.plugin.php +0 -5
- readme.txt +4 -4
- vendor/autoload.php +1 -1
- vendor/boldgrid/library/.gitignore +1 -1
- vendor/boldgrid/library/README.md +1 -2
- vendor/boldgrid/library/phpunit.xml +1 -1
- vendor/boldgrid/library/src/Library/Configs.php +5 -3
- vendor/boldgrid/library/src/Library/Plugin/Checker.php +4 -8
- vendor/boldgrid/library/src/Library/Plugin/Factory.php +0 -222
- vendor/boldgrid/library/src/Library/Plugin/Notice.php +28 -31
- vendor/boldgrid/library/src/Library/Plugin/Notices.php +4 -5
- vendor/boldgrid/library/src/Library/Plugin/Page.php +10 -18
- vendor/boldgrid/library/src/Library/Plugin/Plugin.php +111 -76
- vendor/boldgrid/library/src/Library/Plugin/Plugins.php +5 -48
- vendor/boldgrid/library/src/Library/Plugin/UpdateData.php +0 -322
- vendor/boldgrid/library/src/Library/Start.php +3 -0
- vendor/boldgrid/library/src/Library/Theme/Theme.php +0 -145
- vendor/boldgrid/library/src/Library/Theme/Themes.php +0 -85
- vendor/boldgrid/library/src/Library/Theme/UpdateData.php +0 -275
- vendor/boldgrid/library/src/Library/Ui/Page.php +0 -38
- vendor/boldgrid/library/src/Library/Update.php +202 -0
- vendor/boldgrid/library/src/assets/css/admin.css +1 -1
- vendor/boldgrid/library/src/assets/css/dashboard.css +3 -5
- vendor/boldgrid/library/src/assets/css/page.css +0 -60
- vendor/boldgrid/library/tests/Library/Library/test-activity.php +25 -0
- vendor/boldgrid/library/tests/Library/Library/test-rating-prompt.php +47 -0
- vendor/boldgrid/library/tests/Library/Plugin/test-factory.php +0 -82
- vendor/boldgrid/library/tests/Library/Plugin/test-notice.php +365 -137
- vendor/boldgrid/library/tests/Library/Plugin/test-page.php +163 -60
- vendor/boldgrid/library/tests/Library/Plugin/test-plugin.php +57 -81
admin/card/class-find-modified-files.php
CHANGED
@@ -37,12 +37,5 @@ class Find_Modified_Files extends \Boldgrid\Library\Library\Ui\Card {
|
|
37 |
'Search for all files modified within a certain time period. You can also look for other versions of that file within your backups.',
|
38 |
'boldgrid-backup' ) .
|
39 |
'</p>';
|
40 |
-
|
41 |
-
$url = esc_url( 'https://www.boldgrid.com/support/total-upkeep/additional-tools/' );
|
42 |
-
|
43 |
-
$this->links = '
|
44 |
-
<a target="_blank" href=" ' . $url . '">' .
|
45 |
-
esc_html__( 'Setup Guide' ) . '
|
46 |
-
</a>';
|
47 |
}
|
48 |
}
|
37 |
'Search for all files modified within a certain time period. You can also look for other versions of that file within your backups.',
|
38 |
'boldgrid-backup' ) .
|
39 |
'</p>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
}
|
41 |
}
|
admin/card/class-premium.php
CHANGED
@@ -38,7 +38,7 @@ class Premium extends \Boldgrid\Library\Library\Ui\Card {
|
|
38 |
$features = [];
|
39 |
|
40 |
if ( empty( $api_key ) ) {
|
41 |
-
$this->title = esc_html__( 'BoldGrid Central', 'boldgrid-backup' );
|
42 |
|
43 |
$this->subTitle = esc_html__( 'All the tools and services you need to succeed.', 'boldgrid-backup' ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar
|
44 |
|
38 |
$features = [];
|
39 |
|
40 |
if ( empty( $api_key ) ) {
|
41 |
+
$this->title = esc_html__( 'Build Better Websites With BoldGrid Central', 'boldgrid-backup' );
|
42 |
|
43 |
$this->subTitle = esc_html__( 'All the tools and services you need to succeed.', 'boldgrid-backup' ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar
|
44 |
|
admin/card/class-timely-auto-updates.php
DELETED
@@ -1,50 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Timely Auto Updates class.
|
4 |
-
*
|
5 |
-
* @link https://www.boldgrid.com
|
6 |
-
* @since 1.14.0
|
7 |
-
*
|
8 |
-
* @package Boldgrid\Backup
|
9 |
-
* @subpackage Boldgrid\Backup\Card
|
10 |
-
* @copyright BoldGrid
|
11 |
-
* @author BoldGrid <support@boldgrid.com>
|
12 |
-
*/
|
13 |
-
|
14 |
-
namespace Boldgrid\Backup\Admin\Card;
|
15 |
-
|
16 |
-
/**
|
17 |
-
* Class: Timely Auto Updates
|
18 |
-
*
|
19 |
-
* This class is responsible for rendering the "Timely Auto Updates" card on this plugin's Premium Features page.
|
20 |
-
*
|
21 |
-
* @since 1.14.0
|
22 |
-
*/
|
23 |
-
class Timely_Auto_Updates extends \Boldgrid\Library\Library\Ui\Card {
|
24 |
-
/**
|
25 |
-
* Init.
|
26 |
-
*
|
27 |
-
* @since 1.14.0
|
28 |
-
*/
|
29 |
-
public function init() {
|
30 |
-
$this->id = 'bgbkup_timely_auto_updates';
|
31 |
-
|
32 |
-
$this->title = esc_html__( 'Timely Auto Updates', 'boldgrid-backup' );
|
33 |
-
|
34 |
-
$this->footer = '
|
35 |
-
<p>' .
|
36 |
-
esc_html__(
|
37 |
-
'Gives you more control over when new updates are installed by WordPress\' Automatic Updates.',
|
38 |
-
'boldgrid-backup' ) .
|
39 |
-
'</p>';
|
40 |
-
|
41 |
-
$url = esc_url( 'https://www.boldgrid.com/support/total-upkeep/timely-auto-updates/' );
|
42 |
-
|
43 |
-
$this->links = '
|
44 |
-
<a target="_blank" href="' . $url . '">' .
|
45 |
-
esc_html__( 'Setup Guide', 'boldgrid-backup' ) . '
|
46 |
-
</a>';
|
47 |
-
|
48 |
-
$this->icon = '<span class="dashicons dashicons-clock"></span>';
|
49 |
-
}
|
50 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/card/class-updates.php
CHANGED
@@ -27,9 +27,6 @@ class Updates extends \Boldgrid\Library\Library\Ui\Card {
|
|
27 |
* @since 1.11.0
|
28 |
*/
|
29 |
public function init() {
|
30 |
-
|
31 |
-
$core = apply_filters( 'boldgrid_backup_get_core', null );
|
32 |
-
|
33 |
$this->id = 'bgbkup_updates';
|
34 |
|
35 |
$this->title = esc_html__( 'Update Management', 'boldgrid-backup' );
|
@@ -43,8 +40,5 @@ class Updates extends \Boldgrid\Library\Library\Ui\Card {
|
|
43 |
new Feature\Auto_Rollback(),
|
44 |
new Feature\Auto_Update_Backup(),
|
45 |
];
|
46 |
-
if ( $core->config->get_is_premium() ) {
|
47 |
-
$this->features[] = new Feature\Timely_Auto_Updates();
|
48 |
-
}
|
49 |
}
|
50 |
}
|
27 |
* @since 1.11.0
|
28 |
*/
|
29 |
public function init() {
|
|
|
|
|
|
|
30 |
$this->id = 'bgbkup_updates';
|
31 |
|
32 |
$this->title = esc_html__( 'Update Management', 'boldgrid-backup' );
|
40 |
new Feature\Auto_Rollback(),
|
41 |
new Feature\Auto_Update_Backup(),
|
42 |
];
|
|
|
|
|
|
|
43 |
}
|
44 |
}
|
admin/card/feature/class-database-encryption.php
CHANGED
@@ -31,7 +31,7 @@ class Database_Encryption extends \Boldgrid\Library\Library\Ui\Feature {
|
|
31 |
|
32 |
$this->title = esc_html__( 'Database Encryption', 'boldgrid-backup' );
|
33 |
|
34 |
-
$this->content = '<p>' . esc_html__( 'Secure your sensitive data with
|
35 |
$this->content .= '<div class="notice notice-warning inline"><p>' . wp_kses(
|
36 |
sprintf(
|
37 |
// translators: 1 An opening anchor tag to the Remote Storage settings, 2 its closing anchor tag.
|
31 |
|
32 |
$this->title = esc_html__( 'Database Encryption', 'boldgrid-backup' );
|
33 |
|
34 |
+
$this->content = '<p>' . esc_html__( 'Secure your sensitive data with database encryption.', 'boldgrid-backup' ) . '</p>';
|
35 |
$this->content .= '<div class="notice notice-warning inline"><p>' . wp_kses(
|
36 |
sprintf(
|
37 |
// translators: 1 An opening anchor tag to the Remote Storage settings, 2 its closing anchor tag.
|
admin/card/feature/class-remote-storage.php
CHANGED
@@ -55,7 +55,7 @@ class Remote_Storage extends \Boldgrid\Library\Library\Ui\Feature {
|
|
55 |
$this->content .= '<div class="notice notice-error inline"><p>' . wp_kses(
|
56 |
sprintf(
|
57 |
// translators: 1 An opening anchor tag to the Remote Storage settings, 2 its closing anchor tag.
|
58 |
-
__( 'Remote
|
59 |
'<a href="' . esc_url( $core->settings->get_settings_url( 'section_storage' ) ) . '">',
|
60 |
'</a>'
|
61 |
),
|
55 |
$this->content .= '<div class="notice notice-error inline"><p>' . wp_kses(
|
56 |
sprintf(
|
57 |
// translators: 1 An opening anchor tag to the Remote Storage settings, 2 its closing anchor tag.
|
58 |
+
__( 'Remote storage is not configured. %1$sFix this%2$s', 'boldgrid-backup' ),
|
59 |
'<a href="' . esc_url( $core->settings->get_settings_url( 'section_storage' ) ) . '">',
|
60 |
'</a>'
|
61 |
),
|
admin/card/feature/class-scheduled-backups.php
CHANGED
@@ -71,7 +71,7 @@ class Scheduled_Backups extends \Boldgrid\Library\Library\Ui\Feature {
|
|
71 |
$this->content .= '<div class="notice notice-error inline"><p>' . wp_kses(
|
72 |
sprintf(
|
73 |
// translators: 1 An opening anchor tag to the settings page, 2 its closing tag.
|
74 |
-
__( 'Scheduled
|
75 |
'<a href="' . esc_url( $core->settings->get_settings_url() ) . '">',
|
76 |
'</a>'
|
77 |
),
|
71 |
$this->content .= '<div class="notice notice-error inline"><p>' . wp_kses(
|
72 |
sprintf(
|
73 |
// translators: 1 An opening anchor tag to the settings page, 2 its closing tag.
|
74 |
+
__( 'Scheduled backups not configured. %1$sFix this%2$s.', 'boldgrid-backup' ),
|
75 |
'<a href="' . esc_url( $core->settings->get_settings_url() ) . '">',
|
76 |
'</a>'
|
77 |
),
|
admin/card/feature/class-timely-auto-updates.php
DELETED
@@ -1,57 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Timely_Auto_Updates class.
|
4 |
-
*
|
5 |
-
* @link https://www.boldgrid.com
|
6 |
-
* @since 1.14.0
|
7 |
-
*
|
8 |
-
* @package Boldgrid\Backup
|
9 |
-
* @subpackage Boldgrid\Backup\Feature
|
10 |
-
* @copyright BoldGrid
|
11 |
-
* @author BoldGrid <support@boldgrid.com>
|
12 |
-
*/
|
13 |
-
|
14 |
-
namespace Boldgrid\Backup\Admin\Card\Feature;
|
15 |
-
|
16 |
-
/**
|
17 |
-
* Class: Timely_Auto_Updates.
|
18 |
-
*
|
19 |
-
* This class is responsible for rendering the, "Timely Auto Updates" feature on the BoldGrid.
|
20 |
-
* Backup Dashboard.
|
21 |
-
*
|
22 |
-
* @since 1.14.0
|
23 |
-
*/
|
24 |
-
class Timely_Auto_Updates extends \Boldgrid\Library\Library\Ui\Feature {
|
25 |
-
/**
|
26 |
-
* Init.
|
27 |
-
*
|
28 |
-
* @since 1.14.0
|
29 |
-
*/
|
30 |
-
public function init() {
|
31 |
-
$core = apply_filters( 'boldgrid_backup_get_core', null );
|
32 |
-
|
33 |
-
$this->icon = '<span class="dashicons dashicons-clock"></span>';
|
34 |
-
|
35 |
-
$this->title = __( 'Timely Auto Updates', 'boldgrid-backup' );
|
36 |
-
|
37 |
-
// Determine whether or not this feature is enabled.
|
38 |
-
$auto_update_settings = $core->settings->get_setting( 'auto_update' );
|
39 |
-
|
40 |
-
$is_enabled = ! empty( $auto_update_settings['timely-updates-enabled'] );
|
41 |
-
|
42 |
-
if ( $is_enabled ) {
|
43 |
-
$this->content = '<p>' . esc_html__( 'Timely Auto Updates are enabled!', 'boldgrid-backup' ) . '</p>';
|
44 |
-
} else {
|
45 |
-
$this->content = '<p>' . esc_html__( 'By setting up Timely Auto Updates, you can have more control over when new updates are installed by WordPress.', 'boldgrid-backup' ) . '</p>';
|
46 |
-
$this->content .= '<div class="notice notice-warning inline"><p>' . wp_kses(
|
47 |
-
sprintf(
|
48 |
-
// translators: 1 Opening anchor tag to "Auto Updates" settings page, 2 its closing tag.
|
49 |
-
__( 'Timely Auto Updates are not enabled. %1$sFix this%2$s.', 'boldgrid-backup' ),
|
50 |
-
'<a href="' . esc_url( $core->settings->get_settings_url( 'section_auto_updates' ) ) . '">',
|
51 |
-
'</a>'
|
52 |
-
),
|
53 |
-
[ 'a' => [ 'href' => [] ] ]
|
54 |
-
) . '</p></div>';
|
55 |
-
}
|
56 |
-
}
|
57 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/class-boldgrid-backup-admin-archive-browser.php
CHANGED
@@ -57,9 +57,7 @@ class Boldgrid_Backup_Admin_Archive_Browser {
|
|
57 |
wp_send_json_error( __( 'Permission denied.', 'boldgrid-backup' ) );
|
58 |
}
|
59 |
|
60 |
-
|
61 |
-
if ( ! check_ajax_referer( 'boldgrid_backup_remote_storage_upload', 'security', false ) &&
|
62 |
-
! check_ajax_referer( 'boldgrid_backup_browse_archive', 'security', false ) ) {
|
63 |
wp_send_json_error( __( 'Invalid nonce; security check failed.', 'boldgrid-backup' ) );
|
64 |
}
|
65 |
}
|
@@ -324,19 +322,17 @@ class Boldgrid_Backup_Admin_Archive_Browser {
|
|
324 |
$importer = new Boldgrid_Backup_Admin_Db_Import( $this->core );
|
325 |
$success = $importer->import_from_archive( $filepath, $file );
|
326 |
|
327 |
-
if (
|
328 |
$this->core->notice->add_user_notice(
|
329 |
// translators: 1: Filename 2: File path.
|
330 |
-
sprintf( __( '
|
331 |
-
$this->core->notice->lang['
|
332 |
);
|
333 |
-
} elseif ( false !== $success ) {
|
334 |
-
$this->core->notice->add_user_notice( $success, $this->core->notice->lang['dis_error'] );
|
335 |
} else {
|
336 |
$this->core->notice->add_user_notice(
|
337 |
// translators: 1: Filename 2: File path.
|
338 |
-
sprintf( __( '
|
339 |
-
$this->core->notice->lang['
|
340 |
);
|
341 |
}
|
342 |
}
|
57 |
wp_send_json_error( __( 'Permission denied.', 'boldgrid-backup' ) );
|
58 |
}
|
59 |
|
60 |
+
if ( ! check_ajax_referer( 'boldgrid_backup_remote_storage_upload', 'security', false ) ) {
|
|
|
|
|
61 |
wp_send_json_error( __( 'Invalid nonce; security check failed.', 'boldgrid-backup' ) );
|
62 |
}
|
63 |
}
|
322 |
$importer = new Boldgrid_Backup_Admin_Db_Import( $this->core );
|
323 |
$success = $importer->import_from_archive( $filepath, $file );
|
324 |
|
325 |
+
if ( ! $success ) {
|
326 |
$this->core->notice->add_user_notice(
|
327 |
// translators: 1: Filename 2: File path.
|
328 |
+
sprintf( __( 'Error, unable to import database %1$s from %2$s.', 'boldgrid-backup' ), $file, $filepath ),
|
329 |
+
$this->core->notice->lang['dis_error']
|
330 |
);
|
|
|
|
|
331 |
} else {
|
332 |
$this->core->notice->add_user_notice(
|
333 |
// translators: 1: Filename 2: File path.
|
334 |
+
sprintf( __( 'Success! Database %1$s imported from %2$s.', 'boldgrid-backup' ), $file, $filepath ),
|
335 |
+
$this->core->notice->lang['dis_success']
|
336 |
);
|
337 |
}
|
338 |
}
|
admin/class-boldgrid-backup-admin-archive-details.php
CHANGED
@@ -133,7 +133,6 @@ class Boldgrid_Backup_Admin_Archive_Details {
|
|
133 |
|
134 |
$this->enqueue_scripts();
|
135 |
$this->core->archive_actions->enqueue_scripts();
|
136 |
-
$this->core->auto_rollback->enqueue_home_scripts();
|
137 |
|
138 |
$archive_found = false;
|
139 |
|
@@ -162,36 +161,7 @@ class Boldgrid_Backup_Admin_Archive_Details {
|
|
162 |
$title = $this->core->archive->get_attribute( 'title' );
|
163 |
$description = $this->core->archive->get_attribute( 'description' );
|
164 |
|
165 |
-
$settings = $this->core->settings->get_settings();
|
166 |
-
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
167 |
-
wp_enqueue_style( 'bglib-ui-css' );
|
168 |
-
|
169 |
-
$in_modal = true;
|
170 |
-
$modal = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-backup-modal.php';
|
171 |
-
$in_modal = false;
|
172 |
-
|
173 |
-
echo '
|
174 |
-
<div class="wrap">
|
175 |
-
<div id="bglib-page-container" class="bgbkup-page-container">
|
176 |
-
<div id="bglib-page-top">
|
177 |
-
<div id="bglib-page-header" class="bglib-has-logo">
|
178 |
-
<h1>' . esc_html__( 'Total Upkeep Preflight Check', 'boldgrid-backup' ) . '</h1>
|
179 |
-
<div class="page-title-actions">
|
180 |
-
<a href="#TB_inline?width=800&height=600&inlineId=backup_now_content" class="thickbox page-title-action page-title-action-primary">' .
|
181 |
-
esc_html__( 'Backup Site Now', 'boldgrid-backup' ) . '
|
182 |
-
</a>
|
183 |
-
<a class="page-title-action add-new">' . esc_html__( 'Upload Backup', 'boldgrid-backup' ) . '</a>
|
184 |
-
</div>
|
185 |
-
</div>
|
186 |
-
</div>
|
187 |
-
<div id="bglib-page-content">
|
188 |
-
<div class="wp-header-end"></div>';
|
189 |
-
echo $modal; //phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
190 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-archive-details.php';
|
191 |
-
echo '
|
192 |
-
</div>
|
193 |
-
</div>
|
194 |
-
</div>';
|
195 |
}
|
196 |
|
197 |
/**
|
133 |
|
134 |
$this->enqueue_scripts();
|
135 |
$this->core->archive_actions->enqueue_scripts();
|
|
|
136 |
|
137 |
$archive_found = false;
|
138 |
|
161 |
$title = $this->core->archive->get_attribute( 'title' );
|
162 |
$description = $this->core->archive->get_attribute( 'description' );
|
163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-archive-details.php';
|
|
|
|
|
|
|
|
|
165 |
}
|
166 |
|
167 |
/**
|
admin/class-boldgrid-backup-admin-auto-rollback.php
CHANGED
@@ -358,25 +358,27 @@ class Boldgrid_Backup_Admin_Auto_Rollback {
|
|
358 |
* @since 1.6.0
|
359 |
*/
|
360 |
public function enqueue_update_selectors() {
|
361 |
-
$
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
|
|
370 |
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
|
377 |
-
|
378 |
|
379 |
-
|
|
|
380 |
}
|
381 |
|
382 |
/**
|
358 |
* @since 1.6.0
|
359 |
*/
|
360 |
public function enqueue_update_selectors() {
|
361 |
+
if ( $this->on_update_page || $this->core->utility->is_admin_page( 'boldgrid-backup' ) ) {
|
362 |
+
$handle = 'boldgrid-backup-admin-update-selectors';
|
363 |
+
|
364 |
+
wp_register_script(
|
365 |
+
$handle,
|
366 |
+
plugin_dir_url( __FILE__ ) . 'js/boldgrid-backup-admin-update-selectors.js',
|
367 |
+
array( 'jquery' ),
|
368 |
+
BOLDGRID_BACKUP_VERSION,
|
369 |
+
false
|
370 |
+
);
|
371 |
|
372 |
+
$localize_script_data = array(
|
373 |
+
// Generally used as the title attr of a disable update button.
|
374 |
+
'backupInProgress' => __( 'Your website is currently being backed up. You can perform updates when the backup is complete.', 'boldgrid-backup' ),
|
375 |
+
'waitClass' => 'bgbu-wait',
|
376 |
+
);
|
377 |
|
378 |
+
wp_localize_script( $handle, 'boldgrid_backup_admin_update_selectors', $localize_script_data );
|
379 |
|
380 |
+
wp_enqueue_script( $handle );
|
381 |
+
}
|
382 |
}
|
383 |
|
384 |
/**
|
admin/class-boldgrid-backup-admin-auto-updates.php
DELETED
@@ -1,217 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* File: class-boldgrid-backup-admin-auto-updates.php
|
4 |
-
*
|
5 |
-
* @link https://www.boldgrid.com
|
6 |
-
* @since 1.14.0
|
7 |
-
*
|
8 |
-
* @package Boldgrid_Backup
|
9 |
-
* @subpackage Boldgrid_Backup/admin
|
10 |
-
* @copyright BoldGrid
|
11 |
-
* @version 1.14.0
|
12 |
-
* @author BoldGrid <support@boldgrid.com>
|
13 |
-
*/
|
14 |
-
|
15 |
-
use Boldgrid\Library\Library\Plugin\Plugins;
|
16 |
-
|
17 |
-
/**
|
18 |
-
* Class: Boldgrid_Backup_Admin_Auto_Updates.
|
19 |
-
*
|
20 |
-
* @since 1.14.0
|
21 |
-
*/
|
22 |
-
class Boldgrid_Backup_Admin_Auto_Updates {
|
23 |
-
/**
|
24 |
-
* Settings.
|
25 |
-
*
|
26 |
-
* @since 1.14.0
|
27 |
-
* @var array
|
28 |
-
*/
|
29 |
-
public $settings;
|
30 |
-
|
31 |
-
/**
|
32 |
-
* Active Plugins.
|
33 |
-
*
|
34 |
-
* @since 1.14.0
|
35 |
-
* @var array
|
36 |
-
*/
|
37 |
-
public $plugins = array();
|
38 |
-
|
39 |
-
/**
|
40 |
-
* Themes.
|
41 |
-
*
|
42 |
-
* @since 1.14.0
|
43 |
-
* @var array
|
44 |
-
*/
|
45 |
-
public $themes = array();
|
46 |
-
|
47 |
-
/**
|
48 |
-
* Active Plugins.
|
49 |
-
*
|
50 |
-
* @since 1.14.0
|
51 |
-
* @var Boldgrid_Backup_Admin_Core
|
52 |
-
*/
|
53 |
-
public $core;
|
54 |
-
|
55 |
-
/**
|
56 |
-
* Constructor.
|
57 |
-
*
|
58 |
-
* @since 1.14.0
|
59 |
-
*/
|
60 |
-
public function __construct() {
|
61 |
-
|
62 |
-
$this->set_settings();
|
63 |
-
$plugins = new \Boldgrid\Library\Library\Plugin\Plugins();
|
64 |
-
$this->plugins = $plugins->getAllPlugins();
|
65 |
-
$this->themes = new \Boldgrid\Library\Library\Theme\Themes();
|
66 |
-
add_filter( 'automatic_updater_disabled', '__return_false' );
|
67 |
-
}
|
68 |
-
|
69 |
-
/**
|
70 |
-
* Set Settings.
|
71 |
-
*
|
72 |
-
* @since 1.14.0
|
73 |
-
*/
|
74 |
-
public function set_settings() {
|
75 |
-
$boldgrid_backup_settings = get_site_option( 'boldgrid_backup_settings', array() );
|
76 |
-
if ( isset( $boldgrid_backup_settings['auto_update'] ) ) {
|
77 |
-
$this->settings = $boldgrid_backup_settings['auto_update'];
|
78 |
-
} else {
|
79 |
-
$this->settings = array(
|
80 |
-
'days' => 0,
|
81 |
-
);
|
82 |
-
}
|
83 |
-
}
|
84 |
-
|
85 |
-
/**
|
86 |
-
* Maybe Update Plugin.
|
87 |
-
*
|
88 |
-
* @since 1.14.0
|
89 |
-
*
|
90 |
-
* @param string $slug Plugin Slug.
|
91 |
-
* @return bool
|
92 |
-
*/
|
93 |
-
public function maybe_update_plugin( $slug ) {
|
94 |
-
$days_to_wait = $this->settings['days'];
|
95 |
-
$plugin = \Boldgrid\Library\Library\Plugin\Plugins::getBySlug( $this->plugins, $slug );
|
96 |
-
$plugin->setUpdateData();
|
97 |
-
|
98 |
-
$days_since_release = $plugin->updateData->days; //phpcs:ignore WordPress.NamingConventions.ValidVariableName
|
99 |
-
$plugin_update_enabled = array_key_exists( $plugin->getFile(), $this->settings['plugins'] ) ? (bool) $this->settings['plugins'][ $plugin->getFile() ] : (bool) $this->settings['plugins']['default'];
|
100 |
-
$is_update_time = ( $days_since_release >= $days_to_wait );
|
101 |
-
if ( $is_update_time && true === $plugin_update_enabled ) {
|
102 |
-
return true;
|
103 |
-
} else {
|
104 |
-
return false;
|
105 |
-
}
|
106 |
-
}
|
107 |
-
|
108 |
-
/**
|
109 |
-
* Maybe Update Theme.
|
110 |
-
*
|
111 |
-
* @since 1.14.0
|
112 |
-
*
|
113 |
-
* @param string $stylesheet Theme's Stylesheet.
|
114 |
-
* @return bool
|
115 |
-
*/
|
116 |
-
public function maybe_update_theme( $stylesheet ) {
|
117 |
-
$days_to_wait = $this->settings['days'];
|
118 |
-
$theme = $this->themes->getFromStylesheet( $stylesheet );
|
119 |
-
$days_since_release = $theme->updateData->days; //phpcs:ignore WordPress.NamingConventions.ValidVariableName
|
120 |
-
$theme_update_enabled = isset( $this->settings['themes'][ $stylesheet ] ) ? (bool) $this->settings['themes'][ $stylesheet ] : (bool) $this->settings['plugins']['default'];
|
121 |
-
$is_update_time = ( $days_since_release >= $days_to_wait );
|
122 |
-
|
123 |
-
if ( $is_update_time && true === $theme_update_enabled ) {
|
124 |
-
return true;
|
125 |
-
} else {
|
126 |
-
return false;
|
127 |
-
}
|
128 |
-
}
|
129 |
-
|
130 |
-
/**
|
131 |
-
* Auto Update Plugins.
|
132 |
-
*
|
133 |
-
* This method is the callback for the 'auto_update_plugin' action hook.
|
134 |
-
*
|
135 |
-
* @since 1.14.0
|
136 |
-
*
|
137 |
-
* @param bool $update Whether or not to update.
|
138 |
-
* @param stdClass $item The item class passed to callback.
|
139 |
-
* @return bool
|
140 |
-
*/
|
141 |
-
public function auto_update_plugins( $update, stdClass $item ) {
|
142 |
-
// Array of plugin slugs to always auto-update.
|
143 |
-
$plugins = array();
|
144 |
-
foreach ( $this->plugins as $plugin ) {
|
145 |
-
if ( $this->maybe_update_plugin( $plugin->getSlug() ) ) {
|
146 |
-
$plugins[] = $plugin->getSlug();
|
147 |
-
}
|
148 |
-
}
|
149 |
-
if ( in_array( $item->slug, $plugins, true ) ) {
|
150 |
-
// Always update plugins in this array.
|
151 |
-
return true;
|
152 |
-
} else {
|
153 |
-
// Else, Do Not Update Plugin.
|
154 |
-
return false;
|
155 |
-
}
|
156 |
-
}
|
157 |
-
|
158 |
-
/**
|
159 |
-
* Auto Update Themes.
|
160 |
-
*
|
161 |
-
* This method is the callback for the 'auto_update_theme' action hook.
|
162 |
-
*
|
163 |
-
* @since 1.14.0
|
164 |
-
*
|
165 |
-
* @param bool $update Whether or not to update.
|
166 |
-
* @param stdClass $item The item class passed to callback.
|
167 |
-
* @return bool
|
168 |
-
*/
|
169 |
-
public function auto_update_themes( $update, stdClass $item ) {
|
170 |
-
// Array of theme stylesheets to always auto-update.
|
171 |
-
$themes = array();
|
172 |
-
foreach ( $this->themes->get() as $theme ) {
|
173 |
-
if ( $this->maybe_update_theme( $theme->stylesheet ) ) {
|
174 |
-
$themes[] = $theme->stylesheet;
|
175 |
-
}
|
176 |
-
}
|
177 |
-
if ( in_array( $item->theme, $themes, true ) ) {
|
178 |
-
// Always update themes in this array.
|
179 |
-
return true;
|
180 |
-
} else {
|
181 |
-
// Else, Do Not Update theme.
|
182 |
-
return false;
|
183 |
-
}
|
184 |
-
}
|
185 |
-
|
186 |
-
/**
|
187 |
-
* Auto Update Core.
|
188 |
-
*
|
189 |
-
* Sets the type of updates to perform for wpcore.
|
190 |
-
*
|
191 |
-
* @since 1.14.0
|
192 |
-
*/
|
193 |
-
public function auto_update_core() {
|
194 |
-
$wpcs_default = array(
|
195 |
-
'all' => false,
|
196 |
-
'minor' => true,
|
197 |
-
'major' => false,
|
198 |
-
'translation' => false,
|
199 |
-
'dev' => false,
|
200 |
-
);
|
201 |
-
|
202 |
-
$wpcs = isset( $this->settings['wpcore'] ) ? $this->settings['wpcore'] : $wpcs_default;
|
203 |
-
if ( $wpcs['all'] ) {
|
204 |
-
add_filter( 'auto_update_core', '__return_true' );
|
205 |
-
}
|
206 |
-
|
207 |
-
$dev = ( $wpcs['dev'] ) ? 'true' : 'false';
|
208 |
-
$major = ( $wpcs['major'] ) ? 'true' : 'false';
|
209 |
-
$minor = ( $wpcs['minor'] ) ? 'true' : 'false';
|
210 |
-
$translation = ( $wpcs['translation'] ) ? 'true' : 'false';
|
211 |
-
|
212 |
-
add_filter( 'allow_major_auto_core_updates', '__return_' . $major );
|
213 |
-
add_filter( 'allow_minor_auto_core_updates', '__return_' . $minor );
|
214 |
-
add_filter( 'auto_update_translation', '__return_' . $translation );
|
215 |
-
add_filter( 'allow_dev_auto_core_updates', '__return_' . $dev );
|
216 |
-
}
|
217 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/class-boldgrid-backup-admin-core.php
CHANGED
@@ -384,14 +384,6 @@ class Boldgrid_Backup_Admin_Core {
|
|
384 |
*/
|
385 |
public $db_omit;
|
386 |
|
387 |
-
/**
|
388 |
-
* Database Restoration errro
|
389 |
-
*
|
390 |
-
* @since 1.14.0
|
391 |
-
* @var string
|
392 |
-
*/
|
393 |
-
public $db_restore_error;
|
394 |
-
|
395 |
/**
|
396 |
* An instance of Boldgrid_Backup_Admin_Filelist.
|
397 |
*
|
@@ -582,14 +574,6 @@ class Boldgrid_Backup_Admin_Core {
|
|
582 |
*/
|
583 |
public $activity;
|
584 |
|
585 |
-
/**
|
586 |
-
* An instance of the Auto Updates class
|
587 |
-
*
|
588 |
-
* @since 1.14.0
|
589 |
-
* @var Boldgrid_Backup_Admin_Auto_Updates
|
590 |
-
*/
|
591 |
-
public $auto_updates;
|
592 |
-
|
593 |
/**
|
594 |
* Constructor.
|
595 |
*
|
@@ -717,20 +701,10 @@ class Boldgrid_Backup_Admin_Core {
|
|
717 |
|
718 |
$this->dashboard = new Boldgrid_Backup_Admin_Dashboard( $this );
|
719 |
|
720 |
-
|
721 |
-
|
722 |
-
* allow the plugins to be instantiated without using the new Factory methods.
|
723 |
-
*/
|
724 |
-
$this->plugin = new \Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup', $this->configs );
|
725 |
-
|
726 |
$this->premium_page = new Boldgrid_Backup_Admin_Premium_Features( $this );
|
727 |
|
728 |
-
// Instantiate Boldgrid_Backup_Admin_Auto_Updates.
|
729 |
-
|
730 |
-
if ( Boldgrid_Backup_Admin_Utility::is_active() ) {
|
731 |
-
$this->auto_updates = new Boldgrid_Backup_Admin_Auto_Updates();
|
732 |
-
}
|
733 |
-
|
734 |
// Ensure there is a backup identifier.
|
735 |
$this->get_backup_identifier();
|
736 |
|
@@ -1288,7 +1262,6 @@ class Boldgrid_Backup_Admin_Core {
|
|
1288 |
$status = $importer->import( $db_dump_filepath );
|
1289 |
|
1290 |
if ( ! empty( $status['error'] ) ) {
|
1291 |
-
$this->db_restore_error = $status['error'];
|
1292 |
do_action( 'boldgrid_backup_notice', $status['error'], 'notice notice-error is-dismissible' );
|
1293 |
return false;
|
1294 |
}
|
@@ -1567,8 +1540,6 @@ class Boldgrid_Backup_Admin_Core {
|
|
1567 |
$this->logger->init( 'archive-' . time() . '.log' );
|
1568 |
$this->logger->add( 'Backup process initialized.' );
|
1569 |
|
1570 |
-
$this->utility->bump_memory_limit( '1G' );
|
1571 |
-
|
1572 |
$this->pre_auto_update = 'pre_auto_update' === current_filter();
|
1573 |
|
1574 |
/*
|
@@ -2451,7 +2422,7 @@ class Boldgrid_Backup_Admin_Core {
|
|
2451 |
|
2452 |
// Display notice of deletion status.
|
2453 |
if ( ! $restore_ok ) {
|
2454 |
-
$error_message =
|
2455 |
$this->logger->add( $error_message );
|
2456 |
return [ 'error' => $error_message ];
|
2457 |
}
|
@@ -2507,6 +2478,7 @@ class Boldgrid_Backup_Admin_Core {
|
|
2507 |
global $pagenow;
|
2508 |
|
2509 |
// Thickbox used for Backup Site Now modal.
|
|
|
2510 |
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
2511 |
|
2512 |
wp_enqueue_style( 'bglib-ui-css' );
|
@@ -2528,6 +2500,11 @@ class Boldgrid_Backup_Admin_Core {
|
|
2528 |
$this->folder_exclusion->enqueue_scripts();
|
2529 |
$this->db_omit->enqueue_scripts();
|
2530 |
|
|
|
|
|
|
|
|
|
|
|
2531 |
// Get archive list.
|
2532 |
$archives = $this->get_archive_list();
|
2533 |
|
@@ -2598,11 +2575,6 @@ class Boldgrid_Backup_Admin_Core {
|
|
2598 |
// If there were any errors encountered during the backup, save them to the In Progress data.
|
2599 |
if ( ! empty( $archive_info['error'] ) ) {
|
2600 |
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'error', $archive_info['error'] );
|
2601 |
-
$this->notice->add_user_notice(
|
2602 |
-
'<p>' . $archive_info['error'] . '</p>',
|
2603 |
-
'notice notice-error is-dismissible',
|
2604 |
-
'Backup Failed'
|
2605 |
-
);
|
2606 |
}
|
2607 |
|
2608 |
if ( $this->is_archiving_update_protection ) {
|
@@ -2772,43 +2744,8 @@ class Boldgrid_Backup_Admin_Core {
|
|
2772 |
BOLDGRID_BACKUP_VERSION, 'all'
|
2773 |
);
|
2774 |
|
2775 |
-
|
2776 |
-
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
2777 |
-
wp_enqueue_style( 'bglib-ui-css' );
|
2778 |
-
|
2779 |
-
$this->auto_rollback->enqueue_home_scripts();
|
2780 |
-
$this->auto_rollback->enqueue_backup_scripts();
|
2781 |
-
$this->archive_actions->enqueue_scripts();
|
2782 |
-
|
2783 |
-
$this->folder_exclusion->enqueue_scripts();
|
2784 |
-
$this->db_omit->enqueue_scripts();
|
2785 |
-
|
2786 |
-
$in_modal = true;
|
2787 |
-
$modal = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-backup-modal.php';
|
2788 |
-
$in_modal = false;
|
2789 |
-
|
2790 |
-
echo '
|
2791 |
-
<div class="wrap">
|
2792 |
-
<div id="bglib-page-container" class="bgbkup-page-container">
|
2793 |
-
<div id="bglib-page-top">
|
2794 |
-
<div id="bglib-page-header" class="bglib-has-logo">
|
2795 |
-
<h1>' . esc_html__( 'Total Upkeep Preflight Check', 'boldgrid-backup' ) . '</h1>
|
2796 |
-
<div class="page-title-actions">
|
2797 |
-
<a href="#TB_inline?width=800&height=600&inlineId=backup_now_content" class="thickbox page-title-action page-title-action-primary">' .
|
2798 |
-
esc_html__( 'Backup Site Now', 'boldgrid-backup' ) . '
|
2799 |
-
</a>
|
2800 |
-
<a class="page-title-action add-new">' . esc_html__( 'Upload Backup', 'boldgrid-backup' ) . '</a>
|
2801 |
-
</div>
|
2802 |
-
</div>
|
2803 |
-
</div>
|
2804 |
-
<div id="bglib-page-content">
|
2805 |
-
<div class="wp-header-end"></div>';
|
2806 |
-
echo $modal; //phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
2807 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-test.php';
|
2808 |
-
echo '
|
2809 |
-
</div>
|
2810 |
-
</div>
|
2811 |
-
</div>';
|
2812 |
}
|
2813 |
|
2814 |
/**
|
@@ -3003,18 +2940,26 @@ class Boldgrid_Backup_Admin_Core {
|
|
3003 |
* @return null
|
3004 |
*/
|
3005 |
public function enforce_retention() {
|
3006 |
-
|
|
|
|
|
|
|
3007 |
$settings = $this->settings->get_settings();
|
|
|
3008 |
|
3009 |
$archives = $this->get_archive_list();
|
|
|
3010 |
|
3011 |
// Remove from the list of archives any that have been flagged as being protected.
|
|
|
3012 |
foreach ( $archives as $key => $archive ) {
|
3013 |
$this->archive->init( $archive['filepath'] );
|
3014 |
if ( '1' === $this->archive->get_attribute( 'protect' ) ) {
|
3015 |
unset( $archives[ $key ] );
|
|
|
3016 |
}
|
3017 |
}
|
|
|
3018 |
$archives = array_values( $archives );
|
3019 |
|
3020 |
// Get the archives file count.
|
@@ -3022,12 +2967,10 @@ class Boldgrid_Backup_Admin_Core {
|
|
3022 |
|
3023 |
// If the archive count is not beyond the set retention count, then return.
|
3024 |
if ( empty( $settings['retention_count'] ) || $archives_count <= $settings['retention_count'] ) {
|
|
|
3025 |
return;
|
3026 |
}
|
3027 |
|
3028 |
-
// Connect to the WordPress Filesystem API.
|
3029 |
-
global $wp_filesystem;
|
3030 |
-
|
3031 |
// Initialize $counter.
|
3032 |
$counter = $archives_count - 1;
|
3033 |
|
@@ -3041,36 +2984,30 @@ class Boldgrid_Backup_Admin_Core {
|
|
3041 |
|
3042 |
// Delete the specified archive file.
|
3043 |
$deleted = $this->archive->delete( $filepath );
|
3044 |
-
if ( ! $deleted ) {
|
3045 |
-
// Something went wrong.
|
3046 |
-
break;
|
3047 |
-
}
|
3048 |
-
|
3049 |
-
/**
|
3050 |
-
* Take action after a backup has been deleted due to retention.
|
3051 |
-
*
|
3052 |
-
* @since 1.5.3
|
3053 |
-
*
|
3054 |
-
* @param string $filepath
|
3055 |
-
*/
|
3056 |
-
do_action( 'boldgrid_backup_retention_deleted', $filepath );
|
3057 |
|
3058 |
// Decrease the archive count.
|
3059 |
$archives_count --;
|
3060 |
|
3061 |
// Increment the counter.
|
3062 |
$counter --;
|
3063 |
-
}
|
3064 |
-
}
|
3065 |
|
3066 |
-
|
3067 |
-
|
3068 |
-
|
3069 |
-
|
3070 |
-
|
3071 |
-
|
3072 |
-
|
3073 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
3074 |
}
|
|
|
|
|
|
|
3075 |
}
|
3076 |
}
|
384 |
*/
|
385 |
public $db_omit;
|
386 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
387 |
/**
|
388 |
* An instance of Boldgrid_Backup_Admin_Filelist.
|
389 |
*
|
574 |
*/
|
575 |
public $activity;
|
576 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
577 |
/**
|
578 |
* Constructor.
|
579 |
*
|
701 |
|
702 |
$this->dashboard = new Boldgrid_Backup_Admin_Dashboard( $this );
|
703 |
|
704 |
+
// Instantiate Boldgrid\Library\Library\Plugin\Plugin.
|
705 |
+
$this->plugin = new \Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup', $this->configs );
|
|
|
|
|
|
|
|
|
706 |
$this->premium_page = new Boldgrid_Backup_Admin_Premium_Features( $this );
|
707 |
|
|
|
|
|
|
|
|
|
|
|
|
|
708 |
// Ensure there is a backup identifier.
|
709 |
$this->get_backup_identifier();
|
710 |
|
1262 |
$status = $importer->import( $db_dump_filepath );
|
1263 |
|
1264 |
if ( ! empty( $status['error'] ) ) {
|
|
|
1265 |
do_action( 'boldgrid_backup_notice', $status['error'], 'notice notice-error is-dismissible' );
|
1266 |
return false;
|
1267 |
}
|
1540 |
$this->logger->init( 'archive-' . time() . '.log' );
|
1541 |
$this->logger->add( 'Backup process initialized.' );
|
1542 |
|
|
|
|
|
1543 |
$this->pre_auto_update = 'pre_auto_update' === current_filter();
|
1544 |
|
1545 |
/*
|
2422 |
|
2423 |
// Display notice of deletion status.
|
2424 |
if ( ! $restore_ok ) {
|
2425 |
+
$error_message = esc_html__( 'Could not restore database.', 'boldgrid-backup' );
|
2426 |
$this->logger->add( $error_message );
|
2427 |
return [ 'error' => $error_message ];
|
2428 |
}
|
2478 |
global $pagenow;
|
2479 |
|
2480 |
// Thickbox used for Backup Site Now modal.
|
2481 |
+
add_thickbox();
|
2482 |
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
2483 |
|
2484 |
wp_enqueue_style( 'bglib-ui-css' );
|
2500 |
$this->folder_exclusion->enqueue_scripts();
|
2501 |
$this->db_omit->enqueue_scripts();
|
2502 |
|
2503 |
+
// If uploading an archive file.
|
2504 |
+
if ( ! empty( $_FILES['file'] ) ) {
|
2505 |
+
$this->upload->upload_archive_file();
|
2506 |
+
}
|
2507 |
+
|
2508 |
// Get archive list.
|
2509 |
$archives = $this->get_archive_list();
|
2510 |
|
2575 |
// If there were any errors encountered during the backup, save them to the In Progress data.
|
2576 |
if ( ! empty( $archive_info['error'] ) ) {
|
2577 |
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'error', $archive_info['error'] );
|
|
|
|
|
|
|
|
|
|
|
2578 |
}
|
2579 |
|
2580 |
if ( $this->is_archiving_update_protection ) {
|
2744 |
BOLDGRID_BACKUP_VERSION, 'all'
|
2745 |
);
|
2746 |
|
2747 |
+
// Load template view.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2748 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-test.php';
|
|
|
|
|
|
|
|
|
2749 |
}
|
2750 |
|
2751 |
/**
|
2940 |
* @return null
|
2941 |
*/
|
2942 |
public function enforce_retention() {
|
2943 |
+
$logger = new Boldgrid_Backup_Admin_Log( $this );
|
2944 |
+
$logger->init( 'retention-local.log' );
|
2945 |
+
$logger->add( 'Beginning core::enforce_retention...' );
|
2946 |
+
|
2947 |
$settings = $this->settings->get_settings();
|
2948 |
+
$logger->add( 'Retention count: ' . $settings['retention_count'] );
|
2949 |
|
2950 |
$archives = $this->get_archive_list();
|
2951 |
+
$logger->add( 'Number of archives found: ' . count( $archives ) );
|
2952 |
|
2953 |
// Remove from the list of archives any that have been flagged as being protected.
|
2954 |
+
$protected_count = 0;
|
2955 |
foreach ( $archives as $key => $archive ) {
|
2956 |
$this->archive->init( $archive['filepath'] );
|
2957 |
if ( '1' === $this->archive->get_attribute( 'protect' ) ) {
|
2958 |
unset( $archives[ $key ] );
|
2959 |
+
$protected_count++;
|
2960 |
}
|
2961 |
}
|
2962 |
+
$logger->add( 'Number of protected archives found: ' . $protected_count );
|
2963 |
$archives = array_values( $archives );
|
2964 |
|
2965 |
// Get the archives file count.
|
2967 |
|
2968 |
// If the archive count is not beyond the set retention count, then return.
|
2969 |
if ( empty( $settings['retention_count'] ) || $archives_count <= $settings['retention_count'] ) {
|
2970 |
+
$logger->add( 'No backups to delete at this time due to retention settings.' );
|
2971 |
return;
|
2972 |
}
|
2973 |
|
|
|
|
|
|
|
2974 |
// Initialize $counter.
|
2975 |
$counter = $archives_count - 1;
|
2976 |
|
2984 |
|
2985 |
// Delete the specified archive file.
|
2986 |
$deleted = $this->archive->delete( $filepath );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2987 |
|
2988 |
// Decrease the archive count.
|
2989 |
$archives_count --;
|
2990 |
|
2991 |
// Increment the counter.
|
2992 |
$counter --;
|
|
|
|
|
2993 |
|
2994 |
+
if ( $deleted ) {
|
2995 |
+
$logger->add( 'Deleted ' . $filepath );
|
2996 |
+
|
2997 |
+
/**
|
2998 |
+
* Take action after a backup has been deleted due to retention.
|
2999 |
+
*
|
3000 |
+
* @since 1.5.3
|
3001 |
+
*
|
3002 |
+
* @param string $filepath
|
3003 |
+
*/
|
3004 |
+
do_action( 'boldgrid_backup_retention_deleted', $filepath );
|
3005 |
+
} else {
|
3006 |
+
$logger->add( 'Failed to delete ' . $filepath );
|
3007 |
+
}
|
3008 |
}
|
3009 |
+
|
3010 |
+
$logger->add( 'Completed core::enforce_retention.' );
|
3011 |
+
$logger->add_separator();
|
3012 |
}
|
3013 |
}
|
admin/class-boldgrid-backup-admin-dashboard.php
CHANGED
@@ -79,42 +79,6 @@ class Boldgrid_Backup_Admin_Dashboard {
|
|
79 |
* @since 1.11.0
|
80 |
*/
|
81 |
public function page() {
|
82 |
-
$settings = $this->core->settings->get_settings();
|
83 |
-
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
84 |
-
wp_enqueue_style( 'bglib-ui-css' );
|
85 |
-
|
86 |
-
$this->core->auto_rollback->enqueue_home_scripts();
|
87 |
-
$this->core->auto_rollback->enqueue_backup_scripts();
|
88 |
-
$this->core->archive_actions->enqueue_scripts();
|
89 |
-
|
90 |
-
$this->core->folder_exclusion->enqueue_scripts();
|
91 |
-
$this->core->db_omit->enqueue_scripts();
|
92 |
-
|
93 |
-
$in_modal = true;
|
94 |
-
$modal = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-backup-modal.php';
|
95 |
-
$in_modal = false;
|
96 |
-
|
97 |
-
echo '
|
98 |
-
<div class="wrap">
|
99 |
-
<div id="bglib-page-container" class="bgbkup-page-container">
|
100 |
-
<div id="bglib-page-top">
|
101 |
-
<div id="bglib-page-header" class="bglib-has-logo">
|
102 |
-
<h1>' . esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Dashboard', 'boldgrid-backup' ) ) . '</h1>
|
103 |
-
<div class="page-title-actions">
|
104 |
-
<a href="#TB_inline?width=800&height=600&inlineId=backup_now_content" class="thickbox page-title-action page-title-action-primary">' .
|
105 |
-
esc_html__( 'Backup Site Now', 'boldgrid-backup' ) . '
|
106 |
-
</a>
|
107 |
-
<a class="page-title-action add-new">' . esc_html__( 'Upload Backup', 'boldgrid-backup' ) . '</a>
|
108 |
-
</div>
|
109 |
-
</div>
|
110 |
-
</div>
|
111 |
-
<div id="bglib-page-content">
|
112 |
-
<div class="wp-header-end"></div>';
|
113 |
-
echo $modal; //phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
114 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-dashboard.php';
|
115 |
-
echo '
|
116 |
-
</div>
|
117 |
-
</div>
|
118 |
-
</div>';
|
119 |
}
|
120 |
}
|
79 |
* @since 1.11.0
|
80 |
*/
|
81 |
public function page() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-dashboard.php';
|
|
|
|
|
|
|
|
|
83 |
}
|
84 |
}
|
admin/class-boldgrid-backup-admin-db-dump.php
CHANGED
@@ -67,8 +67,7 @@ class Boldgrid_Backup_Admin_Db_Dump {
|
|
67 |
*
|
68 |
* In the list below, it is important that $include_tables is processed last.
|
69 |
*/
|
70 |
-
$include_views
|
71 |
-
|
72 |
$include_tables = $this->core->db_get->filter_by_type( $include_tables, 'BASE TABLE' );
|
73 |
|
74 |
Boldgrid_Backup_Admin_In_Progress_Data::set_args(
|
@@ -107,19 +106,6 @@ class Boldgrid_Backup_Admin_Db_Dump {
|
|
107 |
$settings['default-character-set'] = $wpdb->charset;
|
108 |
}
|
109 |
|
110 |
-
if ( ! empty( $include_views ) ) {
|
111 |
-
$db_import = new Boldgrid_Backup_Admin_Db_Import();
|
112 |
-
$user_has_privileges = $db_import->has_db_privileges( array( 'SHOW VIEW' ) );
|
113 |
-
if ( false === $user_has_privileges ) {
|
114 |
-
return array(
|
115 |
-
'error' => esc_html__(
|
116 |
-
'The database contains VIEWS, but the database user does not have the permissions needed to create a backup.',
|
117 |
-
'boldgrid-backup'
|
118 |
-
),
|
119 |
-
);
|
120 |
-
}
|
121 |
-
}
|
122 |
-
|
123 |
try {
|
124 |
$dump = new IMysqldump\Mysqldump(
|
125 |
$this->get_connection_string(),
|
67 |
*
|
68 |
* In the list below, it is important that $include_tables is processed last.
|
69 |
*/
|
70 |
+
$include_views = $this->core->db_get->filter_by_type( $include_tables, 'VIEW' );
|
|
|
71 |
$include_tables = $this->core->db_get->filter_by_type( $include_tables, 'BASE TABLE' );
|
72 |
|
73 |
Boldgrid_Backup_Admin_In_Progress_Data::set_args(
|
106 |
$settings['default-character-set'] = $wpdb->charset;
|
107 |
}
|
108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
try {
|
110 |
$dump = new IMysqldump\Mysqldump(
|
111 |
$this->get_connection_string(),
|
admin/class-boldgrid-backup-admin-db-import.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
-
* Class: Boldgrid_Backup_Admin_Db_Import
|
17 |
*
|
18 |
* @since 1.5.1
|
19 |
*/
|
@@ -22,8 +22,8 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
22 |
* The core class object.
|
23 |
*
|
24 |
* @since 1.6.0
|
25 |
-
* @var Boldgrid_Backup_Admin_Core
|
26 |
* @access private
|
|
|
27 |
*/
|
28 |
private $core;
|
29 |
|
@@ -49,23 +49,6 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
/**
|
53 |
-
* Get Lines from file.
|
54 |
-
*
|
55 |
-
* Gets an array of lines from a file.
|
56 |
-
*
|
57 |
-
* @since 1.14.0
|
58 |
-
*
|
59 |
-
* @param string $file String ocntaining the path of the file.
|
60 |
-
*
|
61 |
-
* @return array An array of lines.
|
62 |
-
*/
|
63 |
-
public function get_lines( $file ) {
|
64 |
-
if ( false === file_exists( $file ) ) {
|
65 |
-
return false;
|
66 |
-
}
|
67 |
-
return file( $file );
|
68 |
-
}
|
69 |
/**
|
70 |
* Import a mysqldump.
|
71 |
*
|
@@ -75,7 +58,7 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
75 |
* @return bool TRUE on success.
|
76 |
*/
|
77 |
public function import( $file ) {
|
78 |
-
$lines =
|
79 |
|
80 |
if ( false === $lines ) {
|
81 |
return array(
|
@@ -87,18 +70,6 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
87 |
);
|
88 |
}
|
89 |
|
90 |
-
$lines = $this->fix_view_statements( $lines );
|
91 |
-
|
92 |
-
if ( true === empty( $lines ) ) {
|
93 |
-
return array(
|
94 |
-
'error' => sprintf(
|
95 |
-
/* translators: 1: Database File Name */
|
96 |
-
__( 'MySQL Database User does not have necessary priviliges to restore mysqldump, %1$s.', 'boldgrid-backup' ),
|
97 |
-
$file
|
98 |
-
),
|
99 |
-
);
|
100 |
-
}
|
101 |
-
|
102 |
$success = $this->import_lines( $lines );
|
103 |
|
104 |
return $success;
|
@@ -107,7 +78,8 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
107 |
/**
|
108 |
* Import a database dump from an archive.
|
109 |
*
|
110 |
-
* Pass in "file.zip" and "backup.sql" and we'll find "backup.sql" in the
|
|
|
111 |
*
|
112 |
* @since 1.6.0
|
113 |
*
|
@@ -118,7 +90,8 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
118 |
public function import_from_archive( $archive_filepath, $file ) {
|
119 |
$this->core->archive->init( $archive_filepath );
|
120 |
$file_contents = $this->core->archive->get_dump_file( $file );
|
121 |
-
|
|
|
122 |
if ( empty( $sql ) ) {
|
123 |
$this->errors[] = __( 'Unable to get contents of file.', 'boldgrid-backup' );
|
124 |
return false;
|
@@ -132,7 +105,8 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
132 |
/**
|
133 |
* Import lines (queries).
|
134 |
*
|
135 |
-
* This method accepts an array of $lines, and loops through each $line and
|
|
|
136 |
*
|
137 |
* These lines usually come from either a .sql file, or a string is parsed
|
138 |
* into separate lines.
|
@@ -165,7 +139,7 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
165 |
|
166 |
// Check if this is the end of the query.
|
167 |
if ( substr( trim( $line ), -1, 1 ) === ';' ) {
|
168 |
-
$affected_rows = $
|
169 |
if ( false === $affected_rows ) {
|
170 |
return false;
|
171 |
}
|
@@ -180,8 +154,9 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
180 |
/**
|
181 |
* Import a string into a database.
|
182 |
*
|
183 |
-
* Generally this method is used when we grab a .sql file from within a .zip
|
184 |
-
* Instead of saving the .sql file then importing, it
|
|
|
185 |
*
|
186 |
* @since 1.6.0
|
187 |
*
|
@@ -191,187 +166,8 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
191 |
public function import_string( $string ) {
|
192 |
$lines = preg_split( "/\\r\\n|\\r|\\n/", $string );
|
193 |
|
194 |
-
$lines = $this->fix_view_statements( $lines );
|
195 |
-
|
196 |
-
if ( true === empty( $lines ) ) {
|
197 |
-
return __( 'The Database User does not have the necessary priviliges to restore this database.', 'boldgrid-backup' );
|
198 |
-
}
|
199 |
-
|
200 |
$success = $this->import_lines( $lines );
|
201 |
|
202 |
return $success;
|
203 |
}
|
204 |
-
|
205 |
-
/**
|
206 |
-
* Fix View Statements.
|
207 |
-
*
|
208 |
-
* Fixes view statements to ensure the definer matches the current db user.
|
209 |
-
*
|
210 |
-
* @since 1.14.0
|
211 |
-
*
|
212 |
-
* @param array $lines An array of lines from db file.
|
213 |
-
* @return array
|
214 |
-
*/
|
215 |
-
public function fix_view_statements( array $lines ) {
|
216 |
-
|
217 |
-
$has_drop_view_if_exists = false;
|
218 |
-
|
219 |
-
foreach ( $lines as $line ) {
|
220 |
-
if ( strpos( $line, 'DROP VIEW IF EXISTS' ) ) {
|
221 |
-
$has_drop_view_if_exists = true;
|
222 |
-
}
|
223 |
-
}
|
224 |
-
|
225 |
-
if ( false === $has_drop_view_if_exists ) {
|
226 |
-
return $lines;
|
227 |
-
}
|
228 |
-
|
229 |
-
$user_has_privileges = $this->has_db_privileges( array( 'SHOW VIEW', 'CREATE VIEW' ) );
|
230 |
-
|
231 |
-
if ( false === $user_has_privileges ) {
|
232 |
-
return array();
|
233 |
-
}
|
234 |
-
|
235 |
-
$fixed_lines = array();
|
236 |
-
|
237 |
-
foreach ( $lines as $line ) {
|
238 |
-
if ( strpos( $line, 'DEFINER=' ) === 9 ) {
|
239 |
-
$fixed_lines[] = $this->fix_definer( $line );
|
240 |
-
} else {
|
241 |
-
$fixed_lines[] = $line;
|
242 |
-
}
|
243 |
-
}
|
244 |
-
|
245 |
-
return $fixed_lines;
|
246 |
-
}
|
247 |
-
|
248 |
-
/**
|
249 |
-
* Fix Definer.
|
250 |
-
*
|
251 |
-
* Fixes the actual definer line.
|
252 |
-
*
|
253 |
-
* @since 1.14.0
|
254 |
-
*
|
255 |
-
* @param string $line The line from db dump file to fix.
|
256 |
-
* @return string The line with the DEFINER option removed.
|
257 |
-
*/
|
258 |
-
public function fix_definer( $line ) {
|
259 |
-
$line_fixed_definer = '';
|
260 |
-
$sql_security_offset = strpos( $line, 'SQL SECURITY' );
|
261 |
-
$line_fixed_definer = substr( $line, 0, 9 );
|
262 |
-
if ( strpos( $line, '@`%`' ) ) {
|
263 |
-
$line_fixed_definer .= 'DEFINER=`' . DB_USER . '`@`%` ';
|
264 |
-
} else {
|
265 |
-
$line_fixed_definer .= 'DEFINER=`' . DB_USER . '`@`' . DB_HOST . '` ';
|
266 |
-
}
|
267 |
-
|
268 |
-
if ( strpos( $line, 'SQL SECURITY' ) ) {
|
269 |
-
$line_fixed_definer .= subStr( $line, $sql_security_offset );
|
270 |
-
} else {
|
271 |
-
$line_fixed_definer .= '*/';
|
272 |
-
}
|
273 |
-
|
274 |
-
return $line_fixed_definer;
|
275 |
-
}
|
276 |
-
|
277 |
-
/**
|
278 |
-
* Tests if database user has specific privileges.
|
279 |
-
*
|
280 |
-
* @since 1.14.0
|
281 |
-
*
|
282 |
-
* @param array $privileges An array of permissions to check against.
|
283 |
-
* @return bool True if user has specified privileges.
|
284 |
-
*/
|
285 |
-
public function has_db_privileges( array $privileges ) {
|
286 |
-
$user_grants = $this->get_db_privileges();
|
287 |
-
if ( in_array( 'ALL', $user_grants, true ) ) {
|
288 |
-
return true;
|
289 |
-
}
|
290 |
-
if ( count( $privileges ) === count( array_intersect( $privileges, $user_grants ) ) ) {
|
291 |
-
return true;
|
292 |
-
}
|
293 |
-
return false;
|
294 |
-
}
|
295 |
-
|
296 |
-
/**
|
297 |
-
* Get database user privileges.
|
298 |
-
*
|
299 |
-
* @since 1.14.0
|
300 |
-
*
|
301 |
-
* @global wpdb $wpdb The WordPress database class object.
|
302 |
-
*
|
303 |
-
* @return array An array of database user privileges.
|
304 |
-
*/
|
305 |
-
public function get_db_privileges() {
|
306 |
-
$results = $this->show_grants_query();
|
307 |
-
|
308 |
-
foreach ( $results as $result ) {
|
309 |
-
$result[0] = str_replace( '\\', '', $result[0] );
|
310 |
-
$is_string_db_grant = ( false !== strpos( $result[0], 'ON `' . DB_NAME . '`' ) );
|
311 |
-
$is_string_all_grant = ( false !== strpos( $result[0], 'ON *.*' ) );
|
312 |
-
$is_grant_all_privileges = ( false !== strpos( $result[0], 'GRANT ALL PRIVILEGES' ) );
|
313 |
-
|
314 |
-
if ( ( $is_string_db_grant || $is_string_all_grant ) && $is_grant_all_privileges ) {
|
315 |
-
return array( 'ALL' );
|
316 |
-
}
|
317 |
-
if ( ( $is_string_db_grant ) && false === $is_grant_all_privileges ) {
|
318 |
-
return $this->get_grants_array( $result[0] );
|
319 |
-
}
|
320 |
-
}
|
321 |
-
return array();
|
322 |
-
}
|
323 |
-
|
324 |
-
/**
|
325 |
-
* Show Grants Query.
|
326 |
-
*
|
327 |
-
* Queries the database for 'SHOW GRANTS'.
|
328 |
-
*
|
329 |
-
* @since 1.14.0
|
330 |
-
*
|
331 |
-
* @return array an array of results from the database query
|
332 |
-
*/
|
333 |
-
public function show_grants_query() {
|
334 |
-
$db = new PDO( sprintf( 'mysql:host=%1$s;dbname=%2$s;', DB_HOST, DB_NAME ), DB_USER, DB_PASSWORD );
|
335 |
-
$db_statement = $db->query( 'SHOW GRANTS' );
|
336 |
-
return $db_statement->fetchAll();
|
337 |
-
}
|
338 |
-
|
339 |
-
/**
|
340 |
-
* Execute Import.
|
341 |
-
*
|
342 |
-
* Executes Import MySql Query.
|
343 |
-
*
|
344 |
-
* @since 1.14.0
|
345 |
-
*
|
346 |
-
* @param PDO $db The PDO Object.
|
347 |
-
* @param string $sql_line The line of sql to execute.
|
348 |
-
*
|
349 |
-
* @return int Number of affected rows
|
350 |
-
*/
|
351 |
-
public function exec_import( PDO $db, $sql_line ) {
|
352 |
-
return $db->exec( $sql_line );
|
353 |
-
}
|
354 |
-
|
355 |
-
/**
|
356 |
-
* Get a user's grants in the form of an array.
|
357 |
-
*
|
358 |
-
* @since 1.14.0
|
359 |
-
*
|
360 |
-
* @param string $grants_string A string containing the user's grants.
|
361 |
-
* @return array
|
362 |
-
*/
|
363 |
-
public function get_grants_array( $grants_string ) {
|
364 |
-
$expected_grants_string_start = 6;
|
365 |
-
|
366 |
-
if ( strpos( $grants_string, 'GRANT' ) === 0 ) {
|
367 |
-
$grants_string = substr( $grants_string, $expected_grants_string_start );
|
368 |
-
}
|
369 |
-
|
370 |
-
$on_strpos = strpos( $grants_string, ' ON ' );
|
371 |
-
if ( $on_strpos ) {
|
372 |
-
$grants_string = substr( $grants_string, 0, $on_strpos );
|
373 |
-
}
|
374 |
-
|
375 |
-
return explode( ', ', $grants_string );
|
376 |
-
}
|
377 |
}
|
13 |
*/
|
14 |
|
15 |
/**
|
16 |
+
* Class: Boldgrid_Backup_Admin_Db_Import
|
17 |
*
|
18 |
* @since 1.5.1
|
19 |
*/
|
22 |
* The core class object.
|
23 |
*
|
24 |
* @since 1.6.0
|
|
|
25 |
* @access private
|
26 |
+
* @var Boldgrid_Backup_Admin_Core
|
27 |
*/
|
28 |
private $core;
|
29 |
|
49 |
}
|
50 |
}
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
/**
|
53 |
* Import a mysqldump.
|
54 |
*
|
58 |
* @return bool TRUE on success.
|
59 |
*/
|
60 |
public function import( $file ) {
|
61 |
+
$lines = file( $file );
|
62 |
|
63 |
if ( false === $lines ) {
|
64 |
return array(
|
70 |
);
|
71 |
}
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
$success = $this->import_lines( $lines );
|
74 |
|
75 |
return $success;
|
78 |
/**
|
79 |
* Import a database dump from an archive.
|
80 |
*
|
81 |
+
* Pass in "file.zip" and "backup.sql" and we'll find "backup.sql" in the
|
82 |
+
* "file.zip" file and restore it.
|
83 |
*
|
84 |
* @since 1.6.0
|
85 |
*
|
90 |
public function import_from_archive( $archive_filepath, $file ) {
|
91 |
$this->core->archive->init( $archive_filepath );
|
92 |
$file_contents = $this->core->archive->get_dump_file( $file );
|
93 |
+
|
94 |
+
$sql = ! empty( $file_contents[0]['content'] ) ? $file_contents[0]['content'] : null;
|
95 |
if ( empty( $sql ) ) {
|
96 |
$this->errors[] = __( 'Unable to get contents of file.', 'boldgrid-backup' );
|
97 |
return false;
|
105 |
/**
|
106 |
* Import lines (queries).
|
107 |
*
|
108 |
+
* This method accepts an array of $lines, and loops through each $line and
|
109 |
+
* imports it.
|
110 |
*
|
111 |
* These lines usually come from either a .sql file, or a string is parsed
|
112 |
* into separate lines.
|
139 |
|
140 |
// Check if this is the end of the query.
|
141 |
if ( substr( trim( $line ), -1, 1 ) === ';' ) {
|
142 |
+
$affected_rows = $db->exec( $templine );
|
143 |
if ( false === $affected_rows ) {
|
144 |
return false;
|
145 |
}
|
154 |
/**
|
155 |
* Import a string into a database.
|
156 |
*
|
157 |
+
* Generally this method is used when we grab a .sql file from within a .zip
|
158 |
+
* file and import it. Instead of saving the .sql file then importing, it
|
159 |
+
* comes straight from the .zip file as a string to here.
|
160 |
*
|
161 |
* @since 1.6.0
|
162 |
*
|
166 |
public function import_string( $string ) {
|
167 |
$lines = preg_split( "/\\r\\n|\\r|\\n/", $string );
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
$success = $this->import_lines( $lines );
|
170 |
|
171 |
return $success;
|
172 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
}
|
admin/class-boldgrid-backup-admin-db-omit.php
CHANGED
@@ -101,7 +101,7 @@ class Boldgrid_Backup_Admin_Db_Omit {
|
|
101 |
$handle = 'boldgrid-backup-admin-table-include';
|
102 |
wp_register_script(
|
103 |
$handle,
|
104 |
-
plugin_dir_url( __FILE__ ) . 'js/boldgrid-backup-admin-table-
|
105 |
array( 'jquery' ),
|
106 |
BOLDGRID_BACKUP_VERSION,
|
107 |
false
|
101 |
$handle = 'boldgrid-backup-admin-table-include';
|
102 |
wp_register_script(
|
103 |
$handle,
|
104 |
+
plugin_dir_url( __FILE__ ) . 'js/boldgrid-backup-admin-table-include.js',
|
105 |
array( 'jquery' ),
|
106 |
BOLDGRID_BACKUP_VERSION,
|
107 |
false
|
admin/class-boldgrid-backup-admin-go-pro.php
CHANGED
@@ -90,7 +90,7 @@ class Boldgrid_Backup_Admin_Go_Pro {
|
|
90 |
|
91 |
$is_premium = $this->core->config->get_is_premium();
|
92 |
|
93 |
-
$premium_plugin = \Boldgrid\Library\Library\Plugin\
|
94 |
|
95 |
$notices = [
|
96 |
[
|
90 |
|
91 |
$is_premium = $this->core->config->get_is_premium();
|
92 |
|
93 |
+
$premium_plugin = new \Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup-premium' );
|
94 |
|
95 |
$notices = [
|
96 |
[
|
admin/class-boldgrid-backup-admin-in-progress-tmp.php
CHANGED
@@ -84,22 +84,23 @@ class Boldgrid_Backup_Admin_In_Progress_Tmp {
|
|
84 |
* @return array
|
85 |
*/
|
86 |
private function get_system_zip() {
|
87 |
-
$
|
88 |
-
|
89 |
-
$
|
90 |
-
$
|
|
|
91 |
|
92 |
-
$dirlist
|
|
|
93 |
|
94 |
-
|
95 |
-
$data = [
|
96 |
-
'size' => $dirlist[ $filename ]['size'],
|
97 |
-
'lastmodunix' => $dirlist[ $filename ]['lastmodunix'],
|
98 |
-
'size_format' => size_format( $dirlist[ $filename ]['size'], 2 ),
|
99 |
-
];
|
100 |
}
|
101 |
|
102 |
-
return
|
|
|
|
|
|
|
|
|
103 |
}
|
104 |
|
105 |
/**
|
84 |
* @return array
|
85 |
*/
|
86 |
private function get_system_zip() {
|
87 |
+
$dir = Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder::get_path();
|
88 |
+
$dirlist = $this->core->wp_filesystem->dirlist( $dir );
|
89 |
+
$dirlist = is_array( $dirlist ) ? $dirlist : [];
|
90 |
+
$size = 0;
|
91 |
+
$lastmodunix = 0;
|
92 |
|
93 |
+
foreach ( $dirlist as $file ) {
|
94 |
+
$size += ! empty( $file['size'] ) ? $file['size'] : 0;
|
95 |
|
96 |
+
$lastmodunix = ! empty( $file['lastmodunix'] ) ? $file['lastmodunix'] : $lastmodunix;
|
|
|
|
|
|
|
|
|
|
|
97 |
}
|
98 |
|
99 |
+
return [
|
100 |
+
'size' => $size,
|
101 |
+
'lastmodunix' => $lastmodunix,
|
102 |
+
'size_format' => size_format( $size, 2 ),
|
103 |
+
];
|
104 |
}
|
105 |
|
106 |
/**
|
admin/class-boldgrid-backup-admin-log.php
CHANGED
@@ -153,6 +153,15 @@ class Boldgrid_Backup_Admin_Log {
|
|
153 |
$this->add( $message );
|
154 |
}
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
/**
|
157 |
* Delete old log files.
|
158 |
*
|
@@ -199,13 +208,17 @@ class Boldgrid_Backup_Admin_Log {
|
|
199 |
|
200 |
$this->init_signal_handler();
|
201 |
|
202 |
-
$
|
|
|
|
|
|
|
203 |
|
204 |
-
|
205 |
-
|
|
|
206 |
}
|
207 |
|
208 |
-
return $log_created;
|
209 |
}
|
210 |
|
211 |
/**
|
@@ -278,11 +291,10 @@ class Boldgrid_Backup_Admin_Log {
|
|
278 |
*
|
279 |
* @since 1.12.6
|
280 |
*
|
281 |
-
* @param int
|
282 |
-
* @param array $signinfo Additional information about signal.
|
283 |
*/
|
284 |
-
public function signal_handler( $signo
|
285 |
-
$this->add( 'Signal received: ' . $signo
|
286 |
|
287 |
exit;
|
288 |
}
|
153 |
$this->add( $message );
|
154 |
}
|
155 |
|
156 |
+
/**
|
157 |
+
* Add a separator in the log.
|
158 |
+
*
|
159 |
+
* @since 1.13.7
|
160 |
+
*/
|
161 |
+
public function add_separator() {
|
162 |
+
$this->add( '--------------------------------------------------------------------------------' );
|
163 |
+
}
|
164 |
+
|
165 |
/**
|
166 |
* Delete old log files.
|
167 |
*
|
208 |
|
209 |
$this->init_signal_handler();
|
210 |
|
211 |
+
$log_exists = $this->core->wp_filesystem->exists( $this->filepath );
|
212 |
+
|
213 |
+
if ( ! $log_exists ) {
|
214 |
+
$log_created = $this->core->wp_filesystem->touch( $this->filepath );
|
215 |
|
216 |
+
if ( $log_created ) {
|
217 |
+
$this->add_generic();
|
218 |
+
}
|
219 |
}
|
220 |
|
221 |
+
return $log_exists || $log_created;
|
222 |
}
|
223 |
|
224 |
/**
|
291 |
*
|
292 |
* @since 1.12.6
|
293 |
*
|
294 |
+
* @param int The signal being handled.
|
|
|
295 |
*/
|
296 |
+
public function signal_handler( $signo ) {
|
297 |
+
$this->add( 'Signal received: ' . $signo );
|
298 |
|
299 |
exit;
|
300 |
}
|
admin/class-boldgrid-backup-admin-notice.php
CHANGED
@@ -236,55 +236,15 @@ class Boldgrid_Backup_Admin_Notice {
|
|
236 |
* @since 1.7.0
|
237 |
*/
|
238 |
public function display_autoupdate_notice() {
|
239 |
-
$auto_update_array = [
|
240 |
-
( apply_filters( 'allow_major_auto_core_updates', false ) ) ? 'Major' : false,
|
241 |
-
( apply_filters( 'allow_minor_auto_core_updates', false ) ) ? 'Minor' : false,
|
242 |
-
( apply_filters( 'allow_dev_auto_core_updates', false ) ) ? 'Development' : false,
|
243 |
-
( apply_filters( 'auto_update_translation', false ) ) ? 'Translation' : false,
|
244 |
-
];
|
245 |
-
$auto_update_array = array_filter( $auto_update_array );
|
246 |
-
$update_msg = '';
|
247 |
-
switch ( count( $auto_update_array ) ) {
|
248 |
-
case 0:
|
249 |
-
$update_msg = esc_html__( 'disabled for all', 'boldgrid-backup' );
|
250 |
-
break;
|
251 |
-
case 1:
|
252 |
-
$auto_update_array = array_values( $auto_update_array );
|
253 |
-
$update_msg = sprintf(
|
254 |
-
// translators: 1: Auto Update Type.
|
255 |
-
esc_html__( 'enabled for %s', 'boldgrid-backup' ),
|
256 |
-
$auto_update_array[0]
|
257 |
-
);
|
258 |
-
break;
|
259 |
-
case 4:
|
260 |
-
$update_msg = esc_html__( 'enabled for all', 'boldgrid-backup' );
|
261 |
-
break;
|
262 |
-
default:
|
263 |
-
$x = array_slice( $auto_update_array, 0, -1 );
|
264 |
-
|
265 |
-
$auto_update_string = implode( ', ', $x );
|
266 |
-
$update_msg = sprintf(
|
267 |
-
// translators: 1: Auto Update Types, 2: Auto Update Type.
|
268 |
-
esc_html__(
|
269 |
-
'enabled for %1$s and %2$s',
|
270 |
-
'boldgrid-backup'
|
271 |
-
),
|
272 |
-
$auto_update_string,
|
273 |
-
end( $auto_update_array )
|
274 |
-
);
|
275 |
-
break;
|
276 |
-
}
|
277 |
-
|
278 |
$message = sprintf(
|
279 |
// translators: 1: HTML anchor opening tag, 2: HTML anchor closing tag, 3: Plugin title.
|
280 |
esc_html__(
|
281 |
-
'Auto Updates
|
282 |
'boldgrid-backup'
|
283 |
),
|
284 |
'<a href="' . admin_url( 'admin.php?page=boldgrid-backup-settings§ion=section_auto_updates' ) . '">',
|
285 |
'</a>',
|
286 |
-
BOLDGRID_BACKUP_TITLE
|
287 |
-
$update_msg
|
288 |
);
|
289 |
|
290 |
do_action( 'boldgrid_backup_notice', $message, 'notice notice-info is-dismissible' );
|
@@ -301,7 +261,7 @@ class Boldgrid_Backup_Admin_Notice {
|
|
301 |
* @see \Boldgrid\Library\Library\Notice::show()
|
302 |
*/
|
303 |
public function plugin_renamed_notice() {
|
304 |
-
$plugin = \Boldgrid\Library\Library\Plugin\
|
305 |
|
306 |
/*
|
307 |
* Only show to existing users.
|
236 |
* @since 1.7.0
|
237 |
*/
|
238 |
public function display_autoupdate_notice() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
$message = sprintf(
|
240 |
// translators: 1: HTML anchor opening tag, 2: HTML anchor closing tag, 3: Plugin title.
|
241 |
esc_html__(
|
242 |
+
'Auto Updates can be configured in the %1$s%3$s Settings%2$s.',
|
243 |
'boldgrid-backup'
|
244 |
),
|
245 |
'<a href="' . admin_url( 'admin.php?page=boldgrid-backup-settings§ion=section_auto_updates' ) . '">',
|
246 |
'</a>',
|
247 |
+
BOLDGRID_BACKUP_TITLE
|
|
|
248 |
);
|
249 |
|
250 |
do_action( 'boldgrid_backup_notice', $message, 'notice notice-info is-dismissible' );
|
261 |
* @see \Boldgrid\Library\Library\Notice::show()
|
262 |
*/
|
263 |
public function plugin_renamed_notice() {
|
264 |
+
$plugin = new \Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup' );
|
265 |
|
266 |
/*
|
267 |
* Only show to existing users.
|
admin/class-boldgrid-backup-admin-premium-features.php
CHANGED
@@ -78,7 +78,6 @@ class Boldgrid_Backup_Admin_Premium_Features {
|
|
78 |
|
79 |
$this->page = $plugin->getPageBySlug( 'boldgrid-backup-premium-features' );
|
80 |
$cards = [
|
81 |
-
new Card\Timely_Auto_Updates( $this->page ),
|
82 |
new Card\Database_Encryption( $this->page ),
|
83 |
new Card\Google_Drive( $this->page ),
|
84 |
new Card\Amazon_S3( $this->page ),
|
@@ -101,47 +100,10 @@ class Boldgrid_Backup_Admin_Premium_Features {
|
|
101 |
* @return array returns an array of the $nav, $dashboard, and $premium_box for validation.
|
102 |
*/
|
103 |
public function page() {
|
104 |
-
|
105 |
wp_enqueue_style( 'bglib-ui-css' );
|
106 |
-
$settings = $this->core->settings->get_settings();
|
107 |
-
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
108 |
-
|
109 |
-
$this->core->auto_rollback->enqueue_home_scripts();
|
110 |
-
$this->core->auto_rollback->enqueue_backup_scripts();
|
111 |
-
$this->core->archive_actions->enqueue_scripts();
|
112 |
-
|
113 |
-
$this->core->folder_exclusion->enqueue_scripts();
|
114 |
-
$this->core->db_omit->enqueue_scripts();
|
115 |
-
|
116 |
-
$in_modal = true;
|
117 |
-
$modal = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-backup-modal.php';
|
118 |
-
$in_modal = false;
|
119 |
|
120 |
$this->admin_enqueue_scripts( 'boldgrid-backup-admin-premium-features' );
|
121 |
-
|
122 |
-
echo '
|
123 |
-
<div class="wrap">
|
124 |
-
<div id="bglib-page-container" class="bgbkup-page-container">
|
125 |
-
<div id="bglib-page-top">
|
126 |
-
<div id="bglib-page-header" class="bglib-has-logo">
|
127 |
-
<h1>' . esc_html__( 'Total Upkeep Premium Features', 'boldgrid-backup' ) . '</h1>
|
128 |
-
<div class="page-title-actions">
|
129 |
-
<a href="#TB_inline?width=800&height=600&inlineId=backup_now_content" class="thickbox page-title-action page-title-action-primary">' .
|
130 |
-
esc_html__( 'Backup Site Now', 'boldgrid-backup' ) . '
|
131 |
-
</a>
|
132 |
-
<a class="page-title-action add-new">' . esc_html__( 'Upload Backup', 'boldgrid-backup' ) . '</a>
|
133 |
-
</div>
|
134 |
-
</div>
|
135 |
-
</div>
|
136 |
-
<div id="bglib-page-content">
|
137 |
-
<div class="wp-header-end"></div>';
|
138 |
-
echo $modal; //phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
139 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-premium.php';
|
140 |
-
echo '
|
141 |
-
</div>
|
142 |
-
</div>
|
143 |
-
</div>';
|
144 |
-
|
145 |
$this->page->setAllNoticesRead();
|
146 |
return array(
|
147 |
'nav' => $nav,
|
78 |
|
79 |
$this->page = $plugin->getPageBySlug( 'boldgrid-backup-premium-features' );
|
80 |
$cards = [
|
|
|
81 |
new Card\Database_Encryption( $this->page ),
|
82 |
new Card\Google_Drive( $this->page ),
|
83 |
new Card\Amazon_S3( $this->page ),
|
100 |
* @return array returns an array of the $nav, $dashboard, and $premium_box for validation.
|
101 |
*/
|
102 |
public function page() {
|
|
|
103 |
wp_enqueue_style( 'bglib-ui-css' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
|
105 |
$this->admin_enqueue_scripts( 'boldgrid-backup-admin-premium-features' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-premium.php';
|
|
|
|
|
|
|
|
|
|
|
107 |
$this->page->setAllNoticesRead();
|
108 |
return array(
|
109 |
'nav' => $nav,
|
admin/class-boldgrid-backup-admin-settings.php
CHANGED
@@ -402,7 +402,7 @@ class Boldgrid_Backup_Admin_Settings {
|
|
402 |
* @param string $new_dir Destination directory.
|
403 |
* @return bool TRUE on success / no backups needed to be moved.
|
404 |
*/
|
405 |
-
|
406 |
$fail_count = 0;
|
407 |
|
408 |
$old_dir = Boldgrid_Backup_Admin_Utility::trailingslashit( $old_dir );
|
@@ -609,15 +609,6 @@ class Boldgrid_Backup_Admin_Settings {
|
|
609 |
}
|
610 |
}
|
611 |
|
612 |
-
/*
|
613 |
-
* Save Compression Level Settings.
|
614 |
-
*
|
615 |
-
* @since 1.14.0
|
616 |
-
*/
|
617 |
-
if ( isset( $_POST['compression_level'] ) ) {
|
618 |
-
$settings['compression_level'] = $_POST['compression_level'];
|
619 |
-
}
|
620 |
-
|
621 |
/*
|
622 |
* Save extractor settings.
|
623 |
*
|
@@ -709,15 +700,6 @@ class Boldgrid_Backup_Admin_Settings {
|
|
709 |
$settings['folder_exclusion_exclude'] = $this->core->folder_exclusion->from_post( 'exclude' );
|
710 |
$settings['folder_exclusion_type'] = $this->core->folder_exclusion->from_post( 'type' );
|
711 |
|
712 |
-
/*
|
713 |
-
* Save Auto Backup options
|
714 |
-
*
|
715 |
-
* @since 1.14.0
|
716 |
-
*/
|
717 |
-
if ( ! empty( $_POST['auto_update'] ) ) {
|
718 |
-
$settings['auto_update'] = $_POST['auto_update'];
|
719 |
-
}
|
720 |
-
|
721 |
// Read BoldGrid settings form POST request, sanitize, and merge settings with saved.
|
722 |
$boldgrid_settings = array_merge(
|
723 |
get_option( 'boldgrid_settings' ),
|
@@ -799,21 +781,17 @@ class Boldgrid_Backup_Admin_Settings {
|
|
799 |
* @see Boldgrid_Backup_Admin_Config::is_premium_active
|
800 |
*/
|
801 |
public function page_backup_settings() {
|
802 |
-
|
803 |
$is_premium = $this->core->config->get_is_premium();
|
804 |
$is_premium_installed = $this->core->config->is_premium_installed;
|
805 |
$is_premium_active = $this->core->config->is_premium_active;
|
806 |
|
|
|
807 |
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
808 |
wp_enqueue_style( 'bglib-ui-css' );
|
809 |
wp_enqueue_script( 'bglib-ui-js' );
|
810 |
wp_enqueue_script( 'bglib-sticky' );
|
811 |
wp_enqueue_script( 'bglib-license' );
|
812 |
|
813 |
-
$this->core->auto_rollback->enqueue_home_scripts();
|
814 |
-
$this->core->auto_rollback->enqueue_backup_scripts();
|
815 |
-
$this->core->archive_actions->enqueue_scripts();
|
816 |
-
|
817 |
if ( ! $this->is_saving_settings ) {
|
818 |
$is_functional = $this->core->test->run_functionality_tests();
|
819 |
}
|
@@ -940,32 +918,8 @@ class Boldgrid_Backup_Admin_Settings {
|
|
940 |
$settings['encrypt_db'] = false;
|
941 |
}
|
942 |
|
943 |
-
|
944 |
-
$modal = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-backup-modal.php';
|
945 |
-
$in_modal = false;
|
946 |
-
|
947 |
-
echo '
|
948 |
-
<div class="wrap">
|
949 |
-
<div id="bglib-page-container" class="bgbkup-page-container">
|
950 |
-
<div id="bglib-page-top">
|
951 |
-
<div id="bglib-page-header" class="bglib-has-logo">
|
952 |
-
<h1>' . esc_html__( 'Total Upkeep Backup and Restore Settings', 'boldgrid-backup' ) . '</h1>
|
953 |
-
<div class="page-title-actions">
|
954 |
-
<a href="#TB_inline?width=800&height=600&inlineId=backup_now_content" class="thickbox page-title-action page-title-action-primary">' .
|
955 |
-
esc_html__( 'Backup Site Now', 'boldgrid-backup' ) . '
|
956 |
-
</a>
|
957 |
-
<a class="page-title-action add-new">' . esc_html__( 'Upload Backup', 'boldgrid-backup' ) . '</a>
|
958 |
-
</div>
|
959 |
-
</div>
|
960 |
-
</div>
|
961 |
-
<div id="bglib-page-content">
|
962 |
-
<div class="wp-header-end"></div>';
|
963 |
-
echo $modal; //phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
964 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-settings.php';
|
965 |
-
echo '
|
966 |
-
</div>
|
967 |
-
</div>
|
968 |
-
</div>';
|
969 |
}
|
970 |
|
971 |
/**
|
402 |
* @param string $new_dir Destination directory.
|
403 |
* @return bool TRUE on success / no backups needed to be moved.
|
404 |
*/
|
405 |
+
private function move_backups( $old_dir, $new_dir ) {
|
406 |
$fail_count = 0;
|
407 |
|
408 |
$old_dir = Boldgrid_Backup_Admin_Utility::trailingslashit( $old_dir );
|
609 |
}
|
610 |
}
|
611 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
612 |
/*
|
613 |
* Save extractor settings.
|
614 |
*
|
700 |
$settings['folder_exclusion_exclude'] = $this->core->folder_exclusion->from_post( 'exclude' );
|
701 |
$settings['folder_exclusion_type'] = $this->core->folder_exclusion->from_post( 'type' );
|
702 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
703 |
// Read BoldGrid settings form POST request, sanitize, and merge settings with saved.
|
704 |
$boldgrid_settings = array_merge(
|
705 |
get_option( 'boldgrid_settings' ),
|
781 |
* @see Boldgrid_Backup_Admin_Config::is_premium_active
|
782 |
*/
|
783 |
public function page_backup_settings() {
|
|
|
784 |
$is_premium = $this->core->config->get_is_premium();
|
785 |
$is_premium_installed = $this->core->config->is_premium_installed;
|
786 |
$is_premium_active = $this->core->config->is_premium_active;
|
787 |
|
788 |
+
add_thickbox();
|
789 |
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
790 |
wp_enqueue_style( 'bglib-ui-css' );
|
791 |
wp_enqueue_script( 'bglib-ui-js' );
|
792 |
wp_enqueue_script( 'bglib-sticky' );
|
793 |
wp_enqueue_script( 'bglib-license' );
|
794 |
|
|
|
|
|
|
|
|
|
795 |
if ( ! $this->is_saving_settings ) {
|
796 |
$is_functional = $this->core->test->run_functionality_tests();
|
797 |
}
|
918 |
$settings['encrypt_db'] = false;
|
919 |
}
|
920 |
|
921 |
+
// Include the page template.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
922 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-settings.php';
|
|
|
|
|
|
|
|
|
923 |
}
|
924 |
|
925 |
/**
|
admin/class-boldgrid-backup-admin-support.php
CHANGED
@@ -242,43 +242,8 @@ class Boldgrid_Backup_Admin_Support {
|
|
242 |
* @since 1.10.1
|
243 |
*/
|
244 |
public function page() {
|
245 |
-
|
246 |
wp_enqueue_style( 'bglib-ui-css' );
|
247 |
-
$settings = $this->core->settings->get_settings();
|
248 |
-
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
249 |
-
|
250 |
-
$this->core->auto_rollback->enqueue_home_scripts();
|
251 |
-
$this->core->auto_rollback->enqueue_backup_scripts();
|
252 |
-
$this->core->archive_actions->enqueue_scripts();
|
253 |
-
|
254 |
-
$this->core->folder_exclusion->enqueue_scripts();
|
255 |
-
$this->core->db_omit->enqueue_scripts();
|
256 |
-
|
257 |
-
$in_modal = true;
|
258 |
-
$modal = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-backup-modal.php';
|
259 |
-
$in_modal = false;
|
260 |
|
261 |
-
echo '
|
262 |
-
<div class="wrap">
|
263 |
-
<div id="bglib-page-container" class="bgbkup-page-container">
|
264 |
-
<div id="bglib-page-top">
|
265 |
-
<div id="bglib-page-header" class="bglib-has-logo">
|
266 |
-
<h1>' . esc_html__( 'Total Upkeep Support', 'boldgrid-backup' ) . '</h1>
|
267 |
-
<div class="page-title-actions">
|
268 |
-
<a href="#TB_inline?width=800&height=600&inlineId=backup_now_content" class="thickbox page-title-action page-title-action-primary">' .
|
269 |
-
esc_html__( 'Backup Site Now', 'boldgrid-backup' ) . '
|
270 |
-
</a>
|
271 |
-
<a class="page-title-action add-new">' . esc_html__( 'Upload Backup', 'boldgrid-backup' ) . '</a>
|
272 |
-
</div>
|
273 |
-
</div>
|
274 |
-
</div>
|
275 |
-
<div id="bglib-page-content">
|
276 |
-
<div class="wp-header-end"></div>';
|
277 |
-
echo $modal; //phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped, WordPress.Security.EscapeOutput
|
278 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-support.php';
|
279 |
-
echo '
|
280 |
-
</div>
|
281 |
-
</div>
|
282 |
-
</div>';
|
283 |
}
|
284 |
}
|
242 |
* @since 1.10.1
|
243 |
*/
|
244 |
public function page() {
|
|
|
245 |
wp_enqueue_style( 'bglib-ui-css' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
247 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-support.php';
|
|
|
|
|
|
|
|
|
248 |
}
|
249 |
}
|
admin/class-boldgrid-backup-admin-tools.php
CHANGED
@@ -51,6 +51,8 @@ class Boldgrid_Backup_Admin_Tools {
|
|
51 |
wp_enqueue_script( 'bglib-ui-js' );
|
52 |
wp_enqueue_script( 'bglib-sticky' );
|
53 |
|
|
|
|
|
54 |
}
|
55 |
|
56 |
/**
|
@@ -59,42 +61,6 @@ class Boldgrid_Backup_Admin_Tools {
|
|
59 |
* @since 1.6.0
|
60 |
*/
|
61 |
public function page() {
|
62 |
-
|
63 |
-
$settings = $this->core->settings->get_settings();
|
64 |
-
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
65 |
-
|
66 |
-
$this->core->auto_rollback->enqueue_home_scripts();
|
67 |
-
$this->core->auto_rollback->enqueue_backup_scripts();
|
68 |
-
$this->core->archive_actions->enqueue_scripts();
|
69 |
-
|
70 |
-
$this->core->folder_exclusion->enqueue_scripts();
|
71 |
-
$this->core->db_omit->enqueue_scripts();
|
72 |
-
|
73 |
-
$in_modal = true;
|
74 |
-
$modal = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-backup-modal.php';
|
75 |
-
$in_modal = false;
|
76 |
-
|
77 |
-
echo '
|
78 |
-
<div class="wrap">
|
79 |
-
<div id="bglib-page-container" class="bgbkup-page-container">
|
80 |
-
<div id="bglib-page-top">
|
81 |
-
<div id="bglib-page-header" class="bglib-has-logo">
|
82 |
-
<h1>' . esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Total Upkeep Tools', 'boldgrid-backup' ) ) . '</h1>
|
83 |
-
<div class="page-title-actions">
|
84 |
-
<a href="#TB_inline?width=800&height=600&inlineId=backup_now_content" class="thickbox page-title-action page-title-action-primary">' .
|
85 |
-
esc_html__( 'Backup Site Now', 'boldgrid-backup' ) . '
|
86 |
-
</a>
|
87 |
-
<a class="page-title-action add-new">' . esc_html__( 'Upload Backup', 'boldgrid-backup' ) . '</a>
|
88 |
-
</div>
|
89 |
-
</div>
|
90 |
-
</div>
|
91 |
-
<div id="bglib-page-content">
|
92 |
-
<div class="wp-header-end"></div>';
|
93 |
-
echo $modal; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped, WordPress.XSS.EscapeOutput.OutputNotEscaped
|
94 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-tools.php';
|
95 |
-
echo '
|
96 |
-
</div>
|
97 |
-
</div>
|
98 |
-
</div>';
|
99 |
}
|
100 |
}
|
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 |
/**
|
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/class-boldgrid-backup-admin-transfers.php
CHANGED
@@ -47,20 +47,6 @@ class Boldgrid_Backup_Admin_Transfers {
|
|
47 |
wp_enqueue_script( 'bglib-ui-js' );
|
48 |
wp_enqueue_script( 'bglib-sticky' );
|
49 |
|
50 |
-
$settings = $this->core->settings->get_settings();
|
51 |
-
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
52 |
-
|
53 |
-
$this->core->auto_rollback->enqueue_home_scripts();
|
54 |
-
$this->core->auto_rollback->enqueue_backup_scripts();
|
55 |
-
$this->core->archive_actions->enqueue_scripts();
|
56 |
-
|
57 |
-
$this->core->folder_exclusion->enqueue_scripts();
|
58 |
-
$this->core->db_omit->enqueue_scripts();
|
59 |
-
|
60 |
-
$in_modal = true;
|
61 |
-
$modal = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-backup-modal.php';
|
62 |
-
$in_modal = false;
|
63 |
-
|
64 |
wp_enqueue_style(
|
65 |
'boldgrid-backup-admin-transfers',
|
66 |
plugin_dir_url( __FILE__ ) . 'css/boldgrid-backup-admin-home.css',
|
@@ -68,27 +54,6 @@ class Boldgrid_Backup_Admin_Transfers {
|
|
68 |
BOLDGRID_BACKUP_VERSION
|
69 |
);
|
70 |
|
71 |
-
echo '
|
72 |
-
<div class="wrap">
|
73 |
-
<div id="bglib-page-container" class="bgbkup-page-container">
|
74 |
-
<div id="bglib-page-top">
|
75 |
-
<div id="bglib-page-header" class="bglib-has-logo">
|
76 |
-
<h1>' . esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Total Upkeep Transfers', 'boldgrid-backup' ) ) . '</h1>
|
77 |
-
<div class="page-title-actions">
|
78 |
-
<a href="#TB_inline?width=800&height=600&inlineId=backup_now_content" class="thickbox page-title-action page-title-action-primary">' .
|
79 |
-
esc_html__( 'Backup Site Now', 'boldgrid-backup' ) . '
|
80 |
-
</a>
|
81 |
-
<a class="page-title-action add-new">' . esc_html__( 'Upload Backup', 'boldgrid-backup' ) . '</a>
|
82 |
-
</div>
|
83 |
-
</div>
|
84 |
-
</div>
|
85 |
-
<div id="bglib-page-content">
|
86 |
-
<div class="wp-header-end"></div>';
|
87 |
-
echo $modal; //phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
88 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-transfers.php';
|
89 |
-
echo '
|
90 |
-
</div>
|
91 |
-
</div>
|
92 |
-
</div>';
|
93 |
}
|
94 |
}
|
47 |
wp_enqueue_script( 'bglib-ui-js' );
|
48 |
wp_enqueue_script( 'bglib-sticky' );
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
wp_enqueue_style(
|
51 |
'boldgrid-backup-admin-transfers',
|
52 |
plugin_dir_url( __FILE__ ) . 'css/boldgrid-backup-admin-home.css',
|
54 |
BOLDGRID_BACKUP_VERSION
|
55 |
);
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-transfers.php';
|
|
|
|
|
|
|
|
|
58 |
}
|
59 |
}
|
admin/class-boldgrid-backup-admin-upload.php
CHANGED
@@ -141,17 +141,6 @@ class Boldgrid_Backup_Admin_Upload {
|
|
141 |
return false;
|
142 |
}
|
143 |
|
144 |
-
if ( ! preg_match( '/boldgrid-backup-.*-\d{8}-\d{6}/', $_FILES['file']['name'] ) ) {
|
145 |
-
// Display an error notice.
|
146 |
-
do_action(
|
147 |
-
'boldgrid_backup_notice',
|
148 |
-
esc_html__( 'Uploaded File is not a Total Upkeep backup file.', 'boldgrid-backup' ),
|
149 |
-
'notice notice-error is-dismissible'
|
150 |
-
);
|
151 |
-
|
152 |
-
return false;
|
153 |
-
}
|
154 |
-
|
155 |
return true;
|
156 |
}
|
157 |
|
@@ -510,16 +499,4 @@ class Boldgrid_Backup_Admin_Upload {
|
|
510 |
]
|
511 |
);
|
512 |
}
|
513 |
-
|
514 |
-
/**
|
515 |
-
* Archive Upload Action
|
516 |
-
*
|
517 |
-
* @since 1.14.0
|
518 |
-
*/
|
519 |
-
public function archive_upload_action() {
|
520 |
-
$page_is_bgbkup = apply_filters( 'is_boldgrid_backup_page', null );
|
521 |
-
if ( $page_is_bgbkup && ! empty( $_FILES['file'] ) ) {
|
522 |
-
$this->core->upload->upload_archive_file();
|
523 |
-
}
|
524 |
-
}
|
525 |
}
|
141 |
return false;
|
142 |
}
|
143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
return true;
|
145 |
}
|
146 |
|
499 |
]
|
500 |
);
|
501 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
502 |
}
|
admin/class-boldgrid-backup-admin.php
CHANGED
@@ -92,10 +92,6 @@ class Boldgrid_Backup_Admin {
|
|
92 |
* @since 1.0
|
93 |
*/
|
94 |
public function enqueue_styles() {
|
95 |
-
if ( self::is_upkeep_page() ) {
|
96 |
-
Boldgrid\Library\Library\Ui\Page::enqueueScripts();
|
97 |
-
}
|
98 |
-
|
99 |
$core = apply_filters( 'boldgrid_backup_get_core', null );
|
100 |
|
101 |
/*
|
@@ -239,29 +235,4 @@ class Boldgrid_Backup_Admin {
|
|
239 |
// Return the configuration array.
|
240 |
return $configs;
|
241 |
}
|
242 |
-
|
243 |
-
/**
|
244 |
-
* Whether or not the current screen is a Total Upkeep page.
|
245 |
-
*
|
246 |
-
* @since 1.14.0
|
247 |
-
*
|
248 |
-
* @return bool
|
249 |
-
*/
|
250 |
-
public static function is_upkeep_page() {
|
251 |
-
$screen = get_current_screen();
|
252 |
-
|
253 |
-
$prefixes = [
|
254 |
-
'toplevel_page_boldgrid-backup-',
|
255 |
-
'total-upkeep_page_',
|
256 |
-
'admin_page_boldgrid-backup-',
|
257 |
-
];
|
258 |
-
|
259 |
-
foreach ( $prefixes as $prefix ) {
|
260 |
-
if ( substr( $screen->id, 0, strlen( $prefix ) ) === $prefix ) {
|
261 |
-
return true;
|
262 |
-
}
|
263 |
-
}
|
264 |
-
|
265 |
-
return false;
|
266 |
-
}
|
267 |
}
|
92 |
* @since 1.0
|
93 |
*/
|
94 |
public function enqueue_styles() {
|
|
|
|
|
|
|
|
|
95 |
$core = apply_filters( 'boldgrid_backup_get_core', null );
|
96 |
|
97 |
/*
|
235 |
// Return the configuration array.
|
236 |
return $configs;
|
237 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
}
|
admin/compressor/class-boldgrid-backup-admin-compressor-system-zip.php
CHANGED
@@ -72,22 +72,6 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
72 |
*/
|
73 |
protected $key = 'system_zip';
|
74 |
|
75 |
-
/**
|
76 |
-
* Total Size Archived.
|
77 |
-
*
|
78 |
-
* @since 1.14.0
|
79 |
-
* @var int
|
80 |
-
*/
|
81 |
-
public $total_size_archived;
|
82 |
-
|
83 |
-
/**
|
84 |
-
* Default Compression Level.
|
85 |
-
*
|
86 |
-
* @since 1.14.0
|
87 |
-
* @var string
|
88 |
-
*/
|
89 |
-
public $default_compression_level = '6';
|
90 |
-
|
91 |
/**
|
92 |
* Constructor.
|
93 |
*
|
@@ -168,20 +152,20 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
168 |
|
169 |
$this->filelist_path = $this->core->backup_dir->get_path_to( 'system_zip_filelist-' . time() . '.txt' );
|
170 |
|
171 |
-
$
|
172 |
|
173 |
// Create the file list.
|
174 |
$filelist_array = [];
|
175 |
foreach ( $this->filelist as $file ) {
|
176 |
$filelist_array[] = str_replace( ABSPATH, '', $file[0] );
|
177 |
|
178 |
-
$
|
179 |
}
|
180 |
|
181 |
// Add some values for "In progress".
|
182 |
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'total_files_done', count( $this->filelist ) );
|
183 |
-
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'total_size_archived', $
|
184 |
-
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'total_size_archived_size_format', size_format( $
|
185 |
|
186 |
/*
|
187 |
* Remove our db_dump_filepath from the list.
|
@@ -199,7 +183,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
199 |
implode( PHP_EOL, $filelist_array )
|
200 |
);
|
201 |
|
202 |
-
$this->core->logger->add( 'Finished creating list of files to include in zip.
|
203 |
$this->core->logger->add_memory();
|
204 |
}
|
205 |
|
@@ -214,7 +198,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
214 |
|
215 |
$this->temp_folder->create();
|
216 |
|
217 |
-
$this->
|
218 |
|
219 |
$this->temp_folder->delete();
|
220 |
|
@@ -222,122 +206,6 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
222 |
$this->core->logger->add_memory();
|
223 |
}
|
224 |
|
225 |
-
/**
|
226 |
-
* Get Filelist Chunks.
|
227 |
-
*
|
228 |
-
* @since 1.14.0
|
229 |
-
*
|
230 |
-
* @return array Example https://pastebin.com/JsSEzNwA
|
231 |
-
*/
|
232 |
-
public function get_filelist_chunks() {
|
233 |
-
// Chunk size in bytes.
|
234 |
-
$max_chunk_size = 26214400;
|
235 |
-
$size_of_chunk = 0;
|
236 |
-
$filelist_chunks = array( array() );
|
237 |
-
$chunk_position = 0;
|
238 |
-
foreach ( $this->filelist as $file ) {
|
239 |
-
// Adds file to this chunk.
|
240 |
-
$filelist_chunks[ $chunk_position ][] = $file[1];
|
241 |
-
|
242 |
-
// Adds the most recent file's size to chunk size.
|
243 |
-
$size_of_chunk = $size_of_chunk + (int) $file[2];
|
244 |
-
|
245 |
-
// If the chunk size is >= the max chunk size, then move to next chunk.
|
246 |
-
if ( $size_of_chunk >= $max_chunk_size ) {
|
247 |
-
$chunk_position++;
|
248 |
-
$size_of_chunk = 0;
|
249 |
-
}
|
250 |
-
}
|
251 |
-
|
252 |
-
return $filelist_chunks;
|
253 |
-
}
|
254 |
-
|
255 |
-
/**
|
256 |
-
* Close.
|
257 |
-
*
|
258 |
-
* @since 1.14.0
|
259 |
-
*/
|
260 |
-
private function close() {
|
261 |
-
$chunks_closed = 0;
|
262 |
-
$filelist_chunks = $this->get_filelist_chunks();
|
263 |
-
$total_chunks = count( $filelist_chunks );
|
264 |
-
|
265 |
-
foreach ( $filelist_chunks as $filelist_chunk ) {
|
266 |
-
$chunk_start_time = microtime( true );
|
267 |
-
$add_file_string = implode( ' ', $filelist_chunk );
|
268 |
-
$this->zip_proc( $filelist_chunk );
|
269 |
-
$chunks_closed++;
|
270 |
-
$percent_complete = round( $chunks_closed / $total_chunks, 2 );
|
271 |
-
$chunk_end_time = microtime( true );
|
272 |
-
$close_duration = $chunk_end_time - $chunk_start_time;
|
273 |
-
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'percent_closed', $percent_complete );
|
274 |
-
$this->core->logger->add(
|
275 |
-
'Chunk closed in ' .
|
276 |
-
$close_duration .
|
277 |
-
' seconds. ' . $percent_complete * 100 .
|
278 |
-
'% complete closing'
|
279 |
-
);
|
280 |
-
$this->core->logger->add_memory();
|
281 |
-
}
|
282 |
-
}
|
283 |
-
|
284 |
-
/**
|
285 |
-
* Get Compression Level.
|
286 |
-
*
|
287 |
-
* @since 1.14.0
|
288 |
-
*
|
289 |
-
* @return string
|
290 |
-
*/
|
291 |
-
private function get_compression_level() {
|
292 |
-
$compression_level = $this->core->settings->get_setting( 'compression_level' );
|
293 |
-
return isset( $compression_level ) ? $compression_level : $this->default_compression_level;
|
294 |
-
}
|
295 |
-
|
296 |
-
/**
|
297 |
-
* Close Zip using proc_open.
|
298 |
-
*
|
299 |
-
* @since 1.14.0
|
300 |
-
*
|
301 |
-
* @param array $filelist_chunk Array of Files to be added.
|
302 |
-
*/
|
303 |
-
private function zip_proc( $filelist_chunk ) {
|
304 |
-
$descriptorspec = array(
|
305 |
-
0 => array( 'pipe', 'r' ), // stdin is a pipe that the child will read from.
|
306 |
-
1 => array( 'pipe', 'w' ), // stdout is a pipe that the child will write to.
|
307 |
-
2 => array( 'file', '/tmp/error-output.txt', 'a' ), // stderr is a file to write to.
|
308 |
-
);
|
309 |
-
|
310 |
-
$cwd = ABSPATH;
|
311 |
-
|
312 |
-
$compression_level = $this->get_compression_level();
|
313 |
-
|
314 |
-
$process = proc_open( //phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.system_calls_proc_open
|
315 |
-
'zip -' . $compression_level . ' -g -q -@ ' . $this->filepath,
|
316 |
-
$descriptorspec,
|
317 |
-
$pipes,
|
318 |
-
$cwd
|
319 |
-
);
|
320 |
-
|
321 |
-
if ( is_resource( $process ) ) {
|
322 |
-
/* $pipes now looks like this:
|
323 |
-
* 0 => writeable handle connected to child stdin
|
324 |
-
* 1 => readable handle connected to child stdout
|
325 |
-
* Any error output will be appended to /tmp/error-output.txt
|
326 |
-
*/
|
327 |
-
foreach ( $filelist_chunk as $file ) {
|
328 |
-
fwrite( $pipes[0], $file . "\n" ); //phpcs:ignore WordPress.WP.AlternativeFunctions
|
329 |
-
}
|
330 |
-
|
331 |
-
fclose( $pipes[0] ); //phpcs:ignore WordPress.WP.AlternativeFunctions
|
332 |
-
|
333 |
-
fclose( $pipes[1] ); //phpcs:ignore WordPress.WP.AlternativeFunctions
|
334 |
-
|
335 |
-
// It is important that you close any pipes before calling.
|
336 |
-
// proc_close in order to avoid a deadlock.
|
337 |
-
proc_close( $process );
|
338 |
-
}
|
339 |
-
}
|
340 |
-
|
341 |
/**
|
342 |
* Add the .sql file individually.
|
343 |
*
|
@@ -351,9 +219,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
351 |
|
352 |
$dir = pathinfo( $this->core->db_dump_filepath, PATHINFO_DIRNAME );
|
353 |
|
354 |
-
$
|
355 |
-
|
356 |
-
$this->core->execute_command( 'cd ' . $dir . '; zip -' . $compression_level . ' -g -q ' . $this->filepath . ' ' . basename( $this->core->db_dump_filepath ) . ';' );
|
357 |
|
358 |
$this->core->logger->add( 'Finished adding db dump to the zip file.' );
|
359 |
$this->core->logger->add_memory();
|
72 |
*/
|
73 |
protected $key = 'system_zip';
|
74 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
/**
|
76 |
* Constructor.
|
77 |
*
|
152 |
|
153 |
$this->filelist_path = $this->core->backup_dir->get_path_to( 'system_zip_filelist-' . time() . '.txt' );
|
154 |
|
155 |
+
$total_size_archived = 0;
|
156 |
|
157 |
// Create the file list.
|
158 |
$filelist_array = [];
|
159 |
foreach ( $this->filelist as $file ) {
|
160 |
$filelist_array[] = str_replace( ABSPATH, '', $file[0] );
|
161 |
|
162 |
+
$total_size_archived += empty( $file[2] ) ? 0 : $file[2];
|
163 |
}
|
164 |
|
165 |
// Add some values for "In progress".
|
166 |
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'total_files_done', count( $this->filelist ) );
|
167 |
+
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'total_size_archived', $total_size_archived );
|
168 |
+
Boldgrid_Backup_Admin_In_Progress_Data::set_arg( 'total_size_archived_size_format', size_format( $total_size_archived, 2 ) );
|
169 |
|
170 |
/*
|
171 |
* Remove our db_dump_filepath from the list.
|
183 |
implode( PHP_EOL, $filelist_array )
|
184 |
);
|
185 |
|
186 |
+
$this->core->logger->add( 'Finished creating list of files to include in zip.' );
|
187 |
$this->core->logger->add_memory();
|
188 |
}
|
189 |
|
198 |
|
199 |
$this->temp_folder->create();
|
200 |
|
201 |
+
$this->core->execute_command( 'cd ' . ABSPATH . '; zip -b ' . $this->temp_folder->get_path() . ' ' . $this->filepath . ' -@ < ' . $this->filelist_path );
|
202 |
|
203 |
$this->temp_folder->delete();
|
204 |
|
206 |
$this->core->logger->add_memory();
|
207 |
}
|
208 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
/**
|
210 |
* Add the .sql file individually.
|
211 |
*
|
219 |
|
220 |
$dir = pathinfo( $this->core->db_dump_filepath, PATHINFO_DIRNAME );
|
221 |
|
222 |
+
$this->core->execute_command( 'cd ' . $dir . '; zip ' . $this->filepath . ' ' . basename( $this->core->db_dump_filepath ) . ';' );
|
|
|
|
|
223 |
|
224 |
$this->core->logger->add( 'Finished adding db dump to the zip file.' );
|
225 |
$this->core->logger->add_memory();
|
admin/css/boldgrid-backup-admin-settings.css
CHANGED
@@ -15,34 +15,3 @@
|
|
15 |
#auto-recovery-tr {
|
16 |
display: none;
|
17 |
}
|
18 |
-
|
19 |
-
/**
|
20 |
-
* Auto Update Styles
|
21 |
-
*/
|
22 |
-
.auto-update-settings.form-table .table-help td,
|
23 |
-
.auto-update-settings.form-table .table-help td p {
|
24 |
-
padding: 0;
|
25 |
-
padding-left: 5px;
|
26 |
-
}
|
27 |
-
|
28 |
-
.form-table .bglib-divider {
|
29 |
-
border-bottom: 1px solid #e2e4e7;
|
30 |
-
}
|
31 |
-
#section_auto_updates .form-table th {
|
32 |
-
width: auto;
|
33 |
-
}
|
34 |
-
.auto-update-settings.form-table td {
|
35 |
-
padding: 5px 5px;
|
36 |
-
}
|
37 |
-
|
38 |
-
.auto-update-settings .toggle.right {
|
39 |
-
float: right;
|
40 |
-
}
|
41 |
-
|
42 |
-
.auto-update-settings input[type="number"] {
|
43 |
-
width: 5em;
|
44 |
-
}
|
45 |
-
.auto-update-settings .help-icon {
|
46 |
-
vertical-align: middle;
|
47 |
-
padding-left: 0.25em;
|
48 |
-
}
|
15 |
#auto-recovery-tr {
|
16 |
display: none;
|
17 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/css/boldgrid-backup-admin.css
CHANGED
@@ -331,13 +331,6 @@ p > .bgbkup-remote-logo {
|
|
331 |
padding-left: 23px;
|
332 |
}
|
333 |
|
334 |
-
/**
|
335 |
-
* Override Library's Ui Page.
|
336 |
-
*/
|
337 |
-
.bgbkup-page-container #bglib-page-header {
|
338 |
-
background-image: url( '../image/icon-128x128.png' );
|
339 |
-
}
|
340 |
-
|
341 |
/**
|
342 |
* Misc.
|
343 |
*/
|
@@ -355,63 +348,3 @@ p > .bgbkup-remote-logo {
|
|
355 |
width: calc( 100% - 40px ) !important;
|
356 |
height: calc( 100% - 60px ) !important;
|
357 |
}
|
358 |
-
|
359 |
-
.bgbkup-transfers-destination .bg-box-bottom.premium .button-success {
|
360 |
-
float: none;
|
361 |
-
margin: 10px;
|
362 |
-
}
|
363 |
-
|
364 |
-
.page-title-actions {
|
365 |
-
display: inline-block;
|
366 |
-
}
|
367 |
-
|
368 |
-
.bg-auto-update.dashicons {
|
369 |
-
margin-right: 6px;
|
370 |
-
vertical-align: bottom;
|
371 |
-
}
|
372 |
-
|
373 |
-
.bg-auto-update.dashicons.dashicons-warning {
|
374 |
-
color: #f56e28;
|
375 |
-
}
|
376 |
-
|
377 |
-
.bg-auto-update.dashicons.dashicons-yes {
|
378 |
-
color: #79ba49;
|
379 |
-
}
|
380 |
-
|
381 |
-
#upload-archive-section.wp-upload-form {
|
382 |
-
flex-wrap: wrap;
|
383 |
-
}
|
384 |
-
.bgbkup-page-container .upload-plugin .wp-upload-form {
|
385 |
-
max-width: 85%;
|
386 |
-
align-items: center;
|
387 |
-
}
|
388 |
-
|
389 |
-
.bgbkup-page-container .upload-plugin .wp-upload-form p {
|
390 |
-
padding-right: 1em;
|
391 |
-
}
|
392 |
-
|
393 |
-
.bgbkup-page-container .upload-plugin .wp-upload-form .error_messages p {
|
394 |
-
width: 100%;
|
395 |
-
}
|
396 |
-
|
397 |
-
.bgbkup-page-container .upload-plugin .wp-upload-form input[type=text] {
|
398 |
-
width: 30%;
|
399 |
-
margin-right:6px;
|
400 |
-
}
|
401 |
-
|
402 |
-
.bgbkup-page-container .upload-plugin #upload-archive-section {
|
403 |
-
align-items: center;
|
404 |
-
}
|
405 |
-
|
406 |
-
.bgbkup-page-container .upload-plugin #upload-archive-section form {
|
407 |
-
width: 60%;
|
408 |
-
}
|
409 |
-
|
410 |
-
.bgbkup-page-container .upload-plugin #upload-archive-section form input[type="file"] {
|
411 |
-
width: 50%;
|
412 |
-
}
|
413 |
-
|
414 |
-
.bgbkup-page-container .upload-plugin #upload-archive-section .error_messages {
|
415 |
-
width: 100%;
|
416 |
-
}
|
417 |
-
|
331 |
padding-left: 23px;
|
332 |
}
|
333 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
/**
|
335 |
* Misc.
|
336 |
*/
|
348 |
width: calc( 100% - 40px ) !important;
|
349 |
height: calc( 100% - 60px ) !important;
|
350 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/image/icon-128x128.png
DELETED
Binary file
|
admin/js/boldgrid-backup-admin-backup-now.js
CHANGED
@@ -155,7 +155,7 @@ BOLDGRID.BACKUP.BackupNow = function( $ ) {
|
|
155 |
* not refresh until we know a backup is in progress so that we know the in progress bar will
|
156 |
* show when the page refreshes.
|
157 |
*/
|
158 |
-
if (
|
159 |
setTimeout( function() {
|
160 |
location.reload();
|
161 |
}, 6000 );
|
155 |
* not refresh until we know a backup is in progress so that we know the in progress bar will
|
156 |
* show when the page refreshes.
|
157 |
*/
|
158 |
+
if ( 'total-upkeep_page_boldgrid-backup' === pagenow ) {
|
159 |
setTimeout( function() {
|
160 |
location.reload();
|
161 |
}, 6000 );
|
admin/js/boldgrid-backup-admin-folder-exclude.js
CHANGED
@@ -19,7 +19,7 @@ BoldGrid.FolderExclude = function( $ ) {
|
|
19 |
exclusionList = null,
|
20 |
filteredList = [],
|
21 |
lang = BoldGridBackupAdminFolderExclude,
|
22 |
-
$container = $( '
|
23 |
$excludeFoldersPreview = $container.find( '#exclude_folders_preview' ),
|
24 |
$inputInclude = $container.find( '[name="folder_exclusion_include"]' ),
|
25 |
$inputExclude = $container.find( '[name="folder_exclusion_exclude"]' ),
|
@@ -160,11 +160,9 @@ BoldGrid.FolderExclude = function( $ ) {
|
|
160 |
* @summary Action to take when backup type has been changed.
|
161 |
*
|
162 |
* @since 1.6.0
|
163 |
-
*
|
164 |
-
* @param type The type element triggering the 'onChange' listener.
|
165 |
*/
|
166 |
-
self.onChangeType = function(
|
167 |
-
self.toggleConfig(
|
168 |
};
|
169 |
|
170 |
/**
|
@@ -353,48 +351,31 @@ BoldGrid.FolderExclude = function( $ ) {
|
|
353 |
* @summary Toggle display of everything after the "full" or "custom" options.
|
354 |
*
|
355 |
* @since 1.6.0
|
356 |
-
*
|
357 |
-
* @param typeInput The type input element clicked in the toggle.
|
358 |
*/
|
359 |
-
self.toggleConfig = function(
|
360 |
-
var type = $(
|
361 |
-
|
362 |
-
.val(),
|
363 |
-
$miscInfo = $( 'div#folder_misc_info' );
|
364 |
|
365 |
if ( 'full' === type ) {
|
366 |
$trs.hide();
|
367 |
$miscInfo.hide();
|
368 |
-
} else
|
369 |
$trs.show();
|
370 |
$miscInfo.show();
|
371 |
}
|
372 |
};
|
373 |
|
374 |
/**
|
375 |
-
* Toggle Status
|
376 |
*
|
377 |
-
* @since 1.6.0
|
378 |
-
*
|
379 |
-
* @param eventTarget The target of the triggering event.
|
380 |
*/
|
381 |
-
self.toggleStatus = function(
|
382 |
-
var
|
383 |
-
|
|
|
|
|
384 |
$yesDefault = $container.find( '.yes-default' ),
|
385 |
$noDefault = $container.find( '.no-default' );
|
386 |
|
387 |
-
if ( eventTarget ) {
|
388 |
-
parentContainer = eventTarget.closest( '.form-table' );
|
389 |
-
$inputInclude = $( parentContainer ).find( 'input[name=folder_exclusion_include]' );
|
390 |
-
$inputExclude = $( parentContainer ).find( 'input[name=folder_exclusion_exclude]' );
|
391 |
-
}
|
392 |
-
|
393 |
-
usingDefaults =
|
394 |
-
$inputInclude.val() &&
|
395 |
-
$inputInclude.val().trim() === lang.default_include &&
|
396 |
-
$inputExclude.val().trim() === lang.default_exclude;
|
397 |
-
|
398 |
if ( usingDefaults ) {
|
399 |
$yesDefault.show();
|
400 |
$noDefault.hide();
|
@@ -404,29 +385,9 @@ BoldGrid.FolderExclude = function( $ ) {
|
|
404 |
}
|
405 |
};
|
406 |
|
407 |
-
/**
|
408 |
-
* Update Values
|
409 |
-
*
|
410 |
-
* @since 1.6.0
|
411 |
-
*
|
412 |
-
* @param eventTarget The target of the triggering event.
|
413 |
-
* @param $container The set of container divs.
|
414 |
-
*/
|
415 |
-
self.updateValues = function( eventTarget, $container ) {
|
416 |
-
var name = $( eventTarget ).attr( 'name' ),
|
417 |
-
value = $( eventTarget ).val();
|
418 |
-
if ( 'radio' == $( eventTarget ).attr( 'type' ) ) {
|
419 |
-
$container
|
420 |
-
.find( 'input[name=' + name + '][value=' + value + ']' )
|
421 |
-
.prop( 'checked', $( eventTarget ).prop( 'checked' ) );
|
422 |
-
} else {
|
423 |
-
$container.find( 'input[name=' + name + ']' ).val( value );
|
424 |
-
}
|
425 |
-
};
|
426 |
-
|
427 |
// Onload event listener.
|
428 |
$( function() {
|
429 |
-
$( '
|
430 |
|
431 |
$( 'body' )
|
432 |
.on( 'click', '#exclude_folders_preview .pagination-links a', self.onClickPagination )
|
@@ -439,39 +400,13 @@ BoldGrid.FolderExclude = function( $ ) {
|
|
439 |
$( '#configure_folder_exclude' ).on( 'click', self.onClickConfigure );
|
440 |
|
441 |
self.toggleStatus();
|
442 |
-
|
443 |
-
self.toggleConfig( this );
|
444 |
-
} );
|
445 |
|
446 |
-
$type.on( 'change',
|
447 |
-
self.onChangeType( this );
|
448 |
-
} );
|
449 |
-
|
450 |
-
$container.find( 'input' ).each( function() {
|
451 |
-
$( this ).on( 'input', function() {
|
452 |
-
self.updateValues( this, $container );
|
453 |
-
} );
|
454 |
-
} );
|
455 |
|
456 |
-
$inputInclude.
|
457 |
-
$( this )
|
458 |
-
.on( 'input', function() {
|
459 |
-
self.toggleStatus( this );
|
460 |
-
} )
|
461 |
-
.on( 'focusin', function() {
|
462 |
-
self.bounceHelp( this );
|
463 |
-
} );
|
464 |
-
} );
|
465 |
|
466 |
-
$inputExclude.
|
467 |
-
$( this )
|
468 |
-
.on( 'input', function() {
|
469 |
-
self.toggleStatus( this );
|
470 |
-
} )
|
471 |
-
.on( 'focusin', function() {
|
472 |
-
self.bounceHelp( this );
|
473 |
-
} );
|
474 |
-
} );
|
475 |
} );
|
476 |
};
|
477 |
|
19 |
exclusionList = null,
|
20 |
filteredList = [],
|
21 |
lang = BoldGridBackupAdminFolderExclude,
|
22 |
+
$container = $( '#folder_exclusion' ),
|
23 |
$excludeFoldersPreview = $container.find( '#exclude_folders_preview' ),
|
24 |
$inputInclude = $container.find( '[name="folder_exclusion_include"]' ),
|
25 |
$inputExclude = $container.find( '[name="folder_exclusion_exclude"]' ),
|
160 |
* @summary Action to take when backup type has been changed.
|
161 |
*
|
162 |
* @since 1.6.0
|
|
|
|
|
163 |
*/
|
164 |
+
self.onChangeType = function() {
|
165 |
+
self.toggleConfig();
|
166 |
};
|
167 |
|
168 |
/**
|
351 |
* @summary Toggle display of everything after the "full" or "custom" options.
|
352 |
*
|
353 |
* @since 1.6.0
|
|
|
|
|
354 |
*/
|
355 |
+
self.toggleConfig = function() {
|
356 |
+
var type = $type.filter( ':checked' ).val(),
|
357 |
+
$miscInfo = $( '#folder_misc_info' );
|
|
|
|
|
358 |
|
359 |
if ( 'full' === type ) {
|
360 |
$trs.hide();
|
361 |
$miscInfo.hide();
|
362 |
+
} else {
|
363 |
$trs.show();
|
364 |
$miscInfo.show();
|
365 |
}
|
366 |
};
|
367 |
|
368 |
/**
|
|
|
369 |
*
|
|
|
|
|
|
|
370 |
*/
|
371 |
+
self.toggleStatus = function() {
|
372 |
+
var usingDefaults =
|
373 |
+
$inputInclude.val() &&
|
374 |
+
$inputInclude.val().trim() === lang.default_include &&
|
375 |
+
$inputExclude.val().trim() === lang.default_exclude,
|
376 |
$yesDefault = $container.find( '.yes-default' ),
|
377 |
$noDefault = $container.find( '.no-default' );
|
378 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
379 |
if ( usingDefaults ) {
|
380 |
$yesDefault.show();
|
381 |
$noDefault.hide();
|
385 |
}
|
386 |
};
|
387 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
// Onload event listener.
|
389 |
$( function() {
|
390 |
+
$( '#exclude_folders_button' ).on( 'click', self.onClickPreview );
|
391 |
|
392 |
$( 'body' )
|
393 |
.on( 'click', '#exclude_folders_preview .pagination-links a', self.onClickPagination )
|
400 |
$( '#configure_folder_exclude' ).on( 'click', self.onClickConfigure );
|
401 |
|
402 |
self.toggleStatus();
|
403 |
+
self.toggleConfig();
|
|
|
|
|
404 |
|
405 |
+
$type.on( 'change', self.onChangeType );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
|
407 |
+
$inputInclude.on( 'input', self.toggleStatus ).on( 'focusin', self.bounceHelp );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
408 |
|
409 |
+
$inputExclude.on( 'input', self.toggleStatus ).on( 'focusin', self.bounceHelp );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
} );
|
411 |
};
|
412 |
|
admin/js/boldgrid-backup-admin-home.js
CHANGED
@@ -25,10 +25,12 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
25 |
|
26 |
// Onload event listener.
|
27 |
$( function() {
|
28 |
-
var $urlImportSection = $( '
|
29 |
|
30 |
// On click action for the Upload button.
|
31 |
-
$
|
|
|
|
|
32 |
|
33 |
$( '.page-title-action.add-new' ).on( 'click', function() {
|
34 |
$( '#add_new' ).toggle();
|
@@ -90,15 +92,9 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
90 |
var $badExtension = $( '#bad_extension' ),
|
91 |
$fileSizeWarning = $( '[data-id="upload-backup"]:not(span)' ),
|
92 |
$fileTooLarge = $( '#file_too_large' ),
|
93 |
-
$submit = $(
|
94 |
-
$( this )
|
95 |
-
.parent()
|
96 |
-
.find( 'input:submit' )
|
97 |
-
),
|
98 |
-
$badFilename = $( '#bad_filename' ),
|
99 |
extension,
|
100 |
isBadExtension,
|
101 |
-
isBadFilename,
|
102 |
isTooBig,
|
103 |
maxSize = parseInt( $( '[name="MAX_FILE_SIZE"]' ).val() ),
|
104 |
name,
|
@@ -108,7 +104,6 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
108 |
$fileSizeWarning.slideUp();
|
109 |
$fileTooLarge.slideUp();
|
110 |
$badExtension.slideUp();
|
111 |
-
$badFilename.slideUp();
|
112 |
$submit.attr( 'disabled', true );
|
113 |
return;
|
114 |
}
|
@@ -119,7 +114,6 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
119 |
|
120 |
isTooBig = 0 > maxSize - size;
|
121 |
isBadExtension = 'zip' !== extension;
|
122 |
-
isBadFilename = ! name.match( /boldgrid-backup-.*-\d{8}-\d{6}/ );
|
123 |
|
124 |
if ( isBadExtension ) {
|
125 |
$badExtension.slideDown();
|
@@ -127,12 +121,6 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
127 |
$badExtension.slideUp();
|
128 |
}
|
129 |
|
130 |
-
if ( isBadFilename ) {
|
131 |
-
$badFilename.slideDown();
|
132 |
-
} else {
|
133 |
-
$badFilename.slideUp();
|
134 |
-
}
|
135 |
-
|
136 |
if ( isTooBig ) {
|
137 |
$fileSizeWarning.slideDown();
|
138 |
$fileTooLarge.slideDown();
|
@@ -141,7 +129,7 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
141 |
$fileTooLarge.slideUp();
|
142 |
}
|
143 |
|
144 |
-
if ( isTooBig || isBadExtension
|
145 |
$submit.attr( 'disabled', true );
|
146 |
} else {
|
147 |
$submit.attr( 'disabled', false );
|
@@ -226,22 +214,14 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
226 |
var jqxhr,
|
227 |
$this = $( this ),
|
228 |
$spinner = $this.next(),
|
229 |
-
$notice = $(
|
230 |
-
|
231 |
-
.find( 'div#url-import-notice' ),
|
232 |
-
wpnonce = $( this )
|
233 |
-
.parent()
|
234 |
-
.find( 'input#_wpnonce' )
|
235 |
-
.val(),
|
236 |
urlRegex = new RegExp( lang.urlRegex, 'i' ),
|
237 |
data = {
|
238 |
action: 'boldgrid_backup_url_upload',
|
239 |
_wpnonce: wpnonce,
|
240 |
_wp_http_referer: $( 'input[name="_wp_http_referer"]' ).val(),
|
241 |
-
url: $(
|
242 |
-
.parent()
|
243 |
-
.find( 'input[name="url"]' )
|
244 |
-
.val()
|
245 |
};
|
246 |
|
247 |
e.preventDefault();
|
@@ -266,6 +246,7 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
266 |
$this.attr( 'disabled', 'disabled' );
|
267 |
|
268 |
$spinner.addClass( 'inline' );
|
|
|
269 |
jqxhr = $.post( ajaxurl, data, function( response ) {
|
270 |
if ( response.data !== undefined && response.data.filepath !== undefined ) {
|
271 |
$notice
|
@@ -274,7 +255,7 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
274 |
.html(
|
275 |
lang.savedTo +
|
276 |
response.data.filepath +
|
277 |
-
'
|
278 |
response.data.detailsUrl +
|
279 |
'">' +
|
280 |
lang.viewDetails +
|
@@ -319,7 +300,6 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
319 |
} )
|
320 |
.always( function() {
|
321 |
$notice.wrapInner( '<p></p>' ).show();
|
322 |
-
$spinner.removeClass( 'is-active' );
|
323 |
$spinner.removeClass( 'inline' );
|
324 |
} );
|
325 |
};
|
25 |
|
26 |
// Onload event listener.
|
27 |
$( function() {
|
28 |
+
var $urlImportSection = $( '#url-import-section' );
|
29 |
|
30 |
// On click action for the Upload button.
|
31 |
+
$( '#upload-archive-form' )
|
32 |
+
.find( '.button' )
|
33 |
+
.on( 'click', self.uploadButtonClicked );
|
34 |
|
35 |
$( '.page-title-action.add-new' ).on( 'click', function() {
|
36 |
$( '#add_new' ).toggle();
|
92 |
var $badExtension = $( '#bad_extension' ),
|
93 |
$fileSizeWarning = $( '[data-id="upload-backup"]:not(span)' ),
|
94 |
$fileTooLarge = $( '#file_too_large' ),
|
95 |
+
$submit = $( 'input:submit' ),
|
|
|
|
|
|
|
|
|
|
|
96 |
extension,
|
97 |
isBadExtension,
|
|
|
98 |
isTooBig,
|
99 |
maxSize = parseInt( $( '[name="MAX_FILE_SIZE"]' ).val() ),
|
100 |
name,
|
104 |
$fileSizeWarning.slideUp();
|
105 |
$fileTooLarge.slideUp();
|
106 |
$badExtension.slideUp();
|
|
|
107 |
$submit.attr( 'disabled', true );
|
108 |
return;
|
109 |
}
|
114 |
|
115 |
isTooBig = 0 > maxSize - size;
|
116 |
isBadExtension = 'zip' !== extension;
|
|
|
117 |
|
118 |
if ( isBadExtension ) {
|
119 |
$badExtension.slideDown();
|
121 |
$badExtension.slideUp();
|
122 |
}
|
123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
if ( isTooBig ) {
|
125 |
$fileSizeWarning.slideDown();
|
126 |
$fileTooLarge.slideDown();
|
129 |
$fileTooLarge.slideUp();
|
130 |
}
|
131 |
|
132 |
+
if ( isTooBig || isBadExtension ) {
|
133 |
$submit.attr( 'disabled', true );
|
134 |
} else {
|
135 |
$submit.attr( 'disabled', false );
|
214 |
var jqxhr,
|
215 |
$this = $( this ),
|
216 |
$spinner = $this.next(),
|
217 |
+
$notice = $( '#url-import-notice' ),
|
218 |
+
wpnonce = $( '#_wpnonce' ).val(),
|
|
|
|
|
|
|
|
|
|
|
219 |
urlRegex = new RegExp( lang.urlRegex, 'i' ),
|
220 |
data = {
|
221 |
action: 'boldgrid_backup_url_upload',
|
222 |
_wpnonce: wpnonce,
|
223 |
_wp_http_referer: $( 'input[name="_wp_http_referer"]' ).val(),
|
224 |
+
url: $( 'input[name="url"]' ).val()
|
|
|
|
|
|
|
225 |
};
|
226 |
|
227 |
e.preventDefault();
|
246 |
$this.attr( 'disabled', 'disabled' );
|
247 |
|
248 |
$spinner.addClass( 'inline' );
|
249 |
+
|
250 |
jqxhr = $.post( ajaxurl, data, function( response ) {
|
251 |
if ( response.data !== undefined && response.data.filepath !== undefined ) {
|
252 |
$notice
|
255 |
.html(
|
256 |
lang.savedTo +
|
257 |
response.data.filepath +
|
258 |
+
' <a class="button" href="' +
|
259 |
response.data.detailsUrl +
|
260 |
'">' +
|
261 |
lang.viewDetails +
|
300 |
} )
|
301 |
.always( function() {
|
302 |
$notice.wrapInner( '<p></p>' ).show();
|
|
|
303 |
$spinner.removeClass( 'inline' );
|
304 |
} );
|
305 |
};
|
admin/js/boldgrid-backup-admin-in-progress.js
CHANGED
@@ -477,20 +477,14 @@ BOLDGRID.BACKUP = BOLDGRID.BACKUP || {};
|
|
477 |
* @param object In progress data received from ajax call.
|
478 |
*/
|
479 |
onStepSaving: function( data ) {
|
480 |
-
var percentage;
|
481 |
|
482 |
self.setStepActive( 3 );
|
483 |
|
484 |
-
if ( data.percent_closed ) {
|
485 |
-
percentage = Math.floor( data.percent_closed * 100 );
|
486 |
-
self.setLabel( ' ' + percentage + '% Complete' );
|
487 |
-
} else {
|
488 |
-
percentage = Math.floor( ( data.tmp.size / data.total_size_archived ) * 100 );
|
489 |
-
self.setLabel( ' ' + self.i18n.archive_file_size + data.tmp.size_format );
|
490 |
-
}
|
491 |
-
|
492 |
self.setPercentage( percentage );
|
493 |
|
|
|
|
|
494 |
self.setSubText( self.i18n.size_before_compression + data.total_size_archived_size_format );
|
495 |
},
|
496 |
|
477 |
* @param object In progress data received from ajax call.
|
478 |
*/
|
479 |
onStepSaving: function( data ) {
|
480 |
+
var percentage = Math.floor( ( data.tmp.size / data.total_size_archived ) * 100 );
|
481 |
|
482 |
self.setStepActive( 3 );
|
483 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
484 |
self.setPercentage( percentage );
|
485 |
|
486 |
+
self.setLabel( ' ' + self.i18n.archive_file_size + data.tmp.size_format );
|
487 |
+
|
488 |
self.setSubText( self.i18n.size_before_compression + data.total_size_archived_size_format );
|
489 |
},
|
490 |
|
admin/js/boldgrid-backup-admin-settings-autoupdate.js
CHANGED
@@ -10,8 +10,6 @@ var BOLDGRID = BOLDGRID || {};
|
|
10 |
BOLDGRID.SETTINGS = BOLDGRID.SETTINGS || {};
|
11 |
|
12 |
( function( $ ) {
|
13 |
-
var self;
|
14 |
-
|
15 |
BOLDGRID.SETTINGS.AutoUpdate = {
|
16 |
|
17 |
/**
|
@@ -50,44 +48,11 @@ BOLDGRID.SETTINGS = BOLDGRID.SETTINGS || {};
|
|
50 |
.not( '.toggle-group' )
|
51 |
.on( 'click swipe contextmenu', self._setMasterToggles );
|
52 |
|
53 |
-
$bgBox
|
54 |
-
.find( '.table-help td p' )
|
55 |
-
.attr( 'style', 'height: 0em; opacity: 0%; position: relative; z-index:-1' );
|
56 |
-
$bgBox
|
57 |
-
.find( '.div-table-body .dashicons-editor-help, .help-icon' )
|
58 |
-
.on( 'click', self._toggleHelp );
|
59 |
-
$bgBox.find( '.help-icon' ).css( 'cursor', 'pointer' );
|
60 |
|
61 |
$bgBox.find( '.bglib-collapsible-control' ).on( 'click', function() {
|
62 |
-
var target = $( this ).attr( 'data-target' );
|
63 |
-
$( target ).animate( { height: 'toggle', opacity: 'toggle' }, 'slow' );
|
64 |
$( this ).toggleClass( 'bglib-collapsible-open' );
|
65 |
} );
|
66 |
-
|
67 |
-
if ( true === $( '#timely-updates-disabled' ).prop( 'checked' ) ) {
|
68 |
-
$( '#timely-updates-days' ).prop( 'disabled', true );
|
69 |
-
$( '#timely-updates-days-hidden' ).prop( 'disabled', false );
|
70 |
-
}
|
71 |
-
|
72 |
-
$( 'input[name="auto_update[timely-updates-enabled]"]' ).change( function() {
|
73 |
-
if ( true === $( '#timely-updates-disabled' ).prop( 'checked' ) ) {
|
74 |
-
$( '#timely-updates-days' ).prop( 'disabled', true );
|
75 |
-
$( '#timely-updates-days-hidden' ).prop( 'disabled', false );
|
76 |
-
} else {
|
77 |
-
$( '#timely-updates-days' ).prop( 'disabled', false );
|
78 |
-
$( '#timely-updates-days-hidden' ).prop( 'disabled', true );
|
79 |
-
}
|
80 |
-
} );
|
81 |
-
},
|
82 |
-
|
83 |
-
_onInputChange: function( toggle, input ) {
|
84 |
-
toggle.change( function() {
|
85 |
-
if ( true == $this.prop( 'checked' ) ) {
|
86 |
-
input.val( '1' );
|
87 |
-
} else {
|
88 |
-
input.val( '0' );
|
89 |
-
}
|
90 |
-
} );
|
91 |
},
|
92 |
|
93 |
/**
|
@@ -101,10 +66,7 @@ BOLDGRID.SETTINGS = BOLDGRID.SETTINGS || {};
|
|
101 |
$pluginToggles = $bgBox.find( '.plugin-toggle' ),
|
102 |
$themeToggles = $bgBox.find( '.theme-toggle' ),
|
103 |
$pluginsDefault = $bgBox.find( '#toggle-default-plugins' ),
|
104 |
-
$themesDefault = $bgBox.find( '#toggle-default-themes' )
|
105 |
-
$timelyUpdatesEnabled = $bgBox.find( '#timely-updates-enabled' ),
|
106 |
-
$timelyUpdatesDisabled = $bgBox.find( '#timely-updates-disabled' ),
|
107 |
-
$timelyUpdatesDays = $bgBox.find( '#timely-updates-days' );
|
108 |
|
109 |
// If the updates section is not in use, then just return.
|
110 |
if ( ! $pluginsDefault.data( 'toggles' ) ) {
|
@@ -114,36 +76,41 @@ BOLDGRID.SETTINGS = BOLDGRID.SETTINGS || {};
|
|
114 |
$wpcoreToggles.each( function() {
|
115 |
var $this = $( this );
|
116 |
|
117 |
-
|
118 |
.next( 'input' )
|
119 |
-
.attr( 'name', '
|
120 |
.val( $this.data( 'toggles' ).active ? 1 : 0 );
|
121 |
-
self._onInputChange( $this, $thisInput );
|
122 |
} );
|
123 |
|
124 |
$pluginToggles.each( function() {
|
125 |
var $this = $( this );
|
126 |
|
127 |
-
|
|
|
128 |
.next( 'input' )
|
129 |
-
.attr( 'name', '
|
130 |
.val( $this.data( 'toggles' ).active ? 1 : 0 );
|
131 |
-
self._onInputChange( $this, $thisInput );
|
132 |
} );
|
133 |
|
134 |
$themeToggles.each( function() {
|
135 |
var $this = $( this );
|
136 |
|
137 |
-
|
|
|
138 |
.next( 'input' )
|
139 |
-
.attr( 'name', '
|
140 |
.val( $this.data( 'toggles' ).active ? 1 : 0 );
|
141 |
-
self._onInputChange( $this, $thisInput );
|
142 |
} );
|
143 |
|
144 |
-
$pluginsDefault
|
|
|
|
|
|
|
145 |
|
146 |
-
$themesDefault
|
|
|
|
|
|
|
147 |
},
|
148 |
|
149 |
/**
|
@@ -215,30 +182,20 @@ BOLDGRID.SETTINGS = BOLDGRID.SETTINGS || {};
|
|
215 |
* @since 1.7.0
|
216 |
*/
|
217 |
_toggleHelp: function( e ) {
|
218 |
-
var id = $( this ).attr( 'data-id' )
|
219 |
-
|
220 |
e.preventDefault();
|
221 |
|
222 |
if ( id === undefined ) {
|
223 |
return false;
|
224 |
}
|
225 |
|
226 |
-
$(
|
227 |
-
$( '.table-help.show-help[data-id="' + id + '"] td p' ).animate(
|
228 |
-
{ height: '3em', opacity: '100%', 'z-index': 0 },
|
229 |
-
400
|
230 |
-
);
|
231 |
-
$( '.table-help.hide-help[data-id="' + id + '"] td p' ).animate(
|
232 |
-
{ height: '0em', opacity: '0%', 'z-index': -1 },
|
233 |
-
400
|
234 |
-
);
|
235 |
|
236 |
return false;
|
237 |
}
|
238 |
};
|
239 |
|
240 |
-
// eslint-disable-next-line vars-on-top
|
241 |
var self = BOLDGRID.SETTINGS.AutoUpdate;
|
242 |
-
|
243 |
BOLDGRID.SETTINGS.AutoUpdate.init();
|
244 |
} )( jQuery );
|
10 |
BOLDGRID.SETTINGS = BOLDGRID.SETTINGS || {};
|
11 |
|
12 |
( function( $ ) {
|
|
|
|
|
13 |
BOLDGRID.SETTINGS.AutoUpdate = {
|
14 |
|
15 |
/**
|
48 |
.not( '.toggle-group' )
|
49 |
.on( 'click swipe contextmenu', self._setMasterToggles );
|
50 |
|
51 |
+
$bgBox.find( '.dashicons-editor-help' ).on( 'click', self._toggleHelp );
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
$bgBox.find( '.bglib-collapsible-control' ).on( 'click', function() {
|
|
|
|
|
54 |
$( this ).toggleClass( 'bglib-collapsible-open' );
|
55 |
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
},
|
57 |
|
58 |
/**
|
66 |
$pluginToggles = $bgBox.find( '.plugin-toggle' ),
|
67 |
$themeToggles = $bgBox.find( '.theme-toggle' ),
|
68 |
$pluginsDefault = $bgBox.find( '#toggle-default-plugins' ),
|
69 |
+
$themesDefault = $bgBox.find( '#toggle-default-themes' );
|
|
|
|
|
|
|
70 |
|
71 |
// If the updates section is not in use, then just return.
|
72 |
if ( ! $pluginsDefault.data( 'toggles' ) ) {
|
76 |
$wpcoreToggles.each( function() {
|
77 |
var $this = $( this );
|
78 |
|
79 |
+
$this
|
80 |
.next( 'input' )
|
81 |
+
.attr( 'name', 'autoupdate[wpcore][' + $this.data( 'wpcore' ) + ']' )
|
82 |
.val( $this.data( 'toggles' ).active ? 1 : 0 );
|
|
|
83 |
} );
|
84 |
|
85 |
$pluginToggles.each( function() {
|
86 |
var $this = $( this );
|
87 |
|
88 |
+
$this
|
89 |
+
.parent()
|
90 |
.next( 'input' )
|
91 |
+
.attr( 'name', 'autoupdate[plugins][' + $this.data( 'plugin' ) + ']' )
|
92 |
.val( $this.data( 'toggles' ).active ? 1 : 0 );
|
|
|
93 |
} );
|
94 |
|
95 |
$themeToggles.each( function() {
|
96 |
var $this = $( this );
|
97 |
|
98 |
+
$this
|
99 |
+
.parent()
|
100 |
.next( 'input' )
|
101 |
+
.attr( 'name', 'autoupdate[themes][' + $this.data( 'stylesheet' ) + ']' )
|
102 |
.val( $this.data( 'toggles' ).active ? 1 : 0 );
|
|
|
103 |
} );
|
104 |
|
105 |
+
$pluginsDefault
|
106 |
+
.parent()
|
107 |
+
.next( 'input' )
|
108 |
+
.val( $pluginsDefault.data( 'toggles' ).active ? 1 : 0 );
|
109 |
|
110 |
+
$themesDefault
|
111 |
+
.parent()
|
112 |
+
.next( 'input' )
|
113 |
+
.val( $themesDefault.data( 'toggles' ).active ? 1 : 0 );
|
114 |
},
|
115 |
|
116 |
/**
|
182 |
* @since 1.7.0
|
183 |
*/
|
184 |
_toggleHelp: function( e ) {
|
185 |
+
var id = $( this ).attr( 'data-id' );
|
186 |
+
|
187 |
e.preventDefault();
|
188 |
|
189 |
if ( id === undefined ) {
|
190 |
return false;
|
191 |
}
|
192 |
|
193 |
+
$( '.help[data-id="' + id + '"]' ).slideToggle();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
|
195 |
return false;
|
196 |
}
|
197 |
};
|
198 |
|
|
|
199 |
var self = BOLDGRID.SETTINGS.AutoUpdate;
|
|
|
200 |
BOLDGRID.SETTINGS.AutoUpdate.init();
|
201 |
} )( jQuery );
|
admin/js/boldgrid-backup-admin-settings.js
CHANGED
@@ -282,19 +282,6 @@ BoldGrid.Settings = function( $ ) {
|
|
282 |
}
|
283 |
};
|
284 |
|
285 |
-
self.toggleCompressionInfo = function() {
|
286 |
-
var isSystemZip = false,
|
287 |
-
compressorSelector = $( 'select[name="compressor"]' );
|
288 |
-
|
289 |
-
isSystemZip = 'system_zip' === $( compressorSelector ).val();
|
290 |
-
|
291 |
-
if ( isSystemZip ) {
|
292 |
-
$( '.compression-level' ).show();
|
293 |
-
} else {
|
294 |
-
$( '.compression-level' ).hide();
|
295 |
-
}
|
296 |
-
};
|
297 |
-
|
298 |
// Onload event listener.
|
299 |
$( function() {
|
300 |
|
@@ -302,9 +289,6 @@ BoldGrid.Settings = function( $ ) {
|
|
302 |
self.toggleNoBackupDays();
|
303 |
|
304 |
self.toggleNoStorage();
|
305 |
-
|
306 |
-
self.toggleCompressionInfo();
|
307 |
-
|
308 |
$body.on( 'click', '#storage_locations input[type="checkbox"]', self.toggleNoStorage );
|
309 |
|
310 |
$backupDir.on( 'input', self.toggleMoveBackups );
|
@@ -322,8 +306,6 @@ BoldGrid.Settings = function( $ ) {
|
|
322 |
$siteCheck = $( 'input[name="site_check"]' );
|
323 |
self.toggleSiteCheck();
|
324 |
$body.on( 'click', $siteCheck, self.toggleSiteCheck );
|
325 |
-
|
326 |
-
$( 'select[name="compressor"]' ).change( self.toggleCompressionInfo );
|
327 |
} );
|
328 |
};
|
329 |
|
282 |
}
|
283 |
};
|
284 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
// Onload event listener.
|
286 |
$( function() {
|
287 |
|
289 |
self.toggleNoBackupDays();
|
290 |
|
291 |
self.toggleNoStorage();
|
|
|
|
|
|
|
292 |
$body.on( 'click', '#storage_locations input[type="checkbox"]', self.toggleNoStorage );
|
293 |
|
294 |
$backupDir.on( 'input', self.toggleMoveBackups );
|
306 |
$siteCheck = $( 'input[name="site_check"]' );
|
307 |
self.toggleSiteCheck();
|
308 |
$body.on( 'click', $siteCheck, self.toggleSiteCheck );
|
|
|
|
|
309 |
} );
|
310 |
};
|
311 |
|
admin/js/{boldgrid-backup-admin-table-includes.js → boldgrid-backup-admin-table-include.js}
RENAMED
@@ -16,7 +16,7 @@ BoldGrid.TableInclude = function( $ ) {
|
|
16 |
'use strict';
|
17 |
|
18 |
var self = this,
|
19 |
-
$container = $( '
|
20 |
$includeTables = $container.find( '.include-tables [type="checkbox"]' ),
|
21 |
$type = $container.find( '[name="table_inclusion_type"]' ),
|
22 |
$configContainer = $container.find( '#table_inclusion_config' ),
|
@@ -33,11 +33,9 @@ BoldGrid.TableInclude = function( $ ) {
|
|
33 |
* @summary Action to take when the type (full / custom) has been changed.
|
34 |
*
|
35 |
* @since 1.6.0
|
36 |
-
*
|
37 |
-
* @param typeInput The type input element clicked in the toggle.
|
38 |
*/
|
39 |
-
self.onChangeType = function(
|
40 |
-
self.toggleConfig(
|
41 |
};
|
42 |
|
43 |
/**
|
@@ -57,17 +55,13 @@ BoldGrid.TableInclude = function( $ ) {
|
|
57 |
* @summary Toggle the area that allows you to choose which tables to backup.
|
58 |
*
|
59 |
* @since 1.6.0
|
60 |
-
*
|
61 |
-
* @param typeInput The type input element clicked in the toggle.
|
62 |
*/
|
63 |
-
self.toggleConfig = function(
|
64 |
-
var type = $(
|
65 |
-
.filter( ':checked' )
|
66 |
-
.val();
|
67 |
|
68 |
if ( 'full' === type ) {
|
69 |
$configContainer.hide();
|
70 |
-
} else
|
71 |
$configContainer.show();
|
72 |
}
|
73 |
};
|
@@ -85,27 +79,6 @@ BoldGrid.TableInclude = function( $ ) {
|
|
85 |
return false;
|
86 |
};
|
87 |
|
88 |
-
/**
|
89 |
-
* Update Values
|
90 |
-
*
|
91 |
-
* @since 1.6.0
|
92 |
-
*
|
93 |
-
* @param eventTarget The target of the triggering event.
|
94 |
-
* @param $container The set of container divs.
|
95 |
-
*/
|
96 |
-
self.updateValues = function( eventTarget, $container ) {
|
97 |
-
var name = $( eventTarget ).attr( 'name' ),
|
98 |
-
value = $( eventTarget ).val(),
|
99 |
-
type = $( eventTarget ).attr( 'type' );
|
100 |
-
if ( 'radio' == type || 'checkbox' == type ) {
|
101 |
-
$container
|
102 |
-
.find( 'input[name="' + name + '"][value="' + value + '"]' )
|
103 |
-
.prop( 'checked', $( eventTarget ).prop( 'checked' ) );
|
104 |
-
} else {
|
105 |
-
$container.find( 'input[name=' + name + ']' ).val( value );
|
106 |
-
}
|
107 |
-
};
|
108 |
-
|
109 |
/**
|
110 |
* @summary Toogle the status that tells the user if they're backing up all tables.
|
111 |
*
|
@@ -128,19 +101,9 @@ BoldGrid.TableInclude = function( $ ) {
|
|
128 |
$buttonNone.on( 'click', self.toggleNone );
|
129 |
|
130 |
self.toggleStatus();
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
$type.on( 'change', function() {
|
136 |
-
self.onChangeType( this );
|
137 |
-
} );
|
138 |
-
|
139 |
-
$container.find( 'input' ).each( function() {
|
140 |
-
$( this ).on( 'input', function() {
|
141 |
-
self.updateValues( this, $container );
|
142 |
-
} );
|
143 |
-
} );
|
144 |
|
145 |
$includeTables.on( 'change', self.toggleStatus );
|
146 |
} );
|
16 |
'use strict';
|
17 |
|
18 |
var self = this,
|
19 |
+
$container = $( '#table_inclusion' ),
|
20 |
$includeTables = $container.find( '.include-tables [type="checkbox"]' ),
|
21 |
$type = $container.find( '[name="table_inclusion_type"]' ),
|
22 |
$configContainer = $container.find( '#table_inclusion_config' ),
|
33 |
* @summary Action to take when the type (full / custom) has been changed.
|
34 |
*
|
35 |
* @since 1.6.0
|
|
|
|
|
36 |
*/
|
37 |
+
self.onChangeType = function() {
|
38 |
+
self.toggleConfig();
|
39 |
};
|
40 |
|
41 |
/**
|
55 |
* @summary Toggle the area that allows you to choose which tables to backup.
|
56 |
*
|
57 |
* @since 1.6.0
|
|
|
|
|
58 |
*/
|
59 |
+
self.toggleConfig = function() {
|
60 |
+
var type = $type.filter( ':checked' ).val();
|
|
|
|
|
61 |
|
62 |
if ( 'full' === type ) {
|
63 |
$configContainer.hide();
|
64 |
+
} else {
|
65 |
$configContainer.show();
|
66 |
}
|
67 |
};
|
79 |
return false;
|
80 |
};
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
/**
|
83 |
* @summary Toogle the status that tells the user if they're backing up all tables.
|
84 |
*
|
101 |
$buttonNone.on( 'click', self.toggleNone );
|
102 |
|
103 |
self.toggleStatus();
|
104 |
+
self.toggleConfig();
|
105 |
+
|
106 |
+
$type.on( 'change', self.onChangeType );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
|
108 |
$includeTables.on( 'change', self.toggleStatus );
|
109 |
} );
|
admin/partials/archives/add-new.php
CHANGED
@@ -40,9 +40,6 @@ $upload_info = sprintf(
|
|
40 |
BOLDGRID_BACKUP_TITLE
|
41 |
);
|
42 |
|
43 |
-
$core = apply_filters( 'boldgrid_backup_get_core', null );
|
44 |
-
$backup_identifier = $core->get_backup_identifier();
|
45 |
-
|
46 |
$backup_id_notice = sprintf(
|
47 |
// translators: 1: HTML tag, 2: Filename part, 3: Backup identifier, 4: File extension, 5: Archive filename, 6: Backup directory path, 7: Plugin title.
|
48 |
__(
|
@@ -85,7 +82,6 @@ printf(
|
|
85 |
<p><?php esc_html_e( 'Import from a download link:', 'boldgrid-backup' ); ?></p>
|
86 |
<input type="text" name="url"
|
87 |
placeholder="<?php esc_attr_e( 'Download URL address', 'boldgrid-backup' ); ?>" size="30" />
|
88 |
-
<?php wp_nonce_field( 'upload_archive_file' ); ?>
|
89 |
<?php wp_nonce_field( 'boldgrid_backup_restore_archive', '_wpnonce_restore' ); ?>
|
90 |
<input class="button" type="submit" value="<?php esc_attr_e( 'Upload', 'boldgrid-backup' ); ?>" />
|
91 |
<span class='spinner'></span>
|
@@ -103,20 +99,13 @@ printf(
|
|
103 |
<span class='spinner'></span>
|
104 |
</form>
|
105 |
|
106 |
-
<
|
107 |
-
|
108 |
-
|
109 |
-
<span class="dashicons dashicons-warning yellow"></span> <?php esc_html_e( 'The file you selected is too large.', 'boldgrid-bacup' ); ?>
|
110 |
-
</p>
|
111 |
-
|
112 |
-
<p id="bad_filename" class="hidden">
|
113 |
-
<span class="dashicons dashicons-warning yellow"></span> <?php esc_html_e( 'Invalid file name. Please choose a valid backup file.', 'boldgrid-bacup' ); ?>
|
114 |
-
</p>
|
115 |
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
</div>
|
120 |
</div>
|
121 |
|
122 |
<p class="install-help">
|
40 |
BOLDGRID_BACKUP_TITLE
|
41 |
);
|
42 |
|
|
|
|
|
|
|
43 |
$backup_id_notice = sprintf(
|
44 |
// translators: 1: HTML tag, 2: Filename part, 3: Backup identifier, 4: File extension, 5: Archive filename, 6: Backup directory path, 7: Plugin title.
|
45 |
__(
|
82 |
<p><?php esc_html_e( 'Import from a download link:', 'boldgrid-backup' ); ?></p>
|
83 |
<input type="text" name="url"
|
84 |
placeholder="<?php esc_attr_e( 'Download URL address', 'boldgrid-backup' ); ?>" size="30" />
|
|
|
85 |
<?php wp_nonce_field( 'boldgrid_backup_restore_archive', '_wpnonce_restore' ); ?>
|
86 |
<input class="button" type="submit" value="<?php esc_attr_e( 'Upload', 'boldgrid-backup' ); ?>" />
|
87 |
<span class='spinner'></span>
|
99 |
<span class='spinner'></span>
|
100 |
</form>
|
101 |
|
102 |
+
<p id="file_too_large" class="hidden">
|
103 |
+
<span class="dashicons dashicons-warning yellow"></span> <?php esc_html_e( 'The file you selected is too large.', 'boldgrid-bacup' ); ?>
|
104 |
+
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
|
106 |
+
<p id="bad_extension" class="hidden">
|
107 |
+
<span class="dashicons dashicons-warning yellow"></span> <?php esc_html_e( 'Invalid file format. Please choose a .zip file.', 'boldgrid-bacup' ); ?>
|
108 |
+
</p>
|
|
|
109 |
</div>
|
110 |
|
111 |
<p class="install-help">
|
admin/partials/boldgrid-backup-admin-archive-details.php
CHANGED
@@ -384,41 +384,36 @@ if ( ! $this->core->archive->is_stored_locally() ) {
|
|
384 |
$remote_meta_box = '';
|
385 |
}
|
386 |
}
|
387 |
-
$pre_page = sprintf(
|
388 |
-
'
|
389 |
-
<input type="hidden" id="filename" value="%1$s" />
|
390 |
-
%2$s
|
391 |
-
',
|
392 |
-
/* 1 */ $archive['filename'],
|
393 |
-
/* 2 */ require BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-nav.php'
|
394 |
-
);
|
395 |
|
396 |
$page = sprintf(
|
397 |
'
|
398 |
-
<
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
<div id="
|
404 |
-
<div id="
|
405 |
-
|
406 |
%4$s
|
|
|
|
|
|
|
|
|
|
|
407 |
|
408 |
-
|
|
|
409 |
</div>
|
410 |
</div>
|
411 |
</div>
|
412 |
</div>
|
413 |
',
|
414 |
/* 1 */ $archive['filename'],
|
415 |
-
/* 2 */
|
416 |
-
/* 3 */
|
417 |
-
/* 4 */ $
|
418 |
-
/* 5 */ $
|
|
|
419 |
);
|
420 |
-
echo $pre_page; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
421 |
-
|
422 |
-
require BOLDGRID_BACKUP_PATH . '/admin/partials/archives/add-new.php';
|
423 |
|
424 |
echo $page; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
384 |
$remote_meta_box = '';
|
385 |
}
|
386 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
387 |
|
388 |
$page = sprintf(
|
389 |
'
|
390 |
+
<input type="hidden" id="filename" value="%1$s" />
|
391 |
+
<div class="wrap">
|
392 |
+
<h1 class="wp-heading-inline">%2$s</h1>
|
393 |
+
%3$s
|
394 |
+
<div id="poststuff">
|
395 |
+
<div id="post-body" class="metabox-holder columns-2">
|
396 |
+
<div id="post-body-content" style="position: relative">
|
|
|
397 |
%4$s
|
398 |
+
</div>
|
399 |
+
<div id="postbox-container-1" class="postbox-container">
|
400 |
+
<div id="side-sortables" class="meta-box-sortables ui-sortable" style="">
|
401 |
+
|
402 |
+
%5$s
|
403 |
|
404 |
+
%6$s
|
405 |
+
</div>
|
406 |
</div>
|
407 |
</div>
|
408 |
</div>
|
409 |
</div>
|
410 |
',
|
411 |
/* 1 */ $archive['filename'],
|
412 |
+
/* 2 */ esc_html__( 'Backup Archive Details', 'boldgrid-backup' ),
|
413 |
+
/* 3 */ require BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-nav.php',
|
414 |
+
/* 4 */ $main_content,
|
415 |
+
/* 5 */ $main_meta_box,
|
416 |
+
/* 6 */ $remote_meta_box
|
417 |
);
|
|
|
|
|
|
|
418 |
|
419 |
echo $page; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
admin/partials/boldgrid-backup-admin-backup-button.php
CHANGED
@@ -18,7 +18,8 @@
|
|
18 |
|
19 |
defined( 'WPINC' ) || die;
|
20 |
|
21 |
-
$page
|
|
|
22 |
$backup_button = '
|
23 |
<div id="backup-site-now-section">
|
24 |
<form action="#" id="backup-site-now-form" method="POST">' .
|
@@ -34,7 +35,7 @@ $backup_button = '
|
|
34 |
* If the page is 'boldgrid-backup', then you're in the modal. The buttons will generally be the same,
|
35 |
* but the formatting will be slightly different, hence the conditional below.
|
36 |
*/
|
37 |
-
if (
|
38 |
// The first div in the grid is needed so the grid fills out properly.
|
39 |
$backup_button .= '
|
40 |
<div style="display:grid; grid-gap:2em; grid-template-columns: 5fr 2fr;">
|
18 |
|
19 |
defined( 'WPINC' ) || die;
|
20 |
|
21 |
+
$page = empty( $_GET['page'] ) ? '' : $_GET['page'];
|
22 |
+
|
23 |
$backup_button = '
|
24 |
<div id="backup-site-now-section">
|
25 |
<form action="#" id="backup-site-now-form" method="POST">' .
|
35 |
* If the page is 'boldgrid-backup', then you're in the modal. The buttons will generally be the same,
|
36 |
* but the formatting will be slightly different, hence the conditional below.
|
37 |
*/
|
38 |
+
if ( 'boldgrid-backup' === $page ) {
|
39 |
// The first div in the grid is needed so the grid fills out properly.
|
40 |
$backup_button .= '
|
41 |
<div style="display:grid; grid-gap:2em; grid-template-columns: 5fr 2fr;">
|
admin/partials/boldgrid-backup-admin-dashboard.php
CHANGED
@@ -21,9 +21,14 @@ $nav = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-nav
|
|
21 |
$dashboard = new \Boldgrid\Library\Library\Ui\Dashboard();
|
22 |
|
23 |
$dashboard->cards = $this->get_cards();
|
|
|
24 |
|
25 |
-
|
|
|
26 |
|
27 |
-
|
|
|
28 |
|
29 |
-
$dashboard->printCards();
|
|
|
|
21 |
$dashboard = new \Boldgrid\Library\Library\Ui\Dashboard();
|
22 |
|
23 |
$dashboard->cards = $this->get_cards();
|
24 |
+
?>
|
25 |
|
26 |
+
<div class='wrap'>
|
27 |
+
<h1><?php echo esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Dashboard', 'boldgrid-backup' ) ); ?></h1>
|
28 |
|
29 |
+
<?php
|
30 |
+
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
31 |
|
32 |
+
$dashboard->printCards();
|
33 |
+
?>
|
34 |
+
</div>
|
admin/partials/boldgrid-backup-admin-home.php
CHANGED
@@ -53,42 +53,37 @@ $in_modal = true;
|
|
53 |
$modal = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-backup-modal.php';
|
54 |
$in_modal = false;
|
55 |
|
56 |
-
|
57 |
-
|
58 |
-
<div id="bglib-page-container" class="bgbkup-page-container">
|
59 |
-
<div id="bglib-page-top">
|
60 |
-
<div id="bglib-page-header" class="bglib-has-logo">
|
61 |
-
<h1>' . esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Backup Archives', 'boldgrid-backup' ) ) . '</h1>
|
62 |
-
|
63 |
-
<div class="page-title-actions">
|
64 |
-
<a href="#TB_inline?width=800&height=600&inlineId=backup_now_content" class="thickbox page-title-action page-title-action-primary">' .
|
65 |
-
esc_html__( 'Backup Site Now', 'boldgrid-backup' ) . '
|
66 |
-
</a>
|
67 |
-
<a class="page-title-action add-new">' . esc_html__( 'Upload Backup', 'boldgrid-backup' ) . '</a>
|
68 |
-
</div>
|
69 |
-
</div>
|
70 |
-
</div>
|
71 |
-
<div id="bglib-page-content">
|
72 |
-
<div class="wp-header-end"></div>';
|
73 |
-
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
74 |
-
|
75 |
-
require BOLDGRID_BACKUP_PATH . '/admin/partials/archives/add-new.php';
|
76 |
-
|
77 |
-
echo $table; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
78 |
-
|
79 |
-
echo $modal; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
80 |
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
-
// Bombard the user with an ad before they've even made their first backup. I mean, don't.
|
87 |
-
if ( ! empty( $this->archives_all->all ) ) {
|
88 |
-
|
89 |
-
}
|
|
|
90 |
|
91 |
-
|
92 |
-
</div>
|
93 |
-
</div>
|
94 |
-
</div>';
|
53 |
$modal = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-backup-modal.php';
|
54 |
$in_modal = false;
|
55 |
|
56 |
+
?>
|
57 |
+
<div class='wrap'>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
+
<h1 class="wp-heading-inline"><?php echo esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Backup Archives', 'boldgrid-backup' ) ); ?></h1>
|
60 |
+
|
61 |
+
<div class="page-title-actions">
|
62 |
+
|
63 |
+
<a href="#TB_inline?width=800&height=600&inlineId=backup_now_content" class="thickbox page-title-action page-title-action-primary"><?php esc_html_e( 'Backup Site Now', 'boldgrid-backup' ); ?></a>
|
64 |
+
|
65 |
+
<a class="page-title-action add-new"><?php esc_html_e( 'Upload Backup', 'boldgrid-backup' ); ?></a>
|
66 |
+
|
67 |
+
</div>
|
68 |
+
|
69 |
+
<?php
|
70 |
+
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
71 |
+
|
72 |
+
require BOLDGRID_BACKUP_PATH . '/admin/partials/archives/add-new.php';
|
73 |
+
|
74 |
+
echo $table; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
75 |
+
|
76 |
+
echo $modal; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
77 |
+
|
78 |
+
/*
|
79 |
+
* @todo Revisit the usefulness of this notice in this location. Commented out @since 1.10.1
|
80 |
+
* require BOLDGRID_BACKUP_PATH . '/admin/partials/archives/note-pre-backup.php';
|
81 |
+
*/
|
82 |
|
83 |
+
// Bombard the user with an ad before they've even made their first backup. I mean, don't.
|
84 |
+
if ( ! empty( $this->archives_all->all ) ) {
|
85 |
+
echo $ad; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
86 |
+
}
|
87 |
+
?>
|
88 |
|
89 |
+
</div>
|
|
|
|
|
|
admin/partials/boldgrid-backup-admin-premium.php
CHANGED
@@ -42,10 +42,16 @@ $premium_box = $this->core->config->is_premium_done ? '' : sprintf(
|
|
42 |
the ability to restore from historical versions, premium support and more.', 'boldgrid-backup' )
|
43 |
);
|
44 |
|
45 |
-
|
46 |
|
47 |
-
|
|
|
48 |
|
49 |
-
|
|
|
50 |
|
51 |
-
$
|
|
|
|
|
|
|
|
42 |
the ability to restore from historical versions, premium support and more.', 'boldgrid-backup' )
|
43 |
);
|
44 |
|
45 |
+
?>
|
46 |
|
47 |
+
<div class='wrap'>
|
48 |
+
<h1><?php echo esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Dashboard', 'boldgrid-backup' ) ); ?></h1>
|
49 |
|
50 |
+
<?php
|
51 |
+
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
52 |
|
53 |
+
echo $premium_box; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
54 |
+
|
55 |
+
$dashboard->printCards();
|
56 |
+
?>
|
57 |
+
</div>
|
admin/partials/boldgrid-backup-admin-settings.php
CHANGED
@@ -16,13 +16,14 @@
|
|
16 |
|
17 |
defined( 'WPINC' ) || die;
|
18 |
|
|
|
19 |
$nav = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-nav.php';
|
20 |
$scheduler = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/scheduler.php';
|
21 |
$compressor = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/compressor.php';
|
22 |
$folders_include = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/folders.php';
|
23 |
$db = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/db.php';
|
24 |
$auto_backup = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/auto-backup.php';
|
25 |
-
$auto_updates = include
|
26 |
$notifications = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/notifications.php';
|
27 |
$connect_key = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/connect-key.php';
|
28 |
$site_check = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/site-check.php';
|
@@ -127,9 +128,12 @@ if ( empty( $settings ) ) {
|
|
127 |
|
128 |
wp_nonce_field( 'boldgrid_backup_settings' );
|
129 |
|
130 |
-
|
|
|
|
|
131 |
|
132 |
-
|
|
|
133 |
|
134 |
/*
|
135 |
* Print this text:
|
@@ -138,33 +142,34 @@ wp_nonce_field( 'boldgrid_backup_settings' );
|
|
138 |
* being afraid it will do something you cannot easily undo. We perform a Preflight Check to see
|
139 |
* if the needed support is available on your web hosting account.
|
140 |
*/
|
141 |
-
?>
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
|
|
151 |
),
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
esc_url( admin_url( 'admin.php?page=boldgrid-backup-test' ) )
|
156 |
-
);
|
157 |
|
158 |
-
$show_section = ! empty( $_REQUEST['section'] ) ? sanitize_key( $_REQUEST['section'] ) : ''; // phpcs:ignore WordPress
|
159 |
-
?>
|
160 |
-
</p>
|
161 |
|
162 |
-
<hr />
|
163 |
|
164 |
-
<form id='bgb-settings-form' method='post'>
|
165 |
-
<?php
|
166 |
-
|
167 |
-
|
168 |
-
?>
|
169 |
-
|
170 |
-
</form>
|
|
|
|
16 |
|
17 |
defined( 'WPINC' ) || die;
|
18 |
|
19 |
+
$library_dir = \Boldgrid\Library\Library\Configs::get( 'libraryDir' );
|
20 |
$nav = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-nav.php';
|
21 |
$scheduler = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/scheduler.php';
|
22 |
$compressor = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/compressor.php';
|
23 |
$folders_include = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/folders.php';
|
24 |
$db = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/db.php';
|
25 |
$auto_backup = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/auto-backup.php';
|
26 |
+
$auto_updates = include $library_dir . 'src/Library/Views/Connect/AutoUpdates.php';
|
27 |
$notifications = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/notifications.php';
|
28 |
$connect_key = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/connect-key.php';
|
29 |
$site_check = include BOLDGRID_BACKUP_PATH . '/admin/partials/settings/site-check.php';
|
128 |
|
129 |
wp_nonce_field( 'boldgrid_backup_settings' );
|
130 |
|
131 |
+
?>
|
132 |
+
<div class='wrap'>
|
133 |
+
<h1><?php echo esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Backup and Restore Settings', 'boldgrid-backup' ) ); ?></h1>
|
134 |
|
135 |
+
<?php
|
136 |
+
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
137 |
|
138 |
/*
|
139 |
* Print this text:
|
142 |
* being afraid it will do something you cannot easily undo. We perform a Preflight Check to see
|
143 |
* if the needed support is available on your web hosting account.
|
144 |
*/
|
145 |
+
?>
|
146 |
+
<p>
|
147 |
+
<?php
|
148 |
+
printf(
|
149 |
+
wp_kses(
|
150 |
+
// translators: 1: Plugin title, 2:URL address.
|
151 |
+
__(
|
152 |
+
'The %1$s Backup and Restore system allows you to upgrade your themes and plugins without being afraid it will do something you cannot easily undo. We perform a <a href="%2$s">Preflight Check</a> to see if the needed support is available on your web hosting account.',
|
153 |
+
'boldgrid-backup'
|
154 |
+
),
|
155 |
+
[ 'a' => [ 'href' => [] ] ]
|
156 |
),
|
157 |
+
esc_html( BOLDGRID_BACKUP_TITLE ),
|
158 |
+
esc_url( admin_url( 'admin.php?page=boldgrid-backup-test' ) )
|
159 |
+
);
|
|
|
|
|
160 |
|
161 |
+
$show_section = ! empty( $_REQUEST['section'] ) ? sanitize_key( $_REQUEST['section'] ) : ''; // phpcs:ignore WordPress
|
162 |
+
?>
|
163 |
+
</p>
|
164 |
|
165 |
+
<hr />
|
166 |
|
167 |
+
<form id='bgb-settings-form' method='post'>
|
168 |
+
<?php
|
169 |
+
echo $col_container; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
170 |
+
wp_nonce_field( 'boldgrid-backup-settings', 'settings_auth' );
|
171 |
+
?>
|
172 |
+
<input type="hidden" name="save_time" value="<?php echo esc_attr( time() ); ?>" />
|
173 |
+
</form>
|
174 |
+
|
175 |
+
</div>
|
admin/partials/boldgrid-backup-admin-support.php
CHANGED
@@ -90,70 +90,75 @@ if ( ! empty( $reseller ) ) {
|
|
90 |
$this->core->go_pro->get_premium_url( 'bgbkup-support' )
|
91 |
);
|
92 |
$premium_markup = '<div class="bgbkup-upgrade-message"><p>' .
|
93 |
-
esc_html__( 'Upgrade to receive
|
94 |
'</p><p>' . $premium_button . '</p></div>';
|
95 |
}
|
96 |
|
97 |
-
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
98 |
-
|
99 |
-
require BOLDGRID_BACKUP_PATH . '/admin/partials/archives/add-new.php';
|
100 |
?>
|
101 |
|
102 |
-
<div class=
|
|
|
103 |
|
104 |
-
<?php
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
107 |
<div class="bg-box-top">
|
108 |
-
|
109 |
</div>
|
110 |
<div class="bg-box-bottom">
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
</div>
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
),
|
127 |
-
sprintf(
|
128 |
-
wp_kses(
|
129 |
-
/* translators: URL address for the WordPress.org boldgrid-backup plugin support forum. */
|
130 |
-
__( 'Browse our <a href="%1$s" target="_blank">Support Guides</a>', 'boldgrid-backup' ),
|
131 |
-
$allowed_tags
|
132 |
),
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
),
|
141 |
-
|
142 |
-
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
|
145 |
-
printf(
|
146 |
-
|
147 |
<div class="bg-box-top">
|
148 |
-
|
149 |
</div>
|
150 |
<div class="bg-box-bottom">
|
151 |
-
|
152 |
</div>
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
);
|
157 |
-
?>
|
158 |
-
|
|
|
|
|
|
|
159 |
</div>
|
90 |
$this->core->go_pro->get_premium_url( 'bgbkup-support' )
|
91 |
);
|
92 |
$premium_markup = '<div class="bgbkup-upgrade-message"><p>' .
|
93 |
+
esc_html__( 'Upgrade to receive premium support from BoldGrid', 'boldgrid-backup' ) .
|
94 |
'</p><p>' . $premium_button . '</p></div>';
|
95 |
}
|
96 |
|
|
|
|
|
|
|
97 |
?>
|
98 |
|
99 |
+
<div class='wrap'>
|
100 |
+
<h1><?php esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Support', 'boldgrid-backup' ) ); ?></h1>
|
101 |
|
102 |
+
<?php
|
103 |
+
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
104 |
+
?>
|
105 |
+
<div class="bgbkup-support-page">
|
106 |
+
<?php
|
107 |
+
printf(
|
108 |
+
'<div class="bgbkup-free-support bg-box">
|
109 |
<div class="bg-box-top">
|
110 |
+
%1$s
|
111 |
</div>
|
112 |
<div class="bg-box-bottom">
|
113 |
+
<ul>
|
114 |
+
<li>%2$s</li>
|
115 |
+
<li>%3$s</li>
|
116 |
+
<li>%4$s</li>
|
117 |
+
</ul>
|
118 |
</div>
|
119 |
+
</div>',
|
120 |
+
esc_html__( 'Free Support', 'boldgrid-backup' ),
|
121 |
+
sprintf(
|
122 |
+
wp_kses(
|
123 |
+
/* translators: URL address for the WordPress.org boldgrid-backup plugin support forum. */
|
124 |
+
__( 'Ask on <a href="%1$s" target="_blank">WordPress.org</a>', 'boldgrid-backup' ),
|
125 |
+
$allowed_tags
|
126 |
+
),
|
127 |
+
'https://wordpress.org/support/plugin/boldgrid-backup/'
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
),
|
129 |
+
sprintf(
|
130 |
+
wp_kses(
|
131 |
+
/* translators: URL address for the WordPress.org boldgrid-backup plugin support forum. */
|
132 |
+
__( 'Browse our <a href="%1$s" target="_blank">Support Guides</a>', 'boldgrid-backup' ),
|
133 |
+
$allowed_tags
|
134 |
+
),
|
135 |
+
'https://www.boldgrid.com/support/boldgrid-backup/'
|
136 |
),
|
137 |
+
sprintf(
|
138 |
+
wp_kses(
|
139 |
+
/* translators: URL address for the WordPress.org boldgrid-backup plugin support forum. */
|
140 |
+
__( 'Join <a href="%1$s" target="_blank">Team Orange User Group</a> on Facebook', 'boldgrid-backup' ),
|
141 |
+
$allowed_tags
|
142 |
+
),
|
143 |
+
'https://www.facebook.com/groups/BGTeamOrange'
|
144 |
+
)
|
145 |
+
);
|
146 |
|
147 |
+
printf(
|
148 |
+
'<div class="bgbkup-premium-support bg-box">
|
149 |
<div class="bg-box-top">
|
150 |
+
%1$s
|
151 |
</div>
|
152 |
<div class="bg-box-bottom">
|
153 |
+
%2$s
|
154 |
</div>
|
155 |
+
</div>',
|
156 |
+
esc_html__( 'Premium Support', 'boldgrid-backup' ),
|
157 |
+
$premium_markup // phpcs:ignore WordPress.XSS.EscapeOutput
|
158 |
+
);
|
159 |
+
?>
|
160 |
+
</div>
|
161 |
+
<?php
|
162 |
+
echo '<hr />';
|
163 |
+
?>
|
164 |
</div>
|
admin/partials/boldgrid-backup-admin-test.php
CHANGED
@@ -442,17 +442,18 @@ foreach ( $tests as $test ) {
|
|
442 |
$table .= '</table>';
|
443 |
|
444 |
?>
|
445 |
-
<div class="functionality-test-section">
|
446 |
|
447 |
<?php
|
|
|
|
|
448 |
$nav = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-nav.php';
|
449 |
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
450 |
|
451 |
-
require BOLDGRID_BACKUP_PATH . '/admin/partials/archives/add-new.php';
|
452 |
-
|
453 |
echo $fail_tips; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
454 |
|
455 |
echo $table; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
|
|
456 |
?>
|
457 |
|
458 |
</div>
|
442 |
$table .= '</table>';
|
443 |
|
444 |
?>
|
445 |
+
<div class="functionality-test-section wrap">
|
446 |
|
447 |
<?php
|
448 |
+
printf( '<h1>%1$s</h1>', esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Preflight Check', 'boldgrid-backup' ) ) );
|
449 |
+
|
450 |
$nav = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-nav.php';
|
451 |
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
452 |
|
|
|
|
|
453 |
echo $fail_tips; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
454 |
|
455 |
echo $table; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
456 |
+
|
457 |
?>
|
458 |
|
459 |
</div>
|
admin/partials/boldgrid-backup-admin-tools.php
CHANGED
@@ -56,8 +56,12 @@ $sections = apply_filters( 'boldgrid_backup_tools_sections', $sections );
|
|
56 |
*/
|
57 |
$col_container = apply_filters( 'Boldgrid\Library\Ui\render_col_container', $sections );
|
58 |
|
59 |
-
|
60 |
|
61 |
-
|
|
|
62 |
|
63 |
-
|
|
|
|
|
|
56 |
*/
|
57 |
$col_container = apply_filters( 'Boldgrid\Library\Ui\render_col_container', $sections );
|
58 |
|
59 |
+
?>
|
60 |
|
61 |
+
<div class='wrap'>
|
62 |
+
<h1><?php echo esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Tools', 'boldgrid-backup' ) ); ?></h1>
|
63 |
|
64 |
+
<?php
|
65 |
+
echo $nav . $col_container; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
66 |
+
?>
|
67 |
+
</div>
|
admin/partials/boldgrid-backup-admin-transfers.php
CHANGED
@@ -66,11 +66,9 @@ $sections = apply_filters( 'boldgrid_backup_transfers_sections', $sections );
|
|
66 |
$col_container = apply_filters( 'Boldgrid\Library\Ui\render_col_container', $sections );
|
67 |
?>
|
68 |
|
69 |
-
<div class=
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
?>
|
76 |
</div>
|
66 |
$col_container = apply_filters( 'Boldgrid\Library\Ui\render_col_container', $sections );
|
67 |
?>
|
68 |
|
69 |
+
<div class='wrap'>
|
70 |
+
<h1><?php echo esc_html( BOLDGRID_BACKUP_TITLE . ' ' . __( 'Transfers', 'boldgrid-backup' ) ); ?></h1>
|
71 |
+
<div class="bgbkup-transfers-page">
|
72 |
+
<?php echo $nav . $col_container; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?>
|
73 |
+
</div>
|
|
|
|
|
74 |
</div>
|
admin/partials/settings/auto-backup.php
CHANGED
@@ -17,30 +17,37 @@ defined( 'WPINC' ) || die;
|
|
17 |
|
18 |
ob_start();
|
19 |
?>
|
20 |
-
<h1>
|
21 |
-
<?php
|
22 |
-
esc_html_e( 'Auto Updates', 'boldgrid-backup' );
|
23 |
-
?>
|
24 |
-
</h1>
|
25 |
-
<p>
|
26 |
-
<?php esc_html_e( 'WordPress has the ability to auto update both itself and your plugins and themes. Keeping your software up to date is very important, and this automation helps you more easily do that.', 'boldgrid-backup' ); ?>
|
27 |
-
</p>
|
28 |
-
<p>
|
29 |
-
<?php esc_html_e( 'Total Upkeep adds on top of this functionality by giving you the ability to have backups made before any auto update, and by making it easier to control what is updated and when.', 'boldgrid-backup' ); ?>
|
30 |
-
</p>
|
31 |
<div class="bg-box">
|
32 |
<div class="bg-box-top">
|
33 |
-
<?php esc_html_e( '
|
|
|
34 |
</div>
|
35 |
<div class="bg-box-bottom">
|
36 |
-
<p>
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
</p>
|
39 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
<tr>
|
41 |
<th>
|
42 |
<?php esc_html_e( 'Auto Backup Before Update', 'boldgrid-backup' ); ?>
|
43 |
-
<span class='dashicons dashicons-editor-help' data-id='auto-backup'></span>
|
44 |
</th>
|
45 |
<td>
|
46 |
<input id='auto-backup-enabled' type='radio' name='auto_backup' value='1'
|
@@ -50,8 +57,8 @@ esc_html_e( 'Auto Updates', 'boldgrid-backup' );
|
|
50 |
echo ' checked';
|
51 |
}
|
52 |
?>
|
53 |
-
/> <?php esc_html_e( 'Enabled (Recommended)', 'boldgrid-backup' ); ?>
|
54 |
-
|
55 |
<?php
|
56 |
if ( isset( $settings['auto_backup'] ) && 0 === $settings['auto_backup'] ) {
|
57 |
echo ' checked';
|
@@ -60,26 +67,8 @@ esc_html_e( 'Auto Updates', 'boldgrid-backup' );
|
|
60 |
/> <?php esc_html_e( 'Disabled', 'boldgrid-backup' ); ?>
|
61 |
</td>
|
62 |
</tr>
|
63 |
-
<tr class='table-help hide-help' data-id='auto-backup'>
|
64 |
-
<td colspan='4'>
|
65 |
-
<p>
|
66 |
-
<?php
|
67 |
-
printf(
|
68 |
-
// translators: 1: HTML anchor open tag, 2: HTML anchor close tag.
|
69 |
-
esc_html__(
|
70 |
-
'Auto Backup Before Update: Automatically perform a backup before WordPress updates. When this feature is enabled, a full backup will be made during the %1$spre_auto_update action%2$s.',
|
71 |
-
'boldgrid-backup'
|
72 |
-
),
|
73 |
-
'<a target="_blank" href="https://developer.wordpress.org/reference/hooks/pre_auto_update/">',
|
74 |
-
'</a>'
|
75 |
-
);
|
76 |
-
?>
|
77 |
-
</p>
|
78 |
-
</td>
|
79 |
-
</tr>
|
80 |
<tr>
|
81 |
-
<th><?php esc_html_e( 'Auto Rollback', 'boldgrid-backup' );
|
82 |
-
</th>
|
83 |
<td>
|
84 |
<input id='auto-rollback-enabled' type='radio' name='auto_rollback' value='1'
|
85 |
<?php
|
@@ -88,8 +77,9 @@ esc_html_e( 'Auto Updates', 'boldgrid-backup' );
|
|
88 |
echo ' checked';
|
89 |
}
|
90 |
?>
|
91 |
-
/> <?php esc_html_e( 'Enabled', 'boldgrid-backup' ); ?>
|
92 |
-
|
|
|
93 |
<?php
|
94 |
if ( isset( $settings['auto_rollback'] ) && 0 === $settings['auto_rollback'] ) {
|
95 |
echo ' checked';
|
@@ -98,19 +88,7 @@ esc_html_e( 'Auto Updates', 'boldgrid-backup' );
|
|
98 |
/> <?php esc_html_e( 'Disabled', 'boldgrid-backup' ); ?>
|
99 |
</td>
|
100 |
</tr>
|
101 |
-
|
102 |
-
<td colspan='4'>
|
103 |
-
<p>
|
104 |
-
<?php
|
105 |
-
esc_html_e(
|
106 |
-
'Auto Rollback: If something goes wrong while performing WordPress updates, automatically restore the site using a backup made before updating WordPress. This feature does not apply to auto updates.',
|
107 |
-
'boldgrid-backup'
|
108 |
-
);
|
109 |
-
?>
|
110 |
-
</p>
|
111 |
-
</td>
|
112 |
-
</tr>
|
113 |
-
</tbody></table>
|
114 |
</div>
|
115 |
</div>
|
116 |
<?php
|
17 |
|
18 |
ob_start();
|
19 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
<div class="bg-box">
|
21 |
<div class="bg-box-top">
|
22 |
+
<?php esc_html_e( 'Automation', 'boldgrid-backup' ); ?>
|
23 |
+
<span class='dashicons dashicons-editor-help' data-id='automation'></span>
|
24 |
</div>
|
25 |
<div class="bg-box-bottom">
|
26 |
+
<p class='help' data-id='automation'>
|
27 |
+
<?php
|
28 |
+
printf(
|
29 |
+
// translators: 1: HTML anchor open tag, 2: HTML anchor close tag.
|
30 |
+
esc_html__(
|
31 |
+
'Auto Backup Before Update: Automatically perform a backup before WordPress updates. When this feature is enabled, a full backup will be made during the %1$spre_auto_update action%2$s.',
|
32 |
+
'boldgrid-backup'
|
33 |
+
),
|
34 |
+
'<a target="_blank" href="https://developer.wordpress.org/reference/hooks/pre_auto_update/">',
|
35 |
+
'</a>'
|
36 |
+
);
|
37 |
+
?>
|
38 |
</p>
|
39 |
+
<p class='help' data-id='automation'>
|
40 |
+
<?php
|
41 |
+
esc_html_e(
|
42 |
+
'Auto Rollback: If something goes wrong while performing WordPress updates, automatically restore the site using a backup made before updating WordPress. This feature does not apply to auto updates.',
|
43 |
+
'boldgrid-backup'
|
44 |
+
);
|
45 |
+
?>
|
46 |
+
</p>
|
47 |
+
<table class="form-table">
|
48 |
<tr>
|
49 |
<th>
|
50 |
<?php esc_html_e( 'Auto Backup Before Update', 'boldgrid-backup' ); ?>
|
|
|
51 |
</th>
|
52 |
<td>
|
53 |
<input id='auto-backup-enabled' type='radio' name='auto_backup' value='1'
|
57 |
echo ' checked';
|
58 |
}
|
59 |
?>
|
60 |
+
/> <?php esc_html_e( 'Enabled (Recommended)', 'boldgrid-backup' ); ?> <input
|
61 |
+
id='auto-backup-disabled' type='radio' name='auto_backup' value='0'
|
62 |
<?php
|
63 |
if ( isset( $settings['auto_backup'] ) && 0 === $settings['auto_backup'] ) {
|
64 |
echo ' checked';
|
67 |
/> <?php esc_html_e( 'Disabled', 'boldgrid-backup' ); ?>
|
68 |
</td>
|
69 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
<tr>
|
71 |
+
<th><?php esc_html_e( 'Auto Rollback', 'boldgrid-backup' ); ?></th>
|
|
|
72 |
<td>
|
73 |
<input id='auto-rollback-enabled' type='radio' name='auto_rollback' value='1'
|
74 |
<?php
|
77 |
echo ' checked';
|
78 |
}
|
79 |
?>
|
80 |
+
/> <?php esc_html_e( 'Enabled', 'boldgrid-backup' ); ?> <input
|
81 |
+
id='auto-rollback-disabled' type='radio' name='auto_rollback'
|
82 |
+
value='0'
|
83 |
<?php
|
84 |
if ( isset( $settings['auto_rollback'] ) && 0 === $settings['auto_rollback'] ) {
|
85 |
echo ' checked';
|
88 |
/> <?php esc_html_e( 'Disabled', 'boldgrid-backup' ); ?>
|
89 |
</td>
|
90 |
</tr>
|
91 |
+
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
</div>
|
93 |
</div>
|
94 |
<?php
|
admin/partials/settings/auto-update.php
DELETED
@@ -1,435 +0,0 @@
|
|
1 |
-
<?php //phpcs:ignore WordPress.Files.FileName
|
2 |
-
/**
|
3 |
-
* File: auto-update.php
|
4 |
-
*
|
5 |
-
* Show "Auto Update" section on settings page.
|
6 |
-
*
|
7 |
-
* @since 1.14.0
|
8 |
-
* @package Boldgrid_Backup
|
9 |
-
* @subpackage Boldgrid_Backup/admin/partials/settings
|
10 |
-
* @copyright BoldGrid
|
11 |
-
* @version $Id$
|
12 |
-
* @link https://www.boldgrid.com
|
13 |
-
* @author BoldGrid <support@boldgrid.com>
|
14 |
-
*/
|
15 |
-
|
16 |
-
// Get BoldGrid settings.
|
17 |
-
\Boldgrid\Library\Util\Option::init();
|
18 |
-
$boldgrid_backup_settings = get_site_option( 'boldgrid_backup_settings', array() );
|
19 |
-
$default_auto_update_settings = array(
|
20 |
-
'plugins' => array(),
|
21 |
-
'themes' => array(),
|
22 |
-
'wpcore' => array(),
|
23 |
-
);
|
24 |
-
$auto_update_settings = isset( $boldgrid_backup_settings['auto_update'] ) ? $boldgrid_backup_settings['auto_update'] : $default_auto_update_settings;
|
25 |
-
$translations = array(
|
26 |
-
'active' => esc_attr__( 'Active', 'boldgrid-backup' ),
|
27 |
-
'inactive' => esc_attr__( 'Inactive', 'boldgrid-backup' ),
|
28 |
-
'parent' => esc_attr__( 'Parent', 'boldgrid-backup' ),
|
29 |
-
);
|
30 |
-
|
31 |
-
/**
|
32 |
-
* Get Heading markup.
|
33 |
-
*
|
34 |
-
* @since 1.14.0
|
35 |
-
*
|
36 |
-
* @param array $boldgrid_backup_settings Boldgrid Backup Settings.
|
37 |
-
* @param array $auto_update_settings Auto Update Settings from DB.
|
38 |
-
* @return string
|
39 |
-
*/
|
40 |
-
function get_heading_markup( $boldgrid_backup_settings, $auto_update_settings ) {
|
41 |
-
if ( empty( $auto_update_settings ) || 0 === $boldgrid_backup_settings['auto_backup'] ) {
|
42 |
-
$bbs_link_open = '';
|
43 |
-
$bbs_link_close = '';
|
44 |
-
|
45 |
-
if ( empty( $_GET['page'] ) || 'boldgrid-backup-settings' !== $_GET['page'] ) { // phpcs:ignore WordPress.CSRF.NonceVerification.NoNonceVerification
|
46 |
-
$bbs_link_open = '<a href="' . admin_url( 'admin.php?page=boldgrid-backup-settings§ion=section_auto_rollback' ) . '">';
|
47 |
-
$bbs_link_close = '</a>';
|
48 |
-
}
|
49 |
-
|
50 |
-
return '
|
51 |
-
<div><p>' .
|
52 |
-
sprintf(
|
53 |
-
// translators: 1: HTML anchor open tag, 2: HTML anchor close tag, 3: HTML em open tag, 4: HTML em close tag, 5: Plugin Title.
|
54 |
-
esc_html__(
|
55 |
-
'You have %3$sAuto Backup Before Update%4$s disabled in the %1$s%5$s Backup and Restore Settings%2$s. Please consider enabling the setting.',
|
56 |
-
'boldgrid-backup'
|
57 |
-
),
|
58 |
-
$bbs_link_open,
|
59 |
-
$bbs_link_close,
|
60 |
-
'<em>',
|
61 |
-
'</em>',
|
62 |
-
'Total Upkeep'
|
63 |
-
) .
|
64 |
-
'</p></div>' . PHP_EOL;
|
65 |
-
}
|
66 |
-
}
|
67 |
-
|
68 |
-
/**
|
69 |
-
* Get Premium markup.
|
70 |
-
*
|
71 |
-
* @since 1.14.0
|
72 |
-
*
|
73 |
-
* @return string
|
74 |
-
*/
|
75 |
-
function get_premium_markup() {
|
76 |
-
$core = apply_filters( 'boldgrid_backup_get_core', null );
|
77 |
-
$premium_url = $core->go_pro->get_premium_url( 'bgbkup-settings-auto-update' );
|
78 |
-
|
79 |
-
$premium_box = sprintf(
|
80 |
-
'
|
81 |
-
<div class="bg-box-bottom premium">
|
82 |
-
<p>
|
83 |
-
%1$s
|
84 |
-
%2$s
|
85 |
-
</p>
|
86 |
-
</div>',
|
87 |
-
/* 1 */ $core->go_pro->get_premium_button( $premium_url ),
|
88 |
-
/* 2 */ __( 'Upgrade to Premium for the option to configure a delay on updates!', 'boldgrid-backup' )
|
89 |
-
);
|
90 |
-
|
91 |
-
$premium_markup = '<div class="bg-box">
|
92 |
-
<div class="bg-box-top">' .
|
93 |
-
esc_html__( 'Configure When Auto Updates Occur', 'boldgrid-backup' ) . '
|
94 |
-
</div>' . $premium_box . '</div>';
|
95 |
-
|
96 |
-
return $premium_markup;
|
97 |
-
}
|
98 |
-
|
99 |
-
/**
|
100 |
-
* Get WP Core Update markup.
|
101 |
-
*
|
102 |
-
* @since 1.14.0
|
103 |
-
*
|
104 |
-
* @param array $auto_update_settings Auto Update Settings from DB.
|
105 |
-
* @return string
|
106 |
-
*/
|
107 |
-
function get_wpcore_update_markup( $auto_update_settings ) {
|
108 |
-
$wpcore_auto_updates = ! empty( $auto_update_settings['wpcore'] ) ?
|
109 |
-
$auto_update_settings['wpcore'] : array();
|
110 |
-
$wpcore_major = ! empty( $wpcore_auto_updates['major'] );
|
111 |
-
$wpcore_minor = ! isset( $wpcore_auto_updates['minor'] ) || $wpcore_auto_updates['minor'];
|
112 |
-
$wpcore_dev = ! empty( $wpcore_auto_updates['dev'] );
|
113 |
-
$wpcore_translation = ! empty( $wpcore_auto_updates['translation'] );
|
114 |
-
$wpcore_all = ! empty( $wpcore_auto_updates['all'] ) ||
|
115 |
-
( $wpcore_major && $wpcore_minor && $wpcore_dev && $wpcore_translation );
|
116 |
-
|
117 |
-
$wpcore_update_markup = '
|
118 |
-
<div class="bg-box">
|
119 |
-
<div class="bg-box-top">
|
120 |
-
' . esc_html__( 'Configure what is Auto Updated', 'boldgrid-backup' ) . '
|
121 |
-
</div>
|
122 |
-
<div class="bg-box-bottom">
|
123 |
-
<table class="form-table div-table-body auto-update-settings">
|
124 |
-
<tbody class="div-table-body">
|
125 |
-
<tr>
|
126 |
-
<th>' . esc_html__( 'WordPress Core', 'boldgrid-backup' ) .
|
127 |
-
'<span class="dashicons dashicons-editor-help" data-id="wpcore-updates"></span>
|
128 |
-
</th>
|
129 |
-
<td></td>
|
130 |
-
<td>' . esc_html__( 'All Update Types', 'boldgrid-backup' ) . '</td>
|
131 |
-
<td class="td-toggle">
|
132 |
-
<div class="toggle toggle-light toggle-group wpcore-toggle"
|
133 |
-
data-wpcore="all"
|
134 |
-
data-toggle-on="' . ( $wpcore_all ? 'true' : 'false' ) . '">
|
135 |
-
</div>
|
136 |
-
<input type="hidden" name="auto_update[wpcore][all]"
|
137 |
-
value="' . ( $wpcore_all ? 1 : 0 ) . '" />
|
138 |
-
</td>
|
139 |
-
</tr>
|
140 |
-
<tr class="table-help hide-help" data-id="wpcore-updates">
|
141 |
-
<td colspan=4>
|
142 |
-
<p>
|
143 |
-
' . esc_html__( 'Select Which WordPress Core updates you wish to have automatically updated', 'boldgrid-backup' ) . '.
|
144 |
-
</p>
|
145 |
-
</td>
|
146 |
-
</tr>
|
147 |
-
<tr>
|
148 |
-
<td colspan=2></td>
|
149 |
-
<td>' . esc_html__( 'Major Updates', 'boldgrid-backup' ) . '</td>
|
150 |
-
<td class="td-toggle">
|
151 |
-
<div class="toggle toggle-light wpcore-toggle"
|
152 |
-
data-wpcore="major"
|
153 |
-
data-toggle-on="' . ( $wpcore_major ? 'true' : 'false' ) . '">
|
154 |
-
</div>
|
155 |
-
<input type="hidden" name="auto_update[wpcore][major]"
|
156 |
-
value="' . ( $wpcore_major ? 1 : 0 ) . '" />
|
157 |
-
</td>
|
158 |
-
</tr>
|
159 |
-
<tr>
|
160 |
-
<td colspan=2></td>
|
161 |
-
<td>' . esc_html__( 'Minor Updates', 'boldgrid-backup' ) . '</td>
|
162 |
-
<td class="td-toggle">
|
163 |
-
<div class="toggle toggle-light wpcore-toggle"
|
164 |
-
data-wpcore="minor"
|
165 |
-
data-toggle-on="' . ( $wpcore_minor ? 'true' : 'false' ) . '">
|
166 |
-
</div>
|
167 |
-
<input type="hidden" name="auto_update[wpcore][minor]"
|
168 |
-
value="' . ( $wpcore_minor ? 1 : 0 ) . '" />
|
169 |
-
</td>
|
170 |
-
</tr>
|
171 |
-
<tr>
|
172 |
-
<td colspan=2></td>
|
173 |
-
<td>' . esc_html__( 'Development Updates', 'boldgrid-backup' ) . '</td>
|
174 |
-
<td class="td-toggle">
|
175 |
-
<div class="toggle toggle-light wpcore-toggle"
|
176 |
-
data-wpcore="dev"
|
177 |
-
data-toggle-on="' . ( $wpcore_dev ? 'true' : 'false' ) . '">
|
178 |
-
</div>
|
179 |
-
<input type="hidden" name="auto_update[wpcore][dev]"
|
180 |
-
value="' . ( $wpcore_dev ? 1 : 0 ) . '" />
|
181 |
-
</td>
|
182 |
-
</tr>
|
183 |
-
<tr>
|
184 |
-
<td colspan=2 />
|
185 |
-
<td>' . esc_html__( 'Translation Updates', 'boldgrid-backup' ) . '</td>
|
186 |
-
<td class="td-toggle">
|
187 |
-
<div class="toggle toggle-light wpcore-toggle"
|
188 |
-
data-wpcore="translation"
|
189 |
-
data-toggle-on="' . ( $wpcore_translation ? 'true' : 'false' ) . '">
|
190 |
-
</div>
|
191 |
-
<input type="hidden" name="auto_update[wpcore][translation]"
|
192 |
-
value="' . ( $wpcore_translation ? 1 : 0 ) . '" />
|
193 |
-
</td>
|
194 |
-
</tr>
|
195 |
-
<tr>
|
196 |
-
<td colspan=4 class="bglib-divider"></td>
|
197 |
-
</tr>
|
198 |
-
</tbody>';
|
199 |
-
return $wpcore_update_markup;
|
200 |
-
}
|
201 |
-
|
202 |
-
/**
|
203 |
-
* Get Plugins Update Markup.
|
204 |
-
*
|
205 |
-
* @since 1.14.0
|
206 |
-
*
|
207 |
-
* @param array $auto_update_settings Auto Update Settings from DB.
|
208 |
-
* @param array $translations Translations.
|
209 |
-
* @return string
|
210 |
-
*/
|
211 |
-
function get_plugins_update_markup( $auto_update_settings, $translations ) {
|
212 |
-
$plugins_default = ! empty( $auto_update_settings['plugins']['default'] );
|
213 |
-
$plugin_auto_update = (bool) \Boldgrid\Library\Util\Option::get( 'plugin_autoupdate' );
|
214 |
-
$plugins = get_plugins();
|
215 |
-
$plugins_active = array();
|
216 |
-
$plugins_inactive = array();
|
217 |
-
|
218 |
-
foreach ( $plugins as $slug => $plugin_data ) {
|
219 |
-
if ( is_plugin_inactive( $slug ) ) {
|
220 |
-
$plugins_inactive[ $slug ] = $plugin_data;
|
221 |
-
} else {
|
222 |
-
$plugins_active[ $slug ] = $plugin_data;
|
223 |
-
}
|
224 |
-
}
|
225 |
-
|
226 |
-
$statuses = array(
|
227 |
-
'Active',
|
228 |
-
'Inactive',
|
229 |
-
);
|
230 |
-
|
231 |
-
$plugins_update_markup = '<tbody class="div-table-body">
|
232 |
-
<tr>
|
233 |
-
<th>' . esc_html__( 'Plugins', 'boldgrid-backup' ) .
|
234 |
-
'<span class="dashicons dashicons-editor-help" data-id="plugin-updates"></span>
|
235 |
-
</th>
|
236 |
-
</tr>
|
237 |
-
<tr class="table-help hide-help" data-id="plugin-updates">
|
238 |
-
<td colspan=4>
|
239 |
-
<p>' . esc_html__( 'Choose which Plugins you wish to update automatically', 'boldgrid-backup' ) . '</p>
|
240 |
-
</td>
|
241 |
-
</tr>
|
242 |
-
<tr>
|
243 |
-
<td>' . esc_html__( 'Default For New Plugins', 'boldgrid-backup' ) . '</td>
|
244 |
-
<td>
|
245 |
-
<div class="toggle toggle-light right" id="toggle-default-plugins"
|
246 |
-
data-toggle-on="' . ( $plugins_default ? 'true' : 'false' ) . '"></div>
|
247 |
-
<input type="hidden" name="auto_update[plugins][default]" value="' . ( $plugins_default ? 1 : 0 ) . '" />
|
248 |
-
</td>
|
249 |
-
<td>' . esc_html__( 'All Plugins', 'boldgrid-backup' ) . '</td>
|
250 |
-
<td class="td-toggle">
|
251 |
-
<div class="toggle toggle-light toggle-group" id="toggle-plugins"></div>
|
252 |
-
</td>
|
253 |
-
</tr>';
|
254 |
-
|
255 |
-
foreach ( $statuses as $status ) {
|
256 |
-
$status_lower = strtolower( $status );
|
257 |
-
|
258 |
-
$plugins_update_markup .= '<tr>
|
259 |
-
<td colspan=2 />
|
260 |
-
<td id="' . $status_lower . '-plugin-header">
|
261 |
-
<h3>' . $translations[ $status_lower ] . '</h3>
|
262 |
-
</td>
|
263 |
-
<td>
|
264 |
-
<span class="dashicons-arrow-down-alt2 dashicons bglib-collapsible-control" data-target=".' .
|
265 |
-
$status_lower . '-collapsible" />
|
266 |
-
</td>
|
267 |
-
</tr>';
|
268 |
-
|
269 |
-
foreach ( ${ 'plugins_' . $status_lower } as $slug => $plugin_data ) {
|
270 |
-
// Enable if global setting is on, individual settings is on, or not set and default is on.
|
271 |
-
$toggle = $plugin_auto_update || ! empty( $auto_update_settings['plugins'][ $slug ] ) ||
|
272 |
-
( ! isset( $auto_update_settings['plugins'][ $slug ] ) && $plugins_default );
|
273 |
-
$plugin = \Boldgrid\Library\Library\Plugin\Factory::create( $slug );
|
274 |
-
|
275 |
-
$plugin->setUpdateData();
|
276 |
-
|
277 |
-
$third_party = $plugin->updateData->thirdParty; //phpcs:ignore WordPress.NamingConventions.ValidVariableName
|
278 |
-
|
279 |
-
if ( true === $third_party ) {
|
280 |
-
$extra_info_icon = '<span class="help-icon dashicons dashicons-warning yellow" data-id="' . $slug . '-extra-info"></span>';
|
281 |
-
} else {
|
282 |
-
$extra_info_icon = '';
|
283 |
-
}
|
284 |
-
$plugins_update_markup .= '
|
285 |
-
<tr id="' . $slug . '-row" class="' . $status_lower . '-collapsible bglib-collapsible bglib-collapsible-open">
|
286 |
-
<td colspan=2 />
|
287 |
-
<td>' . $plugin_data['Name'] . $extra_info_icon . '</td>
|
288 |
-
<td class="td-toggle">
|
289 |
-
<div class="td-slider toggle toggle-light plugin-toggle"
|
290 |
-
data-plugin="' . $slug . '"
|
291 |
-
data-toggle-on="' . ( $toggle ? 'true' : 'false' ) . '">
|
292 |
-
</div>
|
293 |
-
<input type="hidden" name="auto_update[plugins][' . $slug . ']"
|
294 |
-
value="' . ( $toggle ? 1 : 0 ) . '" />
|
295 |
-
</td>
|
296 |
-
</tr>';
|
297 |
-
|
298 |
-
if ( true === $third_party ) {
|
299 |
-
$plugins_update_markup .= '
|
300 |
-
<tr class="table-help hide-help" data-id="' . $slug . '-extra-info">
|
301 |
-
<td colspan=2></td>
|
302 |
-
<td colspan=1>
|
303 |
-
<p style="position:relative;z-index=-1">' . esc_html__(
|
304 |
-
'This plugin was not installed through the WordPress Plugins Repository. If auto updates are enabled, they will take place immediately.',
|
305 |
-
'boldrid-backup'
|
306 |
-
) . ' </p>
|
307 |
-
</td>
|
308 |
-
<td></td>
|
309 |
-
</tr>';
|
310 |
-
}
|
311 |
-
}
|
312 |
-
}
|
313 |
-
|
314 |
-
$plugins_update_markup .= '<tr><td colspan=4 class="bglib-divider"></td></tr></tbody>';
|
315 |
-
return $plugins_update_markup;
|
316 |
-
}
|
317 |
-
|
318 |
-
/**
|
319 |
-
* Get Themes Update Markup.
|
320 |
-
*
|
321 |
-
* @since 1.14.0
|
322 |
-
*
|
323 |
-
* @param array $auto_update_settings Auto Update Settings from DB.
|
324 |
-
* @param array $translations Translations.
|
325 |
-
* @return string
|
326 |
-
*/
|
327 |
-
function get_themes_update_markup( $auto_update_settings, $translations ) {
|
328 |
-
$themes_default = ! empty( $auto_update_settings['themes']['default'] );
|
329 |
-
$active_stylesheet = get_option( 'stylesheet' );
|
330 |
-
$active_template = get_option( 'template' );
|
331 |
-
$themes = wp_get_themes();
|
332 |
-
$themes_active = array();
|
333 |
-
$themes_inactive = array();
|
334 |
-
|
335 |
-
foreach ( $themes as $stylesheet => $theme ) {
|
336 |
-
$is_active = $stylesheet === $active_stylesheet;
|
337 |
-
$is_parent = ( $active_stylesheet !== $active_template && $stylesheet === $active_template );
|
338 |
-
|
339 |
-
if ( $is_active || $is_parent ) {
|
340 |
-
$themes_active[ $stylesheet ] = $theme;
|
341 |
-
} else {
|
342 |
-
$themes_inactive[ $stylesheet ] = $theme;
|
343 |
-
}
|
344 |
-
}
|
345 |
-
|
346 |
-
$theme_statuses = array(
|
347 |
-
'Active',
|
348 |
-
'Inactive',
|
349 |
-
);
|
350 |
-
|
351 |
-
$themes_update_markup = '<tbody class="div-table-body">
|
352 |
-
<tr>
|
353 |
-
<th>' . esc_html__( 'Themes', 'boldgrid-backup' ) .
|
354 |
-
'<span class="dashicons dashicons-editor-help" data-id="theme-updates"></span>
|
355 |
-
</th>
|
356 |
-
</tr>
|
357 |
-
<tr class="table-help hide-help" data-id="theme-updates">
|
358 |
-
<td colspan=4>
|
359 |
-
<p>' . esc_html__( 'Choose which Themes you wish to update automatically ', 'boldgrid-backup' ) . '</p>
|
360 |
-
</td>
|
361 |
-
</tr>
|
362 |
-
<tr>
|
363 |
-
<td>' . esc_html__( 'Default For New Themes', 'boldgrid-backup' ) . '</td>
|
364 |
-
<td>
|
365 |
-
<div class="toggle toggle-light right" id="toggle-default-themes"
|
366 |
-
data-toggle-on="' . ( $themes_default ? 'true' : 'false' ) . '"></div>
|
367 |
-
<input type="hidden" name="auto_update[themes][default]" value="' . ( $themes_default ? 1 : 0 ) . '" />
|
368 |
-
</div>
|
369 |
-
</td>
|
370 |
-
<td>' . esc_html__( 'All Themes', 'boldgrid-backup' ) . '</td>
|
371 |
-
<td class="td-toggle">
|
372 |
-
<div class="toggle toggle-light toggle-group" id="toggle-themes"></div>
|
373 |
-
</td>
|
374 |
-
</tr>';
|
375 |
-
|
376 |
-
foreach ( $theme_statuses as $status ) {
|
377 |
-
$status_lower = strtolower( $status );
|
378 |
-
|
379 |
-
$themes_update_markup .= '<tr>
|
380 |
-
<td colspan=2 />
|
381 |
-
<td id="' . $status_lower . '-theme-header">
|
382 |
-
<h3>' . $translations[ $status_lower ] . '</h3>
|
383 |
-
</td>
|
384 |
-
<td>
|
385 |
-
<span class="dashicons-arrow-down-alt2 dashicons bglib-collapsible-control" data-target=".' .
|
386 |
-
$status_lower . '-collapsible" />
|
387 |
-
</td>
|
388 |
-
</tr>';
|
389 |
-
|
390 |
-
foreach ( ${ 'themes_' . $status_lower } as $stylesheet => $theme ) {
|
391 |
-
$is_parent = ( $active_stylesheet !== $active_template && $stylesheet === $active_template );
|
392 |
-
|
393 |
-
// Enable if global setting is on, individual settings is on, or not set and default is on.
|
394 |
-
$toggle = ! empty( $auto_update_settings['themes'][ $stylesheet ] ) ||
|
395 |
-
( ! isset( $auto_update_settings['themes'][ $stylesheet ] ) && $themes_default );
|
396 |
-
|
397 |
-
$themes_update_markup .= '
|
398 |
-
<tr id="' . $stylesheet . '-row" class="' . $status_lower . '-collapsible bglib-collapsible bglib-collapsible-open">
|
399 |
-
<td colspan=2 />
|
400 |
-
<td><div class="td-slider">' .
|
401 |
-
$theme->get( 'Name' ) .
|
402 |
-
( $is_parent ? ' (' . $translations['parent'] . ')' : '' ) .
|
403 |
-
'</td>
|
404 |
-
<td class="td-toggle">
|
405 |
-
<div class="td-slider toggle toggle-light theme-toggle"
|
406 |
-
data-stylesheet="' . $stylesheet . '"
|
407 |
-
data-toggle-on="' . ( $toggle ? 'true' : 'false' ) . '">
|
408 |
-
</div>
|
409 |
-
<input type="hidden" name="auto_update[themes][' . $stylesheet . ']"
|
410 |
-
value="' . ( $toggle ? 1 : 0 ) . '" />
|
411 |
-
</td>
|
412 |
-
</tr>';
|
413 |
-
}
|
414 |
-
}
|
415 |
-
|
416 |
-
$themes_update_markup .= '</tbody>';
|
417 |
-
|
418 |
-
return $themes_update_markup;
|
419 |
-
}
|
420 |
-
|
421 |
-
$auto_update_markup = ' ' . get_heading_markup( $boldgrid_backup_settings, $auto_update_settings );
|
422 |
-
|
423 |
-
if ( $this->core->config->is_premium_done ) {
|
424 |
-
include_once BOLDGRID_BACKUP_PREMIUM_PATH . '/admin/partials/settings/timely-auto-updates.php';
|
425 |
-
$auto_update_markup .= get_when_update_markup( $auto_update_settings );
|
426 |
-
} else {
|
427 |
-
$auto_update_markup .= get_premium_markup( $auto_update_settings );
|
428 |
-
}
|
429 |
-
|
430 |
-
$auto_update_markup .= get_wpcore_update_markup( $auto_update_settings, $translations ) .
|
431 |
-
get_plugins_update_markup( $auto_update_settings, $translations ) .
|
432 |
-
get_themes_update_markup( $auto_update_settings, $translations ) .
|
433 |
-
'</table></div></div>';
|
434 |
-
|
435 |
-
return $auto_update_markup;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/partials/settings/backup-security.php
CHANGED
@@ -71,15 +71,10 @@ if ( ! $is_premium ) {
|
|
71 |
<?php
|
72 |
$get_premium_url = 'https://www.boldgrid.com/update-backup?source=bgbkup-settings-security';
|
73 |
printf(
|
74 |
-
// translators: 1: Get premium button/link, 2:
|
75 |
-
esc_html__(
|
76 |
-
'%1$sDatabase Encryption provides another level of protection by preventing unauthorized access to your database backup archives.
|
77 |
-
%2$sLearn More%3$s',
|
78 |
-
'boldgrid-backup'
|
79 |
-
),
|
80 |
$this->core->go_pro->get_premium_button( $get_premium_url, __( 'Get Premium', 'boldgrid-backup' ) ), // phpcs:ignore
|
81 |
-
|
82 |
-
'</a>'
|
83 |
);
|
84 |
?>
|
85 |
</div>
|
71 |
<?php
|
72 |
$get_premium_url = 'https://www.boldgrid.com/update-backup?source=bgbkup-settings-security';
|
73 |
printf(
|
74 |
+
// translators: 1: Get premium button/link, 2: Premium plugin title.
|
75 |
+
esc_html__( '%1$sA %2$s license is required for encryption features.', 'boldgrid-backup' ),
|
|
|
|
|
|
|
|
|
76 |
$this->core->go_pro->get_premium_button( $get_premium_url, __( 'Get Premium', 'boldgrid-backup' ) ), // phpcs:ignore
|
77 |
+
esc_html( BOLDGRID_BACKUP_TITLE . ' Premium' )
|
|
|
78 |
);
|
79 |
?>
|
80 |
</div>
|
admin/partials/settings/compressor.php
CHANGED
@@ -53,29 +53,6 @@ foreach ( $compressors as $compressor ) {
|
|
53 |
}
|
54 |
$select_compressor .= '</select>';
|
55 |
|
56 |
-
// Create the Compression level options.
|
57 |
-
$default_compression_level = (int) $core->compressors->get_object( 'system_zip' )->default_compression_level;
|
58 |
-
$selected_compression_level = isset( $settings['compression_level'] ) ? (int) $settings['compression_level'] : $default_compression_level;
|
59 |
-
$select_compression_level = '<select name="compression_level">';
|
60 |
-
foreach ( range( 0, 9 ) as $level ) {
|
61 |
-
$is_default = $default_compression_level === $level;
|
62 |
-
$is_selected = $selected_compression_level === $level;
|
63 |
-
|
64 |
-
$select_compression_level .= sprintf(
|
65 |
-
'<option value="%1$s" %2$s>%3$s</option>',
|
66 |
-
esc_attr( $level ),
|
67 |
-
$is_selected ? 'selected="selected"' : '',
|
68 |
-
$is_default ? $default_compression_level . ' ( ' . __( 'default' ) . ' )' : esc_html( $level )
|
69 |
-
);
|
70 |
-
}
|
71 |
-
|
72 |
-
$compression_level_info = __(
|
73 |
-
'The compression level defines how compacted the files will be within the backup file.
|
74 |
-
Higher compression levels result in smaller backup files, but take longer to create and use more system resources.
|
75 |
-
If you are having trouble getting backups to complete successfully, try using a lower compression level.',
|
76 |
-
'boldgrid-backup'
|
77 |
-
);
|
78 |
-
|
79 |
ob_start();
|
80 |
?>
|
81 |
<div class="bg-box">
|
@@ -90,9 +67,6 @@ ob_start();
|
|
90 |
<?php
|
91 |
esc_html_e( 'These are advanced settings. You do not need to configure this setting.', 'boldgrid-backup' );
|
92 |
?>
|
93 |
-
<span class="compression-level hidden">
|
94 |
-
<br/><?php echo $compression_level_info; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?>
|
95 |
-
</span>
|
96 |
</p>
|
97 |
|
98 |
<table class="form-table">
|
@@ -102,12 +76,6 @@ ob_start();
|
|
102 |
<?php echo $select_compressor; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?>
|
103 |
</td>
|
104 |
</tr>
|
105 |
-
<tr class="compression-level hidden">
|
106 |
-
<th><?php esc_html_e( 'Compression Level', 'boldgrid-backup' ); ?>:</th>
|
107 |
-
<td>
|
108 |
-
<?php echo $select_compression_level; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?>
|
109 |
-
</td>
|
110 |
-
</tr>
|
111 |
</table>
|
112 |
</div>
|
113 |
</div>
|
53 |
}
|
54 |
$select_compressor .= '</select>';
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
ob_start();
|
57 |
?>
|
58 |
<div class="bg-box">
|
67 |
<?php
|
68 |
esc_html_e( 'These are advanced settings. You do not need to configure this setting.', 'boldgrid-backup' );
|
69 |
?>
|
|
|
|
|
|
|
70 |
</p>
|
71 |
|
72 |
<table class="form-table">
|
76 |
<?php echo $select_compressor; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?>
|
77 |
</td>
|
78 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
</table>
|
80 |
</div>
|
81 |
</div>
|
admin/partials/settings/storage.php
CHANGED
@@ -70,7 +70,7 @@ $premium_box = $this->core->config->is_premium_done ? '' : sprintf(
|
|
70 |
</div>',
|
71 |
/* 1 */ $premium_inputs,
|
72 |
/* 2 */ $this->core->go_pro->get_premium_button( $premium_url ),
|
73 |
-
/* 3 */ __( 'Upgrade to
|
74 |
);
|
75 |
|
76 |
?>
|
70 |
</div>',
|
71 |
/* 1 */ $premium_inputs,
|
72 |
/* 2 */ $this->core->go_pro->get_premium_button( $premium_url ),
|
73 |
+
/* 3 */ __( 'Upgrade to premium for more Storage Locations!', 'boldgrid-backup' )
|
74 |
);
|
75 |
|
76 |
?>
|
admin/partials/tools/local-remote.php
CHANGED
@@ -209,15 +209,19 @@ if ( ! $this->core->config->is_premium_done ) {
|
|
209 |
printf(
|
210 |
'
|
211 |
<div class="bg-box-bottom premium wp-clearfix">
|
212 |
-
|
213 |
-
|
214 |
</div>',
|
215 |
-
$this->core->go_pro->get_premium_button( $premium_url, esc_html__( 'Unlock Feature', 'boldgrid-backup' ) ), // phpcs:ignore WordPress.XSS.EscapeOutput
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
|
|
|
|
|
|
|
|
221 |
)
|
222 |
);
|
223 |
}
|
209 |
printf(
|
210 |
'
|
211 |
<div class="bg-box-bottom premium wp-clearfix">
|
212 |
+
%1$s
|
213 |
+
%2$s
|
214 |
</div>',
|
215 |
+
$this->core->go_pro->get_premium_button( $premium_url, esc_html__( 'Unlock Feature', 'boldgrid-backup' ) ), // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
216 |
+
esc_html(
|
217 |
+
sprintf(
|
218 |
+
// translators: 1: Plugin title.
|
219 |
+
__(
|
220 |
+
'Changed a file and now your site isn’t working properly? With %1$s, you can browse through past backup archives and restore individual files with a single click.',
|
221 |
+
'boldgrid-backup'
|
222 |
+
),
|
223 |
+
BOLDGRID_BACKUP_TITLE . ' Premium'
|
224 |
+
)
|
225 |
)
|
226 |
);
|
227 |
}
|
admin/partials/transfers/destination.php
CHANGED
@@ -54,7 +54,7 @@ switch ( true ) {
|
|
54 |
// Has a premium license and the premium plugin installed, but not activated.
|
55 |
$encrypt_message = sprintf(
|
56 |
// translators: 1: HTML anchor link open tag, 2: HTML anchor closing tag, 3: Premium plugin title.
|
57 |
-
__( '%3$s is not active
|
58 |
'<a href="' .
|
59 |
esc_url( admin_url( 'plugins.php?s=Boldgrid%20Backup%20Premium&plugin_status=inactive' ) ) .
|
60 |
'">',
|
@@ -73,9 +73,7 @@ return sprintf(
|
|
73 |
<h2>%1$s</h2>
|
74 |
<p>%2$s</p>
|
75 |
<p>%3$s</p>
|
76 |
-
<
|
77 |
-
<p style="margin-bottom:0">%9$s</p>
|
78 |
-
</div>
|
79 |
<div id="url-import-section" class="wp-upload-form">
|
80 |
%4$s <input type="text" name="url" placeholder="%5$s" size="30" />
|
81 |
<input class="button" type="submit" value="%6$s" />
|
54 |
// Has a premium license and the premium plugin installed, but not activated.
|
55 |
$encrypt_message = sprintf(
|
56 |
// translators: 1: HTML anchor link open tag, 2: HTML anchor closing tag, 3: Premium plugin title.
|
57 |
+
__( '%3$s is not active and required for encryption features. Please go to the %1$sPlugins%2$s page to activate it.', 'boldgrid-backup' ),
|
58 |
'<a href="' .
|
59 |
esc_url( admin_url( 'plugins.php?s=Boldgrid%20Backup%20Premium&plugin_status=inactive' ) ) .
|
60 |
'">',
|
73 |
<h2>%1$s</h2>
|
74 |
<p>%2$s</p>
|
75 |
<p>%3$s</p>
|
76 |
+
<p>%9$s</p>
|
|
|
|
|
77 |
<div id="url-import-section" class="wp-upload-form">
|
78 |
%4$s <input type="text" name="url" placeholder="%5$s" size="30" />
|
79 |
<input class="button" type="submit" value="%6$s" />
|
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.
|
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.13.7
|
20 |
* Author: BoldGrid
|
21 |
* Author URI: https://www.boldgrid.com/
|
22 |
* License: GPL-2.0+
|
coverage.xml
CHANGED
@@ -1,27 +1,27 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<coverage generated="
|
3 |
-
<project timestamp="
|
4 |
<package name="Boldgrid\Backup\Admin\Card">
|
5 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-amazon-s3.php">
|
6 |
<class name="Amazon_S3" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Amazon">
|
7 |
-
<metrics complexity="1" methods="1" coveredmethods="
|
8 |
</class>
|
9 |
-
<line num="29" type="method" name="init" visibility="public" complexity="1" crap="
|
10 |
-
<line num="30" type="stmt" count="
|
11 |
-
<line num="32" type="stmt" count="
|
12 |
-
<line num="34" type="stmt" count="
|
13 |
-
<line num="36" type="stmt" count="
|
14 |
-
<line num="37" type="stmt" count="
|
15 |
-
<line num="38" type="stmt" count="
|
16 |
-
<line num="39" type="stmt" count="
|
17 |
-
<line num="41" type="stmt" count="
|
18 |
-
<line num="43" type="stmt" count="
|
19 |
-
<line num="44" type="stmt" count="
|
20 |
-
<line num="45" type="stmt" count="
|
21 |
-
<line num="46" type="stmt" count="
|
22 |
-
<line num="48" type="stmt" count="
|
23 |
-
<line num="49" type="stmt" count="
|
24 |
-
<metrics loc="50" ncloc="27" classes="1" methods="1" coveredmethods="
|
25 |
</file>
|
26 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-backups.php">
|
27 |
<class name="Backups" namespace="Boldgrid\Backup\Admin\Card">
|
@@ -44,171 +44,166 @@
|
|
44 |
</file>
|
45 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-database-encryption.php">
|
46 |
<class name="Database_Encryption" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Database">
|
47 |
-
<metrics complexity="1" methods="1" coveredmethods="
|
48 |
</class>
|
49 |
-
<line num="29" type="method" name="init" visibility="public" complexity="1" crap="
|
50 |
-
<line num="30" type="stmt" count="
|
51 |
-
<line num="32" type="stmt" count="
|
52 |
-
<line num="34" type="stmt" count="
|
53 |
-
<line num="36" type="stmt" count="
|
54 |
-
<line num="37" type="stmt" count="
|
55 |
-
<line num="38" type="stmt" count="
|
56 |
-
<line num="39" type="stmt" count="
|
57 |
-
<line num="41" type="stmt" count="
|
58 |
-
<line num="43" type="stmt" count="
|
59 |
-
<line num="44" type="stmt" count="
|
60 |
-
<line num="45" type="stmt" count="
|
61 |
-
<line num="46" type="stmt" count="
|
62 |
-
<line num="48" type="stmt" count="
|
63 |
-
<line num="49" type="stmt" count="
|
64 |
-
<metrics loc="50" ncloc="27" classes="1" methods="1" coveredmethods="
|
65 |
</file>
|
66 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-dream-objects.php">
|
67 |
<class name="Dream_Objects" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Dream">
|
68 |
-
<metrics complexity="1" methods="1" coveredmethods="
|
69 |
-
</class>
|
70 |
-
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="
|
71 |
-
<line num="31" type="stmt" count="
|
72 |
-
<line num="33" type="stmt" count="
|
73 |
-
<line num="35" type="stmt" count="
|
74 |
-
<line num="37" type="stmt" count="
|
75 |
-
<line num="38" type="stmt" count="
|
76 |
-
<line num="39" type="stmt" count="
|
77 |
-
<line num="40" type="stmt" count="
|
78 |
-
<line num="42" type="stmt" count="
|
79 |
-
<line num="44" type="stmt" count="
|
80 |
-
<line num="45" type="stmt" count="
|
81 |
-
<line num="46" type="stmt" count="
|
82 |
-
<line num="47" type="stmt" count="
|
83 |
-
<line num="49" type="stmt" count="
|
84 |
-
<line num="50" type="stmt" count="
|
85 |
-
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="
|
86 |
</file>
|
87 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-find-modified-files.php">
|
88 |
<class name="Find_Modified_Files" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Find.Modified">
|
89 |
-
<metrics complexity="1" methods="1" coveredmethods="
|
90 |
</class>
|
91 |
-
<line num="27" type="method" name="init" visibility="public" complexity="1" crap="
|
92 |
-
<line num="28" type="stmt" count="
|
93 |
-
<line num="30" type="stmt" count="
|
94 |
-
<line num="32" type="stmt" count="
|
95 |
-
<line num="34" type="stmt" count="
|
96 |
-
<line num="36" type="stmt" count="
|
97 |
-
<line num="37" type="stmt" count="
|
98 |
-
<line num="38" type="stmt" count="
|
99 |
-
<line num="39" type="stmt" count="
|
100 |
-
<line num="
|
101 |
-
<
|
102 |
-
<line num="44" type="stmt" count="0"/>
|
103 |
-
<line num="45" type="stmt" count="0"/>
|
104 |
-
<line num="46" type="stmt" count="0"/>
|
105 |
-
<line num="47" type="stmt" count="0"/>
|
106 |
-
<metrics loc="48" ncloc="27" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="0" elements="15" coveredelements="0"/>
|
107 |
</file>
|
108 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-google-drive.php">
|
109 |
<class name="Google_Drive" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Google">
|
110 |
-
<metrics complexity="1" methods="1" coveredmethods="
|
111 |
-
</class>
|
112 |
-
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="
|
113 |
-
<line num="31" type="stmt" count="
|
114 |
-
<line num="33" type="stmt" count="
|
115 |
-
<line num="35" type="stmt" count="
|
116 |
-
<line num="37" type="stmt" count="
|
117 |
-
<line num="39" type="stmt" count="
|
118 |
-
<line num="40" type="stmt" count="
|
119 |
-
<line num="41" type="stmt" count="
|
120 |
-
<line num="42" type="stmt" count="
|
121 |
-
<line num="44" type="stmt" count="
|
122 |
-
<line num="46" type="stmt" count="
|
123 |
-
<line num="47" type="stmt" count="
|
124 |
-
<line num="48" type="stmt" count="
|
125 |
-
<line num="49" type="stmt" count="
|
126 |
-
<line num="50" type="stmt" count="
|
127 |
-
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="
|
128 |
</file>
|
129 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-historical-versions.php">
|
130 |
<class name="Historical_Versions" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Historical">
|
131 |
-
<metrics complexity="1" methods="1" coveredmethods="
|
132 |
-
</class>
|
133 |
-
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="
|
134 |
-
<line num="31" type="stmt" count="
|
135 |
-
<line num="33" type="stmt" count="
|
136 |
-
<line num="35" type="stmt" count="
|
137 |
-
<line num="37" type="stmt" count="
|
138 |
-
<line num="39" type="stmt" count="
|
139 |
-
<line num="40" type="stmt" count="
|
140 |
-
<line num="41" type="stmt" count="
|
141 |
-
<line num="42" type="stmt" count="
|
142 |
-
<line num="44" type="stmt" count="
|
143 |
-
<line num="46" type="stmt" count="
|
144 |
-
<line num="47" type="stmt" count="
|
145 |
-
<line num="48" type="stmt" count="
|
146 |
-
<line num="49" type="stmt" count="
|
147 |
-
<line num="50" type="stmt" count="
|
148 |
-
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="
|
149 |
</file>
|
150 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-history.php">
|
151 |
<class name="History" namespace="Boldgrid\Backup\Admin\Card">
|
152 |
-
<metrics complexity="1" methods="1" coveredmethods="
|
153 |
-
</class>
|
154 |
-
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="
|
155 |
-
<line num="31" type="stmt" count="
|
156 |
-
<line num="33" type="stmt" count="
|
157 |
-
<line num="35" type="stmt" count="
|
158 |
-
<line num="37" type="stmt" count="
|
159 |
-
<line num="39" type="stmt" count="
|
160 |
-
<line num="40" type="stmt" count="
|
161 |
-
<line num="41" type="stmt" count="
|
162 |
-
<line num="42" type="stmt" count="
|
163 |
-
<line num="44" type="stmt" count="
|
164 |
-
<line num="46" type="stmt" count="
|
165 |
-
<line num="47" type="stmt" count="
|
166 |
-
<line num="48" type="stmt" count="
|
167 |
-
<line num="49" type="stmt" count="
|
168 |
-
<line num="50" type="stmt" count="
|
169 |
-
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="
|
170 |
</file>
|
171 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-one-click-restoration.php">
|
172 |
<class name="One_Click_Restoration" namespace="Boldgrid\Backup\Admin\Card" fullPackage="One.Click">
|
173 |
-
<metrics complexity="1" methods="1" coveredmethods="
|
174 |
-
</class>
|
175 |
-
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="
|
176 |
-
<line num="31" type="stmt" count="
|
177 |
-
<line num="33" type="stmt" count="
|
178 |
-
<line num="35" type="stmt" count="
|
179 |
-
<line num="37" type="stmt" count="
|
180 |
-
<line num="39" type="stmt" count="
|
181 |
-
<line num="40" type="stmt" count="
|
182 |
-
<line num="41" type="stmt" count="
|
183 |
-
<line num="42" type="stmt" count="
|
184 |
-
<line num="44" type="stmt" count="
|
185 |
-
<line num="46" type="stmt" count="
|
186 |
-
<line num="47" type="stmt" count="
|
187 |
-
<line num="48" type="stmt" count="
|
188 |
-
<line num="49" type="stmt" count="
|
189 |
-
<line num="50" type="stmt" count="
|
190 |
-
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="
|
191 |
</file>
|
192 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-plugin-editor-tools.php">
|
193 |
<class name="Plugin_Editor_Tools" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Plugin.Editor">
|
194 |
-
<metrics complexity="1" methods="1" coveredmethods="
|
195 |
-
</class>
|
196 |
-
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="
|
197 |
-
<line num="31" type="stmt" count="
|
198 |
-
<line num="33" type="stmt" count="
|
199 |
-
<line num="35" type="stmt" count="
|
200 |
-
<line num="37" type="stmt" count="
|
201 |
-
<line num="39" type="stmt" count="
|
202 |
-
<line num="40" type="stmt" count="
|
203 |
-
<line num="41" type="stmt" count="
|
204 |
-
<line num="42" type="stmt" count="
|
205 |
-
<line num="44" type="stmt" count="
|
206 |
-
<line num="46" type="stmt" count="
|
207 |
-
<line num="47" type="stmt" count="
|
208 |
-
<line num="48" type="stmt" count="
|
209 |
-
<line num="49" type="stmt" count="
|
210 |
-
<line num="50" type="stmt" count="
|
211 |
-
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="
|
212 |
</file>
|
213 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-premium.php">
|
214 |
<class name="Premium" namespace="Boldgrid\Backup\Admin\Card">
|
@@ -246,47 +241,22 @@
|
|
246 |
<line num="69" type="stmt" count="0"/>
|
247 |
<metrics loc="70" ncloc="39" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="29" coveredstatements="0" elements="30" coveredelements="0"/>
|
248 |
</file>
|
249 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-
|
250 |
-
<class name="
|
251 |
-
<metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="
|
252 |
</class>
|
253 |
<line num="29" type="method" name="init" visibility="public" complexity="1" crap="2" count="0"/>
|
254 |
<line num="30" type="stmt" count="0"/>
|
255 |
<line num="32" type="stmt" count="0"/>
|
256 |
<line num="34" type="stmt" count="0"/>
|
257 |
<line num="36" type="stmt" count="0"/>
|
258 |
-
<line num="37" type="stmt" count="0"/>
|
259 |
<line num="38" type="stmt" count="0"/>
|
260 |
<line num="39" type="stmt" count="0"/>
|
261 |
-
<line num="
|
262 |
-
<line num="43" type="stmt" count="0"/>
|
263 |
-
<line num="44" type="stmt" count="0"/>
|
264 |
-
<line num="45" type="stmt" count="0"/>
|
265 |
-
<line num="46" type="stmt" count="0"/>
|
266 |
-
<line num="48" type="stmt" count="0"/>
|
267 |
-
<line num="49" type="stmt" count="0"/>
|
268 |
-
<metrics loc="50" ncloc="27" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="0" elements="15" coveredelements="0"/>
|
269 |
-
</file>
|
270 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-updates.php">
|
271 |
-
<class name="Updates" namespace="Boldgrid\Backup\Admin\Card">
|
272 |
-
<metrics complexity="2" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="0" elements="15" coveredelements="0"/>
|
273 |
-
</class>
|
274 |
-
<line num="29" type="method" name="init" visibility="public" complexity="2" crap="6" count="0"/>
|
275 |
-
<line num="31" type="stmt" count="0"/>
|
276 |
-
<line num="33" type="stmt" count="0"/>
|
277 |
-
<line num="35" type="stmt" count="0"/>
|
278 |
-
<line num="37" type="stmt" count="0"/>
|
279 |
-
<line num="39" type="stmt" count="0"/>
|
280 |
<line num="41" type="stmt" count="0"/>
|
281 |
<line num="42" type="stmt" count="0"/>
|
282 |
<line num="43" type="stmt" count="0"/>
|
283 |
-
<
|
284 |
-
<line num="45" type="stmt" count="0"/>
|
285 |
-
<line num="46" type="stmt" count="0"/>
|
286 |
-
<line num="47" type="stmt" count="0"/>
|
287 |
-
<line num="48" type="stmt" count="0"/>
|
288 |
-
<line num="49" type="stmt" count="0"/>
|
289 |
-
<metrics loc="50" ncloc="25" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="0" elements="15" coveredelements="0"/>
|
290 |
</file>
|
291 |
</package>
|
292 |
<package name="Boldgrid\Backup\Admin\Card\Feature">
|
@@ -543,32 +513,6 @@
|
|
543 |
<line num="33" type="stmt" count="0"/>
|
544 |
<metrics loc="34" ncloc="13" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="0" elements="5" coveredelements="0"/>
|
545 |
</file>
|
546 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/feature/class-timely-auto-updates.php">
|
547 |
-
<class name="Timely_Auto_Updates" namespace="Boldgrid\Backup\Admin\Card\Feature" fullPackage="Timely.Auto">
|
548 |
-
<metrics complexity="2" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="19" coveredstatements="0" elements="20" coveredelements="0"/>
|
549 |
-
</class>
|
550 |
-
<line num="30" type="method" name="init" visibility="public" complexity="2" crap="6" count="0"/>
|
551 |
-
<line num="31" type="stmt" count="0"/>
|
552 |
-
<line num="33" type="stmt" count="0"/>
|
553 |
-
<line num="35" type="stmt" count="0"/>
|
554 |
-
<line num="38" type="stmt" count="0"/>
|
555 |
-
<line num="40" type="stmt" count="0"/>
|
556 |
-
<line num="42" type="stmt" count="0"/>
|
557 |
-
<line num="43" type="stmt" count="0"/>
|
558 |
-
<line num="44" type="stmt" count="0"/>
|
559 |
-
<line num="45" type="stmt" count="0"/>
|
560 |
-
<line num="46" type="stmt" count="0"/>
|
561 |
-
<line num="47" type="stmt" count="0"/>
|
562 |
-
<line num="49" type="stmt" count="0"/>
|
563 |
-
<line num="50" type="stmt" count="0"/>
|
564 |
-
<line num="51" type="stmt" count="0"/>
|
565 |
-
<line num="52" type="stmt" count="0"/>
|
566 |
-
<line num="53" type="stmt" count="0"/>
|
567 |
-
<line num="54" type="stmt" count="0"/>
|
568 |
-
<line num="55" type="stmt" count="0"/>
|
569 |
-
<line num="56" type="stmt" count="0"/>
|
570 |
-
<metrics loc="57" ncloc="29" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="19" coveredstatements="0" elements="20" coveredelements="0"/>
|
571 |
-
</file>
|
572 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/feature/class-versions.php">
|
573 |
<class name="Versions" namespace="Boldgrid\Backup\Admin\Card\Feature">
|
574 |
<metrics complexity="4" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="0" elements="31" coveredelements="0"/>
|
@@ -611,9 +555,9 @@
|
|
611 |
<class name="Boldgrid_Backup_Admin_Archive_Actions" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
612 |
<metrics complexity="15" methods="7" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="107" coveredstatements="2" elements="114" coveredelements="3"/>
|
613 |
</class>
|
614 |
-
<line num="38" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
615 |
-
<line num="39" type="stmt" count="
|
616 |
-
<line num="40" type="stmt" count="
|
617 |
<line num="47" type="method" name="enqueue_scripts" visibility="public" complexity="1" crap="2" count="0"/>
|
618 |
<line num="48" type="stmt" count="0"/>
|
619 |
<line num="49" type="stmt" count="0"/>
|
@@ -729,180 +673,177 @@
|
|
729 |
</file>
|
730 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-browser.php">
|
731 |
<class name="Boldgrid_Backup_Admin_Archive_Browser" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
732 |
-
<metrics complexity="
|
733 |
</class>
|
734 |
-
<line num="43" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
735 |
-
<line num="44" type="stmt" count="
|
736 |
-
<line num="45" type="stmt" count="
|
737 |
-
<line num="55" type="method" name="authorize" visibility="public" complexity="
|
738 |
<line num="56" type="stmt" count="0"/>
|
739 |
<line num="57" type="stmt" count="0"/>
|
740 |
<line num="58" type="stmt" count="0"/>
|
|
|
741 |
<line num="61" type="stmt" count="0"/>
|
742 |
<line num="62" type="stmt" count="0"/>
|
743 |
<line num="63" type="stmt" count="0"/>
|
744 |
-
<line num="
|
745 |
-
<line num="
|
746 |
-
<line num="81" type="
|
747 |
<line num="82" type="stmt" count="0"/>
|
748 |
<line num="83" type="stmt" count="0"/>
|
749 |
<line num="84" type="stmt" count="0"/>
|
750 |
-
<line num="
|
751 |
-
<line num="
|
752 |
-
<line num="99" type="stmt" count="0"/>
|
753 |
<line num="100" type="stmt" count="0"/>
|
754 |
-
<line num="
|
|
|
755 |
<line num="105" type="stmt" count="0"/>
|
756 |
-
<line num="106" type="stmt" count="0"/>
|
757 |
<line num="107" type="stmt" count="0"/>
|
758 |
-
<line num="
|
759 |
<line num="112" type="stmt" count="0"/>
|
|
|
760 |
<line num="114" type="stmt" count="0"/>
|
761 |
-
<line num="115" type="stmt" count="0"/>
|
762 |
<line num="116" type="stmt" count="0"/>
|
763 |
<line num="118" type="stmt" count="0"/>
|
764 |
<line num="120" type="stmt" count="0"/>
|
765 |
<line num="122" type="stmt" count="0"/>
|
|
|
766 |
<line num="124" type="stmt" count="0"/>
|
767 |
<line num="125" type="stmt" count="0"/>
|
768 |
<line num="126" type="stmt" count="0"/>
|
769 |
<line num="127" type="stmt" count="0"/>
|
770 |
<line num="128" type="stmt" count="0"/>
|
771 |
-
<line num="129" type="stmt" count="0"/>
|
772 |
<line num="130" type="stmt" count="0"/>
|
773 |
<line num="132" type="stmt" count="0"/>
|
774 |
<line num="134" type="stmt" count="0"/>
|
775 |
<line num="136" type="stmt" count="0"/>
|
|
|
776 |
<line num="138" type="stmt" count="0"/>
|
777 |
<line num="139" type="stmt" count="0"/>
|
778 |
<line num="140" type="stmt" count="0"/>
|
779 |
<line num="141" type="stmt" count="0"/>
|
780 |
<line num="142" type="stmt" count="0"/>
|
781 |
-
<line num="143" type="stmt" count="0"/>
|
782 |
<line num="144" type="stmt" count="0"/>
|
783 |
-
<line num="
|
784 |
-
<line num="
|
785 |
<line num="150" type="stmt" count="0"/>
|
786 |
<line num="152" type="stmt" count="0"/>
|
787 |
-
<line num="
|
788 |
<line num="155" type="stmt" count="0"/>
|
|
|
789 |
<line num="157" type="stmt" count="0"/>
|
790 |
-
<line num="158" type="stmt" count="0"/>
|
791 |
<line num="159" type="stmt" count="0"/>
|
792 |
<line num="161" type="stmt" count="0"/>
|
793 |
-
<line num="
|
794 |
-
<line num="
|
|
|
795 |
<line num="169" type="stmt" count="0"/>
|
796 |
<line num="170" type="stmt" count="0"/>
|
797 |
<line num="171" type="stmt" count="0"/>
|
798 |
<line num="172" type="stmt" count="0"/>
|
799 |
-
<line num="
|
800 |
-
<line num="174" type="stmt" count="0"/>
|
801 |
<line num="177" type="stmt" count="0"/>
|
802 |
-
<line num="
|
803 |
<line num="180" type="stmt" count="0"/>
|
804 |
-
<line num="
|
805 |
<line num="183" type="stmt" count="0"/>
|
|
|
806 |
<line num="185" type="stmt" count="0"/>
|
807 |
<line num="186" type="stmt" count="0"/>
|
808 |
-
<line num="187" type="stmt" count="0"/>
|
809 |
<line num="188" type="stmt" count="0"/>
|
810 |
-
<line num="
|
811 |
-
<line num="
|
812 |
<line num="201" type="stmt" count="0"/>
|
813 |
<line num="203" type="stmt" count="0"/>
|
|
|
814 |
<line num="205" type="stmt" count="0"/>
|
815 |
<line num="206" type="stmt" count="0"/>
|
816 |
<line num="207" type="stmt" count="0"/>
|
817 |
-
<line num="208" type="stmt" count="0"/>
|
818 |
<line num="209" type="stmt" count="0"/>
|
819 |
<line num="211" type="stmt" count="0"/>
|
820 |
-
<line num="
|
|
|
821 |
<line num="221" type="stmt" count="0"/>
|
822 |
-
<line num="222" type="stmt" count="0"/>
|
823 |
<line num="223" type="stmt" count="0"/>
|
824 |
<line num="225" type="stmt" count="0"/>
|
825 |
<line num="227" type="stmt" count="0"/>
|
826 |
<line num="229" type="stmt" count="0"/>
|
827 |
-
<line num="
|
828 |
<line num="232" type="stmt" count="0"/>
|
829 |
-
<line num="
|
|
|
830 |
<line num="247" type="stmt" count="0"/>
|
831 |
<line num="248" type="stmt" count="0"/>
|
832 |
<line num="249" type="stmt" count="0"/>
|
833 |
-
<line num="250" type="stmt" count="0"/>
|
834 |
<line num="251" type="stmt" count="0"/>
|
|
|
835 |
<line num="253" type="stmt" count="0"/>
|
836 |
-
<line num="
|
837 |
-
<line num="
|
838 |
-
<line num="258" type="stmt" count="0"/>
|
839 |
<line num="259" type="stmt" count="0"/>
|
840 |
<line num="261" type="stmt" count="0"/>
|
841 |
<line num="263" type="stmt" count="0"/>
|
842 |
-
<line num="
|
843 |
-
<line num="
|
844 |
-
<line num="
|
845 |
<line num="277" type="stmt" count="0"/>
|
|
|
846 |
<line num="279" type="stmt" count="0"/>
|
847 |
<line num="280" type="stmt" count="0"/>
|
848 |
<line num="281" type="stmt" count="0"/>
|
849 |
<line num="282" type="stmt" count="0"/>
|
850 |
-
<line num="
|
851 |
-
<line num="284" type="stmt" count="0"/>
|
852 |
<line num="287" type="stmt" count="0"/>
|
|
|
853 |
<line num="289" type="stmt" count="0"/>
|
854 |
-
<line num="
|
855 |
-
<line num="291" type="stmt" count="0"/>
|
856 |
<line num="301" type="stmt" count="0"/>
|
857 |
-
<line num="
|
858 |
-
<line num="
|
859 |
-
<line num="
|
860 |
<line num="315" type="stmt" count="0"/>
|
|
|
861 |
<line num="317" type="stmt" count="0"/>
|
862 |
<line num="318" type="stmt" count="0"/>
|
863 |
<line num="319" type="stmt" count="0"/>
|
864 |
<line num="320" type="stmt" count="0"/>
|
865 |
-
<line num="321" type="stmt" count="0"/>
|
866 |
<line num="322" type="stmt" count="0"/>
|
867 |
-
<line num="
|
868 |
<line num="325" type="stmt" count="0"/>
|
869 |
-
<line num="
|
870 |
<line num="328" type="stmt" count="0"/>
|
|
|
871 |
<line num="330" type="stmt" count="0"/>
|
872 |
<line num="331" type="stmt" count="0"/>
|
873 |
<line num="332" type="stmt" count="0"/>
|
874 |
-
<line num="333" type="stmt" count="0"/>
|
875 |
<line num="334" type="stmt" count="0"/>
|
876 |
<line num="335" type="stmt" count="0"/>
|
877 |
<line num="336" type="stmt" count="0"/>
|
878 |
<line num="338" type="stmt" count="0"/>
|
879 |
-
<line num="
|
880 |
-
<line num="
|
881 |
-
<line num="
|
882 |
-
<line num="352" type="
|
883 |
<line num="353" type="stmt" count="0"/>
|
|
|
884 |
<line num="355" type="stmt" count="0"/>
|
885 |
<line num="356" type="stmt" count="0"/>
|
886 |
-
<line num="357" type="stmt" count="0"/>
|
887 |
<line num="358" type="stmt" count="0"/>
|
888 |
-
<line num="359" type="stmt" count="0"/>
|
889 |
<line num="360" type="stmt" count="0"/>
|
|
|
890 |
<line num="362" type="stmt" count="0"/>
|
|
|
891 |
<line num="364" type="stmt" count="0"/>
|
892 |
-
<line num="365" type="stmt" count="0"/>
|
893 |
<line num="366" type="stmt" count="0"/>
|
894 |
-
<
|
895 |
-
<line num="368" type="stmt" count="0"/>
|
896 |
-
<line num="370" type="stmt" count="0"/>
|
897 |
-
<metrics loc="371" ncloc="241" classes="1" methods="7" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="156" coveredstatements="2" elements="163" coveredelements="3"/>
|
898 |
</file>
|
899 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-details.php">
|
900 |
<class name="Boldgrid_Backup_Admin_Archive_Details" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
901 |
-
<metrics complexity="20" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="
|
902 |
</class>
|
903 |
-
<line num="48" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
904 |
-
<line num="49" type="stmt" count="
|
905 |
-
<line num="50" type="stmt" count="
|
906 |
<line num="60" type="method" name="get_url" visibility="public" complexity="1" crap="2" count="0"/>
|
907 |
<line num="61" type="stmt" count="0"/>
|
908 |
<line num="69" type="method" name="enqueue_scripts" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -950,72 +891,58 @@
|
|
950 |
<line num="132" type="stmt" count="0"/>
|
951 |
<line num="134" type="stmt" count="0"/>
|
952 |
<line num="135" type="stmt" count="0"/>
|
953 |
-
<line num="
|
954 |
-
<line num="
|
955 |
<line num="140" type="stmt" count="0"/>
|
956 |
<line num="141" type="stmt" count="0"/>
|
957 |
<line num="142" type="stmt" count="0"/>
|
958 |
-
<line num="
|
959 |
<line num="147" type="stmt" count="0"/>
|
960 |
<line num="148" type="stmt" count="0"/>
|
961 |
<line num="149" type="stmt" count="0"/>
|
962 |
<line num="150" type="stmt" count="0"/>
|
963 |
<line num="151" type="stmt" count="0"/>
|
964 |
<line num="152" type="stmt" count="0"/>
|
965 |
-
<line num="
|
966 |
<line num="155" type="stmt" count="0"/>
|
967 |
<line num="156" type="stmt" count="0"/>
|
968 |
-
<line num="
|
969 |
<line num="161" type="stmt" count="0"/>
|
970 |
<line num="162" type="stmt" count="0"/>
|
971 |
-
<line num="
|
972 |
<line num="165" type="stmt" count="0"/>
|
973 |
-
<line num="
|
974 |
-
<line num="167" type="stmt" count="0"/>
|
975 |
-
<line num="169" type="stmt" count="0"/>
|
976 |
-
<line num="170" type="stmt" count="0"/>
|
977 |
-
<line num="171" type="stmt" count="0"/>
|
978 |
-
<line num="178" type="stmt" count="0"/>
|
979 |
<line num="180" type="stmt" count="0"/>
|
980 |
-
<line num="
|
981 |
-
<line num="183" type="stmt" count="0"/>
|
982 |
-
<line num="188" type="stmt" count="0"/>
|
983 |
<line num="189" type="stmt" count="0"/>
|
984 |
<line num="190" type="stmt" count="0"/>
|
|
|
|
|
985 |
<line num="194" type="stmt" count="0"/>
|
986 |
<line num="195" type="stmt" count="0"/>
|
987 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
988 |
<line num="210" type="stmt" count="0"/>
|
989 |
-
<line num="
|
990 |
-
<line num="
|
991 |
-
<line num="
|
992 |
-
<line num="
|
993 |
-
<
|
994 |
-
<line num="224" type="stmt" count="0"/>
|
995 |
-
<line num="225" type="stmt" count="0"/>
|
996 |
-
<line num="227" type="stmt" count="0"/>
|
997 |
-
<line num="228" type="stmt" count="0"/>
|
998 |
-
<line num="229" type="stmt" count="0"/>
|
999 |
-
<line num="231" type="stmt" count="0"/>
|
1000 |
-
<line num="233" type="stmt" count="0"/>
|
1001 |
-
<line num="234" type="stmt" count="0"/>
|
1002 |
-
<line num="235" type="stmt" count="0"/>
|
1003 |
-
<line num="238" type="stmt" count="0"/>
|
1004 |
-
<line num="240" type="stmt" count="0"/>
|
1005 |
-
<line num="241" type="stmt" count="0"/>
|
1006 |
-
<line num="242" type="stmt" count="0"/>
|
1007 |
-
<line num="244" type="stmt" count="0"/>
|
1008 |
-
<line num="245" type="stmt" count="0"/>
|
1009 |
-
<metrics loc="246" ncloc="150" classes="1" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="100" coveredstatements="2" elements="106" coveredelements="3"/>
|
1010 |
</file>
|
1011 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-fail.php">
|
1012 |
<class name="Boldgrid_Backup_Admin_Archive_Fail" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
1013 |
<metrics complexity="9" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="42" coveredstatements="3" elements="47" coveredelements="4"/>
|
1014 |
</class>
|
1015 |
-
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
1016 |
-
<line num="57" type="stmt" count="
|
1017 |
-
<line num="59" type="stmt" count="
|
1018 |
-
<line num="60" type="stmt" count="
|
1019 |
<line num="70" type="method" name="archive_files_init" visibility="public" complexity="1" crap="2" count="0"/>
|
1020 |
<line num="71" type="stmt" count="0"/>
|
1021 |
<line num="88" type="stmt" count="0"/>
|
@@ -1063,11 +990,11 @@
|
|
1063 |
</file>
|
1064 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-log.php">
|
1065 |
<class name="Boldgrid_Backup_Admin_Archive_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
1066 |
-
<metrics complexity="20" methods="7" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="56" coveredstatements="
|
1067 |
</class>
|
1068 |
-
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
1069 |
-
<line num="38" type="stmt" count="
|
1070 |
-
<line num="39" type="stmt" count="
|
1071 |
<line num="49" type="method" name="delete_by_zip" visibility="public" complexity="2" crap="2.03" count="1"/>
|
1072 |
<line num="50" type="stmt" count="1"/>
|
1073 |
<line num="52" type="stmt" count="1"/>
|
@@ -1083,8 +1010,8 @@
|
|
1083 |
<line num="77" type="stmt" count="4"/>
|
1084 |
<line num="78" type="stmt" count="0"/>
|
1085 |
<line num="81" type="stmt" count="4"/>
|
1086 |
-
<line num="94" type="method" name="path_from_zip" visibility="public" complexity="1" crap="1" count="
|
1087 |
-
<line num="95" type="stmt" count="
|
1088 |
<line num="107" type="method" name="post_restore" visibility="public" complexity="2" crap="6" count="0"/>
|
1089 |
<line num="108" type="stmt" count="0"/>
|
1090 |
<line num="109" type="stmt" count="0"/>
|
@@ -1093,16 +1020,16 @@
|
|
1093 |
<line num="117" type="stmt" count="0"/>
|
1094 |
<line num="120" type="stmt" count="0"/>
|
1095 |
<line num="121" type="stmt" count="0"/>
|
1096 |
-
<line num="135" type="method" name="restore_by_zip" visibility="public" complexity="4" crap="
|
1097 |
-
<line num="136" type="stmt" count="
|
1098 |
-
<line num="138" type="stmt" count="
|
1099 |
<line num="139" type="stmt" count="0"/>
|
1100 |
-
<line num="142" type="stmt" count="
|
1101 |
-
<line num="143" type="stmt" count="
|
1102 |
-
<line num="146" type="stmt" count="
|
1103 |
-
<line num="147" type="stmt" count="
|
1104 |
-
<line num="148" type="stmt" count="
|
1105 |
-
<line num="149" type="stmt" count="
|
1106 |
<line num="153" type="stmt" count="0"/>
|
1107 |
<line num="154" type="stmt" count="0"/>
|
1108 |
<line num="156" type="stmt" count="0"/>
|
@@ -1128,15 +1055,15 @@
|
|
1128 |
<line num="208" type="stmt" count="0"/>
|
1129 |
<line num="212" type="stmt" count="4"/>
|
1130 |
<line num="214" type="stmt" count="4"/>
|
1131 |
-
<metrics loc="216" ncloc="104" classes="1" methods="7" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="56" coveredstatements="
|
1132 |
</file>
|
1133 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive.php">
|
1134 |
<class name="Boldgrid_Backup_Admin_Archive" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
1135 |
-
<metrics complexity="71" methods="22" coveredmethods="
|
1136 |
</class>
|
1137 |
-
<line num="116" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
1138 |
-
<line num="117" type="stmt" count="
|
1139 |
-
<line num="118" type="stmt" count="
|
1140 |
<line num="128" type="method" name="delete" visibility="public" complexity="1" crap="1" count="1"/>
|
1141 |
<line num="129" type="stmt" count="1"/>
|
1142 |
<line num="131" type="stmt" count="1"/>
|
@@ -1153,39 +1080,39 @@
|
|
1153 |
<line num="176" type="stmt" count="0"/>
|
1154 |
<line num="178" type="stmt" count="0"/>
|
1155 |
<line num="180" type="stmt" count="0"/>
|
1156 |
-
<line num="192" type="method" name="get_file" visibility="public" complexity="5" crap="
|
1157 |
-
<line num="193" type="stmt" count="
|
1158 |
-
<line num="194" type="stmt" count="
|
1159 |
<line num="197" type="stmt" count="0"/>
|
1160 |
<line num="199" type="stmt" count="0"/>
|
1161 |
<line num="202" type="stmt" count="0"/>
|
1162 |
<line num="203" type="stmt" count="0"/>
|
1163 |
<line num="204" type="stmt" count="0"/>
|
1164 |
<line num="206" type="stmt" count="0"/>
|
1165 |
-
<line num="217" type="method" name="get_dump_file" visibility="public" complexity="1" crap="
|
1166 |
-
<line num="223" type="stmt" count="
|
1167 |
<line num="233" type="method" name="get_filesize" visibility="public" complexity="1" crap="2" count="0"/>
|
1168 |
<line num="234" type="stmt" count="0"/>
|
1169 |
-
<line num="244" type="method" name="init" visibility="public" complexity="7" crap="7" count="
|
1170 |
-
<line num="245" type="stmt" count="
|
1171 |
-
<line num="247" type="stmt" count="
|
1172 |
<line num="248" type="stmt" count="2"/>
|
1173 |
-
<line num="251" type="stmt" count="
|
1174 |
-
<line num="253" type="stmt" count="
|
1175 |
-
<line num="254" type="stmt" count="
|
1176 |
-
<line num="256" type="stmt" count="
|
1177 |
-
<line num="257" type="stmt" count="
|
1178 |
-
<line num="260" type="stmt" count="
|
1179 |
-
<line num="261" type="stmt" count="
|
1180 |
-
<line num="262" type="stmt" count="
|
1181 |
-
<line num="263" type="stmt" count="
|
1182 |
-
<line num="265" type="stmt" count="
|
1183 |
<line num="266" type="stmt" count="4"/>
|
1184 |
<line num="268" type="stmt" count="4"/>
|
1185 |
<line num="269" type="stmt" count="4"/>
|
1186 |
-
<line num="277" type="stmt" count="
|
1187 |
-
<line num="279" type="stmt" count="
|
1188 |
-
<line num="280" type="stmt" count="
|
1189 |
<line num="292" type="method" name="init_by_filename" visibility="public" complexity="1" crap="1" count="1"/>
|
1190 |
<line num="293" type="stmt" count="1"/>
|
1191 |
<line num="295" type="stmt" count="1"/>
|
@@ -1206,25 +1133,25 @@
|
|
1206 |
<line num="338" type="stmt" count="0"/>
|
1207 |
<line num="339" type="stmt" count="0"/>
|
1208 |
<line num="340" type="stmt" count="0"/>
|
1209 |
-
<line num="350" type="method" name="is_archive" visibility="public" complexity="4" crap="
|
1210 |
-
<line num="351" type="stmt" count="
|
1211 |
-
<line num="353" type="stmt" count="
|
1212 |
<line num="354" type="stmt" count="0"/>
|
1213 |
-
<line num="357" type="stmt" count="
|
1214 |
-
<line num="358" type="stmt" count="
|
1215 |
<line num="359" type="stmt" count="0"/>
|
1216 |
-
<line num="361" type="stmt" count="
|
1217 |
-
<line num="363" type="stmt" count="
|
1218 |
-
<line num="377" type="method" name="is_site_archive" visibility="public" complexity="4" crap="4.18" count="
|
1219 |
-
<line num="378" type="stmt" count="
|
1220 |
-
<line num="381" type="stmt" count="
|
1221 |
-
<line num="382" type="stmt" count="
|
1222 |
-
<line num="383" type="stmt" count="
|
1223 |
-
<line num="387" type="stmt" count="
|
1224 |
<line num="388" type="stmt" count="0"/>
|
1225 |
-
<line num="392" type="stmt" count="
|
1226 |
<line num="393" type="stmt" count="0"/>
|
1227 |
-
<line num="396" type="stmt" count="
|
1228 |
<line num="410" type="method" name="is_stored_locally" visibility="public" complexity="2" crap="6" count="0"/>
|
1229 |
<line num="411" type="stmt" count="0"/>
|
1230 |
<line num="413" type="stmt" count="0"/>
|
@@ -1233,14 +1160,14 @@
|
|
1233 |
<line num="428" type="stmt" count="0"/>
|
1234 |
<line num="430" type="stmt" count="0"/>
|
1235 |
<line num="431" type="stmt" count="0"/>
|
1236 |
-
<line num="439" type="method" name="reset" visibility="public" complexity="1" crap="1" count="
|
1237 |
-
<line num="440" type="stmt" count="
|
1238 |
-
<line num="441" type="stmt" count="
|
1239 |
-
<line num="442" type="stmt" count="
|
1240 |
-
<line num="443" type="stmt" count="
|
1241 |
-
<line num="444" type="stmt" count="
|
1242 |
-
<line num="445" type="stmt" count="
|
1243 |
-
<line num="446" type="stmt" count="
|
1244 |
<line num="457" type="method" name="set_attribute" visibility="public" complexity="3" crap="12" count="0"/>
|
1245 |
<line num="458" type="stmt" count="0"/>
|
1246 |
<line num="461" type="stmt" count="0"/>
|
@@ -1351,15 +1278,15 @@
|
|
1351 |
<line num="701" type="stmt" count="4"/>
|
1352 |
<line num="702" type="stmt" count="4"/>
|
1353 |
<line num="703" type="stmt" count="4"/>
|
1354 |
-
<metrics loc="704" ncloc="341" classes="1" methods="22" coveredmethods="
|
1355 |
</file>
|
1356 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archiver-utility.php">
|
1357 |
<class name="Boldgrid_Backup_Admin_Archiver_Utility" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archiver">
|
1358 |
<metrics complexity="8" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="7" elements="13" coveredelements="8"/>
|
1359 |
</class>
|
1360 |
-
<line num="38" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
1361 |
-
<line num="39" type="stmt" count="
|
1362 |
-
<line num="40" type="stmt" count="
|
1363 |
<line num="51" type="method" name="is_full_backup" visibility="public" complexity="7" crap="11.30" count="4"/>
|
1364 |
<line num="52" type="stmt" count="4"/>
|
1365 |
<line num="53" type="stmt" count="0"/>
|
@@ -1376,10 +1303,10 @@
|
|
1376 |
<class name="Boldgrid_Backup_Admin_Archives_All" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archives">
|
1377 |
<metrics complexity="20" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="55" coveredstatements="3" elements="60" coveredelements="4"/>
|
1378 |
</class>
|
1379 |
-
<line num="97" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
1380 |
-
<line num="98" type="stmt" count="
|
1381 |
-
<line num="100" type="stmt" count="
|
1382 |
-
<line num="101" type="stmt" count="
|
1383 |
<line num="110" type="method" name="add" visibility="public" complexity="6" crap="42" count="0"/>
|
1384 |
<line num="111" type="stmt" count="0"/>
|
1385 |
<line num="113" type="stmt" count="0"/>
|
@@ -1442,9 +1369,9 @@
|
|
1442 |
<class name="Boldgrid_Backup_Admin_Archives" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
1443 |
<metrics complexity="28" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="123" coveredstatements="2" elements="129" coveredelements="3"/>
|
1444 |
</class>
|
1445 |
-
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
1446 |
-
<line num="38" type="stmt" count="
|
1447 |
-
<line num="39" type="stmt" count="
|
1448 |
<line num="54" type="method" name="get_location_type" visibility="public" complexity="4" crap="20" count="0"/>
|
1449 |
<line num="55" type="stmt" count="0"/>
|
1450 |
<line num="56" type="stmt" count="0"/>
|
@@ -1575,14 +1502,14 @@
|
|
1575 |
</file>
|
1576 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-auto-rollback.php">
|
1577 |
<class name="Boldgrid_Backup_Admin_Auto_Rollback" namespace="global" fullPackage="Boldgrid.Backup.Admin.Auto">
|
1578 |
-
<metrics complexity="
|
1579 |
</class>
|
1580 |
-
<line num="139" type="method" name="__construct" visibility="public" complexity="3" crap="3" count="
|
1581 |
-
<line num="140" type="stmt" count="
|
1582 |
-
<line num="142" type="stmt" count="
|
1583 |
-
<line num="143" type="stmt" count="
|
1584 |
-
<line num="145" type="stmt" count="
|
1585 |
-
<line num="146" type="stmt" count="
|
1586 |
<line num="159" type="method" name="add_cron" visibility="public" complexity="6" crap="42" count="0"/>
|
1587 |
<line num="160" type="stmt" count="0"/>
|
1588 |
<line num="163" type="stmt" count="0"/>
|
@@ -1678,139 +1605,139 @@
|
|
1678 |
<line num="340" type="stmt" count="0"/>
|
1679 |
<line num="346" type="stmt" count="0"/>
|
1680 |
<line num="347" type="stmt" count="0"/>
|
1681 |
-
<line num="360" type="method" name="enqueue_update_selectors" visibility="public" complexity="
|
1682 |
<line num="361" type="stmt" count="0"/>
|
1683 |
-
<line num="
|
1684 |
<line num="364" type="stmt" count="0"/>
|
1685 |
<line num="365" type="stmt" count="0"/>
|
1686 |
<line num="366" type="stmt" count="0"/>
|
1687 |
<line num="367" type="stmt" count="0"/>
|
1688 |
-
<line num="
|
1689 |
-
<line num="
|
1690 |
<line num="374" type="stmt" count="0"/>
|
1691 |
<line num="375" type="stmt" count="0"/>
|
1692 |
-
<line num="
|
1693 |
-
<line num="
|
1694 |
<line num="380" type="stmt" count="0"/>
|
1695 |
-
<line num="
|
1696 |
-
<line num="
|
1697 |
-
<line num="
|
|
|
1698 |
<line num="398" type="stmt" count="0"/>
|
1699 |
-
<line num="399" type="stmt" count="0"/>
|
1700 |
<line num="400" type="stmt" count="0"/>
|
|
|
1701 |
<line num="402" type="stmt" count="0"/>
|
1702 |
-
<line num="403" type="stmt" count="0"/>
|
1703 |
<line num="404" type="stmt" count="0"/>
|
1704 |
-
<line num="
|
1705 |
-
<line num="
|
1706 |
-
<line num="
|
1707 |
-
<line num="
|
1708 |
-
<line num="
|
1709 |
-
<line num="
|
1710 |
-
<line num="
|
1711 |
-
<line num="
|
1712 |
-
<line num="
|
1713 |
<line num="451" type="stmt" count="0"/>
|
1714 |
-
<line num="
|
1715 |
-
<line num="
|
1716 |
-
<line num="
|
1717 |
-
<line num="
|
1718 |
<line num="470" type="stmt" count="0"/>
|
1719 |
<line num="471" type="stmt" count="0"/>
|
|
|
1720 |
<line num="473" type="stmt" count="0"/>
|
1721 |
<line num="475" type="stmt" count="0"/>
|
1722 |
-
<line num="
|
1723 |
-
<line num="484" type="stmt" count="0"/>
|
1724 |
<line num="485" type="stmt" count="0"/>
|
1725 |
-
<line num="
|
1726 |
-
<line num="
|
1727 |
-
<line num="
|
1728 |
<line num="508" type="stmt" count="0"/>
|
|
|
1729 |
<line num="510" type="stmt" count="0"/>
|
1730 |
-
<line num="511" type="stmt" count="0"/>
|
1731 |
<line num="512" type="stmt" count="0"/>
|
1732 |
<line num="513" type="stmt" count="0"/>
|
|
|
1733 |
<line num="515" type="stmt" count="0"/>
|
1734 |
-
<line num="
|
1735 |
<line num="518" type="stmt" count="0"/>
|
1736 |
-
<line num="
|
1737 |
<line num="521" type="stmt" count="0"/>
|
1738 |
-
<line num="
|
1739 |
-
<line num="525" type="stmt" count="0"/>
|
1740 |
<line num="526" type="stmt" count="0"/>
|
|
|
1741 |
<line num="528" type="stmt" count="0"/>
|
1742 |
-
<line num="
|
1743 |
-
<line num="
|
1744 |
-
<line num="
|
1745 |
-
<line num="
|
1746 |
-
<line num="
|
1747 |
-
<line num="
|
1748 |
-
<line num="
|
1749 |
<line num="549" type="stmt" count="0"/>
|
1750 |
-
<line num="
|
1751 |
<line num="552" type="stmt" count="0"/>
|
1752 |
-
<line num="553" type="stmt" count="0"/>
|
1753 |
<line num="554" type="stmt" count="0"/>
|
1754 |
-
<line num="
|
1755 |
-
<line num="
|
1756 |
-
<line num="
|
|
|
1757 |
<line num="568" type="stmt" count="0"/>
|
1758 |
-
<line num="
|
1759 |
-
<line num="
|
1760 |
<line num="578" type="stmt" count="0"/>
|
1761 |
-
<line num="
|
1762 |
-
<line num="590" type="
|
1763 |
-
<line num="
|
1764 |
-
<line num="
|
1765 |
<line num="596" type="stmt" count="0"/>
|
1766 |
-
<line num="
|
1767 |
-
<line num="
|
1768 |
-
<line num="
|
1769 |
-
<line num="
|
1770 |
-
<line num="
|
1771 |
-
<line num="
|
1772 |
-
<line num="622" type="stmt" count="1"/>
|
1773 |
<line num="623" type="stmt" count="1"/>
|
1774 |
-
<line num="
|
|
|
1775 |
<line num="628" type="stmt" count="1"/>
|
1776 |
-
<line num="629" type="stmt" count="1"/>
|
1777 |
<line num="630" type="stmt" count="1"/>
|
1778 |
<line num="631" type="stmt" count="1"/>
|
1779 |
<line num="632" type="stmt" count="1"/>
|
1780 |
<line num="633" type="stmt" count="1"/>
|
1781 |
-
<line num="
|
1782 |
-
<line num="
|
1783 |
-
<line num="638" type="stmt" count="
|
1784 |
-
<line num="
|
1785 |
-
<line num="
|
1786 |
-
<line num="643" type="stmt" count="
|
1787 |
-
<line num="
|
1788 |
-
<line num="
|
1789 |
<line num="648" type="stmt" count="1"/>
|
1790 |
-
<line num="649" type="stmt" count="
|
1791 |
-
<line num="
|
|
|
1792 |
<line num="654" type="stmt" count="1"/>
|
1793 |
-
<line num="
|
1794 |
-
<line num="
|
1795 |
<line num="667" type="stmt" count="0"/>
|
1796 |
-
<line num="
|
1797 |
-
<line num="
|
1798 |
-
<line num="679" type="stmt" count="0"/>
|
1799 |
<line num="680" type="stmt" count="0"/>
|
|
|
1800 |
<line num="682" type="stmt" count="0"/>
|
1801 |
-
<line num="
|
1802 |
-
<line num="
|
1803 |
<line num="688" type="stmt" count="0"/>
|
1804 |
-
<line num="
|
1805 |
-
<line num="
|
1806 |
-
<line num="693" type="stmt" count="0"/>
|
1807 |
<line num="694" type="stmt" count="0"/>
|
1808 |
<line num="695" type="stmt" count="0"/>
|
|
|
1809 |
<line num="697" type="stmt" count="0"/>
|
1810 |
-
<line num="
|
1811 |
<line num="700" type="stmt" count="0"/>
|
1812 |
<line num="702" type="stmt" count="0"/>
|
1813 |
-
<line num="703" type="stmt" count="0"/>
|
1814 |
<line num="704" type="stmt" count="0"/>
|
1815 |
<line num="705" type="stmt" count="0"/>
|
1816 |
<line num="706" type="stmt" count="0"/>
|
@@ -1821,117 +1748,117 @@
|
|
1821 |
<line num="711" type="stmt" count="0"/>
|
1822 |
<line num="712" type="stmt" count="0"/>
|
1823 |
<line num="713" type="stmt" count="0"/>
|
|
|
1824 |
<line num="715" type="stmt" count="0"/>
|
1825 |
-
<line num="716" type="stmt" count="0"/>
|
1826 |
<line num="717" type="stmt" count="0"/>
|
1827 |
<line num="718" type="stmt" count="0"/>
|
1828 |
<line num="719" type="stmt" count="0"/>
|
1829 |
<line num="720" type="stmt" count="0"/>
|
1830 |
<line num="721" type="stmt" count="0"/>
|
1831 |
<line num="722" type="stmt" count="0"/>
|
|
|
1832 |
<line num="724" type="stmt" count="0"/>
|
1833 |
-
<line num="
|
1834 |
-
<line num="
|
1835 |
-
<line num="736" type="stmt" count="0"/>
|
1836 |
<line num="737" type="stmt" count="0"/>
|
1837 |
<line num="738" type="stmt" count="0"/>
|
|
|
1838 |
<line num="740" type="stmt" count="0"/>
|
1839 |
<line num="742" type="stmt" count="0"/>
|
1840 |
-
<line num="743" type="stmt" count="0"/>
|
1841 |
<line num="744" type="stmt" count="0"/>
|
1842 |
<line num="745" type="stmt" count="0"/>
|
1843 |
<line num="746" type="stmt" count="0"/>
|
1844 |
<line num="747" type="stmt" count="0"/>
|
1845 |
<line num="748" type="stmt" count="0"/>
|
1846 |
<line num="749" type="stmt" count="0"/>
|
|
|
1847 |
<line num="751" type="stmt" count="0"/>
|
1848 |
<line num="753" type="stmt" count="0"/>
|
1849 |
<line num="755" type="stmt" count="0"/>
|
1850 |
-
<line num="756" type="stmt" count="0"/>
|
1851 |
<line num="757" type="stmt" count="0"/>
|
1852 |
<line num="758" type="stmt" count="0"/>
|
1853 |
<line num="759" type="stmt" count="0"/>
|
|
|
1854 |
<line num="761" type="stmt" count="0"/>
|
1855 |
-
<line num="
|
1856 |
-
<line num="
|
1857 |
-
<line num="
|
1858 |
-
<line num="782" type="stmt" count="0"/>
|
1859 |
<line num="783" type="stmt" count="0"/>
|
1860 |
<line num="784" type="stmt" count="0"/>
|
1861 |
<line num="785" type="stmt" count="0"/>
|
1862 |
-
<line num="
|
1863 |
-
<line num="
|
1864 |
-
<line num="
|
1865 |
-
<line num="
|
1866 |
-
<line num="
|
1867 |
-
<line num="
|
1868 |
-
<line num="
|
1869 |
-
<line num="
|
1870 |
-
<line num="
|
1871 |
-
<line num="
|
1872 |
<line num="817" type="stmt" count="0"/>
|
|
|
1873 |
<line num="819" type="stmt" count="0"/>
|
1874 |
-
<line num="820" type="stmt" count="0"/>
|
1875 |
<line num="821" type="stmt" count="0"/>
|
|
|
1876 |
<line num="823" type="stmt" count="0"/>
|
1877 |
-
<line num="824" type="stmt" count="0"/>
|
1878 |
<line num="825" type="stmt" count="0"/>
|
1879 |
<line num="826" type="stmt" count="0"/>
|
1880 |
-
<line num="
|
1881 |
-
<line num="
|
1882 |
-
<line num="
|
1883 |
<line num="846" type="stmt" count="0"/>
|
1884 |
<line num="847" type="stmt" count="0"/>
|
1885 |
<line num="848" type="stmt" count="0"/>
|
1886 |
<line num="849" type="stmt" count="0"/>
|
|
|
1887 |
<line num="851" type="stmt" count="0"/>
|
1888 |
-
<line num="
|
1889 |
<line num="854" type="stmt" count="0"/>
|
1890 |
-
<line num="
|
1891 |
-
<line num="
|
1892 |
-
<line num="
|
1893 |
-
<line num="
|
1894 |
-
<line num="
|
1895 |
-
<line num="
|
1896 |
<line num="870" type="stmt" count="0"/>
|
1897 |
-
<line num="
|
1898 |
-
<line num="
|
1899 |
-
<line num="882" type="stmt" count="0"/>
|
1900 |
<line num="883" type="stmt" count="0"/>
|
1901 |
<line num="884" type="stmt" count="0"/>
|
1902 |
<line num="885" type="stmt" count="0"/>
|
1903 |
-
<line num="
|
1904 |
-
<line num="
|
1905 |
-
<line num="
|
1906 |
-
<line num="
|
|
|
1907 |
<line num="916" type="stmt" count="0"/>
|
1908 |
-
<line num="
|
1909 |
-
<line num="
|
1910 |
-
<line num="
|
1911 |
-
<line num="
|
1912 |
-
<line num="
|
1913 |
-
<line num="
|
1914 |
-
<line num="
|
1915 |
-
<line num="
|
1916 |
-
<line num="
|
1917 |
-
<line num="
|
1918 |
<line num="953" type="stmt" count="0"/>
|
1919 |
-
<line num="
|
1920 |
-
<line num="
|
1921 |
<line num="959" type="stmt" count="0"/>
|
1922 |
-
<line num="
|
1923 |
-
<line num="
|
1924 |
-
<line num="973" type="
|
1925 |
<line num="975" type="stmt" count="0"/>
|
1926 |
<line num="977" type="stmt" count="0"/>
|
1927 |
<line num="979" type="stmt" count="0"/>
|
1928 |
<line num="981" type="stmt" count="0"/>
|
1929 |
<line num="983" type="stmt" count="0"/>
|
1930 |
<line num="985" type="stmt" count="0"/>
|
1931 |
-
<line num="986" type="stmt" count="0"/>
|
1932 |
<line num="987" type="stmt" count="0"/>
|
|
|
1933 |
<line num="989" type="stmt" count="0"/>
|
1934 |
-
<line num="990" type="stmt" count="0"/>
|
1935 |
<line num="991" type="stmt" count="0"/>
|
1936 |
<line num="992" type="stmt" count="0"/>
|
1937 |
<line num="993" type="stmt" count="0"/>
|
@@ -1941,225 +1868,147 @@
|
|
1941 |
<line num="997" type="stmt" count="0"/>
|
1942 |
<line num="998" type="stmt" count="0"/>
|
1943 |
<line num="999" type="stmt" count="0"/>
|
1944 |
-
<line num="
|
|
|
1945 |
<line num="1004" type="stmt" count="0"/>
|
1946 |
-
<line num="1005" type="stmt" count="0"/>
|
1947 |
<line num="1006" type="stmt" count="0"/>
|
|
|
1948 |
<line num="1008" type="stmt" count="0"/>
|
1949 |
-
<line num="
|
1950 |
-
<line num="1012" type="stmt" count="0"/>
|
1951 |
<line num="1013" type="stmt" count="0"/>
|
|
|
1952 |
<line num="1015" type="stmt" count="0"/>
|
1953 |
-
<line num="
|
1954 |
-
<line num="
|
1955 |
-
<line num="
|
1956 |
-
<line num="
|
1957 |
<line num="1041" type="stmt" count="0"/>
|
1958 |
-
<line num="
|
1959 |
-
<line num="
|
1960 |
-
<line num="1053" type="
|
1961 |
-
<line num="
|
1962 |
<line num="1056" type="stmt" count="0"/>
|
1963 |
<line num="1058" type="stmt" count="0"/>
|
1964 |
-
<line num="
|
1965 |
-
<line num="
|
1966 |
-
<line num="1063" type="stmt" count="0"/>
|
1967 |
<line num="1064" type="stmt" count="0"/>
|
|
|
1968 |
<line num="1066" type="stmt" count="0"/>
|
1969 |
<line num="1068" type="stmt" count="0"/>
|
1970 |
-
<line num="
|
1971 |
-
<line num="
|
1972 |
-
<line num="
|
1973 |
-
<line num="
|
1974 |
-
<line num="
|
1975 |
-
<line num="
|
1976 |
-
<line num="1090" type="
|
1977 |
-
<line num="1091" type="stmt" count="0"/>
|
1978 |
<line num="1092" type="stmt" count="0"/>
|
1979 |
-
<line num="
|
1980 |
-
<line num="
|
1981 |
-
<line num="
|
1982 |
<line num="1100" type="stmt" count="0"/>
|
1983 |
-
<line num="
|
1984 |
-
<line num="
|
1985 |
-
<line num="
|
1986 |
-
<line num="
|
1987 |
-
<line num="1116" type="
|
1988 |
<line num="1117" type="stmt" count="0"/>
|
|
|
1989 |
<line num="1119" type="stmt" count="0"/>
|
1990 |
-
<line num="1120" type="stmt" count="0"/>
|
1991 |
<line num="1121" type="stmt" count="0"/>
|
1992 |
<line num="1122" type="stmt" count="0"/>
|
|
|
1993 |
<line num="1124" type="stmt" count="0"/>
|
1994 |
-
<line num="
|
1995 |
<line num="1127" type="stmt" count="0"/>
|
1996 |
-
<line num="
|
1997 |
-
<line num="
|
1998 |
-
<line num="
|
1999 |
-
<line num="1139" type="stmt" count="0"/>
|
2000 |
<line num="1140" type="stmt" count="0"/>
|
|
|
2001 |
<line num="1142" type="stmt" count="0"/>
|
2002 |
-
<line num="
|
2003 |
<line num="1145" type="stmt" count="0"/>
|
2004 |
-
<line num="1146" type="stmt" count="0"/>
|
2005 |
<line num="1147" type="stmt" count="0"/>
|
|
|
2006 |
<line num="1149" type="stmt" count="0"/>
|
2007 |
-
<line num="1150" type="stmt" count="0"/>
|
2008 |
<line num="1151" type="stmt" count="0"/>
|
2009 |
<line num="1152" type="stmt" count="0"/>
|
2010 |
-
<line num="
|
2011 |
-
<line num="
|
2012 |
-
<line num="
|
2013 |
-
<line num="
|
2014 |
-
<line num="1169" type="
|
2015 |
<line num="1170" type="stmt" count="0"/>
|
|
|
2016 |
<line num="1172" type="stmt" count="0"/>
|
2017 |
-
<line num="1173" type="stmt" count="0"/>
|
2018 |
<line num="1174" type="stmt" count="0"/>
|
2019 |
<line num="1175" type="stmt" count="0"/>
|
|
|
2020 |
<line num="1177" type="stmt" count="0"/>
|
2021 |
-
<line num="
|
2022 |
-
<line num="
|
2023 |
<line num="1192" type="stmt" count="0"/>
|
2024 |
-
<line num="1193" type="stmt" count="0"/>
|
2025 |
<line num="1194" type="stmt" count="0"/>
|
2026 |
<line num="1195" type="stmt" count="0"/>
|
2027 |
<line num="1196" type="stmt" count="0"/>
|
|
|
2028 |
<line num="1198" type="stmt" count="0"/>
|
2029 |
-
<
|
2030 |
-
|
2031 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-auto-updates.php">
|
2032 |
-
<class name="Boldgrid_Backup_Admin_Auto_Updates" namespace="global" fullPackage="Boldgrid.Backup.Admin.Auto">
|
2033 |
-
<metrics complexity="26" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="67" coveredstatements="67" elements="74" coveredelements="74"/>
|
2034 |
-
</class>
|
2035 |
-
<line num="60" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/>
|
2036 |
-
<line num="62" type="stmt" count="7"/>
|
2037 |
-
<line num="63" type="stmt" count="7"/>
|
2038 |
-
<line num="64" type="stmt" count="7"/>
|
2039 |
-
<line num="65" type="stmt" count="7"/>
|
2040 |
-
<line num="66" type="stmt" count="7"/>
|
2041 |
-
<line num="67" type="stmt" count="7"/>
|
2042 |
-
<line num="74" type="method" name="set_settings" visibility="public" complexity="2" crap="2" count="7"/>
|
2043 |
-
<line num="75" type="stmt" count="7"/>
|
2044 |
-
<line num="76" type="stmt" count="7"/>
|
2045 |
-
<line num="77" type="stmt" count="6"/>
|
2046 |
-
<line num="78" type="stmt" count="6"/>
|
2047 |
-
<line num="79" type="stmt" count="2"/>
|
2048 |
-
<line num="80" type="stmt" count="2"/>
|
2049 |
-
<line num="83" type="stmt" count="7"/>
|
2050 |
-
<line num="93" type="method" name="maybe_update_plugin" visibility="public" complexity="4" crap="4" count="1"/>
|
2051 |
-
<line num="94" type="stmt" count="1"/>
|
2052 |
-
<line num="95" type="stmt" count="1"/>
|
2053 |
-
<line num="96" type="stmt" count="1"/>
|
2054 |
-
<line num="98" type="stmt" count="1"/>
|
2055 |
-
<line num="99" type="stmt" count="1"/>
|
2056 |
-
<line num="100" type="stmt" count="1"/>
|
2057 |
-
<line num="101" type="stmt" count="1"/>
|
2058 |
-
<line num="102" type="stmt" count="1"/>
|
2059 |
-
<line num="104" type="stmt" count="1"/>
|
2060 |
-
<line num="116" type="method" name="maybe_update_theme" visibility="public" complexity="4" crap="4" count="1"/>
|
2061 |
-
<line num="117" type="stmt" count="1"/>
|
2062 |
-
<line num="118" type="stmt" count="1"/>
|
2063 |
-
<line num="119" type="stmt" count="1"/>
|
2064 |
-
<line num="120" type="stmt" count="1"/>
|
2065 |
-
<line num="121" type="stmt" count="1"/>
|
2066 |
-
<line num="123" type="stmt" count="1"/>
|
2067 |
-
<line num="124" type="stmt" count="1"/>
|
2068 |
-
<line num="126" type="stmt" count="1"/>
|
2069 |
-
<line num="141" type="method" name="auto_update_plugins" visibility="public" complexity="4" crap="4" count="1"/>
|
2070 |
-
<line num="143" type="stmt" count="1"/>
|
2071 |
-
<line num="144" type="stmt" count="1"/>
|
2072 |
-
<line num="145" type="stmt" count="1"/>
|
2073 |
-
<line num="146" type="stmt" count="1"/>
|
2074 |
-
<line num="147" type="stmt" count="1"/>
|
2075 |
-
<line num="148" type="stmt" count="1"/>
|
2076 |
-
<line num="149" type="stmt" count="1"/>
|
2077 |
-
<line num="151" type="stmt" count="1"/>
|
2078 |
-
<line num="154" type="stmt" count="1"/>
|
2079 |
-
<line num="169" type="method" name="auto_update_themes" visibility="public" complexity="4" crap="4" count="1"/>
|
2080 |
-
<line num="171" type="stmt" count="1"/>
|
2081 |
-
<line num="172" type="stmt" count="1"/>
|
2082 |
-
<line num="173" type="stmt" count="1"/>
|
2083 |
-
<line num="174" type="stmt" count="1"/>
|
2084 |
-
<line num="175" type="stmt" count="1"/>
|
2085 |
-
<line num="176" type="stmt" count="1"/>
|
2086 |
-
<line num="177" type="stmt" count="1"/>
|
2087 |
-
<line num="179" type="stmt" count="1"/>
|
2088 |
-
<line num="182" type="stmt" count="1"/>
|
2089 |
-
<line num="193" type="method" name="auto_update_core" visibility="public" complexity="7" crap="7" count="1"/>
|
2090 |
-
<line num="195" type="stmt" count="1"/>
|
2091 |
-
<line num="196" type="stmt" count="1"/>
|
2092 |
-
<line num="197" type="stmt" count="1"/>
|
2093 |
-
<line num="198" type="stmt" count="1"/>
|
2094 |
-
<line num="199" type="stmt" count="1"/>
|
2095 |
-
<line num="200" type="stmt" count="1"/>
|
2096 |
-
<line num="202" type="stmt" count="1"/>
|
2097 |
-
<line num="203" type="stmt" count="1"/>
|
2098 |
-
<line num="204" type="stmt" count="1"/>
|
2099 |
-
<line num="205" type="stmt" count="1"/>
|
2100 |
-
<line num="207" type="stmt" count="1"/>
|
2101 |
-
<line num="208" type="stmt" count="1"/>
|
2102 |
-
<line num="209" type="stmt" count="1"/>
|
2103 |
-
<line num="210" type="stmt" count="1"/>
|
2104 |
-
<line num="212" type="stmt" count="1"/>
|
2105 |
-
<line num="213" type="stmt" count="1"/>
|
2106 |
-
<line num="214" type="stmt" count="1"/>
|
2107 |
-
<line num="215" type="stmt" count="1"/>
|
2108 |
-
<line num="216" type="stmt" count="1"/>
|
2109 |
-
<metrics loc="217" ncloc="105" classes="1" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="67" coveredstatements="67" elements="74" coveredelements="74"/>
|
2110 |
</file>
|
2111 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-backup-dir.php">
|
2112 |
<class name="Boldgrid_Backup_Admin_Backup_Dir" namespace="global" fullPackage="Boldgrid.Backup.Admin.Backup">
|
2113 |
-
<metrics complexity="61" methods="14" coveredmethods="
|
2114 |
</class>
|
2115 |
-
<line num="64" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
2116 |
-
<line num="65" type="stmt" count="
|
2117 |
-
<line num="66" type="stmt" count="
|
2118 |
<line num="75" type="method" name="can_exec_write" visibility="public" complexity="1" crap="1" count="1"/>
|
2119 |
<line num="76" type="stmt" count="1"/>
|
2120 |
<line num="78" type="stmt" count="1"/>
|
2121 |
-
<line num="89" type="method" name="create" visibility="public" complexity="11" crap="11.15" count="
|
2122 |
-
<line num="90" type="stmt" count="
|
2123 |
-
<line num="93" type="stmt" count="
|
2124 |
-
<line num="96" type="stmt" count="
|
2125 |
-
<line num="98" type="stmt" count="
|
2126 |
-
<line num="100" type="stmt" count="
|
2127 |
-
<line num="102" type="stmt" count="
|
2128 |
-
<line num="103" type="stmt" count="
|
2129 |
-
<line num="104" type="stmt" count="
|
2130 |
-
<line num="108" type="stmt" count="
|
2131 |
-
<line num="109" type="stmt" count="
|
2132 |
-
<line num="110" type="stmt" count="
|
2133 |
-
<line num="111" type="stmt" count="
|
2134 |
-
<line num="113" type="stmt" count="
|
2135 |
-
<line num="114" type="stmt" count="
|
2136 |
-
<line num="115" type="stmt" count="
|
2137 |
-
<line num="116" type="stmt" count="
|
2138 |
-
<line num="118" type="stmt" count="
|
2139 |
-
<line num="119" type="stmt" count="
|
2140 |
-
<line num="120" type="stmt" count="
|
2141 |
-
<line num="121" type="stmt" count="
|
2142 |
-
<line num="123" type="stmt" count="
|
2143 |
-
<line num="124" type="stmt" count="
|
2144 |
-
<line num="125" type="stmt" count="
|
2145 |
-
<line num="127" type="stmt" count="
|
2146 |
-
<line num="128" type="stmt" count="
|
2147 |
-
<line num="129" type="stmt" count="
|
2148 |
-
<line num="130" type="stmt" count="
|
2149 |
-
<line num="140" type="stmt" count="
|
2150 |
-
<line num="142" type="stmt" count="
|
2151 |
-
<line num="143" type="stmt" count="
|
2152 |
-
<line num="144" type="stmt" count="
|
2153 |
-
<line num="145" type="stmt" count="
|
2154 |
<line num="146" type="stmt" count="1"/>
|
2155 |
<line num="147" type="stmt" count="1"/>
|
2156 |
<line num="148" type="stmt" count="1"/>
|
2157 |
<line num="149" type="stmt" count="0"/>
|
2158 |
<line num="150" type="stmt" count="0"/>
|
2159 |
<line num="152" type="stmt" count="1"/>
|
2160 |
-
<line num="153" type="stmt" count="
|
2161 |
-
<line num="154" type="stmt" count="
|
2162 |
-
<line num="155" type="stmt" count="
|
2163 |
<line num="156" type="stmt" count="1"/>
|
2164 |
<line num="157" type="stmt" count="1"/>
|
2165 |
<line num="158" type="stmt" count="0"/>
|
@@ -2171,10 +2020,10 @@
|
|
2171 |
<line num="166" type="stmt" count="0"/>
|
2172 |
<line num="168" type="stmt" count="1"/>
|
2173 |
<line num="169" type="stmt" count="1"/>
|
2174 |
-
<line num="170" type="stmt" count="
|
2175 |
-
<line num="171" type="stmt" count="
|
2176 |
-
<line num="172" type="stmt" count="
|
2177 |
-
<line num="174" type="stmt" count="
|
2178 |
<line num="184" type="method" name="dirlist" visibility="public" complexity="2" crap="6" count="0"/>
|
2179 |
<line num="185" type="stmt" count="0"/>
|
2180 |
<line num="187" type="stmt" count="0"/>
|
@@ -2191,33 +2040,33 @@
|
|
2191 |
<line num="212" type="stmt" count="0"/>
|
2192 |
<line num="213" type="stmt" count="0"/>
|
2193 |
<line num="215" type="stmt" count="0"/>
|
2194 |
-
<line num="225" type="method" name="get" visibility="public" complexity="4" crap="4" count="
|
2195 |
-
<line num="228" type="stmt" count="
|
2196 |
-
<line num="229" type="stmt" count="
|
2197 |
-
<line num="233" type="stmt" count="
|
2198 |
-
<line num="234" type="stmt" count="
|
2199 |
-
<line num="235" type="stmt" count="
|
2200 |
-
<line num="236" type="stmt" count="
|
2201 |
-
<line num="238" type="stmt" count="
|
2202 |
<line num="241" type="stmt" count="2"/>
|
2203 |
-
<line num="252" type="method" name="get_logs_dir" visibility="public" complexity="7" crap="7" count="
|
2204 |
-
<line num="253" type="stmt" count="
|
2205 |
-
<line num="255" type="stmt" count="
|
2206 |
-
<line num="258" type="stmt" count="
|
2207 |
-
<line num="268" type="stmt" count="
|
2208 |
-
<line num="269" type="stmt" count="
|
2209 |
-
<line num="272" type="stmt" count="
|
2210 |
-
<line num="273" type="stmt" count="
|
2211 |
-
<line num="274" type="stmt" count="
|
2212 |
-
<line num="277" type="stmt" count="
|
2213 |
-
<line num="279" type="stmt" count="
|
2214 |
-
<line num="280" type="stmt" count="
|
2215 |
-
<line num="281" type="stmt" count="
|
2216 |
-
<line num="283" type="stmt" count="
|
2217 |
-
<line num="293" type="stmt" count="
|
2218 |
<line num="294" type="stmt" count="1"/>
|
2219 |
<line num="295" type="stmt" count="1"/>
|
2220 |
-
<line num="297" type="stmt" count="
|
2221 |
<line num="306" type="method" name="get_possible_dirs" visibility="public" complexity="3" crap="4.46" count="2"/>
|
2222 |
<line num="307" type="stmt" count="2"/>
|
2223 |
<line num="310" type="stmt" count="2"/>
|
@@ -2313,17 +2162,17 @@
|
|
2313 |
<line num="549" type="stmt" count="0"/>
|
2314 |
<line num="550" type="stmt" count="0"/>
|
2315 |
<line num="552" type="stmt" count="2"/>
|
2316 |
-
<line num="564" type="method" name="set" visibility="public" complexity="3" crap="3.10" count="
|
2317 |
-
<line num="566" type="stmt" count="
|
2318 |
<line num="567" type="stmt" count="0"/>
|
2319 |
-
<line num="570" type="stmt" count="
|
2320 |
-
<line num="571" type="stmt" count="
|
2321 |
<line num="572" type="stmt" count="0"/>
|
2322 |
-
<line num="575" type="stmt" count="
|
2323 |
-
<line num="577" type="stmt" count="
|
2324 |
-
<line num="578" type="stmt" count="
|
2325 |
-
<line num="579" type="stmt" count="
|
2326 |
-
<metrics loc="580" ncloc="322" classes="1" methods="14" coveredmethods="
|
2327 |
</file>
|
2328 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php">
|
2329 |
<class name="Boldgrid_Backup_Admin_Cli" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -2431,11 +2280,11 @@
|
|
2431 |
<class name="Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2432 |
<metrics complexity="8" methods="6" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="7" elements="17" coveredelements="11"/>
|
2433 |
</class>
|
2434 |
-
<line num="46" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
2435 |
-
<line num="47" type="stmt" count="
|
2436 |
-
<line num="48" type="stmt" count="
|
2437 |
-
<line num="50" type="stmt" count="
|
2438 |
-
<line num="51" type="stmt" count="
|
2439 |
<line num="74" type="method" name="archive_files" visibility="public" complexity="1" crap="2" count="0"/>
|
2440 |
<line num="75" type="stmt" count="0"/>
|
2441 |
<line num="86" type="method" name="is_available" visibility="public" complexity="1" crap="1" count="1"/>
|
@@ -2454,12 +2303,12 @@
|
|
2454 |
<class name="Boldgrid_Backup_Admin_Compressors" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2455 |
<metrics complexity="17" methods="7" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="29" coveredstatements="11" elements="36" coveredelements="14"/>
|
2456 |
</class>
|
2457 |
-
<line num="50" type="method" name="__construct" visibility="public" complexity="3" crap="3" count="
|
2458 |
-
<line num="51" type="stmt" count="
|
2459 |
-
<line num="57" type="stmt" count="
|
2460 |
-
<line num="58" type="stmt" count="
|
2461 |
-
<line num="59" type="stmt" count="
|
2462 |
-
<line num="60" type="stmt" count="
|
2463 |
<line num="69" type="method" name="get" visibility="public" complexity="3" crap="3.07" count="4"/>
|
2464 |
<line num="70" type="stmt" count="4"/>
|
2465 |
<line num="71" type="stmt" count="4"/>
|
@@ -2494,18 +2343,18 @@
|
|
2494 |
</file>
|
2495 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-config.php">
|
2496 |
<class name="Boldgrid_Backup_Admin_Config" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2497 |
-
<metrics complexity="55" methods="13" coveredmethods="
|
2498 |
</class>
|
2499 |
-
<line num="131" type="method" name="__construct" visibility="public" complexity="3" crap="3" count="
|
2500 |
-
<line num="133" type="stmt" count="
|
2501 |
-
<line num="134" type="stmt" count="
|
2502 |
-
<line num="135" type="stmt" count="
|
2503 |
-
<line num="137" type="stmt" count="
|
2504 |
-
<line num="138" type="stmt" count="
|
2505 |
-
<line num="139" type="stmt" count="
|
2506 |
-
<line num="140" type="stmt" count="
|
2507 |
-
<line num="142" type="stmt" count="
|
2508 |
-
<line num="143" type="stmt" count="
|
2509 |
<line num="152" type="method" name="get_home_directory" visibility="public" complexity="18" crap="83.95" count="2"/>
|
2510 |
<line num="154" type="stmt" count="2"/>
|
2511 |
<line num="155" type="stmt" count="0"/>
|
@@ -2554,18 +2403,18 @@
|
|
2554 |
<line num="256" type="stmt" count="0"/>
|
2555 |
<line num="267" type="method" name="get_default_retention" visibility="public" complexity="1" crap="1" count="7"/>
|
2556 |
<line num="268" type="stmt" count="7"/>
|
2557 |
-
<line num="277" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="
|
2558 |
-
<line num="278" type="stmt" count="
|
2559 |
-
<line num="279" type="stmt" count="
|
2560 |
-
<line num="280" type="stmt" count="
|
2561 |
-
<line num="281" type="stmt" count="
|
2562 |
-
<line num="282" type="stmt" count="
|
2563 |
-
<line num="283" type="stmt" count="
|
2564 |
-
<line num="284" type="stmt" count="
|
2565 |
-
<line num="285" type="stmt" count="
|
2566 |
-
<line num="286" type="stmt" count="
|
2567 |
-
<line num="287" type="stmt" count="
|
2568 |
-
<line num="289" type="stmt" count="
|
2569 |
<line num="301" type="method" name="custom_upload_dir" visibility="public" complexity="1" crap="2" count="0"/>
|
2570 |
<line num="303" type="stmt" count="0"/>
|
2571 |
<line num="306" type="stmt" count="0"/>
|
@@ -2638,15 +2487,15 @@
|
|
2638 |
<line num="470" type="stmt" count="1"/>
|
2639 |
<line num="471" type="stmt" count="1"/>
|
2640 |
<line num="473" type="stmt" count="1"/>
|
2641 |
-
<metrics loc="475" ncloc="203" classes="1" methods="13" coveredmethods="
|
2642 |
</file>
|
2643 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core-files.php">
|
2644 |
<class name="Boldgrid_Backup_Admin_Core_Files" namespace="global" fullPackage="Boldgrid.Backup.Admin.Core">
|
2645 |
<metrics complexity="6" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="8" elements="11" coveredelements="9"/>
|
2646 |
</class>
|
2647 |
-
<line num="71" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
2648 |
-
<line num="72" type="stmt" count="
|
2649 |
-
<line num="73" type="stmt" count="
|
2650 |
<line num="83" type="method" name="is_core_file" visibility="public" complexity="5" crap="5.07" count="4"/>
|
2651 |
<line num="84" type="stmt" count="4"/>
|
2652 |
<line num="85" type="stmt" count="0"/>
|
@@ -2659,175 +2508,190 @@
|
|
2659 |
</file>
|
2660 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
|
2661 |
<class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2662 |
-
<metrics complexity="
|
2663 |
</class>
|
2664 |
-
<line num="
|
2665 |
-
<line num="
|
2666 |
-
<line num="
|
2667 |
-
<line num="
|
2668 |
-
<line num="
|
2669 |
-
<line num="
|
2670 |
-
<line num="
|
2671 |
-
<line num="
|
2672 |
-
<line num="
|
2673 |
-
<line num="
|
2674 |
-
<line num="
|
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="
|
2692 |
-
<line num="
|
2693 |
-
<line num="
|
2694 |
-
<line num="
|
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="
|
2704 |
-
<line num="
|
2705 |
-
<line num="
|
2706 |
-
<line num="
|
2707 |
-
<line num="
|
2708 |
-
<line num="
|
2709 |
-
<line num="
|
2710 |
-
<line num="
|
2711 |
-
<line num="
|
2712 |
-
<line num="
|
2713 |
-
<line num="
|
2714 |
-
<line num="
|
2715 |
-
<line num="
|
2716 |
-
<line num="
|
2717 |
-
<line num="
|
2718 |
-
<line num="
|
2719 |
-
<line num="
|
2720 |
-
<line num="
|
2721 |
-
<line num="
|
2722 |
-
<line num="
|
2723 |
-
<line num="
|
2724 |
-
<line num="
|
2725 |
-
<line num="
|
2726 |
-
<line num="
|
2727 |
-
<line num="
|
2728 |
-
<line num="
|
2729 |
-
<line num="
|
2730 |
-
<line num="
|
2731 |
-
<line num="
|
2732 |
-
<line num="
|
2733 |
-
<line num="
|
2734 |
-
<line num="
|
2735 |
-
<line num="
|
2736 |
-
<line num="
|
2737 |
-
<line num="
|
2738 |
-
<line num="
|
2739 |
-
<line num="
|
2740 |
-
<line num="
|
2741 |
-
<line num="
|
2742 |
-
<line num="
|
2743 |
-
<line num="
|
2744 |
-
<line num="
|
2745 |
-
<line num="
|
2746 |
-
<line num="
|
2747 |
-
<line num="
|
2748 |
-
<line num="
|
2749 |
-
<line num="
|
2750 |
-
<line num="
|
2751 |
-
<line num="
|
2752 |
-
<line num="
|
2753 |
-
<line num="
|
2754 |
-
<line num="
|
2755 |
-
<line num="
|
2756 |
-
<line num="
|
2757 |
-
<line num="
|
2758 |
-
<line num="
|
2759 |
-
<line num="
|
2760 |
-
<line num="
|
2761 |
-
<line num="
|
2762 |
-
<line num="
|
2763 |
-
<line num="
|
2764 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2765 |
<line num="828" type="stmt" count="0"/>
|
|
|
2766 |
<line num="830" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
2767 |
<line num="836" type="stmt" count="0"/>
|
2768 |
-
<line num="
|
|
|
|
|
|
|
2769 |
<line num="845" type="stmt" count="0"/>
|
2770 |
<line num="846" type="stmt" count="0"/>
|
|
|
2771 |
<line num="848" type="stmt" count="0"/>
|
2772 |
<line num="849" type="stmt" count="0"/>
|
2773 |
<line num="851" type="stmt" count="0"/>
|
2774 |
<line num="852" type="stmt" count="0"/>
|
2775 |
-
<line num="
|
2776 |
<line num="855" type="stmt" count="0"/>
|
2777 |
-
<line num="856" type="stmt" count="0"/>
|
2778 |
-
<line num="857" type="stmt" count="0"/>
|
2779 |
<line num="858" type="stmt" count="0"/>
|
2780 |
<line num="859" type="stmt" count="0"/>
|
2781 |
<line num="860" type="stmt" count="0"/>
|
2782 |
-
<line num="
|
2783 |
-
<line num="
|
2784 |
-
<line num="864" type="stmt" count="0"/>
|
2785 |
-
<line num="866" type="stmt" count="0"/>
|
2786 |
-
<line num="867" type="stmt" count="0"/>
|
2787 |
-
<line num="869" type="stmt" count="0"/>
|
2788 |
-
<line num="871" type="stmt" count="0"/>
|
2789 |
-
<line num="872" type="stmt" count="0"/>
|
2790 |
-
<line num="873" type="stmt" count="0"/>
|
2791 |
-
<line num="874" type="stmt" count="0"/>
|
2792 |
-
<line num="875" type="stmt" count="0"/>
|
2793 |
-
<line num="877" type="stmt" count="0"/>
|
2794 |
<line num="878" type="stmt" count="0"/>
|
2795 |
-
<line num="
|
2796 |
-
<line num="
|
2797 |
-
<line num="884" type="stmt" count="
|
2798 |
-
<line num="
|
2799 |
-
<line num="
|
2800 |
-
<line num="
|
2801 |
-
<line num="
|
|
|
|
|
2802 |
<line num="904" type="stmt" count="0"/>
|
2803 |
-
<line num="
|
2804 |
-
<line num="
|
2805 |
-
<line num="
|
2806 |
-
<line num="
|
2807 |
-
<line num="
|
2808 |
-
<line num="
|
2809 |
-
<line num="
|
2810 |
-
<line num="
|
2811 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2812 |
<line num="930" type="stmt" count="0"/>
|
|
|
2813 |
<line num="933" type="stmt" count="0"/>
|
2814 |
<line num="934" type="stmt" count="0"/>
|
2815 |
-
<line num="935" type="stmt" count="0"/>
|
2816 |
<line num="936" type="stmt" count="0"/>
|
2817 |
-
<line num="937" type="stmt" count="0"/>
|
2818 |
-
<line num="938" type="stmt" count="0"/>
|
2819 |
<line num="939" type="stmt" count="0"/>
|
2820 |
<line num="940" type="stmt" count="0"/>
|
2821 |
<line num="941" type="stmt" count="0"/>
|
2822 |
<line num="942" type="stmt" count="0"/>
|
2823 |
-
<line num="
|
2824 |
-
<line num="
|
2825 |
-
<line num="
|
|
|
|
|
2826 |
<line num="952" type="stmt" count="0"/>
|
|
|
2827 |
<line num="954" type="stmt" count="0"/>
|
2828 |
<line num="955" type="stmt" count="0"/>
|
2829 |
<line num="956" type="stmt" count="0"/>
|
2830 |
-
<line num="
|
2831 |
<line num="959" type="stmt" count="0"/>
|
2832 |
<line num="960" type="stmt" count="0"/>
|
2833 |
<line num="962" type="stmt" count="0"/>
|
@@ -2849,24 +2713,24 @@
|
|
2849 |
<line num="985" type="stmt" count="0"/>
|
2850 |
<line num="986" type="stmt" count="0"/>
|
2851 |
<line num="988" type="stmt" count="0"/>
|
2852 |
-
<line num="991" type="stmt" count="0"/>
|
2853 |
-
<line num="992" type="stmt" count="0"/>
|
2854 |
-
<line num="993" type="stmt" count="0"/>
|
2855 |
-
<line num="994" type="stmt" count="0"/>
|
2856 |
<line num="995" type="stmt" count="0"/>
|
2857 |
<line num="996" type="stmt" count="0"/>
|
|
|
2858 |
<line num="998" type="stmt" count="0"/>
|
2859 |
<line num="999" type="stmt" count="0"/>
|
2860 |
-
<line num="
|
2861 |
-
<line num="
|
|
|
2862 |
<line num="1005" type="stmt" count="0"/>
|
2863 |
-
<line num="1006" type="stmt" count="0"/>
|
2864 |
-
<line num="1007" type="stmt" count="0"/>
|
2865 |
<line num="1008" type="stmt" count="0"/>
|
2866 |
<line num="1009" type="stmt" count="0"/>
|
|
|
2867 |
<line num="1011" type="stmt" count="0"/>
|
2868 |
<line num="1012" type="stmt" count="0"/>
|
2869 |
-
<line num="
|
|
|
|
|
|
|
2870 |
<line num="1021" type="stmt" count="0"/>
|
2871 |
<line num="1022" type="stmt" count="0"/>
|
2872 |
<line num="1023" type="stmt" count="0"/>
|
@@ -2888,927 +2752,896 @@
|
|
2888 |
<line num="1047" type="stmt" count="0"/>
|
2889 |
<line num="1048" type="stmt" count="0"/>
|
2890 |
<line num="1049" type="stmt" count="0"/>
|
2891 |
-
<line num="1050" type="stmt" count="0"/>
|
2892 |
<line num="1051" type="stmt" count="0"/>
|
2893 |
<line num="1052" type="stmt" count="0"/>
|
2894 |
-
<line num="
|
2895 |
<line num="1055" type="stmt" count="0"/>
|
2896 |
-
<line num="
|
2897 |
-
<line num="
|
2898 |
-
<line num="1061" type="stmt" count="0"/>
|
2899 |
-
<line num="1062" type="stmt" count="0"/>
|
2900 |
-
<line num="1063" type="stmt" count="0"/>
|
2901 |
-
<line num="1064" type="stmt" count="0"/>
|
2902 |
<line num="1065" type="stmt" count="0"/>
|
2903 |
-
<line num="
|
2904 |
<line num="1068" type="stmt" count="0"/>
|
|
|
2905 |
<line num="1070" type="stmt" count="0"/>
|
2906 |
-
<line num="
|
|
|
2907 |
<line num="1074" type="stmt" count="0"/>
|
2908 |
-
<line num="1075" type="stmt" count="0"/>
|
2909 |
-
<line num="1077" type="stmt" count="0"/>
|
2910 |
-
<line num="1078" type="stmt" count="0"/>
|
2911 |
-
<line num="1079" type="stmt" count="0"/>
|
2912 |
-
<line num="1081" type="stmt" count="0"/>
|
2913 |
<line num="1082" type="stmt" count="0"/>
|
|
|
2914 |
<line num="1084" type="stmt" count="0"/>
|
2915 |
-
<line num="
|
2916 |
-
<line num="
|
2917 |
-
<line num="
|
2918 |
-
<line num="
|
2919 |
-
<line num="
|
2920 |
-
<line num="
|
2921 |
-
<line num="
|
2922 |
<line num="1100" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
2923 |
<line num="1108" type="stmt" count="0"/>
|
2924 |
<line num="1109" type="stmt" count="0"/>
|
2925 |
<line num="1110" type="stmt" count="0"/>
|
2926 |
-
<line num="1111" type="stmt" count="0"/>
|
2927 |
<line num="1112" type="stmt" count="0"/>
|
2928 |
<line num="1113" type="stmt" count="0"/>
|
2929 |
-
<line num="
|
2930 |
-
<line num="
|
2931 |
-
<line num="1116" type="stmt" count="0"/>
|
2932 |
-
<line num="1125" type="method" name="admin_enqueue_scripts" visibility="public" complexity="1" crap="2" count="0"/>
|
2933 |
-
<line num="1126" type="stmt" count="0"/>
|
2934 |
-
<line num="1127" type="stmt" count="0"/>
|
2935 |
-
<line num="1128" type="stmt" count="0"/>
|
2936 |
-
<line num="1129" type="stmt" count="0"/>
|
2937 |
<line num="1131" type="stmt" count="0"/>
|
2938 |
-
<line num="
|
2939 |
-
<line num="
|
2940 |
-
<line num="1135" type="stmt" count="0"/>
|
2941 |
-
<line num="1136" type="stmt" count="0"/>
|
2942 |
<line num="1138" type="stmt" count="0"/>
|
2943 |
-
<line num="
|
2944 |
-
<line num="
|
2945 |
-
<line num="
|
2946 |
-
<line num="
|
2947 |
-
<line num="
|
2948 |
-
<line num="
|
2949 |
-
<line num="
|
|
|
|
|
|
|
|
|
2950 |
<line num="1168" type="stmt" count="4"/>
|
2951 |
-
<line num="
|
|
|
2952 |
<line num="1174" type="stmt" count="4"/>
|
2953 |
<line num="1176" type="stmt" count="0"/>
|
2954 |
<line num="1178" type="stmt" count="0"/>
|
2955 |
<line num="1180" type="stmt" count="0"/>
|
2956 |
<line num="1181" type="stmt" count="0"/>
|
2957 |
-
<line num="
|
2958 |
-
<line num="
|
2959 |
-
<line num="
|
2960 |
-
<line num="
|
2961 |
-
<line num="
|
2962 |
-
<line num="
|
2963 |
-
<line num="
|
2964 |
-
<line num="
|
2965 |
-
<line num="
|
2966 |
-
<line num="
|
2967 |
-
<line num="
|
2968 |
-
<line num="
|
2969 |
-
<line num="
|
2970 |
-
<line num="
|
2971 |
-
<line num="
|
2972 |
-
<line num="
|
2973 |
-
<line num="
|
2974 |
-
<line num="
|
2975 |
-
<line num="
|
2976 |
-
<line num="
|
2977 |
-
<line num="1244" type="method" name="restore_database" visibility="private" complexity="9" crap="27.27" count="1"/>
|
2978 |
<line num="1246" type="stmt" count="1"/>
|
2979 |
-
<line num="
|
2980 |
-
<line num="1249" type="stmt" count="
|
2981 |
-
<line num="
|
2982 |
-
<line num="
|
2983 |
-
<line num="
|
2984 |
-
<line num="
|
2985 |
-
<line num="
|
2986 |
-
<line num="
|
2987 |
-
<line num="
|
2988 |
-
<line num="
|
2989 |
-
<line num="
|
2990 |
-
<line num="
|
2991 |
-
<line num="1275" type="stmt" count="
|
2992 |
-
<line num="
|
2993 |
-
<line num="
|
2994 |
-
<line num="
|
2995 |
-
<line num="
|
2996 |
-
<line num="
|
2997 |
-
<line num="
|
2998 |
-
<line num="
|
2999 |
<line num="1292" type="stmt" count="0"/>
|
3000 |
<line num="1293" type="stmt" count="0"/>
|
3001 |
-
<line num="
|
|
|
|
|
3002 |
<line num="1299" type="stmt" count="0"/>
|
3003 |
-
<line num="
|
3004 |
-
<line num="
|
3005 |
-
<line num="
|
3006 |
-
<line num="
|
3007 |
-
<line num="
|
|
|
3008 |
<line num="1313" type="stmt" count="1"/>
|
3009 |
-
<line num="
|
3010 |
-
<line num="
|
3011 |
-
<line num="1319" type="stmt" count="0"/>
|
3012 |
-
<line num="1320" type="stmt" count="0"/>
|
3013 |
-
<line num="1321" type="stmt" count="0"/>
|
3014 |
-
<line num="1322" type="stmt" count="0"/>
|
3015 |
-
<line num="1324" type="stmt" count="0"/>
|
3016 |
-
<line num="1326" type="stmt" count="0"/>
|
3017 |
-
<line num="1327" type="stmt" count="0"/>
|
3018 |
<line num="1328" type="stmt" count="0"/>
|
3019 |
-
<line num="
|
3020 |
-
<line num="
|
3021 |
<line num="1336" type="stmt" count="0"/>
|
3022 |
-
<line num="
|
3023 |
-
<line num="
|
3024 |
-
<line num="
|
3025 |
-
<line num="
|
3026 |
-
<line num="
|
3027 |
-
<line num="
|
3028 |
<line num="1362" type="stmt" count="4"/>
|
3029 |
-
<line num="1363" type="stmt" count="
|
3030 |
-
<line num="
|
|
|
|
|
|
|
3031 |
<line num="1370" type="stmt" count="4"/>
|
3032 |
-
<line num="
|
3033 |
-
<line num="
|
3034 |
-
<line num="
|
3035 |
-
<line num="
|
|
|
|
|
|
|
|
|
3036 |
<line num="1389" type="stmt" count="4"/>
|
3037 |
-
<line num="1390" type="stmt" count="4"/>
|
3038 |
<line num="1391" type="stmt" count="4"/>
|
3039 |
<line num="1392" type="stmt" count="4"/>
|
3040 |
-
<line num="
|
3041 |
-
<line num="
|
3042 |
-
<line num="1397" type="stmt" count="4"/>
|
3043 |
<line num="1400" type="stmt" count="4"/>
|
3044 |
-
<line num="1401" type="stmt" count="0"/>
|
3045 |
<line num="1403" type="stmt" count="4"/>
|
3046 |
-
<line num="
|
3047 |
<line num="1407" type="stmt" count="4"/>
|
3048 |
<line num="1408" type="stmt" count="4"/>
|
3049 |
-
<line num="
|
3050 |
-
<line num="
|
3051 |
-
<line num="
|
3052 |
-
<line num="
|
3053 |
-
<line num="1419" type="stmt" count="4"/>
|
3054 |
-
<line num="1421" type="stmt" count="4"/>
|
3055 |
-
<line num="1423" type="stmt" count="4"/>
|
3056 |
-
<line num="1427" type="stmt" count="4"/>
|
3057 |
-
<line num="1430" type="stmt" count="4"/>
|
3058 |
<line num="1433" type="stmt" count="4"/>
|
3059 |
-
<line num="1434" type="stmt" count="
|
3060 |
-
<line num="1435" type="stmt" count="4"/>
|
3061 |
-
<line num="1436" type="stmt" count="4"/>
|
3062 |
<line num="1438" type="stmt" count="4"/>
|
3063 |
<line num="1441" type="stmt" count="4"/>
|
3064 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3065 |
<line num="1460" type="stmt" count="4"/>
|
3066 |
-
<line num="
|
3067 |
-
<line num="
|
3068 |
-
<line num="
|
3069 |
-
<line num="
|
3070 |
<line num="1473" type="stmt" count="4"/>
|
3071 |
-
<line num="
|
3072 |
-
<line num="1479" type="stmt" count="4"/>
|
3073 |
-
<line num="1480" type="stmt" count="4"/>
|
3074 |
-
<line num="1482" type="stmt" count="4"/>
|
3075 |
-
<line num="1483" type="stmt" count="0"/>
|
3076 |
-
<line num="1486" type="stmt" count="4"/>
|
3077 |
<line num="1487" type="stmt" count="4"/>
|
3078 |
<line num="1490" type="stmt" count="4"/>
|
3079 |
-
<line num="
|
3080 |
-
<line num="1494" type="stmt" count="
|
3081 |
-
<line num="
|
3082 |
-
<line num="
|
3083 |
-
<line num="
|
3084 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3085 |
<line num="1517" type="stmt" count="4"/>
|
|
|
3086 |
<line num="1520" type="stmt" count="4"/>
|
3087 |
-
<line num="
|
3088 |
-
<line num="
|
3089 |
-
<line num="
|
3090 |
-
<line num="
|
3091 |
-
<line num="
|
3092 |
-
<line num="
|
3093 |
-
<line num="1533" type="stmt" count="4"/>
|
3094 |
-
<line num="1534" type="stmt" count="4"/>
|
3095 |
-
<line num="1535" type="stmt" count="4"/>
|
3096 |
-
<line num="1536" type="stmt" count="4"/>
|
3097 |
-
<line num="1539" type="stmt" count="4"/>
|
3098 |
-
<line num="1542" type="stmt" count="4"/>
|
3099 |
-
<line num="1544" type="stmt" count="4"/>
|
3100 |
-
<line num="1546" type="stmt" count="4"/>
|
3101 |
-
<line num="1547" type="stmt" count="4"/>
|
3102 |
<line num="1549" type="stmt" count="4"/>
|
3103 |
-
<line num="
|
3104 |
-
<line num="
|
3105 |
-
<line num="
|
3106 |
-
<line num="
|
3107 |
-
<line num="
|
3108 |
-
<line num="
|
3109 |
-
<line num="
|
3110 |
-
<line num="
|
3111 |
-
<line num="
|
|
|
|
|
3112 |
<line num="1582" type="stmt" count="4"/>
|
3113 |
-
<line num="
|
3114 |
-
<line num="
|
3115 |
-
<line num="
|
|
|
3116 |
<line num="1593" type="stmt" count="4"/>
|
|
|
|
|
3117 |
<line num="1604" type="stmt" count="4"/>
|
3118 |
-
<line num="1605" type="stmt" count="
|
3119 |
-
<line num="1606" type="stmt" count="
|
3120 |
-
<line num="1607" type="stmt" count="
|
|
|
|
|
|
|
3121 |
<line num="1611" type="stmt" count="4"/>
|
3122 |
-
<line num="
|
3123 |
-
<line num="
|
3124 |
-
<line num="
|
3125 |
-
<line num="
|
|
|
|
|
|
|
|
|
3126 |
<line num="1622" type="stmt" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3127 |
<line num="1631" type="stmt" count="4"/>
|
3128 |
-
<line num="1632" type="stmt" count="4"/>
|
3129 |
-
<line num="1633" type="stmt" count="4"/>
|
3130 |
<line num="1634" type="stmt" count="4"/>
|
3131 |
-
<line num="1635" type="stmt" count="
|
3132 |
<line num="1636" type="stmt" count="4"/>
|
3133 |
-
<line num="1637" type="stmt" count="
|
3134 |
-
<line num="1638" type="stmt" count="
|
3135 |
<line num="1639" type="stmt" count="4"/>
|
3136 |
-
<line num="1640" type="stmt" count="
|
3137 |
<line num="1641" type="stmt" count="4"/>
|
3138 |
-
<line num="
|
|
|
3139 |
<line num="1644" type="stmt" count="4"/>
|
3140 |
-
<line num="
|
3141 |
-
<line num="1646" type="stmt" count="4"/>
|
3142 |
-
<line num="1648" type="stmt" count="4"/>
|
3143 |
-
<line num="1649" type="stmt" count="4"/>
|
3144 |
<line num="1650" type="stmt" count="4"/>
|
3145 |
-
<line num="1651" type="stmt" count="
|
3146 |
-
<line num="1652" type="stmt" count="4"/>
|
3147 |
-
<line num="1653" type="stmt" count="4"/>
|
3148 |
-
<line num="1654" type="stmt" count="4"/>
|
3149 |
<line num="1655" type="stmt" count="4"/>
|
3150 |
-
<line num="1656" type="stmt" count="4"/>
|
3151 |
-
<line num="1657" type="stmt" count="4"/>
|
3152 |
<line num="1658" type="stmt" count="4"/>
|
3153 |
-
<line num="
|
3154 |
-
<line num="
|
3155 |
-
<line num="1663" type="stmt" count="4"/>
|
3156 |
-
<line num="1664" type="stmt" count="0"/>
|
3157 |
<line num="1665" type="stmt" count="4"/>
|
3158 |
-
<line num="1666" type="stmt" count="
|
3159 |
-
<line num="1667" type="stmt" count="0"/>
|
3160 |
<line num="1668" type="stmt" count="4"/>
|
3161 |
-
<line num="1669" type="stmt" count="0"/>
|
3162 |
<line num="1670" type="stmt" count="4"/>
|
3163 |
-
<line num="1671" type="stmt" count="
|
3164 |
-
<line num="1672" type="stmt" count="0"/>
|
3165 |
<line num="1673" type="stmt" count="4"/>
|
3166 |
-
<line num="
|
|
|
|
|
3167 |
<line num="1679" type="stmt" count="4"/>
|
3168 |
-
<line num="
|
3169 |
-
<line num="
|
3170 |
-
<line num="
|
3171 |
-
<line num="
|
3172 |
-
<line num="
|
3173 |
-
<line num="1694" type="stmt" count="
|
3174 |
-
<line num="1695" type="stmt" count="
|
3175 |
-
<line num="1697" type="stmt" count="
|
3176 |
-
<line num="
|
3177 |
-
<line num="
|
3178 |
-
<line num="1702" type="stmt" count="4"/>
|
3179 |
-
<line num="1704" type="stmt" count="0"/>
|
3180 |
<line num="1705" type="stmt" count="0"/>
|
3181 |
-
<line num="
|
3182 |
-
<line num="
|
3183 |
-
<line num="
|
3184 |
<line num="1714" type="stmt" count="4"/>
|
3185 |
-
<line num="
|
|
|
|
|
3186 |
<line num="1720" type="stmt" count="4"/>
|
3187 |
-
<line num="1721" type="stmt" count="
|
3188 |
-
<line num="
|
3189 |
-
<line num="
|
3190 |
-
<line num="
|
|
|
|
|
|
|
|
|
3191 |
<line num="1730" type="stmt" count="4"/>
|
3192 |
-
<line num="1733" type="stmt" count="4"/>
|
3193 |
-
<line num="1734" type="stmt" count="0"/>
|
3194 |
-
<line num="1738" type="stmt" count="4"/>
|
3195 |
-
<line num="1739" type="stmt" count="4"/>
|
3196 |
<line num="1742" type="stmt" count="4"/>
|
3197 |
-
<line num="1743" type="stmt" count="4"/>
|
3198 |
<line num="1744" type="stmt" count="4"/>
|
3199 |
<line num="1745" type="stmt" count="4"/>
|
3200 |
-
<line num="
|
3201 |
-
<line num="1749" type="stmt" count="4"/>
|
3202 |
<line num="1750" type="stmt" count="4"/>
|
3203 |
-
<line num="1751" type="stmt" count="4"/>
|
3204 |
<line num="1752" type="stmt" count="4"/>
|
3205 |
<line num="1753" type="stmt" count="4"/>
|
3206 |
<line num="1754" type="stmt" count="4"/>
|
3207 |
-
<line num="1755" type="stmt" count="4"/>
|
3208 |
<line num="1756" type="stmt" count="4"/>
|
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="1796" type="stmt" count="4"/>
|
3226 |
<line num="1797" type="stmt" count="4"/>
|
3227 |
-
<line num="
|
3228 |
-
<line num="
|
3229 |
-
<line num="1800" type="stmt" count="1"/>
|
3230 |
<line num="1802" type="stmt" count="0"/>
|
3231 |
<line num="1803" type="stmt" count="0"/>
|
3232 |
-
<line num="1804" type="stmt" count="
|
3233 |
-
<line num="
|
3234 |
-
<line num="
|
3235 |
-
<line num="
|
3236 |
-
<line num="
|
3237 |
-
<line num="
|
3238 |
-
<line num="
|
3239 |
-
<line num="
|
3240 |
-
<line num="
|
3241 |
-
<line num="
|
3242 |
-
<line num="
|
3243 |
-
<line num="
|
3244 |
-
<line num="1819" type="stmt" count="
|
3245 |
<line num="1820" type="stmt" count="0"/>
|
3246 |
<line num="1821" type="stmt" count="0"/>
|
3247 |
-
<line num="1822" type="stmt" count="0"/>
|
3248 |
<line num="1823" type="stmt" count="4"/>
|
3249 |
-
<line num="
|
3250 |
-
<line num="
|
3251 |
<line num="1829" type="stmt" count="4"/>
|
3252 |
-
<line num="
|
3253 |
-
<line num="1831" type="stmt" count="0"/>
|
3254 |
-
<line num="1832" type="stmt" count="0"/>
|
3255 |
-
<line num="1833" type="stmt" count="4"/>
|
3256 |
<line num="1834" type="stmt" count="4"/>
|
3257 |
-
<line num="1835" type="stmt" count="4"/>
|
3258 |
-
<line num="1836" type="stmt" count="4"/>
|
3259 |
<line num="1837" type="stmt" count="4"/>
|
3260 |
<line num="1838" type="stmt" count="4"/>
|
3261 |
-
<line num="1839" type="stmt" count="4"/>
|
3262 |
-
<line num="1840" type="stmt" count="4"/>
|
3263 |
<line num="1841" type="stmt" count="4"/>
|
3264 |
-
<line num="1843" type="stmt" count="4"/>
|
3265 |
<line num="1844" type="stmt" count="4"/>
|
|
|
3266 |
<line num="1846" type="stmt" count="4"/>
|
3267 |
-
<line num="1848" type="stmt" count="4"/>
|
3268 |
-
<line num="1849" type="stmt" count="0"/>
|
3269 |
-
<line num="1850" type="stmt" count="0"/>
|
3270 |
-
<line num="1852" type="stmt" count="4"/>
|
3271 |
-
<line num="1853" type="stmt" count="0"/>
|
3272 |
-
<line num="1856" type="stmt" count="4"/>
|
3273 |
-
<line num="1858" type="stmt" count="4"/>
|
3274 |
-
<line num="1860" type="stmt" count="4"/>
|
3275 |
-
<line num="1863" type="stmt" count="4"/>
|
3276 |
-
<line num="1866" type="stmt" count="4"/>
|
3277 |
-
<line num="1867" type="stmt" count="4"/>
|
3278 |
-
<line num="1870" type="stmt" count="4"/>
|
3279 |
-
<line num="1873" type="stmt" count="4"/>
|
3280 |
-
<line num="1874" type="stmt" count="4"/>
|
3281 |
<line num="1875" type="stmt" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3282 |
<line num="1904" type="stmt" count="4"/>
|
3283 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
3284 |
<line num="1916" type="stmt" count="4"/>
|
3285 |
-
<line num="
|
3286 |
-
<line num="
|
3287 |
<line num="1920" type="stmt" count="4"/>
|
3288 |
-
<line num="
|
3289 |
<line num="1923" type="stmt" count="4"/>
|
3290 |
<line num="1926" type="stmt" count="4"/>
|
3291 |
-
<line num="
|
3292 |
-
<line num="
|
3293 |
-
<line num="
|
3294 |
-
<line num="
|
3295 |
-
<line num="
|
3296 |
-
<line num="
|
3297 |
-
<line num="
|
3298 |
-
<line num="
|
3299 |
-
<line num="
|
3300 |
-
<line num="
|
3301 |
-
<line num="
|
3302 |
-
<line num="
|
3303 |
-
<line num="
|
3304 |
-
<line num="
|
3305 |
-
<line num="
|
3306 |
-
<line num="
|
3307 |
-
<line num="
|
3308 |
-
<line num="
|
3309 |
-
<line num="
|
3310 |
-
<line num="
|
3311 |
-
<line num="
|
3312 |
-
<line num="
|
3313 |
-
<line num="
|
3314 |
-
<line num="
|
3315 |
-
<line num="
|
3316 |
-
<line num="
|
3317 |
-
<line num="
|
3318 |
-
<line num="
|
3319 |
-
<line num="
|
3320 |
-
<line num="
|
3321 |
-
<line num="
|
3322 |
-
<line num="
|
3323 |
-
<line num="
|
3324 |
-
<line num="
|
3325 |
-
<line num="
|
3326 |
-
<line num="2018" type="stmt" count="
|
3327 |
-
<line num="
|
3328 |
-
<line num="2022" type="stmt" count="
|
3329 |
-
<line num="
|
3330 |
-
<line num="
|
3331 |
-
<line num="
|
3332 |
-
<line num="
|
3333 |
-
<line num="
|
3334 |
-
<line num="
|
3335 |
-
<line num="
|
3336 |
-
<line num="
|
3337 |
-
<line num="
|
3338 |
-
<line num="
|
3339 |
-
<line num="
|
3340 |
-
<line num="
|
3341 |
-
<line num="
|
3342 |
-
<line num="
|
3343 |
-
<line num="
|
3344 |
-
<line num="
|
3345 |
-
<line num="
|
3346 |
-
<line num="2065" type="stmt" count="0"/>
|
3347 |
<line num="2066" type="stmt" count="0"/>
|
|
|
|
|
3348 |
<line num="2070" type="stmt" count="0"/>
|
3349 |
-
<line num="
|
3350 |
<line num="2076" type="stmt" count="0"/>
|
3351 |
<line num="2077" type="stmt" count="0"/>
|
3352 |
-
<line num="2078" type="stmt" count="0"/>
|
3353 |
-
<line num="2079" type="stmt" count="0"/>
|
3354 |
<line num="2081" type="stmt" count="0"/>
|
3355 |
-
<line num="
|
3356 |
-
<line num="
|
3357 |
-
<line num="2085" type="stmt" count="0"/>
|
3358 |
<line num="2087" type="stmt" count="0"/>
|
3359 |
-
<line num="
|
|
|
3360 |
<line num="2092" type="stmt" count="0"/>
|
3361 |
-
<line num="2093" type="stmt" count="0"/>
|
3362 |
-
<line num="2095" type="stmt" count="0"/>
|
3363 |
-
<line num="2096" type="stmt" count="0"/>
|
3364 |
<line num="2097" type="stmt" count="0"/>
|
|
|
3365 |
<line num="2099" type="stmt" count="0"/>
|
3366 |
-
<line num="
|
|
|
3367 |
<line num="2105" type="stmt" count="0"/>
|
3368 |
<line num="2106" type="stmt" count="0"/>
|
|
|
3369 |
<line num="2110" type="stmt" count="0"/>
|
3370 |
-
<line num="2113" type="stmt" count="0"/>
|
3371 |
<line num="2115" type="stmt" count="0"/>
|
3372 |
<line num="2116" type="stmt" count="0"/>
|
3373 |
<line num="2117" type="stmt" count="0"/>
|
3374 |
<line num="2119" type="stmt" count="0"/>
|
3375 |
-
<line num="
|
3376 |
-
<line num="
|
|
|
|
|
3377 |
<line num="2127" type="stmt" count="0"/>
|
3378 |
<line num="2128" type="stmt" count="0"/>
|
3379 |
-
<line num="
|
3380 |
-
<line num="
|
3381 |
-
<line num="
|
3382 |
-
<line num="
|
3383 |
-
<line num="2137" type="stmt" count="0"/>
|
3384 |
-
<line num="2139" type="stmt" count="0"/>
|
3385 |
-
<line num="2144" type="stmt" count="0"/>
|
3386 |
-
<line num="2145" type="stmt" count="0"/>
|
3387 |
-
<line num="2146" type="stmt" count="0"/>
|
3388 |
-
<line num="2148" type="stmt" count="0"/>
|
3389 |
-
<line num="2151" type="stmt" count="0"/>
|
3390 |
-
<line num="2152" type="stmt" count="0"/>
|
3391 |
-
<line num="2153" type="stmt" count="0"/>
|
3392 |
-
<line num="2154" type="stmt" count="0"/>
|
3393 |
-
<line num="2156" type="stmt" count="0"/>
|
3394 |
<line num="2157" type="stmt" count="0"/>
|
3395 |
-
<line num="
|
3396 |
-
<line num="
|
3397 |
-
<line num="
|
3398 |
-
<line num="
|
3399 |
-
<line num="
|
3400 |
-
<line num="
|
3401 |
-
<line num="
|
3402 |
-
<line num="
|
3403 |
-
<line num="
|
3404 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3405 |
<line num="2216" type="stmt" count="0"/>
|
3406 |
-
<line num="
|
|
|
3407 |
<line num="2220" type="stmt" count="0"/>
|
3408 |
-
<line num="
|
3409 |
-
<line num="
|
3410 |
-
<line num="
|
3411 |
-
<line num="
|
3412 |
-
<line num="
|
3413 |
-
<line num="
|
3414 |
-
<line num="
|
3415 |
-
<line num="
|
3416 |
-
<line num="
|
3417 |
-
<line num="
|
3418 |
-
<line num="
|
3419 |
-
<line num="2246" type="stmt" count="0"/>
|
3420 |
-
<line num="2247" type="stmt" count="0"/>
|
3421 |
-
<line num="2249" type="stmt" count="0"/>
|
3422 |
<line num="2252" type="stmt" count="0"/>
|
3423 |
-
<line num="
|
3424 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
3425 |
<line num="2268" type="stmt" count="1"/>
|
3426 |
<line num="2269" type="stmt" count="1"/>
|
3427 |
-
<line num="2270" type="stmt" count="
|
3428 |
-
<line num="
|
3429 |
-
<line num="
|
|
|
|
|
3430 |
<line num="2278" type="stmt" count="1"/>
|
3431 |
<line num="2279" type="stmt" count="0"/>
|
3432 |
<line num="2280" type="stmt" count="0"/>
|
3433 |
<line num="2281" type="stmt" count="0"/>
|
3434 |
<line num="2285" type="stmt" count="1"/>
|
3435 |
-
<line num="
|
3436 |
-
<line num="
|
3437 |
-
<line num="
|
3438 |
-
<line num="
|
3439 |
-
<line num="
|
|
|
3440 |
<line num="2296" type="stmt" count="1"/>
|
3441 |
-
<line num="2297" type="stmt" count="
|
3442 |
-
<line num="2298" type="stmt" count="
|
3443 |
<line num="2299" type="stmt" count="0"/>
|
3444 |
-
<line num="
|
3445 |
-
<line num="
|
3446 |
<line num="2305" type="stmt" count="1"/>
|
3447 |
<line num="2306" type="stmt" count="1"/>
|
3448 |
-
<line num="2307" type="stmt" count="
|
3449 |
<line num="2308" type="stmt" count="0"/>
|
3450 |
<line num="2309" type="stmt" count="0"/>
|
3451 |
-
<line num="2310" type="stmt" count="0"/>
|
3452 |
<line num="2314" type="stmt" count="1"/>
|
|
|
3453 |
<line num="2316" type="stmt" count="1"/>
|
3454 |
<line num="2317" type="stmt" count="1"/>
|
3455 |
-
<line num="2318" type="stmt" count="
|
3456 |
-
<line num="2319" type="stmt" count="
|
3457 |
-
<line num="2320" type="stmt" count="
|
3458 |
-
<line num="
|
|
|
3459 |
<line num="2325" type="stmt" count="1"/>
|
3460 |
-
<line num="
|
3461 |
-
<line num="
|
3462 |
-
<line num="
|
3463 |
-
<line num="2331" type="stmt" count="1"/>
|
3464 |
-
<line num="2333" type="stmt" count="1"/>
|
3465 |
-
<line num="2334" type="stmt" count="1"/>
|
3466 |
-
<line num="2335" type="stmt" count="1"/>
|
3467 |
-
<line num="2336" type="stmt" count="0"/>
|
3468 |
-
<line num="2337" type="stmt" count="0"/>
|
3469 |
-
<line num="2338" type="stmt" count="0"/>
|
3470 |
<line num="2343" type="stmt" count="1"/>
|
3471 |
-
<line num="2344" type="stmt" count="
|
3472 |
-
<line num="2345" type="stmt" count="
|
3473 |
-
<line num="2346" type="stmt" count="
|
3474 |
-
<line num="2347" type="stmt" count="1"/>
|
3475 |
<line num="2348" type="stmt" count="1"/>
|
3476 |
-
<line num="2349" type="stmt" count="
|
3477 |
-
<line num="
|
3478 |
-
<line num="
|
3479 |
<line num="2354" type="stmt" count="1"/>
|
|
|
3480 |
<line num="2356" type="stmt" count="1"/>
|
3481 |
-
<line num="
|
3482 |
-
<line num="
|
3483 |
-
<line num="
|
|
|
|
|
3484 |
<line num="2373" type="stmt" count="0"/>
|
3485 |
<line num="2374" type="stmt" count="0"/>
|
3486 |
<line num="2375" type="stmt" count="0"/>
|
3487 |
-
<line num="2377" type="stmt" count="
|
3488 |
-
<line num="2378" type="stmt" count="0"/>
|
3489 |
-
<line num="2381" type="stmt" count="1"/>
|
3490 |
-
<line num="2382" type="stmt" count="1"/>
|
3491 |
-
<line num="2383" type="stmt" count="1"/>
|
3492 |
-
<line num="2384" type="stmt" count="1"/>
|
3493 |
-
<line num="2385" type="stmt" count="1"/>
|
3494 |
<line num="2387" type="stmt" count="1"/>
|
3495 |
-
<line num="
|
3496 |
-
<line num="
|
3497 |
-
<line num="
|
3498 |
-
<line num="
|
3499 |
-
<line num="
|
3500 |
-
<line num="2403" type="stmt" count="
|
3501 |
<line num="2404" type="stmt" count="0"/>
|
3502 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
3503 |
<line num="2416" type="stmt" count="1"/>
|
3504 |
-
<line num="
|
3505 |
-
<line num="
|
3506 |
-
<line num="
|
3507 |
-
<line num="
|
|
|
|
|
|
|
3508 |
<line num="2429" type="stmt" count="1"/>
|
3509 |
-
<line num="
|
3510 |
-
<line num="
|
3511 |
-
<line num="2434" type="stmt" count="
|
3512 |
-
<line num="
|
3513 |
-
<line num="
|
3514 |
-
<line num="
|
3515 |
-
<line num="
|
3516 |
-
<line num="
|
3517 |
-
<line num="2442" type="stmt" count="0"/>
|
3518 |
-
<line num="2445" type="stmt" count="1"/>
|
3519 |
-
<line num="2446" type="stmt" count="1"/>
|
3520 |
-
<line num="2449" type="stmt" count="1"/>
|
3521 |
<line num="2450" type="stmt" count="1"/>
|
3522 |
-
<line num="
|
3523 |
-
<line num="2454" type="stmt" count="
|
3524 |
-
<line num="
|
3525 |
-
<line num="2456" type="stmt" count="0"/>
|
3526 |
-
<line num="2458" type="stmt" count="1"/>
|
3527 |
<line num="2459" type="stmt" count="1"/>
|
3528 |
-
<line num="
|
3529 |
-
<line num="
|
3530 |
-
<line num="
|
3531 |
-
<line num="
|
3532 |
-
<line num="
|
3533 |
-
<line num="
|
3534 |
-
<line num="
|
3535 |
-
<line num="
|
3536 |
-
<line num="
|
3537 |
-
<line num="
|
3538 |
-
<line num="
|
3539 |
-
<line num="
|
3540 |
-
<line num="
|
3541 |
-
<line num="
|
3542 |
-
<line num="
|
3543 |
-
<line num="
|
3544 |
-
<line num="
|
|
|
|
|
|
|
3545 |
<line num="2512" type="stmt" count="0"/>
|
3546 |
<line num="2515" type="stmt" count="0"/>
|
|
|
3547 |
<line num="2518" type="stmt" count="0"/>
|
3548 |
<line num="2519" type="stmt" count="0"/>
|
3549 |
-
<line num="
|
3550 |
<line num="2524" type="stmt" count="0"/>
|
3551 |
-
<line num="
|
3552 |
-
<line num="2526" type="stmt" count="0"/>
|
3553 |
<line num="2528" type="stmt" count="0"/>
|
3554 |
<line num="2529" type="stmt" count="0"/>
|
3555 |
-
<line num="
|
|
|
3556 |
<line num="2535" type="stmt" count="0"/>
|
3557 |
-
<line num="
|
3558 |
-
<line num="2540" type="stmt" count="0"/>
|
3559 |
-
<line num="2541" type="stmt" count="0"/>
|
3560 |
-
<line num="2542" type="stmt" count="0"/>
|
3561 |
-
<line num="2545" type="stmt" count="0"/>
|
3562 |
<line num="2547" type="stmt" count="0"/>
|
3563 |
-
<line num="
|
|
|
3564 |
<line num="2551" type="stmt" count="0"/>
|
3565 |
<line num="2552" type="stmt" count="0"/>
|
3566 |
-
<line num="
|
|
|
3567 |
<line num="2557" type="stmt" count="0"/>
|
3568 |
<line num="2558" type="stmt" count="0"/>
|
3569 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
3570 |
<line num="2570" type="stmt" count="0"/>
|
3571 |
<line num="2571" type="stmt" count="0"/>
|
3572 |
-
<line num="
|
3573 |
-
<line num="2574" type="stmt" count="0"/>
|
3574 |
-
<line num="2575" type="stmt" count="0"/>
|
3575 |
<line num="2576" type="stmt" count="0"/>
|
3576 |
-
<line num="
|
|
|
3577 |
<line num="2580" type="stmt" count="0"/>
|
3578 |
<line num="2581" type="stmt" count="0"/>
|
3579 |
-
<line num="
|
3580 |
-
<line num="2584" type="stmt" count="0"/>
|
3581 |
-
<line num="2585" type="stmt" count="0"/>
|
3582 |
-
<line num="2587" type="stmt" count="0"/>
|
3583 |
-
<line num="2589" type="stmt" count="0"/>
|
3584 |
-
<line num="2590" type="stmt" count="0"/>
|
3585 |
<line num="2591" type="stmt" count="0"/>
|
3586 |
-
<line num="
|
3587 |
-
<line num="
|
3588 |
-
<line num="2596" type="stmt" count="0"/>
|
3589 |
-
<line num="2599" type="stmt" count="0"/>
|
3590 |
-
<line num="2600" type="stmt" count="0"/>
|
3591 |
-
<line num="2601" type="stmt" count="0"/>
|
3592 |
-
<line num="2602" type="stmt" count="0"/>
|
3593 |
-
<line num="2603" type="stmt" count="0"/>
|
3594 |
-
<line num="2605" type="stmt" count="0"/>
|
3595 |
<line num="2606" type="stmt" count="0"/>
|
3596 |
-
<line num="2608" type="stmt" count="0"/>
|
3597 |
<line num="2609" type="stmt" count="0"/>
|
3598 |
<line num="2610" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
3599 |
<line num="2619" type="stmt" count="0"/>
|
3600 |
-
<line num="
|
3601 |
-
<line num="
|
|
|
|
|
|
|
|
|
3602 |
<line num="2634" type="stmt" count="0"/>
|
|
|
|
|
3603 |
<line num="2637" type="stmt" count="0"/>
|
3604 |
-
<line num="2638" type="stmt" count="0"/>
|
3605 |
-
<line num="2639" type="stmt" count="0"/>
|
3606 |
<line num="2640" type="stmt" count="0"/>
|
3607 |
<line num="2643" type="stmt" count="0"/>
|
3608 |
<line num="2644" type="stmt" count="0"/>
|
3609 |
<line num="2645" type="stmt" count="0"/>
|
3610 |
<line num="2646" type="stmt" count="0"/>
|
3611 |
-
<line num="
|
3612 |
<line num="2651" type="stmt" count="0"/>
|
3613 |
<line num="2652" type="stmt" count="0"/>
|
3614 |
-
<line num="2653" type="stmt" count="0"/>
|
3615 |
-
<line num="2654" type="stmt" count="0"/>
|
3616 |
<line num="2655" type="stmt" count="0"/>
|
3617 |
-
<line num="
|
|
|
|
|
|
|
3618 |
<line num="2662" type="stmt" count="0"/>
|
3619 |
-
<line num="2663" type="stmt" count="0"/>
|
3620 |
<line num="2664" type="stmt" count="0"/>
|
3621 |
<line num="2665" type="stmt" count="0"/>
|
3622 |
-
<line num="
|
3623 |
-
<line num="
|
3624 |
-
<line num="
|
3625 |
-
<line num="
|
3626 |
-
<line num="
|
3627 |
-
<line num="2678" type="stmt" count="0"/>
|
3628 |
-
<line num="2679" type="stmt" count="0"/>
|
3629 |
-
<line num="2680" type="stmt" count="0"/>
|
3630 |
-
<line num="2683" type="stmt" count="0"/>
|
3631 |
-
<line num="2684" type="stmt" count="0"/>
|
3632 |
<line num="2685" type="stmt" count="0"/>
|
3633 |
-
<line num="2686" type="stmt" count="0"/>
|
3634 |
<line num="2688" type="stmt" count="0"/>
|
3635 |
-
<line num="
|
3636 |
-
<line num="2692" type="stmt" count="0"/>
|
3637 |
-
<line num="2693" type="stmt" count="0"/>
|
3638 |
<line num="2694" type="stmt" count="0"/>
|
3639 |
-
<line num="
|
3640 |
-
<line num="
|
3641 |
-
<line num="
|
3642 |
-
<line num="
|
|
|
|
|
3643 |
<line num="2713" type="stmt" count="0"/>
|
3644 |
-
<line num="
|
3645 |
-
<line num="2719" type="stmt" count="0"/>
|
3646 |
<line num="2722" type="stmt" count="0"/>
|
|
|
3647 |
<line num="2724" type="stmt" count="0"/>
|
3648 |
-
<line num="
|
|
|
|
|
3649 |
<line num="2730" type="stmt" count="0"/>
|
|
|
|
|
3650 |
<line num="2733" type="stmt" count="0"/>
|
3651 |
-
<line num="
|
3652 |
-
<line num="
|
|
|
|
|
3653 |
<line num="2741" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
3654 |
<line num="2749" type="stmt" count="0"/>
|
3655 |
-
<line num="
|
3656 |
-
<line num="
|
3657 |
-
<line num="
|
3658 |
-
<line num="
|
3659 |
-
<line num="
|
3660 |
-
<line num="
|
3661 |
-
<line num="
|
3662 |
-
<line num="
|
3663 |
-
<line num="
|
3664 |
-
<line num="
|
3665 |
-
<line num="
|
3666 |
-
<line num="
|
3667 |
-
<line num="
|
3668 |
-
<line num="
|
3669 |
-
<line num="
|
3670 |
-
<line num="
|
3671 |
-
<line num="
|
3672 |
-
<line num="
|
3673 |
-
<line num="
|
3674 |
-
<line num="
|
3675 |
-
<line num="
|
3676 |
-
<line num="
|
3677 |
-
<line num="
|
3678 |
-
<line num="
|
3679 |
-
<line num="
|
3680 |
-
<line num="
|
3681 |
-
<line num="
|
3682 |
-
<line num="
|
3683 |
-
<line num="
|
3684 |
-
<line num="
|
3685 |
-
<line num="
|
3686 |
-
<line num="
|
3687 |
-
<line num="
|
3688 |
-
<line num="
|
3689 |
-
<line num="
|
3690 |
-
<line num="
|
3691 |
-
<line num="
|
3692 |
-
<line num="
|
3693 |
-
<line num="
|
3694 |
-
<line num="
|
3695 |
-
<line num="
|
3696 |
-
<line num="
|
3697 |
-
<line num="
|
3698 |
-
<line num="
|
3699 |
-
<line num="
|
3700 |
-
<line num="
|
3701 |
-
<line num="
|
3702 |
-
<line num="
|
3703 |
-
<line num="
|
3704 |
-
<line num="
|
3705 |
-
<line num="
|
3706 |
-
<line num="
|
3707 |
-
<line num="
|
3708 |
-
<line num="
|
3709 |
-
<line num="
|
3710 |
-
<line num="
|
3711 |
-
<line num="
|
3712 |
-
<line num="
|
3713 |
-
<line num="
|
3714 |
-
<line num="
|
3715 |
-
<line num="
|
3716 |
-
<line num="
|
3717 |
-
<line num="
|
3718 |
-
<line num="
|
3719 |
-
<line num="
|
3720 |
-
<line num="
|
3721 |
-
<line num="
|
3722 |
-
<line num="
|
3723 |
-
<line num="2879" type="stmt" count="29"/>
|
3724 |
-
<line num="2880" type="stmt" count="29"/>
|
3725 |
-
<line num="2882" type="stmt" count="29"/>
|
3726 |
-
<line num="2884" type="stmt" count="29"/>
|
3727 |
-
<line num="2896" type="method" name="set_time_limit" visibility="public" complexity="2" crap="2" count="4"/>
|
3728 |
-
<line num="2897" type="stmt" count="4"/>
|
3729 |
-
<line num="2899" type="stmt" count="4"/>
|
3730 |
-
<line num="2900" type="stmt" count="4"/>
|
3731 |
-
<line num="2907" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
|
3732 |
-
<line num="2908" type="stmt" count="0"/>
|
3733 |
-
<line num="2909" type="stmt" count="0"/>
|
3734 |
-
<line num="2912" type="stmt" count="0"/>
|
3735 |
-
<line num="2913" type="stmt" count="0"/>
|
3736 |
<line num="2914" type="stmt" count="0"/>
|
3737 |
-
<line num="2916" type="stmt" count="0"/>
|
3738 |
<line num="2917" type="stmt" count="0"/>
|
3739 |
<line num="2918" type="stmt" count="0"/>
|
3740 |
-
<line num="2921" type="stmt" count="0"/>
|
3741 |
<line num="2922" type="stmt" count="0"/>
|
3742 |
-
<line num="2923" type="stmt" count="0"/>
|
3743 |
<line num="2925" type="stmt" count="0"/>
|
3744 |
<line num="2926" type="stmt" count="0"/>
|
3745 |
-
<line num="
|
3746 |
-
<line num="
|
3747 |
-
<line num="2942" type="
|
3748 |
-
<line num="2943" type="stmt" count="
|
3749 |
-
<line num="
|
3750 |
-
<line num="
|
3751 |
-
<line num="2947" type="stmt" count="
|
3752 |
-
<line num="2948" type="stmt" count="
|
3753 |
-
<line num="
|
3754 |
-
<line num="2951" type="stmt" count="
|
3755 |
-
<line num="
|
3756 |
-
<line num="
|
3757 |
-
<line num="
|
3758 |
-
<line num="
|
3759 |
<line num="2958" type="stmt" count="0"/>
|
3760 |
<line num="2959" type="stmt" count="0"/>
|
3761 |
-
<line num="
|
3762 |
-
<line num="
|
3763 |
-
<line num="
|
3764 |
-
<line num="
|
3765 |
-
<line num="
|
3766 |
-
<line num="
|
3767 |
-
<line num="
|
3768 |
-
<line num="
|
3769 |
-
<line num="
|
3770 |
-
<line num="
|
3771 |
-
<line num="
|
3772 |
-
<line num="
|
3773 |
-
<line num="
|
3774 |
-
<line num="
|
3775 |
-
<line num="
|
3776 |
-
<line num="
|
3777 |
-
<line num="
|
3778 |
-
<line num="
|
3779 |
-
<line num="
|
3780 |
-
<line num="
|
3781 |
-
<line num="
|
3782 |
-
<line num="
|
3783 |
-
<line num="
|
3784 |
-
<line num="
|
3785 |
-
<line num="
|
3786 |
-
<
|
3787 |
-
<line num="3039" type="stmt" count="1"/>
|
3788 |
-
<line num="3040" type="stmt" count="1"/>
|
3789 |
-
<line num="3043" type="stmt" count="1"/>
|
3790 |
-
<line num="3044" type="stmt" count="1"/>
|
3791 |
-
<line num="3046" type="stmt" count="0"/>
|
3792 |
-
<line num="3056" type="stmt" count="1"/>
|
3793 |
-
<line num="3059" type="stmt" count="1"/>
|
3794 |
-
<line num="3062" type="stmt" count="1"/>
|
3795 |
-
<line num="3063" type="stmt" count="1"/>
|
3796 |
-
<line num="3064" type="stmt" count="1"/>
|
3797 |
-
<line num="3071" type="method" name="add_thickbox" visibility="public" complexity="2" crap="6" count="0"/>
|
3798 |
-
<line num="3072" type="stmt" count="0"/>
|
3799 |
-
<line num="3073" type="stmt" count="0"/>
|
3800 |
-
<line num="3074" type="stmt" count="0"/>
|
3801 |
-
<line num="3075" type="stmt" count="0"/>
|
3802 |
-
<metrics loc="3076" ncloc="1592" classes="1" methods="29" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1109" coveredstatements="525" elements="1138" coveredelements="529"/>
|
3803 |
</file>
|
3804 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
|
3805 |
<class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
3806 |
<metrics complexity="26" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="82" coveredstatements="3" elements="90" coveredelements="4"/>
|
3807 |
</class>
|
3808 |
-
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
3809 |
-
<line num="57" type="stmt" count="
|
3810 |
-
<line num="59" type="stmt" count="
|
3811 |
-
<line num="60" type="stmt" count="
|
3812 |
<line num="72" type="method" name="add_log" visibility="public" complexity="4" crap="20" count="0"/>
|
3813 |
<line num="73" type="stmt" count="0"/>
|
3814 |
<line num="74" type="stmt" count="0"/>
|
@@ -3901,12 +3734,12 @@
|
|
3901 |
<class name="Boldgrid_Backup_Admin_Cron_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
3902 |
<metrics complexity="17" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="66" coveredstatements="5" elements="72" coveredelements="6"/>
|
3903 |
</class>
|
3904 |
-
<line num="65" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
3905 |
-
<line num="66" type="stmt" count="
|
3906 |
-
<line num="68" type="stmt" count="
|
3907 |
-
<line num="69" type="stmt" count="
|
3908 |
-
<line num="70" type="stmt" count="
|
3909 |
-
<line num="71" type="stmt" count="
|
3910 |
<line num="80" type="method" name="clean_up" visibility="public" complexity="1" crap="2" count="0"/>
|
3911 |
<line num="81" type="stmt" count="0"/>
|
3912 |
<line num="82" type="stmt" count="0"/>
|
@@ -3979,9 +3812,9 @@
|
|
3979 |
<class name="Boldgrid_Backup_Admin_Cron" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
3980 |
<metrics complexity="131" methods="26" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="434" coveredstatements="88" elements="460" coveredelements="90"/>
|
3981 |
</class>
|
3982 |
-
<line num="87" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
3983 |
-
<line num="89" type="stmt" count="
|
3984 |
-
<line num="90" type="stmt" count="
|
3985 |
<line num="97" type="method" name="get_cron_command" visibility="public" complexity="1" crap="2" count="0"/>
|
3986 |
<line num="98" type="stmt" count="0"/>
|
3987 |
<line num="114" type="method" name="add_cron_entry" visibility="public" complexity="9" crap="90" count="0"/>
|
@@ -4482,9 +4315,9 @@
|
|
4482 |
<class name="Boldgrid_Backup_Admin_Dashboard_Widget" namespace="global" fullPackage="Boldgrid.Backup.Admin.Dashboard">
|
4483 |
<metrics complexity="5" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="18" coveredstatements="2" elements="20" coveredelements="3"/>
|
4484 |
</class>
|
4485 |
-
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
4486 |
-
<line num="38" type="stmt" count="
|
4487 |
-
<line num="39" type="stmt" count="
|
4488 |
<line num="50" type="method" name="filter_feature" visibility="public" complexity="4" crap="20" count="0"/>
|
4489 |
<line num="52" type="stmt" count="0"/>
|
4490 |
<line num="53" type="stmt" count="0"/>
|
@@ -4506,11 +4339,11 @@
|
|
4506 |
</file>
|
4507 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-dashboard.php">
|
4508 |
<class name="Boldgrid_Backup_Admin_Dashboard" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
4509 |
-
<metrics complexity="5" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="
|
4510 |
</class>
|
4511 |
-
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
4512 |
-
<line num="38" type="stmt" count="
|
4513 |
-
<line num="39" type="stmt" count="
|
4514 |
<line num="48" type="method" name="admin_enqueue_scripts" visibility="public" complexity="2" crap="6" count="0"/>
|
4515 |
<line num="49" type="stmt" count="0"/>
|
4516 |
<line num="50" type="stmt" count="0"/>
|
@@ -4529,153 +4362,126 @@
|
|
4529 |
<line num="81" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
4530 |
<line num="82" type="stmt" count="0"/>
|
4531 |
<line num="83" type="stmt" count="0"/>
|
4532 |
-
<
|
4533 |
-
<line num="86" type="stmt" count="0"/>
|
4534 |
-
<line num="87" type="stmt" count="0"/>
|
4535 |
-
<line num="88" type="stmt" count="0"/>
|
4536 |
-
<line num="90" type="stmt" count="0"/>
|
4537 |
-
<line num="91" type="stmt" count="0"/>
|
4538 |
-
<line num="93" type="stmt" count="0"/>
|
4539 |
-
<line num="94" type="stmt" count="0"/>
|
4540 |
-
<line num="95" type="stmt" count="0"/>
|
4541 |
-
<line num="102" type="stmt" count="0"/>
|
4542 |
-
<line num="104" type="stmt" count="0"/>
|
4543 |
-
<line num="105" type="stmt" count="0"/>
|
4544 |
-
<line num="107" type="stmt" count="0"/>
|
4545 |
-
<line num="112" type="stmt" count="0"/>
|
4546 |
-
<line num="113" type="stmt" count="0"/>
|
4547 |
-
<line num="114" type="stmt" count="0"/>
|
4548 |
-
<line num="118" type="stmt" count="0"/>
|
4549 |
-
<line num="119" type="stmt" count="0"/>
|
4550 |
-
<metrics loc="120" ncloc="68" classes="1" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="2" elements="39" coveredelements="3"/>
|
4551 |
</file>
|
4552 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-dump.php">
|
4553 |
<class name="Boldgrid_Backup_Admin_Db_Dump" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
4554 |
-
<metrics complexity="
|
4555 |
</class>
|
4556 |
-
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
4557 |
-
<line num="40" type="stmt" count="
|
4558 |
-
<line num="41" type="stmt" count="
|
4559 |
-
<line num="53" type="method" name="dump" visibility="public" complexity="
|
4560 |
<line num="54" type="stmt" count="4"/>
|
4561 |
<line num="56" type="stmt" count="4"/>
|
4562 |
<line num="57" type="stmt" count="4"/>
|
4563 |
<line num="58" type="stmt" count="0"/>
|
4564 |
<line num="70" type="stmt" count="4"/>
|
4565 |
-
<line num="
|
4566 |
-
<line num="
|
|
|
4567 |
<line num="76" type="stmt" count="4"/>
|
4568 |
<line num="77" type="stmt" count="4"/>
|
4569 |
-
<line num="
|
4570 |
-
<line num="
|
4571 |
-
<line num="
|
4572 |
<line num="90" type="stmt" count="4"/>
|
4573 |
<line num="91" type="stmt" count="4"/>
|
4574 |
<line num="92" type="stmt" count="4"/>
|
4575 |
<line num="93" type="stmt" count="4"/>
|
4576 |
-
<line num="
|
4577 |
<line num="106" type="stmt" count="4"/>
|
4578 |
<line num="107" type="stmt" count="4"/>
|
4579 |
-
<line num="108" type="stmt" count="4"/>
|
4580 |
<line num="110" type="stmt" count="4"/>
|
4581 |
-
<line num="111" type="stmt" count="
|
4582 |
-
<line num="112" type="stmt" count="
|
4583 |
-
<line num="113" type="stmt" count="
|
4584 |
-
<line num="115" type="stmt" count="
|
4585 |
-
<line num="116" type="stmt" count="
|
|
|
4586 |
<line num="118" type="stmt" count="0"/>
|
4587 |
-
<line num="119" type="stmt" count="0"/>
|
4588 |
-
<line num="121" type="stmt" count="3"/>
|
4589 |
-
<line num="124" type="stmt" count="4"/>
|
4590 |
-
<line num="125" type="stmt" count="4"/>
|
4591 |
<line num="126" type="stmt" count="4"/>
|
4592 |
-
<line num="
|
4593 |
-
<line num="
|
4594 |
-
<line num="
|
4595 |
-
<line num="
|
4596 |
-
<line num="
|
4597 |
-
<line num="
|
4598 |
-
<line num="
|
4599 |
-
<line num="
|
4600 |
-
<line num="
|
4601 |
-
<line num="158" type="stmt" count="5"/>
|
4602 |
<line num="159" type="stmt" count="5"/>
|
4603 |
-
<line num="160" type="stmt" count="
|
4604 |
-
<line num="
|
4605 |
-
<line num="
|
4606 |
-
<line num="
|
4607 |
-
<line num="
|
|
|
4608 |
<line num="174" type="stmt" count="1"/>
|
4609 |
-
<line num="
|
4610 |
-
<line num="
|
4611 |
-
<line num="179" type="stmt" count="
|
4612 |
-
<line num="
|
4613 |
-
<line num="
|
4614 |
-
<line num="
|
4615 |
-
<line num="
|
4616 |
-
<line num="
|
4617 |
-
<line num="
|
4618 |
-
<line num="
|
4619 |
-
<line num="
|
4620 |
-
<line num="
|
4621 |
-
<line num="
|
4622 |
-
<line num="
|
4623 |
-
<line num="
|
4624 |
-
<line num="
|
4625 |
-
<line num="
|
4626 |
-
<line num="
|
4627 |
-
<line num="
|
4628 |
-
<line num="
|
4629 |
-
<line num="
|
4630 |
-
<line num="
|
|
|
4631 |
<line num="221" type="stmt" count="0"/>
|
4632 |
-
<line num="223" type="stmt" count="0"/>
|
4633 |
-
<line num="225" type="stmt" count="0"/>
|
4634 |
<line num="228" type="stmt" count="0"/>
|
4635 |
<line num="229" type="stmt" count="0"/>
|
4636 |
-
<line num="
|
4637 |
<line num="232" type="stmt" count="0"/>
|
4638 |
-
<line num="
|
4639 |
-
<line num="
|
4640 |
-
<line num="
|
4641 |
-
<line num="
|
4642 |
-
<line num="
|
4643 |
-
<line num="
|
4644 |
-
<line num="
|
4645 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
4646 |
<line num="267" type="stmt" count="0"/>
|
4647 |
-
<line num="268" type="stmt" count="0"/>
|
4648 |
<line num="269" type="stmt" count="0"/>
|
4649 |
-
<line num="
|
4650 |
-
<line num="
|
4651 |
-
<line num="273" type="stmt" count="0"/>
|
4652 |
-
<line num="274" type="stmt" count="0"/>
|
4653 |
-
<line num="275" type="stmt" count="0"/>
|
4654 |
-
<line num="277" type="stmt" count="0"/>
|
4655 |
-
<line num="278" type="stmt" count="0"/>
|
4656 |
-
<line num="280" type="stmt" count="0"/>
|
4657 |
-
<line num="281" type="stmt" count="0"/>
|
4658 |
<line num="283" type="stmt" count="0"/>
|
4659 |
-
<line num="
|
4660 |
-
<line num="
|
4661 |
-
<line num="
|
4662 |
-
<line num="
|
4663 |
-
<line num="
|
4664 |
-
<line num="
|
4665 |
-
<line num="
|
4666 |
-
<line num="
|
4667 |
-
<
|
4668 |
-
<line num="320" type="stmt" count="0"/>
|
4669 |
-
<line num="322" type="stmt" count="0"/>
|
4670 |
-
<metrics loc="324" ncloc="170" classes="1" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="109" coveredstatements="64" elements="114" coveredelements="66"/>
|
4671 |
</file>
|
4672 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-get.php">
|
4673 |
<class name="Boldgrid_Backup_Admin_Db_Get" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
4674 |
<metrics complexity="11" methods="5" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="35" elements="49" coveredelements="38"/>
|
4675 |
</class>
|
4676 |
-
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
4677 |
-
<line num="40" type="stmt" count="
|
4678 |
-
<line num="41" type="stmt" count="
|
4679 |
<line num="55" type="method" name="get_by_type" visibility="public" complexity="3" crap="3.00" count="6"/>
|
4680 |
<line num="56" type="stmt" count="6"/>
|
4681 |
<line num="58" type="stmt" count="6"/>
|
@@ -4726,143 +4532,61 @@
|
|
4726 |
</file>
|
4727 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-import.php">
|
4728 |
<class name="Boldgrid_Backup_Admin_Db_Import" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
4729 |
-
<metrics complexity="
|
4730 |
</class>
|
4731 |
-
<line num="45" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="
|
4732 |
-
<line num="47" type="stmt" count="
|
4733 |
-
<line num="48" type="stmt" count="
|
4734 |
-
<line num="49" type="stmt" count="
|
4735 |
-
<line num="50" type="stmt" count="
|
4736 |
-
<line num="
|
4737 |
-
<line num="
|
4738 |
-
<line num="
|
4739 |
-
<line num="
|
4740 |
-
<line num="
|
4741 |
-
<line num="
|
4742 |
-
<line num="
|
4743 |
-
<line num="
|
4744 |
-
<line num="
|
4745 |
-
<line num="
|
4746 |
-
<line num="
|
4747 |
-
<line num="
|
4748 |
-
<line num="
|
4749 |
-
<line num="
|
4750 |
-
<line num="96" type="stmt" count="
|
4751 |
-
<line num="
|
4752 |
-
<line num="
|
4753 |
-
<line num="102" type="stmt" count="
|
4754 |
-
<line num="
|
4755 |
-
<line num="118" type="method" name="import_from_archive" visibility="public" complexity="3" crap="3.14" count="1"/>
|
4756 |
-
<line num="119" type="stmt" count="1"/>
|
4757 |
-
<line num="120" type="stmt" count="1"/>
|
4758 |
-
<line num="121" type="stmt" count="1"/>
|
4759 |
-
<line num="122" type="stmt" count="1"/>
|
4760 |
<line num="123" type="stmt" count="1"/>
|
4761 |
-
<line num="124" type="stmt" count="
|
4762 |
-
<line num="
|
4763 |
-
<line num="
|
4764 |
-
<line num="
|
4765 |
-
<line num="
|
4766 |
-
<line num="
|
4767 |
-
<line num="
|
4768 |
-
<line num="
|
4769 |
-
<line num="
|
4770 |
-
<line num="
|
4771 |
-
<line num="
|
4772 |
-
<line num="
|
4773 |
-
<line num="
|
4774 |
-
<line num="
|
4775 |
-
<line num="
|
4776 |
-
<line num="
|
4777 |
-
<line num="
|
4778 |
-
<line num="
|
4779 |
-
<line num="
|
4780 |
-
<
|
4781 |
-
<line num="191" type="method" name="import_string" visibility="public" complexity="2" crap="2.02" count="1"/>
|
4782 |
-
<line num="192" type="stmt" count="1"/>
|
4783 |
-
<line num="194" type="stmt" count="1"/>
|
4784 |
-
<line num="196" type="stmt" count="1"/>
|
4785 |
-
<line num="197" type="stmt" count="0"/>
|
4786 |
-
<line num="200" type="stmt" count="1"/>
|
4787 |
-
<line num="202" type="stmt" count="1"/>
|
4788 |
-
<line num="215" type="method" name="fix_view_statements" visibility="public" complexity="7" crap="7" count="3"/>
|
4789 |
-
<line num="217" type="stmt" count="3"/>
|
4790 |
-
<line num="219" type="stmt" count="3"/>
|
4791 |
-
<line num="220" type="stmt" count="3"/>
|
4792 |
-
<line num="221" type="stmt" count="3"/>
|
4793 |
-
<line num="222" type="stmt" count="3"/>
|
4794 |
-
<line num="223" type="stmt" count="3"/>
|
4795 |
-
<line num="225" type="stmt" count="3"/>
|
4796 |
-
<line num="226" type="stmt" count="1"/>
|
4797 |
-
<line num="229" type="stmt" count="3"/>
|
4798 |
-
<line num="231" type="stmt" count="3"/>
|
4799 |
-
<line num="232" type="stmt" count="1"/>
|
4800 |
-
<line num="235" type="stmt" count="3"/>
|
4801 |
-
<line num="237" type="stmt" count="3"/>
|
4802 |
-
<line num="238" type="stmt" count="3"/>
|
4803 |
-
<line num="239" type="stmt" count="2"/>
|
4804 |
-
<line num="240" type="stmt" count="2"/>
|
4805 |
-
<line num="241" type="stmt" count="3"/>
|
4806 |
-
<line num="243" type="stmt" count="3"/>
|
4807 |
-
<line num="245" type="stmt" count="3"/>
|
4808 |
-
<line num="258" type="method" name="fix_definer" visibility="public" complexity="3" crap="3" count="3"/>
|
4809 |
-
<line num="259" type="stmt" count="3"/>
|
4810 |
-
<line num="260" type="stmt" count="3"/>
|
4811 |
-
<line num="261" type="stmt" count="3"/>
|
4812 |
-
<line num="262" type="stmt" count="3"/>
|
4813 |
-
<line num="263" type="stmt" count="1"/>
|
4814 |
-
<line num="264" type="stmt" count="1"/>
|
4815 |
-
<line num="265" type="stmt" count="3"/>
|
4816 |
-
<line num="268" type="stmt" count="3"/>
|
4817 |
-
<line num="269" type="stmt" count="3"/>
|
4818 |
-
<line num="270" type="stmt" count="3"/>
|
4819 |
-
<line num="271" type="stmt" count="1"/>
|
4820 |
-
<line num="274" type="stmt" count="3"/>
|
4821 |
-
<line num="285" type="method" name="has_db_privileges" visibility="public" complexity="3" crap="3" count="6"/>
|
4822 |
-
<line num="286" type="stmt" count="6"/>
|
4823 |
-
<line num="287" type="stmt" count="6"/>
|
4824 |
-
<line num="288" type="stmt" count="6"/>
|
4825 |
-
<line num="290" type="stmt" count="1"/>
|
4826 |
-
<line num="291" type="stmt" count="1"/>
|
4827 |
-
<line num="293" type="stmt" count="1"/>
|
4828 |
-
<line num="305" type="method" name="get_db_privileges" visibility="public" complexity="7" crap="7" count="6"/>
|
4829 |
-
<line num="306" type="stmt" count="6"/>
|
4830 |
-
<line num="308" type="stmt" count="6"/>
|
4831 |
-
<line num="309" type="stmt" count="6"/>
|
4832 |
-
<line num="310" type="stmt" count="6"/>
|
4833 |
-
<line num="311" type="stmt" count="6"/>
|
4834 |
-
<line num="312" type="stmt" count="6"/>
|
4835 |
-
<line num="314" type="stmt" count="6"/>
|
4836 |
-
<line num="315" type="stmt" count="5"/>
|
4837 |
-
<line num="317" type="stmt" count="1"/>
|
4838 |
-
<line num="318" type="stmt" count="1"/>
|
4839 |
-
<line num="320" type="stmt" count="1"/>
|
4840 |
-
<line num="321" type="stmt" count="1"/>
|
4841 |
-
<line num="333" type="method" name="show_grants_query" visibility="public" complexity="1" crap="1" count="5"/>
|
4842 |
-
<line num="334" type="stmt" count="5"/>
|
4843 |
-
<line num="335" type="stmt" count="5"/>
|
4844 |
-
<line num="336" type="stmt" count="5"/>
|
4845 |
-
<line num="351" type="method" name="exec_import" visibility="public" complexity="1" crap="1" count="2"/>
|
4846 |
-
<line num="352" type="stmt" count="2"/>
|
4847 |
-
<line num="363" type="method" name="get_grants_array" visibility="public" complexity="3" crap="3" count="2"/>
|
4848 |
-
<line num="364" type="stmt" count="2"/>
|
4849 |
-
<line num="366" type="stmt" count="2"/>
|
4850 |
-
<line num="367" type="stmt" count="2"/>
|
4851 |
-
<line num="368" type="stmt" count="2"/>
|
4852 |
-
<line num="370" type="stmt" count="2"/>
|
4853 |
-
<line num="371" type="stmt" count="2"/>
|
4854 |
-
<line num="372" type="stmt" count="2"/>
|
4855 |
-
<line num="373" type="stmt" count="2"/>
|
4856 |
-
<line num="375" type="stmt" count="2"/>
|
4857 |
-
<metrics loc="377" ncloc="207" classes="1" methods="13" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="113" coveredstatements="110" elements="126" coveredelements="121"/>
|
4858 |
</file>
|
4859 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-omit.php">
|
4860 |
<class name="Boldgrid_Backup_Admin_Db_Omit" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
4861 |
<metrics complexity="37" methods="11" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="39" elements="95" coveredelements="42"/>
|
4862 |
</class>
|
4863 |
-
<line num="61" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
4864 |
-
<line num="62" type="stmt" count="
|
4865 |
-
<line num="63" type="stmt" count="
|
4866 |
<line num="74" type="method" name="email_part" visibility="public" complexity="3" crap="3" count="4"/>
|
4867 |
<line num="75" type="stmt" count="4"/>
|
4868 |
<line num="78" type="stmt" count="4"/>
|
@@ -4959,11 +4683,11 @@
|
|
4959 |
</file>
|
4960 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-email.php">
|
4961 |
<class name="Boldgrid_Backup_Admin_Email" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
4962 |
-
<metrics complexity="16" methods="7" coveredmethods="
|
4963 |
</class>
|
4964 |
-
<line num="48" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
4965 |
-
<line num="49" type="stmt" count="
|
4966 |
-
<line num="50" type="stmt" count="
|
4967 |
<line num="63" type="method" name="fill_generic_template" visibility="public" complexity="2" crap="6" count="0"/>
|
4968 |
<line num="64" type="stmt" count="0"/>
|
4969 |
<line num="66" type="stmt" count="0"/>
|
@@ -4976,14 +4700,14 @@
|
|
4976 |
<line num="77" type="stmt" count="0"/>
|
4977 |
<line num="79" type="stmt" count="0"/>
|
4978 |
<line num="81" type="stmt" count="0"/>
|
4979 |
-
<line num="89" type="method" name="init_ads" visibility="public" complexity="2" crap="2
|
4980 |
<line num="90" type="stmt" count="4"/>
|
4981 |
<line num="91" type="stmt" count="4"/>
|
4982 |
-
<line num="93" type="stmt" count="
|
4983 |
-
<line num="94" type="stmt" count="
|
4984 |
-
<line num="96" type="stmt" count="
|
4985 |
-
<line num="97" type="stmt" count="
|
4986 |
-
<line num="98" type="stmt" count="
|
4987 |
<line num="99" type="stmt" count="4"/>
|
4988 |
<line num="101" type="stmt" count="4"/>
|
4989 |
<line num="111" type="method" name="post_archive_parts" visibility="public" complexity="3" crap="3" count="4"/>
|
@@ -5051,15 +4775,15 @@
|
|
5051 |
<line num="266" type="stmt" count="0"/>
|
5052 |
<line num="267" type="stmt" count="0"/>
|
5053 |
<line num="268" type="stmt" count="0"/>
|
5054 |
-
<metrics loc="269" ncloc="130" classes="1" methods="7" coveredmethods="
|
5055 |
</file>
|
5056 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-filelist.php">
|
5057 |
<class name="Boldgrid_Backup_Admin_Filelist" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5058 |
<metrics complexity="7" methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="7" elements="23" coveredelements="9"/>
|
5059 |
</class>
|
5060 |
-
<line num="73" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
5061 |
-
<line num="74" type="stmt" count="
|
5062 |
-
<line num="75" type="stmt" count="
|
5063 |
<line num="84" type="method" name="get_size" visibility="public" complexity="4" crap="20" count="0"/>
|
5064 |
<line num="92" type="stmt" count="0"/>
|
5065 |
<line num="93" type="stmt" count="0"/>
|
@@ -5084,13 +4808,13 @@
|
|
5084 |
</file>
|
5085 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-folder-exclusion.php">
|
5086 |
<class name="Boldgrid_Backup_Admin_Folder_Exclusion" namespace="global" fullPackage="Boldgrid.Backup.Admin.Folder">
|
5087 |
-
<metrics complexity="57" methods="10" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="150" coveredstatements="
|
5088 |
</class>
|
5089 |
-
<line num="113" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
5090 |
-
<line num="114" type="stmt" count="
|
5091 |
-
<line num="131" type="stmt" count="
|
5092 |
-
<line num="132" type="stmt" count="
|
5093 |
-
<line num="133" type="stmt" count="
|
5094 |
<line num="143" type="method" name="allow_file" visibility="public" complexity="11" crap="11.97" count="4"/>
|
5095 |
<line num="145" type="stmt" count="4"/>
|
5096 |
<line num="146" type="stmt" count="0"/>
|
@@ -5169,34 +4893,34 @@
|
|
5169 |
<line num="316" type="stmt" count="0"/>
|
5170 |
<line num="317" type="stmt" count="0"/>
|
5171 |
<line num="318" type="stmt" count="0"/>
|
5172 |
-
<line num="329" type="method" name="from_settings" visibility="public" complexity="16" crap="
|
5173 |
-
<line num="330" type="stmt" count="
|
5174 |
<line num="331" type="stmt" count="0"/>
|
5175 |
-
<line num="334" type="stmt" count="
|
5176 |
-
<line num="335" type="stmt" count="
|
5177 |
-
<line num="345" type="stmt" count="
|
5178 |
<line num="346" type="stmt" count="0"/>
|
5179 |
-
<line num="353" type="stmt" count="
|
5180 |
<line num="354" type="stmt" count="0"/>
|
5181 |
<line num="355" type="stmt" count="0"/>
|
5182 |
-
<line num="358" type="stmt" count="
|
5183 |
<line num="359" type="stmt" count="7"/>
|
5184 |
-
<line num="362" type="stmt" count="
|
5185 |
<line num="363" type="stmt" count="0"/>
|
5186 |
-
<line num="364" type="stmt" count="
|
5187 |
<line num="369" type="stmt" count="0"/>
|
5188 |
-
<line num="370" type="stmt" count="
|
5189 |
-
<line num="378" type="stmt" count="
|
5190 |
-
<line num="379" type="stmt" count="
|
5191 |
<line num="380" type="stmt" count="0"/>
|
5192 |
<line num="381" type="stmt" count="0"/>
|
5193 |
<line num="382" type="stmt" count="0"/>
|
5194 |
<line num="383" type="stmt" count="0"/>
|
5195 |
<line num="384" type="stmt" count="0"/>
|
5196 |
-
<line num="386" type="stmt" count="
|
5197 |
<line num="387" type="stmt" count="2"/>
|
5198 |
<line num="388" type="stmt" count="2"/>
|
5199 |
-
<line num="390" type="stmt" count="
|
5200 |
<line num="405" type="method" name="is_match" visibility="public" complexity="3" crap="3.02" count="4"/>
|
5201 |
<line num="406" type="stmt" count="4"/>
|
5202 |
<line num="407" type="stmt" count="0"/>
|
@@ -5246,15 +4970,15 @@
|
|
5246 |
<line num="512" type="stmt" count="0"/>
|
5247 |
<line num="514" type="stmt" count="0"/>
|
5248 |
<line num="515" type="stmt" count="0"/>
|
5249 |
-
<metrics loc="516" ncloc="251" classes="1" methods="10" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="150" coveredstatements="
|
5250 |
</file>
|
5251 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-go-pro.php">
|
5252 |
<class name="Boldgrid_Backup_Admin_Go_Pro" namespace="global" fullPackage="Boldgrid.Backup.Admin.Go">
|
5253 |
-
<metrics complexity="17" methods="5" coveredmethods="
|
5254 |
</class>
|
5255 |
-
<line num="46" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
5256 |
-
<line num="47" type="stmt" count="
|
5257 |
-
<line num="48" type="stmt" count="
|
5258 |
<line num="60" type="method" name="get_admin_notices" visibility="public" complexity="8" crap="72" count="0"/>
|
5259 |
<line num="61" type="stmt" count="0"/>
|
5260 |
<line num="64" type="stmt" count="0"/>
|
@@ -5320,24 +5044,24 @@
|
|
5320 |
<line num="163" type="stmt" count="0"/>
|
5321 |
<line num="165" type="stmt" count="0"/>
|
5322 |
<line num="166" type="stmt" count="0"/>
|
5323 |
-
<line num="177" type="method" name="get_premium_button" visibility="public" complexity="2" crap="
|
5324 |
-
<line num="178" type="stmt" count="
|
5325 |
-
<line num="180" type="stmt" count="
|
5326 |
-
<line num="182" type="stmt" count="
|
5327 |
-
<line num="183" type="stmt" count="
|
5328 |
-
<line num="185" type="stmt" count="
|
5329 |
-
<line num="197" type="method" name="get_premium_url" visibility="public" complexity="1" crap="
|
5330 |
-
<line num="198" type="stmt" count="
|
5331 |
-
<line num="200" type="stmt" count="
|
5332 |
-
<metrics loc="202" ncloc="112" classes="1" methods="5" coveredmethods="
|
5333 |
</file>
|
5334 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-home-dir.php">
|
5335 |
<class name="Boldgrid_Backup_Admin_Home_Dir" namespace="global" fullPackage="Boldgrid.Backup.Admin.Home">
|
5336 |
<metrics complexity="6" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="2" elements="12" coveredelements="3"/>
|
5337 |
</class>
|
5338 |
-
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
5339 |
-
<line num="38" type="stmt" count="
|
5340 |
-
<line num="39" type="stmt" count="
|
5341 |
<line num="51" type="method" name="get_for_disk" visibility="public" complexity="5" crap="30" count="0"/>
|
5342 |
<line num="52" type="stmt" count="0"/>
|
5343 |
<line num="53" type="stmt" count="0"/>
|
@@ -5386,11 +5110,11 @@
|
|
5386 |
</file>
|
5387 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-in-progress-tmp.php">
|
5388 |
<class name="Boldgrid_Backup_Admin_In_Progress_Tmp" namespace="global" fullPackage="Boldgrid.Backup.Admin.In.Progress">
|
5389 |
-
<metrics complexity="
|
5390 |
</class>
|
5391 |
-
<line num="48" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="
|
5392 |
-
<line num="49" type="stmt" count="
|
5393 |
-
<line num="50" type="stmt" count="
|
5394 |
<line num="59" type="method" name="get" visibility="public" complexity="4" crap="20" count="0"/>
|
5395 |
<line num="60" type="stmt" count="0"/>
|
5396 |
<line num="62" type="stmt" count="0"/>
|
@@ -5404,53 +5128,55 @@
|
|
5404 |
<line num="72" type="stmt" count="0"/>
|
5405 |
<line num="73" type="stmt" count="0"/>
|
5406 |
<line num="76" type="stmt" count="0"/>
|
5407 |
-
<line num="86" type="method" name="get_system_zip" visibility="private" complexity="
|
5408 |
<line num="87" type="stmt" count="0"/>
|
|
|
5409 |
<line num="89" type="stmt" count="0"/>
|
5410 |
<line num="90" type="stmt" count="0"/>
|
5411 |
-
<line num="
|
|
|
5412 |
<line num="94" type="stmt" count="0"/>
|
5413 |
<line num="96" type="stmt" count="0"/>
|
5414 |
<line num="97" type="stmt" count="0"/>
|
5415 |
-
<line num="98" type="stmt" count="0"/>
|
5416 |
-
<line num="99" type="stmt" count="0"/>
|
5417 |
<line num="100" type="stmt" count="0"/>
|
|
|
5418 |
<line num="102" type="stmt" count="0"/>
|
5419 |
-
<line num="
|
5420 |
-
<line num="113" type="
|
5421 |
-
<line num="
|
5422 |
<line num="116" type="stmt" count="0"/>
|
5423 |
-
<line num="
|
5424 |
-
<line num="
|
5425 |
-
<line num="
|
5426 |
<line num="123" type="stmt" count="0"/>
|
5427 |
<line num="124" type="stmt" count="0"/>
|
5428 |
<line num="125" type="stmt" count="0"/>
|
5429 |
<line num="126" type="stmt" count="0"/>
|
5430 |
-
<line num="
|
5431 |
-
<line num="
|
5432 |
-
<line num="143" type="
|
5433 |
-
<line num="
|
5434 |
<line num="146" type="stmt" count="0"/>
|
5435 |
-
<line num="
|
5436 |
-
<line num="
|
5437 |
-
<line num="
|
5438 |
<line num="154" type="stmt" count="0"/>
|
5439 |
<line num="155" type="stmt" count="0"/>
|
5440 |
<line num="156" type="stmt" count="0"/>
|
5441 |
-
<line num="
|
5442 |
<line num="159" type="stmt" count="0"/>
|
5443 |
-
<line num="
|
5444 |
-
<
|
|
|
5445 |
</file>
|
5446 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-in-progress.php">
|
5447 |
<class name="Boldgrid_Backup_Admin_In_Progress" namespace="global" fullPackage="Boldgrid.Backup.Admin.In">
|
5448 |
<metrics complexity="27" methods="12" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="97" coveredstatements="7" elements="109" coveredelements="9"/>
|
5449 |
</class>
|
5450 |
-
<line num="57" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
5451 |
-
<line num="58" type="stmt" count="
|
5452 |
-
<line num="60" type="stmt" count="
|
5453 |
-
<line num="61" type="stmt" count="
|
5454 |
<line num="71" type="method" name="add_notice" visibility="public" complexity="4" crap="20" count="0"/>
|
5455 |
<line num="72" type="stmt" count="0"/>
|
5456 |
<line num="74" type="stmt" count="0"/>
|
@@ -5562,9 +5288,9 @@
|
|
5562 |
<class name="Boldgrid_Backup_Admin_Jobs" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5563 |
<metrics complexity="28" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="93" coveredstatements="2" elements="102" coveredelements="3"/>
|
5564 |
</class>
|
5565 |
-
<line num="68" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
5566 |
-
<line num="69" type="stmt" count="
|
5567 |
-
<line num="70" type="stmt" count="
|
5568 |
<line num="80" type="method" name="add" visibility="public" complexity="2" crap="6" count="0"/>
|
5569 |
<line num="81" type="stmt" count="0"/>
|
5570 |
<line num="82" type="stmt" count="0"/>
|
@@ -5718,11 +5444,11 @@
|
|
5718 |
</file>
|
5719 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log.php">
|
5720 |
<class name="Boldgrid_Backup_Admin_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5721 |
-
<metrics complexity="
|
5722 |
</class>
|
5723 |
-
<line num="64" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
5724 |
-
<line num="65" type="stmt" count="
|
5725 |
-
<line num="66" type="stmt" count="
|
5726 |
<line num="77" type="method" name="add" visibility="public" complexity="2" crap="2" count="4"/>
|
5727 |
<line num="83" type="stmt" count="4"/>
|
5728 |
<line num="84" type="stmt" count="4"/>
|
@@ -5740,8 +5466,8 @@
|
|
5740 |
<line num="121" type="method" name="add_last_error" visibility="public" complexity="2" crap="2" count="4"/>
|
5741 |
<line num="122" type="stmt" count="4"/>
|
5742 |
<line num="125" type="stmt" count="4"/>
|
5743 |
-
<line num="126" type="stmt" count="
|
5744 |
-
<line num="127" type="stmt" count="
|
5745 |
<line num="130" type="stmt" count="4"/>
|
5746 |
<line num="131" type="stmt" count="4"/>
|
5747 |
<line num="139" type="method" name="add_memory" visibility="public" complexity="1" crap="1" count="4"/>
|
@@ -5758,63 +5484,69 @@
|
|
5758 |
<line num="151" type="stmt" count="4"/>
|
5759 |
<line num="153" type="stmt" count="4"/>
|
5760 |
<line num="154" type="stmt" count="4"/>
|
5761 |
-
<line num="161" type="method" name="
|
5762 |
-
<line num="
|
5763 |
-
<line num="
|
5764 |
-
<line num="
|
5765 |
-
<line num="
|
5766 |
-
<line num="169" type="stmt" count="0"/>
|
5767 |
<line num="173" type="stmt" count="4"/>
|
5768 |
-
<line num="174" type="stmt" count="4"/>
|
5769 |
<line num="175" type="stmt" count="4"/>
|
|
|
5770 |
<line num="178" type="stmt" count="0"/>
|
5771 |
-
<line num="180" type="stmt" count="0"/>
|
5772 |
-
<line num="181" type="stmt" count="4"/>
|
5773 |
<line num="182" type="stmt" count="4"/>
|
5774 |
-
<line num="
|
5775 |
-
<line num="
|
5776 |
-
<line num="
|
5777 |
-
<line num="
|
5778 |
-
<line num="
|
5779 |
-
<line num="
|
5780 |
-
<line num="
|
|
|
5781 |
<line num="205" type="stmt" count="4"/>
|
5782 |
-
<line num="
|
5783 |
-
<line num="
|
5784 |
-
<line num="
|
5785 |
-
<line num="
|
5786 |
-
<line num="
|
5787 |
-
<line num="
|
5788 |
-
<line num="
|
5789 |
-
<line num="
|
5790 |
-
<line num="
|
5791 |
-
<line num="
|
5792 |
-
<line num="
|
|
|
|
|
|
|
5793 |
<line num="245" type="stmt" count="0"/>
|
5794 |
-
<line num="
|
5795 |
-
<line num="
|
5796 |
<line num="254" type="stmt" count="0"/>
|
5797 |
<line num="256" type="stmt" count="0"/>
|
5798 |
-
<line num="257" type="stmt" count="0"/>
|
5799 |
<line num="258" type="stmt" count="0"/>
|
5800 |
-
<line num="
|
5801 |
-
<line num="266" type="
|
|
|
|
|
|
|
5802 |
<line num="271" type="stmt" count="0"/>
|
5803 |
<line num="272" type="stmt" count="0"/>
|
5804 |
-
<line num="
|
5805 |
-
<line num="
|
5806 |
-
<line num="284" type="method" name="signal_handler" visibility="public" complexity="1" crap="2" count="0"/>
|
5807 |
<line num="285" type="stmt" count="0"/>
|
|
|
5808 |
<line num="287" type="stmt" count="0"/>
|
5809 |
-
<
|
|
|
|
|
|
|
5810 |
</file>
|
5811 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
5812 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5813 |
-
<metrics complexity="
|
5814 |
</class>
|
5815 |
-
<line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
5816 |
-
<line num="59" type="stmt" count="
|
5817 |
-
<line num="60" type="stmt" count="
|
5818 |
<line num="71" type="method" name="add_user_notice" visibility="public" complexity="1" crap="2" count="0"/>
|
5819 |
<line num="72" type="stmt" count="0"/>
|
5820 |
<line num="74" type="stmt" count="0"/>
|
@@ -5881,70 +5613,36 @@
|
|
5881 |
<line num="226" type="stmt" count="0"/>
|
5882 |
<line num="228" type="stmt" count="0"/>
|
5883 |
<line num="230" type="stmt" count="0"/>
|
5884 |
-
<line num="238" type="method" name="display_autoupdate_notice" visibility="public" complexity="
|
5885 |
-
<line num="
|
5886 |
<line num="241" type="stmt" count="0"/>
|
5887 |
<line num="242" type="stmt" count="0"/>
|
5888 |
-
<line num="243" type="stmt" count="0"/>
|
5889 |
<line num="244" type="stmt" count="0"/>
|
5890 |
<line num="245" type="stmt" count="0"/>
|
5891 |
<line num="246" type="stmt" count="0"/>
|
5892 |
-
<line num="247" type="stmt" count="0"/>
|
5893 |
<line num="248" type="stmt" count="0"/>
|
5894 |
-
<line num="249" type="stmt" count="0"/>
|
5895 |
<line num="250" type="stmt" count="0"/>
|
5896 |
<line num="251" type="stmt" count="0"/>
|
5897 |
-
<line num="
|
5898 |
-
<line num="
|
5899 |
-
<line num="255" type="stmt" count="0"/>
|
5900 |
-
<line num="256" type="stmt" count="0"/>
|
5901 |
-
<line num="257" type="stmt" count="0"/>
|
5902 |
-
<line num="258" type="stmt" count="0"/>
|
5903 |
-
<line num="259" type="stmt" count="0"/>
|
5904 |
-
<line num="260" type="stmt" count="0"/>
|
5905 |
-
<line num="261" type="stmt" count="0"/>
|
5906 |
-
<line num="262" type="stmt" count="0"/>
|
5907 |
-
<line num="263" type="stmt" count="0"/>
|
5908 |
-
<line num="265" type="stmt" count="0"/>
|
5909 |
-
<line num="266" type="stmt" count="0"/>
|
5910 |
-
<line num="268" type="stmt" count="0"/>
|
5911 |
-
<line num="269" type="stmt" count="0"/>
|
5912 |
-
<line num="271" type="stmt" count="0"/>
|
5913 |
<line num="272" type="stmt" count="0"/>
|
5914 |
<line num="273" type="stmt" count="0"/>
|
5915 |
-
<line num="274" type="stmt" count="0"/>
|
5916 |
-
<line num="275" type="stmt" count="0"/>
|
5917 |
<line num="276" type="stmt" count="0"/>
|
5918 |
<line num="278" type="stmt" count="0"/>
|
5919 |
-
<line num="
|
5920 |
<line num="281" type="stmt" count="0"/>
|
5921 |
-
<line num="
|
5922 |
<line num="284" type="stmt" count="0"/>
|
5923 |
<line num="285" type="stmt" count="0"/>
|
5924 |
<line num="286" type="stmt" count="0"/>
|
|
|
5925 |
<line num="288" type="stmt" count="0"/>
|
5926 |
-
<line num="
|
5927 |
<line num="291" type="stmt" count="0"/>
|
5928 |
-
<line num="
|
5929 |
-
<line num="
|
5930 |
-
<line num="
|
5931 |
-
<
|
5932 |
-
<line num="316" type="stmt" count="0"/>
|
5933 |
-
<line num="318" type="stmt" count="0"/>
|
5934 |
-
<line num="319" type="stmt" count="0"/>
|
5935 |
-
<line num="321" type="stmt" count="0"/>
|
5936 |
-
<line num="322" type="stmt" count="0"/>
|
5937 |
-
<line num="324" type="stmt" count="0"/>
|
5938 |
-
<line num="325" type="stmt" count="0"/>
|
5939 |
-
<line num="326" type="stmt" count="0"/>
|
5940 |
-
<line num="327" type="stmt" count="0"/>
|
5941 |
-
<line num="328" type="stmt" count="0"/>
|
5942 |
-
<line num="329" type="stmt" count="0"/>
|
5943 |
-
<line num="331" type="stmt" count="0"/>
|
5944 |
-
<line num="333" type="stmt" count="0"/>
|
5945 |
-
<line num="334" type="stmt" count="0"/>
|
5946 |
-
<line num="335" type="stmt" count="0"/>
|
5947 |
-
<metrics loc="336" ncloc="191" classes="1" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="121" coveredstatements="2" elements="132" coveredelements="3"/>
|
5948 |
</file>
|
5949 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-plugin-notices.php">
|
5950 |
<class name="Boldgrid_Backup_Admin_Plugin_Notices" namespace="global" fullPackage="Boldgrid.Backup.Admin.Plugin">
|
@@ -5993,69 +5691,51 @@
|
|
5993 |
</file>
|
5994 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-premium-features.php">
|
5995 |
<class name="Boldgrid_Backup_Admin_Premium_Features" namespace="global" fullPackage="Boldgrid.Backup.Admin.Premium">
|
5996 |
-
<metrics complexity="6" methods="4" coveredmethods="
|
5997 |
</class>
|
5998 |
-
<line num="48" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
5999 |
-
<line num="49" type="stmt" count="
|
6000 |
-
<line num="50" type="stmt" count="
|
6001 |
-
<line num="59" type="method" name="admin_enqueue_scripts" visibility="public" complexity="3" crap="3" count="
|
6002 |
-
<line num="60" type="stmt" count="
|
6003 |
<line num="61" type="stmt" count="1"/>
|
6004 |
<line num="62" type="stmt" count="1"/>
|
6005 |
<line num="63" type="stmt" count="1"/>
|
6006 |
<line num="65" type="stmt" count="1"/>
|
6007 |
<line num="66" type="stmt" count="1"/>
|
6008 |
-
<line num="67" type="stmt" count="
|
6009 |
-
<line num="76" type="method" name="get_cards" visibility="public" complexity="1" crap="1" count="
|
6010 |
-
<line num="77" type="stmt" count="
|
6011 |
-
<line num="79" type="stmt" count="
|
6012 |
-
<line num="81" type="stmt" count="
|
6013 |
-
<line num="82" type="stmt" count="
|
6014 |
-
<line num="83" type="stmt" count="
|
6015 |
-
<line num="84" type="stmt" count="
|
6016 |
-
<line num="85" type="stmt" count="
|
6017 |
-
<line num="86" type="stmt" count="
|
6018 |
-
<line num="87" type="stmt" count="
|
6019 |
-
<line num="88" type="stmt" count="
|
6020 |
-
<line num="89" type="stmt" count="
|
6021 |
-
<line num="90" type="stmt" count="
|
6022 |
-
<line num="
|
6023 |
-
<line num="
|
6024 |
-
<line num="103" type="
|
6025 |
-
<line num="105" type="stmt" count="
|
6026 |
-
<line num="106" type="stmt" count="
|
6027 |
-
<line num="107" type="stmt" count="
|
6028 |
-
<line num="109" type="stmt" count="
|
6029 |
-
<line num="110" type="stmt" count="
|
6030 |
-
<line num="111" type="stmt" count="
|
6031 |
-
<line num="
|
6032 |
-
<
|
6033 |
-
<line num="116" type="stmt" count="0"/>
|
6034 |
-
<line num="117" type="stmt" count="0"/>
|
6035 |
-
<line num="118" type="stmt" count="0"/>
|
6036 |
-
<line num="120" type="stmt" count="0"/>
|
6037 |
-
<line num="127" type="stmt" count="0"/>
|
6038 |
-
<line num="129" type="stmt" count="0"/>
|
6039 |
-
<line num="130" type="stmt" count="0"/>
|
6040 |
-
<line num="132" type="stmt" count="0"/>
|
6041 |
-
<line num="137" type="stmt" count="0"/>
|
6042 |
-
<line num="138" type="stmt" count="0"/>
|
6043 |
-
<line num="139" type="stmt" count="0"/>
|
6044 |
-
<line num="143" type="stmt" count="0"/>
|
6045 |
-
<line num="145" type="stmt" count="0"/>
|
6046 |
-
<line num="147" type="stmt" count="0"/>
|
6047 |
-
<line num="148" type="stmt" count="0"/>
|
6048 |
-
<line num="149" type="stmt" count="0"/>
|
6049 |
-
<line num="150" type="stmt" count="0"/>
|
6050 |
-
<metrics loc="152" ncloc="90" classes="1" methods="4" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="48" coveredstatements="23" elements="52" coveredelements="26"/>
|
6051 |
</file>
|
6052 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-remote.php">
|
6053 |
<class name="Boldgrid_Backup_Admin_Remote" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6054 |
<metrics complexity="16" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="33" coveredstatements="2" elements="38" coveredelements="3"/>
|
6055 |
</class>
|
6056 |
-
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
6057 |
-
<line num="38" type="stmt" count="
|
6058 |
-
<line num="39" type="stmt" count="
|
6059 |
<line num="48" type="method" name="any_enabled" visibility="public" complexity="6" crap="42" count="0"/>
|
6060 |
<line num="49" type="stmt" count="0"/>
|
6061 |
<line num="51" type="stmt" count="0"/>
|
@@ -6115,9 +5795,9 @@
|
|
6115 |
<class name="Boldgrid_Backup_Admin_Restore_Helper" namespace="global" fullPackage="Boldgrid.Backup.Admin.Restore">
|
6116 |
<metrics complexity="44" methods="10" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="103" coveredstatements="15" elements="113" coveredelements="16"/>
|
6117 |
</class>
|
6118 |
-
<line num="68" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="
|
6119 |
-
<line num="69" type="stmt" count="
|
6120 |
-
<line num="70" type="stmt" count="
|
6121 |
<line num="79" type="method" name="get_last_error" visibility="public" complexity="2" crap="6" count="0"/>
|
6122 |
<line num="80" type="stmt" count="0"/>
|
6123 |
<line num="82" type="stmt" count="0"/>
|
@@ -6234,9 +5914,9 @@
|
|
6234 |
<class name="Boldgrid_Backup_Admin_Scheduler" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6235 |
<metrics complexity="12" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="2" elements="35" coveredelements="3"/>
|
6236 |
</class>
|
6237 |
-
<line num="46" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
6238 |
-
<line num="47" type="stmt" count="
|
6239 |
-
<line num="48" type="stmt" count="
|
6240 |
<line num="55" type="method" name="clear_all_schedules" visibility="public" complexity="1" crap="2" count="0"/>
|
6241 |
<line num="56" type="stmt" count="0"/>
|
6242 |
<line num="57" type="stmt" count="0"/>
|
@@ -6273,12 +5953,12 @@
|
|
6273 |
</file>
|
6274 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-settings.php">
|
6275 |
<class name="Boldgrid_Backup_Admin_Settings" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6276 |
-
<metrics complexity="
|
6277 |
</class>
|
6278 |
-
<line num="50" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
6279 |
-
<line num="52" type="stmt" count="
|
6280 |
-
<line num="54" type="stmt" count="
|
6281 |
-
<line num="55" type="stmt" count="
|
6282 |
<line num="67" type="method" name="get_dow_count" visibility="public" complexity="5" crap="30" count="0"/>
|
6283 |
<line num="68" type="stmt" count="0"/>
|
6284 |
<line num="70" type="stmt" count="0"/>
|
@@ -6289,74 +5969,74 @@
|
|
6289 |
<line num="78" type="stmt" count="0"/>
|
6290 |
<line num="79" type="stmt" count="0"/>
|
6291 |
<line num="81" type="stmt" count="0"/>
|
6292 |
-
<line num="92" type="method" name="get_setting" visibility="public" complexity="2" crap="2" count="
|
6293 |
-
<line num="93" type="stmt" count="
|
6294 |
-
<line num="95" type="stmt" count="
|
6295 |
-
<line num="108" type="method" name="get_settings" visibility="public" complexity="37" crap="
|
6296 |
-
<line num="110" type="stmt" count="
|
6297 |
-
<line num="112" type="stmt" count="
|
6298 |
<line num="113" type="stmt" count="4"/>
|
6299 |
-
<line num="117" type="stmt" count="
|
6300 |
-
<line num="118" type="stmt" count="
|
6301 |
-
<line num="121" type="stmt" count="
|
6302 |
-
<line num="124" type="stmt" count="
|
6303 |
-
<line num="125" type="stmt" count="
|
6304 |
-
<line num="126" type="stmt" count="
|
6305 |
-
<line num="127" type="stmt" count="
|
6306 |
-
<line num="128" type="stmt" count="
|
6307 |
-
<line num="129" type="stmt" count="
|
6308 |
-
<line num="130" type="stmt" count="
|
6309 |
-
<line num="131" type="stmt" count="
|
6310 |
-
<line num="132" type="stmt" count="
|
6311 |
-
<line num="133" type="stmt" count="
|
6312 |
-
<line num="134" type="stmt" count="
|
6313 |
-
<line num="135" type="stmt" count="
|
6314 |
-
<line num="136" type="stmt" count="
|
6315 |
-
<line num="137" type="stmt" count="
|
6316 |
-
<line num="138" type="stmt" count="
|
6317 |
-
<line num="139" type="stmt" count="
|
6318 |
-
<line num="140" type="stmt" count="
|
6319 |
-
<line num="141" type="stmt" count="
|
6320 |
-
<line num="142" type="stmt" count="
|
6321 |
-
<line num="143" type="stmt" count="
|
6322 |
-
<line num="144" type="stmt" count="
|
6323 |
-
<line num="147" type="stmt" count="
|
6324 |
-
<line num="148" type="stmt" count="
|
6325 |
-
<line num="149" type="stmt" count="
|
6326 |
<line num="150" type="stmt" count="0"/>
|
6327 |
-
<line num="151" type="stmt" count="
|
6328 |
-
<line num="152" type="stmt" count="
|
6329 |
-
<line num="153" type="stmt" count="
|
6330 |
<line num="154" type="stmt" count="0"/>
|
6331 |
-
<line num="155" type="stmt" count="
|
6332 |
-
<line num="156" type="stmt" count="
|
6333 |
-
<line num="157" type="stmt" count="
|
6334 |
<line num="158" type="stmt" count="0"/>
|
6335 |
-
<line num="161" type="stmt" count="
|
6336 |
-
<line num="162" type="stmt" count="
|
6337 |
-
<line num="163" type="stmt" count="
|
6338 |
<line num="164" type="stmt" count="0"/>
|
6339 |
-
<line num="165" type="stmt" count="
|
6340 |
-
<line num="166" type="stmt" count="
|
6341 |
-
<line num="167" type="stmt" count="
|
6342 |
<line num="168" type="stmt" count="0"/>
|
6343 |
-
<line num="171" type="stmt" count="
|
6344 |
<line num="172" type="stmt" count="0"/>
|
6345 |
<line num="173" type="stmt" count="0"/>
|
6346 |
-
<line num="176" type="stmt" count="
|
6347 |
-
<line num="177" type="stmt" count="
|
6348 |
<line num="178" type="stmt" count="0"/>
|
6349 |
-
<line num="180" type="stmt" count="
|
6350 |
-
<line num="181" type="stmt" count="
|
6351 |
-
<line num="182" type="stmt" count="
|
6352 |
<line num="183" type="stmt" count="0"/>
|
6353 |
-
<line num="186" type="stmt" count="
|
6354 |
-
<line num="187" type="stmt" count="
|
6355 |
-
<line num="188" type="stmt" count="
|
6356 |
-
<line num="190" type="stmt" count="
|
6357 |
<line num="191" type="stmt" count="0"/>
|
6358 |
<line num="192" type="stmt" count="0"/>
|
6359 |
-
<line num="193" type="stmt" count="
|
6360 |
<line num="196" type="stmt" count="7"/>
|
6361 |
<line num="197" type="stmt" count="7"/>
|
6362 |
<line num="198" type="stmt" count="7"/>
|
@@ -6374,30 +6054,30 @@
|
|
6374 |
<line num="214" type="stmt" count="7"/>
|
6375 |
<line num="215" type="stmt" count="7"/>
|
6376 |
<line num="217" type="stmt" count="7"/>
|
6377 |
-
<line num="220" type="stmt" count="
|
6378 |
<line num="221" type="stmt" count="0"/>
|
6379 |
<line num="222" type="stmt" count="0"/>
|
6380 |
-
<line num="225" type="stmt" count="
|
6381 |
-
<line num="226" type="stmt" count="
|
6382 |
-
<line num="227" type="stmt" count="
|
6383 |
-
<line num="229" type="stmt" count="
|
6384 |
-
<line num="230" type="stmt" count="
|
6385 |
-
<line num="231" type="stmt" count="
|
6386 |
-
<line num="234" type="stmt" count="
|
6387 |
-
<line num="235" type="stmt" count="
|
6388 |
-
<line num="238" type="stmt" count="
|
6389 |
-
<line num="239" type="stmt" count="
|
6390 |
-
<line num="241" type="stmt" count="
|
6391 |
-
<line num="242" type="stmt" count="
|
6392 |
-
<line num="244" type="stmt" count="
|
6393 |
-
<line num="245" type="stmt" count="
|
6394 |
-
<line num="247" type="stmt" count="
|
6395 |
-
<line num="248" type="stmt" count="
|
6396 |
-
<line num="251" type="stmt" count="
|
6397 |
-
<line num="252" type="stmt" count="
|
6398 |
-
<line num="253" type="stmt" count="
|
6399 |
-
<line num="256" type="stmt" count="
|
6400 |
-
<line num="259" type="stmt" count="
|
6401 |
<line num="271" type="method" name="has_full_protection" visibility="public" complexity="2" crap="6" count="0"/>
|
6402 |
<line num="272" type="stmt" count="0"/>
|
6403 |
<line num="282" type="method" name="has_remote_configured" visibility="public" complexity="4" crap="20" count="0"/>
|
@@ -6442,7 +6122,7 @@
|
|
6442 |
<line num="390" type="method" name="is_all_tables" visibility="public" complexity="1" crap="2" count="0"/>
|
6443 |
<line num="391" type="stmt" count="0"/>
|
6444 |
<line num="393" type="stmt" count="0"/>
|
6445 |
-
<line num="405" type="method" name="move_backups" visibility="
|
6446 |
<line num="406" type="stmt" count="0"/>
|
6447 |
<line num="408" type="stmt" count="0"/>
|
6448 |
<line num="409" type="stmt" count="0"/>
|
@@ -6457,7 +6137,7 @@
|
|
6457 |
<line num="424" type="stmt" count="0"/>
|
6458 |
<line num="425" type="stmt" count="0"/>
|
6459 |
<line num="427" type="stmt" count="0"/>
|
6460 |
-
<line num="441" type="method" name="update_settings" visibility="private" complexity="
|
6461 |
<line num="442" type="stmt" count="0"/>
|
6462 |
<line num="445" type="stmt" count="0"/>
|
6463 |
<line num="446" type="stmt" count="0"/>
|
@@ -6559,210 +6239,192 @@
|
|
6559 |
<line num="607" type="stmt" count="0"/>
|
6560 |
<line num="608" type="stmt" count="0"/>
|
6561 |
<line num="610" type="stmt" count="0"/>
|
6562 |
-
<line num="617" type="stmt" count="0"/>
|
6563 |
-
<line num="618" type="stmt" count="0"/>
|
6564 |
<line num="619" type="stmt" count="0"/>
|
6565 |
-
<line num="
|
6566 |
-
<line num="
|
6567 |
-
<line num="
|
6568 |
-
<line num="
|
6569 |
-
<line num="
|
6570 |
-
<line num="
|
6571 |
-
<line num="
|
6572 |
-
<line num="
|
6573 |
-
<line num="
|
6574 |
-
<line num="
|
6575 |
-
<line num="
|
|
|
|
|
6576 |
<line num="649" type="stmt" count="0"/>
|
6577 |
-
<line num="
|
6578 |
-
<line num="
|
6579 |
-
<line num="
|
6580 |
-
<line num="
|
6581 |
<line num="662" type="stmt" count="0"/>
|
6582 |
-
<line num="
|
6583 |
-
<line num="
|
|
|
|
|
6584 |
<line num="671" type="stmt" count="0"/>
|
6585 |
<line num="674" type="stmt" count="0"/>
|
6586 |
<line num="675" type="stmt" count="0"/>
|
6587 |
-
<line num="
|
6588 |
-
<line num="
|
6589 |
-
<line num="680" type="stmt" count="0"/>
|
6590 |
<line num="683" type="stmt" count="0"/>
|
6591 |
<line num="684" type="stmt" count="0"/>
|
6592 |
-
<line num="690" type="stmt" count="0"/>
|
6593 |
<line num="691" type="stmt" count="0"/>
|
6594 |
<line num="692" type="stmt" count="0"/>
|
6595 |
-
<line num="
|
6596 |
<line num="700" type="stmt" count="0"/>
|
6597 |
<line num="701" type="stmt" count="0"/>
|
|
|
|
|
|
|
6598 |
<line num="708" type="stmt" count="0"/>
|
6599 |
<line num="709" type="stmt" count="0"/>
|
6600 |
<line num="710" type="stmt" count="0"/>
|
6601 |
-
<line num="
|
6602 |
-
<line num="
|
6603 |
-
<line num="
|
|
|
|
|
|
|
|
|
6604 |
<line num="722" type="stmt" count="0"/>
|
6605 |
<line num="723" type="stmt" count="0"/>
|
6606 |
-
<line num="724" type="stmt" count="0"/>
|
6607 |
<line num="726" type="stmt" count="0"/>
|
6608 |
-
<line num="727" type="stmt" count="0"/>
|
6609 |
-
<line num="728" type="stmt" count="0"/>
|
6610 |
<line num="729" type="stmt" count="0"/>
|
6611 |
<line num="730" type="stmt" count="0"/>
|
6612 |
<line num="731" type="stmt" count="0"/>
|
|
|
6613 |
<line num="733" type="stmt" count="0"/>
|
6614 |
-
<line num="
|
6615 |
<line num="738" type="stmt" count="0"/>
|
6616 |
<line num="739" type="stmt" count="0"/>
|
6617 |
<line num="740" type="stmt" count="0"/>
|
6618 |
-
<line num="
|
|
|
6619 |
<line num="744" type="stmt" count="0"/>
|
6620 |
-
<line num="
|
6621 |
-
<line num="
|
6622 |
<line num="749" type="stmt" count="0"/>
|
6623 |
<line num="750" type="stmt" count="0"/>
|
6624 |
<line num="751" type="stmt" count="0"/>
|
6625 |
-
<line num="
|
6626 |
-
<line num="
|
6627 |
-
<line num="757" type="stmt" count="0"/>
|
6628 |
-
<line num="758" type="stmt" count="0"/>
|
6629 |
<line num="760" type="stmt" count="0"/>
|
6630 |
-
<line num="761" type="stmt" count="0"/>
|
6631 |
-
<line num="762" type="stmt" count="0"/>
|
6632 |
<line num="763" type="stmt" count="0"/>
|
6633 |
-
<line num="
|
6634 |
-
<line num="
|
6635 |
-
<line num="
|
6636 |
-
<line num="
|
6637 |
-
<line num="
|
6638 |
-
<line num="
|
6639 |
-
<line num="
|
6640 |
-
<line num="
|
6641 |
-
<line num="789" type="
|
6642 |
-
<line num="790" type="stmt" count="
|
6643 |
-
<line num="791" type="stmt" count="
|
6644 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6645 |
<line num="803" type="stmt" count="0"/>
|
6646 |
-
<line num="804" type="stmt" count="0"/>
|
6647 |
<line num="805" type="stmt" count="0"/>
|
6648 |
-
<line num="
|
6649 |
<line num="808" type="stmt" count="0"/>
|
6650 |
<line num="809" type="stmt" count="0"/>
|
6651 |
-
<line num="810" type="stmt" count="0"/>
|
6652 |
<line num="811" type="stmt" count="0"/>
|
6653 |
<line num="813" type="stmt" count="0"/>
|
6654 |
<line num="814" type="stmt" count="0"/>
|
6655 |
-
<line num="
|
6656 |
-
<line num="817" type="stmt" count="0"/>
|
6657 |
-
<line num="818" type="stmt" count="0"/>
|
6658 |
-
<line num="819" type="stmt" count="0"/>
|
6659 |
<line num="822" type="stmt" count="0"/>
|
6660 |
<line num="823" type="stmt" count="0"/>
|
6661 |
<line num="824" type="stmt" count="0"/>
|
6662 |
-
<line num="
|
6663 |
-
<line num="827" type="stmt" count="0"/>
|
6664 |
<line num="828" type="stmt" count="0"/>
|
6665 |
-
<line num="
|
6666 |
-
<line num="
|
6667 |
-
<line num="
|
6668 |
-
<line num="
|
6669 |
-
<line num="
|
6670 |
-
<line num="
|
6671 |
<line num="844" type="stmt" count="0"/>
|
6672 |
-
<line num="845" type="stmt" count="0"/>
|
6673 |
<line num="846" type="stmt" count="0"/>
|
6674 |
-
<line num="
|
6675 |
<line num="850" type="stmt" count="0"/>
|
6676 |
-
<line num="
|
6677 |
-
<line num="
|
6678 |
-
<line num="
|
6679 |
-
<line num="
|
|
|
|
|
|
|
6680 |
<line num="863" type="stmt" count="0"/>
|
6681 |
<line num="864" type="stmt" count="0"/>
|
|
|
6682 |
<line num="866" type="stmt" count="0"/>
|
6683 |
-
<line num="
|
6684 |
<line num="869" type="stmt" count="0"/>
|
|
|
6685 |
<line num="872" type="stmt" count="0"/>
|
|
|
6686 |
<line num="874" type="stmt" count="0"/>
|
6687 |
<line num="875" type="stmt" count="0"/>
|
6688 |
-
<line num="
|
6689 |
-
<line num="879" type="stmt" count="0"/>
|
6690 |
<line num="880" type="stmt" count="0"/>
|
6691 |
<line num="881" type="stmt" count="0"/>
|
6692 |
<line num="882" type="stmt" count="0"/>
|
6693 |
-
<line num="
|
|
|
6694 |
<line num="886" type="stmt" count="0"/>
|
6695 |
-
<line num="887" type="stmt" count="0"/>
|
6696 |
-
<line num="888" type="stmt" count="0"/>
|
6697 |
<line num="889" type="stmt" count="0"/>
|
|
|
6698 |
<line num="891" type="stmt" count="0"/>
|
|
|
6699 |
<line num="893" type="stmt" count="0"/>
|
6700 |
-
<line num="894" type="stmt" count="0"/>
|
6701 |
<line num="895" type="stmt" count="0"/>
|
6702 |
-
<line num="
|
6703 |
-
<line num="897" type="stmt" count="0"/>
|
6704 |
<line num="899" type="stmt" count="0"/>
|
6705 |
-
<line num="
|
|
|
6706 |
<line num="903" type="stmt" count="0"/>
|
6707 |
-
<line num="904" type="stmt" count="0"/>
|
6708 |
<line num="905" type="stmt" count="0"/>
|
6709 |
<line num="906" type="stmt" count="0"/>
|
6710 |
<line num="908" type="stmt" count="0"/>
|
6711 |
<line num="911" type="stmt" count="0"/>
|
6712 |
<line num="912" type="stmt" count="0"/>
|
6713 |
<line num="913" type="stmt" count="0"/>
|
6714 |
-
<line num="914" type="stmt" count="0"/>
|
6715 |
<line num="915" type="stmt" count="0"/>
|
6716 |
<line num="917" type="stmt" count="0"/>
|
6717 |
-
<line num="
|
6718 |
-
<line num="
|
6719 |
<line num="922" type="stmt" count="0"/>
|
6720 |
<line num="923" type="stmt" count="0"/>
|
6721 |
-
<line num="
|
6722 |
-
<line num="
|
6723 |
-
<line num="
|
6724 |
-
<line num="
|
6725 |
-
<line num="
|
6726 |
-
<line num="
|
6727 |
-
<line num="
|
6728 |
-
<line num="937" type="stmt" count="0"/>
|
6729 |
-
<line num="939" type="stmt" count="0"/>
|
6730 |
-
<line num="940" type="stmt" count="0"/>
|
6731 |
-
<line num="941" type="stmt" count="0"/>
|
6732 |
-
<line num="943" type="stmt" count="0"/>
|
6733 |
-
<line num="944" type="stmt" count="0"/>
|
6734 |
-
<line num="945" type="stmt" count="0"/>
|
6735 |
<line num="952" type="stmt" count="0"/>
|
|
|
6736 |
<line num="954" type="stmt" count="0"/>
|
6737 |
<line num="955" type="stmt" count="0"/>
|
6738 |
-
<line num="
|
6739 |
-
<line num="
|
6740 |
-
<
|
6741 |
-
<line num="964" type="stmt" count="0"/>
|
6742 |
-
<line num="968" type="stmt" count="0"/>
|
6743 |
-
<line num="969" type="stmt" count="0"/>
|
6744 |
-
<line num="979" type="method" name="save" visibility="public" complexity="1" crap="1" count="6"/>
|
6745 |
-
<line num="980" type="stmt" count="6"/>
|
6746 |
-
<line num="991" type="method" name="update_cron" visibility="public" complexity="4" crap="20" count="0"/>
|
6747 |
-
<line num="992" type="stmt" count="0"/>
|
6748 |
-
<line num="994" type="stmt" count="0"/>
|
6749 |
-
<line num="996" type="stmt" count="0"/>
|
6750 |
-
<line num="997" type="stmt" count="0"/>
|
6751 |
-
<line num="998" type="stmt" count="0"/>
|
6752 |
-
<line num="999" type="stmt" count="0"/>
|
6753 |
-
<line num="1000" type="stmt" count="0"/>
|
6754 |
-
<line num="1001" type="stmt" count="0"/>
|
6755 |
-
<line num="1002" type="stmt" count="0"/>
|
6756 |
-
<line num="1004" type="stmt" count="0"/>
|
6757 |
-
<metrics loc="1006" ncloc="615" classes="1" methods="16" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="463" coveredstatements="100" elements="479" coveredelements="104"/>
|
6758 |
</file>
|
6759 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-support.php">
|
6760 |
<class name="Boldgrid_Backup_Admin_Support" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6761 |
-
<metrics complexity="18" methods="10" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="
|
6762 |
</class>
|
6763 |
-
<line num="46" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
6764 |
-
<line num="47" type="stmt" count="
|
6765 |
-
<line num="48" type="stmt" count="
|
6766 |
<line num="61" type="method" name="add_admin_notice" visibility="public" complexity="1" crap="2" count="0"/>
|
6767 |
<line num="62" type="stmt" count="0"/>
|
6768 |
<line num="63" type="method" name="anonymous function" complexity="1" crap="2" count="0"/>
|
@@ -6837,35 +6499,18 @@
|
|
6837 |
<line num="233" type="stmt" count="0"/>
|
6838 |
<line num="236" type="stmt" count="0"/>
|
6839 |
<line num="244" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
6840 |
-
<line num="
|
6841 |
<line num="247" type="stmt" count="0"/>
|
6842 |
<line num="248" type="stmt" count="0"/>
|
6843 |
-
<
|
6844 |
-
<line num="251" type="stmt" count="0"/>
|
6845 |
-
<line num="252" type="stmt" count="0"/>
|
6846 |
-
<line num="254" type="stmt" count="0"/>
|
6847 |
-
<line num="255" type="stmt" count="0"/>
|
6848 |
-
<line num="257" type="stmt" count="0"/>
|
6849 |
-
<line num="258" type="stmt" count="0"/>
|
6850 |
-
<line num="259" type="stmt" count="0"/>
|
6851 |
-
<line num="266" type="stmt" count="0"/>
|
6852 |
-
<line num="268" type="stmt" count="0"/>
|
6853 |
-
<line num="269" type="stmt" count="0"/>
|
6854 |
-
<line num="271" type="stmt" count="0"/>
|
6855 |
-
<line num="276" type="stmt" count="0"/>
|
6856 |
-
<line num="277" type="stmt" count="0"/>
|
6857 |
-
<line num="278" type="stmt" count="0"/>
|
6858 |
-
<line num="282" type="stmt" count="0"/>
|
6859 |
-
<line num="283" type="stmt" count="0"/>
|
6860 |
-
<metrics loc="284" ncloc="152" classes="1" methods="10" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="87" coveredstatements="2" elements="97" coveredelements="3"/>
|
6861 |
</file>
|
6862 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-test.php">
|
6863 |
<class name="Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6864 |
<metrics complexity="97" methods="26" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="256" coveredstatements="109" elements="282" coveredelements="114"/>
|
6865 |
</class>
|
6866 |
-
<line num="122" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
6867 |
-
<line num="124" type="stmt" count="
|
6868 |
-
<line num="125" type="stmt" count="
|
6869 |
<line num="135" type="method" name="can_exec_write" visibility="public" complexity="4" crap="4.32" count="1"/>
|
6870 |
<line num="136" type="stmt" count="1"/>
|
6871 |
<line num="137" type="stmt" count="0"/>
|
@@ -6931,11 +6576,11 @@
|
|
6931 |
<line num="290" type="stmt" count="1"/>
|
6932 |
<line num="291" type="stmt" count="3"/>
|
6933 |
<line num="293" type="stmt" count="3"/>
|
6934 |
-
<line num="303" type="method" name="is_windows" visibility="public" complexity="2" crap="2" count="
|
6935 |
-
<line num="305" type="stmt" count="
|
6936 |
-
<line num="306" type="stmt" count="
|
6937 |
-
<line num="310" type="stmt" count="
|
6938 |
-
<line num="313" type="stmt" count="
|
6939 |
<line num="324" type="method" name="is_writable" visibility="public" complexity="3" crap="7.23" count="1"/>
|
6940 |
<line num="325" type="stmt" count="1"/>
|
6941 |
<line num="326" type="stmt" count="1"/>
|
@@ -7151,9 +6796,9 @@
|
|
7151 |
<class name="Boldgrid_Backup_Admin_Time" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7152 |
<metrics complexity="34" methods="10" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="102" coveredstatements="39" elements="112" coveredelements="41"/>
|
7153 |
</class>
|
7154 |
-
<line num="73" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
7155 |
-
<line num="74" type="stmt" count="
|
7156 |
-
<line num="75" type="stmt" count="
|
7157 |
<line num="84" type="method" name="get_server_date" visibility="public" complexity="2" crap="6" count="0"/>
|
7158 |
<line num="85" type="stmt" count="0"/>
|
7159 |
<line num="87" type="stmt" count="0"/>
|
@@ -7267,85 +6912,52 @@
|
|
7267 |
</file>
|
7268 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-tools.php">
|
7269 |
<class name="Boldgrid_Backup_Admin_Tools" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7270 |
-
<metrics complexity="4" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="
|
7271 |
</class>
|
7272 |
-
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
7273 |
-
<line num="38" type="stmt" count="
|
7274 |
-
<line num="39" type="stmt" count="
|
7275 |
<line num="44" type="method" name="admin_enqueue_scripts" visibility="public" complexity="2" crap="6" count="0"/>
|
7276 |
<line num="45" type="stmt" count="0"/>
|
7277 |
<line num="46" type="stmt" count="0"/>
|
7278 |
<line num="50" type="stmt" count="0"/>
|
7279 |
<line num="51" type="stmt" count="0"/>
|
7280 |
<line num="52" type="stmt" count="0"/>
|
7281 |
-
<line num="
|
7282 |
-
<line num="
|
7283 |
-
<line num="63" type="
|
7284 |
<line num="64" type="stmt" count="0"/>
|
7285 |
-
<line num="
|
7286 |
-
<
|
7287 |
-
<line num="68" type="stmt" count="0"/>
|
7288 |
-
<line num="70" type="stmt" count="0"/>
|
7289 |
-
<line num="71" type="stmt" count="0"/>
|
7290 |
-
<line num="73" type="stmt" count="0"/>
|
7291 |
-
<line num="74" type="stmt" count="0"/>
|
7292 |
-
<line num="75" type="stmt" count="0"/>
|
7293 |
-
<line num="82" type="stmt" count="0"/>
|
7294 |
-
<line num="84" type="stmt" count="0"/>
|
7295 |
-
<line num="85" type="stmt" count="0"/>
|
7296 |
-
<line num="87" type="stmt" count="0"/>
|
7297 |
-
<line num="92" type="stmt" count="0"/>
|
7298 |
-
<line num="93" type="stmt" count="0"/>
|
7299 |
-
<line num="94" type="stmt" count="0"/>
|
7300 |
-
<line num="98" type="stmt" count="0"/>
|
7301 |
-
<line num="99" type="stmt" count="0"/>
|
7302 |
-
<metrics loc="100" ncloc="57" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="27" coveredstatements="2" elements="30" coveredelements="3"/>
|
7303 |
</file>
|
7304 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-transfers.php">
|
7305 |
<class name="Boldgrid_Backup_Admin_Transfers" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7306 |
-
<metrics complexity="2" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="
|
7307 |
</class>
|
7308 |
-
<line num="36" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
7309 |
-
<line num="37" type="stmt" count="
|
7310 |
-
<line num="38" type="stmt" count="
|
7311 |
<line num="45" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
7312 |
<line num="46" type="stmt" count="0"/>
|
7313 |
<line num="47" type="stmt" count="0"/>
|
7314 |
<line num="48" type="stmt" count="0"/>
|
7315 |
<line num="50" type="stmt" count="0"/>
|
7316 |
<line num="51" type="stmt" count="0"/>
|
|
|
7317 |
<line num="53" type="stmt" count="0"/>
|
7318 |
-
<line num="54" type="stmt" count="0"/>
|
7319 |
<line num="55" type="stmt" count="0"/>
|
7320 |
<line num="57" type="stmt" count="0"/>
|
7321 |
<line num="58" type="stmt" count="0"/>
|
7322 |
-
<
|
7323 |
-
<line num="61" type="stmt" count="0"/>
|
7324 |
-
<line num="62" type="stmt" count="0"/>
|
7325 |
-
<line num="64" type="stmt" count="0"/>
|
7326 |
-
<line num="65" type="stmt" count="0"/>
|
7327 |
-
<line num="66" type="stmt" count="0"/>
|
7328 |
-
<line num="67" type="stmt" count="0"/>
|
7329 |
-
<line num="69" type="stmt" count="0"/>
|
7330 |
-
<line num="76" type="stmt" count="0"/>
|
7331 |
-
<line num="78" type="stmt" count="0"/>
|
7332 |
-
<line num="79" type="stmt" count="0"/>
|
7333 |
-
<line num="81" type="stmt" count="0"/>
|
7334 |
-
<line num="86" type="stmt" count="0"/>
|
7335 |
-
<line num="87" type="stmt" count="0"/>
|
7336 |
-
<line num="88" type="stmt" count="0"/>
|
7337 |
-
<line num="92" type="stmt" count="0"/>
|
7338 |
-
<line num="93" type="stmt" count="0"/>
|
7339 |
-
<metrics loc="94" ncloc="57" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="29" coveredstatements="2" elements="31" coveredelements="3"/>
|
7340 |
</file>
|
7341 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-upload.php">
|
7342 |
<class name="Boldgrid_Backup_Admin_Upload" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7343 |
-
<metrics complexity="
|
7344 |
</class>
|
7345 |
-
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
7346 |
-
<line num="41" type="stmt" count="
|
7347 |
-
<line num="42" type="stmt" count="
|
7348 |
-
<line num="56" type="method" name="verify_upload_access" visibility="public" complexity="
|
7349 |
<line num="58" type="stmt" count="0"/>
|
7350 |
<line num="60" type="stmt" count="0"/>
|
7351 |
<line num="61" type="stmt" count="0"/>
|
@@ -7390,60 +7002,60 @@
|
|
7390 |
<line num="139" type="stmt" count="0"/>
|
7391 |
<line num="141" type="stmt" count="0"/>
|
7392 |
<line num="144" type="stmt" count="0"/>
|
7393 |
-
<line num="
|
7394 |
-
<line num="
|
7395 |
-
<line num="
|
7396 |
-
<line num="
|
7397 |
-
<line num="
|
7398 |
-
<line num="
|
7399 |
-
<line num="
|
7400 |
-
<line num="
|
7401 |
-
<line num="
|
7402 |
-
<line num="
|
7403 |
-
<line num="
|
7404 |
-
<line num="
|
7405 |
-
<line num="
|
7406 |
-
<line num="190" type="stmt" count="0"/>
|
7407 |
-
<line num="194" type="stmt" count="0"/>
|
7408 |
<line num="197" type="stmt" count="0"/>
|
7409 |
-
<line num="
|
|
|
|
|
|
|
7410 |
<line num="204" type="stmt" count="0"/>
|
|
|
7411 |
<line num="206" type="stmt" count="0"/>
|
7412 |
<line num="208" type="stmt" count="0"/>
|
7413 |
-
<line num="209" type="stmt" count="0"/>
|
7414 |
<line num="210" type="stmt" count="0"/>
|
7415 |
-
<line num="212" type="stmt" count="0"/>
|
7416 |
<line num="213" type="stmt" count="0"/>
|
7417 |
-
<line num="
|
7418 |
-
<line num="
|
7419 |
-
<line num="
|
7420 |
-
<line num="
|
7421 |
-
<line num="
|
7422 |
-
<line num="
|
7423 |
-
<line num="238" type="
|
7424 |
<line num="239" type="stmt" count="0"/>
|
7425 |
-
<line num="
|
7426 |
-
<line num="
|
7427 |
-
<line num="
|
|
|
7428 |
<line num="248" type="stmt" count="0"/>
|
7429 |
<line num="249" type="stmt" count="0"/>
|
7430 |
<line num="250" type="stmt" count="0"/>
|
7431 |
-
<line num="
|
7432 |
-
<line num="254" type="stmt" count="0"/>
|
7433 |
-
<line num="255" type="stmt" count="0"/>
|
7434 |
<line num="256" type="stmt" count="0"/>
|
7435 |
-
<line num="
|
7436 |
-
<line num="260" type="stmt" count="0"/>
|
7437 |
<line num="261" type="stmt" count="0"/>
|
7438 |
-
<line num="
|
7439 |
-
<line num="
|
7440 |
-
<line num="
|
7441 |
-
<line num="
|
7442 |
-
<line num="
|
|
|
|
|
7443 |
<line num="286" type="stmt" count="0"/>
|
7444 |
-
<line num="287" type="stmt" count="0"/>
|
7445 |
<line num="288" type="stmt" count="0"/>
|
7446 |
-
<line num="
|
|
|
7447 |
<line num="293" type="stmt" count="0"/>
|
7448 |
<line num="296" type="stmt" count="0"/>
|
7449 |
<line num="297" type="stmt" count="0"/>
|
@@ -7451,115 +7063,103 @@
|
|
7451 |
<line num="300" type="stmt" count="0"/>
|
7452 |
<line num="302" type="stmt" count="0"/>
|
7453 |
<line num="304" type="stmt" count="0"/>
|
7454 |
-
<line num="
|
7455 |
-
<line num="
|
7456 |
-
<line num="
|
7457 |
-
<line num="
|
7458 |
-
<line num="
|
7459 |
-
<line num="315" type="stmt" count="0"/>
|
7460 |
-
<line num="330" type="method" name="upload_archive_file" visibility="public" complexity="5" crap="30" count="0"/>
|
7461 |
<line num="332" type="stmt" count="0"/>
|
7462 |
<line num="333" type="stmt" count="0"/>
|
7463 |
<line num="337" type="stmt" count="0"/>
|
7464 |
<line num="340" type="stmt" count="0"/>
|
7465 |
<line num="343" type="stmt" count="0"/>
|
7466 |
-
<line num="
|
7467 |
<line num="348" type="stmt" count="0"/>
|
7468 |
<line num="351" type="stmt" count="0"/>
|
7469 |
-
<line num="
|
7470 |
-
<line num="
|
7471 |
-
<line num="
|
7472 |
-
<line num="
|
|
|
7473 |
<line num="363" type="stmt" count="0"/>
|
7474 |
<line num="364" type="stmt" count="0"/>
|
7475 |
-
<line num="
|
|
|
|
|
7476 |
<line num="369" type="stmt" count="0"/>
|
7477 |
<line num="371" type="stmt" count="0"/>
|
7478 |
-
<line num="
|
7479 |
-
<line num="
|
7480 |
-
<line num="
|
7481 |
-
<line num="
|
7482 |
-
<line num="
|
7483 |
-
<line num="
|
7484 |
-
<line num="
|
7485 |
-
<line num="
|
7486 |
-
<line num="
|
7487 |
-
<line num="405" type="stmt" count="0"/>
|
7488 |
<line num="406" type="stmt" count="0"/>
|
7489 |
<line num="408" type="stmt" count="0"/>
|
7490 |
-
<line num="
|
7491 |
<line num="411" type="stmt" count="0"/>
|
|
|
7492 |
<line num="414" type="stmt" count="0"/>
|
7493 |
<line num="415" type="stmt" count="0"/>
|
7494 |
<line num="417" type="stmt" count="0"/>
|
7495 |
<line num="419" type="stmt" count="0"/>
|
7496 |
<line num="420" type="stmt" count="0"/>
|
7497 |
<line num="422" type="stmt" count="0"/>
|
7498 |
-
<line num="
|
7499 |
<line num="425" type="stmt" count="0"/>
|
7500 |
<line num="426" type="stmt" count="0"/>
|
7501 |
<line num="428" type="stmt" count="0"/>
|
7502 |
<line num="430" type="stmt" count="0"/>
|
7503 |
<line num="431" type="stmt" count="0"/>
|
7504 |
<line num="433" type="stmt" count="0"/>
|
7505 |
-
<line num="435" type="stmt" count="0"/>
|
7506 |
<line num="436" type="stmt" count="0"/>
|
7507 |
<line num="437" type="stmt" count="0"/>
|
|
|
7508 |
<line num="439" type="stmt" count="0"/>
|
7509 |
<line num="441" type="stmt" count="0"/>
|
7510 |
<line num="442" type="stmt" count="0"/>
|
|
|
7511 |
<line num="444" type="stmt" count="0"/>
|
|
|
|
|
7512 |
<line num="447" type="stmt" count="0"/>
|
7513 |
-
<line num="448" type="stmt" count="0"/>
|
7514 |
<line num="449" type="stmt" count="0"/>
|
7515 |
-
<line num="
|
7516 |
<line num="452" type="stmt" count="0"/>
|
7517 |
-
<line num="453" type="stmt" count="0"/>
|
7518 |
<line num="454" type="stmt" count="0"/>
|
7519 |
-
<line num="455" type="stmt" count="0"/>
|
7520 |
<line num="456" type="stmt" count="0"/>
|
7521 |
<line num="457" type="stmt" count="0"/>
|
7522 |
<line num="458" type="stmt" count="0"/>
|
|
|
7523 |
<line num="460" type="stmt" count="0"/>
|
7524 |
-
<line num="
|
7525 |
<line num="463" type="stmt" count="0"/>
|
7526 |
-
<line num="
|
|
|
7527 |
<line num="467" type="stmt" count="0"/>
|
7528 |
-
<line num="468" type="stmt" count="0"/>
|
7529 |
-
<line num="469" type="stmt" count="0"/>
|
7530 |
<line num="470" type="stmt" count="0"/>
|
7531 |
-
<line num="
|
7532 |
-
<line num="
|
7533 |
-
<line num="474" type="stmt" count="0"/>
|
7534 |
-
<line num="475" type="stmt" count="0"/>
|
7535 |
-
<line num="477" type="stmt" count="0"/>
|
7536 |
<line num="478" type="stmt" count="0"/>
|
|
|
7537 |
<line num="481" type="stmt" count="0"/>
|
|
|
7538 |
<line num="484" type="stmt" count="0"/>
|
7539 |
-
<line num="
|
|
|
|
|
7540 |
<line num="489" type="stmt" count="0"/>
|
7541 |
-
<line num="
|
7542 |
-
<line num="
|
7543 |
-
<line num="494" type="stmt" count="0"/>
|
7544 |
<line num="495" type="stmt" count="0"/>
|
7545 |
<line num="496" type="stmt" count="0"/>
|
7546 |
-
<line num="
|
7547 |
-
<line num="499" type="stmt" count="0"/>
|
7548 |
<line num="500" type="stmt" count="0"/>
|
7549 |
<line num="501" type="stmt" count="0"/>
|
7550 |
-
<
|
7551 |
-
<line num="506" type="stmt" count="0"/>
|
7552 |
-
<line num="507" type="stmt" count="0"/>
|
7553 |
-
<line num="509" type="stmt" count="0"/>
|
7554 |
-
<line num="511" type="stmt" count="0"/>
|
7555 |
-
<line num="512" type="stmt" count="0"/>
|
7556 |
-
<line num="519" type="method" name="archive_upload_action" visibility="public" complexity="3" crap="12" count="0"/>
|
7557 |
-
<line num="520" type="stmt" count="0"/>
|
7558 |
-
<line num="521" type="stmt" count="0"/>
|
7559 |
-
<line num="522" type="stmt" count="0"/>
|
7560 |
-
<line num="523" type="stmt" count="0"/>
|
7561 |
-
<line num="524" type="stmt" count="0"/>
|
7562 |
-
<metrics loc="525" ncloc="295" classes="1" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="208" coveredstatements="2" elements="217" coveredelements="3"/>
|
7563 |
</file>
|
7564 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-usage.php">
|
7565 |
<class name="Boldgrid_Backup_Admin_Usage" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -7596,7 +7196,7 @@
|
|
7596 |
</file>
|
7597 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-utility.php">
|
7598 |
<class name="Boldgrid_Backup_Admin_Utility" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7599 |
-
<metrics complexity="85" methods="21" coveredmethods="
|
7600 |
</class>
|
7601 |
<line num="34" type="method" name="bytes_to_human" visibility="public" complexity="3" crap="3" count="4"/>
|
7602 |
<line num="36" type="stmt" count="4"/>
|
@@ -7753,17 +7353,17 @@
|
|
7753 |
<line num="403" type="stmt" count="0"/>
|
7754 |
<line num="406" type="stmt" count="0"/>
|
7755 |
<line num="409" type="stmt" count="0"/>
|
7756 |
-
<line num="426" type="method" name="bump_memory_limit" visibility="public" complexity="5" crap="5.20" count="
|
7757 |
-
<line num="428" type="stmt" count="
|
7758 |
<line num="429" type="stmt" count="0"/>
|
7759 |
-
<line num="433" type="stmt" count="
|
7760 |
-
<line num="436" type="stmt" count="
|
7761 |
-
<line num="439" type="stmt" count="
|
7762 |
-
<line num="443" type="stmt" count="
|
7763 |
-
<line num="444" type="stmt" count="
|
7764 |
<line num="445" type="stmt" count="0"/>
|
7765 |
-
<line num="447" type="stmt" count="
|
7766 |
-
<line num="449" type="stmt" count="
|
7767 |
<line num="472" type="method" name="bump_upload_limit" visibility="public" complexity="4" crap="20" count="0"/>
|
7768 |
<line num="474" type="stmt" count="0"/>
|
7769 |
<line num="475" type="stmt" count="0"/>
|
@@ -7774,9 +7374,9 @@
|
|
7774 |
<line num="491" type="stmt" count="0"/>
|
7775 |
<line num="494" type="stmt" count="0"/>
|
7776 |
<line num="496" type="stmt" count="0"/>
|
7777 |
-
<line num="513" type="method" name="is_active" visibility="public" complexity="1" crap="
|
7778 |
-
<line num="514" type="stmt" count="
|
7779 |
-
<line num="516" type="stmt" count="
|
7780 |
<line num="529" type="method" name="is_admin_page" visibility="public" complexity="3" crap="3" count="1"/>
|
7781 |
<line num="530" type="stmt" count="1"/>
|
7782 |
<line num="532" type="stmt" count="1"/>
|
@@ -7910,33 +7510,33 @@
|
|
7910 |
<line num="876" type="stmt" count="0"/>
|
7911 |
<line num="877" type="stmt" count="0"/>
|
7912 |
<line num="880" type="stmt" count="0"/>
|
7913 |
-
<line num="896" type="method" name="trailingslashit" visibility="public" complexity="3" crap="3.71" count="
|
7914 |
-
<line num="898" type="stmt" count="
|
7915 |
-
<line num="899" type="stmt" count="
|
7916 |
-
<line num="900" type="stmt" count="
|
7917 |
<line num="901" type="stmt" count="0"/>
|
7918 |
<line num="902" type="stmt" count="0"/>
|
7919 |
<line num="903" type="stmt" count="0"/>
|
7920 |
-
<line num="906" type="stmt" count="
|
7921 |
-
<metrics loc="908" ncloc="418" classes="1" methods="21" coveredmethods="
|
7922 |
</file>
|
7923 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-wp-cron.php">
|
7924 |
<class name="Boldgrid_Backup_Admin_WP_Cron" namespace="global" fullPackage="Boldgrid.Backup.Admin.WP">
|
7925 |
<metrics complexity="32" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="94" coveredstatements="12" elements="105" coveredelements="13"/>
|
7926 |
</class>
|
7927 |
-
<line num="73" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
7928 |
-
<line num="74" type="stmt" count="
|
7929 |
-
<line num="76" type="stmt" count="
|
7930 |
-
<line num="78" type="stmt" count="
|
7931 |
-
<line num="79" type="stmt" count="
|
7932 |
-
<line num="80" type="stmt" count="
|
7933 |
-
<line num="82" type="stmt" count="
|
7934 |
-
<line num="83" type="stmt" count="
|
7935 |
-
<line num="84" type="stmt" count="
|
7936 |
-
<line num="92" type="stmt" count="
|
7937 |
-
<line num="93" type="stmt" count="
|
7938 |
-
<line num="94" type="stmt" count="
|
7939 |
-
<line num="96" type="stmt" count="
|
7940 |
<line num="113" type="method" name="add_all_crons" visibility="public" complexity="7" crap="56" count="0"/>
|
7941 |
<line num="114" type="stmt" count="0"/>
|
7942 |
<line num="115" type="stmt" count="0"/>
|
@@ -8159,10 +7759,10 @@
|
|
8159 |
<class name="Boldgrid_Backup_Admin_Xhprof" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
8160 |
<metrics complexity="14" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="8" elements="44" coveredelements="8"/>
|
8161 |
</class>
|
8162 |
-
<line num="37" type="method" name="__construct" visibility="public" complexity="2" crap="3.03" count="
|
8163 |
-
<line num="39" type="stmt" count="
|
8164 |
-
<line num="42" type="stmt" count="
|
8165 |
-
<line num="46" type="stmt" count="
|
8166 |
<line num="47" type="stmt" count="0"/>
|
8167 |
<line num="48" type="stmt" count="0"/>
|
8168 |
<line num="50" type="stmt" count="0"/>
|
@@ -8170,15 +7770,15 @@
|
|
8170 |
<line num="52" type="stmt" count="0"/>
|
8171 |
<line num="53" type="stmt" count="0"/>
|
8172 |
<line num="54" type="stmt" count="0"/>
|
8173 |
-
<line num="55" type="stmt" count="
|
8174 |
-
<line num="64" type="method" name="xhprof_enable" visibility="private" complexity="5" crap="6.97" count="
|
8175 |
-
<line num="66" type="stmt" count="
|
8176 |
<line num="67" type="stmt" count="0"/>
|
8177 |
-
<line num="71" type="stmt" count="
|
8178 |
-
<line num="74" type="stmt" count="
|
8179 |
<line num="75" type="stmt" count="0"/>
|
8180 |
<line num="77" type="stmt" count="0"/>
|
8181 |
-
<line num="81" type="stmt" count="
|
8182 |
<line num="91" type="method" name="xhprof_disable" visibility="public" complexity="7" crap="56" count="0"/>
|
8183 |
<line num="93" type="stmt" count="0"/>
|
8184 |
<line num="94" type="stmt" count="0"/>
|
@@ -8207,7 +7807,7 @@
|
|
8207 |
</file>
|
8208 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin.php">
|
8209 |
<class name="Boldgrid_Backup_Admin" namespace="global" fullPackage="Boldgrid.Backup">
|
8210 |
-
<metrics complexity="
|
8211 |
</class>
|
8212 |
<line num="73" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
8213 |
<line num="74" type="stmt" count="0"/>
|
@@ -8219,38 +7819,39 @@
|
|
8219 |
<line num="84" type="stmt" count="0"/>
|
8220 |
<line num="86" type="stmt" count="0"/>
|
8221 |
<line num="87" type="stmt" count="0"/>
|
8222 |
-
<line num="94" type="method" name="enqueue_styles" visibility="public" complexity="
|
8223 |
<line num="95" type="stmt" count="0"/>
|
8224 |
-
<line num="
|
8225 |
-
<line num="
|
8226 |
-
<line num="
|
8227 |
-
<line num="
|
8228 |
-
<line num="111" type="stmt" count="0"/>
|
8229 |
<line num="112" type="stmt" count="0"/>
|
8230 |
<line num="113" type="stmt" count="0"/>
|
|
|
|
|
8231 |
<line num="116" type="stmt" count="0"/>
|
8232 |
-
<line num="117" type="stmt" count="0"/>
|
8233 |
<line num="118" type="stmt" count="0"/>
|
8234 |
-
<line num="119" type="stmt" count="0"/>
|
8235 |
<line num="120" type="stmt" count="0"/>
|
8236 |
-
<line num="
|
|
|
8237 |
<line num="124" type="stmt" count="0"/>
|
8238 |
<line num="125" type="stmt" count="0"/>
|
|
|
8239 |
<line num="127" type="stmt" count="0"/>
|
8240 |
<line num="128" type="stmt" count="0"/>
|
8241 |
-
<line num="129" type="stmt" count="0"/>
|
8242 |
<line num="130" type="stmt" count="0"/>
|
8243 |
-
<line num="131" type="stmt" count="0"/>
|
8244 |
<line num="132" type="stmt" count="0"/>
|
8245 |
-
<line num="
|
8246 |
<line num="136" type="stmt" count="0"/>
|
|
|
|
|
8247 |
<line num="139" type="stmt" count="0"/>
|
8248 |
<line num="140" type="stmt" count="0"/>
|
8249 |
-
<line num="141" type="stmt" count="0"/>
|
8250 |
<line num="142" type="stmt" count="0"/>
|
8251 |
-
<line num="143" type="stmt" count="0"/>
|
8252 |
<line num="144" type="stmt" count="0"/>
|
|
|
8253 |
<line num="146" type="stmt" count="0"/>
|
|
|
8254 |
<line num="148" type="stmt" count="0"/>
|
8255 |
<line num="149" type="stmt" count="0"/>
|
8256 |
<line num="150" type="stmt" count="0"/>
|
@@ -8259,58 +7860,43 @@
|
|
8259 |
<line num="153" type="stmt" count="0"/>
|
8260 |
<line num="154" type="stmt" count="0"/>
|
8261 |
<line num="155" type="stmt" count="0"/>
|
8262 |
-
<line num="156" type="stmt" count="0"/>
|
8263 |
-
<line num="157" type="stmt" count="0"/>
|
8264 |
<line num="158" type="stmt" count="0"/>
|
8265 |
-
<line num="
|
8266 |
-
<line num="
|
8267 |
<line num="165" type="stmt" count="0"/>
|
8268 |
<line num="168" type="stmt" count="0"/>
|
8269 |
<line num="169" type="stmt" count="0"/>
|
8270 |
-
<line num="
|
|
|
8271 |
<line num="173" type="stmt" count="0"/>
|
8272 |
<line num="174" type="stmt" count="0"/>
|
8273 |
<line num="175" type="stmt" count="0"/>
|
8274 |
-
<line num="
|
8275 |
-
<line num="
|
8276 |
-
<line num="
|
8277 |
-
<line num="
|
8278 |
-
<line num="
|
8279 |
-
<line num="193" type="stmt" count="29"/>
|
8280 |
<line num="197" type="stmt" count="1"/>
|
8281 |
<line num="200" type="stmt" count="1"/>
|
8282 |
-
<line num="
|
8283 |
<line num="204" type="stmt" count="1"/>
|
8284 |
-
<line num="
|
8285 |
<line num="208" type="stmt" count="1"/>
|
8286 |
-
<line num="
|
8287 |
-
<line num="212" type="stmt" count="
|
8288 |
-
<line num="
|
8289 |
-
<line num="216" type="stmt" count="
|
8290 |
-
<line num="
|
8291 |
-
<line num="
|
8292 |
-
<line num="
|
8293 |
-
<line num="223" type="stmt" count="
|
8294 |
-
<line num="
|
8295 |
-
<line num="227" type="stmt" count="
|
8296 |
-
<line num="
|
8297 |
-
<line num="
|
8298 |
-
<line num="232" type="stmt" count="0"/>
|
8299 |
<line num="233" type="stmt" count="1"/>
|
8300 |
-
<line num="
|
8301 |
-
<
|
8302 |
-
<line num="250" type="method" name="is_upkeep_page" visibility="public" complexity="3" crap="12" count="0"/>
|
8303 |
-
<line num="251" type="stmt" count="0"/>
|
8304 |
-
<line num="254" type="stmt" count="0"/>
|
8305 |
-
<line num="255" type="stmt" count="0"/>
|
8306 |
-
<line num="256" type="stmt" count="0"/>
|
8307 |
-
<line num="257" type="stmt" count="0"/>
|
8308 |
-
<line num="259" type="stmt" count="0"/>
|
8309 |
-
<line num="260" type="stmt" count="0"/>
|
8310 |
-
<line num="261" type="stmt" count="0"/>
|
8311 |
-
<line num="263" type="stmt" count="0"/>
|
8312 |
-
<line num="265" type="stmt" count="0"/>
|
8313 |
-
<metrics loc="267" ncloc="134" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="97" coveredstatements="18" elements="101" coveredelements="18"/>
|
8314 |
</file>
|
8315 |
<package name="Boldgrid\Backup\Admin">
|
8316 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-cron.php">
|
@@ -8363,14 +7949,14 @@
|
|
8363 |
</package>
|
8364 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-pcl-zip.php">
|
8365 |
<class name="Boldgrid_Backup_Admin_Compressor_Pcl_Zip" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.Pcl">
|
8366 |
-
<metrics complexity="57" methods="9" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="
|
8367 |
</class>
|
8368 |
-
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="
|
8369 |
-
<line num="67" type="stmt" count="
|
8370 |
<line num="68" type="stmt" count="1"/>
|
8371 |
<line num="69" type="stmt" count="1"/>
|
8372 |
-
<line num="71" type="stmt" count="
|
8373 |
-
<line num="72" type="stmt" count="
|
8374 |
<line num="96" type="method" name="browse_add_dirs" visibility="public" complexity="9" crap="9" count="1"/>
|
8375 |
<line num="97" type="stmt" count="1"/>
|
8376 |
<line num="100" type="stmt" count="1"/>
|
@@ -8456,10 +8042,10 @@
|
|
8456 |
<line num="311" type="stmt" count="1"/>
|
8457 |
<line num="313" type="stmt" count="1"/>
|
8458 |
<line num="315" type="stmt" count="1"/>
|
8459 |
-
<line num="327" type="method" name="extract_one" visibility="public" complexity="4" crap="
|
8460 |
-
<line num="328" type="stmt" count="
|
8461 |
-
<line num="329" type="stmt" count="
|
8462 |
-
<line num="330" type="stmt" count="
|
8463 |
<line num="333" type="stmt" count="0"/>
|
8464 |
<line num="334" type="stmt" count="0"/>
|
8465 |
<line num="335" type="stmt" count="0"/>
|
@@ -8571,7 +8157,7 @@
|
|
8571 |
<line num="579" type="stmt" count="1"/>
|
8572 |
<line num="581" type="stmt" count="1"/>
|
8573 |
<line num="583" type="stmt" count="1"/>
|
8574 |
-
<metrics loc="585" ncloc="330" classes="1" methods="9" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="
|
8575 |
</file>
|
8576 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-php-zip.php">
|
8577 |
<class name="Boldgrid_Backup_Admin_Compressor_Php_Zip" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.Php">
|
@@ -8675,8 +8261,8 @@
|
|
8675 |
<line num="275" type="stmt" count="0"/>
|
8676 |
<line num="276" type="stmt" count="0"/>
|
8677 |
<line num="279" type="stmt" count="1"/>
|
8678 |
-
<line num="287" type="method" name="is_extension_available" visibility="public" complexity="2" crap="2" count="
|
8679 |
-
<line num="288" type="stmt" count="
|
8680 |
<line num="298" type="method" name="test" visibility="public" complexity="4" crap="20" count="0"/>
|
8681 |
<line num="299" type="stmt" count="0"/>
|
8682 |
<line num="300" type="stmt" count="0"/>
|
@@ -8835,128 +8421,69 @@
|
|
8835 |
</file>
|
8836 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-system-zip.php">
|
8837 |
<class name="Boldgrid_Backup_Admin_Compressor_System_Zip" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.System">
|
8838 |
-
<metrics complexity="
|
8839 |
</class>
|
8840 |
-
<line num="
|
8841 |
-
<line num="
|
8842 |
-
<line num="
|
8843 |
-
<line num="
|
8844 |
-
<line num="
|
8845 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8846 |
<line num="130" type="stmt" count="1"/>
|
8847 |
-
<line num="
|
8848 |
-
<line num="
|
8849 |
-
<line num="
|
8850 |
-
<line num="
|
8851 |
-
<line num="
|
8852 |
-
<line num="142" type="stmt" count="1"/>
|
8853 |
-
<line num="144" type="stmt" count="1"/>
|
8854 |
-
<line num="146" type="stmt" count="1"/>
|
8855 |
<line num="148" type="stmt" count="1"/>
|
8856 |
-
<line num="
|
|
|
8857 |
<line num="153" type="stmt" count="1"/>
|
8858 |
<line num="155" type="stmt" count="1"/>
|
8859 |
-
<line num="
|
8860 |
-
<line num="
|
8861 |
-
<line num="
|
|
|
|
|
|
|
8862 |
<line num="167" type="stmt" count="1"/>
|
8863 |
-
<line num="
|
8864 |
-
<line num="
|
8865 |
-
<line num="174" type="stmt" count="1"/>
|
8866 |
-
<line num="175" type="stmt" count="1"/>
|
8867 |
-
<line num="176" type="stmt" count="1"/>
|
8868 |
<line num="178" type="stmt" count="1"/>
|
8869 |
<line num="179" type="stmt" count="1"/>
|
|
|
8870 |
<line num="182" type="stmt" count="1"/>
|
8871 |
<line num="183" type="stmt" count="1"/>
|
8872 |
<line num="184" type="stmt" count="1"/>
|
8873 |
-
<line num="
|
8874 |
-
<line num="
|
8875 |
-
<line num="
|
|
|
|
|
8876 |
<line num="197" type="stmt" count="1"/>
|
8877 |
-
<line num="198" type="stmt" count="1"/>
|
8878 |
<line num="199" type="stmt" count="1"/>
|
8879 |
-
<line num="
|
8880 |
-
<line num="202" type="stmt" count="1"/>
|
8881 |
<line num="203" type="stmt" count="1"/>
|
8882 |
-
<line num="
|
8883 |
-
<line num="
|
8884 |
-
<line num="
|
8885 |
-
<line num="
|
8886 |
-
<line num="215" type="stmt" count="1"/>
|
8887 |
<line num="217" type="stmt" count="1"/>
|
8888 |
-
<line num="
|
8889 |
-
<line num="
|
8890 |
<line num="222" type="stmt" count="1"/>
|
8891 |
-
<line num="
|
8892 |
-
<line num="
|
8893 |
-
<line num="
|
8894 |
-
<
|
8895 |
-
<line num="236" type="stmt" count="1"/>
|
8896 |
-
<line num="237" type="stmt" count="1"/>
|
8897 |
-
<line num="238" type="stmt" count="1"/>
|
8898 |
-
<line num="240" type="stmt" count="1"/>
|
8899 |
-
<line num="243" type="stmt" count="1"/>
|
8900 |
-
<line num="246" type="stmt" count="1"/>
|
8901 |
-
<line num="247" type="stmt" count="1"/>
|
8902 |
-
<line num="248" type="stmt" count="1"/>
|
8903 |
-
<line num="249" type="stmt" count="1"/>
|
8904 |
-
<line num="250" type="stmt" count="1"/>
|
8905 |
-
<line num="252" type="stmt" count="1"/>
|
8906 |
-
<line num="260" type="method" name="close" visibility="private" complexity="2" crap="2" count="1"/>
|
8907 |
-
<line num="261" type="stmt" count="1"/>
|
8908 |
-
<line num="262" type="stmt" count="1"/>
|
8909 |
-
<line num="263" type="stmt" count="1"/>
|
8910 |
-
<line num="265" type="stmt" count="1"/>
|
8911 |
-
<line num="266" type="stmt" count="1"/>
|
8912 |
-
<line num="267" type="stmt" count="1"/>
|
8913 |
-
<line num="268" type="stmt" count="1"/>
|
8914 |
-
<line num="269" type="stmt" count="1"/>
|
8915 |
-
<line num="270" type="stmt" count="1"/>
|
8916 |
-
<line num="271" type="stmt" count="1"/>
|
8917 |
-
<line num="272" type="stmt" count="1"/>
|
8918 |
-
<line num="273" type="stmt" count="1"/>
|
8919 |
-
<line num="274" type="stmt" count="1"/>
|
8920 |
-
<line num="276" type="stmt" count="1"/>
|
8921 |
-
<line num="277" type="stmt" count="1"/>
|
8922 |
-
<line num="279" type="stmt" count="1"/>
|
8923 |
-
<line num="280" type="stmt" count="1"/>
|
8924 |
-
<line num="281" type="stmt" count="1"/>
|
8925 |
-
<line num="282" type="stmt" count="1"/>
|
8926 |
-
<line num="291" type="method" name="get_compression_level" visibility="private" complexity="2" crap="2" count="1"/>
|
8927 |
-
<line num="292" type="stmt" count="1"/>
|
8928 |
-
<line num="293" type="stmt" count="1"/>
|
8929 |
-
<line num="303" type="method" name="zip_proc" visibility="private" complexity="3" crap="3" count="1"/>
|
8930 |
-
<line num="305" type="stmt" count="1"/>
|
8931 |
-
<line num="306" type="stmt" count="1"/>
|
8932 |
-
<line num="307" type="stmt" count="1"/>
|
8933 |
-
<line num="308" type="stmt" count="1"/>
|
8934 |
-
<line num="310" type="stmt" count="1"/>
|
8935 |
-
<line num="312" type="stmt" count="1"/>
|
8936 |
-
<line num="314" type="stmt" count="1"/>
|
8937 |
-
<line num="315" type="stmt" count="1"/>
|
8938 |
-
<line num="316" type="stmt" count="1"/>
|
8939 |
-
<line num="317" type="stmt" count="0"/>
|
8940 |
-
<line num="319" type="stmt" count="1"/>
|
8941 |
-
<line num="321" type="stmt" count="1"/>
|
8942 |
-
<line num="327" type="stmt" count="1"/>
|
8943 |
-
<line num="328" type="stmt" count="1"/>
|
8944 |
-
<line num="329" type="stmt" count="1"/>
|
8945 |
-
<line num="331" type="stmt" count="1"/>
|
8946 |
-
<line num="333" type="stmt" count="1"/>
|
8947 |
-
<line num="337" type="stmt" count="1"/>
|
8948 |
-
<line num="338" type="stmt" count="1"/>
|
8949 |
-
<line num="339" type="stmt" count="1"/>
|
8950 |
-
<line num="348" type="method" name="zip_sql" visibility="private" complexity="1" crap="1" count="1"/>
|
8951 |
-
<line num="349" type="stmt" count="1"/>
|
8952 |
-
<line num="350" type="stmt" count="1"/>
|
8953 |
-
<line num="352" type="stmt" count="1"/>
|
8954 |
-
<line num="354" type="stmt" count="1"/>
|
8955 |
-
<line num="356" type="stmt" count="1"/>
|
8956 |
-
<line num="358" type="stmt" count="1"/>
|
8957 |
-
<line num="359" type="stmt" count="1"/>
|
8958 |
-
<line num="360" type="stmt" count="1"/>
|
8959 |
-
<metrics loc="361" ncloc="166" classes="1" methods="9" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="110" coveredstatements="108" elements="119" coveredelements="115"/>
|
8960 |
</file>
|
8961 |
<package name="Boldgrid\Backup\Admin\Cron">
|
8962 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/cron/class-crontab.php">
|
@@ -9410,8 +8937,9 @@
|
|
9410 |
<line num="40" type="stmt" count="0"/>
|
9411 |
<line num="41" type="stmt" count="0"/>
|
9412 |
<line num="43" type="stmt" count="0"/>
|
9413 |
-
<line num="
|
9414 |
<line num="46" type="stmt" count="0"/>
|
|
|
9415 |
<line num="48" type="stmt" count="0"/>
|
9416 |
<line num="49" type="stmt" count="0"/>
|
9417 |
<line num="50" type="stmt" count="0"/>
|
@@ -9424,49 +8952,42 @@
|
|
9424 |
<line num="57" type="stmt" count="0"/>
|
9425 |
<line num="58" type="stmt" count="0"/>
|
9426 |
<line num="59" type="stmt" count="0"/>
|
9427 |
-
<line num="
|
9428 |
-
<line num="
|
9429 |
-
<line num="
|
9430 |
-
<line num="66" type="stmt" count="0"/>
|
9431 |
<line num="68" type="stmt" count="0"/>
|
9432 |
<line num="70" type="stmt" count="0"/>
|
9433 |
-
<line num="
|
9434 |
<line num="73" type="stmt" count="0"/>
|
|
|
9435 |
<line num="75" type="stmt" count="0"/>
|
9436 |
<line num="76" type="stmt" count="0"/>
|
9437 |
<line num="77" type="stmt" count="0"/>
|
9438 |
-
<line num="78" type="stmt" count="0"/>
|
9439 |
<line num="79" type="stmt" count="0"/>
|
9440 |
-
<line num="
|
9441 |
-
<line num="
|
9442 |
-
<line num="
|
9443 |
-
<line num="
|
|
|
9444 |
<line num="91" type="stmt" count="0"/>
|
9445 |
-
<line num="92" type="stmt" count="0"/>
|
9446 |
<line num="93" type="stmt" count="0"/>
|
9447 |
<line num="95" type="stmt" count="0"/>
|
9448 |
<line num="97" type="stmt" count="0"/>
|
|
|
9449 |
<line num="99" type="stmt" count="0"/>
|
9450 |
-
<line num="
|
9451 |
<line num="102" type="stmt" count="0"/>
|
9452 |
-
<line num="103" type="stmt" count="0"/>
|
9453 |
<line num="104" type="stmt" count="0"/>
|
9454 |
<line num="106" type="stmt" count="0"/>
|
9455 |
<line num="108" type="stmt" count="0"/>
|
9456 |
-
<line num="
|
9457 |
-
<line num="
|
|
|
9458 |
<line num="114" type="stmt" count="0"/>
|
9459 |
<line num="116" type="stmt" count="0"/>
|
9460 |
<line num="118" type="stmt" count="0"/>
|
9461 |
-
<line num="119" type="stmt" count="0"/>
|
9462 |
<line num="120" type="stmt" count="0"/>
|
9463 |
-
<
|
9464 |
-
<line num="124" type="stmt" count="0"/>
|
9465 |
-
<line num="125" type="stmt" count="0"/>
|
9466 |
-
<line num="127" type="stmt" count="0"/>
|
9467 |
-
<line num="129" type="stmt" count="0"/>
|
9468 |
-
<line num="131" type="stmt" count="0"/>
|
9469 |
-
<metrics loc="131" ncloc="111" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="76" coveredstatements="0" elements="76" coveredelements="0"/>
|
9470 |
</file>
|
9471 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/archives/note-pre-backup.php">
|
9472 |
<line num="17" type="stmt" count="0"/>
|
@@ -9852,7 +9373,6 @@
|
|
9852 |
<line num="384" type="stmt" count="0"/>
|
9853 |
<line num="385" type="stmt" count="0"/>
|
9854 |
<line num="386" type="stmt" count="0"/>
|
9855 |
-
<line num="387" type="stmt" count="0"/>
|
9856 |
<line num="388" type="stmt" count="0"/>
|
9857 |
<line num="389" type="stmt" count="0"/>
|
9858 |
<line num="390" type="stmt" count="0"/>
|
@@ -9860,16 +9380,17 @@
|
|
9860 |
<line num="392" type="stmt" count="0"/>
|
9861 |
<line num="393" type="stmt" count="0"/>
|
9862 |
<line num="394" type="stmt" count="0"/>
|
|
|
9863 |
<line num="396" type="stmt" count="0"/>
|
9864 |
<line num="397" type="stmt" count="0"/>
|
9865 |
<line num="398" type="stmt" count="0"/>
|
9866 |
<line num="399" type="stmt" count="0"/>
|
9867 |
<line num="400" type="stmt" count="0"/>
|
9868 |
-
<line num="401" type="stmt" count="0"/>
|
9869 |
<line num="402" type="stmt" count="0"/>
|
9870 |
-
<line num="403" type="stmt" count="0"/>
|
9871 |
<line num="404" type="stmt" count="0"/>
|
|
|
9872 |
<line num="406" type="stmt" count="0"/>
|
|
|
9873 |
<line num="408" type="stmt" count="0"/>
|
9874 |
<line num="409" type="stmt" count="0"/>
|
9875 |
<line num="410" type="stmt" count="0"/>
|
@@ -9880,22 +9401,17 @@
|
|
9880 |
<line num="415" type="stmt" count="0"/>
|
9881 |
<line num="416" type="stmt" count="0"/>
|
9882 |
<line num="417" type="stmt" count="0"/>
|
9883 |
-
<line num="418" type="stmt" count="0"/>
|
9884 |
<line num="419" type="stmt" count="0"/>
|
9885 |
-
<
|
9886 |
-
<line num="422" type="stmt" count="0"/>
|
9887 |
-
<line num="424" type="stmt" count="0"/>
|
9888 |
-
<metrics loc="424" ncloc="353" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="362" coveredstatements="0" elements="362" coveredelements="0"/>
|
9889 |
</file>
|
9890 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-backup-button.php">
|
9891 |
<line num="19" type="stmt" count="0"/>
|
9892 |
<line num="21" type="stmt" count="0"/>
|
9893 |
-
<line num="22" type="stmt" count="0"/>
|
9894 |
<line num="23" type="stmt" count="0"/>
|
9895 |
<line num="24" type="stmt" count="0"/>
|
9896 |
<line num="25" type="stmt" count="0"/>
|
9897 |
-
<line num="
|
9898 |
-
<line num="
|
9899 |
<line num="40" type="stmt" count="0"/>
|
9900 |
<line num="41" type="stmt" count="0"/>
|
9901 |
<line num="42" type="stmt" count="0"/>
|
@@ -9921,12 +9437,13 @@
|
|
9921 |
<line num="62" type="stmt" count="0"/>
|
9922 |
<line num="63" type="stmt" count="0"/>
|
9923 |
<line num="64" type="stmt" count="0"/>
|
9924 |
-
<line num="
|
9925 |
<line num="67" type="stmt" count="0"/>
|
9926 |
<line num="68" type="stmt" count="0"/>
|
9927 |
<line num="69" type="stmt" count="0"/>
|
9928 |
-
<line num="
|
9929 |
-
<
|
|
|
9930 |
</file>
|
9931 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-backup-modal.php">
|
9932 |
<line num="17" type="stmt" count="0"/>
|
@@ -10045,10 +9562,11 @@
|
|
10045 |
<line num="19" type="stmt" count="0"/>
|
10046 |
<line num="21" type="stmt" count="0"/>
|
10047 |
<line num="23" type="stmt" count="0"/>
|
10048 |
-
<line num="
|
10049 |
-
<line num="
|
10050 |
-
<line num="
|
10051 |
-
<
|
|
|
10052 |
</file>
|
10053 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-home.php">
|
10054 |
<line num="17" type="stmt" count="0"/>
|
@@ -10066,34 +9584,18 @@
|
|
10066 |
<line num="52" type="stmt" count="0"/>
|
10067 |
<line num="53" type="stmt" count="0"/>
|
10068 |
<line num="54" type="stmt" count="0"/>
|
10069 |
-
<line num="56" type="stmt" count="0"/>
|
10070 |
<line num="57" type="stmt" count="0"/>
|
10071 |
-
<line num="58" type="stmt" count="0"/>
|
10072 |
-
<line num="59" type="stmt" count="0"/>
|
10073 |
-
<line num="60" type="stmt" count="0"/>
|
10074 |
<line num="61" type="stmt" count="0"/>
|
10075 |
-
<line num="63" type="stmt" count="0"/>
|
10076 |
-
<line num="64" type="stmt" count="0"/>
|
10077 |
-
<line num="65" type="stmt" count="0"/>
|
10078 |
-
<line num="66" type="stmt" count="0"/>
|
10079 |
<line num="67" type="stmt" count="0"/>
|
10080 |
-
<line num="68" type="stmt" count="0"/>
|
10081 |
-
<line num="69" type="stmt" count="0"/>
|
10082 |
<line num="70" type="stmt" count="0"/>
|
10083 |
-
<line num="71" type="stmt" count="0"/>
|
10084 |
<line num="72" type="stmt" count="0"/>
|
10085 |
-
<line num="
|
10086 |
-
<line num="
|
10087 |
-
<line num="
|
10088 |
-
<line num="
|
10089 |
-
<line num="
|
10090 |
-
<line num="88" type="stmt" count="0"/>
|
10091 |
<line num="89" type="stmt" count="0"/>
|
10092 |
-
<
|
10093 |
-
<line num="92" type="stmt" count="0"/>
|
10094 |
-
<line num="93" type="stmt" count="0"/>
|
10095 |
-
<line num="94" type="stmt" count="0"/>
|
10096 |
-
<metrics loc="94" ncloc="45" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="42" coveredstatements="0" elements="42" coveredelements="0"/>
|
10097 |
</file>
|
10098 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-mail-restore.php">
|
10099 |
<line num="17" type="stmt" count="1"/>
|
@@ -10140,92 +9642,81 @@
|
|
10140 |
<metrics loc="93" ncloc="58" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="32" elements="41" coveredelements="32"/>
|
10141 |
</file>
|
10142 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-nav.php">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10143 |
<line num="19" type="stmt" count="1"/>
|
10144 |
<line num="21" type="stmt" count="1"/>
|
10145 |
<line num="23" type="stmt" count="1"/>
|
10146 |
-
<line num="
|
10147 |
-
<line num="
|
10148 |
-
<line num="
|
10149 |
-
<line num="31" type="stmt" count="1"/>
|
10150 |
-
<line num="33" type="stmt" count="1"/>
|
10151 |
-
<line num="34" type="stmt" count="1"/>
|
10152 |
-
<line num="35" type="stmt" count="1"/>
|
10153 |
-
<line num="36" type="stmt" count="1"/>
|
10154 |
<line num="38" type="stmt" count="1"/>
|
10155 |
<line num="39" type="stmt" count="1"/>
|
10156 |
<line num="40" type="stmt" count="1"/>
|
10157 |
-
<line num="
|
10158 |
<line num="43" type="stmt" count="1"/>
|
10159 |
-
<line num="44" type="stmt" count="1"/>
|
10160 |
-
<line num="45" type="stmt" count="1"/>
|
10161 |
-
<line num="46" type="stmt" count="1"/>
|
10162 |
-
<line num="48" type="stmt" count="1"/>
|
10163 |
-
<line num="49" type="stmt" count="1"/>
|
10164 |
-
<line num="50" type="stmt" count="1"/>
|
10165 |
<line num="51" type="stmt" count="1"/>
|
10166 |
<line num="53" type="stmt" count="1"/>
|
10167 |
-
<line num="54" type="stmt" count="1"/>
|
10168 |
<line num="55" type="stmt" count="1"/>
|
10169 |
-
<
|
10170 |
-
<line num="58" type="stmt" count="1"/>
|
10171 |
-
<line num="59" type="stmt" count="1"/>
|
10172 |
-
<line num="60" type="stmt" count="1"/>
|
10173 |
-
<line num="61" type="stmt" count="1"/>
|
10174 |
-
<line num="63" type="stmt" count="1"/>
|
10175 |
-
<line num="64" type="stmt" count="1"/>
|
10176 |
-
<line num="65" type="stmt" count="1"/>
|
10177 |
-
<line num="66" type="stmt" count="1"/>
|
10178 |
-
<line num="67" type="stmt" count="1"/>
|
10179 |
-
<line num="68" type="stmt" count="1"/>
|
10180 |
-
<line num="78" type="stmt" count="1"/>
|
10181 |
-
<line num="80" type="stmt" count="1"/>
|
10182 |
-
<line num="81" type="stmt" count="1"/>
|
10183 |
-
<line num="82" type="stmt" count="1"/>
|
10184 |
-
<line num="83" type="stmt" count="1"/>
|
10185 |
-
<line num="84" type="stmt" count="1"/>
|
10186 |
-
<line num="85" type="stmt" count="1"/>
|
10187 |
-
<line num="86" type="stmt" count="1"/>
|
10188 |
-
<line num="87" type="stmt" count="1"/>
|
10189 |
-
<line num="88" type="stmt" count="1"/>
|
10190 |
-
<line num="89" type="stmt" count="1"/>
|
10191 |
-
<line num="90" type="stmt" count="1"/>
|
10192 |
-
<line num="91" type="stmt" count="1"/>
|
10193 |
-
<line num="92" type="stmt" count="1"/>
|
10194 |
-
<line num="93" type="stmt" count="1"/>
|
10195 |
-
<line num="94" type="stmt" count="1"/>
|
10196 |
-
<line num="95" type="stmt" count="1"/>
|
10197 |
-
<line num="96" type="stmt" count="1"/>
|
10198 |
-
<line num="98" type="stmt" count="1"/>
|
10199 |
-
<metrics loc="98" ncloc="69" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="56" coveredstatements="56" elements="56" coveredelements="56"/>
|
10200 |
-
</file>
|
10201 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-premium.php">
|
10202 |
-
<line num="17" type="stmt" count="0"/>
|
10203 |
-
<line num="19" type="stmt" count="0"/>
|
10204 |
-
<line num="21" type="stmt" count="0"/>
|
10205 |
-
<line num="23" type="stmt" count="0"/>
|
10206 |
-
<line num="25" type="stmt" count="0"/>
|
10207 |
-
<line num="27" type="stmt" count="0"/>
|
10208 |
-
<line num="28" type="stmt" count="0"/>
|
10209 |
-
<line num="29" type="stmt" count="0"/>
|
10210 |
-
<line num="30" type="stmt" count="0"/>
|
10211 |
-
<line num="31" type="stmt" count="0"/>
|
10212 |
-
<line num="32" type="stmt" count="0"/>
|
10213 |
-
<line num="33" type="stmt" count="0"/>
|
10214 |
-
<line num="34" type="stmt" count="0"/>
|
10215 |
-
<line num="35" type="stmt" count="0"/>
|
10216 |
-
<line num="36" type="stmt" count="0"/>
|
10217 |
-
<line num="37" type="stmt" count="0"/>
|
10218 |
-
<line num="38" type="stmt" count="0"/>
|
10219 |
-
<line num="39" type="stmt" count="0"/>
|
10220 |
-
<line num="40" type="stmt" count="0"/>
|
10221 |
-
<line num="41" type="stmt" count="0"/>
|
10222 |
-
<line num="42" type="stmt" count="0"/>
|
10223 |
-
<line num="43" type="stmt" count="0"/>
|
10224 |
-
<line num="45" type="stmt" count="0"/>
|
10225 |
-
<line num="47" type="stmt" count="0"/>
|
10226 |
-
<line num="49" type="stmt" count="0"/>
|
10227 |
-
<line num="51" type="stmt" count="0"/>
|
10228 |
-
<metrics loc="51" ncloc="30" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="26" coveredstatements="0" elements="26" coveredelements="0"/>
|
10229 |
</file>
|
10230 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-settings.php">
|
10231 |
<line num="17" type="stmt" count="0"/>
|
@@ -10243,12 +9734,12 @@
|
|
10243 |
<line num="30" type="stmt" count="0"/>
|
10244 |
<line num="31" type="stmt" count="0"/>
|
10245 |
<line num="32" type="stmt" count="0"/>
|
10246 |
-
<line num="
|
10247 |
<line num="35" type="stmt" count="0"/>
|
10248 |
<line num="36" type="stmt" count="0"/>
|
10249 |
<line num="37" type="stmt" count="0"/>
|
10250 |
<line num="38" type="stmt" count="0"/>
|
10251 |
-
<line num="
|
10252 |
<line num="41" type="stmt" count="0"/>
|
10253 |
<line num="42" type="stmt" count="0"/>
|
10254 |
<line num="43" type="stmt" count="0"/>
|
@@ -10301,12 +9792,12 @@
|
|
10301 |
<line num="90" type="stmt" count="0"/>
|
10302 |
<line num="91" type="stmt" count="0"/>
|
10303 |
<line num="92" type="stmt" count="0"/>
|
10304 |
-
<line num="
|
10305 |
-
<line num="
|
10306 |
<line num="113" type="stmt" count="0"/>
|
10307 |
<line num="114" type="stmt" count="0"/>
|
10308 |
<line num="115" type="stmt" count="0"/>
|
10309 |
-
<line num="
|
10310 |
<line num="119" type="stmt" count="0"/>
|
10311 |
<line num="120" type="stmt" count="0"/>
|
10312 |
<line num="121" type="stmt" count="0"/>
|
@@ -10315,29 +9806,31 @@
|
|
10315 |
<line num="124" type="stmt" count="0"/>
|
10316 |
<line num="125" type="stmt" count="0"/>
|
10317 |
<line num="126" type="stmt" count="0"/>
|
10318 |
-
<line num="
|
10319 |
-
<line num="
|
10320 |
<line num="132" type="stmt" count="0"/>
|
10321 |
-
<line num="
|
10322 |
-
<line num="145" type="stmt" count="0"/>
|
10323 |
<line num="146" type="stmt" count="0"/>
|
10324 |
<line num="148" type="stmt" count="0"/>
|
10325 |
<line num="149" type="stmt" count="0"/>
|
10326 |
-
<line num="150" type="stmt" count="0"/>
|
10327 |
<line num="151" type="stmt" count="0"/>
|
10328 |
<line num="152" type="stmt" count="0"/>
|
10329 |
<line num="153" type="stmt" count="0"/>
|
10330 |
<line num="154" type="stmt" count="0"/>
|
10331 |
<line num="155" type="stmt" count="0"/>
|
10332 |
<line num="156" type="stmt" count="0"/>
|
|
|
10333 |
<line num="158" type="stmt" count="0"/>
|
10334 |
-
<line num="
|
10335 |
-
<line num="
|
10336 |
-
<line num="
|
10337 |
-
<line num="
|
10338 |
<line num="167" type="stmt" count="0"/>
|
|
|
10339 |
<line num="170" type="stmt" count="0"/>
|
10340 |
-
<
|
|
|
|
|
10341 |
</file>
|
10342 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-support.php">
|
10343 |
<line num="17" type="stmt" count="0"/>
|
@@ -10407,11 +9900,9 @@
|
|
10407 |
<line num="93" type="stmt" count="0"/>
|
10408 |
<line num="94" type="stmt" count="0"/>
|
10409 |
<line num="95" type="stmt" count="0"/>
|
10410 |
-
<line num="97" type="stmt" count="0"/>
|
10411 |
<line num="99" type="stmt" count="0"/>
|
10412 |
-
<line num="
|
10413 |
<line num="105" type="stmt" count="0"/>
|
10414 |
-
<line num="106" type="stmt" count="0"/>
|
10415 |
<line num="107" type="stmt" count="0"/>
|
10416 |
<line num="108" type="stmt" count="0"/>
|
10417 |
<line num="109" type="stmt" count="0"/>
|
@@ -10426,28 +9917,28 @@
|
|
10426 |
<line num="118" type="stmt" count="0"/>
|
10427 |
<line num="119" type="stmt" count="0"/>
|
10428 |
<line num="120" type="stmt" count="0"/>
|
|
|
10429 |
<line num="122" type="stmt" count="0"/>
|
10430 |
-
<line num="123" type="stmt" count="0"/>
|
10431 |
<line num="124" type="stmt" count="0"/>
|
10432 |
<line num="125" type="stmt" count="0"/>
|
10433 |
<line num="126" type="stmt" count="0"/>
|
10434 |
<line num="127" type="stmt" count="0"/>
|
10435 |
<line num="128" type="stmt" count="0"/>
|
|
|
10436 |
<line num="130" type="stmt" count="0"/>
|
10437 |
-
<line num="131" type="stmt" count="0"/>
|
10438 |
<line num="132" type="stmt" count="0"/>
|
10439 |
<line num="133" type="stmt" count="0"/>
|
10440 |
<line num="134" type="stmt" count="0"/>
|
10441 |
<line num="135" type="stmt" count="0"/>
|
10442 |
<line num="136" type="stmt" count="0"/>
|
|
|
10443 |
<line num="138" type="stmt" count="0"/>
|
10444 |
-
<line num="139" type="stmt" count="0"/>
|
10445 |
<line num="140" type="stmt" count="0"/>
|
10446 |
<line num="141" type="stmt" count="0"/>
|
10447 |
<line num="142" type="stmt" count="0"/>
|
10448 |
<line num="143" type="stmt" count="0"/>
|
|
|
10449 |
<line num="145" type="stmt" count="0"/>
|
10450 |
-
<line num="146" type="stmt" count="0"/>
|
10451 |
<line num="147" type="stmt" count="0"/>
|
10452 |
<line num="148" type="stmt" count="0"/>
|
10453 |
<line num="149" type="stmt" count="0"/>
|
@@ -10458,8 +9949,12 @@
|
|
10458 |
<line num="154" type="stmt" count="0"/>
|
10459 |
<line num="155" type="stmt" count="0"/>
|
10460 |
<line num="156" type="stmt" count="0"/>
|
10461 |
-
<line num="
|
10462 |
-
<
|
|
|
|
|
|
|
|
|
10463 |
</file>
|
10464 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-test.php">
|
10465 |
<line num="19" type="stmt" count="0"/>
|
@@ -10824,12 +10319,12 @@
|
|
10824 |
<line num="442" type="stmt" count="0"/>
|
10825 |
<line num="445" type="stmt" count="0"/>
|
10826 |
<line num="448" type="stmt" count="0"/>
|
10827 |
-
<line num="
|
10828 |
<line num="451" type="stmt" count="0"/>
|
10829 |
<line num="453" type="stmt" count="0"/>
|
10830 |
<line num="455" type="stmt" count="0"/>
|
10831 |
-
<line num="
|
10832 |
-
<metrics loc="
|
10833 |
</file>
|
10834 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-tools.php">
|
10835 |
<line num="15" type="stmt" count="0"/>
|
@@ -10855,10 +10350,10 @@
|
|
10855 |
<line num="37" type="stmt" count="0"/>
|
10856 |
<line num="46" type="stmt" count="0"/>
|
10857 |
<line num="57" type="stmt" count="0"/>
|
10858 |
-
<line num="59" type="stmt" count="0"/>
|
10859 |
<line num="61" type="stmt" count="0"/>
|
10860 |
-
<line num="
|
10861 |
-
<
|
|
|
10862 |
</file>
|
10863 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-transfers.php">
|
10864 |
<line num="14" type="stmt" count="0"/>
|
@@ -10894,10 +10389,9 @@
|
|
10894 |
<line num="66" type="stmt" count="0"/>
|
10895 |
<line num="69" type="stmt" count="0"/>
|
10896 |
<line num="71" type="stmt" count="0"/>
|
10897 |
-
<line num="72" type="stmt" count="0"/>
|
10898 |
<line num="73" type="stmt" count="0"/>
|
10899 |
-
<line num="
|
10900 |
-
<metrics loc="
|
10901 |
</file>
|
10902 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/remote/ftp.php">
|
10903 |
<line num="20" type="stmt" count="0"/>
|
@@ -10986,415 +10480,63 @@
|
|
10986 |
<line num="16" type="stmt" count="0"/>
|
10987 |
<line num="18" type="stmt" count="0"/>
|
10988 |
<line num="20" type="stmt" count="0"/>
|
10989 |
-
<line num="
|
|
|
10990 |
<line num="24" type="stmt" count="0"/>
|
10991 |
<line num="25" type="stmt" count="0"/>
|
10992 |
-
<line num="
|
10993 |
<line num="28" type="stmt" count="0"/>
|
10994 |
<line num="30" type="stmt" count="0"/>
|
10995 |
<line num="31" type="stmt" count="0"/>
|
10996 |
<line num="32" type="stmt" count="0"/>
|
|
|
10997 |
<line num="34" type="stmt" count="0"/>
|
10998 |
<line num="35" type="stmt" count="0"/>
|
10999 |
<line num="36" type="stmt" count="0"/>
|
11000 |
<line num="38" type="stmt" count="0"/>
|
11001 |
<line num="39" type="stmt" count="0"/>
|
11002 |
-
<line num="40" type="stmt" count="0"/>
|
11003 |
<line num="41" type="stmt" count="0"/>
|
|
|
11004 |
<line num="43" type="stmt" count="0"/>
|
11005 |
<line num="44" type="stmt" count="0"/>
|
11006 |
-
<line num="45" type="stmt" count="0"/>
|
11007 |
<line num="46" type="stmt" count="0"/>
|
|
|
11008 |
<line num="48" type="stmt" count="0"/>
|
11009 |
<line num="49" type="stmt" count="0"/>
|
11010 |
-
<line num="50" type="stmt" count="0"/>
|
11011 |
<line num="51" type="stmt" count="0"/>
|
11012 |
-
<line num="
|
|
|
|
|
11013 |
<line num="56" type="stmt" count="0"/>
|
11014 |
<line num="57" type="stmt" count="0"/>
|
11015 |
<line num="58" type="stmt" count="0"/>
|
11016 |
<line num="61" type="stmt" count="0"/>
|
11017 |
-
<line num="62" type="stmt" count="0"/>
|
11018 |
<line num="63" type="stmt" count="0"/>
|
11019 |
<line num="64" type="stmt" count="0"/>
|
11020 |
<line num="65" type="stmt" count="0"/>
|
11021 |
-
<line num="
|
11022 |
<line num="69" type="stmt" count="0"/>
|
11023 |
<line num="70" type="stmt" count="0"/>
|
11024 |
-
<line num="71" type="stmt" count="0"/>
|
11025 |
<line num="72" type="stmt" count="0"/>
|
11026 |
<line num="73" type="stmt" count="0"/>
|
11027 |
-
<line num="74" type="stmt" count="0"/>
|
11028 |
<line num="75" type="stmt" count="0"/>
|
11029 |
-
<line num="77" type="stmt" count="0"/>
|
11030 |
-
<line num="78" type="stmt" count="0"/>
|
11031 |
-
<line num="79" type="stmt" count="0"/>
|
11032 |
-
<line num="80" type="stmt" count="0"/>
|
11033 |
-
<line num="82" type="stmt" count="0"/>
|
11034 |
-
<line num="83" type="stmt" count="0"/>
|
11035 |
-
<line num="84" type="stmt" count="0"/>
|
11036 |
-
<line num="86" type="stmt" count="0"/>
|
11037 |
-
<line num="87" type="stmt" count="0"/>
|
11038 |
-
<line num="88" type="stmt" count="0"/>
|
11039 |
-
<line num="89" type="stmt" count="0"/>
|
11040 |
-
<line num="92" type="stmt" count="0"/>
|
11041 |
-
<line num="94" type="stmt" count="0"/>
|
11042 |
-
<line num="95" type="stmt" count="0"/>
|
11043 |
-
<line num="96" type="stmt" count="0"/>
|
11044 |
-
<line num="99" type="stmt" count="0"/>
|
11045 |
-
<line num="100" type="stmt" count="0"/>
|
11046 |
-
<line num="101" type="stmt" count="0"/>
|
11047 |
-
<line num="102" type="stmt" count="0"/>
|
11048 |
-
<line num="103" type="stmt" count="0"/>
|
11049 |
-
<line num="105" type="stmt" count="0"/>
|
11050 |
-
<line num="106" type="stmt" count="0"/>
|
11051 |
-
<line num="107" type="stmt" count="0"/>
|
11052 |
-
<line num="108" type="stmt" count="0"/>
|
11053 |
-
<line num="110" type="stmt" count="0"/>
|
11054 |
-
<line num="111" type="stmt" count="0"/>
|
11055 |
-
<line num="112" type="stmt" count="0"/>
|
11056 |
-
<line num="113" type="stmt" count="0"/>
|
11057 |
-
<line num="114" type="stmt" count="0"/>
|
11058 |
-
<line num="115" type="stmt" count="0"/>
|
11059 |
-
<line num="117" type="stmt" count="0"/>
|
11060 |
-
<line num="118" type="stmt" count="0"/>
|
11061 |
-
<line num="120" type="stmt" count="0"/>
|
11062 |
-
<metrics loc="120" ncloc="105" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="76" coveredstatements="0" elements="76" coveredelements="0"/>
|
11063 |
-
</file>
|
11064 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/settings/auto-update.php">
|
11065 |
-
<line num="17" type="stmt" count="0"/>
|
11066 |
-
<line num="18" type="stmt" count="0"/>
|
11067 |
-
<line num="19" type="stmt" count="0"/>
|
11068 |
-
<line num="20" type="stmt" count="0"/>
|
11069 |
-
<line num="21" type="stmt" count="0"/>
|
11070 |
-
<line num="22" type="stmt" count="0"/>
|
11071 |
-
<line num="23" type="stmt" count="0"/>
|
11072 |
-
<line num="24" type="stmt" count="0"/>
|
11073 |
-
<line num="25" type="stmt" count="0"/>
|
11074 |
-
<line num="26" type="stmt" count="0"/>
|
11075 |
-
<line num="27" type="stmt" count="0"/>
|
11076 |
-
<line num="28" type="stmt" count="0"/>
|
11077 |
-
<line num="29" type="stmt" count="0"/>
|
11078 |
-
<line num="41" type="stmt" count="0"/>
|
11079 |
-
<line num="42" type="stmt" count="0"/>
|
11080 |
-
<line num="43" type="stmt" count="0"/>
|
11081 |
-
<line num="45" type="stmt" count="0"/>
|
11082 |
-
<line num="46" type="stmt" count="0"/>
|
11083 |
-
<line num="47" type="stmt" count="0"/>
|
11084 |
-
<line num="48" type="stmt" count="0"/>
|
11085 |
-
<line num="50" type="stmt" count="0"/>
|
11086 |
-
<line num="51" type="stmt" count="0"/>
|
11087 |
-
<line num="52" type="stmt" count="0"/>
|
11088 |
-
<line num="54" type="stmt" count="0"/>
|
11089 |
-
<line num="55" type="stmt" count="0"/>
|
11090 |
-
<line num="56" type="stmt" count="0"/>
|
11091 |
-
<line num="57" type="stmt" count="0"/>
|
11092 |
-
<line num="58" type="stmt" count="0"/>
|
11093 |
-
<line num="59" type="stmt" count="0"/>
|
11094 |
-
<line num="60" type="stmt" count="0"/>
|
11095 |
-
<line num="61" type="stmt" count="0"/>
|
11096 |
-
<line num="62" type="stmt" count="0"/>
|
11097 |
-
<line num="63" type="stmt" count="0"/>
|
11098 |
-
<line num="64" type="stmt" count="0"/>
|
11099 |
-
<line num="65" type="stmt" count="0"/>
|
11100 |
-
<line num="66" type="stmt" count="0"/>
|
11101 |
<line num="76" type="stmt" count="0"/>
|
11102 |
<line num="77" type="stmt" count="0"/>
|
11103 |
-
<line num="
|
11104 |
-
<line num="80" type="stmt" count="0"/>
|
11105 |
<line num="81" type="stmt" count="0"/>
|
11106 |
<line num="82" type="stmt" count="0"/>
|
11107 |
-
<line num="83" type="stmt" count="0"/>
|
11108 |
<line num="84" type="stmt" count="0"/>
|
11109 |
<line num="85" type="stmt" count="0"/>
|
11110 |
<line num="86" type="stmt" count="0"/>
|
11111 |
-
<line num="87" type="stmt" count="0"/>
|
11112 |
-
<line num="88" type="stmt" count="0"/>
|
11113 |
<line num="89" type="stmt" count="0"/>
|
|
|
11114 |
<line num="91" type="stmt" count="0"/>
|
11115 |
<line num="92" type="stmt" count="0"/>
|
11116 |
<line num="93" type="stmt" count="0"/>
|
11117 |
-
<line num="
|
11118 |
<line num="96" type="stmt" count="0"/>
|
11119 |
-
<line num="
|
11120 |
-
<
|
11121 |
-
<line num="109" type="stmt" count="0"/>
|
11122 |
-
<line num="110" type="stmt" count="0"/>
|
11123 |
-
<line num="111" type="stmt" count="0"/>
|
11124 |
-
<line num="112" type="stmt" count="0"/>
|
11125 |
-
<line num="113" type="stmt" count="0"/>
|
11126 |
-
<line num="114" type="stmt" count="0"/>
|
11127 |
-
<line num="115" type="stmt" count="0"/>
|
11128 |
-
<line num="117" type="stmt" count="0"/>
|
11129 |
-
<line num="118" type="stmt" count="0"/>
|
11130 |
-
<line num="119" type="stmt" count="0"/>
|
11131 |
-
<line num="120" type="stmt" count="0"/>
|
11132 |
-
<line num="121" type="stmt" count="0"/>
|
11133 |
-
<line num="122" type="stmt" count="0"/>
|
11134 |
-
<line num="123" type="stmt" count="0"/>
|
11135 |
-
<line num="124" type="stmt" count="0"/>
|
11136 |
-
<line num="125" type="stmt" count="0"/>
|
11137 |
-
<line num="126" type="stmt" count="0"/>
|
11138 |
-
<line num="127" type="stmt" count="0"/>
|
11139 |
-
<line num="128" type="stmt" count="0"/>
|
11140 |
-
<line num="129" type="stmt" count="0"/>
|
11141 |
-
<line num="130" type="stmt" count="0"/>
|
11142 |
-
<line num="131" type="stmt" count="0"/>
|
11143 |
-
<line num="132" type="stmt" count="0"/>
|
11144 |
-
<line num="133" type="stmt" count="0"/>
|
11145 |
-
<line num="134" type="stmt" count="0"/>
|
11146 |
-
<line num="135" type="stmt" count="0"/>
|
11147 |
-
<line num="136" type="stmt" count="0"/>
|
11148 |
-
<line num="137" type="stmt" count="0"/>
|
11149 |
-
<line num="138" type="stmt" count="0"/>
|
11150 |
-
<line num="139" type="stmt" count="0"/>
|
11151 |
-
<line num="140" type="stmt" count="0"/>
|
11152 |
-
<line num="141" type="stmt" count="0"/>
|
11153 |
-
<line num="142" type="stmt" count="0"/>
|
11154 |
-
<line num="143" type="stmt" count="0"/>
|
11155 |
-
<line num="144" type="stmt" count="0"/>
|
11156 |
-
<line num="145" type="stmt" count="0"/>
|
11157 |
-
<line num="146" type="stmt" count="0"/>
|
11158 |
-
<line num="147" type="stmt" count="0"/>
|
11159 |
-
<line num="148" type="stmt" count="0"/>
|
11160 |
-
<line num="149" type="stmt" count="0"/>
|
11161 |
-
<line num="150" type="stmt" count="0"/>
|
11162 |
-
<line num="151" type="stmt" count="0"/>
|
11163 |
-
<line num="152" type="stmt" count="0"/>
|
11164 |
-
<line num="153" type="stmt" count="0"/>
|
11165 |
-
<line num="154" type="stmt" count="0"/>
|
11166 |
-
<line num="155" type="stmt" count="0"/>
|
11167 |
-
<line num="156" type="stmt" count="0"/>
|
11168 |
-
<line num="157" type="stmt" count="0"/>
|
11169 |
-
<line num="158" type="stmt" count="0"/>
|
11170 |
-
<line num="159" type="stmt" count="0"/>
|
11171 |
-
<line num="160" type="stmt" count="0"/>
|
11172 |
-
<line num="161" type="stmt" count="0"/>
|
11173 |
-
<line num="162" type="stmt" count="0"/>
|
11174 |
-
<line num="163" type="stmt" count="0"/>
|
11175 |
-
<line num="164" type="stmt" count="0"/>
|
11176 |
-
<line num="165" type="stmt" count="0"/>
|
11177 |
-
<line num="166" type="stmt" count="0"/>
|
11178 |
-
<line num="167" type="stmt" count="0"/>
|
11179 |
-
<line num="168" type="stmt" count="0"/>
|
11180 |
-
<line num="169" type="stmt" count="0"/>
|
11181 |
-
<line num="170" type="stmt" count="0"/>
|
11182 |
-
<line num="171" type="stmt" count="0"/>
|
11183 |
-
<line num="172" type="stmt" count="0"/>
|
11184 |
-
<line num="173" type="stmt" count="0"/>
|
11185 |
-
<line num="174" type="stmt" count="0"/>
|
11186 |
-
<line num="175" type="stmt" count="0"/>
|
11187 |
-
<line num="176" type="stmt" count="0"/>
|
11188 |
-
<line num="177" type="stmt" count="0"/>
|
11189 |
-
<line num="178" type="stmt" count="0"/>
|
11190 |
-
<line num="179" type="stmt" count="0"/>
|
11191 |
-
<line num="180" type="stmt" count="0"/>
|
11192 |
-
<line num="181" type="stmt" count="0"/>
|
11193 |
-
<line num="182" type="stmt" count="0"/>
|
11194 |
-
<line num="183" type="stmt" count="0"/>
|
11195 |
-
<line num="184" type="stmt" count="0"/>
|
11196 |
-
<line num="185" type="stmt" count="0"/>
|
11197 |
-
<line num="186" type="stmt" count="0"/>
|
11198 |
-
<line num="187" type="stmt" count="0"/>
|
11199 |
-
<line num="188" type="stmt" count="0"/>
|
11200 |
-
<line num="189" type="stmt" count="0"/>
|
11201 |
-
<line num="190" type="stmt" count="0"/>
|
11202 |
-
<line num="191" type="stmt" count="0"/>
|
11203 |
-
<line num="192" type="stmt" count="0"/>
|
11204 |
-
<line num="193" type="stmt" count="0"/>
|
11205 |
-
<line num="194" type="stmt" count="0"/>
|
11206 |
-
<line num="195" type="stmt" count="0"/>
|
11207 |
-
<line num="196" type="stmt" count="0"/>
|
11208 |
-
<line num="197" type="stmt" count="0"/>
|
11209 |
-
<line num="198" type="stmt" count="0"/>
|
11210 |
-
<line num="199" type="stmt" count="0"/>
|
11211 |
-
<line num="200" type="stmt" count="0"/>
|
11212 |
-
<line num="212" type="stmt" count="0"/>
|
11213 |
-
<line num="213" type="stmt" count="0"/>
|
11214 |
-
<line num="214" type="stmt" count="0"/>
|
11215 |
-
<line num="215" type="stmt" count="0"/>
|
11216 |
-
<line num="216" type="stmt" count="0"/>
|
11217 |
-
<line num="218" type="stmt" count="0"/>
|
11218 |
-
<line num="219" type="stmt" count="0"/>
|
11219 |
-
<line num="220" type="stmt" count="0"/>
|
11220 |
-
<line num="221" type="stmt" count="0"/>
|
11221 |
-
<line num="222" type="stmt" count="0"/>
|
11222 |
-
<line num="223" type="stmt" count="0"/>
|
11223 |
-
<line num="224" type="stmt" count="0"/>
|
11224 |
-
<line num="226" type="stmt" count="0"/>
|
11225 |
-
<line num="227" type="stmt" count="0"/>
|
11226 |
-
<line num="228" type="stmt" count="0"/>
|
11227 |
-
<line num="229" type="stmt" count="0"/>
|
11228 |
-
<line num="231" type="stmt" count="0"/>
|
11229 |
-
<line num="232" type="stmt" count="0"/>
|
11230 |
-
<line num="233" type="stmt" count="0"/>
|
11231 |
-
<line num="234" type="stmt" count="0"/>
|
11232 |
-
<line num="235" type="stmt" count="0"/>
|
11233 |
-
<line num="236" type="stmt" count="0"/>
|
11234 |
-
<line num="237" type="stmt" count="0"/>
|
11235 |
-
<line num="238" type="stmt" count="0"/>
|
11236 |
-
<line num="239" type="stmt" count="0"/>
|
11237 |
-
<line num="240" type="stmt" count="0"/>
|
11238 |
-
<line num="241" type="stmt" count="0"/>
|
11239 |
-
<line num="242" type="stmt" count="0"/>
|
11240 |
-
<line num="243" type="stmt" count="0"/>
|
11241 |
-
<line num="244" type="stmt" count="0"/>
|
11242 |
-
<line num="245" type="stmt" count="0"/>
|
11243 |
-
<line num="246" type="stmt" count="0"/>
|
11244 |
-
<line num="247" type="stmt" count="0"/>
|
11245 |
-
<line num="248" type="stmt" count="0"/>
|
11246 |
-
<line num="249" type="stmt" count="0"/>
|
11247 |
-
<line num="250" type="stmt" count="0"/>
|
11248 |
-
<line num="251" type="stmt" count="0"/>
|
11249 |
-
<line num="252" type="stmt" count="0"/>
|
11250 |
-
<line num="253" type="stmt" count="0"/>
|
11251 |
-
<line num="255" type="stmt" count="0"/>
|
11252 |
-
<line num="256" type="stmt" count="0"/>
|
11253 |
-
<line num="258" type="stmt" count="0"/>
|
11254 |
-
<line num="259" type="stmt" count="0"/>
|
11255 |
-
<line num="260" type="stmt" count="0"/>
|
11256 |
-
<line num="261" type="stmt" count="0"/>
|
11257 |
-
<line num="262" type="stmt" count="0"/>
|
11258 |
-
<line num="263" type="stmt" count="0"/>
|
11259 |
-
<line num="264" type="stmt" count="0"/>
|
11260 |
-
<line num="265" type="stmt" count="0"/>
|
11261 |
-
<line num="266" type="stmt" count="0"/>
|
11262 |
-
<line num="267" type="stmt" count="0"/>
|
11263 |
-
<line num="269" type="stmt" count="0"/>
|
11264 |
-
<line num="271" type="stmt" count="0"/>
|
11265 |
-
<line num="272" type="stmt" count="0"/>
|
11266 |
-
<line num="273" type="stmt" count="0"/>
|
11267 |
-
<line num="275" type="stmt" count="0"/>
|
11268 |
-
<line num="277" type="stmt" count="0"/>
|
11269 |
-
<line num="279" type="stmt" count="0"/>
|
11270 |
-
<line num="280" type="stmt" count="0"/>
|
11271 |
-
<line num="281" type="stmt" count="0"/>
|
11272 |
-
<line num="282" type="stmt" count="0"/>
|
11273 |
-
<line num="283" type="stmt" count="0"/>
|
11274 |
-
<line num="284" type="stmt" count="0"/>
|
11275 |
-
<line num="285" type="stmt" count="0"/>
|
11276 |
-
<line num="286" type="stmt" count="0"/>
|
11277 |
-
<line num="287" type="stmt" count="0"/>
|
11278 |
-
<line num="288" type="stmt" count="0"/>
|
11279 |
-
<line num="289" type="stmt" count="0"/>
|
11280 |
-
<line num="290" type="stmt" count="0"/>
|
11281 |
-
<line num="291" type="stmt" count="0"/>
|
11282 |
-
<line num="292" type="stmt" count="0"/>
|
11283 |
-
<line num="293" type="stmt" count="0"/>
|
11284 |
-
<line num="294" type="stmt" count="0"/>
|
11285 |
-
<line num="295" type="stmt" count="0"/>
|
11286 |
-
<line num="296" type="stmt" count="0"/>
|
11287 |
-
<line num="298" type="stmt" count="0"/>
|
11288 |
-
<line num="299" type="stmt" count="0"/>
|
11289 |
-
<line num="300" type="stmt" count="0"/>
|
11290 |
-
<line num="301" type="stmt" count="0"/>
|
11291 |
-
<line num="302" type="stmt" count="0"/>
|
11292 |
-
<line num="303" type="stmt" count="0"/>
|
11293 |
-
<line num="304" type="stmt" count="0"/>
|
11294 |
-
<line num="305" type="stmt" count="0"/>
|
11295 |
-
<line num="306" type="stmt" count="0"/>
|
11296 |
-
<line num="307" type="stmt" count="0"/>
|
11297 |
-
<line num="308" type="stmt" count="0"/>
|
11298 |
-
<line num="309" type="stmt" count="0"/>
|
11299 |
-
<line num="310" type="stmt" count="0"/>
|
11300 |
-
<line num="311" type="stmt" count="0"/>
|
11301 |
-
<line num="312" type="stmt" count="0"/>
|
11302 |
-
<line num="314" type="stmt" count="0"/>
|
11303 |
-
<line num="315" type="stmt" count="0"/>
|
11304 |
-
<line num="316" type="stmt" count="0"/>
|
11305 |
-
<line num="328" type="stmt" count="0"/>
|
11306 |
-
<line num="329" type="stmt" count="0"/>
|
11307 |
-
<line num="330" type="stmt" count="0"/>
|
11308 |
-
<line num="331" type="stmt" count="0"/>
|
11309 |
-
<line num="332" type="stmt" count="0"/>
|
11310 |
-
<line num="333" type="stmt" count="0"/>
|
11311 |
-
<line num="335" type="stmt" count="0"/>
|
11312 |
-
<line num="336" type="stmt" count="0"/>
|
11313 |
-
<line num="337" type="stmt" count="0"/>
|
11314 |
-
<line num="339" type="stmt" count="0"/>
|
11315 |
-
<line num="340" type="stmt" count="0"/>
|
11316 |
-
<line num="341" type="stmt" count="0"/>
|
11317 |
-
<line num="342" type="stmt" count="0"/>
|
11318 |
-
<line num="343" type="stmt" count="0"/>
|
11319 |
-
<line num="344" type="stmt" count="0"/>
|
11320 |
-
<line num="346" type="stmt" count="0"/>
|
11321 |
-
<line num="347" type="stmt" count="0"/>
|
11322 |
-
<line num="348" type="stmt" count="0"/>
|
11323 |
-
<line num="349" type="stmt" count="0"/>
|
11324 |
-
<line num="351" type="stmt" count="0"/>
|
11325 |
-
<line num="352" type="stmt" count="0"/>
|
11326 |
-
<line num="353" type="stmt" count="0"/>
|
11327 |
-
<line num="354" type="stmt" count="0"/>
|
11328 |
-
<line num="355" type="stmt" count="0"/>
|
11329 |
-
<line num="356" type="stmt" count="0"/>
|
11330 |
-
<line num="357" type="stmt" count="0"/>
|
11331 |
-
<line num="358" type="stmt" count="0"/>
|
11332 |
-
<line num="359" type="stmt" count="0"/>
|
11333 |
-
<line num="360" type="stmt" count="0"/>
|
11334 |
-
<line num="361" type="stmt" count="0"/>
|
11335 |
-
<line num="362" type="stmt" count="0"/>
|
11336 |
-
<line num="363" type="stmt" count="0"/>
|
11337 |
-
<line num="364" type="stmt" count="0"/>
|
11338 |
-
<line num="365" type="stmt" count="0"/>
|
11339 |
-
<line num="366" type="stmt" count="0"/>
|
11340 |
-
<line num="367" type="stmt" count="0"/>
|
11341 |
-
<line num="368" type="stmt" count="0"/>
|
11342 |
-
<line num="369" type="stmt" count="0"/>
|
11343 |
-
<line num="370" type="stmt" count="0"/>
|
11344 |
-
<line num="371" type="stmt" count="0"/>
|
11345 |
-
<line num="372" type="stmt" count="0"/>
|
11346 |
-
<line num="373" type="stmt" count="0"/>
|
11347 |
-
<line num="374" type="stmt" count="0"/>
|
11348 |
-
<line num="376" type="stmt" count="0"/>
|
11349 |
-
<line num="377" type="stmt" count="0"/>
|
11350 |
-
<line num="379" type="stmt" count="0"/>
|
11351 |
-
<line num="380" type="stmt" count="0"/>
|
11352 |
-
<line num="381" type="stmt" count="0"/>
|
11353 |
-
<line num="382" type="stmt" count="0"/>
|
11354 |
-
<line num="383" type="stmt" count="0"/>
|
11355 |
-
<line num="384" type="stmt" count="0"/>
|
11356 |
-
<line num="385" type="stmt" count="0"/>
|
11357 |
-
<line num="386" type="stmt" count="0"/>
|
11358 |
-
<line num="387" type="stmt" count="0"/>
|
11359 |
-
<line num="388" type="stmt" count="0"/>
|
11360 |
-
<line num="390" type="stmt" count="0"/>
|
11361 |
-
<line num="391" type="stmt" count="0"/>
|
11362 |
-
<line num="394" type="stmt" count="0"/>
|
11363 |
-
<line num="395" type="stmt" count="0"/>
|
11364 |
-
<line num="397" type="stmt" count="0"/>
|
11365 |
-
<line num="398" type="stmt" count="0"/>
|
11366 |
-
<line num="399" type="stmt" count="0"/>
|
11367 |
-
<line num="400" type="stmt" count="0"/>
|
11368 |
-
<line num="401" type="stmt" count="0"/>
|
11369 |
-
<line num="402" type="stmt" count="0"/>
|
11370 |
-
<line num="403" type="stmt" count="0"/>
|
11371 |
-
<line num="404" type="stmt" count="0"/>
|
11372 |
-
<line num="405" type="stmt" count="0"/>
|
11373 |
-
<line num="406" type="stmt" count="0"/>
|
11374 |
-
<line num="407" type="stmt" count="0"/>
|
11375 |
-
<line num="408" type="stmt" count="0"/>
|
11376 |
-
<line num="409" type="stmt" count="0"/>
|
11377 |
-
<line num="410" type="stmt" count="0"/>
|
11378 |
-
<line num="411" type="stmt" count="0"/>
|
11379 |
-
<line num="412" type="stmt" count="0"/>
|
11380 |
-
<line num="413" type="stmt" count="0"/>
|
11381 |
-
<line num="414" type="stmt" count="0"/>
|
11382 |
-
<line num="416" type="stmt" count="0"/>
|
11383 |
-
<line num="418" type="stmt" count="0"/>
|
11384 |
-
<line num="419" type="stmt" count="0"/>
|
11385 |
-
<line num="421" type="stmt" count="0"/>
|
11386 |
-
<line num="423" type="stmt" count="0"/>
|
11387 |
-
<line num="424" type="stmt" count="0"/>
|
11388 |
-
<line num="425" type="stmt" count="0"/>
|
11389 |
-
<line num="426" type="stmt" count="0"/>
|
11390 |
-
<line num="427" type="stmt" count="0"/>
|
11391 |
-
<line num="428" type="stmt" count="0"/>
|
11392 |
-
<line num="430" type="stmt" count="0"/>
|
11393 |
-
<line num="431" type="stmt" count="0"/>
|
11394 |
-
<line num="432" type="stmt" count="0"/>
|
11395 |
-
<line num="433" type="stmt" count="0"/>
|
11396 |
-
<line num="435" type="stmt" count="0"/>
|
11397 |
-
<metrics loc="435" ncloc="364" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="332" coveredstatements="0" elements="332" coveredelements="0"/>
|
11398 |
</file>
|
11399 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/settings/backup-directory.php">
|
11400 |
<line num="17" type="stmt" count="0"/>
|
@@ -11484,43 +10626,38 @@
|
|
11484 |
<line num="76" type="stmt" count="0"/>
|
11485 |
<line num="77" type="stmt" count="0"/>
|
11486 |
<line num="78" type="stmt" count="0"/>
|
11487 |
-
<line num="79" type="stmt" count="0"/>
|
11488 |
<line num="80" type="stmt" count="0"/>
|
11489 |
<line num="81" type="stmt" count="0"/>
|
11490 |
-
<line num="82" type="stmt" count="0"/>
|
11491 |
<line num="83" type="stmt" count="0"/>
|
11492 |
<line num="85" type="stmt" count="0"/>
|
11493 |
<line num="86" type="stmt" count="0"/>
|
11494 |
<line num="88" type="stmt" count="0"/>
|
11495 |
-
<line num="
|
11496 |
<line num="91" type="stmt" count="0"/>
|
|
|
11497 |
<line num="93" type="stmt" count="0"/>
|
11498 |
<line num="94" type="stmt" count="0"/>
|
11499 |
<line num="96" type="stmt" count="0"/>
|
11500 |
<line num="97" type="stmt" count="0"/>
|
11501 |
-
<line num="98" type="stmt" count="0"/>
|
11502 |
<line num="99" type="stmt" count="0"/>
|
11503 |
<line num="101" type="stmt" count="0"/>
|
11504 |
-
<line num="
|
11505 |
-
<line num="
|
11506 |
<line num="106" type="stmt" count="0"/>
|
|
|
11507 |
<line num="108" type="stmt" count="0"/>
|
|
|
11508 |
<line num="110" type="stmt" count="0"/>
|
11509 |
<line num="111" type="stmt" count="0"/>
|
11510 |
-
<line num="112" type="stmt" count="0"/>
|
11511 |
<line num="113" type="stmt" count="0"/>
|
11512 |
-
<line num="114" type="stmt" count="0"/>
|
11513 |
<line num="115" type="stmt" count="0"/>
|
11514 |
-
<line num="
|
11515 |
<line num="118" type="stmt" count="0"/>
|
11516 |
-
<line num="
|
|
|
11517 |
<line num="122" type="stmt" count="0"/>
|
11518 |
-
<line num="123" type="stmt" count="0"/>
|
11519 |
<line num="124" type="stmt" count="0"/>
|
11520 |
-
<
|
11521 |
-
<line num="127" type="stmt" count="0"/>
|
11522 |
-
<line num="129" type="stmt" count="0"/>
|
11523 |
-
<metrics loc="129" ncloc="103" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="82" coveredstatements="0" elements="82" coveredelements="0"/>
|
11524 |
</file>
|
11525 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/settings/compressor.php">
|
11526 |
<line num="18" type="stmt" count="0"/>
|
@@ -11553,52 +10690,27 @@
|
|
11553 |
<line num="52" type="stmt" count="0"/>
|
11554 |
<line num="53" type="stmt" count="0"/>
|
11555 |
<line num="54" type="stmt" count="0"/>
|
11556 |
-
<line num="
|
11557 |
<line num="58" type="stmt" count="0"/>
|
11558 |
<line num="59" type="stmt" count="0"/>
|
11559 |
-
<line num="60" type="stmt" count="0"/>
|
11560 |
-
<line num="61" type="stmt" count="0"/>
|
11561 |
<line num="62" type="stmt" count="0"/>
|
|
|
11562 |
<line num="64" type="stmt" count="0"/>
|
11563 |
-
<line num="65" type="stmt" count="0"/>
|
11564 |
<line num="66" type="stmt" count="0"/>
|
11565 |
-
<line num="67" type="stmt" count="0"/>
|
11566 |
<line num="68" type="stmt" count="0"/>
|
11567 |
-
<line num="69" type="stmt" count="0"/>
|
11568 |
<line num="70" type="stmt" count="0"/>
|
11569 |
<line num="72" type="stmt" count="0"/>
|
11570 |
<line num="73" type="stmt" count="0"/>
|
11571 |
-
<line num="74" type="stmt" count="0"/>
|
11572 |
<line num="75" type="stmt" count="0"/>
|
11573 |
-
<line num="76" type="stmt" count="0"/>
|
11574 |
<line num="77" type="stmt" count="0"/>
|
|
|
11575 |
<line num="79" type="stmt" count="0"/>
|
|
|
11576 |
<line num="81" type="stmt" count="0"/>
|
11577 |
-
<line num="
|
11578 |
<line num="85" type="stmt" count="0"/>
|
11579 |
<line num="86" type="stmt" count="0"/>
|
11580 |
-
<
|
11581 |
-
<line num="89" type="stmt" count="0"/>
|
11582 |
-
<line num="91" type="stmt" count="0"/>
|
11583 |
-
<line num="93" type="stmt" count="0"/>
|
11584 |
-
<line num="95" type="stmt" count="0"/>
|
11585 |
-
<line num="96" type="stmt" count="0"/>
|
11586 |
-
<line num="98" type="stmt" count="0"/>
|
11587 |
-
<line num="99" type="stmt" count="0"/>
|
11588 |
-
<line num="101" type="stmt" count="0"/>
|
11589 |
-
<line num="103" type="stmt" count="0"/>
|
11590 |
-
<line num="104" type="stmt" count="0"/>
|
11591 |
-
<line num="105" type="stmt" count="0"/>
|
11592 |
-
<line num="107" type="stmt" count="0"/>
|
11593 |
-
<line num="109" type="stmt" count="0"/>
|
11594 |
-
<line num="110" type="stmt" count="0"/>
|
11595 |
-
<line num="111" type="stmt" count="0"/>
|
11596 |
-
<line num="112" type="stmt" count="0"/>
|
11597 |
-
<line num="113" type="stmt" count="0"/>
|
11598 |
-
<line num="116" type="stmt" count="0"/>
|
11599 |
-
<line num="117" type="stmt" count="0"/>
|
11600 |
-
<line num="118" type="stmt" count="0"/>
|
11601 |
-
<metrics loc="118" ncloc="94" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="75" coveredstatements="0" elements="75" coveredelements="0"/>
|
11602 |
</file>
|
11603 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/settings/connect-key.php">
|
11604 |
<line num="17" type="stmt" count="0"/>
|
@@ -12529,16 +11641,20 @@
|
|
12529 |
<line num="214" type="stmt" count="0"/>
|
12530 |
<line num="215" type="stmt" count="0"/>
|
12531 |
<line num="216" type="stmt" count="0"/>
|
12532 |
-
<line num="
|
12533 |
<line num="219" type="stmt" count="0"/>
|
12534 |
<line num="220" type="stmt" count="0"/>
|
12535 |
<line num="221" type="stmt" count="0"/>
|
12536 |
<line num="222" type="stmt" count="0"/>
|
12537 |
<line num="223" type="stmt" count="0"/>
|
|
|
12538 |
<line num="225" type="stmt" count="0"/>
|
12539 |
<line num="226" type="stmt" count="0"/>
|
12540 |
-
<line num="
|
12541 |
-
<
|
|
|
|
|
|
|
12542 |
</file>
|
12543 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/tools/view-logs.php">
|
12544 |
<line num="18" type="stmt" count="0"/>
|
@@ -12657,8 +11773,8 @@
|
|
12657 |
<line num="86" type="stmt" count="0"/>
|
12658 |
<line num="87" type="stmt" count="0"/>
|
12659 |
<line num="88" type="stmt" count="0"/>
|
12660 |
-
<line num="89" type="stmt" count="0"/>
|
12661 |
<line num="90" type="stmt" count="0"/>
|
|
|
12662 |
<line num="92" type="stmt" count="0"/>
|
12663 |
<line num="93" type="stmt" count="0"/>
|
12664 |
<line num="94" type="stmt" count="0"/>
|
@@ -12672,9 +11788,7 @@
|
|
12672 |
<line num="102" type="stmt" count="0"/>
|
12673 |
<line num="103" type="stmt" count="0"/>
|
12674 |
<line num="104" type="stmt" count="0"/>
|
12675 |
-
<
|
12676 |
-
<line num="106" type="stmt" count="0"/>
|
12677 |
-
<metrics loc="106" ncloc="67" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="76" coveredstatements="0" elements="76" coveredelements="0"/>
|
12678 |
</file>
|
12679 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/transfers/overview.php">
|
12680 |
<line num="16" type="stmt" count="0"/>
|
@@ -12765,9 +11879,9 @@
|
|
12765 |
<class name="Boldgrid_Backup_Admin_Ftp_Hooks" namespace="global" fullPackage="Boldgrid.Backup.Admin.Ftp">
|
12766 |
<metrics complexity="31" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="129" coveredstatements="2" elements="140" coveredelements="3"/>
|
12767 |
</class>
|
12768 |
-
<line num="47" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
12769 |
-
<line num="48" type="stmt" count="
|
12770 |
-
<line num="49" type="stmt" count="
|
12771 |
<line num="56" type="method" name="add_menu_items" visibility="public" complexity="1" crap="2" count="0"/>
|
12772 |
<line num="57" type="stmt" count="0"/>
|
12773 |
<line num="59" type="stmt" count="0"/>
|
@@ -12911,9 +12025,9 @@
|
|
12911 |
<class name="Boldgrid_Backup_Admin_Ftp_Page" namespace="global" fullPackage="Boldgrid.Backup.Admin.Ftp">
|
12912 |
<metrics complexity="21" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="116" coveredstatements="2" elements="121" coveredelements="3"/>
|
12913 |
</class>
|
12914 |
-
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
12915 |
-
<line num="40" type="stmt" count="
|
12916 |
-
<line num="41" type="stmt" count="
|
12917 |
<line num="48" type="method" name="enqueue_scripts" visibility="public" complexity="2" crap="6" count="0"/>
|
12918 |
<line num="49" type="stmt" count="0"/>
|
12919 |
<line num="50" type="stmt" count="0"/>
|
@@ -13038,14 +12152,14 @@
|
|
13038 |
<class name="Boldgrid_Backup_Admin_Ftp" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
13039 |
<metrics complexity="135" methods="22" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="475" coveredstatements="14" elements="497" coveredelements="16"/>
|
13040 |
</class>
|
13041 |
-
<line num="247" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
13042 |
-
<line num="248" type="stmt" count="
|
13043 |
-
<line num="250" type="stmt" count="
|
13044 |
-
<line num="251" type="stmt" count="
|
13045 |
-
<line num="252" type="stmt" count="
|
13046 |
-
<line num="253" type="stmt" count="
|
13047 |
-
<line num="255" type="stmt" count="
|
13048 |
-
<line num="256" type="stmt" count="
|
13049 |
<line num="263" type="method" name="connect" visibility="public" complexity="10" crap="110" count="0"/>
|
13050 |
<line num="264" type="stmt" count="0"/>
|
13051 |
<line num="265" type="stmt" count="0"/>
|
@@ -13486,14 +12600,14 @@
|
|
13486 |
<line num="1049" type="stmt" count="0"/>
|
13487 |
<line num="1050" type="stmt" count="0"/>
|
13488 |
<line num="1051" type="stmt" count="0"/>
|
13489 |
-
<line num="1058" type="method" name="set_default_folder_name" visibility="public" complexity="1" crap="1" count="
|
13490 |
-
<line num="1059" type="stmt" count="
|
13491 |
-
<line num="1060" type="stmt" count="
|
13492 |
-
<line num="1061" type="stmt" count="
|
13493 |
-
<line num="1062" type="stmt" count="
|
13494 |
-
<line num="1063" type="stmt" count="
|
13495 |
-
<line num="1065" type="stmt" count="
|
13496 |
-
<line num="1066" type="stmt" count="
|
13497 |
<line num="1075" type="method" name="set_pass" visibility="public" complexity="1" crap="2" count="0"/>
|
13498 |
<line num="1076" type="stmt" count="0"/>
|
13499 |
<line num="1077" type="stmt" count="0"/>
|
@@ -13545,9 +12659,9 @@
|
|
13545 |
<class name="Boldgrid_Backup_Admin_Remote_Settings" namespace="global" fullPackage="Boldgrid.Backup.Admin.Remote">
|
13546 |
<metrics complexity="17" methods="12" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="33" coveredstatements="21" elements="45" coveredelements="30"/>
|
13547 |
</class>
|
13548 |
-
<line num="77" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
13549 |
-
<line num="78" type="stmt" count="
|
13550 |
-
<line num="79" type="stmt" count="
|
13551 |
<line num="86" type="method" name="delete_settings" visibility="public" complexity="1" crap="2" count="0"/>
|
13552 |
<line num="87" type="stmt" count="0"/>
|
13553 |
<line num="88" type="stmt" count="0"/>
|
@@ -13596,9 +12710,9 @@
|
|
13596 |
<class name="Boldgrid_Backup_Admin_Storage_Local" namespace="global" fullPackage="Boldgrid.Backup.Admin.Storage">
|
13597 |
<metrics complexity="30" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="119" coveredstatements="2" elements="128" coveredelements="3"/>
|
13598 |
</class>
|
13599 |
-
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
13600 |
-
<line num="40" type="stmt" count="
|
13601 |
-
<line num="41" type="stmt" count="
|
13602 |
<line num="55" type="method" name="delete_local" visibility="public" complexity="1" crap="2" count="0"/>
|
13603 |
<line num="56" type="stmt" count="0"/>
|
13604 |
<line num="71" type="method" name="post_archive_files" visibility="public" complexity="4" crap="20" count="0"/>
|
@@ -14940,9 +14054,9 @@
|
|
14940 |
<class name="Boldgrid_Backup_Download" namespace="global" fullPackage="Boldgrid.Backup">
|
14941 |
<metrics complexity="5" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="2" elements="14" coveredelements="3"/>
|
14942 |
</class>
|
14943 |
-
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
14944 |
-
<line num="38" type="stmt" count="
|
14945 |
-
<line num="39" type="stmt" count="
|
14946 |
<line num="52" type="method" name="public_download" visibility="public" complexity="4" crap="20" count="0"/>
|
14947 |
<line num="53" type="stmt" count="0"/>
|
14948 |
<line num="54" type="stmt" count="0"/>
|
@@ -15047,7 +14161,7 @@
|
|
15047 |
</file>
|
15048 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
|
15049 |
<class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
|
15050 |
-
<metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="
|
15051 |
</class>
|
15052 |
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
15053 |
<line num="67" type="stmt" count="0"/>
|
@@ -15065,30 +14179,31 @@
|
|
15065 |
<line num="118" type="stmt" count="0"/>
|
15066 |
<line num="123" type="stmt" count="0"/>
|
15067 |
<line num="128" type="stmt" count="0"/>
|
15068 |
-
<line num="
|
|
|
15069 |
<line num="135" type="stmt" count="0"/>
|
15070 |
-
<line num="
|
15071 |
-
<line num="
|
15072 |
-
<line num="
|
15073 |
-
<line num="
|
15074 |
-
<line num="152" type="stmt" count="0"/>
|
15075 |
<line num="157" type="stmt" count="0"/>
|
15076 |
<line num="159" type="stmt" count="0"/>
|
15077 |
<line num="161" type="stmt" count="0"/>
|
15078 |
<line num="163" type="stmt" count="0"/>
|
|
|
15079 |
<line num="165" type="stmt" count="0"/>
|
15080 |
<line num="166" type="stmt" count="0"/>
|
15081 |
<line num="167" type="stmt" count="0"/>
|
15082 |
<line num="168" type="stmt" count="0"/>
|
15083 |
<line num="169" type="stmt" count="0"/>
|
15084 |
-
<line num="170" type="stmt" count="0"/>
|
15085 |
<line num="171" type="stmt" count="0"/>
|
|
|
15086 |
<line num="173" type="stmt" count="0"/>
|
15087 |
<line num="174" type="stmt" count="0"/>
|
15088 |
<line num="175" type="stmt" count="0"/>
|
15089 |
-
<line num="176" type="stmt" count="0"/>
|
15090 |
<line num="177" type="stmt" count="0"/>
|
15091 |
<line num="179" type="stmt" count="0"/>
|
|
|
15092 |
<line num="181" type="stmt" count="0"/>
|
15093 |
<line num="182" type="stmt" count="0"/>
|
15094 |
<line num="183" type="stmt" count="0"/>
|
@@ -15096,7 +14211,6 @@
|
|
15096 |
<line num="185" type="stmt" count="0"/>
|
15097 |
<line num="186" type="stmt" count="0"/>
|
15098 |
<line num="187" type="stmt" count="0"/>
|
15099 |
-
<line num="188" type="stmt" count="0"/>
|
15100 |
<line num="189" type="stmt" count="0"/>
|
15101 |
<line num="191" type="stmt" count="0"/>
|
15102 |
<line num="193" type="stmt" count="0"/>
|
@@ -15108,32 +14222,33 @@
|
|
15108 |
<line num="205" type="stmt" count="0"/>
|
15109 |
<line num="207" type="stmt" count="0"/>
|
15110 |
<line num="209" type="stmt" count="0"/>
|
|
|
15111 |
<line num="211" type="stmt" count="0"/>
|
15112 |
-
<line num="212" type="stmt" count="0"/>
|
15113 |
<line num="213" type="stmt" count="0"/>
|
|
|
15114 |
<line num="215" type="stmt" count="0"/>
|
15115 |
<line num="216" type="stmt" count="0"/>
|
15116 |
-
<line num="217" type="stmt" count="0"/>
|
15117 |
<line num="218" type="stmt" count="0"/>
|
15118 |
<line num="220" type="stmt" count="0"/>
|
15119 |
-
<line num="
|
15120 |
<line num="223" type="stmt" count="0"/>
|
15121 |
<line num="225" type="stmt" count="0"/>
|
15122 |
<line num="227" type="stmt" count="0"/>
|
|
|
15123 |
<line num="229" type="stmt" count="0"/>
|
15124 |
-
<line num="230" type="stmt" count="0"/>
|
15125 |
<line num="231" type="stmt" count="0"/>
|
15126 |
<line num="233" type="stmt" count="0"/>
|
15127 |
<line num="235" type="stmt" count="0"/>
|
15128 |
-
<line num="
|
|
|
15129 |
<line num="240" type="stmt" count="0"/>
|
15130 |
<line num="241" type="stmt" count="0"/>
|
15131 |
<line num="242" type="stmt" count="0"/>
|
15132 |
<line num="243" type="stmt" count="0"/>
|
15133 |
-
<line num="244" type="stmt" count="0"/>
|
15134 |
<line num="245" type="stmt" count="0"/>
|
15135 |
-
<line num="
|
15136 |
-
<line num="
|
|
|
15137 |
<line num="253" type="stmt" count="0"/>
|
15138 |
<line num="254" type="stmt" count="0"/>
|
15139 |
<line num="255" type="stmt" count="0"/>
|
@@ -15144,199 +14259,190 @@
|
|
15144 |
<line num="260" type="stmt" count="0"/>
|
15145 |
<line num="261" type="stmt" count="0"/>
|
15146 |
<line num="262" type="stmt" count="0"/>
|
15147 |
-
<line num="263" type="stmt" count="0"/>
|
15148 |
-
<line num="264" type="stmt" count="0"/>
|
15149 |
<line num="265" type="stmt" count="0"/>
|
|
|
|
|
15150 |
<line num="268" type="stmt" count="0"/>
|
15151 |
<line num="269" type="stmt" count="0"/>
|
15152 |
<line num="270" type="stmt" count="0"/>
|
15153 |
-
<line num="271" type="stmt" count="0"/>
|
15154 |
<line num="272" type="stmt" count="0"/>
|
15155 |
<line num="273" type="stmt" count="0"/>
|
15156 |
<line num="274" type="stmt" count="0"/>
|
15157 |
<line num="276" type="stmt" count="0"/>
|
15158 |
<line num="277" type="stmt" count="0"/>
|
15159 |
<line num="278" type="stmt" count="0"/>
|
15160 |
-
<line num="
|
15161 |
<line num="281" type="stmt" count="0"/>
|
15162 |
<line num="282" type="stmt" count="0"/>
|
15163 |
-
<line num="283" type="stmt" count="0"/>
|
15164 |
<line num="285" type="stmt" count="0"/>
|
15165 |
<line num="286" type="stmt" count="0"/>
|
|
|
15166 |
<line num="289" type="stmt" count="0"/>
|
15167 |
-
<line num="290" type="stmt" count="0"/>
|
15168 |
<line num="291" type="stmt" count="0"/>
|
15169 |
-
<line num="
|
15170 |
<line num="295" type="stmt" count="0"/>
|
15171 |
-
<line num="
|
15172 |
<line num="299" type="stmt" count="0"/>
|
15173 |
-
<line num="
|
15174 |
-
<line num="
|
15175 |
-
<line num="
|
15176 |
-
<line num="
|
15177 |
-
<line num="
|
15178 |
-
<line num="
|
15179 |
-
<line num="
|
15180 |
-
<line num="327" type="
|
15181 |
-
<line num="
|
15182 |
-
<line num="
|
15183 |
<line num="334" type="stmt" count="0"/>
|
|
|
15184 |
<line num="337" type="stmt" count="0"/>
|
15185 |
<line num="338" type="stmt" count="0"/>
|
15186 |
<line num="339" type="stmt" count="0"/>
|
15187 |
-
<line num="341" type="stmt" count="0"/>
|
15188 |
<line num="342" type="stmt" count="0"/>
|
15189 |
<line num="343" type="stmt" count="0"/>
|
15190 |
-
<line num="
|
15191 |
-
<line num="
|
15192 |
<line num="348" type="stmt" count="0"/>
|
15193 |
<line num="349" type="stmt" count="0"/>
|
15194 |
-
<line num="
|
|
|
15195 |
<line num="353" type="stmt" count="0"/>
|
15196 |
<line num="354" type="stmt" count="0"/>
|
15197 |
<line num="355" type="stmt" count="0"/>
|
|
|
15198 |
<line num="357" type="stmt" count="0"/>
|
15199 |
-
<line num="358" type="stmt" count="0"/>
|
15200 |
-
<line num="359" type="stmt" count="0"/>
|
15201 |
<line num="360" type="stmt" count="0"/>
|
15202 |
<line num="361" type="stmt" count="0"/>
|
15203 |
-
<line num="
|
15204 |
-
<line num="
|
15205 |
<line num="366" type="stmt" count="0"/>
|
15206 |
<line num="367" type="stmt" count="0"/>
|
15207 |
-
<line num="
|
15208 |
-
<line num="
|
15209 |
<line num="372" type="stmt" count="0"/>
|
15210 |
<line num="373" type="stmt" count="0"/>
|
15211 |
-
<line num="
|
15212 |
-
<line num="
|
15213 |
<line num="378" type="stmt" count="0"/>
|
15214 |
<line num="379" type="stmt" count="0"/>
|
15215 |
-
<line num="
|
15216 |
-
<line num="
|
15217 |
<line num="384" type="stmt" count="0"/>
|
15218 |
<line num="385" type="stmt" count="0"/>
|
15219 |
-
<line num="
|
15220 |
-
<line num="
|
15221 |
<line num="390" type="stmt" count="0"/>
|
15222 |
<line num="391" type="stmt" count="0"/>
|
15223 |
-
<line num="
|
|
|
15224 |
<line num="395" type="stmt" count="0"/>
|
15225 |
<line num="396" type="stmt" count="0"/>
|
15226 |
<line num="397" type="stmt" count="0"/>
|
15227 |
-
<line num="399" type="stmt" count="0"/>
|
15228 |
<line num="400" type="stmt" count="0"/>
|
15229 |
<line num="401" type="stmt" count="0"/>
|
15230 |
-
<line num="
|
15231 |
-
<line num="
|
15232 |
<line num="406" type="stmt" count="0"/>
|
15233 |
<line num="407" type="stmt" count="0"/>
|
15234 |
-
<line num="
|
|
|
15235 |
<line num="411" type="stmt" count="0"/>
|
15236 |
<line num="412" type="stmt" count="0"/>
|
15237 |
<line num="413" type="stmt" count="0"/>
|
|
|
15238 |
<line num="415" type="stmt" count="0"/>
|
15239 |
<line num="416" type="stmt" count="0"/>
|
15240 |
-
<line num="417" type="stmt" count="0"/>
|
15241 |
<line num="418" type="stmt" count="0"/>
|
15242 |
-
<line num="419" type="stmt" count="0"/>
|
15243 |
<line num="420" type="stmt" count="0"/>
|
15244 |
<line num="422" type="stmt" count="0"/>
|
15245 |
<line num="424" type="stmt" count="0"/>
|
|
|
15246 |
<line num="426" type="stmt" count="0"/>
|
15247 |
<line num="428" type="stmt" count="0"/>
|
15248 |
<line num="429" type="stmt" count="0"/>
|
15249 |
-
<line num="
|
15250 |
-
<line num="432" type="stmt" count="0"/>
|
15251 |
<line num="433" type="stmt" count="0"/>
|
15252 |
<line num="435" type="stmt" count="0"/>
|
15253 |
<line num="437" type="stmt" count="0"/>
|
15254 |
<line num="439" type="stmt" count="0"/>
|
|
|
15255 |
<line num="441" type="stmt" count="0"/>
|
15256 |
<line num="443" type="stmt" count="0"/>
|
15257 |
-
<line num="444" type="stmt" count="0"/>
|
15258 |
<line num="445" type="stmt" count="0"/>
|
|
|
15259 |
<line num="447" type="stmt" count="0"/>
|
15260 |
-
<line num="
|
15261 |
<line num="450" type="stmt" count="0"/>
|
15262 |
-
<line num="451" type="stmt" count="0"/>
|
15263 |
<line num="452" type="stmt" count="0"/>
|
15264 |
<line num="454" type="stmt" count="0"/>
|
15265 |
<line num="456" type="stmt" count="0"/>
|
15266 |
<line num="458" type="stmt" count="0"/>
|
15267 |
<line num="460" type="stmt" count="0"/>
|
15268 |
-
<line num="
|
15269 |
-
<line num="
|
15270 |
<line num="469" type="stmt" count="0"/>
|
15271 |
<line num="471" type="stmt" count="0"/>
|
15272 |
<line num="473" type="stmt" count="0"/>
|
15273 |
<line num="475" type="stmt" count="0"/>
|
15274 |
<line num="477" type="stmt" count="0"/>
|
15275 |
<line num="479" type="stmt" count="0"/>
|
15276 |
-
<line num="
|
|
|
15277 |
<line num="483" type="stmt" count="0"/>
|
15278 |
-
<line num="
|
15279 |
-
<line num="486" type="stmt" count="0"/>
|
15280 |
<line num="487" type="stmt" count="0"/>
|
|
|
15281 |
<line num="489" type="stmt" count="0"/>
|
15282 |
<line num="491" type="stmt" count="0"/>
|
15283 |
-
<line num="492" type="stmt" count="0"/>
|
15284 |
<line num="493" type="stmt" count="0"/>
|
15285 |
-
<line num="
|
15286 |
<line num="497" type="stmt" count="0"/>
|
15287 |
<line num="498" type="stmt" count="0"/>
|
15288 |
-
<line num="
|
15289 |
<line num="502" type="stmt" count="0"/>
|
15290 |
<line num="503" type="stmt" count="0"/>
|
15291 |
<line num="506" type="stmt" count="0"/>
|
15292 |
-
<line num="
|
15293 |
-
<line num="
|
15294 |
-
<line num="
|
15295 |
-
<line num="
|
15296 |
<line num="519" type="stmt" count="0"/>
|
15297 |
-
<line num="
|
15298 |
-
<line num="
|
15299 |
<line num="524" type="stmt" count="0"/>
|
15300 |
<line num="526" type="stmt" count="0"/>
|
15301 |
-
<line num="
|
15302 |
<line num="530" type="stmt" count="0"/>
|
15303 |
-
<line num="531" type="stmt" count="0"/>
|
15304 |
-
<line num="532" type="stmt" count="0"/>
|
15305 |
<line num="533" type="stmt" count="0"/>
|
|
|
15306 |
<line num="536" type="stmt" count="0"/>
|
|
|
|
|
15307 |
<line num="539" type="stmt" count="0"/>
|
15308 |
<line num="540" type="stmt" count="0"/>
|
15309 |
-
<line num="
|
15310 |
<line num="544" type="stmt" count="0"/>
|
15311 |
<line num="545" type="stmt" count="0"/>
|
15312 |
-
<line num="546" type="stmt" count="0"/>
|
15313 |
-
<line num="547" type="stmt" count="0"/>
|
15314 |
<line num="548" type="stmt" count="0"/>
|
15315 |
-
<line num="
|
15316 |
-
<line num="
|
15317 |
-
<line num="553" type="stmt" count="0"/>
|
15318 |
-
<line num="554" type="stmt" count="0"/>
|
15319 |
<line num="557" type="stmt" count="0"/>
|
15320 |
-
<line num="
|
15321 |
-
<line num="
|
15322 |
-
<line num="
|
15323 |
-
<line num="568" type="
|
15324 |
<line num="569" type="stmt" count="0"/>
|
15325 |
-
<line num="
|
15326 |
-
<line num="
|
15327 |
-
<line num="579" type="method" name="run" visibility="public" complexity="1" crap="2" count="0"/>
|
15328 |
<line num="580" type="stmt" count="0"/>
|
15329 |
<line num="581" type="stmt" count="0"/>
|
15330 |
-
<line num="
|
|
|
15331 |
<line num="591" type="stmt" count="0"/>
|
15332 |
-
<line num="
|
15333 |
-
<line num="600" type="
|
15334 |
<line num="601" type="stmt" count="0"/>
|
15335 |
-
<
|
15336 |
-
<line num="610" type="method" name="get_version" visibility="public" complexity="1" crap="2" count="0"/>
|
15337 |
-
<line num="611" type="stmt" count="0"/>
|
15338 |
-
<line num="612" type="stmt" count="0"/>
|
15339 |
-
<metrics loc="613" ncloc="377" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="279" coveredstatements="0" elements="287" coveredelements="0"/>
|
15340 |
</file>
|
15341 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
|
15342 |
<line num="17" type="stmt" count="0"/>
|
@@ -15404,13 +14510,9 @@
|
|
15404 |
<line num="99" type="stmt" count="1"/>
|
15405 |
<line num="100" type="stmt" count="1"/>
|
15406 |
<line num="101" type="stmt" count="1"/>
|
|
|
15407 |
<line num="103" type="stmt" count="1"/>
|
15408 |
-
<
|
15409 |
-
<line num="105" type="stmt" count="1"/>
|
15410 |
-
<line num="106" type="stmt" count="1"/>
|
15411 |
-
<line num="107" type="stmt" count="1"/>
|
15412 |
-
<line num="108" type="stmt" count="1"/>
|
15413 |
-
<metrics loc="108" ncloc="60" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="41" elements="44" coveredelements="41"/>
|
15414 |
</file>
|
15415 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.rating-prompt.php">
|
15416 |
<line num="17" type="stmt" count="0"/>
|
@@ -69445,1253 +68547,6 @@
|
|
69445 |
<metrics loc="510" ncloc="285" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="215" coveredstatements="0" elements="218" coveredelements="0"/>
|
69446 |
</file>
|
69447 |
</package>
|
69448 |
-
<package name="Boldgrid\Library\Library">
|
69449 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/class-license.php">
|
69450 |
-
<class name="License" namespace="Boldgrid\Library\Library">
|
69451 |
-
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="1" elements="2" coveredelements="2"/>
|
69452 |
-
</class>
|
69453 |
-
<line num="28" type="method" name="isPremium" visibility="public" complexity="1" crap="1" count="29"/>
|
69454 |
-
<line num="29" type="stmt" count="29"/>
|
69455 |
-
<metrics loc="31" ncloc="7" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="1" elements="2" coveredelements="2"/>
|
69456 |
-
</file>
|
69457 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Activity.php">
|
69458 |
-
<class name="Activity" namespace="Boldgrid\Library\Library">
|
69459 |
-
<metrics complexity="19" methods="9" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="50" coveredstatements="0" elements="59" coveredelements="0"/>
|
69460 |
-
</class>
|
69461 |
-
<line num="55" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
69462 |
-
<line num="56" type="stmt" count="0"/>
|
69463 |
-
<line num="58" type="stmt" count="0"/>
|
69464 |
-
<line num="59" type="stmt" count="0"/>
|
69465 |
-
<line num="60" type="stmt" count="0"/>
|
69466 |
-
<line num="61" type="stmt" count="0"/>
|
69467 |
-
<line num="62" type="stmt" count="0"/>
|
69468 |
-
<line num="76" type="method" name="add" visibility="public" complexity="4" crap="20" count="0"/>
|
69469 |
-
<line num="77" type="stmt" count="0"/>
|
69470 |
-
<line num="79" type="stmt" count="0"/>
|
69471 |
-
<line num="81" type="stmt" count="0"/>
|
69472 |
-
<line num="82" type="stmt" count="0"/>
|
69473 |
-
<line num="83" type="stmt" count="0"/>
|
69474 |
-
<line num="84" type="stmt" count="0"/>
|
69475 |
-
<line num="85" type="stmt" count="0"/>
|
69476 |
-
<line num="87" type="stmt" count="0"/>
|
69477 |
-
<line num="89" type="stmt" count="0"/>
|
69478 |
-
<line num="90" type="stmt" count="0"/>
|
69479 |
-
<line num="91" type="stmt" count="0"/>
|
69480 |
-
<line num="93" type="stmt" count="0"/>
|
69481 |
-
<line num="94" type="stmt" count="0"/>
|
69482 |
-
<line num="103" type="method" name="getActivities" visibility="public" complexity="1" crap="2" count="0"/>
|
69483 |
-
<line num="104" type="stmt" count="0"/>
|
69484 |
-
<line num="105" type="stmt" count="0"/>
|
69485 |
-
<line num="116" type="method" name="getActivityConfigs" visibility="public" complexity="3" crap="12" count="0"/>
|
69486 |
-
<line num="117" type="stmt" count="0"/>
|
69487 |
-
<line num="119" type="stmt" count="0"/>
|
69488 |
-
<line num="120" type="stmt" count="0"/>
|
69489 |
-
<line num="121" type="stmt" count="0"/>
|
69490 |
-
<line num="123" type="stmt" count="0"/>
|
69491 |
-
<line num="124" type="stmt" count="0"/>
|
69492 |
-
<line num="134" type="method" name="getActivityCount" visibility="public" complexity="2" crap="6" count="0"/>
|
69493 |
-
<line num="135" type="stmt" count="0"/>
|
69494 |
-
<line num="137" type="stmt" count="0"/>
|
69495 |
-
<line num="138" type="stmt" count="0"/>
|
69496 |
-
<line num="147" type="method" name="getPluginActivities" visibility="public" complexity="2" crap="6" count="0"/>
|
69497 |
-
<line num="148" type="stmt" count="0"/>
|
69498 |
-
<line num="150" type="stmt" count="0"/>
|
69499 |
-
<line num="151" type="stmt" count="0"/>
|
69500 |
-
<line num="152" type="stmt" count="0"/>
|
69501 |
-
<line num="154" type="stmt" count="0"/>
|
69502 |
-
<line num="155" type="stmt" count="0"/>
|
69503 |
-
<line num="166" type="method" name="maybeAddRatingPrompt" visibility="public" complexity="3" crap="12" count="0"/>
|
69504 |
-
<line num="167" type="stmt" count="0"/>
|
69505 |
-
<line num="169" type="stmt" count="0"/>
|
69506 |
-
<line num="171" type="stmt" count="0"/>
|
69507 |
-
<line num="172" type="stmt" count="0"/>
|
69508 |
-
<line num="173" type="stmt" count="0"/>
|
69509 |
-
<line num="174" type="stmt" count="0"/>
|
69510 |
-
<line num="176" type="stmt" count="0"/>
|
69511 |
-
<line num="177" type="stmt" count="0"/>
|
69512 |
-
<line num="189" type="method" name="saveActivities" visibility="public" complexity="1" crap="2" count="0"/>
|
69513 |
-
<line num="190" type="stmt" count="0"/>
|
69514 |
-
<line num="191" type="stmt" count="0"/>
|
69515 |
-
<line num="201" type="method" name="savePluginActivities" visibility="public" complexity="1" crap="2" count="0"/>
|
69516 |
-
<line num="202" type="stmt" count="0"/>
|
69517 |
-
<line num="204" type="stmt" count="0"/>
|
69518 |
-
<line num="206" type="stmt" count="0"/>
|
69519 |
-
<line num="207" type="stmt" count="0"/>
|
69520 |
-
<metrics loc="208" ncloc="97" classes="1" methods="9" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="50" coveredstatements="0" elements="59" coveredelements="0"/>
|
69521 |
-
</file>
|
69522 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Asset.php">
|
69523 |
-
<class name="Asset" namespace="Boldgrid\Library\Library">
|
69524 |
-
<metrics complexity="5" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="0" elements="17" coveredelements="0"/>
|
69525 |
-
</class>
|
69526 |
-
<line num="26" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69527 |
-
<line num="27" type="stmt" count="0"/>
|
69528 |
-
<line num="28" type="stmt" count="0"/>
|
69529 |
-
<line num="37" type="method" name="addWpScripts" visibility="public" complexity="2" crap="6" count="0"/>
|
69530 |
-
<line num="38" type="stmt" count="0"/>
|
69531 |
-
<line num="40" type="stmt" count="0"/>
|
69532 |
-
<line num="41" type="stmt" count="0"/>
|
69533 |
-
<line num="42" type="stmt" count="0"/>
|
69534 |
-
<line num="51" type="method" name="addStyles" visibility="public" complexity="1" crap="2" count="0"/>
|
69535 |
-
<line num="52" type="stmt" count="0"/>
|
69536 |
-
<line num="53" type="stmt" count="0"/>
|
69537 |
-
<line num="55" type="stmt" count="0"/>
|
69538 |
-
<line num="56" type="stmt" count="0"/>
|
69539 |
-
<line num="66" type="method" name="EnqueueAdminIcon" visibility="public" complexity="1" crap="2" count="0"/>
|
69540 |
-
<line num="67" type="stmt" count="0"/>
|
69541 |
-
<line num="68" type="stmt" count="0"/>
|
69542 |
-
<line num="69" type="stmt" count="0"/>
|
69543 |
-
<metrics loc="71" ncloc="28" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="0" elements="17" coveredelements="0"/>
|
69544 |
-
</file>
|
69545 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Configs.php">
|
69546 |
-
<class name="Configs" namespace="Boldgrid\Library\Library">
|
69547 |
-
<metrics complexity="20" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="5" elements="50" coveredelements="5"/>
|
69548 |
-
</class>
|
69549 |
-
<line num="41" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69550 |
-
<line num="42" type="stmt" count="0"/>
|
69551 |
-
<line num="44" type="stmt" count="0"/>
|
69552 |
-
<line num="45" type="stmt" count="0"/>
|
69553 |
-
<line num="57" type="method" name="set" visibility="public" complexity="7" crap="56" count="0"/>
|
69554 |
-
<line num="58" type="stmt" count="0"/>
|
69555 |
-
<line num="67" type="stmt" count="0"/>
|
69556 |
-
<line num="70" type="stmt" count="0"/>
|
69557 |
-
<line num="71" type="stmt" count="0"/>
|
69558 |
-
<line num="72" type="stmt" count="0"/>
|
69559 |
-
<line num="73" type="stmt" count="0"/>
|
69560 |
-
<line num="74" type="stmt" count="0"/>
|
69561 |
-
<line num="77" type="stmt" count="0"/>
|
69562 |
-
<line num="78" type="stmt" count="0"/>
|
69563 |
-
<line num="79" type="stmt" count="0"/>
|
69564 |
-
<line num="80" type="stmt" count="0"/>
|
69565 |
-
<line num="81" type="stmt" count="0"/>
|
69566 |
-
<line num="82" type="stmt" count="0"/>
|
69567 |
-
<line num="83" type="stmt" count="0"/>
|
69568 |
-
<line num="85" type="stmt" count="0"/>
|
69569 |
-
<line num="97" type="method" name="get" visibility="public" complexity="3" crap="3.04" count="36"/>
|
69570 |
-
<line num="98" type="stmt" count="36"/>
|
69571 |
-
<line num="99" type="stmt" count="36"/>
|
69572 |
-
<line num="100" type="stmt" count="36"/>
|
69573 |
-
<line num="101" type="stmt" count="36"/>
|
69574 |
-
<line num="102" type="stmt" count="0"/>
|
69575 |
-
<line num="105" type="stmt" count="36"/>
|
69576 |
-
<line num="119" type="method" name="getFileSlug" visibility="public" complexity="1" crap="2" count="0"/>
|
69577 |
-
<line num="120" type="stmt" count="0"/>
|
69578 |
-
<line num="122" type="stmt" count="0"/>
|
69579 |
-
<line num="133" type="method" name="getPlugins" visibility="public" complexity="7" crap="56" count="0"/>
|
69580 |
-
<line num="134" type="stmt" count="0"/>
|
69581 |
-
<line num="136" type="stmt" count="0"/>
|
69582 |
-
<line num="138" type="stmt" count="0"/>
|
69583 |
-
<line num="139" type="stmt" count="0"/>
|
69584 |
-
<line num="140" type="stmt" count="0"/>
|
69585 |
-
<line num="141" type="stmt" count="0"/>
|
69586 |
-
<line num="143" type="stmt" count="0"/>
|
69587 |
-
<line num="144" type="stmt" count="0"/>
|
69588 |
-
<line num="145" type="stmt" count="0"/>
|
69589 |
-
<line num="146" type="stmt" count="0"/>
|
69590 |
-
<line num="147" type="stmt" count="0"/>
|
69591 |
-
<line num="149" type="stmt" count="0"/>
|
69592 |
-
<line num="150" type="stmt" count="0"/>
|
69593 |
-
<line num="151" type="stmt" count="0"/>
|
69594 |
-
<line num="153" type="stmt" count="0"/>
|
69595 |
-
<line num="155" type="stmt" count="0"/>
|
69596 |
-
<line num="165" type="method" name="setItem" visibility="public" complexity="1" crap="2" count="0"/>
|
69597 |
-
<line num="166" type="stmt" count="0"/>
|
69598 |
-
<line num="167" type="stmt" count="0"/>
|
69599 |
-
<metrics loc="168" ncloc="81" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="5" elements="50" coveredelements="5"/>
|
69600 |
-
</file>
|
69601 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Dashboard.php">
|
69602 |
-
<class name="Dashboard" namespace="Boldgrid\Library\Library">
|
69603 |
-
<metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="0" elements="3" coveredelements="0"/>
|
69604 |
-
</class>
|
69605 |
-
<line num="27" type="method" name="init" visibility="public" complexity="1" crap="2" count="0"/>
|
69606 |
-
<line num="35" type="stmt" count="0"/>
|
69607 |
-
<line num="36" type="stmt" count="0"/>
|
69608 |
-
<metrics loc="37" ncloc="9" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="0" elements="3" coveredelements="0"/>
|
69609 |
-
</file>
|
69610 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Editor.php">
|
69611 |
-
<class name="Editor" namespace="Boldgrid\Library\Library">
|
69612 |
-
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="0" elements="6" coveredelements="0"/>
|
69613 |
-
</class>
|
69614 |
-
<line num="28" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69615 |
-
<line num="29" type="stmt" count="0"/>
|
69616 |
-
<line num="30" type="stmt" count="0"/>
|
69617 |
-
<line num="39" type="method" name="disableNotices" visibility="public" complexity="1" crap="2" count="0"/>
|
69618 |
-
<line num="40" type="stmt" count="0"/>
|
69619 |
-
<line num="41" type="stmt" count="0"/>
|
69620 |
-
<metrics loc="42" ncloc="13" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="0" elements="6" coveredelements="0"/>
|
69621 |
-
</file>
|
69622 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Filter.php">
|
69623 |
-
<class name="Filter" namespace="Boldgrid\Library\Library">
|
69624 |
-
<metrics complexity="26" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="64" coveredstatements="0" elements="68" coveredelements="0"/>
|
69625 |
-
</class>
|
69626 |
-
<line num="33" type="method" name="add" visibility="public" complexity="1" crap="2" count="0"/>
|
69627 |
-
<line num="34" type="stmt" count="0"/>
|
69628 |
-
<line num="35" type="stmt" count="0"/>
|
69629 |
-
<line num="46" type="method" name="remove" visibility="public" complexity="1" crap="2" count="0"/>
|
69630 |
-
<line num="47" type="stmt" count="0"/>
|
69631 |
-
<line num="48" type="stmt" count="0"/>
|
69632 |
-
<line num="62" type="method" name="doFilter" visibility="private" complexity="9" crap="90" count="0"/>
|
69633 |
-
<line num="63" type="stmt" count="0"/>
|
69634 |
-
<line num="64" type="stmt" count="0"/>
|
69635 |
-
<line num="65" type="stmt" count="0"/>
|
69636 |
-
<line num="66" type="stmt" count="0"/>
|
69637 |
-
<line num="69" type="stmt" count="0"/>
|
69638 |
-
<line num="70" type="stmt" count="0"/>
|
69639 |
-
<line num="71" type="stmt" count="0"/>
|
69640 |
-
<line num="74" type="stmt" count="0"/>
|
69641 |
-
<line num="75" type="stmt" count="0"/>
|
69642 |
-
<line num="76" type="stmt" count="0"/>
|
69643 |
-
<line num="77" type="stmt" count="0"/>
|
69644 |
-
<line num="78" type="stmt" count="0"/>
|
69645 |
-
<line num="79" type="stmt" count="0"/>
|
69646 |
-
<line num="82" type="stmt" count="0"/>
|
69647 |
-
<line num="85" type="stmt" count="0"/>
|
69648 |
-
<line num="86" type="stmt" count="0"/>
|
69649 |
-
<line num="87" type="stmt" count="0"/>
|
69650 |
-
<line num="88" type="stmt" count="0"/>
|
69651 |
-
<line num="89" type="stmt" count="0"/>
|
69652 |
-
<line num="90" type="stmt" count="0"/>
|
69653 |
-
<line num="106" type="method" name="removeHook" visibility="public" complexity="15" crap="240" count="0"/>
|
69654 |
-
<line num="107" type="stmt" count="0"/>
|
69655 |
-
<line num="110" type="stmt" count="0"/>
|
69656 |
-
<line num="120" type="stmt" count="0"/>
|
69657 |
-
<line num="123" type="stmt" count="0"/>
|
69658 |
-
<line num="124" type="stmt" count="0"/>
|
69659 |
-
<line num="125" type="stmt" count="0"/>
|
69660 |
-
<line num="126" type="stmt" count="0"/>
|
69661 |
-
<line num="127" type="stmt" count="0"/>
|
69662 |
-
<line num="130" type="stmt" count="0"/>
|
69663 |
-
<line num="131" type="stmt" count="0"/>
|
69664 |
-
<line num="132" type="stmt" count="0"/>
|
69665 |
-
<line num="135" type="stmt" count="0"/>
|
69666 |
-
<line num="138" type="stmt" count="0"/>
|
69667 |
-
<line num="139" type="stmt" count="0"/>
|
69668 |
-
<line num="140" type="stmt" count="0"/>
|
69669 |
-
<line num="143" type="stmt" count="0"/>
|
69670 |
-
<line num="144" type="stmt" count="0"/>
|
69671 |
-
<line num="145" type="stmt" count="0"/>
|
69672 |
-
<line num="148" type="stmt" count="0"/>
|
69673 |
-
<line num="149" type="stmt" count="0"/>
|
69674 |
-
<line num="150" type="stmt" count="0"/>
|
69675 |
-
<line num="153" type="stmt" count="0"/>
|
69676 |
-
<line num="156" type="stmt" count="0"/>
|
69677 |
-
<line num="159" type="stmt" count="0"/>
|
69678 |
-
<line num="160" type="stmt" count="0"/>
|
69679 |
-
<line num="163" type="stmt" count="0"/>
|
69680 |
-
<line num="166" type="stmt" count="0"/>
|
69681 |
-
<line num="167" type="stmt" count="0"/>
|
69682 |
-
<line num="168" type="stmt" count="0"/>
|
69683 |
-
<line num="171" type="stmt" count="0"/>
|
69684 |
-
<line num="172" type="stmt" count="0"/>
|
69685 |
-
<line num="173" type="stmt" count="0"/>
|
69686 |
-
<line num="176" type="stmt" count="0"/>
|
69687 |
-
<line num="177" type="stmt" count="0"/>
|
69688 |
-
<line num="179" type="stmt" count="0"/>
|
69689 |
-
<line num="180" type="stmt" count="0"/>
|
69690 |
-
<line num="181" type="stmt" count="0"/>
|
69691 |
-
<line num="182" type="stmt" count="0"/>
|
69692 |
-
<line num="184" type="stmt" count="0"/>
|
69693 |
-
<line num="185" type="stmt" count="0"/>
|
69694 |
-
<metrics loc="186" ncloc="81" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="64" coveredstatements="0" elements="68" coveredelements="0"/>
|
69695 |
-
</file>
|
69696 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Key.php">
|
69697 |
-
<class name="Key" namespace="Boldgrid\Library\Library">
|
69698 |
-
<metrics complexity="34" methods="14" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="0" elements="109" coveredelements="0"/>
|
69699 |
-
</class>
|
69700 |
-
<line num="77" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69701 |
-
<line num="78" type="stmt" count="0"/>
|
69702 |
-
<line num="79" type="stmt" count="0"/>
|
69703 |
-
<line num="80" type="stmt" count="0"/>
|
69704 |
-
<line num="81" type="stmt" count="0"/>
|
69705 |
-
<line num="83" type="stmt" count="0"/>
|
69706 |
-
<line num="84" type="stmt" count="0"/>
|
69707 |
-
<line num="93" type="method" name="setLicense" visibility="public" complexity="2" crap="6" count="0"/>
|
69708 |
-
<line num="94" type="stmt" count="0"/>
|
69709 |
-
<line num="95" type="stmt" count="0"/>
|
69710 |
-
<line num="104" type="method" name="getKey" visibility="private" complexity="1" crap="2" count="0"/>
|
69711 |
-
<line num="105" type="stmt" count="0"/>
|
69712 |
-
<line num="106" type="stmt" count="0"/>
|
69713 |
-
<line num="115" type="method" name="getLicense" visibility="public" complexity="1" crap="2" count="0"/>
|
69714 |
-
<line num="116" type="stmt" count="0"/>
|
69715 |
-
<line num="117" type="stmt" count="0"/>
|
69716 |
-
<line num="126" type="method" name="getNotice" visibility="public" complexity="1" crap="2" count="0"/>
|
69717 |
-
<line num="127" type="stmt" count="0"/>
|
69718 |
-
<line num="128" type="stmt" count="0"/>
|
69719 |
-
<line num="139" type="method" name="hasKey" visibility="public" complexity="1" crap="2" count="0"/>
|
69720 |
-
<line num="140" type="stmt" count="0"/>
|
69721 |
-
<line num="142" type="stmt" count="0"/>
|
69722 |
-
<line num="143" type="stmt" count="0"/>
|
69723 |
-
<line num="154" type="method" name="setValid" visibility="public" complexity="7" crap="56" count="0"/>
|
69724 |
-
<line num="156" type="stmt" count="0"/>
|
69725 |
-
<line num="159" type="stmt" count="0"/>
|
69726 |
-
<line num="162" type="stmt" count="0"/>
|
69727 |
-
<line num="165" type="stmt" count="0"/>
|
69728 |
-
<line num="167" type="stmt" count="0"/>
|
69729 |
-
<line num="168" type="stmt" count="0"/>
|
69730 |
-
<line num="171" type="stmt" count="0"/>
|
69731 |
-
<line num="173" type="stmt" count="0"/>
|
69732 |
-
<line num="176" type="stmt" count="0"/>
|
69733 |
-
<line num="178" type="stmt" count="0"/>
|
69734 |
-
<line num="181" type="stmt" count="0"/>
|
69735 |
-
<line num="182" type="stmt" count="0"/>
|
69736 |
-
<line num="183" type="stmt" count="0"/>
|
69737 |
-
<line num="185" type="stmt" count="0"/>
|
69738 |
-
<line num="186" type="stmt" count="0"/>
|
69739 |
-
<line num="196" type="method" name="setNotice" visibility="public" complexity="6" crap="42" count="0"/>
|
69740 |
-
<line num="197" type="stmt" count="0"/>
|
69741 |
-
<line num="198" type="stmt" count="0"/>
|
69742 |
-
<line num="199" type="stmt" count="0"/>
|
69743 |
-
<line num="202" type="stmt" count="0"/>
|
69744 |
-
<line num="203" type="stmt" count="0"/>
|
69745 |
-
<line num="204" type="stmt" count="0"/>
|
69746 |
-
<line num="207" type="stmt" count="0"/>
|
69747 |
-
<line num="208" type="stmt" count="0"/>
|
69748 |
-
<line num="209" type="stmt" count="0"/>
|
69749 |
-
<line num="210" type="stmt" count="0"/>
|
69750 |
-
<line num="220" type="method" name="addKey" visibility="public" complexity="2" crap="6" count="0"/>
|
69751 |
-
<line num="228" type="stmt" count="0"/>
|
69752 |
-
<line num="229" type="stmt" count="0"/>
|
69753 |
-
<line num="231" type="stmt" count="0"/>
|
69754 |
-
<line num="233" type="stmt" count="0"/>
|
69755 |
-
<line num="234" type="stmt" count="0"/>
|
69756 |
-
<line num="235" type="stmt" count="0"/>
|
69757 |
-
<line num="236" type="stmt" count="0"/>
|
69758 |
-
<line num="237" type="stmt" count="0"/>
|
69759 |
-
<line num="238" type="stmt" count="0"/>
|
69760 |
-
<line num="239" type="stmt" count="0"/>
|
69761 |
-
<line num="250" type="method" name="callCheckVersion" visibility="public" complexity="3" crap="12" count="0"/>
|
69762 |
-
<line num="251" type="stmt" count="0"/>
|
69763 |
-
<line num="252" type="stmt" count="0"/>
|
69764 |
-
<line num="255" type="stmt" count="0"/>
|
69765 |
-
<line num="258" type="stmt" count="0"/>
|
69766 |
-
<line num="259" type="stmt" count="0"/>
|
69767 |
-
<line num="260" type="stmt" count="0"/>
|
69768 |
-
<line num="261" type="stmt" count="0"/>
|
69769 |
-
<line num="262" type="stmt" count="0"/>
|
69770 |
-
<line num="265" type="stmt" count="0"/>
|
69771 |
-
<line num="266" type="stmt" count="0"/>
|
69772 |
-
<line num="276" type="method" name="verifyData" visibility="public" complexity="1" crap="2" count="0"/>
|
69773 |
-
<line num="277" type="stmt" count="0"/>
|
69774 |
-
<line num="278" type="stmt" count="0"/>
|
69775 |
-
<line num="292" type="method" name="verify" visibility="public" complexity="3" crap="12" count="0"/>
|
69776 |
-
<line num="293" type="stmt" count="0"/>
|
69777 |
-
<line num="296" type="stmt" count="0"/>
|
69778 |
-
<line num="297" type="stmt" count="0"/>
|
69779 |
-
<line num="298" type="stmt" count="0"/>
|
69780 |
-
<line num="299" type="stmt" count="0"/>
|
69781 |
-
<line num="300" type="stmt" count="0"/>
|
69782 |
-
<line num="303" type="stmt" count="0"/>
|
69783 |
-
<line num="304" type="stmt" count="0"/>
|
69784 |
-
<line num="305" type="stmt" count="0"/>
|
69785 |
-
<line num="308" type="stmt" count="0"/>
|
69786 |
-
<line num="309" type="stmt" count="0"/>
|
69787 |
-
<line num="321" type="method" name="save" visibility="public" complexity="1" crap="2" count="0"/>
|
69788 |
-
<line num="322" type="stmt" count="0"/>
|
69789 |
-
<line num="326" type="stmt" count="0"/>
|
69790 |
-
<line num="329" type="stmt" count="0"/>
|
69791 |
-
<line num="332" type="stmt" count="0"/>
|
69792 |
-
<line num="335" type="stmt" count="0"/>
|
69793 |
-
<line num="338" type="stmt" count="0"/>
|
69794 |
-
<line num="342" type="stmt" count="0"/>
|
69795 |
-
<line num="343" type="stmt" count="0"/>
|
69796 |
-
<line num="354" type="method" name="saveReseller" visibility="protected" complexity="4" crap="20" count="0"/>
|
69797 |
-
<line num="355" type="stmt" count="0"/>
|
69798 |
-
<line num="360" type="stmt" count="0"/>
|
69799 |
-
<line num="363" type="stmt" count="0"/>
|
69800 |
-
<line num="366" type="stmt" count="0"/>
|
69801 |
-
<line num="369" type="stmt" count="0"/>
|
69802 |
-
<line num="370" type="stmt" count="0"/>
|
69803 |
-
<line num="371" type="stmt" count="0"/>
|
69804 |
-
<line num="374" type="stmt" count="0"/>
|
69805 |
-
<line num="375" type="stmt" count="0"/>
|
69806 |
-
<line num="376" type="stmt" count="0"/>
|
69807 |
-
<line num="379" type="stmt" count="0"/>
|
69808 |
-
<line num="380" type="stmt" count="0"/>
|
69809 |
-
<metrics loc="381" ncloc="139" classes="1" methods="14" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="0" elements="109" coveredelements="0"/>
|
69810 |
-
</file>
|
69811 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/License.php">
|
69812 |
-
<class name="License" namespace="Boldgrid\Library\Library">
|
69813 |
-
<metrics complexity="43" methods="23" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="125" coveredstatements="0" elements="148" coveredelements="0"/>
|
69814 |
-
</class>
|
69815 |
-
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69816 |
-
<line num="57" type="stmt" count="0"/>
|
69817 |
-
<line num="59" type="stmt" count="0"/>
|
69818 |
-
<line num="61" type="stmt" count="0"/>
|
69819 |
-
<line num="62" type="stmt" count="0"/>
|
69820 |
-
<line num="71" type="method" name="ajaxClear" visibility="public" complexity="5" crap="30" count="0"/>
|
69821 |
-
<line num="72" type="stmt" count="0"/>
|
69822 |
-
<line num="74" type="stmt" count="0"/>
|
69823 |
-
<line num="75" type="stmt" count="0"/>
|
69824 |
-
<line num="76" type="stmt" count="0"/>
|
69825 |
-
<line num="78" type="stmt" count="0"/>
|
69826 |
-
<line num="79" type="stmt" count="0"/>
|
69827 |
-
<line num="80" type="stmt" count="0"/>
|
69828 |
-
<line num="82" type="stmt" count="0"/>
|
69829 |
-
<line num="83" type="stmt" count="0"/>
|
69830 |
-
<line num="84" type="stmt" count="0"/>
|
69831 |
-
<line num="85" type="stmt" count="0"/>
|
69832 |
-
<line num="87" type="stmt" count="0"/>
|
69833 |
-
<line num="88" type="stmt" count="0"/>
|
69834 |
-
<line num="89" type="stmt" count="0"/>
|
69835 |
-
<line num="90" type="stmt" count="0"/>
|
69836 |
-
<line num="91" type="stmt" count="0"/>
|
69837 |
-
<line num="93" type="stmt" count="0"/>
|
69838 |
-
<line num="95" type="stmt" count="0"/>
|
69839 |
-
<line num="96" type="stmt" count="0"/>
|
69840 |
-
<line num="97" type="stmt" count="0"/>
|
69841 |
-
<line num="98" type="stmt" count="0"/>
|
69842 |
-
<line num="100" type="stmt" count="0"/>
|
69843 |
-
<line num="101" type="stmt" count="0"/>
|
69844 |
-
<line num="110" type="method" name="registerScripts" visibility="public" complexity="1" crap="2" count="0"/>
|
69845 |
-
<line num="111" type="stmt" count="0"/>
|
69846 |
-
<line num="113" type="stmt" count="0"/>
|
69847 |
-
<line num="114" type="stmt" count="0"/>
|
69848 |
-
<line num="115" type="stmt" count="0"/>
|
69849 |
-
<line num="116" type="stmt" count="0"/>
|
69850 |
-
<line num="117" type="stmt" count="0"/>
|
69851 |
-
<line num="119" type="stmt" count="0"/>
|
69852 |
-
<line num="120" type="stmt" count="0"/>
|
69853 |
-
<line num="121" type="stmt" count="0"/>
|
69854 |
-
<line num="123" type="stmt" count="0"/>
|
69855 |
-
<line num="124" type="stmt" count="0"/>
|
69856 |
-
<line num="135" type="method" name="setKey" visibility="private" complexity="1" crap="2" count="0"/>
|
69857 |
-
<line num="136" type="stmt" count="0"/>
|
69858 |
-
<line num="137" type="stmt" count="0"/>
|
69859 |
-
<line num="146" type="method" name="setLicense" visibility="private" complexity="4" crap="20" count="0"/>
|
69860 |
-
<line num="147" type="stmt" count="0"/>
|
69861 |
-
<line num="148" type="stmt" count="0"/>
|
69862 |
-
<line num="149" type="stmt" count="0"/>
|
69863 |
-
<line num="150" type="stmt" count="0"/>
|
69864 |
-
<line num="151" type="stmt" count="0"/>
|
69865 |
-
<line num="152" type="stmt" count="0"/>
|
69866 |
-
<line num="154" type="stmt" count="0"/>
|
69867 |
-
<line num="155" type="stmt" count="0"/>
|
69868 |
-
<line num="164" type="method" name="setTransient" visibility="private" complexity="2" crap="6" count="0"/>
|
69869 |
-
<line num="165" type="stmt" count="0"/>
|
69870 |
-
<line num="166" type="stmt" count="0"/>
|
69871 |
-
<line num="177" type="method" name="isValid" visibility="private" complexity="2" crap="6" count="0"/>
|
69872 |
-
<line num="178" type="stmt" count="0"/>
|
69873 |
-
<line num="179" type="stmt" count="0"/>
|
69874 |
-
<line num="180" type="stmt" count="0"/>
|
69875 |
-
<line num="181" type="stmt" count="0"/>
|
69876 |
-
<line num="182" type="stmt" count="0"/>
|
69877 |
-
<line num="183" type="stmt" count="0"/>
|
69878 |
-
<line num="185" type="stmt" count="0"/>
|
69879 |
-
<line num="186" type="stmt" count="0"/>
|
69880 |
-
<line num="195" type="method" name="setData" visibility="private" complexity="2" crap="6" count="0"/>
|
69881 |
-
<line num="196" type="stmt" count="0"/>
|
69882 |
-
<line num="197" type="stmt" count="0"/>
|
69883 |
-
<line num="198" type="stmt" count="0"/>
|
69884 |
-
<line num="199" type="stmt" count="0"/>
|
69885 |
-
<line num="200" type="stmt" count="0"/>
|
69886 |
-
<line num="201" type="stmt" count="0"/>
|
69887 |
-
<line num="202" type="stmt" count="0"/>
|
69888 |
-
<line num="203" type="stmt" count="0"/>
|
69889 |
-
<line num="204" type="stmt" count="0"/>
|
69890 |
-
<line num="205" type="stmt" count="0"/>
|
69891 |
-
<line num="206" type="stmt" count="0"/>
|
69892 |
-
<line num="208" type="stmt" count="0"/>
|
69893 |
-
<line num="209" type="stmt" count="0"/>
|
69894 |
-
<line num="216" type="method" name="licenseNotice" visibility="protected" complexity="3" crap="12" count="0"/>
|
69895 |
-
<line num="217" type="stmt" count="0"/>
|
69896 |
-
<line num="218" type="stmt" count="0"/>
|
69897 |
-
<line num="220" type="stmt" count="0"/>
|
69898 |
-
<line num="221" type="stmt" count="0"/>
|
69899 |
-
<line num="222" type="stmt" count="0"/>
|
69900 |
-
<line num="223" type="stmt" count="0"/>
|
69901 |
-
<line num="224" type="stmt" count="0"/>
|
69902 |
-
<line num="233" type="method" name="deactivate" visibility="public" complexity="3" crap="12" count="0"/>
|
69903 |
-
<line num="234" type="stmt" count="0"/>
|
69904 |
-
<line num="235" type="stmt" count="0"/>
|
69905 |
-
<line num="236" type="stmt" count="0"/>
|
69906 |
-
<line num="237" type="stmt" count="0"/>
|
69907 |
-
<line num="238" type="stmt" count="0"/>
|
69908 |
-
<line num="249" type="method" name="clearTransient" visibility="public" complexity="1" crap="2" count="0"/>
|
69909 |
-
<line num="250" type="stmt" count="0"/>
|
69910 |
-
<line num="251" type="stmt" count="0"/>
|
69911 |
-
<line num="262" type="method" name="getRemoteLicense" visibility="private" complexity="2" crap="6" count="0"/>
|
69912 |
-
<line num="263" type="stmt" count="0"/>
|
69913 |
-
<line num="264" type="stmt" count="0"/>
|
69914 |
-
<line num="266" type="stmt" count="0"/>
|
69915 |
-
<line num="267" type="stmt" count="0"/>
|
69916 |
-
<line num="268" type="stmt" count="0"/>
|
69917 |
-
<line num="270" type="stmt" count="0"/>
|
69918 |
-
<line num="271" type="stmt" count="0"/>
|
69919 |
-
<line num="280" type="method" name="getKey" visibility="public" complexity="1" crap="2" count="0"/>
|
69920 |
-
<line num="281" type="stmt" count="0"/>
|
69921 |
-
<line num="282" type="stmt" count="0"/>
|
69922 |
-
<line num="291" type="method" name="getTransient" visibility="protected" complexity="1" crap="2" count="0"/>
|
69923 |
-
<line num="292" type="stmt" count="0"/>
|
69924 |
-
<line num="293" type="stmt" count="0"/>
|
69925 |
-
<line num="304" type="method" name="getExpiration" visibility="private" complexity="1" crap="2" count="0"/>
|
69926 |
-
<line num="305" type="stmt" count="0"/>
|
69927 |
-
<line num="306" type="stmt" count="0"/>
|
69928 |
-
<line num="315" type="method" name="getLicense" visibility="protected" complexity="1" crap="2" count="0"/>
|
69929 |
-
<line num="316" type="stmt" count="0"/>
|
69930 |
-
<line num="317" type="stmt" count="0"/>
|
69931 |
-
<line num="326" type="method" name="getLicenseString" visibility="public" complexity="1" crap="2" count="0"/>
|
69932 |
-
<line num="327" type="stmt" count="0"/>
|
69933 |
-
<line num="328" type="stmt" count="0"/>
|
69934 |
-
<line num="337" type="method" name="getApiKey" visibility="public" complexity="1" crap="2" count="0"/>
|
69935 |
-
<line num="338" type="stmt" count="0"/>
|
69936 |
-
<line num="339" type="stmt" count="0"/>
|
69937 |
-
<line num="350" type="method" name="getData" visibility="public" complexity="1" crap="2" count="0"/>
|
69938 |
-
<line num="351" type="stmt" count="0"/>
|
69939 |
-
<line num="352" type="stmt" count="0"/>
|
69940 |
-
<line num="361" type="method" name="getValid" visibility="public" complexity="1" crap="2" count="0"/>
|
69941 |
-
<line num="362" type="stmt" count="0"/>
|
69942 |
-
<line num="363" type="stmt" count="0"/>
|
69943 |
-
<line num="375" type="method" name="initLicense" visibility="public" complexity="2" crap="6" count="0"/>
|
69944 |
-
<line num="376" type="stmt" count="0"/>
|
69945 |
-
<line num="378" type="stmt" count="0"/>
|
69946 |
-
<line num="379" type="stmt" count="0"/>
|
69947 |
-
<line num="380" type="stmt" count="0"/>
|
69948 |
-
<line num="381" type="stmt" count="0"/>
|
69949 |
-
<line num="382" type="stmt" count="0"/>
|
69950 |
-
<line num="383" type="stmt" count="0"/>
|
69951 |
-
<line num="384" type="stmt" count="0"/>
|
69952 |
-
<line num="396" type="method" name="isPremium" visibility="public" complexity="2" crap="6" count="0"/>
|
69953 |
-
<line num="397" type="stmt" count="0"/>
|
69954 |
-
<line num="399" type="stmt" count="0"/>
|
69955 |
-
<line num="400" type="stmt" count="0"/>
|
69956 |
-
<line num="402" type="stmt" count="0"/>
|
69957 |
-
<line num="403" type="stmt" count="0"/>
|
69958 |
-
<line num="418" type="method" name="isVersionValid" visibility="public" complexity="4" crap="20" count="0"/>
|
69959 |
-
<line num="419" type="stmt" count="0"/>
|
69960 |
-
<line num="420" type="stmt" count="0"/>
|
69961 |
-
<line num="421" type="stmt" count="0"/>
|
69962 |
-
<line num="422" type="stmt" count="0"/>
|
69963 |
-
<metrics loc="423" ncloc="203" classes="1" methods="23" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="125" coveredstatements="0" elements="148" coveredelements="0"/>
|
69964 |
-
</file>
|
69965 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/NewsWidget.php">
|
69966 |
-
<class name="NewsWidget" namespace="Boldgrid\Library\Library">
|
69967 |
-
<metrics complexity="21" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="96" coveredstatements="0" elements="103" coveredelements="0"/>
|
69968 |
-
</class>
|
69969 |
-
<line num="35" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69970 |
-
<line num="36" type="stmt" count="0"/>
|
69971 |
-
<line num="37" type="stmt" count="0"/>
|
69972 |
-
<line num="46" type="method" name="admin_enqueue_scripts" visibility="public" complexity="2" crap="6" count="0"/>
|
69973 |
-
<line num="47" type="stmt" count="0"/>
|
69974 |
-
<line num="48" type="stmt" count="0"/>
|
69975 |
-
<line num="49" type="stmt" count="0"/>
|
69976 |
-
<line num="50" type="stmt" count="0"/>
|
69977 |
-
<line num="52" type="stmt" count="0"/>
|
69978 |
-
<line num="53" type="stmt" count="0"/>
|
69979 |
-
<line num="54" type="stmt" count="0"/>
|
69980 |
-
<line num="55" type="stmt" count="0"/>
|
69981 |
-
<line num="56" type="stmt" count="0"/>
|
69982 |
-
<line num="57" type="stmt" count="0"/>
|
69983 |
-
<line num="64" type="method" name="display" visibility="public" complexity="6" crap="42" count="0"/>
|
69984 |
-
<line num="66" type="stmt" count="0"/>
|
69985 |
-
<line num="69" type="stmt" count="0"/>
|
69986 |
-
<line num="70" type="stmt" count="0"/>
|
69987 |
-
<line num="71" type="stmt" count="0"/>
|
69988 |
-
<line num="72" type="stmt" count="0"/>
|
69989 |
-
<line num="75" type="stmt" count="0"/>
|
69990 |
-
<line num="76" type="stmt" count="0"/>
|
69991 |
-
<line num="77" type="stmt" count="0"/>
|
69992 |
-
<line num="78" type="stmt" count="0"/>
|
69993 |
-
<line num="81" type="stmt" count="0"/>
|
69994 |
-
<line num="82" type="stmt" count="0"/>
|
69995 |
-
<line num="84" type="stmt" count="0"/>
|
69996 |
-
<line num="85" type="stmt" count="0"/>
|
69997 |
-
<line num="86" type="stmt" count="0"/>
|
69998 |
-
<line num="87" type="stmt" count="0"/>
|
69999 |
-
<line num="91" type="stmt" count="0"/>
|
70000 |
-
<line num="93" type="stmt" count="0"/>
|
70001 |
-
<line num="95" type="stmt" count="0"/>
|
70002 |
-
<line num="96" type="stmt" count="0"/>
|
70003 |
-
<line num="98" type="stmt" count="0"/>
|
70004 |
-
<line num="99" type="stmt" count="0"/>
|
70005 |
-
<line num="101" type="stmt" count="0"/>
|
70006 |
-
<line num="102" type="stmt" count="0"/>
|
70007 |
-
<line num="103" type="stmt" count="0"/>
|
70008 |
-
<line num="113" type="method" name="getTagId" visibility="public" complexity="3" crap="12" count="0"/>
|
70009 |
-
<line num="114" type="stmt" count="0"/>
|
70010 |
-
<line num="116" type="stmt" count="0"/>
|
70011 |
-
<line num="118" type="stmt" count="0"/>
|
70012 |
-
<line num="119" type="stmt" count="0"/>
|
70013 |
-
<line num="120" type="stmt" count="0"/>
|
70014 |
-
<line num="122" type="stmt" count="0"/>
|
70015 |
-
<line num="123" type="stmt" count="0"/>
|
70016 |
-
<line num="125" type="stmt" count="0"/>
|
70017 |
-
<line num="127" type="stmt" count="0"/>
|
70018 |
-
<line num="128" type="stmt" count="0"/>
|
70019 |
-
<line num="138" type="method" name="getPosts" visibility="public" complexity="5" crap="30" count="0"/>
|
70020 |
-
<line num="140" type="stmt" count="0"/>
|
70021 |
-
<line num="143" type="stmt" count="0"/>
|
70022 |
-
<line num="144" type="stmt" count="0"/>
|
70023 |
-
<line num="145" type="stmt" count="0"/>
|
70024 |
-
<line num="147" type="stmt" count="0"/>
|
70025 |
-
<line num="148" type="stmt" count="0"/>
|
70026 |
-
<line num="149" type="stmt" count="0"/>
|
70027 |
-
<line num="150" type="stmt" count="0"/>
|
70028 |
-
<line num="152" type="stmt" count="0"/>
|
70029 |
-
<line num="153" type="stmt" count="0"/>
|
70030 |
-
<line num="156" type="stmt" count="0"/>
|
70031 |
-
<line num="157" type="stmt" count="0"/>
|
70032 |
-
<line num="159" type="stmt" count="0"/>
|
70033 |
-
<line num="160" type="stmt" count="0"/>
|
70034 |
-
<line num="161" type="stmt" count="0"/>
|
70035 |
-
<line num="163" type="stmt" count="0"/>
|
70036 |
-
<line num="164" type="stmt" count="0"/>
|
70037 |
-
<line num="173" type="method" name="getRssUrl" visibility="public" complexity="3" crap="12" count="0"/>
|
70038 |
-
<line num="175" type="stmt" count="0"/>
|
70039 |
-
<line num="177" type="stmt" count="0"/>
|
70040 |
-
<line num="179" type="stmt" count="0"/>
|
70041 |
-
<line num="180" type="stmt" count="0"/>
|
70042 |
-
<line num="181" type="stmt" count="0"/>
|
70043 |
-
<line num="182" type="stmt" count="0"/>
|
70044 |
-
<line num="183" type="stmt" count="0"/>
|
70045 |
-
<line num="186" type="stmt" count="0"/>
|
70046 |
-
<line num="187" type="stmt" count="0"/>
|
70047 |
-
<line num="188" type="stmt" count="0"/>
|
70048 |
-
<line num="189" type="stmt" count="0"/>
|
70049 |
-
<line num="190" type="stmt" count="0"/>
|
70050 |
-
<line num="191" type="stmt" count="0"/>
|
70051 |
-
<line num="192" type="stmt" count="0"/>
|
70052 |
-
<line num="193" type="stmt" count="0"/>
|
70053 |
-
<line num="194" type="stmt" count="0"/>
|
70054 |
-
<line num="196" type="stmt" count="0"/>
|
70055 |
-
<line num="197" type="stmt" count="0"/>
|
70056 |
-
<line num="198" type="stmt" count="0"/>
|
70057 |
-
<line num="199" type="stmt" count="0"/>
|
70058 |
-
<line num="200" type="stmt" count="0"/>
|
70059 |
-
<line num="201" type="stmt" count="0"/>
|
70060 |
-
<line num="203" type="stmt" count="0"/>
|
70061 |
-
<line num="204" type="stmt" count="0"/>
|
70062 |
-
<line num="216" type="method" name="wp_dashboard_setup" visibility="public" complexity="1" crap="2" count="0"/>
|
70063 |
-
<line num="217" type="stmt" count="0"/>
|
70064 |
-
<line num="218" type="stmt" count="0"/>
|
70065 |
-
<line num="219" type="stmt" count="0"/>
|
70066 |
-
<line num="220" type="stmt" count="0"/>
|
70067 |
-
<line num="221" type="stmt" count="0"/>
|
70068 |
-
<line num="222" type="stmt" count="0"/>
|
70069 |
-
<line num="223" type="stmt" count="0"/>
|
70070 |
-
<line num="224" type="stmt" count="0"/>
|
70071 |
-
<line num="225" type="stmt" count="0"/>
|
70072 |
-
<metrics loc="226" ncloc="132" classes="1" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="96" coveredstatements="0" elements="103" coveredelements="0"/>
|
70073 |
-
</file>
|
70074 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Notice.php">
|
70075 |
-
<class name="Notice" namespace="Boldgrid\Library\Library">
|
70076 |
-
<metrics complexity="23" methods="10" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="67" coveredstatements="0" elements="77" coveredelements="0"/>
|
70077 |
-
</class>
|
70078 |
-
<line num="44" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
70079 |
-
<line num="45" type="stmt" count="0"/>
|
70080 |
-
<line num="46" type="stmt" count="0"/>
|
70081 |
-
<line num="47" type="stmt" count="0"/>
|
70082 |
-
<line num="49" type="stmt" count="0"/>
|
70083 |
-
<line num="50" type="stmt" count="0"/>
|
70084 |
-
<line num="62" type="method" name="setClass" visibility="private" complexity="2" crap="6" count="0"/>
|
70085 |
-
<line num="65" type="stmt" count="0"/>
|
70086 |
-
<line num="68" type="stmt" count="0"/>
|
70087 |
-
<line num="69" type="stmt" count="0"/>
|
70088 |
-
<line num="86" type="method" name="show" visibility="public" complexity="2" crap="6" count="0"/>
|
70089 |
-
<line num="87" type="stmt" count="0"/>
|
70090 |
-
<line num="89" type="stmt" count="0"/>
|
70091 |
-
<line num="90" type="stmt" count="0"/>
|
70092 |
-
<line num="91" type="stmt" count="0"/>
|
70093 |
-
<line num="93" type="stmt" count="0"/>
|
70094 |
-
<line num="94" type="stmt" count="0"/>
|
70095 |
-
<line num="95" type="stmt" count="0"/>
|
70096 |
-
<line num="96" type="stmt" count="0"/>
|
70097 |
-
<line num="97" type="stmt" count="0"/>
|
70098 |
-
<line num="98" type="stmt" count="0"/>
|
70099 |
-
<line num="107" type="stmt" count="0"/>
|
70100 |
-
<line num="108" type="stmt" count="0"/>
|
70101 |
-
<line num="117" type="method" name="add" visibility="public" complexity="2" crap="6" count="0"/>
|
70102 |
-
<line num="118" type="stmt" count="0"/>
|
70103 |
-
<line num="119" type="stmt" count="0"/>
|
70104 |
-
<line num="120" type="stmt" count="0"/>
|
70105 |
-
<line num="121" type="stmt" count="0"/>
|
70106 |
-
<line num="122" type="stmt" count="0"/>
|
70107 |
-
<line num="131" type="method" name="getName" visibility="protected" complexity="1" crap="2" count="0"/>
|
70108 |
-
<line num="132" type="stmt" count="0"/>
|
70109 |
-
<line num="133" type="stmt" count="0"/>
|
70110 |
-
<line num="142" type="method" name="getArgs" visibility="protected" complexity="1" crap="2" count="0"/>
|
70111 |
-
<line num="143" type="stmt" count="0"/>
|
70112 |
-
<line num="144" type="stmt" count="0"/>
|
70113 |
-
<line num="159" type="method" name="dismiss" visibility="public" complexity="4" crap="20" count="0"/>
|
70114 |
-
<line num="161" type="stmt" count="0"/>
|
70115 |
-
<line num="162" type="stmt" count="0"/>
|
70116 |
-
<line num="165" type="stmt" count="0"/>
|
70117 |
-
<line num="166" type="stmt" count="0"/>
|
70118 |
-
<line num="167" type="stmt" count="0"/>
|
70119 |
-
<line num="168" type="stmt" count="0"/>
|
70120 |
-
<line num="170" type="stmt" count="0"/>
|
70121 |
-
<line num="171" type="stmt" count="0"/>
|
70122 |
-
<line num="172" type="stmt" count="0"/>
|
70123 |
-
<line num="173" type="stmt" count="0"/>
|
70124 |
-
<line num="174" type="stmt" count="0"/>
|
70125 |
-
<line num="185" type="method" name="undismiss" visibility="public" complexity="6" crap="42" count="0"/>
|
70126 |
-
<line num="187" type="stmt" count="0"/>
|
70127 |
-
<line num="188" type="stmt" count="0"/>
|
70128 |
-
<line num="191" type="stmt" count="0"/>
|
70129 |
-
<line num="194" type="stmt" count="0"/>
|
70130 |
-
<line num="195" type="stmt" count="0"/>
|
70131 |
-
<line num="196" type="stmt" count="0"/>
|
70132 |
-
<line num="197" type="stmt" count="0"/>
|
70133 |
-
<line num="198" type="stmt" count="0"/>
|
70134 |
-
<line num="199" type="stmt" count="0"/>
|
70135 |
-
<line num="200" type="stmt" count="0"/>
|
70136 |
-
<line num="201" type="stmt" count="0"/>
|
70137 |
-
<line num="213" type="method" name="isDismissed" visibility="public" complexity="3" crap="12" count="0"/>
|
70138 |
-
<line num="214" type="stmt" count="0"/>
|
70139 |
-
<line num="215" type="stmt" count="0"/>
|
70140 |
-
<line num="218" type="stmt" count="0"/>
|
70141 |
-
<line num="221" type="stmt" count="0"/>
|
70142 |
-
<line num="222" type="stmt" count="0"/>
|
70143 |
-
<line num="223" type="stmt" count="0"/>
|
70144 |
-
<line num="224" type="stmt" count="0"/>
|
70145 |
-
<line num="225" type="stmt" count="0"/>
|
70146 |
-
<line num="226" type="stmt" count="0"/>
|
70147 |
-
<line num="228" type="stmt" count="0"/>
|
70148 |
-
<line num="229" type="stmt" count="0"/>
|
70149 |
-
<line num="240" type="method" name="enqueue" visibility="public" complexity="1" crap="2" count="0"/>
|
70150 |
-
<line num="241" type="stmt" count="0"/>
|
70151 |
-
<line num="242" type="stmt" count="0"/>
|
70152 |
-
<line num="243" type="stmt" count="0"/>
|
70153 |
-
<line num="244" type="stmt" count="0"/>
|
70154 |
-
<line num="245" type="stmt" count="0"/>
|
70155 |
-
<metrics loc="246" ncloc="102" classes="1" methods="10" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="67" coveredstatements="0" elements="77" coveredelements="0"/>
|
70156 |
-
</file>
|
70157 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/RatingPrompt.php">
|
70158 |
-
<class name="RatingPrompt" namespace="Boldgrid\Library\Library">
|
70159 |
-
<metrics complexity="66" methods="20" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="200" coveredstatements="0" elements="220" coveredelements="0"/>
|
70160 |
-
</class>
|
70161 |
-
<line num="64" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
70162 |
-
<line num="66" type="stmt" count="0"/>
|
70163 |
-
<line num="67" type="stmt" count="0"/>
|
70164 |
-
<line num="68" type="stmt" count="0"/>
|
70165 |
-
<line num="69" type="stmt" count="0"/>
|
70166 |
-
<line num="71" type="stmt" count="0"/>
|
70167 |
-
<line num="72" type="stmt" count="0"/>
|
70168 |
-
<line num="84" type="method" name="addPrompt" visibility="public" complexity="3" crap="12" count="0"/>
|
70169 |
-
<line num="85" type="stmt" count="0"/>
|
70170 |
-
<line num="96" type="stmt" count="0"/>
|
70171 |
-
<line num="97" type="stmt" count="0"/>
|
70172 |
-
<line num="99" type="stmt" count="0"/>
|
70173 |
-
<line num="101" type="stmt" count="0"/>
|
70174 |
-
<line num="103" type="stmt" count="0"/>
|
70175 |
-
<line num="104" type="stmt" count="0"/>
|
70176 |
-
<line num="106" type="stmt" count="0"/>
|
70177 |
-
<line num="107" type="stmt" count="0"/>
|
70178 |
-
<line num="114" type="method" name="admin_notices" visibility="public" complexity="5" crap="30" count="0"/>
|
70179 |
-
<line num="115" type="stmt" count="0"/>
|
70180 |
-
<line num="116" type="stmt" count="0"/>
|
70181 |
-
<line num="117" type="stmt" count="0"/>
|
70182 |
-
<line num="119" type="stmt" count="0"/>
|
70183 |
-
<line num="120" type="stmt" count="0"/>
|
70184 |
-
<line num="121" type="stmt" count="0"/>
|
70185 |
-
<line num="122" type="stmt" count="0"/>
|
70186 |
-
<line num="124" type="stmt" count="0"/>
|
70187 |
-
<line num="125" type="stmt" count="0"/>
|
70188 |
-
<line num="126" type="stmt" count="0"/>
|
70189 |
-
<line num="127" type="stmt" count="0"/>
|
70190 |
-
<line num="128" type="stmt" count="0"/>
|
70191 |
-
<line num="129" type="stmt" count="0"/>
|
70192 |
-
<line num="130" type="stmt" count="0"/>
|
70193 |
-
<line num="131" type="stmt" count="0"/>
|
70194 |
-
<line num="132" type="stmt" count="0"/>
|
70195 |
-
<line num="133" type="stmt" count="0"/>
|
70196 |
-
<line num="142" type="method" name="ajaxDismiss" visibility="public" complexity="8" crap="72" count="0"/>
|
70197 |
-
<line num="143" type="stmt" count="0"/>
|
70198 |
-
<line num="144" type="stmt" count="0"/>
|
70199 |
-
<line num="145" type="stmt" count="0"/>
|
70200 |
-
<line num="147" type="stmt" count="0"/>
|
70201 |
-
<line num="148" type="stmt" count="0"/>
|
70202 |
-
<line num="149" type="stmt" count="0"/>
|
70203 |
-
<line num="151" type="stmt" count="0"/>
|
70204 |
-
<line num="152" type="stmt" count="0"/>
|
70205 |
-
<line num="153" type="stmt" count="0"/>
|
70206 |
-
<line num="155" type="stmt" count="0"/>
|
70207 |
-
<line num="156" type="stmt" count="0"/>
|
70208 |
-
<line num="157" type="stmt" count="0"/>
|
70209 |
-
<line num="158" type="stmt" count="0"/>
|
70210 |
-
<line num="159" type="stmt" count="0"/>
|
70211 |
-
<line num="160" type="stmt" count="0"/>
|
70212 |
-
<line num="161" type="stmt" count="0"/>
|
70213 |
-
<line num="162" type="stmt" count="0"/>
|
70214 |
-
<line num="163" type="stmt" count="0"/>
|
70215 |
-
<line num="164" type="stmt" count="0"/>
|
70216 |
-
<line num="165" type="stmt" count="0"/>
|
70217 |
-
<line num="166" type="stmt" count="0"/>
|
70218 |
-
<line num="167" type="stmt" count="0"/>
|
70219 |
-
<line num="168" type="stmt" count="0"/>
|
70220 |
-
<line num="178" type="method" name="getDecisionAttributes" visibility="public" complexity="5" crap="30" count="0"/>
|
70221 |
-
<line num="179" type="stmt" count="0"/>
|
70222 |
-
<line num="181" type="stmt" count="0"/>
|
70223 |
-
<line num="183" type="stmt" count="0"/>
|
70224 |
-
<line num="185" type="stmt" count="0"/>
|
70225 |
-
<line num="186" type="stmt" count="0"/>
|
70226 |
-
<line num="187" type="stmt" count="0"/>
|
70227 |
-
<line num="188" type="stmt" count="0"/>
|
70228 |
-
<line num="189" type="stmt" count="0"/>
|
70229 |
-
<line num="190" type="stmt" count="0"/>
|
70230 |
-
<line num="192" type="stmt" count="0"/>
|
70231 |
-
<line num="193" type="stmt" count="0"/>
|
70232 |
-
<line num="194" type="stmt" count="0"/>
|
70233 |
-
<line num="196" type="stmt" count="0"/>
|
70234 |
-
<line num="197" type="stmt" count="0"/>
|
70235 |
-
<line num="198" type="stmt" count="0"/>
|
70236 |
-
<line num="200" type="stmt" count="0"/>
|
70237 |
-
<line num="201" type="stmt" count="0"/>
|
70238 |
-
<line num="214" type="method" name="getLastDismissal" visibility="public" complexity="5" crap="30" count="0"/>
|
70239 |
-
<line num="215" type="stmt" count="0"/>
|
70240 |
-
<line num="217" type="stmt" count="0"/>
|
70241 |
-
<line num="218" type="stmt" count="0"/>
|
70242 |
-
<line num="219" type="stmt" count="0"/>
|
70243 |
-
<line num="221" type="stmt" count="0"/>
|
70244 |
-
<line num="222" type="stmt" count="0"/>
|
70245 |
-
<line num="223" type="stmt" count="0"/>
|
70246 |
-
<line num="224" type="stmt" count="0"/>
|
70247 |
-
<line num="225" type="stmt" count="0"/>
|
70248 |
-
<line num="227" type="stmt" count="0"/>
|
70249 |
-
<line num="228" type="stmt" count="0"/>
|
70250 |
-
<line num="230" type="stmt" count="0"/>
|
70251 |
-
<line num="231" type="stmt" count="0"/>
|
70252 |
-
<line num="240" type="method" name="getMinInterval" visibility="public" complexity="1" crap="2" count="0"/>
|
70253 |
-
<line num="241" type="stmt" count="0"/>
|
70254 |
-
<line num="242" type="stmt" count="0"/>
|
70255 |
-
<line num="249" type="method" name="admin_enqueue_scripts" visibility="public" complexity="3" crap="12" count="0"/>
|
70256 |
-
<line num="250" type="stmt" count="0"/>
|
70257 |
-
<line num="251" type="stmt" count="0"/>
|
70258 |
-
<line num="252" type="stmt" count="0"/>
|
70259 |
-
<line num="254" type="stmt" count="0"/>
|
70260 |
-
<line num="256" type="stmt" count="0"/>
|
70261 |
-
<line num="257" type="stmt" count="0"/>
|
70262 |
-
<line num="258" type="stmt" count="0"/>
|
70263 |
-
<line num="259" type="stmt" count="0"/>
|
70264 |
-
<line num="260" type="stmt" count="0"/>
|
70265 |
-
<line num="261" type="stmt" count="0"/>
|
70266 |
-
<line num="262" type="stmt" count="0"/>
|
70267 |
-
<line num="264" type="stmt" count="0"/>
|
70268 |
-
<line num="265" type="stmt" count="0"/>
|
70269 |
-
<line num="266" type="stmt" count="0"/>
|
70270 |
-
<line num="267" type="stmt" count="0"/>
|
70271 |
-
<line num="268" type="stmt" count="0"/>
|
70272 |
-
<line num="269" type="stmt" count="0"/>
|
70273 |
-
<line num="270" type="stmt" count="0"/>
|
70274 |
-
<line num="271" type="stmt" count="0"/>
|
70275 |
-
<line num="281" type="method" name="getPromptSlides" visibility="public" complexity="3" crap="12" count="0"/>
|
70276 |
-
<line num="282" type="stmt" count="0"/>
|
70277 |
-
<line num="284" type="stmt" count="0"/>
|
70278 |
-
<line num="285" type="stmt" count="0"/>
|
70279 |
-
<line num="286" type="stmt" count="0"/>
|
70280 |
-
<line num="288" type="stmt" count="0"/>
|
70281 |
-
<line num="289" type="stmt" count="0"/>
|
70282 |
-
<line num="290" type="stmt" count="0"/>
|
70283 |
-
<line num="292" type="stmt" count="0"/>
|
70284 |
-
<line num="293" type="stmt" count="0"/>
|
70285 |
-
<line num="304" type="method" name="getSlideMarkup" visibility="public" complexity="4" crap="20" count="0"/>
|
70286 |
-
<line num="305" type="stmt" count="0"/>
|
70287 |
-
<line num="307" type="stmt" count="0"/>
|
70288 |
-
<line num="309" type="stmt" count="0"/>
|
70289 |
-
<line num="310" type="stmt" count="0"/>
|
70290 |
-
<line num="312" type="stmt" count="0"/>
|
70291 |
-
<line num="313" type="stmt" count="0"/>
|
70292 |
-
<line num="315" type="stmt" count="0"/>
|
70293 |
-
<line num="316" type="stmt" count="0"/>
|
70294 |
-
<line num="317" type="stmt" count="0"/>
|
70295 |
-
<line num="318" type="stmt" count="0"/>
|
70296 |
-
<line num="319" type="stmt" count="0"/>
|
70297 |
-
<line num="321" type="stmt" count="0"/>
|
70298 |
-
<line num="322" type="stmt" count="0"/>
|
70299 |
-
<line num="323" type="stmt" count="0"/>
|
70300 |
-
<line num="324" type="stmt" count="0"/>
|
70301 |
-
<line num="326" type="stmt" count="0"/>
|
70302 |
-
<line num="328" type="stmt" count="0"/>
|
70303 |
-
<line num="329" type="stmt" count="0"/>
|
70304 |
-
<line num="340" type="method" name="isMinInterval" visibility="public" complexity="1" crap="2" count="0"/>
|
70305 |
-
<line num="341" type="stmt" count="0"/>
|
70306 |
-
<line num="342" type="stmt" count="0"/>
|
70307 |
-
<line num="352" type="method" name="getPrompt" visibility="public" complexity="3" crap="12" count="0"/>
|
70308 |
-
<line num="353" type="stmt" count="0"/>
|
70309 |
-
<line num="355" type="stmt" count="0"/>
|
70310 |
-
<line num="357" type="stmt" count="0"/>
|
70311 |
-
<line num="358" type="stmt" count="0"/>
|
70312 |
-
<line num="359" type="stmt" count="0"/>
|
70313 |
-
<line num="360" type="stmt" count="0"/>
|
70314 |
-
<line num="361" type="stmt" count="0"/>
|
70315 |
-
<line num="362" type="stmt" count="0"/>
|
70316 |
-
<line num="364" type="stmt" count="0"/>
|
70317 |
-
<line num="365" type="stmt" count="0"/>
|
70318 |
-
<line num="374" type="method" name="getPrompts" visibility="public" complexity="1" crap="2" count="0"/>
|
70319 |
-
<line num="375" type="stmt" count="0"/>
|
70320 |
-
<line num="376" type="stmt" count="0"/>
|
70321 |
-
<line num="386" type="method" name="isPluginDismissed" visibility="public" complexity="3" crap="12" count="0"/>
|
70322 |
-
<line num="387" type="stmt" count="0"/>
|
70323 |
-
<line num="389" type="stmt" count="0"/>
|
70324 |
-
<line num="391" type="stmt" count="0"/>
|
70325 |
-
<line num="392" type="stmt" count="0"/>
|
70326 |
-
<line num="393" type="stmt" count="0"/>
|
70327 |
-
<line num="394" type="stmt" count="0"/>
|
70328 |
-
<line num="395" type="stmt" count="0"/>
|
70329 |
-
<line num="397" type="stmt" count="0"/>
|
70330 |
-
<line num="398" type="stmt" count="0"/>
|
70331 |
-
<line num="408" type="method" name="isPrompt" visibility="public" complexity="1" crap="2" count="0"/>
|
70332 |
-
<line num="409" type="stmt" count="0"/>
|
70333 |
-
<line num="411" type="stmt" count="0"/>
|
70334 |
-
<line num="412" type="stmt" count="0"/>
|
70335 |
-
<line num="422" type="method" name="getPluginPrompts" visibility="public" complexity="3" crap="12" count="0"/>
|
70336 |
-
<line num="423" type="stmt" count="0"/>
|
70337 |
-
<line num="425" type="stmt" count="0"/>
|
70338 |
-
<line num="427" type="stmt" count="0"/>
|
70339 |
-
<line num="428" type="stmt" count="0"/>
|
70340 |
-
<line num="429" type="stmt" count="0"/>
|
70341 |
-
<line num="430" type="stmt" count="0"/>
|
70342 |
-
<line num="431" type="stmt" count="0"/>
|
70343 |
-
<line num="433" type="stmt" count="0"/>
|
70344 |
-
<line num="434" type="stmt" count="0"/>
|
70345 |
-
<line num="443" type="method" name="getNext" visibility="public" complexity="9" crap="90" count="0"/>
|
70346 |
-
<line num="444" type="stmt" count="0"/>
|
70347 |
-
<line num="445" type="stmt" count="0"/>
|
70348 |
-
<line num="447" type="stmt" count="0"/>
|
70349 |
-
<line num="448" type="stmt" count="0"/>
|
70350 |
-
<line num="449" type="stmt" count="0"/>
|
70351 |
-
<line num="450" type="stmt" count="0"/>
|
70352 |
-
<line num="452" type="stmt" count="0"/>
|
70353 |
-
<line num="453" type="stmt" count="0"/>
|
70354 |
-
<line num="454" type="stmt" count="0"/>
|
70355 |
-
<line num="455" type="stmt" count="0"/>
|
70356 |
-
<line num="457" type="stmt" count="0"/>
|
70357 |
-
<line num="458" type="stmt" count="0"/>
|
70358 |
-
<line num="459" type="stmt" count="0"/>
|
70359 |
-
<line num="461" type="stmt" count="0"/>
|
70360 |
-
<line num="462" type="stmt" count="0"/>
|
70361 |
-
<line num="474" type="method" name="updatePrompt" visibility="public" complexity="4" crap="20" count="0"/>
|
70362 |
-
<line num="475" type="stmt" count="0"/>
|
70363 |
-
<line num="477" type="stmt" count="0"/>
|
70364 |
-
<line num="479" type="stmt" count="0"/>
|
70365 |
-
<line num="480" type="stmt" count="0"/>
|
70366 |
-
<line num="481" type="stmt" count="0"/>
|
70367 |
-
<line num="483" type="stmt" count="0"/>
|
70368 |
-
<line num="485" type="stmt" count="0"/>
|
70369 |
-
<line num="486" type="stmt" count="0"/>
|
70370 |
-
<line num="487" type="stmt" count="0"/>
|
70371 |
-
<line num="489" type="stmt" count="0"/>
|
70372 |
-
<line num="490" type="stmt" count="0"/>
|
70373 |
-
<line num="502" type="method" name="savePrompts" visibility="public" complexity="1" crap="2" count="0"/>
|
70374 |
-
<line num="503" type="stmt" count="0"/>
|
70375 |
-
<line num="504" type="stmt" count="0"/>
|
70376 |
-
<line num="518" type="method" name="updatePromptKey" visibility="public" complexity="1" crap="2" count="0"/>
|
70377 |
-
<line num="519" type="stmt" count="0"/>
|
70378 |
-
<line num="521" type="stmt" count="0"/>
|
70379 |
-
<line num="523" type="stmt" count="0"/>
|
70380 |
-
<line num="524" type="stmt" count="0"/>
|
70381 |
-
<metrics loc="525" ncloc="309" classes="1" methods="20" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="200" coveredstatements="0" elements="220" coveredelements="0"/>
|
70382 |
-
</file>
|
70383 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Registration.php">
|
70384 |
-
<class name="Registration" namespace="Boldgrid\Library\Library">
|
70385 |
-
<metrics complexity="4" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="12" coveredelements="0"/>
|
70386 |
-
</class>
|
70387 |
-
<line num="27" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
70388 |
-
<line num="28" type="stmt" count="0"/>
|
70389 |
-
<line num="29" type="stmt" count="0"/>
|
70390 |
-
<line num="50" type="method" name="preUpgradePlugin" visibility="public" complexity="3" crap="12" count="0"/>
|
70391 |
-
<line num="51" type="stmt" count="0"/>
|
70392 |
-
<line num="53" type="stmt" count="0"/>
|
70393 |
-
<line num="55" type="stmt" count="0"/>
|
70394 |
-
<line num="68" type="stmt" count="0"/>
|
70395 |
-
<line num="69" type="stmt" count="0"/>
|
70396 |
-
<line num="70" type="stmt" count="0"/>
|
70397 |
-
<line num="72" type="stmt" count="0"/>
|
70398 |
-
<line num="73" type="stmt" count="0"/>
|
70399 |
-
<metrics loc="74" ncloc="24" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="12" coveredelements="0"/>
|
70400 |
-
</file>
|
70401 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/ReleaseChannel.php">
|
70402 |
-
<class name="ReleaseChannel" namespace="Boldgrid\Library\Library">
|
70403 |
-
<metrics complexity="14" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="0" elements="38" coveredelements="0"/>
|
70404 |
-
</class>
|
70405 |
-
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
70406 |
-
<line num="40" type="stmt" count="0"/>
|
70407 |
-
<line num="41" type="stmt" count="0"/>
|
70408 |
-
<line num="42" type="stmt" count="0"/>
|
70409 |
-
<line num="43" type="stmt" count="0"/>
|
70410 |
-
<line num="52" type="method" name="setPluginChannel" visibility="private" complexity="2" crap="6" count="0"/>
|
70411 |
-
<line num="53" type="stmt" count="0"/>
|
70412 |
-
<line num="54" type="stmt" count="0"/>
|
70413 |
-
<line num="63" type="method" name="setThemeChannel" visibility="private" complexity="2" crap="6" count="0"/>
|
70414 |
-
<line num="64" type="stmt" count="0"/>
|
70415 |
-
<line num="65" type="stmt" count="0"/>
|
70416 |
-
<line num="85" type="method" name="updateChannel" visibility="public" complexity="7" crap="56" count="0"/>
|
70417 |
-
<line num="86" type="stmt" count="0"/>
|
70418 |
-
<line num="87" type="stmt" count="0"/>
|
70419 |
-
<line num="88" type="stmt" count="0"/>
|
70420 |
-
<line num="89" type="stmt" count="0"/>
|
70421 |
-
<line num="90" type="stmt" count="0"/>
|
70422 |
-
<line num="91" type="stmt" count="0"/>
|
70423 |
-
<line num="92" type="stmt" count="0"/>
|
70424 |
-
<line num="93" type="stmt" count="0"/>
|
70425 |
-
<line num="96" type="stmt" count="0"/>
|
70426 |
-
<line num="97" type="stmt" count="0"/>
|
70427 |
-
<line num="98" type="stmt" count="0"/>
|
70428 |
-
<line num="99" type="stmt" count="0"/>
|
70429 |
-
<line num="102" type="stmt" count="0"/>
|
70430 |
-
<line num="111" type="stmt" count="0"/>
|
70431 |
-
<line num="113" type="stmt" count="0"/>
|
70432 |
-
<line num="114" type="stmt" count="0"/>
|
70433 |
-
<line num="115" type="stmt" count="0"/>
|
70434 |
-
<line num="116" type="stmt" count="0"/>
|
70435 |
-
<line num="118" type="stmt" count="0"/>
|
70436 |
-
<line num="119" type="stmt" count="0"/>
|
70437 |
-
<line num="130" type="method" name="getPluginChannel" visibility="public" complexity="1" crap="2" count="0"/>
|
70438 |
-
<line num="131" type="stmt" count="0"/>
|
70439 |
-
<line num="132" type="stmt" count="0"/>
|
70440 |
-
<line num="143" type="method" name="getThemeChannel" visibility="public" complexity="1" crap="2" count="0"/>
|
70441 |
-
<line num="144" type="stmt" count="0"/>
|
70442 |
-
<line num="145" type="stmt" count="0"/>
|
70443 |
-
<metrics loc="146" ncloc="58" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="0" elements="38" coveredelements="0"/>
|
70444 |
-
</file>
|
70445 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Reseller.php">
|
70446 |
-
<class name="Reseller" namespace="Boldgrid\Library\Library">
|
70447 |
-
<metrics complexity="3" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="13" coveredelements="0"/>
|
70448 |
-
</class>
|
70449 |
-
<line num="44" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
70450 |
-
<line num="45" type="stmt" count="0"/>
|
70451 |
-
<line num="46" type="stmt" count="0"/>
|
70452 |
-
<line num="47" type="stmt" count="0"/>
|
70453 |
-
<line num="60" type="method" name="hasCoinUrl" visibility="public" complexity="1" crap="2" count="0"/>
|
70454 |
-
<line num="61" type="stmt" count="0"/>
|
70455 |
-
<line num="62" type="stmt" count="0"/>
|
70456 |
-
<line num="71" type="method" name="setData" visibility="public" complexity="1" crap="2" count="0"/>
|
70457 |
-
<line num="72" type="stmt" count="0"/>
|
70458 |
-
<line num="73" type="stmt" count="0"/>
|
70459 |
-
<line num="74" type="stmt" count="0"/>
|
70460 |
-
<line num="76" type="stmt" count="0"/>
|
70461 |
-
<line num="77" type="stmt" count="0"/>
|
70462 |
-
<metrics loc="78" ncloc="27" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="13" coveredelements="0"/>
|
70463 |
-
</file>
|
70464 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Settings.php">
|
70465 |
-
<class name="Settings" namespace="Boldgrid\Library\Library">
|
70466 |
-
<metrics complexity="6" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="3" elements="14" coveredelements="5"/>
|
70467 |
-
</class>
|
70468 |
-
<line num="35" type="method" name="get" visibility="public" complexity="1" crap="1" count="1"/>
|
70469 |
-
<line num="36" type="stmt" count="1"/>
|
70470 |
-
<line num="49" type="method" name="getKey" visibility="public" complexity="2" crap="2" count="1"/>
|
70471 |
-
<line num="50" type="stmt" count="1"/>
|
70472 |
-
<line num="52" type="stmt" count="1"/>
|
70473 |
-
<line num="63" type="method" name="hasKey" visibility="public" complexity="1" crap="2" count="0"/>
|
70474 |
-
<line num="64" type="stmt" count="0"/>
|
70475 |
-
<line num="66" type="stmt" count="0"/>
|
70476 |
-
<line num="77" type="method" name="set" visibility="public" complexity="1" crap="2" count="0"/>
|
70477 |
-
<line num="78" type="stmt" count="0"/>
|
70478 |
-
<line num="90" type="method" name="setKey" visibility="public" complexity="1" crap="2" count="0"/>
|
70479 |
-
<line num="91" type="stmt" count="0"/>
|
70480 |
-
<line num="93" type="stmt" count="0"/>
|
70481 |
-
<line num="95" type="stmt" count="0"/>
|
70482 |
-
<metrics loc="97" ncloc="35" classes="1" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="3" elements="14" coveredelements="5"/>
|
70483 |
-
</file>
|
70484 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Start.php">
|
70485 |
-
<class name="Start" namespace="Boldgrid\Library\Library">
|
70486 |
-
<metrics complexity="13" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="0" elements="59" coveredelements="0"/>
|
70487 |
-
</class>
|
70488 |
-
<line num="56" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
70489 |
-
<line num="57" type="stmt" count="0"/>
|
70490 |
-
<line num="59" type="stmt" count="0"/>
|
70491 |
-
<line num="62" type="stmt" count="0"/>
|
70492 |
-
<line num="64" type="stmt" count="0"/>
|
70493 |
-
<line num="65" type="stmt" count="0"/>
|
70494 |
-
<line num="67" type="stmt" count="0"/>
|
70495 |
-
<line num="68" type="stmt" count="0"/>
|
70496 |
-
<line num="69" type="stmt" count="0"/>
|
70497 |
-
<line num="71" type="stmt" count="0"/>
|
70498 |
-
<line num="72" type="stmt" count="0"/>
|
70499 |
-
<line num="81" type="method" name="setupKeyConnections" visibility="public" complexity="2" crap="6" count="0"/>
|
70500 |
-
<line num="82" type="stmt" count="0"/>
|
70501 |
-
<line num="83" type="stmt" count="0"/>
|
70502 |
-
<line num="92" type="method" name="getReleaseChannel" visibility="public" complexity="1" crap="2" count="0"/>
|
70503 |
-
<line num="93" type="stmt" count="0"/>
|
70504 |
-
<line num="94" type="stmt" count="0"/>
|
70505 |
-
<line num="103" type="method" name="getKey" visibility="public" complexity="1" crap="2" count="0"/>
|
70506 |
-
<line num="104" type="stmt" count="0"/>
|
70507 |
-
<line num="105" type="stmt" count="0"/>
|
70508 |
-
<line num="114" type="method" name="init" visibility="public" complexity="1" crap="2" count="0"/>
|
70509 |
-
<line num="116" type="stmt" count="0"/>
|
70510 |
-
<line num="119" type="stmt" count="0"/>
|
70511 |
-
<line num="122" type="stmt" count="0"/>
|
70512 |
-
<line num="123" type="stmt" count="0"/>
|
70513 |
-
<line num="126" type="stmt" count="0"/>
|
70514 |
-
<line num="129" type="stmt" count="0"/>
|
70515 |
-
<line num="131" type="stmt" count="0"/>
|
70516 |
-
<line num="132" type="stmt" count="0"/>
|
70517 |
-
<line num="134" type="stmt" count="0"/>
|
70518 |
-
<line num="135" type="stmt" count="0"/>
|
70519 |
-
<line num="136" type="stmt" count="0"/>
|
70520 |
-
<line num="137" type="stmt" count="0"/>
|
70521 |
-
<line num="138" type="stmt" count="0"/>
|
70522 |
-
<line num="139" type="stmt" count="0"/>
|
70523 |
-
<line num="146" type="method" name="loadPluginTextdomain" visibility="private" complexity="1" crap="2" count="0"/>
|
70524 |
-
<line num="147" type="stmt" count="0"/>
|
70525 |
-
<line num="148" type="stmt" count="0"/>
|
70526 |
-
<line num="155" type="method" name="loadPluginInstaller" visibility="public" complexity="3" crap="12" count="0"/>
|
70527 |
-
<line num="156" type="stmt" count="0"/>
|
70528 |
-
<line num="157" type="stmt" count="0"/>
|
70529 |
-
<line num="159" type="stmt" count="0"/>
|
70530 |
-
<line num="160" type="stmt" count="0"/>
|
70531 |
-
<line num="161" type="stmt" count="0"/>
|
70532 |
-
<line num="162" type="stmt" count="0"/>
|
70533 |
-
<line num="163" type="stmt" count="0"/>
|
70534 |
-
<line num="164" type="stmt" count="0"/>
|
70535 |
-
<line num="165" type="stmt" count="0"/>
|
70536 |
-
<line num="166" type="stmt" count="0"/>
|
70537 |
-
<line num="176" type="method" name="filterConfigs" visibility="public" complexity="2" crap="6" count="0"/>
|
70538 |
-
<line num="177" type="stmt" count="0"/>
|
70539 |
-
<line num="178" type="stmt" count="0"/>
|
70540 |
-
<line num="179" type="stmt" count="0"/>
|
70541 |
-
<line num="180" type="stmt" count="0"/>
|
70542 |
-
<line num="181" type="stmt" count="0"/>
|
70543 |
-
<line num="182" type="stmt" count="0"/>
|
70544 |
-
<line num="183" type="stmt" count="0"/>
|
70545 |
-
<line num="185" type="stmt" count="0"/>
|
70546 |
-
<line num="186" type="stmt" count="0"/>
|
70547 |
-
<metrics loc="187" ncloc="88" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="0" elements="59" coveredelements="0"/>
|
70548 |
-
</file>
|
70549 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui.php">
|
70550 |
-
<class name="Ui" namespace="Boldgrid\Library\Library">
|
70551 |
-
<metrics complexity="11" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="76" coveredstatements="0" elements="79" coveredelements="0"/>
|
70552 |
-
</class>
|
70553 |
-
<line num="68" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
70554 |
-
<line num="69" type="stmt" count="0"/>
|
70555 |
-
<line num="70" type="stmt" count="0"/>
|
70556 |
-
<line num="79" type="method" name="enqueue" visibility="public" complexity="1" crap="2" count="0"/>
|
70557 |
-
<line num="80" type="stmt" count="0"/>
|
70558 |
-
<line num="81" type="stmt" count="0"/>
|
70559 |
-
<line num="82" type="stmt" count="0"/>
|
70560 |
-
<line num="83" type="stmt" count="0"/>
|
70561 |
-
<line num="85" type="stmt" count="0"/>
|
70562 |
-
<line num="86" type="stmt" count="0"/>
|
70563 |
-
<line num="87" type="stmt" count="0"/>
|
70564 |
-
<line num="88" type="stmt" count="0"/>
|
70565 |
-
<line num="89" type="stmt" count="0"/>
|
70566 |
-
<line num="91" type="stmt" count="0"/>
|
70567 |
-
<line num="92" type="stmt" count="0"/>
|
70568 |
-
<line num="93" type="stmt" count="0"/>
|
70569 |
-
<line num="94" type="stmt" count="0"/>
|
70570 |
-
<line num="95" type="stmt" count="0"/>
|
70571 |
-
<line num="97" type="stmt" count="0"/>
|
70572 |
-
<line num="98" type="stmt" count="0"/>
|
70573 |
-
<line num="99" type="stmt" count="0"/>
|
70574 |
-
<line num="100" type="stmt" count="0"/>
|
70575 |
-
<line num="102" type="stmt" count="0"/>
|
70576 |
-
<line num="103" type="stmt" count="0"/>
|
70577 |
-
<line num="104" type="stmt" count="0"/>
|
70578 |
-
<line num="105" type="stmt" count="0"/>
|
70579 |
-
<line num="106" type="stmt" count="0"/>
|
70580 |
-
<line num="107" type="stmt" count="0"/>
|
70581 |
-
<line num="131" type="method" name="render_col_container" visibility="public" complexity="9" crap="90" count="0"/>
|
70582 |
-
<line num="133" type="stmt" count="0"/>
|
70583 |
-
<line num="134" type="stmt" count="0"/>
|
70584 |
-
<line num="135" type="stmt" count="0"/>
|
70585 |
-
<line num="137" type="stmt" count="0"/>
|
70586 |
-
<line num="139" type="stmt" count="0"/>
|
70587 |
-
<line num="140" type="stmt" count="0"/>
|
70588 |
-
<line num="142" type="stmt" count="0"/>
|
70589 |
-
<line num="143" type="stmt" count="0"/>
|
70590 |
-
<line num="144" type="stmt" count="0"/>
|
70591 |
-
<line num="145" type="stmt" count="0"/>
|
70592 |
-
<line num="153" type="stmt" count="0"/>
|
70593 |
-
<line num="154" type="stmt" count="0"/>
|
70594 |
-
<line num="155" type="stmt" count="0"/>
|
70595 |
-
<line num="156" type="stmt" count="0"/>
|
70596 |
-
<line num="157" type="stmt" count="0"/>
|
70597 |
-
<line num="158" type="stmt" count="0"/>
|
70598 |
-
<line num="159" type="stmt" count="0"/>
|
70599 |
-
<line num="160" type="stmt" count="0"/>
|
70600 |
-
<line num="162" type="stmt" count="0"/>
|
70601 |
-
<line num="163" type="stmt" count="0"/>
|
70602 |
-
<line num="164" type="stmt" count="0"/>
|
70603 |
-
<line num="165" type="stmt" count="0"/>
|
70604 |
-
<line num="166" type="stmt" count="0"/>
|
70605 |
-
<line num="167" type="stmt" count="0"/>
|
70606 |
-
<line num="169" type="stmt" count="0"/>
|
70607 |
-
<line num="170" type="stmt" count="0"/>
|
70608 |
-
<line num="171" type="stmt" count="0"/>
|
70609 |
-
<line num="172" type="stmt" count="0"/>
|
70610 |
-
<line num="173" type="stmt" count="0"/>
|
70611 |
-
<line num="174" type="stmt" count="0"/>
|
70612 |
-
<line num="175" type="stmt" count="0"/>
|
70613 |
-
<line num="176" type="stmt" count="0"/>
|
70614 |
-
<line num="177" type="stmt" count="0"/>
|
70615 |
-
<line num="178" type="stmt" count="0"/>
|
70616 |
-
<line num="180" type="stmt" count="0"/>
|
70617 |
-
<line num="181" type="stmt" count="0"/>
|
70618 |
-
<line num="182" type="stmt" count="0"/>
|
70619 |
-
<line num="183" type="stmt" count="0"/>
|
70620 |
-
<line num="184" type="stmt" count="0"/>
|
70621 |
-
<line num="185" type="stmt" count="0"/>
|
70622 |
-
<line num="186" type="stmt" count="0"/>
|
70623 |
-
<line num="187" type="stmt" count="0"/>
|
70624 |
-
<line num="188" type="stmt" count="0"/>
|
70625 |
-
<line num="189" type="stmt" count="0"/>
|
70626 |
-
<line num="190" type="stmt" count="0"/>
|
70627 |
-
<line num="191" type="stmt" count="0"/>
|
70628 |
-
<line num="192" type="stmt" count="0"/>
|
70629 |
-
<line num="193" type="stmt" count="0"/>
|
70630 |
-
<line num="195" type="stmt" count="0"/>
|
70631 |
-
<line num="196" type="stmt" count="0"/>
|
70632 |
-
<metrics loc="197" ncloc="103" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="76" coveredstatements="0" elements="79" coveredelements="0"/>
|
70633 |
-
</file>
|
70634 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Usage.php">
|
70635 |
-
<class name="Usage" namespace="Boldgrid\Library\Library">
|
70636 |
-
<metrics complexity="14" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="48" coveredstatements="0" elements="54" coveredelements="0"/>
|
70637 |
-
</class>
|
70638 |
-
<line num="57" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
70639 |
-
<line num="59" type="stmt" count="0"/>
|
70640 |
-
<line num="60" type="stmt" count="0"/>
|
70641 |
-
<line num="61" type="stmt" count="0"/>
|
70642 |
-
<line num="62" type="stmt" count="0"/>
|
70643 |
-
<line num="64" type="stmt" count="0"/>
|
70644 |
-
<line num="65" type="stmt" count="0"/>
|
70645 |
-
<line num="72" type="method" name="addTag" visibility="public" complexity="1" crap="2" count="0"/>
|
70646 |
-
<line num="75" type="stmt" count="0"/>
|
70647 |
-
<line num="76" type="stmt" count="0"/>
|
70648 |
-
<line num="77" type="stmt" count="0"/>
|
70649 |
-
<line num="78" type="stmt" count="0"/>
|
70650 |
-
<line num="80" type="stmt" count="0"/>
|
70651 |
-
<line num="82" type="stmt" count="0"/>
|
70652 |
-
<line num="89" type="method" name="admin_enqueue_scripts" visibility="public" complexity="4" crap="20" count="0"/>
|
70653 |
-
<line num="90" type="stmt" count="0"/>
|
70654 |
-
<line num="92" type="stmt" count="0"/>
|
70655 |
-
<line num="93" type="stmt" count="0"/>
|
70656 |
-
<line num="94" type="stmt" count="0"/>
|
70657 |
-
<line num="95" type="stmt" count="0"/>
|
70658 |
-
<line num="96" type="stmt" count="0"/>
|
70659 |
-
<line num="98" type="stmt" count="0"/>
|
70660 |
-
<line num="100" type="stmt" count="0"/>
|
70661 |
-
<line num="101" type="stmt" count="0"/>
|
70662 |
-
<line num="102" type="stmt" count="0"/>
|
70663 |
-
<line num="103" type="stmt" count="0"/>
|
70664 |
-
<line num="104" type="stmt" count="0"/>
|
70665 |
-
<line num="105" type="stmt" count="0"/>
|
70666 |
-
<line num="107" type="stmt" count="0"/>
|
70667 |
-
<line num="108" type="stmt" count="0"/>
|
70668 |
-
<line num="109" type="stmt" count="0"/>
|
70669 |
-
<line num="110" type="stmt" count="0"/>
|
70670 |
-
<line num="111" type="stmt" count="0"/>
|
70671 |
-
<line num="113" type="stmt" count="0"/>
|
70672 |
-
<line num="115" type="stmt" count="0"/>
|
70673 |
-
<line num="116" type="stmt" count="0"/>
|
70674 |
-
<line num="117" type="stmt" count="0"/>
|
70675 |
-
<line num="124" type="method" name="admin_head" visibility="public" complexity="2" crap="6" count="0"/>
|
70676 |
-
<line num="125" type="stmt" count="0"/>
|
70677 |
-
<line num="126" type="stmt" count="0"/>
|
70678 |
-
<line num="127" type="stmt" count="0"/>
|
70679 |
-
<line num="128" type="stmt" count="0"/>
|
70680 |
-
<line num="137" type="method" name="getLicenseData" visibility="private" complexity="2" crap="6" count="0"/>
|
70681 |
-
<line num="138" type="stmt" count="0"/>
|
70682 |
-
<line num="139" type="stmt" count="0"/>
|
70683 |
-
<line num="142" type="stmt" count="0"/>
|
70684 |
-
<line num="143" type="stmt" count="0"/>
|
70685 |
-
<line num="145" type="stmt" count="0"/>
|
70686 |
-
<line num="146" type="stmt" count="0"/>
|
70687 |
-
<line num="155" type="method" name="maybeLoad" visibility="private" complexity="3" crap="12" count="0"/>
|
70688 |
-
<line num="156" type="stmt" count="0"/>
|
70689 |
-
<line num="157" type="stmt" count="0"/>
|
70690 |
-
<line num="164" type="stmt" count="0"/>
|
70691 |
-
<line num="165" type="stmt" count="0"/>
|
70692 |
-
<metrics loc="166" ncloc="83" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="48" coveredstatements="0" elements="54" coveredelements="0"/>
|
70693 |
-
</file>
|
70694 |
-
</package>
|
70695 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/remote/test-class-boldgrid-backup-admin-remote-settings.php">
|
70696 |
<class name="Test_Boldgrid_Backup_Admin_Remote_Settings" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Remote">
|
70697 |
<metrics complexity="9" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="43" coveredstatements="43" elements="52" coveredelements="52"/>
|
@@ -70800,220 +68655,25 @@
|
|
70800 |
<line num="27" type="stmt" count="1"/>
|
70801 |
<line num="41" type="stmt" count="1"/>
|
70802 |
<line num="42" type="stmt" count="1"/>
|
70803 |
-
<line num="43" type="stmt" count="1"/>
|
70804 |
-
<metrics loc="44" ncloc="9" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="4" elements="5" coveredelements="5"/>
|
70805 |
-
</file>
|
70806 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-auto-rollback.php">
|
70807 |
-
<class name="Test_Boldgrid_Backup_Auto_Rollback" namespace="global" fullPackage="Test.Boldgrid.Backup.Auto">
|
70808 |
-
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="11" coveredelements="11"/>
|
70809 |
-
</class>
|
70810 |
-
<line num="26" type="method" name="test_get_time_data" visibility="public" complexity="1" crap="1" count="1"/>
|
70811 |
-
<line num="27" type="stmt" count="1"/>
|
70812 |
-
<line num="29" type="stmt" count="1"/>
|
70813 |
-
<line num="31" type="stmt" count="1"/>
|
70814 |
-
<line num="32" type="stmt" count="1"/>
|
70815 |
-
<line num="33" type="stmt" count="1"/>
|
70816 |
-
<line num="34" type="stmt" count="1"/>
|
70817 |
-
<line num="37" type="stmt" count="1"/>
|
70818 |
-
<line num="38" type="stmt" count="1"/>
|
70819 |
-
<line num="39" type="stmt" count="1"/>
|
70820 |
-
<line num="40" type="stmt" count="1"/>
|
70821 |
-
<metrics loc="41" ncloc="17" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="11" coveredelements="11"/>
|
70822 |
-
</file>
|
70823 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-auto-updates.php">
|
70824 |
-
<class name="Test_Boldgrid_Backup_Admin_Auto_Updates" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Auto">
|
70825 |
-
<metrics complexity="19" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="179" coveredstatements="179" elements="189" coveredelements="189"/>
|
70826 |
-
</class>
|
70827 |
-
<line num="50" type="method" name="install_plugin" visibility="public" complexity="5" crap="5" count="2"/>
|
70828 |
-
<line num="51" type="stmt" count="2"/>
|
70829 |
-
<line num="52" type="stmt" count="2"/>
|
70830 |
-
<line num="53" type="stmt" count="2"/>
|
70831 |
-
<line num="54" type="stmt" count="2"/>
|
70832 |
-
<line num="56" type="stmt" count="2"/>
|
70833 |
-
<line num="57" type="stmt" count="2"/>
|
70834 |
-
<line num="59" type="stmt" count="2"/>
|
70835 |
-
<line num="61" type="stmt" count="2"/>
|
70836 |
-
<line num="62" type="stmt" count="2"/>
|
70837 |
-
<line num="63" type="stmt" count="2"/>
|
70838 |
-
<line num="65" type="stmt" count="2"/>
|
70839 |
-
<line num="66" type="stmt" count="2"/>
|
70840 |
-
<line num="68" type="stmt" count="2"/>
|
70841 |
-
<line num="69" type="stmt" count="2"/>
|
70842 |
-
<line num="70" type="stmt" count="2"/>
|
70843 |
-
<line num="71" type="stmt" count="2"/>
|
70844 |
-
<line num="72" type="stmt" count="2"/>
|
70845 |
-
<line num="73" type="stmt" count="2"/>
|
70846 |
-
<line num="74" type="stmt" count="2"/>
|
70847 |
-
<line num="82" type="method" name="setUp" visibility="public" complexity="1" crap="1" count="7"/>
|
70848 |
-
<line num="83" type="stmt" count="7"/>
|
70849 |
-
<line num="85" type="stmt" count="7"/>
|
70850 |
-
<line num="86" type="stmt" count="7"/>
|
70851 |
-
<line num="88" type="stmt" count="7"/>
|
70852 |
-
<line num="89" type="stmt" count="7"/>
|
70853 |
-
<line num="90" type="stmt" count="7"/>
|
70854 |
-
<line num="91" type="stmt" count="7"/>
|
70855 |
-
<line num="92" type="stmt" count="7"/>
|
70856 |
-
<line num="93" type="stmt" count="7"/>
|
70857 |
-
<line num="95" type="stmt" count="7"/>
|
70858 |
-
<line num="96" type="stmt" count="7"/>
|
70859 |
-
<line num="98" type="stmt" count="7"/>
|
70860 |
-
<line num="99" type="stmt" count="7"/>
|
70861 |
-
<line num="100" type="stmt" count="7"/>
|
70862 |
-
<line num="102" type="stmt" count="7"/>
|
70863 |
-
<line num="109" type="method" name="test_constructor" visibility="public" complexity="1" crap="1" count="1"/>
|
70864 |
-
<line num="111" type="stmt" count="1"/>
|
70865 |
-
<line num="112" type="stmt" count="1"/>
|
70866 |
-
<line num="113" type="stmt" count="1"/>
|
70867 |
-
<line num="119" type="method" name="test_set_settings" visibility="public" complexity="1" crap="1" count="1"/>
|
70868 |
-
<line num="120" type="stmt" count="1"/>
|
70869 |
-
<line num="123" type="stmt" count="1"/>
|
70870 |
-
<line num="124" type="stmt" count="1"/>
|
70871 |
-
<line num="125" type="stmt" count="1"/>
|
70872 |
-
<line num="126" type="stmt" count="1"/>
|
70873 |
-
<line num="133" type="method" name="test_maybe_update_plugin" visibility="public" complexity="1" crap="1" count="1"/>
|
70874 |
-
<line num="134" type="stmt" count="1"/>
|
70875 |
-
<line num="135" type="stmt" count="1"/>
|
70876 |
-
<line num="138" type="stmt" count="1"/>
|
70877 |
-
<line num="139" type="stmt" count="1"/>
|
70878 |
-
<line num="140" type="stmt" count="1"/>
|
70879 |
-
<line num="141" type="stmt" count="1"/>
|
70880 |
-
<line num="144" type="stmt" count="1"/>
|
70881 |
-
<line num="145" type="stmt" count="1"/>
|
70882 |
-
<line num="146" type="stmt" count="1"/>
|
70883 |
-
<line num="147" type="stmt" count="1"/>
|
70884 |
-
<line num="150" type="stmt" count="1"/>
|
70885 |
-
<line num="151" type="stmt" count="1"/>
|
70886 |
-
<line num="152" type="stmt" count="1"/>
|
70887 |
-
<line num="154" type="stmt" count="1"/>
|
70888 |
-
<line num="155" type="stmt" count="1"/>
|
70889 |
-
<line num="156" type="stmt" count="1"/>
|
70890 |
-
<line num="157" type="stmt" count="1"/>
|
70891 |
-
<line num="160" type="stmt" count="1"/>
|
70892 |
-
<line num="161" type="stmt" count="1"/>
|
70893 |
-
<line num="162" type="stmt" count="1"/>
|
70894 |
-
<line num="163" type="stmt" count="1"/>
|
70895 |
-
<line num="164" type="stmt" count="1"/>
|
70896 |
-
<line num="165" type="stmt" count="1"/>
|
70897 |
-
<line num="169" type="stmt" count="1"/>
|
70898 |
-
<line num="170" type="stmt" count="1"/>
|
70899 |
-
<line num="171" type="stmt" count="1"/>
|
70900 |
-
<line num="172" type="stmt" count="1"/>
|
70901 |
-
<line num="173" type="stmt" count="1"/>
|
70902 |
-
<line num="174" type="stmt" count="1"/>
|
70903 |
-
<line num="177" type="stmt" count="1"/>
|
70904 |
-
<line num="178" type="stmt" count="1"/>
|
70905 |
-
<line num="179" type="stmt" count="1"/>
|
70906 |
-
<line num="180" type="stmt" count="1"/>
|
70907 |
-
<line num="181" type="stmt" count="1"/>
|
70908 |
-
<line num="188" type="method" name="test_maybe_update_theme" visibility="public" complexity="1" crap="1" count="1"/>
|
70909 |
-
<line num="190" type="stmt" count="1"/>
|
70910 |
-
<line num="191" type="stmt" count="1"/>
|
70911 |
-
<line num="192" type="stmt" count="1"/>
|
70912 |
-
<line num="193" type="stmt" count="1"/>
|
70913 |
-
<line num="196" type="stmt" count="1"/>
|
70914 |
-
<line num="197" type="stmt" count="1"/>
|
70915 |
-
<line num="198" type="stmt" count="1"/>
|
70916 |
-
<line num="199" type="stmt" count="1"/>
|
70917 |
-
<line num="202" type="stmt" count="1"/>
|
70918 |
-
<line num="203" type="stmt" count="1"/>
|
70919 |
-
<line num="204" type="stmt" count="1"/>
|
70920 |
-
<line num="205" type="stmt" count="1"/>
|
70921 |
-
<line num="207" type="stmt" count="1"/>
|
70922 |
-
<line num="208" type="stmt" count="1"/>
|
70923 |
-
<line num="209" type="stmt" count="1"/>
|
70924 |
-
<line num="212" type="stmt" count="1"/>
|
70925 |
-
<line num="213" type="stmt" count="1"/>
|
70926 |
-
<line num="214" type="stmt" count="1"/>
|
70927 |
-
<line num="215" type="stmt" count="1"/>
|
70928 |
-
<line num="216" type="stmt" count="1"/>
|
70929 |
-
<line num="217" type="stmt" count="1"/>
|
70930 |
-
<line num="220" type="stmt" count="1"/>
|
70931 |
-
<line num="221" type="stmt" count="1"/>
|
70932 |
-
<line num="222" type="stmt" count="1"/>
|
70933 |
-
<line num="223" type="stmt" count="1"/>
|
70934 |
-
<line num="224" type="stmt" count="1"/>
|
70935 |
-
<line num="225" type="stmt" count="1"/>
|
70936 |
-
<line num="228" type="stmt" count="1"/>
|
70937 |
-
<line num="229" type="stmt" count="1"/>
|
70938 |
-
<line num="230" type="stmt" count="1"/>
|
70939 |
-
<line num="231" type="stmt" count="1"/>
|
70940 |
-
<line num="232" type="stmt" count="1"/>
|
70941 |
-
<line num="239" type="method" name="test_auto_update_plugins" visibility="public" complexity="1" crap="1" count="1"/>
|
70942 |
-
<line num="240" type="stmt" count="1"/>
|
70943 |
-
<line num="241" type="stmt" count="1"/>
|
70944 |
-
<line num="243" type="stmt" count="1"/>
|
70945 |
-
<line num="244" type="stmt" count="1"/>
|
70946 |
-
<line num="245" type="stmt" count="1"/>
|
70947 |
-
<line num="246" type="stmt" count="1"/>
|
70948 |
-
<line num="247" type="stmt" count="1"/>
|
70949 |
-
<line num="248" type="stmt" count="1"/>
|
70950 |
-
<line num="249" type="stmt" count="1"/>
|
70951 |
-
<line num="250" type="stmt" count="1"/>
|
70952 |
-
<line num="257" type="method" name="test_auto_update_themes" visibility="public" complexity="5" crap="5" count="1"/>
|
70953 |
-
<line num="258" type="stmt" count="1"/>
|
70954 |
-
<line num="259" type="stmt" count="1"/>
|
70955 |
-
<line num="260" type="stmt" count="1"/>
|
70956 |
-
<line num="261" type="stmt" count="1"/>
|
70957 |
-
<line num="262" type="stmt" count="1"/>
|
70958 |
-
<line num="263" type="stmt" count="1"/>
|
70959 |
-
<line num="264" type="stmt" count="1"/>
|
70960 |
-
<line num="265" type="stmt" count="1"/>
|
70961 |
-
<line num="266" type="stmt" count="1"/>
|
70962 |
-
<line num="267" type="stmt" count="1"/>
|
70963 |
-
<line num="268" type="stmt" count="1"/>
|
70964 |
-
<line num="270" type="stmt" count="1"/>
|
70965 |
-
<line num="271" type="stmt" count="1"/>
|
70966 |
-
<line num="272" type="stmt" count="1"/>
|
70967 |
-
<line num="273" type="stmt" count="1"/>
|
70968 |
-
<line num="274" type="stmt" count="1"/>
|
70969 |
-
<line num="275" type="stmt" count="1"/>
|
70970 |
-
<line num="276" type="stmt" count="1"/>
|
70971 |
-
<line num="277" type="stmt" count="1"/>
|
70972 |
-
<line num="278" type="stmt" count="1"/>
|
70973 |
-
<line num="279" type="stmt" count="1"/>
|
70974 |
-
<line num="280" type="stmt" count="1"/>
|
70975 |
-
<line num="281" type="stmt" count="1"/>
|
70976 |
-
<line num="288" type="method" name="test_auto_update_core" visibility="public" complexity="1" crap="1" count="1"/>
|
70977 |
-
<line num="289" type="stmt" count="1"/>
|
70978 |
-
<line num="290" type="stmt" count="1"/>
|
70979 |
-
<line num="291" type="stmt" count="1"/>
|
70980 |
-
<line num="293" type="stmt" count="1"/>
|
70981 |
-
<line num="296" type="stmt" count="1"/>
|
70982 |
-
<line num="299" type="stmt" count="1"/>
|
70983 |
-
<line num="302" type="stmt" count="1"/>
|
70984 |
-
<line num="303" type="stmt" count="1"/>
|
70985 |
-
<line num="313" type="method" name="apply_wpcore_filters" visibility="public" complexity="2" crap="2" count="1"/>
|
70986 |
-
<line num="314" type="stmt" count="1"/>
|
70987 |
-
<line num="315" type="stmt" count="1"/>
|
70988 |
-
<line num="318" type="stmt" count="1"/>
|
70989 |
-
<line num="319" type="stmt" count="1"/>
|
70990 |
-
<line num="320" type="stmt" count="1"/>
|
70991 |
-
<line num="321" type="stmt" count="1"/>
|
70992 |
-
<line num="323" type="stmt" count="1"/>
|
70993 |
-
<line num="324" type="stmt" count="1"/>
|
70994 |
-
<line num="325" type="stmt" count="1"/>
|
70995 |
-
<line num="326" type="stmt" count="1"/>
|
70996 |
-
<line num="327" type="stmt" count="1"/>
|
70997 |
-
<line num="328" type="stmt" count="1"/>
|
70998 |
-
<line num="329" type="stmt" count="1"/>
|
70999 |
-
<line num="331" type="stmt" count="1"/>
|
71000 |
-
<line num="332" type="stmt" count="1"/>
|
71001 |
-
<line num="333" type="stmt" count="1"/>
|
71002 |
-
<line num="334" type="stmt" count="1"/>
|
71003 |
-
<line num="335" type="stmt" count="1"/>
|
71004 |
-
<line num="336" type="stmt" count="1"/>
|
71005 |
-
<line num="339" type="stmt" count="1"/>
|
71006 |
-
<line num="340" type="stmt" count="1"/>
|
71007 |
-
<line num="342" type="stmt" count="1"/>
|
71008 |
-
<line num="343" type="stmt" count="1"/>
|
71009 |
-
<line num="345" type="stmt" count="1"/>
|
71010 |
-
<line num="346" type="stmt" count="1"/>
|
71011 |
-
<line num="347" type="stmt" count="1"/>
|
71012 |
-
<line num="348" type="stmt" count="1"/>
|
71013 |
-
<line num="349" type="stmt" count="1"/>
|
71014 |
-
<line num="350" type="stmt" count="1"/>
|
71015 |
-
<line num="351" type="stmt" count="1"/>
|
71016 |
-
<metrics loc="352" ncloc="228" classes="1" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="179" coveredstatements="179" elements="189" coveredelements="189"/>
|
71017 |
</file>
|
71018 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-compressor.php">
|
71019 |
<class name="Test_Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
|
@@ -71478,240 +69138,113 @@
|
|
71478 |
<line num="121" type="stmt" count="1"/>
|
71479 |
<metrics loc="122" ncloc="44" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="35" elements="37" coveredelements="37"/>
|
71480 |
</file>
|
71481 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-db-import.php">
|
71482 |
-
<class name="Test_Boldgrid_Backup_Admin_Db_Import" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Db">
|
71483 |
-
<metrics complexity="11" methods="11" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="126" coveredstatements="126" elements="137" coveredelements="137"/>
|
71484 |
-
</class>
|
71485 |
-
<line num="27" type="method" name="setUp" visibility="public" complexity="1" crap="1" count="10"/>
|
71486 |
-
<line num="28" type="stmt" count="10"/>
|
71487 |
-
<line num="30" type="stmt" count="10"/>
|
71488 |
-
<line num="32" type="stmt" count="10"/>
|
71489 |
-
<line num="33" type="stmt" count="10"/>
|
71490 |
-
<line num="34" type="stmt" count="10"/>
|
71491 |
-
<line num="35" type="stmt" count="10"/>
|
71492 |
-
<line num="36" type="stmt" count="10"/>
|
71493 |
-
<line num="39" type="stmt" count="10"/>
|
71494 |
-
<line num="40" type="stmt" count="10"/>
|
71495 |
-
<line num="41" type="stmt" count="10"/>
|
71496 |
-
<line num="42" type="stmt" count="10"/>
|
71497 |
-
<line num="43" type="stmt" count="10"/>
|
71498 |
-
<line num="44" type="stmt" count="10"/>
|
71499 |
-
<line num="47" type="stmt" count="10"/>
|
71500 |
-
<line num="48" type="stmt" count="10"/>
|
71501 |
-
<line num="49" type="stmt" count="10"/>
|
71502 |
-
<line num="50" type="stmt" count="10"/>
|
71503 |
-
<line num="51" type="stmt" count="10"/>
|
71504 |
-
<line num="53" type="stmt" count="10"/>
|
71505 |
-
<line num="60" type="method" name="test_import_from_archive" visibility="public" complexity="1" crap="1" count="1"/>
|
71506 |
-
<line num="61" type="stmt" count="1"/>
|
71507 |
-
<line num="62" type="stmt" count="1"/>
|
71508 |
-
<line num="63" type="stmt" count="1"/>
|
71509 |
-
<line num="64" type="stmt" count="1"/>
|
71510 |
-
<line num="71" type="method" name="test_get_lines" visibility="public" complexity="1" crap="1" count="1"/>
|
71511 |
-
<line num="72" type="stmt" count="1"/>
|
71512 |
-
<line num="73" type="stmt" count="1"/>
|
71513 |
-
<line num="74" type="stmt" count="1"/>
|
71514 |
-
<line num="75" type="stmt" count="1"/>
|
71515 |
-
<line num="76" type="stmt" count="1"/>
|
71516 |
-
<line num="83" type="method" name="test_import" visibility="public" complexity="1" crap="1" count="1"/>
|
71517 |
-
<line num="84" type="stmt" count="1"/>
|
71518 |
-
<line num="85" type="stmt" count="1"/>
|
71519 |
-
<line num="86" type="stmt" count="1"/>
|
71520 |
-
<line num="87" type="stmt" count="1"/>
|
71521 |
-
<line num="88" type="stmt" count="1"/>
|
71522 |
-
<line num="89" type="stmt" count="1"/>
|
71523 |
-
<line num="90" type="stmt" count="1"/>
|
71524 |
-
<line num="91" type="stmt" count="1"/>
|
71525 |
-
<line num="92" type="stmt" count="1"/>
|
71526 |
-
<line num="93" type="stmt" count="1"/>
|
71527 |
-
<line num="95" type="stmt" count="1"/>
|
71528 |
-
<line num="96" type="stmt" count="1"/>
|
71529 |
-
<line num="97" type="stmt" count="1"/>
|
71530 |
-
<line num="103" type="method" name="test_import_lines" visibility="public" complexity="1" crap="1" count="1"/>
|
71531 |
-
<line num="104" type="stmt" count="1"/>
|
71532 |
-
<line num="106" type="stmt" count="1"/>
|
71533 |
-
<line num="108" type="stmt" count="1"/>
|
71534 |
-
<line num="109" type="stmt" count="1"/>
|
71535 |
-
<line num="110" type="stmt" count="1"/>
|
71536 |
-
<line num="111" type="stmt" count="1"/>
|
71537 |
-
<line num="112" type="stmt" count="1"/>
|
71538 |
-
<line num="113" type="stmt" count="1"/>
|
71539 |
-
<line num="114" type="stmt" count="1"/>
|
71540 |
-
<line num="120" type="method" name="test_import_string" visibility="public" complexity="1" crap="1" count="1"/>
|
71541 |
-
<line num="121" type="stmt" count="1"/>
|
71542 |
-
<line num="122" type="stmt" count="1"/>
|
71543 |
-
<line num="123" type="stmt" count="1"/>
|
71544 |
-
<line num="124" type="stmt" count="1"/>
|
71545 |
-
<line num="125" type="stmt" count="1"/>
|
71546 |
-
<line num="127" type="stmt" count="1"/>
|
71547 |
-
<line num="128" type="stmt" count="1"/>
|
71548 |
-
<line num="135" type="method" name="test_fix_view_statements" visibility="public" complexity="1" crap="1" count="1"/>
|
71549 |
-
<line num="136" type="stmt" count="1"/>
|
71550 |
-
<line num="138" type="stmt" count="1"/>
|
71551 |
-
<line num="139" type="stmt" count="1"/>
|
71552 |
-
<line num="141" type="stmt" count="1"/>
|
71553 |
-
<line num="142" type="stmt" count="1"/>
|
71554 |
-
<line num="144" type="stmt" count="1"/>
|
71555 |
-
<line num="145" type="stmt" count="1"/>
|
71556 |
-
<line num="146" type="stmt" count="1"/>
|
71557 |
-
<line num="147" type="stmt" count="1"/>
|
71558 |
-
<line num="149" type="stmt" count="1"/>
|
71559 |
-
<line num="150" type="stmt" count="1"/>
|
71560 |
-
<line num="151" type="stmt" count="1"/>
|
71561 |
-
<line num="158" type="method" name="test_fix_definer" visibility="public" complexity="1" crap="1" count="1"/>
|
71562 |
-
<line num="159" type="stmt" count="1"/>
|
71563 |
-
<line num="161" type="stmt" count="1"/>
|
71564 |
-
<line num="162" type="stmt" count="1"/>
|
71565 |
-
<line num="163" type="stmt" count="1"/>
|
71566 |
-
<line num="165" type="stmt" count="1"/>
|
71567 |
-
<line num="166" type="stmt" count="1"/>
|
71568 |
-
<line num="167" type="stmt" count="1"/>
|
71569 |
-
<line num="169" type="stmt" count="1"/>
|
71570 |
-
<line num="170" type="stmt" count="1"/>
|
71571 |
-
<line num="171" type="stmt" count="1"/>
|
71572 |
-
<line num="172" type="stmt" count="1"/>
|
71573 |
-
<line num="179" type="method" name="test_has_db_privileges" visibility="public" complexity="1" crap="1" count="1"/>
|
71574 |
-
<line num="180" type="stmt" count="1"/>
|
71575 |
-
<line num="182" type="stmt" count="1"/>
|
71576 |
-
<line num="183" type="stmt" count="1"/>
|
71577 |
-
<line num="184" type="stmt" count="1"/>
|
71578 |
-
<line num="185" type="stmt" count="1"/>
|
71579 |
-
<line num="186" type="stmt" count="1"/>
|
71580 |
-
<line num="187" type="stmt" count="1"/>
|
71581 |
-
<line num="188" type="stmt" count="1"/>
|
71582 |
-
<line num="189" type="stmt" count="1"/>
|
71583 |
-
<line num="191" type="stmt" count="1"/>
|
71584 |
-
<line num="192" type="stmt" count="1"/>
|
71585 |
-
<line num="193" type="stmt" count="1"/>
|
71586 |
-
<line num="194" type="stmt" count="1"/>
|
71587 |
-
<line num="195" type="stmt" count="1"/>
|
71588 |
-
<line num="196" type="stmt" count="1"/>
|
71589 |
-
<line num="197" type="stmt" count="1"/>
|
71590 |
-
<line num="199" type="stmt" count="1"/>
|
71591 |
-
<line num="200" type="stmt" count="1"/>
|
71592 |
-
<line num="202" type="stmt" count="1"/>
|
71593 |
-
<line num="203" type="stmt" count="1"/>
|
71594 |
-
<line num="204" type="stmt" count="1"/>
|
71595 |
-
<line num="205" type="stmt" count="1"/>
|
71596 |
-
<line num="206" type="stmt" count="1"/>
|
71597 |
-
<line num="207" type="stmt" count="1"/>
|
71598 |
-
<line num="214" type="method" name="test_get_grants_array" visibility="public" complexity="1" crap="1" count="1"/>
|
71599 |
-
<line num="215" type="stmt" count="1"/>
|
71600 |
-
<line num="216" type="stmt" count="1"/>
|
71601 |
-
<line num="217" type="stmt" count="1"/>
|
71602 |
-
<line num="218" type="stmt" count="1"/>
|
71603 |
-
<line num="219" type="stmt" count="1"/>
|
71604 |
-
<line num="226" type="method" name="test_get_db_privileges" visibility="public" complexity="1" crap="1" count="1"/>
|
71605 |
-
<line num="227" type="stmt" count="1"/>
|
71606 |
-
<line num="228" type="stmt" count="1"/>
|
71607 |
-
<line num="229" type="stmt" count="1"/>
|
71608 |
-
<line num="232" type="stmt" count="1"/>
|
71609 |
-
<line num="233" type="stmt" count="1"/>
|
71610 |
-
<line num="234" type="stmt" count="1"/>
|
71611 |
-
<line num="236" type="stmt" count="1"/>
|
71612 |
-
<line num="237" type="stmt" count="1"/>
|
71613 |
-
<line num="239" type="stmt" count="1"/>
|
71614 |
-
<line num="240" type="stmt" count="1"/>
|
71615 |
-
<line num="241" type="stmt" count="1"/>
|
71616 |
-
<line num="242" type="stmt" count="1"/>
|
71617 |
-
<line num="244" type="stmt" count="1"/>
|
71618 |
-
<line num="245" type="stmt" count="1"/>
|
71619 |
-
<line num="247" type="stmt" count="1"/>
|
71620 |
-
<line num="248" type="stmt" count="1"/>
|
71621 |
-
<line num="250" type="stmt" count="1"/>
|
71622 |
-
<metrics loc="251" ncloc="173" classes="1" methods="11" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="126" coveredstatements="126" elements="137" coveredelements="137"/>
|
71623 |
-
</file>
|
71624 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-notices.php">
|
71625 |
<class name="Test_Boldgrid_Backup_Admin_Notice_Counts" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Notice">
|
71626 |
-
<metrics complexity="
|
71627 |
</class>
|
71628 |
-
<line num="24" type="method" name="setUp" visibility="public" complexity="1" crap="1" count="
|
71629 |
-
<line num="25" type="stmt" count="
|
71630 |
-
<line num="26" type="stmt" count="
|
71631 |
<line num="27" type="method" name="test_notice_not_displayed_first_install" visibility="public" complexity="1" crap="1" count="1"/>
|
71632 |
<line num="28" type="stmt" count="1"/>
|
71633 |
<line num="29" type="stmt" count="1"/>
|
71634 |
-
<line num="31" type="method" name="
|
71635 |
<line num="32" type="stmt" count="1"/>
|
71636 |
<line num="33" type="stmt" count="1"/>
|
71637 |
-
<line num="
|
71638 |
-
<line num="
|
71639 |
-
<line num="
|
71640 |
-
<line num="37" type="stmt" count="0"/>
|
71641 |
-
<line num="38" type="stmt" count="0"/>
|
71642 |
<line num="39" type="stmt" count="1"/>
|
|
|
71643 |
<line num="41" type="stmt" count="1"/>
|
|
|
71644 |
<line num="43" type="stmt" count="1"/>
|
71645 |
-
<line num="45" type="
|
71646 |
<line num="46" type="stmt" count="1"/>
|
71647 |
<line num="47" type="stmt" count="1"/>
|
71648 |
<line num="48" type="stmt" count="1"/>
|
71649 |
<line num="49" type="stmt" count="1"/>
|
71650 |
-
<line num="
|
71651 |
-
<line num="
|
71652 |
-
<line num="
|
|
|
|
|
|
|
71653 |
<line num="57" type="stmt" count="1"/>
|
71654 |
<line num="58" type="stmt" count="1"/>
|
71655 |
-
<line num="59" type="stmt" count="
|
71656 |
-
<line num="
|
71657 |
-
<line num="
|
71658 |
-
<line num="
|
71659 |
-
<line num="
|
71660 |
-
<line num="
|
71661 |
-
<line num="
|
71662 |
-
<line num="
|
71663 |
-
<line num="
|
71664 |
-
<line num="
|
71665 |
-
<line num="
|
71666 |
-
<line num="
|
71667 |
-
<line num="
|
71668 |
-
<line num="
|
71669 |
-
<line num="
|
71670 |
-
<line num="
|
71671 |
-
<line num="
|
71672 |
-
<line num="
|
71673 |
-
<line num="
|
71674 |
-
<line num="
|
71675 |
-
<line num="
|
71676 |
-
<line num="91" type="stmt" count="
|
71677 |
-
<line num="92" type="stmt" count="
|
71678 |
-
<line num="
|
71679 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71680 |
</file>
|
71681 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-premium-features-page.php">
|
71682 |
<class name="Test_Boldgrid_Backup_Admin_Premium_Features_Page" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Premium.Features">
|
71683 |
-
<metrics complexity="
|
71684 |
</class>
|
71685 |
-
<line num="28" type="method" name="setUp" visibility="public" complexity="3" crap="3" count="
|
71686 |
-
<line num="31" type="stmt" count="
|
71687 |
-
<line num="32" type="stmt" count="
|
71688 |
-
<line num="33" type="stmt" count="
|
71689 |
-
<line num="35" type="stmt" count="
|
71690 |
-
<line num="36" type="stmt" count="
|
71691 |
-
<line num="37" type="stmt" count="
|
71692 |
-
<line num="38" type="stmt" count="
|
71693 |
-
<line num="39" type="stmt" count="
|
71694 |
-
<line num="40" type="stmt" count="
|
71695 |
-
<line num="41" type="stmt" count="
|
71696 |
-
<line num="42" type="stmt" count="
|
71697 |
-
<line num="43" type="stmt" count="
|
71698 |
-
<line num="44" type="stmt" count="
|
71699 |
-
<line num="
|
71700 |
-
<line num="48" type="stmt" count="
|
71701 |
-
<line num="49" type="stmt" count="
|
71702 |
-
<line num="50" type="stmt" count="
|
71703 |
-
<line num="51" type="stmt" count="
|
71704 |
-
<line num="52" type="stmt" count="
|
71705 |
-
<line num="
|
71706 |
-
<line num="55" type="stmt" count="
|
71707 |
-
<line num="56" type="stmt" count="
|
71708 |
-
<line num="
|
71709 |
-
<line num="59" type="
|
71710 |
<line num="60" type="stmt" count="1"/>
|
71711 |
<line num="61" type="stmt" count="1"/>
|
71712 |
<line num="62" type="stmt" count="1"/>
|
71713 |
-
<line num="
|
71714 |
-
<line num="65" type="
|
71715 |
<line num="66" type="stmt" count="1"/>
|
71716 |
<line num="67" type="stmt" count="1"/>
|
71717 |
<line num="68" type="stmt" count="1"/>
|
@@ -71722,36 +69255,42 @@
|
|
71722 |
<line num="73" type="stmt" count="1"/>
|
71723 |
<line num="74" type="stmt" count="1"/>
|
71724 |
<line num="75" type="stmt" count="1"/>
|
71725 |
-
<line num="
|
71726 |
-
<line num="
|
71727 |
-
<line num="80" type="
|
71728 |
-
<line num="
|
71729 |
-
<line num="
|
71730 |
-
<line num="
|
71731 |
-
<line num="
|
71732 |
-
<line num="
|
71733 |
-
<line num="88" type="
|
71734 |
-
<line num="
|
71735 |
-
<line num="
|
71736 |
-
<line num="
|
71737 |
-
<line num="94" type="
|
71738 |
-
<line num="
|
71739 |
-
<line num="
|
71740 |
-
<line num="
|
71741 |
-
<line num="
|
71742 |
-
<line num="
|
71743 |
-
<line num="
|
71744 |
<line num="105" type="stmt" count="0"/>
|
71745 |
<line num="106" type="stmt" count="0"/>
|
71746 |
-
<line num="109" type="
|
|
|
|
|
|
|
71747 |
<line num="113" type="stmt" count="0"/>
|
71748 |
<line num="114" type="stmt" count="0"/>
|
71749 |
-
<line num="
|
71750 |
-
<line num="
|
71751 |
-
<line num="
|
71752 |
-
<line num="
|
71753 |
-
<line num="
|
71754 |
-
<
|
|
|
|
|
|
|
71755 |
</file>
|
71756 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-test.php">
|
71757 |
<class name="Test_Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
|
@@ -71831,12 +69370,12 @@
|
|
71831 |
<metrics loc="135" ncloc="76" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="51" elements="55" coveredelements="55"/>
|
71832 |
</file>
|
71833 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/bootstrap.php">
|
71834 |
-
<line num="
|
71835 |
-
<line num="
|
71836 |
-
<line num="
|
71837 |
-
<line num="
|
71838 |
-
<line num="
|
71839 |
-
<metrics loc="
|
71840 |
</file>
|
71841 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/cli/test-class-info.php">
|
71842 |
<class name="Test_Boldgrid_Backup_Cli_Info" namespace="global" fullPackage="Test.Boldgrid.Backup.Cli">
|
@@ -71941,6 +69480,1317 @@
|
|
71941 |
<line num="7" type="stmt" count="0"/>
|
71942 |
<metrics loc="7" ncloc="5" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="0" elements="2" coveredelements="0"/>
|
71943 |
</file>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71944 |
<package name="Boldgrid\Library\Library\Api">
|
71945 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Api/Availability.php">
|
71946 |
<class name="Availability" namespace="Boldgrid\Library\Library\Api">
|
@@ -72821,241 +71671,144 @@
|
|
72821 |
<package name="Boldgrid\Library\Library\Plugin">
|
72822 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Checker.php">
|
72823 |
<class name="Checker" namespace="Boldgrid\Library\Library\Plugin">
|
72824 |
-
<metrics complexity="10" methods="
|
72825 |
</class>
|
72826 |
-
<line num="
|
72827 |
-
<line num="33" type="stmt" count="0"/>
|
72828 |
<line num="34" type="stmt" count="0"/>
|
72829 |
-
<line num="35" type="
|
72830 |
<line num="36" type="stmt" count="0"/>
|
72831 |
-
<line num="
|
72832 |
-
<line num="
|
72833 |
-
<line num="
|
72834 |
-
<line num="
|
72835 |
<line num="48" type="stmt" count="0"/>
|
72836 |
<line num="49" type="stmt" count="0"/>
|
72837 |
<line num="50" type="stmt" count="0"/>
|
72838 |
-
<line num="51" type="stmt" count="0"/>
|
72839 |
<line num="52" type="stmt" count="0"/>
|
72840 |
-
<line num="53" type="stmt" count="0"/>
|
72841 |
<line num="54" type="stmt" count="0"/>
|
|
|
72842 |
<line num="56" type="stmt" count="0"/>
|
72843 |
-
<line num="
|
72844 |
-
<line num="
|
72845 |
-
<line num="
|
72846 |
-
<line num="
|
72847 |
-
<line num="
|
72848 |
-
<line num="
|
72849 |
-
<line num="
|
72850 |
-
<line num="87" type="method" name="findUpdated" visibility="public" complexity="5" crap="30" count="0"/>
|
72851 |
<line num="88" type="stmt" count="0"/>
|
72852 |
-
<line num="
|
72853 |
<line num="92" type="stmt" count="0"/>
|
72854 |
-
<line num="
|
72855 |
-
<line num="
|
72856 |
<line num="97" type="stmt" count="0"/>
|
72857 |
<line num="98" type="stmt" count="0"/>
|
72858 |
-
<line num="
|
72859 |
-
<line num="
|
72860 |
-
<line num="
|
|
|
72861 |
<line num="128" type="stmt" count="0"/>
|
72862 |
-
<line num="129" type="stmt" count="0"/>
|
72863 |
<line num="131" type="stmt" count="0"/>
|
72864 |
<line num="132" type="stmt" count="0"/>
|
72865 |
-
<line num="
|
72866 |
-
<line num="
|
72867 |
-
<line num="143" type="stmt" count="0"/>
|
72868 |
-
<line num="144" type="stmt" count="0"/>
|
72869 |
-
<line num="146" type="stmt" count="0"/>
|
72870 |
-
<line num="147" type="stmt" count="0"/>
|
72871 |
-
<metrics loc="148" ncloc="65" classes="1" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="40" coveredstatements="0" elements="45" coveredelements="0"/>
|
72872 |
-
</file>
|
72873 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Factory.php">
|
72874 |
-
<class name="Factory" namespace="Boldgrid\Library\Library\Plugin">
|
72875 |
-
<metrics complexity="25" methods="7" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="79" coveredstatements="64" elements="86" coveredelements="69"/>
|
72876 |
-
</class>
|
72877 |
-
<line num="39" type="method" name="create" visibility="public" complexity="2" crap="2" count="36"/>
|
72878 |
-
<line num="40" type="stmt" count="36"/>
|
72879 |
-
<line num="41" type="stmt" count="36"/>
|
72880 |
-
<line num="42" type="stmt" count="29"/>
|
72881 |
-
<line num="43" type="stmt" count="29"/>
|
72882 |
-
<line num="44" type="stmt" count="7"/>
|
72883 |
-
<line num="47" type="stmt" count="36"/>
|
72884 |
-
<line num="59" type="method" name="createFromSlug" visibility="public" complexity="3" crap="3" count="29"/>
|
72885 |
-
<line num="61" type="stmt" count="29"/>
|
72886 |
-
<line num="63" type="stmt" count="29"/>
|
72887 |
-
<line num="65" type="stmt" count="29"/>
|
72888 |
-
<line num="67" type="stmt" count="29"/>
|
72889 |
-
<line num="69" type="stmt" count="29"/>
|
72890 |
-
<line num="71" type="stmt" count="29"/>
|
72891 |
-
<line num="73" type="stmt" count="29"/>
|
72892 |
-
<line num="75" type="stmt" count="29"/>
|
72893 |
-
<line num="76" type="stmt" count="29"/>
|
72894 |
-
<line num="77" type="stmt" count="29"/>
|
72895 |
-
<line num="78" type="stmt" count="29"/>
|
72896 |
-
<line num="79" type="stmt" count="29"/>
|
72897 |
-
<line num="80" type="stmt" count="29"/>
|
72898 |
-
<line num="81" type="stmt" count="29"/>
|
72899 |
-
<line num="83" type="stmt" count="29"/>
|
72900 |
-
<line num="94" type="method" name="createFromFile" visibility="private" complexity="3" crap="3" count="7"/>
|
72901 |
-
<line num="96" type="stmt" count="7"/>
|
72902 |
-
<line num="98" type="stmt" count="7"/>
|
72903 |
-
<line num="100" type="stmt" count="7"/>
|
72904 |
-
<line num="102" type="stmt" count="7"/>
|
72905 |
-
<line num="104" type="stmt" count="7"/>
|
72906 |
-
<line num="106" type="stmt" count="7"/>
|
72907 |
-
<line num="108" type="stmt" count="7"/>
|
72908 |
-
<line num="110" type="stmt" count="7"/>
|
72909 |
-
<line num="111" type="stmt" count="7"/>
|
72910 |
-
<line num="112" type="stmt" count="7"/>
|
72911 |
-
<line num="113" type="stmt" count="7"/>
|
72912 |
-
<line num="114" type="stmt" count="7"/>
|
72913 |
-
<line num="115" type="stmt" count="7"/>
|
72914 |
-
<line num="117" type="stmt" count="7"/>
|
72915 |
-
<line num="131" type="method" name="fileFromSlug" visibility="public" complexity="6" crap="8.05" count="29"/>
|
72916 |
-
<line num="132" type="stmt" count="29"/>
|
72917 |
-
<line num="133" type="stmt" count="29"/>
|
72918 |
-
<line num="134" type="stmt" count="0"/>
|
72919 |
-
<line num="135" type="stmt" count="29"/>
|
72920 |
-
<line num="136" type="stmt" count="0"/>
|
72921 |
-
<line num="137" type="stmt" count="0"/>
|
72922 |
-
<line num="138" type="stmt" count="29"/>
|
72923 |
-
<line num="139" type="stmt" count="29"/>
|
72924 |
-
<line num="140" type="stmt" count="29"/>
|
72925 |
-
<line num="141" type="stmt" count="0"/>
|
72926 |
<line num="142" type="stmt" count="0"/>
|
72927 |
-
<line num="143" type="stmt" count="
|
72928 |
-
<
|
72929 |
-
<line num="157" type="method" name="slugFromFile" visibility="public" complexity="4" crap="4" count="7"/>
|
72930 |
-
<line num="158" type="stmt" count="7"/>
|
72931 |
-
<line num="159" type="stmt" count="7"/>
|
72932 |
-
<line num="161" type="stmt" count="7"/>
|
72933 |
-
<line num="162" type="stmt" count="7"/>
|
72934 |
-
<line num="168" type="stmt" count="7"/>
|
72935 |
-
<line num="169" type="stmt" count="7"/>
|
72936 |
-
<line num="170" type="stmt" count="7"/>
|
72937 |
-
<line num="171" type="stmt" count="7"/>
|
72938 |
-
<line num="172" type="stmt" count="7"/>
|
72939 |
-
<line num="173" type="stmt" count="7"/>
|
72940 |
-
<line num="174" type="stmt" count="7"/>
|
72941 |
-
<line num="175" type="stmt" count="7"/>
|
72942 |
-
<line num="177" type="stmt" count="7"/>
|
72943 |
-
<line num="185" type="method" name="isPluginInstalled" visibility="public" complexity="1" crap="1" count="36"/>
|
72944 |
-
<line num="186" type="stmt" count="36"/>
|
72945 |
-
<line num="187" type="stmt" count="36"/>
|
72946 |
-
<line num="199" type="method" name="getChildPlugins" visibility="public" complexity="6" crap="14.79" count="36"/>
|
72947 |
-
<line num="200" type="stmt" count="36"/>
|
72948 |
-
<line num="202" type="stmt" count="36"/>
|
72949 |
-
<line num="203" type="stmt" count="36"/>
|
72950 |
-
<line num="204" type="stmt" count="36"/>
|
72951 |
-
<line num="205" type="stmt" count="0"/>
|
72952 |
-
<line num="206" type="stmt" count="0"/>
|
72953 |
-
<line num="207" type="stmt" count="0"/>
|
72954 |
-
<line num="208" type="stmt" count="0"/>
|
72955 |
-
<line num="209" type="stmt" count="0"/>
|
72956 |
-
<line num="210" type="stmt" count="0"/>
|
72957 |
-
<line num="212" type="stmt" count="36"/>
|
72958 |
-
<line num="213" type="stmt" count="36"/>
|
72959 |
-
<line num="216" type="stmt" count="0"/>
|
72960 |
-
<line num="217" type="stmt" count="0"/>
|
72961 |
-
<line num="218" type="stmt" count="0"/>
|
72962 |
-
<line num="220" type="stmt" count="0"/>
|
72963 |
-
<metrics loc="222" ncloc="134" classes="1" methods="7" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="79" coveredstatements="64" elements="86" coveredelements="69"/>
|
72964 |
</file>
|
72965 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Notice.php">
|
72966 |
<class name="Notice" namespace="Boldgrid\Library\Library\Plugin">
|
72967 |
-
<metrics complexity="23" methods="16" coveredmethods="
|
72968 |
</class>
|
72969 |
-
<line num="
|
72970 |
-
<line num="
|
72971 |
-
<line num="
|
72972 |
-
<line num="
|
72973 |
-
<line num="
|
72974 |
-
<line num="
|
72975 |
-
<line num="
|
72976 |
-
<line num="
|
72977 |
-
<line num="
|
72978 |
-
<line num="
|
72979 |
-
<line num="
|
72980 |
-
<line num="
|
72981 |
-
<line num="
|
72982 |
-
<line num="
|
72983 |
-
<line num="
|
72984 |
-
<line num="
|
72985 |
-
<line num="
|
72986 |
-
<line num="
|
72987 |
-
<line num="
|
72988 |
-
<line num="
|
72989 |
-
<line num="
|
72990 |
-
<line num="
|
72991 |
-
<line num="
|
72992 |
-
<line num="
|
72993 |
-
<line num="
|
72994 |
-
<line num="
|
72995 |
-
<line num="
|
72996 |
-
<line num="
|
72997 |
-
<line num="
|
72998 |
-
<line num="
|
72999 |
-
<line num="
|
73000 |
-
<line num="
|
73001 |
-
<line num="
|
73002 |
-
<line num="
|
73003 |
-
<line num="
|
73004 |
-
<line num="
|
73005 |
-
<line num="
|
|
|
|
|
73006 |
<line num="200" type="stmt" count="1"/>
|
73007 |
-
<line num="
|
73008 |
-
<line num="
|
73009 |
-
<line num="
|
73010 |
-
<line num="
|
73011 |
-
<line num="
|
73012 |
-
<line num="
|
73013 |
-
<line num="
|
73014 |
-
<line num="
|
73015 |
-
<line num="
|
73016 |
-
<line num="240" type="stmt" count="
|
73017 |
-
<line num="241" type="stmt" count="
|
73018 |
-
<line num="
|
73019 |
-
<line num="
|
73020 |
-
<line num="245" type="stmt" count="
|
73021 |
-
<line num="246" type="stmt" count="
|
73022 |
-
<line num="
|
73023 |
-
<line num="
|
73024 |
-
<line num="
|
73025 |
-
<line num="
|
73026 |
-
<line num="
|
73027 |
-
<line num="
|
73028 |
-
<line num="
|
73029 |
-
<line num="
|
73030 |
-
<line num="
|
73031 |
-
<line num="268" type="stmt" count="
|
73032 |
-
<line num="269" type="stmt" count="
|
73033 |
-
<line num="
|
73034 |
-
<line num="
|
73035 |
-
<line num="
|
73036 |
-
<line num="
|
73037 |
-
<line num="
|
73038 |
-
<line num="
|
73039 |
-
<line num="
|
73040 |
-
<line num="
|
73041 |
-
<line num="
|
73042 |
-
<line num="
|
73043 |
-
<line num="
|
73044 |
-
<line num="
|
73045 |
-
<line num="
|
73046 |
-
<line num="
|
73047 |
-
<line num="
|
73048 |
-
<line num="
|
73049 |
-
<line num="
|
73050 |
-
<line num="
|
73051 |
-
<line num="326" type="stmt" count="
|
73052 |
-
<
|
73053 |
-
<line num="329" type="stmt" count="0"/>
|
73054 |
-
<metrics loc="330" ncloc="132" classes="1" methods="16" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="69" coveredstatements="24" elements="85" coveredelements="28"/>
|
73055 |
</file>
|
73056 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Notices.php">
|
73057 |
<class name="Notices" namespace="Boldgrid\Library\Library\Plugin">
|
73058 |
-
<metrics complexity="3" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="
|
73059 |
</class>
|
73060 |
<line num="38" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
73061 |
<line num="40" type="stmt" count="0"/>
|
@@ -73071,569 +71824,307 @@
|
|
73071 |
<line num="57" type="stmt" count="0"/>
|
73072 |
<line num="58" type="stmt" count="0"/>
|
73073 |
<line num="59" type="stmt" count="0"/>
|
73074 |
-
<line num="
|
73075 |
<line num="62" type="stmt" count="0"/>
|
73076 |
<line num="63" type="stmt" count="0"/>
|
73077 |
-
<line num="
|
73078 |
-
<line num="
|
73079 |
-
<line num="
|
73080 |
<line num="77" type="stmt" count="0"/>
|
73081 |
-
<
|
73082 |
-
<metrics loc="79" ncloc="38" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="0" elements="22" coveredelements="0"/>
|
73083 |
</file>
|
73084 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Page.php">
|
73085 |
<class name="Page" namespace="Boldgrid\Library\Library\Plugin">
|
73086 |
-
<metrics complexity="24" methods="13" coveredmethods="
|
73087 |
-
</class>
|
73088 |
-
<line num="
|
73089 |
-
<line num="
|
73090 |
-
<line num="
|
73091 |
-
<line num="
|
73092 |
-
<line num="
|
73093 |
-
<line num="
|
73094 |
-
<line num="
|
73095 |
-
<line num="
|
73096 |
-
<line num="
|
73097 |
-
<line num="
|
73098 |
-
<line num="
|
73099 |
-
<line num="
|
73100 |
-
<line num="
|
73101 |
-
<line num="
|
73102 |
-
<line num="
|
73103 |
-
<line num="
|
73104 |
-
<line num="
|
73105 |
-
<line num="
|
73106 |
-
<line num="
|
73107 |
-
<line num="
|
73108 |
-
<line num="
|
73109 |
-
<line num="
|
73110 |
-
<line num="
|
73111 |
-
<line num="
|
73112 |
-
<line num="
|
73113 |
-
<line num="
|
73114 |
-
<line num="
|
73115 |
-
<line num="
|
73116 |
-
<line num="
|
73117 |
-
<line num="
|
73118 |
-
<line num="
|
73119 |
-
<line num="
|
73120 |
-
<line num="
|
73121 |
-
<line num="
|
73122 |
-
<line num="
|
73123 |
-
<line num="
|
73124 |
-
<line num="
|
73125 |
-
<line num="
|
73126 |
-
<line num="
|
73127 |
-
<line num="
|
73128 |
-
<line num="
|
73129 |
-
<line num="
|
73130 |
-
<line num="
|
73131 |
-
<line num="
|
73132 |
-
<line num="
|
73133 |
-
<line num="
|
73134 |
-
<line num="
|
73135 |
-
<line num="
|
73136 |
-
<line num="
|
73137 |
-
<line num="
|
73138 |
-
<line num="
|
73139 |
-
<line num="
|
73140 |
-
<line num="
|
73141 |
-
<line num="
|
73142 |
-
<line num="
|
73143 |
-
<line num="
|
73144 |
-
<line num="
|
73145 |
-
<line num="
|
73146 |
-
<line num="
|
73147 |
-
<line num="
|
73148 |
-
<line num="
|
73149 |
-
<line num="
|
73150 |
-
<line num="
|
73151 |
-
<metrics loc="
|
73152 |
</file>
|
73153 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugin.php">
|
73154 |
<class name="Plugin" namespace="Boldgrid\Library\Library\Plugin">
|
73155 |
-
<metrics complexity="
|
73156 |
-
</class>
|
73157 |
-
<line num="
|
73158 |
-
<line num="
|
73159 |
-
<line num="
|
73160 |
-
<line num="
|
73161 |
-
<line num="
|
73162 |
-
<line num="
|
73163 |
-
<line num="
|
73164 |
-
<line num="
|
73165 |
-
<line num="
|
73166 |
-
<line num="
|
73167 |
-
<line num="
|
73168 |
-
<line num="
|
73169 |
-
<line num="
|
73170 |
-
<line num="
|
73171 |
-
<line num="
|
73172 |
-
<line num="
|
73173 |
-
<line num="
|
73174 |
-
<line num="
|
73175 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
73176 |
<line num="194" type="stmt" count="0"/>
|
73177 |
-
<line num="
|
73178 |
-
<line num="
|
73179 |
-
<line num="
|
73180 |
-
<line num="
|
73181 |
-
<line num="
|
73182 |
-
<line num="210" type="stmt" count="0"/>
|
73183 |
-
<line num="211" type="stmt" count="0"/>
|
73184 |
<line num="213" type="stmt" count="0"/>
|
73185 |
-
<line num="
|
73186 |
-
<line num="
|
73187 |
-
<line num="
|
73188 |
-
<line num="
|
73189 |
-
<line num="
|
73190 |
-
<line num="
|
73191 |
-
<line num="
|
73192 |
-
<line num="
|
73193 |
-
<line num="
|
73194 |
-
<line num="
|
73195 |
-
<line num="
|
73196 |
-
<line num="
|
73197 |
-
<line num="
|
73198 |
-
<line num="
|
73199 |
-
<line num="
|
73200 |
-
<line num="
|
73201 |
-
<line num="
|
73202 |
-
<line num="
|
73203 |
-
<line num="
|
|
|
|
|
|
|
73204 |
<line num="304" type="stmt" count="0"/>
|
73205 |
<line num="306" type="stmt" count="0"/>
|
73206 |
-
<line num="
|
73207 |
-
<line num="
|
73208 |
-
<line num="
|
73209 |
-
<line num="
|
73210 |
-
<line num="
|
73211 |
-
<line num="
|
73212 |
-
<line num="
|
73213 |
-
<line num="
|
73214 |
-
<line num="
|
73215 |
-
<line num="343" type="stmt" count="
|
73216 |
-
<line num="
|
73217 |
-
<line num="
|
73218 |
-
<line num="356" type="stmt" count="
|
73219 |
-
<line num="
|
73220 |
-
<line num="
|
73221 |
-
<line num="
|
73222 |
-
<line num="
|
73223 |
-
<line num="
|
73224 |
-
<line num="
|
73225 |
-
<line num="
|
73226 |
-
<line num="
|
73227 |
-
<line num="
|
73228 |
-
<line num="
|
73229 |
-
<line num="
|
73230 |
-
<line num="
|
73231 |
-
<line num="
|
73232 |
-
<line num="
|
73233 |
-
<line num="
|
73234 |
-
<line num="
|
73235 |
-
<line num="
|
73236 |
-
<line num="409" type="
|
73237 |
-
<line num="410" type="stmt" count="
|
73238 |
-
<line num="
|
73239 |
-
<line num="
|
73240 |
-
<line num="
|
73241 |
-
<line num="
|
73242 |
-
<line num="
|
73243 |
-
<line num="
|
73244 |
-
<line num="434" type="method" name="
|
73245 |
-
<line num="435" type="stmt" count="
|
73246 |
-
<line num="
|
73247 |
-
<line num="
|
73248 |
-
<line num="
|
73249 |
-
<line num="
|
73250 |
-
<line num="
|
73251 |
-
<line num="
|
73252 |
-
<line num="
|
73253 |
-
<line num="
|
73254 |
-
<line num="
|
73255 |
-
<line num="
|
73256 |
-
<line num="
|
73257 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
73258 |
<line num="486" type="stmt" count="0"/>
|
73259 |
<line num="487" type="stmt" count="0"/>
|
73260 |
<line num="488" type="stmt" count="0"/>
|
73261 |
-
<line num="
|
73262 |
-
<line num="
|
73263 |
-
<line num="
|
73264 |
-
<line num="
|
73265 |
-
<line num="
|
73266 |
-
<line num="
|
73267 |
-
<line num="
|
73268 |
-
<line num="
|
73269 |
-
<line num="
|
73270 |
-
<line num="
|
73271 |
-
<line num="
|
73272 |
-
<line num="
|
73273 |
-
<line num="
|
73274 |
-
<line num="
|
73275 |
-
<line num="
|
73276 |
-
<line num="544" type="stmt" count="
|
73277 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73278 |
</file>
|
73279 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugins.php">
|
73280 |
<class name="Plugins" namespace="Boldgrid\Library\Library\Plugin">
|
73281 |
-
<metrics complexity="
|
73282 |
</class>
|
73283 |
-
<line num="
|
73284 |
-
<line num="
|
|
|
|
|
|
|
73285 |
<line num="38" type="stmt" count="0"/>
|
|
|
73286 |
<line num="40" type="stmt" count="0"/>
|
|
|
|
|
73287 |
<line num="43" type="stmt" count="0"/>
|
73288 |
-
<line num="44" type="stmt" count="0"/>
|
73289 |
<line num="45" type="stmt" count="0"/>
|
73290 |
<line num="46" type="stmt" count="0"/>
|
73291 |
-
<
|
73292 |
-
<line num="48" type="stmt" count="0"/>
|
73293 |
-
<line num="49" type="stmt" count="0"/>
|
73294 |
-
<line num="51" type="stmt" count="0"/>
|
73295 |
-
<line num="61" type="method" name="getAllPlugins" visibility="public" complexity="2" crap="2" count="7"/>
|
73296 |
-
<line num="62" type="stmt" count="7"/>
|
73297 |
-
<line num="63" type="stmt" count="7"/>
|
73298 |
-
<line num="64" type="stmt" count="7"/>
|
73299 |
-
<line num="65" type="stmt" count="7"/>
|
73300 |
-
<line num="66" type="stmt" count="7"/>
|
73301 |
-
<line num="67" type="stmt" count="7"/>
|
73302 |
-
<line num="68" type="stmt" count="7"/>
|
73303 |
-
<line num="81" type="method" name="getBySlug" visibility="public" complexity="3" crap="3.33" count="1"/>
|
73304 |
-
<line num="82" type="stmt" count="1"/>
|
73305 |
-
<line num="83" type="stmt" count="1"/>
|
73306 |
-
<line num="84" type="stmt" count="1"/>
|
73307 |
-
<line num="85" type="stmt" count="1"/>
|
73308 |
-
<line num="87" type="stmt" count="0"/>
|
73309 |
-
<line num="88" type="stmt" count="0"/>
|
73310 |
-
<metrics loc="90" ncloc="41" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="24" coveredstatements="11" elements="27" coveredelements="12"/>
|
73311 |
-
</file>
|
73312 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/UpdateData.php">
|
73313 |
-
<class name="UpdateData" namespace="Boldgrid\Library\Library\Plugin">
|
73314 |
-
<metrics complexity="31" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="98" coveredstatements="48" elements="106" coveredelements="48"/>
|
73315 |
-
</class>
|
73316 |
-
<line num="128" type="method" name="__construct" visibility="public" complexity="10" crap="14.21" count="1"/>
|
73317 |
-
<line num="129" type="stmt" count="1"/>
|
73318 |
-
<line num="132" type="stmt" count="1"/>
|
73319 |
-
<line num="134" type="stmt" count="1"/>
|
73320 |
-
<line num="136" type="stmt" count="1"/>
|
73321 |
-
<line num="137" type="stmt" count="0"/>
|
73322 |
-
<line num="138" type="stmt" count="0"/>
|
73323 |
-
<line num="139" type="stmt" count="0"/>
|
73324 |
-
<line num="140" type="stmt" count="0"/>
|
73325 |
-
<line num="141" type="stmt" count="0"/>
|
73326 |
-
<line num="142" type="stmt" count="0"/>
|
73327 |
-
<line num="143" type="stmt" count="0"/>
|
73328 |
-
<line num="144" type="stmt" count="0"/>
|
73329 |
-
<line num="145" type="stmt" count="1"/>
|
73330 |
-
<line num="146" type="stmt" count="1"/>
|
73331 |
-
<line num="147" type="stmt" count="1"/>
|
73332 |
-
<line num="148" type="stmt" count="1"/>
|
73333 |
-
<line num="149" type="stmt" count="1"/>
|
73334 |
-
<line num="150" type="stmt" count="1"/>
|
73335 |
-
<line num="151" type="stmt" count="1"/>
|
73336 |
-
<line num="153" type="stmt" count="1"/>
|
73337 |
-
<line num="155" type="stmt" count="1"/>
|
73338 |
-
<line num="156" type="stmt" count="1"/>
|
73339 |
-
<line num="157" type="stmt" count="1"/>
|
73340 |
-
<line num="165" type="method" name="getMinorVersionInstalls" visibility="public" complexity="3" crap="12" count="0"/>
|
73341 |
-
<line num="166" type="stmt" count="0"/>
|
73342 |
-
<line num="167" type="stmt" count="0"/>
|
73343 |
-
<line num="168" type="stmt" count="0"/>
|
73344 |
-
<line num="169" type="stmt" count="0"/>
|
73345 |
-
<line num="171" type="stmt" count="0"/>
|
73346 |
-
<line num="172" type="stmt" count="0"/>
|
73347 |
-
<line num="173" type="stmt" count="0"/>
|
73348 |
-
<line num="174" type="stmt" count="0"/>
|
73349 |
-
<line num="183" type="method" name="getResponseData" visibility="public" complexity="1" crap="2" count="0"/>
|
73350 |
-
<line num="184" type="stmt" count="0"/>
|
73351 |
-
<line num="196" type="method" name="fetchResponseData" visibility="public" complexity="5" crap="7.76" count="1"/>
|
73352 |
-
<line num="197" type="stmt" count="1"/>
|
73353 |
-
<line num="198" type="stmt" count="1"/>
|
73354 |
-
<line num="199" type="stmt" count="1"/>
|
73355 |
-
<line num="200" type="stmt" count="1"/>
|
73356 |
-
<line num="201" type="stmt" count="1"/>
|
73357 |
-
<line num="202" type="stmt" count="0"/>
|
73358 |
-
<line num="203" type="stmt" count="0"/>
|
73359 |
-
<line num="205" type="stmt" count="0"/>
|
73360 |
-
<line num="207" type="stmt" count="0"/>
|
73361 |
-
<line num="208" type="stmt" count="0"/>
|
73362 |
-
<line num="209" type="stmt" count="0"/>
|
73363 |
-
<line num="210" type="stmt" count="0"/>
|
73364 |
-
<line num="212" type="stmt" count="0"/>
|
73365 |
-
<line num="214" type="stmt" count="0"/>
|
73366 |
-
<line num="215" type="stmt" count="0"/>
|
73367 |
-
<line num="217" type="stmt" count="1"/>
|
73368 |
-
<line num="218" type="stmt" count="1"/>
|
73369 |
-
<line num="219" type="stmt" count="1"/>
|
73370 |
-
<line num="220" type="stmt" count="1"/>
|
73371 |
-
<line num="221" type="stmt" count="1"/>
|
73372 |
-
<line num="222" type="stmt" count="1"/>
|
73373 |
-
<line num="225" type="stmt" count="1"/>
|
73374 |
-
<line num="226" type="stmt" count="0"/>
|
73375 |
-
<line num="227" type="stmt" count="0"/>
|
73376 |
-
<line num="230" type="stmt" count="1"/>
|
73377 |
-
<line num="240" type="method" name="getInformationTransient" visibility="public" complexity="5" crap="10.40" count="1"/>
|
73378 |
-
<line num="241" type="stmt" count="1"/>
|
73379 |
-
<line num="242" type="stmt" count="1"/>
|
73380 |
-
<line num="243" type="stmt" count="1"/>
|
73381 |
-
<line num="244" type="stmt" count="1"/>
|
73382 |
-
<line num="246" type="stmt" count="0"/>
|
73383 |
-
<line num="249" type="stmt" count="0"/>
|
73384 |
-
<line num="250" type="stmt" count="0"/>
|
73385 |
-
<line num="253" type="stmt" count="0"/>
|
73386 |
-
<line num="254" type="stmt" count="0"/>
|
73387 |
-
<line num="256" type="stmt" count="0"/>
|
73388 |
-
<line num="265" type="method" name="getAgeOfTransient" visibility="public" complexity="2" crap="2.86" count="1"/>
|
73389 |
-
<line num="266" type="stmt" count="1"/>
|
73390 |
-
<line num="267" type="stmt" count="0"/>
|
73391 |
-
<line num="268" type="stmt" count="0"/>
|
73392 |
-
<line num="269" type="stmt" count="0"/>
|
73393 |
-
<line num="271" type="stmt" count="1"/>
|
73394 |
-
<line num="278" type="method" name="setInformationTransient" visibility="public" complexity="3" crap="3.02" count="1"/>
|
73395 |
-
<line num="279" type="stmt" count="1"/>
|
73396 |
-
<line num="280" type="stmt" count="1"/>
|
73397 |
-
<line num="281" type="stmt" count="1"/>
|
73398 |
-
<line num="282" type="stmt" count="1"/>
|
73399 |
-
<line num="284" type="stmt" count="1"/>
|
73400 |
-
<line num="285" type="stmt" count="1"/>
|
73401 |
-
<line num="286" type="stmt" count="1"/>
|
73402 |
-
<line num="287" type="stmt" count="1"/>
|
73403 |
-
<line num="288" type="stmt" count="1"/>
|
73404 |
-
<line num="289" type="stmt" count="1"/>
|
73405 |
-
<line num="290" type="stmt" count="1"/>
|
73406 |
-
<line num="293" type="stmt" count="1"/>
|
73407 |
-
<line num="294" type="stmt" count="1"/>
|
73408 |
-
<line num="295" type="stmt" count="0"/>
|
73409 |
-
<line num="296" type="stmt" count="0"/>
|
73410 |
-
<line num="298" type="stmt" count="1"/>
|
73411 |
-
<line num="307" type="method" name="getGenericInfo" visibility="public" complexity="2" crap="6" count="0"/>
|
73412 |
-
<line num="308" type="stmt" count="0"/>
|
73413 |
-
<line num="309" type="stmt" count="0"/>
|
73414 |
-
<line num="312" type="stmt" count="0"/>
|
73415 |
-
<line num="313" type="stmt" count="0"/>
|
73416 |
-
<line num="314" type="stmt" count="0"/>
|
73417 |
-
<line num="315" type="stmt" count="0"/>
|
73418 |
-
<line num="316" type="stmt" count="0"/>
|
73419 |
-
<line num="317" type="stmt" count="0"/>
|
73420 |
-
<line num="318" type="stmt" count="0"/>
|
73421 |
-
<line num="320" type="stmt" count="0"/>
|
73422 |
-
<metrics loc="322" ncloc="172" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="98" coveredstatements="48" elements="106" coveredelements="48"/>
|
73423 |
-
</file>
|
73424 |
-
</package>
|
73425 |
-
<package name="Boldgrid\Library\Library\Theme">
|
73426 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Theme/Theme.php">
|
73427 |
-
<class name="Theme" namespace="Boldgrid\Library\Library\Theme">
|
73428 |
-
<metrics complexity="8" methods="4" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="26" coveredstatements="22" elements="30" coveredelements="25"/>
|
73429 |
-
</class>
|
73430 |
-
<line num="89" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/>
|
73431 |
-
<line num="90" type="stmt" count="7"/>
|
73432 |
-
<line num="91" type="stmt" count="7"/>
|
73433 |
-
<line num="92" type="stmt" count="7"/>
|
73434 |
-
<line num="93" type="stmt" count="7"/>
|
73435 |
-
<line num="94" type="stmt" count="7"/>
|
73436 |
-
<line num="95" type="stmt" count="7"/>
|
73437 |
-
<line num="96" type="stmt" count="7"/>
|
73438 |
-
<line num="97" type="stmt" count="7"/>
|
73439 |
-
<line num="106" type="method" name="getParent" visibility="public" complexity="1" crap="1" count="7"/>
|
73440 |
-
<line num="107" type="stmt" count="7"/>
|
73441 |
-
<line num="108" type="stmt" count="7"/>
|
73442 |
-
<line num="116" type="method" name="setIsActive" visibility="private" complexity="2" crap="2" count="7"/>
|
73443 |
-
<line num="117" type="stmt" count="7"/>
|
73444 |
-
<line num="118" type="stmt" count="7"/>
|
73445 |
-
<line num="119" type="stmt" count="7"/>
|
73446 |
-
<line num="120" type="stmt" count="7"/>
|
73447 |
-
<line num="121" type="stmt" count="7"/>
|
73448 |
-
<line num="123" type="stmt" count="7"/>
|
73449 |
-
<line num="130" type="method" name="setHasUpdate" visibility="public" complexity="4" crap="5.02" count="7"/>
|
73450 |
-
<line num="131" type="stmt" count="7"/>
|
73451 |
-
<line num="132" type="stmt" count="0"/>
|
73452 |
-
<line num="133" type="stmt" count="0"/>
|
73453 |
-
<line num="134" type="stmt" count="7"/>
|
73454 |
-
<line num="137" type="stmt" count="7"/>
|
73455 |
-
<line num="139" type="stmt" count="7"/>
|
73456 |
-
<line num="140" type="stmt" count="0"/>
|
73457 |
-
<line num="141" type="stmt" count="0"/>
|
73458 |
-
<line num="142" type="stmt" count="7"/>
|
73459 |
-
<line num="144" type="stmt" count="7"/>
|
73460 |
-
<metrics loc="145" ncloc="56" classes="1" methods="4" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="26" coveredstatements="22" elements="30" coveredelements="25"/>
|
73461 |
-
</file>
|
73462 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Theme/Themes.php">
|
73463 |
-
<class name="Themes" namespace="Boldgrid\Library\Library\Theme">
|
73464 |
-
<metrics complexity="7" methods="4" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="11" elements="17" coveredelements="13"/>
|
73465 |
-
</class>
|
73466 |
-
<line num="39" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="7"/>
|
73467 |
-
<line num="40" type="stmt" count="7"/>
|
73468 |
-
<line num="41" type="stmt" count="7"/>
|
73469 |
-
<line num="42" type="stmt" count="7"/>
|
73470 |
-
<line num="43" type="stmt" count="7"/>
|
73471 |
-
<line num="44" type="stmt" count="7"/>
|
73472 |
-
<line num="45" type="stmt" count="7"/>
|
73473 |
-
<line num="54" type="method" name="get" visibility="public" complexity="1" crap="1" count="2"/>
|
73474 |
-
<line num="55" type="stmt" count="2"/>
|
73475 |
-
<line num="66" type="method" name="getFromStylesheet" visibility="public" complexity="3" crap="3.07" count="1"/>
|
73476 |
-
<line num="67" type="stmt" count="1"/>
|
73477 |
-
<line num="68" type="stmt" count="1"/>
|
73478 |
-
<line num="69" type="stmt" count="1"/>
|
73479 |
-
<line num="71" type="stmt" count="1"/>
|
73480 |
-
<line num="72" type="stmt" count="0"/>
|
73481 |
-
<line num="82" type="method" name="getActive" visibility="public" complexity="1" crap="2" count="0"/>
|
73482 |
-
<line num="83" type="stmt" count="0"/>
|
73483 |
-
<metrics loc="85" ncloc="30" classes="1" methods="4" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="11" elements="17" coveredelements="13"/>
|
73484 |
-
</file>
|
73485 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Theme/UpdateData.php">
|
73486 |
-
<class name="UpdateData" namespace="Boldgrid\Library\Library\Theme">
|
73487 |
-
<metrics complexity="22" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="43" elements="91" coveredelements="43"/>
|
73488 |
-
</class>
|
73489 |
-
<line num="103" type="method" name="__construct" visibility="public" complexity="5" crap="5.93" count="7"/>
|
73490 |
-
<line num="105" type="stmt" count="7"/>
|
73491 |
-
<line num="107" type="stmt" count="7"/>
|
73492 |
-
<line num="109" type="stmt" count="7"/>
|
73493 |
-
<line num="110" type="stmt" count="0"/>
|
73494 |
-
<line num="111" type="stmt" count="0"/>
|
73495 |
-
<line num="112" type="stmt" count="0"/>
|
73496 |
-
<line num="113" type="stmt" count="0"/>
|
73497 |
-
<line num="114" type="stmt" count="0"/>
|
73498 |
-
<line num="115" type="stmt" count="0"/>
|
73499 |
-
<line num="116" type="stmt" count="7"/>
|
73500 |
-
<line num="117" type="stmt" count="7"/>
|
73501 |
-
<line num="118" type="stmt" count="7"/>
|
73502 |
-
<line num="119" type="stmt" count="7"/>
|
73503 |
-
<line num="120" type="stmt" count="7"/>
|
73504 |
-
<line num="122" type="stmt" count="7"/>
|
73505 |
-
<line num="125" type="stmt" count="7"/>
|
73506 |
-
<line num="127" type="stmt" count="7"/>
|
73507 |
-
<line num="128" type="stmt" count="7"/>
|
73508 |
-
<line num="137" type="method" name="getResponseData" visibility="public" complexity="1" crap="2" count="0"/>
|
73509 |
-
<line num="138" type="stmt" count="0"/>
|
73510 |
-
<line num="148" type="method" name="fetchResponseData" visibility="public" complexity="4" crap="5.77" count="7"/>
|
73511 |
-
<line num="149" type="stmt" count="7"/>
|
73512 |
-
<line num="151" type="stmt" count="7"/>
|
73513 |
-
<line num="153" type="stmt" count="7"/>
|
73514 |
-
<line num="154" type="stmt" count="7"/>
|
73515 |
-
<line num="156" type="stmt" count="7"/>
|
73516 |
-
<line num="157" type="stmt" count="0"/>
|
73517 |
-
<line num="158" type="stmt" count="0"/>
|
73518 |
-
<line num="160" type="stmt" count="0"/>
|
73519 |
-
<line num="162" type="stmt" count="0"/>
|
73520 |
-
<line num="163" type="stmt" count="0"/>
|
73521 |
-
<line num="164" type="stmt" count="0"/>
|
73522 |
-
<line num="165" type="stmt" count="0"/>
|
73523 |
-
<line num="167" type="stmt" count="0"/>
|
73524 |
-
<line num="169" type="stmt" count="0"/>
|
73525 |
-
<line num="170" type="stmt" count="0"/>
|
73526 |
-
<line num="172" type="stmt" count="7"/>
|
73527 |
-
<line num="173" type="stmt" count="7"/>
|
73528 |
-
<line num="174" type="stmt" count="7"/>
|
73529 |
-
<line num="175" type="stmt" count="7"/>
|
73530 |
-
<line num="176" type="stmt" count="7"/>
|
73531 |
-
<line num="177" type="stmt" count="7"/>
|
73532 |
-
<line num="180" type="stmt" count="7"/>
|
73533 |
-
<line num="181" type="stmt" count="0"/>
|
73534 |
-
<line num="182" type="stmt" count="0"/>
|
73535 |
-
<line num="185" type="stmt" count="7"/>
|
73536 |
-
<line num="194" type="method" name="getAgeOfTransient" visibility="public" complexity="2" crap="2.86" count="7"/>
|
73537 |
-
<line num="195" type="stmt" count="7"/>
|
73538 |
-
<line num="196" type="stmt" count="0"/>
|
73539 |
-
<line num="197" type="stmt" count="0"/>
|
73540 |
-
<line num="198" type="stmt" count="0"/>
|
73541 |
-
<line num="200" type="stmt" count="7"/>
|
73542 |
-
<line num="209" type="method" name="getInformationTransient" visibility="public" complexity="5" crap="11.44" count="7"/>
|
73543 |
-
<line num="210" type="stmt" count="7"/>
|
73544 |
-
<line num="211" type="stmt" count="7"/>
|
73545 |
-
<line num="212" type="stmt" count="7"/>
|
73546 |
-
<line num="213" type="stmt" count="7"/>
|
73547 |
-
<line num="215" type="stmt" count="0"/>
|
73548 |
-
<line num="218" type="stmt" count="0"/>
|
73549 |
-
<line num="219" type="stmt" count="0"/>
|
73550 |
-
<line num="220" type="stmt" count="0"/>
|
73551 |
-
<line num="223" type="stmt" count="0"/>
|
73552 |
-
<line num="224" type="stmt" count="0"/>
|
73553 |
-
<line num="226" type="stmt" count="0"/>
|
73554 |
-
<line num="234" type="method" name="setInformationTransient" visibility="public" complexity="3" crap="3.03" count="7"/>
|
73555 |
-
<line num="235" type="stmt" count="7"/>
|
73556 |
-
<line num="236" type="stmt" count="7"/>
|
73557 |
-
<line num="237" type="stmt" count="7"/>
|
73558 |
-
<line num="238" type="stmt" count="7"/>
|
73559 |
-
<line num="240" type="stmt" count="7"/>
|
73560 |
-
<line num="241" type="stmt" count="7"/>
|
73561 |
-
<line num="242" type="stmt" count="7"/>
|
73562 |
-
<line num="243" type="stmt" count="7"/>
|
73563 |
-
<line num="244" type="stmt" count="7"/>
|
73564 |
-
<line num="247" type="stmt" count="7"/>
|
73565 |
-
<line num="248" type="stmt" count="7"/>
|
73566 |
-
<line num="249" type="stmt" count="0"/>
|
73567 |
-
<line num="250" type="stmt" count="0"/>
|
73568 |
-
<line num="251" type="stmt" count="7"/>
|
73569 |
-
<line num="260" type="method" name="getGenericInfo" visibility="public" complexity="2" crap="6" count="0"/>
|
73570 |
-
<line num="261" type="stmt" count="0"/>
|
73571 |
-
<line num="262" type="stmt" count="0"/>
|
73572 |
-
<line num="265" type="stmt" count="0"/>
|
73573 |
-
<line num="266" type="stmt" count="0"/>
|
73574 |
-
<line num="267" type="stmt" count="0"/>
|
73575 |
-
<line num="268" type="stmt" count="0"/>
|
73576 |
-
<line num="269" type="stmt" count="0"/>
|
73577 |
-
<line num="270" type="stmt" count="0"/>
|
73578 |
-
<line num="271" type="stmt" count="0"/>
|
73579 |
-
<line num="273" type="stmt" count="0"/>
|
73580 |
-
<metrics loc="275" ncloc="152" classes="1" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="43" elements="91" coveredelements="43"/>
|
73581 |
</file>
|
73582 |
</package>
|
73583 |
<package name="Boldgrid\Library\Library\Ui">
|
73584 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Card.php">
|
73585 |
<class name="Card" namespace="Boldgrid\Library\Library\Ui">
|
73586 |
-
<metrics complexity="14" methods="3" coveredmethods="
|
73587 |
</class>
|
73588 |
-
<line num="97" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="
|
73589 |
-
<line num="98" type="stmt" count="
|
73590 |
-
<line num="99" type="stmt" count="
|
73591 |
-
<line num="108" type="method" name="maybeShowRibbon" visibility="public" complexity="3" crap="
|
73592 |
-
<line num="110" type="stmt" count="
|
73593 |
-
<line num="111" type="stmt" count="
|
73594 |
-
<line num="112" type="stmt" count="
|
73595 |
-
<line num="123" type="method" name="printCard" visibility="public" complexity="10" crap="
|
73596 |
-
<line num="125" type="stmt" count="
|
73597 |
<line num="126" type="stmt" count="0"/>
|
73598 |
<line num="127" type="stmt" count="0"/>
|
73599 |
-
<line num="128" type="stmt" count="
|
73600 |
-
<line num="131" type="stmt" count="
|
73601 |
-
<line num="132" type="stmt" count="
|
73602 |
-
<line num="133" type="stmt" count="
|
73603 |
-
<line num="134" type="stmt" count="
|
73604 |
-
<line num="135" type="stmt" count="
|
73605 |
-
<line num="138" type="stmt" count="
|
73606 |
-
<line num="139" type="stmt" count="
|
73607 |
-
<line num="140" type="stmt" count="
|
73608 |
-
<line num="142" type="stmt" count="
|
73609 |
-
<line num="143" type="stmt" count="
|
73610 |
-
<line num="145" type="stmt" count="
|
73611 |
-
<line num="147" type="stmt" count="
|
73612 |
<line num="148" type="stmt" count="0"/>
|
73613 |
<line num="149" type="stmt" count="0"/>
|
73614 |
-
<line num="151" type="stmt" count="
|
73615 |
-
<line num="152" type="stmt" count="
|
73616 |
-
<line num="154" type="stmt" count="
|
73617 |
-
<line num="155" type="stmt" count="
|
73618 |
-
<line num="156" type="stmt" count="
|
73619 |
-
<line num="158" type="stmt" count="
|
73620 |
-
<line num="159" type="stmt" count="
|
73621 |
-
<line num="160" type="stmt" count="
|
73622 |
-
<line num="164" type="stmt" count="
|
73623 |
-
<line num="167" type="stmt" count="
|
73624 |
-
<line num="168" type="stmt" count="
|
73625 |
-
<line num="169" type="stmt" count="
|
73626 |
-
<line num="171" type="stmt" count="
|
73627 |
-
<line num="173" type="stmt" count="
|
73628 |
-
<line num="174" type="stmt" count="
|
73629 |
-
<line num="175" type="stmt" count="
|
73630 |
<line num="176" type="stmt" count="0"/>
|
73631 |
-
<line num="178" type="stmt" count="
|
73632 |
-
<metrics loc="179" ncloc="77" classes="1" methods="3" coveredmethods="
|
73633 |
</file>
|
73634 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Dashboard.php">
|
73635 |
<class name="Dashboard" namespace="Boldgrid\Library\Library\Ui">
|
73636 |
-
<metrics complexity="4" methods="2" coveredmethods="
|
73637 |
</class>
|
73638 |
<line num="42" type="method" name="enqueueScripts" visibility="public" complexity="1" crap="2" count="0"/>
|
73639 |
<line num="43" type="stmt" count="0"/>
|
@@ -73642,15 +72133,15 @@
|
|
73642 |
<line num="46" type="stmt" count="0"/>
|
73643 |
<line num="47" type="stmt" count="0"/>
|
73644 |
<line num="48" type="stmt" count="0"/>
|
73645 |
-
<line num="55" type="method" name="printCards" visibility="public" complexity="3" crap="
|
73646 |
-
<line num="57" type="stmt" count="
|
73647 |
-
<line num="59" type="stmt" count="
|
73648 |
-
<line num="60" type="stmt" count="
|
73649 |
-
<line num="61" type="stmt" count="
|
73650 |
-
<line num="62" type="stmt" count="
|
73651 |
-
<line num="64" type="stmt" count="
|
73652 |
-
<line num="65" type="stmt" count="
|
73653 |
-
<metrics loc="66" ncloc="31" classes="1" methods="2" coveredmethods="
|
73654 |
</file>
|
73655 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Feature.php">
|
73656 |
<class name="Feature" namespace="Boldgrid\Library\Library\Ui">
|
@@ -73675,22 +72166,6 @@
|
|
73675 |
<line num="79" type="stmt" count="0"/>
|
73676 |
<metrics loc="80" ncloc="32" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="15" coveredstatements="0" elements="17" coveredelements="0"/>
|
73677 |
</file>
|
73678 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Page.php">
|
73679 |
-
<class name="Page" namespace="Boldgrid\Library\Library\Ui">
|
73680 |
-
<metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="0" elements="10" coveredelements="0"/>
|
73681 |
-
</class>
|
73682 |
-
<line num="26" type="method" name="enqueueScripts" visibility="public" complexity="1" crap="2" count="0"/>
|
73683 |
-
<line num="27" type="stmt" count="0"/>
|
73684 |
-
<line num="29" type="stmt" count="0"/>
|
73685 |
-
<line num="30" type="stmt" count="0"/>
|
73686 |
-
<line num="31" type="stmt" count="0"/>
|
73687 |
-
<line num="32" type="stmt" count="0"/>
|
73688 |
-
<line num="33" type="stmt" count="0"/>
|
73689 |
-
<line num="34" type="stmt" count="0"/>
|
73690 |
-
<line num="36" type="stmt" count="0"/>
|
73691 |
-
<line num="37" type="stmt" count="0"/>
|
73692 |
-
<metrics loc="38" ncloc="19" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="0" elements="10" coveredelements="0"/>
|
73693 |
-
</file>
|
73694 |
</package>
|
73695 |
<package name="Boldgrid\Library\Library\Usage">
|
73696 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Usage/Helper.php">
|
@@ -74681,13 +73156,13 @@
|
|
74681 |
<line num="84" type="stmt" count="0"/>
|
74682 |
<line num="85" type="stmt" count="0"/>
|
74683 |
<line num="87" type="stmt" count="0"/>
|
74684 |
-
<line num="100" type="method" name="getWpFilesystem" visibility="public" complexity="2" crap="2.50" count="
|
74685 |
-
<line num="101" type="stmt" count="
|
74686 |
-
<line num="104" type="stmt" count="
|
74687 |
<line num="105" type="stmt" count="0"/>
|
74688 |
<line num="106" type="stmt" count="0"/>
|
74689 |
<line num="107" type="stmt" count="0"/>
|
74690 |
-
<line num="109" type="stmt" count="
|
74691 |
<line num="120" type="method" name="getContents" visibility="public" complexity="3" crap="12" count="0"/>
|
74692 |
<line num="121" type="stmt" count="0"/>
|
74693 |
<line num="123" type="stmt" count="0"/>
|
@@ -74903,7 +73378,7 @@
|
|
74903 |
</file>
|
74904 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Library/test-activity.php">
|
74905 |
<class name="Test_Activty" namespace="global" fullPackage="Test">
|
74906 |
-
<metrics complexity="
|
74907 |
</class>
|
74908 |
<line num="30" type="method" name="setup" visibility="public" complexity="1" crap="2" count="0"/>
|
74909 |
<line num="31" type="stmt" count="0"/>
|
@@ -74936,30 +73411,34 @@
|
|
74936 |
<line num="88" type="stmt" count="0"/>
|
74937 |
<line num="90" type="stmt" count="0"/>
|
74938 |
<line num="91" type="stmt" count="0"/>
|
74939 |
-
<line num="
|
74940 |
-
<line num="102" type="stmt" count="0"/>
|
74941 |
<line num="104" type="stmt" count="0"/>
|
74942 |
-
<line num="
|
74943 |
-
<line num="114" type="method" name="testGetPluginActivities" visibility="public" complexity="1" crap="2" count="0"/>
|
74944 |
<line num="115" type="stmt" count="0"/>
|
74945 |
<line num="117" type="stmt" count="0"/>
|
74946 |
<line num="118" type="stmt" count="0"/>
|
74947 |
-
<line num="
|
74948 |
-
<line num="
|
74949 |
-
<line num="
|
74950 |
-
<line num="
|
74951 |
-
<line num="
|
74952 |
-
<line num="
|
74953 |
-
<line num="
|
74954 |
-
<line num="
|
74955 |
-
<line num="
|
74956 |
-
<line num="
|
74957 |
-
<line num="
|
74958 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
74959 |
</file>
|
74960 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Library/test-rating-prompt.php">
|
74961 |
<class name="Test_Rating_Prompt" namespace="global" fullPackage="Test.Rating">
|
74962 |
-
<metrics complexity="
|
74963 |
</class>
|
74964 |
<line num="56" type="method" name="reset" visibility="public" complexity="1" crap="2" count="0"/>
|
74965 |
<line num="57" type="stmt" count="0"/>
|
@@ -75076,257 +73555,513 @@
|
|
75076 |
<line num="203" type="stmt" count="0"/>
|
75077 |
<line num="204" type="stmt" count="0"/>
|
75078 |
<line num="205" type="stmt" count="0"/>
|
75079 |
-
<line num="212" type="method" name="
|
75080 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75081 |
<line num="220" type="stmt" count="0"/>
|
75082 |
<line num="221" type="stmt" count="0"/>
|
75083 |
<line num="222" type="stmt" count="0"/>
|
75084 |
<line num="223" type="stmt" count="0"/>
|
75085 |
<line num="224" type="stmt" count="0"/>
|
75086 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
75087 |
<line num="233" type="stmt" count="0"/>
|
75088 |
-
<line num="234" type="stmt" count="0"/>
|
75089 |
-
<line num="235" type="stmt" count="0"/>
|
75090 |
<line num="236" type="stmt" count="0"/>
|
75091 |
<line num="237" type="stmt" count="0"/>
|
75092 |
-
<line num="
|
75093 |
-
<line num="
|
75094 |
-
<line num="
|
75095 |
-
<line num="
|
75096 |
-
<line num="
|
75097 |
-
<line num="
|
75098 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75099 |
<line num="262" type="stmt" count="0"/>
|
75100 |
-
<line num="264" type="stmt" count="0"/>
|
75101 |
<line num="265" type="stmt" count="0"/>
|
75102 |
<line num="266" type="stmt" count="0"/>
|
75103 |
-
<line num="
|
75104 |
-
<line num="268" type="stmt" count="0"/>
|
75105 |
<line num="270" type="stmt" count="0"/>
|
75106 |
<line num="271" type="stmt" count="0"/>
|
75107 |
-
<line num="274" type="
|
|
|
75108 |
<line num="276" type="stmt" count="0"/>
|
75109 |
-
<line num="277" type="stmt" count="0"/>
|
75110 |
<line num="278" type="stmt" count="0"/>
|
75111 |
<line num="279" type="stmt" count="0"/>
|
75112 |
<line num="280" type="stmt" count="0"/>
|
|
|
75113 |
<line num="282" type="stmt" count="0"/>
|
75114 |
-
<line num="
|
75115 |
-
<line num="
|
75116 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75117 |
<line num="297" type="stmt" count="0"/>
|
75118 |
<line num="299" type="stmt" count="0"/>
|
|
|
|
|
75119 |
<line num="302" type="stmt" count="0"/>
|
75120 |
<line num="303" type="stmt" count="0"/>
|
75121 |
-
<line num="
|
75122 |
-
<line num="
|
|
|
75123 |
<line num="309" type="stmt" count="0"/>
|
75124 |
<line num="310" type="stmt" count="0"/>
|
|
|
75125 |
<line num="312" type="stmt" count="0"/>
|
75126 |
-
<line num="
|
75127 |
-
<line num="315" type="stmt" count="0"/>
|
75128 |
-
<line num="318" type="stmt" count="0"/>
|
75129 |
-
<line num="319" type="stmt" count="0"/>
|
75130 |
-
<line num="320" type="stmt" count="0"/>
|
75131 |
<line num="321" type="stmt" count="0"/>
|
|
|
75132 |
<line num="323" type="stmt" count="0"/>
|
75133 |
<line num="324" type="stmt" count="0"/>
|
75134 |
-
<line num="
|
75135 |
-
<line num="
|
|
|
|
|
|
|
75136 |
<line num="334" type="stmt" count="0"/>
|
|
|
75137 |
<line num="336" type="stmt" count="0"/>
|
75138 |
-
<line num="
|
75139 |
-
<line num="
|
75140 |
-
<line num="
|
75141 |
-
<line num="
|
75142 |
-
<line num="349" type="
|
75143 |
-
<line num="350" type="stmt" count="0"/>
|
75144 |
-
<line num="357" type="method" name="testIsPluginDismissed" visibility="public" complexity="1" crap="2" count="0"/>
|
75145 |
<line num="359" type="stmt" count="0"/>
|
|
|
75146 |
<line num="361" type="stmt" count="0"/>
|
|
|
|
|
75147 |
<line num="364" type="stmt" count="0"/>
|
75148 |
<line num="365" type="stmt" count="0"/>
|
75149 |
<line num="366" type="stmt" count="0"/>
|
75150 |
<line num="367" type="stmt" count="0"/>
|
75151 |
-
<line num="369" type="stmt" count="0"/>
|
75152 |
-
<line num="372" type="stmt" count="0"/>
|
75153 |
-
<line num="373" type="stmt" count="0"/>
|
75154 |
-
<line num="374" type="stmt" count="0"/>
|
75155 |
-
<line num="375" type="stmt" count="0"/>
|
75156 |
-
<line num="377" type="stmt" count="0"/>
|
75157 |
<line num="378" type="stmt" count="0"/>
|
75158 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
75159 |
<line num="386" type="stmt" count="0"/>
|
75160 |
-
<line num="
|
75161 |
-
<line num="
|
75162 |
-
<line num="391" type="stmt" count="0"/>
|
75163 |
-
<line num="398" type="method" name="testGetPluginPrompts" visibility="public" complexity="1" crap="2" count="0"/>
|
75164 |
<line num="399" type="stmt" count="0"/>
|
|
|
75165 |
<line num="401" type="stmt" count="0"/>
|
|
|
75166 |
<line num="403" type="stmt" count="0"/>
|
75167 |
<line num="404" type="stmt" count="0"/>
|
75168 |
-
<line num="405" type="stmt" count="0"/>
|
75169 |
-
<line num="
|
75170 |
-
<line num="
|
75171 |
-
<line num="
|
75172 |
-
<line num="
|
75173 |
<line num="420" type="stmt" count="0"/>
|
|
|
75174 |
<line num="422" type="stmt" count="0"/>
|
75175 |
<line num="423" type="stmt" count="0"/>
|
75176 |
-
<line num="
|
75177 |
-
<line num="
|
75178 |
-
<line num="428" type="
|
75179 |
<line num="429" type="stmt" count="0"/>
|
75180 |
<line num="430" type="stmt" count="0"/>
|
75181 |
<line num="431" type="stmt" count="0"/>
|
|
|
75182 |
<line num="433" type="stmt" count="0"/>
|
75183 |
<line num="434" type="stmt" count="0"/>
|
|
|
75184 |
<line num="437" type="stmt" count="0"/>
|
75185 |
-
<line num="438" type="stmt" count="0"/>
|
75186 |
<line num="439" type="stmt" count="0"/>
|
75187 |
<line num="440" type="stmt" count="0"/>
|
75188 |
<line num="441" type="stmt" count="0"/>
|
75189 |
-
<line num="442" type="stmt" count="0"/>
|
75190 |
<line num="443" type="stmt" count="0"/>
|
75191 |
<line num="444" type="stmt" count="0"/>
|
75192 |
-
<line num="
|
75193 |
-
<line num="447" type="stmt" count="0"/>
|
75194 |
<line num="448" type="stmt" count="0"/>
|
75195 |
-
<line num="
|
75196 |
-
<line num="
|
75197 |
-
<line num="
|
75198 |
-
<line num="
|
75199 |
-
<
|
75200 |
-
<line num="465" type="stmt" count="0"/>
|
75201 |
-
<line num="468" type="stmt" count="0"/>
|
75202 |
-
<line num="469" type="stmt" count="0"/>
|
75203 |
-
<line num="470" type="stmt" count="0"/>
|
75204 |
-
<line num="479" type="method" name="testSavePrompts" visibility="public" complexity="1" crap="2" count="0"/>
|
75205 |
-
<line num="480" type="stmt" count="0"/>
|
75206 |
-
<line num="482" type="stmt" count="0"/>
|
75207 |
-
<line num="484" type="stmt" count="0"/>
|
75208 |
-
<line num="486" type="stmt" count="0"/>
|
75209 |
-
<line num="488" type="stmt" count="0"/>
|
75210 |
-
<line num="489" type="stmt" count="0"/>
|
75211 |
-
<line num="498" type="method" name="testUpdatePromptKey" visibility="public" complexity="1" crap="2" count="0"/>
|
75212 |
-
<line num="499" type="stmt" count="0"/>
|
75213 |
-
<line num="501" type="stmt" count="0"/>
|
75214 |
-
<line num="502" type="stmt" count="0"/>
|
75215 |
-
<line num="503" type="stmt" count="0"/>
|
75216 |
-
<line num="505" type="stmt" count="0"/>
|
75217 |
-
<line num="507" type="stmt" count="0"/>
|
75218 |
-
<line num="509" type="stmt" count="0"/>
|
75219 |
-
<line num="510" type="stmt" count="0"/>
|
75220 |
-
<metrics loc="511" ncloc="317" classes="1" methods="15" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="241" coveredstatements="0" elements="256" coveredelements="0"/>
|
75221 |
</file>
|
75222 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Plugin/test-
|
75223 |
-
<class name="
|
75224 |
-
<metrics complexity="
|
75225 |
</class>
|
75226 |
-
<line num="
|
75227 |
-
<line num="34" type="stmt" count="0"/>
|
75228 |
-
<line num="35" type="stmt" count="0"/>
|
75229 |
-
<line num="36" type="stmt" count="0"/>
|
75230 |
-
<line num="37" type="stmt" count="0"/>
|
75231 |
-
<line num="38" type="stmt" count="0"/>
|
75232 |
-
<line num="39" type="stmt" count="0"/>
|
75233 |
-
<line num="40" type="stmt" count="0"/>
|
75234 |
-
<line num="41" type="stmt" count="0"/>
|
75235 |
<line num="42" type="stmt" count="0"/>
|
75236 |
<line num="43" type="stmt" count="0"/>
|
|
|
75237 |
<line num="45" type="stmt" count="0"/>
|
75238 |
<line num="46" type="stmt" count="0"/>
|
75239 |
-
<line num="
|
75240 |
-
<line num="
|
75241 |
-
<line num="55" type="stmt" count="0"/>
|
75242 |
-
<line num="56" type="stmt" count="0"/>
|
75243 |
-
<line num="57" type="stmt" count="0"/>
|
75244 |
-
<line num="58" type="stmt" count="0"/>
|
75245 |
-
<line num="59" type="stmt" count="0"/>
|
75246 |
-
<line num="66" type="method" name="test_fileFromSlug" visibility="public" complexity="1" crap="2" count="0"/>
|
75247 |
-
<line num="67" type="stmt" count="0"/>
|
75248 |
-
<line num="68" type="stmt" count="0"/>
|
75249 |
-
<line num="69" type="stmt" count="0"/>
|
75250 |
-
<line num="70" type="stmt" count="0"/>
|
75251 |
-
<line num="71" type="stmt" count="0"/>
|
75252 |
-
<line num="78" type="method" name="test_slugFromFile" visibility="public" complexity="1" crap="2" count="0"/>
|
75253 |
-
<line num="79" type="stmt" count="0"/>
|
75254 |
-
<line num="80" type="stmt" count="0"/>
|
75255 |
-
<line num="81" type="stmt" count="0"/>
|
75256 |
-
<metrics loc="82" ncloc="44" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="26" coveredstatements="0" elements="30" coveredelements="0"/>
|
75257 |
-
</file>
|
75258 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Plugin/test-notice.php">
|
75259 |
-
<class name="Test_BoldGrid_Library_Library_Plugin_Notice" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Plugin">
|
75260 |
-
<metrics complexity="13" methods="13" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="98" coveredstatements="0" elements="111" coveredelements="0"/>
|
75261 |
-
</class>
|
75262 |
-
<line num="25" type="method" name="setUp" visibility="public" complexity="1" crap="2" count="0"/>
|
75263 |
-
<line num="26" type="stmt" count="0"/>
|
75264 |
-
<line num="27" type="stmt" count="0"/>
|
75265 |
-
<line num="28" type="stmt" count="0"/>
|
75266 |
-
<line num="29" type="stmt" count="0"/>
|
75267 |
-
<line num="30" type="stmt" count="0"/>
|
75268 |
-
<line num="31" type="stmt" count="0"/>
|
75269 |
-
<line num="32" type="stmt" count="0"/>
|
75270 |
-
<line num="34" type="stmt" count="0"/>
|
75271 |
-
<line num="35" type="stmt" count="0"/>
|
75272 |
-
<line num="36" type="stmt" count="0"/>
|
75273 |
-
<line num="37" type="stmt" count="0"/>
|
75274 |
-
<line num="38" type="stmt" count="0"/>
|
75275 |
-
<line num="39" type="stmt" count="0"/>
|
75276 |
-
<line num="40" type="stmt" count="0"/>
|
75277 |
-
<line num="41" type="stmt" count="0"/>
|
75278 |
-
<line num="42" type="stmt" count="0"/>
|
75279 |
-
<line num="49" type="method" name="test_construct" visibility="public" complexity="1" crap="2" count="0"/>
|
75280 |
<line num="50" type="stmt" count="0"/>
|
75281 |
<line num="51" type="stmt" count="0"/>
|
|
|
75282 |
<line num="53" type="stmt" count="0"/>
|
75283 |
<line num="54" type="stmt" count="0"/>
|
75284 |
<line num="55" type="stmt" count="0"/>
|
75285 |
<line num="56" type="stmt" count="0"/>
|
75286 |
<line num="57" type="stmt" count="0"/>
|
75287 |
<line num="58" type="stmt" count="0"/>
|
75288 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
75289 |
<line num="66" type="stmt" count="0"/>
|
75290 |
<line num="67" type="stmt" count="0"/>
|
|
|
75291 |
<line num="69" type="stmt" count="0"/>
|
75292 |
<line num="70" type="stmt" count="0"/>
|
75293 |
<line num="71" type="stmt" count="0"/>
|
75294 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
75295 |
<line num="79" type="stmt" count="0"/>
|
75296 |
<line num="80" type="stmt" count="0"/>
|
75297 |
-
<line num="
|
75298 |
-
<line num="
|
75299 |
-
<line num="
|
75300 |
-
<line num="91" type="
|
75301 |
<line num="92" type="stmt" count="0"/>
|
75302 |
-
<line num="93" type="stmt" count="0"/>
|
75303 |
<line num="95" type="stmt" count="0"/>
|
75304 |
<line num="96" type="stmt" count="0"/>
|
75305 |
<line num="97" type="stmt" count="0"/>
|
75306 |
<line num="98" type="stmt" count="0"/>
|
75307 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
75308 |
<line num="106" type="stmt" count="0"/>
|
75309 |
-
<line num="
|
75310 |
-
<line num="
|
75311 |
-
<line num="
|
75312 |
-
<line num="
|
75313 |
-
<line num="118" type="
|
75314 |
-
<line num="
|
75315 |
-
<line num="120" type="stmt" count="0"/>
|
75316 |
-
<line num="122" type="stmt" count="0"/>
|
75317 |
-
<line num="123" type="stmt" count="0"/>
|
75318 |
<line num="124" type="stmt" count="0"/>
|
75319 |
<line num="125" type="stmt" count="0"/>
|
75320 |
-
<line num="
|
|
|
|
|
|
|
|
|
75321 |
<line num="133" type="stmt" count="0"/>
|
75322 |
<line num="134" type="stmt" count="0"/>
|
|
|
75323 |
<line num="136" type="stmt" count="0"/>
|
75324 |
<line num="137" type="stmt" count="0"/>
|
75325 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
75326 |
<line num="145" type="stmt" count="0"/>
|
75327 |
<line num="146" type="stmt" count="0"/>
|
75328 |
-
<line num="
|
75329 |
-
<line num="150" type="
|
75330 |
<line num="151" type="stmt" count="0"/>
|
75331 |
<line num="152" type="stmt" count="0"/>
|
75332 |
<line num="153" type="stmt" count="0"/>
|
@@ -75334,222 +74069,201 @@
|
|
75334 |
<line num="155" type="stmt" count="0"/>
|
75335 |
<line num="156" type="stmt" count="0"/>
|
75336 |
<line num="157" type="stmt" count="0"/>
|
|
|
75337 |
<line num="159" type="stmt" count="0"/>
|
75338 |
<line num="160" type="stmt" count="0"/>
|
75339 |
<line num="161" type="stmt" count="0"/>
|
75340 |
-
<line num="
|
|
|
|
|
|
|
|
|
75341 |
<line num="169" type="stmt" count="0"/>
|
75342 |
<line num="170" type="stmt" count="0"/>
|
75343 |
-
<line num="
|
75344 |
<line num="174" type="stmt" count="0"/>
|
75345 |
<line num="175" type="stmt" count="0"/>
|
75346 |
-
<line num="
|
|
|
|
|
|
|
|
|
75347 |
<line num="183" type="stmt" count="0"/>
|
75348 |
<line num="184" type="stmt" count="0"/>
|
75349 |
<line num="185" type="stmt" count="0"/>
|
75350 |
<line num="186" type="stmt" count="0"/>
|
75351 |
<line num="187" type="stmt" count="0"/>
|
75352 |
-
<line num="
|
75353 |
-
<line num="
|
75354 |
-
<line num="191" type="stmt" count="0"/>
|
75355 |
<line num="192" type="stmt" count="0"/>
|
75356 |
<line num="193" type="stmt" count="0"/>
|
75357 |
<line num="194" type="stmt" count="0"/>
|
75358 |
<line num="195" type="stmt" count="0"/>
|
75359 |
<line num="196" type="stmt" count="0"/>
|
75360 |
<line num="198" type="stmt" count="0"/>
|
75361 |
-
<line num="
|
75362 |
-
<line num="
|
75363 |
-
<line num="
|
|
|
|
|
75364 |
<line num="208" type="stmt" count="0"/>
|
|
|
75365 |
<line num="210" type="stmt" count="0"/>
|
75366 |
<line num="211" type="stmt" count="0"/>
|
75367 |
-
<line num="
|
75368 |
-
<line num="
|
75369 |
-
<line num="
|
75370 |
-
<line num="
|
75371 |
-
<line num="
|
75372 |
-
<
|
75373 |
-
<metrics loc="225" ncloc="147" classes="1" methods="13" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="98" coveredstatements="0" elements="111" coveredelements="0"/>
|
75374 |
-
</file>
|
75375 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Plugin/test-page.php">
|
75376 |
-
<class name="Test_BoldGrid_Library_Library_Plugin_Page" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Plugin">
|
75377 |
-
<metrics complexity="5" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="52" coveredstatements="0" elements="57" coveredelements="0"/>
|
75378 |
-
</class>
|
75379 |
-
<line num="25" type="method" name="setUp" visibility="public" complexity="1" crap="2" count="0"/>
|
75380 |
-
<line num="26" type="stmt" count="0"/>
|
75381 |
-
<line num="27" type="stmt" count="0"/>
|
75382 |
-
<line num="28" type="stmt" count="0"/>
|
75383 |
-
<line num="29" type="stmt" count="0"/>
|
75384 |
-
<line num="30" type="stmt" count="0"/>
|
75385 |
-
<line num="31" type="stmt" count="0"/>
|
75386 |
-
<line num="32" type="stmt" count="0"/>
|
75387 |
-
<line num="33" type="stmt" count="0"/>
|
75388 |
-
<line num="34" type="stmt" count="0"/>
|
75389 |
-
<line num="35" type="stmt" count="0"/>
|
75390 |
-
<line num="36" type="stmt" count="0"/>
|
75391 |
-
<line num="37" type="stmt" count="0"/>
|
75392 |
-
<line num="38" type="stmt" count="0"/>
|
75393 |
-
<line num="39" type="stmt" count="0"/>
|
75394 |
-
<line num="40" type="stmt" count="0"/>
|
75395 |
-
<line num="41" type="stmt" count="0"/>
|
75396 |
-
<line num="42" type="stmt" count="0"/>
|
75397 |
-
<line num="43" type="stmt" count="0"/>
|
75398 |
-
<line num="44" type="stmt" count="0"/>
|
75399 |
-
<line num="45" type="stmt" count="0"/>
|
75400 |
-
<line num="46" type="stmt" count="0"/>
|
75401 |
-
<line num="47" type="stmt" count="0"/>
|
75402 |
-
<line num="48" type="stmt" count="0"/>
|
75403 |
-
<line num="50" type="stmt" count="0"/>
|
75404 |
-
<line num="52" type="stmt" count="0"/>
|
75405 |
-
<line num="53" type="stmt" count="0"/>
|
75406 |
-
<line num="54" type="stmt" count="0"/>
|
75407 |
-
<line num="55" type="stmt" count="0"/>
|
75408 |
-
<line num="56" type="stmt" count="0"/>
|
75409 |
-
<line num="57" type="stmt" count="0"/>
|
75410 |
-
<line num="58" type="stmt" count="0"/>
|
75411 |
-
<line num="59" type="stmt" count="0"/>
|
75412 |
-
<line num="60" type="stmt" count="0"/>
|
75413 |
-
<line num="67" type="method" name="test_construct" visibility="public" complexity="1" crap="2" count="0"/>
|
75414 |
-
<line num="68" type="stmt" count="0"/>
|
75415 |
-
<line num="69" type="stmt" count="0"/>
|
75416 |
-
<line num="71" type="stmt" count="0"/>
|
75417 |
-
<line num="72" type="stmt" count="0"/>
|
75418 |
-
<line num="79" type="method" name="test_getNotices" visibility="public" complexity="1" crap="2" count="0"/>
|
75419 |
-
<line num="80" type="stmt" count="0"/>
|
75420 |
-
<line num="81" type="stmt" count="0"/>
|
75421 |
-
<line num="83" type="stmt" count="0"/>
|
75422 |
-
<line num="84" type="stmt" count="0"/>
|
75423 |
-
<line num="91" type="method" name="test_getNoticeById" visibility="public" complexity="1" crap="2" count="0"/>
|
75424 |
-
<line num="92" type="stmt" count="0"/>
|
75425 |
-
<line num="93" type="stmt" count="0"/>
|
75426 |
-
<line num="95" type="stmt" count="0"/>
|
75427 |
-
<line num="97" type="stmt" count="0"/>
|
75428 |
-
<line num="99" type="stmt" count="0"/>
|
75429 |
-
<line num="101" type="stmt" count="0"/>
|
75430 |
-
<line num="102" type="stmt" count="0"/>
|
75431 |
-
<line num="109" type="method" name="test_getSlug" visibility="public" complexity="1" crap="2" count="0"/>
|
75432 |
-
<line num="110" type="stmt" count="0"/>
|
75433 |
-
<line num="111" type="stmt" count="0"/>
|
75434 |
-
<line num="113" type="stmt" count="0"/>
|
75435 |
-
<line num="114" type="stmt" count="0"/>
|
75436 |
-
<metrics loc="115" ncloc="77" classes="1" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="52" coveredstatements="0" elements="57" coveredelements="0"/>
|
75437 |
</file>
|
75438 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Plugin/test-plugin.php">
|
75439 |
<class name="Test_BoldGrid_Library_Library_Plugin_Plugin" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Plugin">
|
75440 |
-
<metrics complexity="17" methods="
|
75441 |
</class>
|
75442 |
-
<line num="
|
75443 |
-
<line num="26" type="stmt" count="0"/>
|
75444 |
-
<line num="27" type="stmt" count="0"/>
|
75445 |
-
<line num="28" type="stmt" count="0"/>
|
75446 |
-
<line num="29" type="stmt" count="0"/>
|
75447 |
-
<line num="30" type="stmt" count="0"/>
|
75448 |
-
<line num="31" type="stmt" count="0"/>
|
75449 |
-
<line num="32" type="stmt" count="0"/>
|
75450 |
-
<line num="33" type="stmt" count="0"/>
|
75451 |
-
<line num="34" type="stmt" count="0"/>
|
75452 |
-
<line num="35" type="stmt" count="0"/>
|
75453 |
-
<line num="36" type="stmt" count="0"/>
|
75454 |
-
<line num="37" type="stmt" count="0"/>
|
75455 |
-
<line num="38" type="stmt" count="0"/>
|
75456 |
-
<line num="39" type="stmt" count="0"/>
|
75457 |
-
<line num="40" type="stmt" count="0"/>
|
75458 |
-
<line num="41" type="stmt" count="0"/>
|
75459 |
-
<line num="42" type="stmt" count="0"/>
|
75460 |
<line num="43" type="stmt" count="0"/>
|
75461 |
-
<line num="44" type="stmt" count="0"/>
|
75462 |
<line num="45" type="stmt" count="0"/>
|
75463 |
<line num="46" type="stmt" count="0"/>
|
75464 |
<line num="47" type="stmt" count="0"/>
|
75465 |
<line num="48" type="stmt" count="0"/>
|
75466 |
-
<line num="
|
75467 |
-
<line num="
|
75468 |
-
<line num="53" type="stmt" count="0"/>
|
75469 |
-
<line num="54" type="stmt" count="0"/>
|
75470 |
-
<line num="55" type="stmt" count="0"/>
|
75471 |
-
<line num="56" type="stmt" count="0"/>
|
75472 |
<line num="57" type="stmt" count="0"/>
|
75473 |
-
<line num="58" type="stmt" count="0"/>
|
75474 |
<line num="59" type="stmt" count="0"/>
|
75475 |
<line num="60" type="stmt" count="0"/>
|
75476 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
75477 |
<line num="68" type="stmt" count="0"/>
|
75478 |
<line num="69" type="stmt" count="0"/>
|
75479 |
<line num="70" type="stmt" count="0"/>
|
75480 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
75481 |
<line num="78" type="stmt" count="0"/>
|
75482 |
<line num="79" type="stmt" count="0"/>
|
75483 |
<line num="80" type="stmt" count="0"/>
|
|
|
75484 |
<line num="82" type="stmt" count="0"/>
|
75485 |
<line num="83" type="stmt" count="0"/>
|
75486 |
-
<line num="90" type="method" name="
|
75487 |
<line num="91" type="stmt" count="0"/>
|
75488 |
-
<line num="
|
75489 |
-
<line num="94" type="stmt" count="0"/>
|
75490 |
<line num="95" type="stmt" count="0"/>
|
75491 |
-
<line num="
|
75492 |
-
<line num="103" type="
|
75493 |
-
<line num="
|
75494 |
<line num="106" type="stmt" count="0"/>
|
75495 |
<line num="107" type="stmt" count="0"/>
|
75496 |
-
<line num="
|
|
|
|
|
|
|
|
|
75497 |
<line num="115" type="stmt" count="0"/>
|
75498 |
<line num="116" type="stmt" count="0"/>
|
|
|
75499 |
<line num="118" type="stmt" count="0"/>
|
75500 |
<line num="119" type="stmt" count="0"/>
|
75501 |
-
<line num="
|
75502 |
-
<line num="
|
75503 |
-
<line num="
|
75504 |
-
<line num="
|
75505 |
-
<line num="
|
75506 |
-
<line num="
|
75507 |
-
<line num="
|
|
|
|
|
|
|
|
|
75508 |
<line num="140" type="stmt" count="0"/>
|
75509 |
<line num="141" type="stmt" count="0"/>
|
|
|
75510 |
<line num="143" type="stmt" count="0"/>
|
75511 |
<line num="144" type="stmt" count="0"/>
|
75512 |
-
<line num="
|
75513 |
-
<line num="
|
75514 |
-
<line num="
|
75515 |
-
<line num="
|
75516 |
-
<line num="
|
75517 |
-
<line num="
|
75518 |
-
<line num="
|
|
|
|
|
|
|
|
|
75519 |
<line num="165" type="stmt" count="0"/>
|
75520 |
-
<line num="
|
75521 |
-
<line num="
|
75522 |
-
<line num="
|
|
|
|
|
|
|
75523 |
<line num="176" type="stmt" count="0"/>
|
75524 |
<line num="177" type="stmt" count="0"/>
|
75525 |
<line num="178" type="stmt" count="0"/>
|
|
|
75526 |
<line num="180" type="stmt" count="0"/>
|
75527 |
<line num="181" type="stmt" count="0"/>
|
75528 |
-
<line num="
|
75529 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
75530 |
<line num="190" type="stmt" count="0"/>
|
|
|
75531 |
<line num="192" type="stmt" count="0"/>
|
75532 |
-
<line num="
|
75533 |
-
<line num="
|
75534 |
-
<line num="
|
|
|
|
|
|
|
75535 |
<line num="202" type="stmt" count="0"/>
|
75536 |
<line num="204" type="stmt" count="0"/>
|
75537 |
<line num="205" type="stmt" count="0"/>
|
75538 |
<line num="206" type="stmt" count="0"/>
|
75539 |
-
<line num="
|
75540 |
-
<line num="
|
|
|
|
|
|
|
|
|
75541 |
<line num="215" type="stmt" count="0"/>
|
75542 |
-
<line num="
|
75543 |
<line num="218" type="stmt" count="0"/>
|
|
|
75544 |
<line num="220" type="stmt" count="0"/>
|
|
|
75545 |
<line num="222" type="stmt" count="0"/>
|
75546 |
<line num="223" type="stmt" count="0"/>
|
75547 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
75548 |
<line num="231" type="stmt" count="0"/>
|
75549 |
<line num="232" type="stmt" count="0"/>
|
75550 |
-
<line num="
|
75551 |
-
<line num="235" type="
|
75552 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
75553 |
<line num="243" type="stmt" count="0"/>
|
75554 |
<line num="244" type="stmt" count="0"/>
|
75555 |
<line num="245" type="stmt" count="0"/>
|
@@ -75557,169 +74271,15 @@
|
|
75557 |
<line num="248" type="stmt" count="0"/>
|
75558 |
<line num="249" type="stmt" count="0"/>
|
75559 |
<line num="250" type="stmt" count="0"/>
|
75560 |
-
<
|
75561 |
-
|
75562 |
-
|
75563 |
-
<
|
75564 |
-
|
75565 |
-
|
75566 |
-
<line num="
|
75567 |
-
<line num="
|
75568 |
-
<
|
75569 |
-
<line num="35" type="stmt" count="0"/>
|
75570 |
-
<line num="36" type="stmt" count="0"/>
|
75571 |
-
<line num="37" type="stmt" count="0"/>
|
75572 |
-
<line num="38" type="stmt" count="0"/>
|
75573 |
-
<line num="39" type="stmt" count="0"/>
|
75574 |
-
<line num="40" type="stmt" count="0"/>
|
75575 |
-
<line num="41" type="stmt" count="0"/>
|
75576 |
-
<line num="42" type="stmt" count="0"/>
|
75577 |
-
<line num="43" type="stmt" count="0"/>
|
75578 |
-
<line num="44" type="stmt" count="0"/>
|
75579 |
-
<line num="45" type="stmt" count="0"/>
|
75580 |
-
<line num="46" type="stmt" count="0"/>
|
75581 |
-
<line num="47" type="stmt" count="0"/>
|
75582 |
-
<line num="48" type="stmt" count="0"/>
|
75583 |
-
<line num="49" type="stmt" count="0"/>
|
75584 |
-
<line num="50" type="stmt" count="0"/>
|
75585 |
-
<line num="51" type="stmt" count="0"/>
|
75586 |
-
<line num="53" type="stmt" count="0"/>
|
75587 |
-
<line num="54" type="stmt" count="0"/>
|
75588 |
-
<line num="56" type="stmt" count="0"/>
|
75589 |
-
<line num="58" type="stmt" count="0"/>
|
75590 |
-
<line num="59" type="stmt" count="0"/>
|
75591 |
-
<line num="66" type="method" name="test_getAllPlugins" visibility="public" complexity="2" crap="6" count="0"/>
|
75592 |
-
<line num="67" type="stmt" count="0"/>
|
75593 |
-
<line num="68" type="stmt" count="0"/>
|
75594 |
-
<line num="69" type="stmt" count="0"/>
|
75595 |
-
<line num="70" type="stmt" count="0"/>
|
75596 |
-
<line num="71" type="stmt" count="0"/>
|
75597 |
-
<line num="73" type="stmt" count="0"/>
|
75598 |
-
<line num="74" type="stmt" count="0"/>
|
75599 |
-
<line num="75" type="stmt" count="0"/>
|
75600 |
-
<line num="82" type="method" name="test_getBySlug" visibility="public" complexity="4" crap="20" count="0"/>
|
75601 |
-
<line num="83" type="stmt" count="0"/>
|
75602 |
-
<line num="84" type="stmt" count="0"/>
|
75603 |
-
<line num="86" type="stmt" count="0"/>
|
75604 |
-
<line num="87" type="stmt" count="0"/>
|
75605 |
-
<line num="88" type="stmt" count="0"/>
|
75606 |
-
<line num="89" type="stmt" count="0"/>
|
75607 |
-
<line num="90" type="stmt" count="0"/>
|
75608 |
-
<line num="91" type="stmt" count="0"/>
|
75609 |
-
<line num="92" type="stmt" count="0"/>
|
75610 |
-
<line num="93" type="stmt" count="0"/>
|
75611 |
-
<line num="95" type="stmt" count="0"/>
|
75612 |
-
<line num="97" type="stmt" count="0"/>
|
75613 |
-
<line num="98" type="stmt" count="0"/>
|
75614 |
-
<metrics loc="100" ncloc="72" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="45" coveredstatements="0" elements="48" coveredelements="0"/>
|
75615 |
-
</file>
|
75616 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Theme/test-theme.php">
|
75617 |
-
<class name="Test_BoldGrid_Library_Library_Theme_Theme" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Theme">
|
75618 |
-
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="0" elements="18" coveredelements="0"/>
|
75619 |
-
</class>
|
75620 |
-
<line num="30" type="method" name="setUp" visibility="public" complexity="1" crap="2" count="0"/>
|
75621 |
-
<line num="32" type="stmt" count="0"/>
|
75622 |
-
<line num="33" type="stmt" count="0"/>
|
75623 |
-
<line num="34" type="stmt" count="0"/>
|
75624 |
-
<line num="35" type="stmt" count="0"/>
|
75625 |
-
<line num="36" type="stmt" count="0"/>
|
75626 |
-
<line num="37" type="stmt" count="0"/>
|
75627 |
-
<line num="38" type="stmt" count="0"/>
|
75628 |
-
<line num="39" type="stmt" count="0"/>
|
75629 |
-
<line num="40" type="stmt" count="0"/>
|
75630 |
-
<line num="41" type="stmt" count="0"/>
|
75631 |
-
<line num="42" type="stmt" count="0"/>
|
75632 |
-
<line num="44" type="method" name="test_constructor" visibility="public" complexity="1" crap="2" count="0"/>
|
75633 |
-
<line num="45" type="stmt" count="0"/>
|
75634 |
-
<line num="46" type="stmt" count="0"/>
|
75635 |
-
<line num="47" type="stmt" count="0"/>
|
75636 |
-
<line num="48" type="stmt" count="0"/>
|
75637 |
-
<line num="49" type="stmt" count="0"/>
|
75638 |
-
<metrics loc="49" ncloc="29" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="0" elements="18" coveredelements="0"/>
|
75639 |
-
</file>
|
75640 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Theme/test-themes.php">
|
75641 |
-
<class name="Test_BoldGrid_Library_Library_Theme_Themes" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Theme">
|
75642 |
-
<metrics complexity="11" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="40" coveredstatements="0" elements="44" coveredelements="0"/>
|
75643 |
-
</class>
|
75644 |
-
<line num="32" type="method" name="setUp" visibility="public" complexity="5" crap="30" count="0"/>
|
75645 |
-
<line num="33" type="stmt" count="0"/>
|
75646 |
-
<line num="35" type="stmt" count="0"/>
|
75647 |
-
<line num="36" type="stmt" count="0"/>
|
75648 |
-
<line num="37" type="stmt" count="0"/>
|
75649 |
-
<line num="38" type="stmt" count="0"/>
|
75650 |
-
<line num="39" type="stmt" count="0"/>
|
75651 |
-
<line num="40" type="stmt" count="0"/>
|
75652 |
-
<line num="41" type="stmt" count="0"/>
|
75653 |
-
<line num="42" type="stmt" count="0"/>
|
75654 |
-
<line num="43" type="stmt" count="0"/>
|
75655 |
-
<line num="45" type="stmt" count="0"/>
|
75656 |
-
<line num="46" type="stmt" count="0"/>
|
75657 |
-
<line num="47" type="stmt" count="0"/>
|
75658 |
-
<line num="48" type="stmt" count="0"/>
|
75659 |
-
<line num="49" type="stmt" count="0"/>
|
75660 |
-
<line num="50" type="stmt" count="0"/>
|
75661 |
-
<line num="52" type="stmt" count="0"/>
|
75662 |
-
<line num="53" type="stmt" count="0"/>
|
75663 |
-
<line num="54" type="stmt" count="0"/>
|
75664 |
-
<line num="56" type="method" name="test_getList" visibility="public" complexity="2" crap="6" count="0"/>
|
75665 |
-
<line num="57" type="stmt" count="0"/>
|
75666 |
-
<line num="58" type="stmt" count="0"/>
|
75667 |
-
<line num="59" type="stmt" count="0"/>
|
75668 |
-
<line num="60" type="stmt" count="0"/>
|
75669 |
-
<line num="61" type="stmt" count="0"/>
|
75670 |
-
<line num="62" type="stmt" count="0"/>
|
75671 |
-
<line num="63" type="stmt" count="0"/>
|
75672 |
-
<line num="64" type="stmt" count="0"/>
|
75673 |
-
<line num="66" type="method" name="test_getFromStylesheet" visibility="public" complexity="3" crap="12" count="0"/>
|
75674 |
-
<line num="67" type="stmt" count="0"/>
|
75675 |
-
<line num="68" type="stmt" count="0"/>
|
75676 |
-
<line num="69" type="stmt" count="0"/>
|
75677 |
-
<line num="70" type="stmt" count="0"/>
|
75678 |
-
<line num="71" type="stmt" count="0"/>
|
75679 |
-
<line num="72" type="stmt" count="0"/>
|
75680 |
-
<line num="73" type="stmt" count="0"/>
|
75681 |
-
<line num="74" type="stmt" count="0"/>
|
75682 |
-
<line num="76" type="stmt" count="0"/>
|
75683 |
-
<line num="78" type="stmt" count="0"/>
|
75684 |
-
<line num="79" type="stmt" count="0"/>
|
75685 |
-
<line num="81" type="method" name="test_getActive" visibility="public" complexity="1" crap="2" count="0"/>
|
75686 |
-
<line num="82" type="stmt" count="0"/>
|
75687 |
-
<line num="83" type="stmt" count="0"/>
|
75688 |
-
<metrics loc="83" ncloc="65" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="40" coveredstatements="0" elements="44" coveredelements="0"/>
|
75689 |
-
</file>
|
75690 |
-
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Theme/test-update-data.php">
|
75691 |
-
<class name="Test_BoldGrid_Library_Library_Theme_UpdateData" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Theme">
|
75692 |
-
<metrics complexity="3" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="25" coveredstatements="0" elements="28" coveredelements="0"/>
|
75693 |
-
</class>
|
75694 |
-
<line num="32" type="method" name="setUp" visibility="public" complexity="1" crap="2" count="0"/>
|
75695 |
-
<line num="34" type="stmt" count="0"/>
|
75696 |
-
<line num="35" type="stmt" count="0"/>
|
75697 |
-
<line num="36" type="stmt" count="0"/>
|
75698 |
-
<line num="37" type="stmt" count="0"/>
|
75699 |
-
<line num="38" type="stmt" count="0"/>
|
75700 |
-
<line num="39" type="stmt" count="0"/>
|
75701 |
-
<line num="40" type="stmt" count="0"/>
|
75702 |
-
<line num="41" type="stmt" count="0"/>
|
75703 |
-
<line num="42" type="stmt" count="0"/>
|
75704 |
-
<line num="43" type="stmt" count="0"/>
|
75705 |
-
<line num="44" type="stmt" count="0"/>
|
75706 |
-
<line num="46" type="method" name="test_getResponseData" visibility="public" complexity="1" crap="2" count="0"/>
|
75707 |
-
<line num="47" type="stmt" count="0"/>
|
75708 |
-
<line num="48" type="stmt" count="0"/>
|
75709 |
-
<line num="49" type="stmt" count="0"/>
|
75710 |
-
<line num="50" type="stmt" count="0"/>
|
75711 |
-
<line num="51" type="stmt" count="0"/>
|
75712 |
-
<line num="52" type="stmt" count="0"/>
|
75713 |
-
<line num="53" type="stmt" count="0"/>
|
75714 |
-
<line num="54" type="stmt" count="0"/>
|
75715 |
-
<line num="56" type="method" name="test_getInformationTransient" visibility="public" complexity="1" crap="2" count="0"/>
|
75716 |
-
<line num="57" type="stmt" count="0"/>
|
75717 |
-
<line num="58" type="stmt" count="0"/>
|
75718 |
-
<line num="60" type="stmt" count="0"/>
|
75719 |
-
<line num="61" type="stmt" count="0"/>
|
75720 |
-
<line num="63" type="stmt" count="0"/>
|
75721 |
-
<line num="64" type="stmt" count="0"/>
|
75722 |
-
<metrics loc="64" ncloc="44" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="25" coveredstatements="0" elements="28" coveredelements="0"/>
|
75723 |
</file>
|
75724 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Util/test-plugin.php">
|
75725 |
<class name="Test_BoldGrid_Library_Util_Plugin" namespace="global" fullPackage="Test.BoldGrid.Library.Util">
|
@@ -75785,14 +74345,8 @@
|
|
75785 |
<line num="38" type="stmt" count="0"/>
|
75786 |
<line num="39" type="stmt" count="0"/>
|
75787 |
<line num="40" type="stmt" count="0"/>
|
75788 |
-
<line num="41" type="stmt" count="0"/>
|
75789 |
<line num="42" type="stmt" count="0"/>
|
75790 |
-
<
|
75791 |
-
<line num="44" type="stmt" count="0"/>
|
75792 |
-
<line num="45" type="stmt" count="0"/>
|
75793 |
-
<line num="46" type="stmt" count="0"/>
|
75794 |
-
<line num="48" type="stmt" count="0"/>
|
75795 |
-
<metrics loc="49" ncloc="38" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="34" coveredstatements="0" elements="34" coveredelements="0"/>
|
75796 |
</file>
|
75797 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/test-reseller.php">
|
75798 |
<class name="Test_BoldGrid_Libarary_Reseller" namespace="global" fullPackage="Test.BoldGrid.Libarary">
|
@@ -76491,7 +75045,7 @@
|
|
76491 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
76492 |
</file>
|
76493 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
76494 |
-
<class name="
|
76495 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
76496 |
</class>
|
76497 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -76583,7 +75137,7 @@
|
|
76583 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
76584 |
</file>
|
76585 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
76586 |
-
<class name="
|
76587 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
76588 |
</class>
|
76589 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -95802,6 +94356,6 @@
|
|
95802 |
<line num="16" type="stmt" count="0"/>
|
95803 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
95804 |
</file>
|
95805 |
-
<metrics files="
|
95806 |
</project>
|
95807 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1591286566">
|
3 |
+
<project timestamp="1591286566">
|
4 |
<package name="Boldgrid\Backup\Admin\Card">
|
5 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-amazon-s3.php">
|
6 |
<class name="Amazon_S3" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Amazon">
|
7 |
+
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
8 |
</class>
|
9 |
+
<line num="29" type="method" name="init" visibility="public" complexity="1" crap="1" count="1"/>
|
10 |
+
<line num="30" type="stmt" count="1"/>
|
11 |
+
<line num="32" type="stmt" count="1"/>
|
12 |
+
<line num="34" type="stmt" count="1"/>
|
13 |
+
<line num="36" type="stmt" count="1"/>
|
14 |
+
<line num="37" type="stmt" count="1"/>
|
15 |
+
<line num="38" type="stmt" count="1"/>
|
16 |
+
<line num="39" type="stmt" count="1"/>
|
17 |
+
<line num="41" type="stmt" count="1"/>
|
18 |
+
<line num="43" type="stmt" count="1"/>
|
19 |
+
<line num="44" type="stmt" count="1"/>
|
20 |
+
<line num="45" type="stmt" count="1"/>
|
21 |
+
<line num="46" type="stmt" count="1"/>
|
22 |
+
<line num="48" type="stmt" count="1"/>
|
23 |
+
<line num="49" type="stmt" count="1"/>
|
24 |
+
<metrics loc="50" ncloc="27" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
25 |
</file>
|
26 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-backups.php">
|
27 |
<class name="Backups" namespace="Boldgrid\Backup\Admin\Card">
|
44 |
</file>
|
45 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-database-encryption.php">
|
46 |
<class name="Database_Encryption" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Database">
|
47 |
+
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
48 |
</class>
|
49 |
+
<line num="29" type="method" name="init" visibility="public" complexity="1" crap="1" count="1"/>
|
50 |
+
<line num="30" type="stmt" count="1"/>
|
51 |
+
<line num="32" type="stmt" count="1"/>
|
52 |
+
<line num="34" type="stmt" count="1"/>
|
53 |
+
<line num="36" type="stmt" count="1"/>
|
54 |
+
<line num="37" type="stmt" count="1"/>
|
55 |
+
<line num="38" type="stmt" count="1"/>
|
56 |
+
<line num="39" type="stmt" count="1"/>
|
57 |
+
<line num="41" type="stmt" count="1"/>
|
58 |
+
<line num="43" type="stmt" count="1"/>
|
59 |
+
<line num="44" type="stmt" count="1"/>
|
60 |
+
<line num="45" type="stmt" count="1"/>
|
61 |
+
<line num="46" type="stmt" count="1"/>
|
62 |
+
<line num="48" type="stmt" count="1"/>
|
63 |
+
<line num="49" type="stmt" count="1"/>
|
64 |
+
<metrics loc="50" ncloc="27" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
65 |
</file>
|
66 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-dream-objects.php">
|
67 |
<class name="Dream_Objects" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Dream">
|
68 |
+
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
69 |
+
</class>
|
70 |
+
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="1" count="1"/>
|
71 |
+
<line num="31" type="stmt" count="1"/>
|
72 |
+
<line num="33" type="stmt" count="1"/>
|
73 |
+
<line num="35" type="stmt" count="1"/>
|
74 |
+
<line num="37" type="stmt" count="1"/>
|
75 |
+
<line num="38" type="stmt" count="1"/>
|
76 |
+
<line num="39" type="stmt" count="1"/>
|
77 |
+
<line num="40" type="stmt" count="1"/>
|
78 |
+
<line num="42" type="stmt" count="1"/>
|
79 |
+
<line num="44" type="stmt" count="1"/>
|
80 |
+
<line num="45" type="stmt" count="1"/>
|
81 |
+
<line num="46" type="stmt" count="1"/>
|
82 |
+
<line num="47" type="stmt" count="1"/>
|
83 |
+
<line num="49" type="stmt" count="1"/>
|
84 |
+
<line num="50" type="stmt" count="1"/>
|
85 |
+
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
86 |
</file>
|
87 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-find-modified-files.php">
|
88 |
<class name="Find_Modified_Files" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Find.Modified">
|
89 |
+
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="9" elements="10" coveredelements="10"/>
|
90 |
</class>
|
91 |
+
<line num="27" type="method" name="init" visibility="public" complexity="1" crap="1" count="1"/>
|
92 |
+
<line num="28" type="stmt" count="1"/>
|
93 |
+
<line num="30" type="stmt" count="1"/>
|
94 |
+
<line num="32" type="stmt" count="1"/>
|
95 |
+
<line num="34" type="stmt" count="1"/>
|
96 |
+
<line num="36" type="stmt" count="1"/>
|
97 |
+
<line num="37" type="stmt" count="1"/>
|
98 |
+
<line num="38" type="stmt" count="1"/>
|
99 |
+
<line num="39" type="stmt" count="1"/>
|
100 |
+
<line num="40" type="stmt" count="1"/>
|
101 |
+
<metrics loc="41" ncloc="20" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="9" elements="10" coveredelements="10"/>
|
|
|
|
|
|
|
|
|
|
|
102 |
</file>
|
103 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-google-drive.php">
|
104 |
<class name="Google_Drive" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Google">
|
105 |
+
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
106 |
+
</class>
|
107 |
+
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="1" count="1"/>
|
108 |
+
<line num="31" type="stmt" count="1"/>
|
109 |
+
<line num="33" type="stmt" count="1"/>
|
110 |
+
<line num="35" type="stmt" count="1"/>
|
111 |
+
<line num="37" type="stmt" count="1"/>
|
112 |
+
<line num="39" type="stmt" count="1"/>
|
113 |
+
<line num="40" type="stmt" count="1"/>
|
114 |
+
<line num="41" type="stmt" count="1"/>
|
115 |
+
<line num="42" type="stmt" count="1"/>
|
116 |
+
<line num="44" type="stmt" count="1"/>
|
117 |
+
<line num="46" type="stmt" count="1"/>
|
118 |
+
<line num="47" type="stmt" count="1"/>
|
119 |
+
<line num="48" type="stmt" count="1"/>
|
120 |
+
<line num="49" type="stmt" count="1"/>
|
121 |
+
<line num="50" type="stmt" count="1"/>
|
122 |
+
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
123 |
</file>
|
124 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-historical-versions.php">
|
125 |
<class name="Historical_Versions" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Historical">
|
126 |
+
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
127 |
+
</class>
|
128 |
+
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="1" count="1"/>
|
129 |
+
<line num="31" type="stmt" count="1"/>
|
130 |
+
<line num="33" type="stmt" count="1"/>
|
131 |
+
<line num="35" type="stmt" count="1"/>
|
132 |
+
<line num="37" type="stmt" count="1"/>
|
133 |
+
<line num="39" type="stmt" count="1"/>
|
134 |
+
<line num="40" type="stmt" count="1"/>
|
135 |
+
<line num="41" type="stmt" count="1"/>
|
136 |
+
<line num="42" type="stmt" count="1"/>
|
137 |
+
<line num="44" type="stmt" count="1"/>
|
138 |
+
<line num="46" type="stmt" count="1"/>
|
139 |
+
<line num="47" type="stmt" count="1"/>
|
140 |
+
<line num="48" type="stmt" count="1"/>
|
141 |
+
<line num="49" type="stmt" count="1"/>
|
142 |
+
<line num="50" type="stmt" count="1"/>
|
143 |
+
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
144 |
</file>
|
145 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-history.php">
|
146 |
<class name="History" namespace="Boldgrid\Backup\Admin\Card">
|
147 |
+
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
148 |
+
</class>
|
149 |
+
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="1" count="1"/>
|
150 |
+
<line num="31" type="stmt" count="1"/>
|
151 |
+
<line num="33" type="stmt" count="1"/>
|
152 |
+
<line num="35" type="stmt" count="1"/>
|
153 |
+
<line num="37" type="stmt" count="1"/>
|
154 |
+
<line num="39" type="stmt" count="1"/>
|
155 |
+
<line num="40" type="stmt" count="1"/>
|
156 |
+
<line num="41" type="stmt" count="1"/>
|
157 |
+
<line num="42" type="stmt" count="1"/>
|
158 |
+
<line num="44" type="stmt" count="1"/>
|
159 |
+
<line num="46" type="stmt" count="1"/>
|
160 |
+
<line num="47" type="stmt" count="1"/>
|
161 |
+
<line num="48" type="stmt" count="1"/>
|
162 |
+
<line num="49" type="stmt" count="1"/>
|
163 |
+
<line num="50" type="stmt" count="1"/>
|
164 |
+
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
165 |
</file>
|
166 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-one-click-restoration.php">
|
167 |
<class name="One_Click_Restoration" namespace="Boldgrid\Backup\Admin\Card" fullPackage="One.Click">
|
168 |
+
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
169 |
+
</class>
|
170 |
+
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="1" count="1"/>
|
171 |
+
<line num="31" type="stmt" count="1"/>
|
172 |
+
<line num="33" type="stmt" count="1"/>
|
173 |
+
<line num="35" type="stmt" count="1"/>
|
174 |
+
<line num="37" type="stmt" count="1"/>
|
175 |
+
<line num="39" type="stmt" count="1"/>
|
176 |
+
<line num="40" type="stmt" count="1"/>
|
177 |
+
<line num="41" type="stmt" count="1"/>
|
178 |
+
<line num="42" type="stmt" count="1"/>
|
179 |
+
<line num="44" type="stmt" count="1"/>
|
180 |
+
<line num="46" type="stmt" count="1"/>
|
181 |
+
<line num="47" type="stmt" count="1"/>
|
182 |
+
<line num="48" type="stmt" count="1"/>
|
183 |
+
<line num="49" type="stmt" count="1"/>
|
184 |
+
<line num="50" type="stmt" count="1"/>
|
185 |
+
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
186 |
</file>
|
187 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-plugin-editor-tools.php">
|
188 |
<class name="Plugin_Editor_Tools" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Plugin.Editor">
|
189 |
+
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
190 |
+
</class>
|
191 |
+
<line num="30" type="method" name="init" visibility="public" complexity="1" crap="1" count="1"/>
|
192 |
+
<line num="31" type="stmt" count="1"/>
|
193 |
+
<line num="33" type="stmt" count="1"/>
|
194 |
+
<line num="35" type="stmt" count="1"/>
|
195 |
+
<line num="37" type="stmt" count="1"/>
|
196 |
+
<line num="39" type="stmt" count="1"/>
|
197 |
+
<line num="40" type="stmt" count="1"/>
|
198 |
+
<line num="41" type="stmt" count="1"/>
|
199 |
+
<line num="42" type="stmt" count="1"/>
|
200 |
+
<line num="44" type="stmt" count="1"/>
|
201 |
+
<line num="46" type="stmt" count="1"/>
|
202 |
+
<line num="47" type="stmt" count="1"/>
|
203 |
+
<line num="48" type="stmt" count="1"/>
|
204 |
+
<line num="49" type="stmt" count="1"/>
|
205 |
+
<line num="50" type="stmt" count="1"/>
|
206 |
+
<metrics loc="51" ncloc="27" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="15" coveredelements="15"/>
|
207 |
</file>
|
208 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-premium.php">
|
209 |
<class name="Premium" namespace="Boldgrid\Backup\Admin\Card">
|
241 |
<line num="69" type="stmt" count="0"/>
|
242 |
<metrics loc="70" ncloc="39" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="29" coveredstatements="0" elements="30" coveredelements="0"/>
|
243 |
</file>
|
244 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-updates.php">
|
245 |
+
<class name="Updates" namespace="Boldgrid\Backup\Admin\Card">
|
246 |
+
<metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="11" coveredelements="0"/>
|
247 |
</class>
|
248 |
<line num="29" type="method" name="init" visibility="public" complexity="1" crap="2" count="0"/>
|
249 |
<line num="30" type="stmt" count="0"/>
|
250 |
<line num="32" type="stmt" count="0"/>
|
251 |
<line num="34" type="stmt" count="0"/>
|
252 |
<line num="36" type="stmt" count="0"/>
|
|
|
253 |
<line num="38" type="stmt" count="0"/>
|
254 |
<line num="39" type="stmt" count="0"/>
|
255 |
+
<line num="40" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
<line num="41" type="stmt" count="0"/>
|
257 |
<line num="42" type="stmt" count="0"/>
|
258 |
<line num="43" type="stmt" count="0"/>
|
259 |
+
<metrics loc="44" ncloc="19" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="11" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
</file>
|
261 |
</package>
|
262 |
<package name="Boldgrid\Backup\Admin\Card\Feature">
|
513 |
<line num="33" type="stmt" count="0"/>
|
514 |
<metrics loc="34" ncloc="13" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="0" elements="5" coveredelements="0"/>
|
515 |
</file>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
516 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/feature/class-versions.php">
|
517 |
<class name="Versions" namespace="Boldgrid\Backup\Admin\Card\Feature">
|
518 |
<metrics complexity="4" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="0" elements="31" coveredelements="0"/>
|
555 |
<class name="Boldgrid_Backup_Admin_Archive_Actions" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
556 |
<metrics complexity="15" methods="7" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="107" coveredstatements="2" elements="114" coveredelements="3"/>
|
557 |
</class>
|
558 |
+
<line num="38" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
559 |
+
<line num="39" type="stmt" count="20"/>
|
560 |
+
<line num="40" type="stmt" count="20"/>
|
561 |
<line num="47" type="method" name="enqueue_scripts" visibility="public" complexity="1" crap="2" count="0"/>
|
562 |
<line num="48" type="stmt" count="0"/>
|
563 |
<line num="49" type="stmt" count="0"/>
|
673 |
</file>
|
674 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-browser.php">
|
675 |
<class name="Boldgrid_Backup_Admin_Archive_Browser" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
676 |
+
<metrics complexity="40" methods="7" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="153" coveredstatements="2" elements="160" coveredelements="3"/>
|
677 |
</class>
|
678 |
+
<line num="43" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
679 |
+
<line num="44" type="stmt" count="20"/>
|
680 |
+
<line num="45" type="stmt" count="20"/>
|
681 |
+
<line num="55" type="method" name="authorize" visibility="public" complexity="3" crap="12" count="0"/>
|
682 |
<line num="56" type="stmt" count="0"/>
|
683 |
<line num="57" type="stmt" count="0"/>
|
684 |
<line num="58" type="stmt" count="0"/>
|
685 |
+
<line num="60" type="stmt" count="0"/>
|
686 |
<line num="61" type="stmt" count="0"/>
|
687 |
<line num="62" type="stmt" count="0"/>
|
688 |
<line num="63" type="stmt" count="0"/>
|
689 |
+
<line num="79" type="method" name="get_sql_details" visibility="public" complexity="10" crap="110" count="0"/>
|
690 |
+
<line num="80" type="stmt" count="0"/>
|
691 |
+
<line num="81" type="stmt" count="0"/>
|
692 |
<line num="82" type="stmt" count="0"/>
|
693 |
<line num="83" type="stmt" count="0"/>
|
694 |
<line num="84" type="stmt" count="0"/>
|
695 |
+
<line num="97" type="stmt" count="0"/>
|
696 |
+
<line num="98" type="stmt" count="0"/>
|
|
|
697 |
<line num="100" type="stmt" count="0"/>
|
698 |
+
<line num="103" type="stmt" count="0"/>
|
699 |
+
<line num="104" type="stmt" count="0"/>
|
700 |
<line num="105" type="stmt" count="0"/>
|
|
|
701 |
<line num="107" type="stmt" count="0"/>
|
702 |
+
<line num="110" type="stmt" count="0"/>
|
703 |
<line num="112" type="stmt" count="0"/>
|
704 |
+
<line num="113" type="stmt" count="0"/>
|
705 |
<line num="114" type="stmt" count="0"/>
|
|
|
706 |
<line num="116" type="stmt" count="0"/>
|
707 |
<line num="118" type="stmt" count="0"/>
|
708 |
<line num="120" type="stmt" count="0"/>
|
709 |
<line num="122" type="stmt" count="0"/>
|
710 |
+
<line num="123" type="stmt" count="0"/>
|
711 |
<line num="124" type="stmt" count="0"/>
|
712 |
<line num="125" type="stmt" count="0"/>
|
713 |
<line num="126" type="stmt" count="0"/>
|
714 |
<line num="127" type="stmt" count="0"/>
|
715 |
<line num="128" type="stmt" count="0"/>
|
|
|
716 |
<line num="130" type="stmt" count="0"/>
|
717 |
<line num="132" type="stmt" count="0"/>
|
718 |
<line num="134" type="stmt" count="0"/>
|
719 |
<line num="136" type="stmt" count="0"/>
|
720 |
+
<line num="137" type="stmt" count="0"/>
|
721 |
<line num="138" type="stmt" count="0"/>
|
722 |
<line num="139" type="stmt" count="0"/>
|
723 |
<line num="140" type="stmt" count="0"/>
|
724 |
<line num="141" type="stmt" count="0"/>
|
725 |
<line num="142" type="stmt" count="0"/>
|
|
|
726 |
<line num="144" type="stmt" count="0"/>
|
727 |
+
<line num="145" type="stmt" count="0"/>
|
728 |
+
<line num="148" type="stmt" count="0"/>
|
729 |
<line num="150" type="stmt" count="0"/>
|
730 |
<line num="152" type="stmt" count="0"/>
|
731 |
+
<line num="153" type="stmt" count="0"/>
|
732 |
<line num="155" type="stmt" count="0"/>
|
733 |
+
<line num="156" type="stmt" count="0"/>
|
734 |
<line num="157" type="stmt" count="0"/>
|
|
|
735 |
<line num="159" type="stmt" count="0"/>
|
736 |
<line num="161" type="stmt" count="0"/>
|
737 |
+
<line num="162" type="stmt" count="0"/>
|
738 |
+
<line num="167" type="stmt" count="0"/>
|
739 |
+
<line num="168" type="stmt" count="0"/>
|
740 |
<line num="169" type="stmt" count="0"/>
|
741 |
<line num="170" type="stmt" count="0"/>
|
742 |
<line num="171" type="stmt" count="0"/>
|
743 |
<line num="172" type="stmt" count="0"/>
|
744 |
+
<line num="175" type="stmt" count="0"/>
|
|
|
745 |
<line num="177" type="stmt" count="0"/>
|
746 |
+
<line num="178" type="stmt" count="0"/>
|
747 |
<line num="180" type="stmt" count="0"/>
|
748 |
+
<line num="181" type="stmt" count="0"/>
|
749 |
<line num="183" type="stmt" count="0"/>
|
750 |
+
<line num="184" type="stmt" count="0"/>
|
751 |
<line num="185" type="stmt" count="0"/>
|
752 |
<line num="186" type="stmt" count="0"/>
|
|
|
753 |
<line num="188" type="stmt" count="0"/>
|
754 |
+
<line num="198" type="method" name="wp_ajax_browse_archive" visibility="public" complexity="8" crap="72" count="0"/>
|
755 |
+
<line num="199" type="stmt" count="0"/>
|
756 |
<line num="201" type="stmt" count="0"/>
|
757 |
<line num="203" type="stmt" count="0"/>
|
758 |
+
<line num="204" type="stmt" count="0"/>
|
759 |
<line num="205" type="stmt" count="0"/>
|
760 |
<line num="206" type="stmt" count="0"/>
|
761 |
<line num="207" type="stmt" count="0"/>
|
|
|
762 |
<line num="209" type="stmt" count="0"/>
|
763 |
<line num="211" type="stmt" count="0"/>
|
764 |
+
<line num="219" type="stmt" count="0"/>
|
765 |
+
<line num="220" type="stmt" count="0"/>
|
766 |
<line num="221" type="stmt" count="0"/>
|
|
|
767 |
<line num="223" type="stmt" count="0"/>
|
768 |
<line num="225" type="stmt" count="0"/>
|
769 |
<line num="227" type="stmt" count="0"/>
|
770 |
<line num="229" type="stmt" count="0"/>
|
771 |
+
<line num="230" type="stmt" count="0"/>
|
772 |
<line num="232" type="stmt" count="0"/>
|
773 |
+
<line num="245" type="stmt" count="0"/>
|
774 |
+
<line num="246" type="stmt" count="0"/>
|
775 |
<line num="247" type="stmt" count="0"/>
|
776 |
<line num="248" type="stmt" count="0"/>
|
777 |
<line num="249" type="stmt" count="0"/>
|
|
|
778 |
<line num="251" type="stmt" count="0"/>
|
779 |
+
<line num="252" type="stmt" count="0"/>
|
780 |
<line num="253" type="stmt" count="0"/>
|
781 |
+
<line num="256" type="stmt" count="0"/>
|
782 |
+
<line num="257" type="stmt" count="0"/>
|
|
|
783 |
<line num="259" type="stmt" count="0"/>
|
784 |
<line num="261" type="stmt" count="0"/>
|
785 |
<line num="263" type="stmt" count="0"/>
|
786 |
+
<line num="264" type="stmt" count="0"/>
|
787 |
+
<line num="274" type="method" name="wp_ajax_file_actions" visibility="public" complexity="5" crap="30" count="0"/>
|
788 |
+
<line num="275" type="stmt" count="0"/>
|
789 |
<line num="277" type="stmt" count="0"/>
|
790 |
+
<line num="278" type="stmt" count="0"/>
|
791 |
<line num="279" type="stmt" count="0"/>
|
792 |
<line num="280" type="stmt" count="0"/>
|
793 |
<line num="281" type="stmt" count="0"/>
|
794 |
<line num="282" type="stmt" count="0"/>
|
795 |
+
<line num="285" type="stmt" count="0"/>
|
|
|
796 |
<line num="287" type="stmt" count="0"/>
|
797 |
+
<line num="288" type="stmt" count="0"/>
|
798 |
<line num="289" type="stmt" count="0"/>
|
799 |
+
<line num="299" type="stmt" count="0"/>
|
|
|
800 |
<line num="301" type="stmt" count="0"/>
|
801 |
+
<line num="302" type="stmt" count="0"/>
|
802 |
+
<line num="312" type="method" name="wp_ajax_restore_db" visibility="public" complexity="6" crap="42" count="0"/>
|
803 |
+
<line num="313" type="stmt" count="0"/>
|
804 |
<line num="315" type="stmt" count="0"/>
|
805 |
+
<line num="316" type="stmt" count="0"/>
|
806 |
<line num="317" type="stmt" count="0"/>
|
807 |
<line num="318" type="stmt" count="0"/>
|
808 |
<line num="319" type="stmt" count="0"/>
|
809 |
<line num="320" type="stmt" count="0"/>
|
|
|
810 |
<line num="322" type="stmt" count="0"/>
|
811 |
+
<line num="323" type="stmt" count="0"/>
|
812 |
<line num="325" type="stmt" count="0"/>
|
813 |
+
<line num="326" type="stmt" count="0"/>
|
814 |
<line num="328" type="stmt" count="0"/>
|
815 |
+
<line num="329" type="stmt" count="0"/>
|
816 |
<line num="330" type="stmt" count="0"/>
|
817 |
<line num="331" type="stmt" count="0"/>
|
818 |
<line num="332" type="stmt" count="0"/>
|
|
|
819 |
<line num="334" type="stmt" count="0"/>
|
820 |
<line num="335" type="stmt" count="0"/>
|
821 |
<line num="336" type="stmt" count="0"/>
|
822 |
<line num="338" type="stmt" count="0"/>
|
823 |
+
<line num="348" type="method" name="wp_ajax_view_db" visibility="public" complexity="7" crap="56" count="0"/>
|
824 |
+
<line num="349" type="stmt" count="0"/>
|
825 |
+
<line num="351" type="stmt" count="0"/>
|
826 |
+
<line num="352" type="stmt" count="0"/>
|
827 |
<line num="353" type="stmt" count="0"/>
|
828 |
+
<line num="354" type="stmt" count="0"/>
|
829 |
<line num="355" type="stmt" count="0"/>
|
830 |
<line num="356" type="stmt" count="0"/>
|
|
|
831 |
<line num="358" type="stmt" count="0"/>
|
|
|
832 |
<line num="360" type="stmt" count="0"/>
|
833 |
+
<line num="361" type="stmt" count="0"/>
|
834 |
<line num="362" type="stmt" count="0"/>
|
835 |
+
<line num="363" type="stmt" count="0"/>
|
836 |
<line num="364" type="stmt" count="0"/>
|
|
|
837 |
<line num="366" type="stmt" count="0"/>
|
838 |
+
<metrics loc="367" ncloc="239" classes="1" methods="7" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="153" coveredstatements="2" elements="160" coveredelements="3"/>
|
|
|
|
|
|
|
839 |
</file>
|
840 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-details.php">
|
841 |
<class name="Boldgrid_Backup_Admin_Archive_Details" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
842 |
+
<metrics complexity="20" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="86" coveredstatements="2" elements="92" coveredelements="3"/>
|
843 |
</class>
|
844 |
+
<line num="48" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
845 |
+
<line num="49" type="stmt" count="20"/>
|
846 |
+
<line num="50" type="stmt" count="20"/>
|
847 |
<line num="60" type="method" name="get_url" visibility="public" complexity="1" crap="2" count="0"/>
|
848 |
<line num="61" type="stmt" count="0"/>
|
849 |
<line num="69" type="method" name="enqueue_scripts" visibility="public" complexity="1" crap="2" count="0"/>
|
891 |
<line num="132" type="stmt" count="0"/>
|
892 |
<line num="134" type="stmt" count="0"/>
|
893 |
<line num="135" type="stmt" count="0"/>
|
894 |
+
<line num="137" type="stmt" count="0"/>
|
895 |
+
<line num="139" type="stmt" count="0"/>
|
896 |
<line num="140" type="stmt" count="0"/>
|
897 |
<line num="141" type="stmt" count="0"/>
|
898 |
<line num="142" type="stmt" count="0"/>
|
899 |
+
<line num="146" type="stmt" count="0"/>
|
900 |
<line num="147" type="stmt" count="0"/>
|
901 |
<line num="148" type="stmt" count="0"/>
|
902 |
<line num="149" type="stmt" count="0"/>
|
903 |
<line num="150" type="stmt" count="0"/>
|
904 |
<line num="151" type="stmt" count="0"/>
|
905 |
<line num="152" type="stmt" count="0"/>
|
906 |
+
<line num="154" type="stmt" count="0"/>
|
907 |
<line num="155" type="stmt" count="0"/>
|
908 |
<line num="156" type="stmt" count="0"/>
|
909 |
+
<line num="160" type="stmt" count="0"/>
|
910 |
<line num="161" type="stmt" count="0"/>
|
911 |
<line num="162" type="stmt" count="0"/>
|
912 |
+
<line num="164" type="stmt" count="0"/>
|
913 |
<line num="165" type="stmt" count="0"/>
|
914 |
+
<line num="179" type="method" name="validate_nonce" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
915 |
<line num="180" type="stmt" count="0"/>
|
916 |
+
<line num="188" type="method" name="wp_ajax_update" visibility="public" complexity="11" crap="132" count="0"/>
|
|
|
|
|
917 |
<line num="189" type="stmt" count="0"/>
|
918 |
<line num="190" type="stmt" count="0"/>
|
919 |
+
<line num="191" type="stmt" count="0"/>
|
920 |
+
<line num="193" type="stmt" count="0"/>
|
921 |
<line num="194" type="stmt" count="0"/>
|
922 |
<line num="195" type="stmt" count="0"/>
|
923 |
+
<line num="197" type="stmt" count="0"/>
|
924 |
+
<line num="198" type="stmt" count="0"/>
|
925 |
+
<line num="199" type="stmt" count="0"/>
|
926 |
+
<line num="201" type="stmt" count="0"/>
|
927 |
+
<line num="203" type="stmt" count="0"/>
|
928 |
+
<line num="204" type="stmt" count="0"/>
|
929 |
+
<line num="205" type="stmt" count="0"/>
|
930 |
+
<line num="208" type="stmt" count="0"/>
|
931 |
<line num="210" type="stmt" count="0"/>
|
932 |
+
<line num="211" type="stmt" count="0"/>
|
933 |
+
<line num="212" type="stmt" count="0"/>
|
934 |
+
<line num="214" type="stmt" count="0"/>
|
935 |
+
<line num="215" type="stmt" count="0"/>
|
936 |
+
<metrics loc="216" ncloc="122" classes="1" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="86" coveredstatements="2" elements="92" coveredelements="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
937 |
</file>
|
938 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-fail.php">
|
939 |
<class name="Boldgrid_Backup_Admin_Archive_Fail" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
940 |
<metrics complexity="9" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="42" coveredstatements="3" elements="47" coveredelements="4"/>
|
941 |
</class>
|
942 |
+
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
943 |
+
<line num="57" type="stmt" count="20"/>
|
944 |
+
<line num="59" type="stmt" count="20"/>
|
945 |
+
<line num="60" type="stmt" count="20"/>
|
946 |
<line num="70" type="method" name="archive_files_init" visibility="public" complexity="1" crap="2" count="0"/>
|
947 |
<line num="71" type="stmt" count="0"/>
|
948 |
<line num="88" type="stmt" count="0"/>
|
990 |
</file>
|
991 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-log.php">
|
992 |
<class name="Boldgrid_Backup_Admin_Archive_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
993 |
+
<metrics complexity="20" methods="7" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="56" coveredstatements="27" elements="63" coveredelements="29"/>
|
994 |
</class>
|
995 |
+
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
996 |
+
<line num="38" type="stmt" count="20"/>
|
997 |
+
<line num="39" type="stmt" count="20"/>
|
998 |
<line num="49" type="method" name="delete_by_zip" visibility="public" complexity="2" crap="2.03" count="1"/>
|
999 |
<line num="50" type="stmt" count="1"/>
|
1000 |
<line num="52" type="stmt" count="1"/>
|
1010 |
<line num="77" type="stmt" count="4"/>
|
1011 |
<line num="78" type="stmt" count="0"/>
|
1012 |
<line num="81" type="stmt" count="4"/>
|
1013 |
+
<line num="94" type="method" name="path_from_zip" visibility="public" complexity="1" crap="1" count="4"/>
|
1014 |
+
<line num="95" type="stmt" count="4"/>
|
1015 |
<line num="107" type="method" name="post_restore" visibility="public" complexity="2" crap="6" count="0"/>
|
1016 |
<line num="108" type="stmt" count="0"/>
|
1017 |
<line num="109" type="stmt" count="0"/>
|
1020 |
<line num="117" type="stmt" count="0"/>
|
1021 |
<line num="120" type="stmt" count="0"/>
|
1022 |
<line num="121" type="stmt" count="0"/>
|
1023 |
+
<line num="135" type="method" name="restore_by_zip" visibility="public" complexity="4" crap="20" count="0"/>
|
1024 |
+
<line num="136" type="stmt" count="0"/>
|
1025 |
+
<line num="138" type="stmt" count="0"/>
|
1026 |
<line num="139" type="stmt" count="0"/>
|
1027 |
+
<line num="142" type="stmt" count="0"/>
|
1028 |
+
<line num="143" type="stmt" count="0"/>
|
1029 |
+
<line num="146" type="stmt" count="0"/>
|
1030 |
+
<line num="147" type="stmt" count="0"/>
|
1031 |
+
<line num="148" type="stmt" count="0"/>
|
1032 |
+
<line num="149" type="stmt" count="0"/>
|
1033 |
<line num="153" type="stmt" count="0"/>
|
1034 |
<line num="154" type="stmt" count="0"/>
|
1035 |
<line num="156" type="stmt" count="0"/>
|
1055 |
<line num="208" type="stmt" count="0"/>
|
1056 |
<line num="212" type="stmt" count="4"/>
|
1057 |
<line num="214" type="stmt" count="4"/>
|
1058 |
+
<metrics loc="216" ncloc="104" classes="1" methods="7" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="56" coveredstatements="27" elements="63" coveredelements="29"/>
|
1059 |
</file>
|
1060 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive.php">
|
1061 |
<class name="Boldgrid_Backup_Admin_Archive" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
1062 |
+
<metrics complexity="71" methods="22" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="195" coveredstatements="58" elements="217" coveredelements="64"/>
|
1063 |
</class>
|
1064 |
+
<line num="116" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
1065 |
+
<line num="117" type="stmt" count="20"/>
|
1066 |
+
<line num="118" type="stmt" count="20"/>
|
1067 |
<line num="128" type="method" name="delete" visibility="public" complexity="1" crap="1" count="1"/>
|
1068 |
<line num="129" type="stmt" count="1"/>
|
1069 |
<line num="131" type="stmt" count="1"/>
|
1080 |
<line num="176" type="stmt" count="0"/>
|
1081 |
<line num="178" type="stmt" count="0"/>
|
1082 |
<line num="180" type="stmt" count="0"/>
|
1083 |
+
<line num="192" type="method" name="get_file" visibility="public" complexity="5" crap="30" count="0"/>
|
1084 |
+
<line num="193" type="stmt" count="0"/>
|
1085 |
+
<line num="194" type="stmt" count="0"/>
|
1086 |
<line num="197" type="stmt" count="0"/>
|
1087 |
<line num="199" type="stmt" count="0"/>
|
1088 |
<line num="202" type="stmt" count="0"/>
|
1089 |
<line num="203" type="stmt" count="0"/>
|
1090 |
<line num="204" type="stmt" count="0"/>
|
1091 |
<line num="206" type="stmt" count="0"/>
|
1092 |
+
<line num="217" type="method" name="get_dump_file" visibility="public" complexity="1" crap="2" count="0"/>
|
1093 |
+
<line num="223" type="stmt" count="0"/>
|
1094 |
<line num="233" type="method" name="get_filesize" visibility="public" complexity="1" crap="2" count="0"/>
|
1095 |
<line num="234" type="stmt" count="0"/>
|
1096 |
+
<line num="244" type="method" name="init" visibility="public" complexity="7" crap="7.06" count="4"/>
|
1097 |
+
<line num="245" type="stmt" count="4"/>
|
1098 |
+
<line num="247" type="stmt" count="4"/>
|
1099 |
<line num="248" type="stmt" count="2"/>
|
1100 |
+
<line num="251" type="stmt" count="4"/>
|
1101 |
+
<line num="253" type="stmt" count="4"/>
|
1102 |
+
<line num="254" type="stmt" count="4"/>
|
1103 |
+
<line num="256" type="stmt" count="4"/>
|
1104 |
+
<line num="257" type="stmt" count="4"/>
|
1105 |
+
<line num="260" type="stmt" count="4"/>
|
1106 |
+
<line num="261" type="stmt" count="4"/>
|
1107 |
+
<line num="262" type="stmt" count="0"/>
|
1108 |
+
<line num="263" type="stmt" count="0"/>
|
1109 |
+
<line num="265" type="stmt" count="4"/>
|
1110 |
<line num="266" type="stmt" count="4"/>
|
1111 |
<line num="268" type="stmt" count="4"/>
|
1112 |
<line num="269" type="stmt" count="4"/>
|
1113 |
+
<line num="277" type="stmt" count="4"/>
|
1114 |
+
<line num="279" type="stmt" count="4"/>
|
1115 |
+
<line num="280" type="stmt" count="4"/>
|
1116 |
<line num="292" type="method" name="init_by_filename" visibility="public" complexity="1" crap="1" count="1"/>
|
1117 |
<line num="293" type="stmt" count="1"/>
|
1118 |
<line num="295" type="stmt" count="1"/>
|
1133 |
<line num="338" type="stmt" count="0"/>
|
1134 |
<line num="339" type="stmt" count="0"/>
|
1135 |
<line num="340" type="stmt" count="0"/>
|
1136 |
+
<line num="350" type="method" name="is_archive" visibility="public" complexity="4" crap="20" count="0"/>
|
1137 |
+
<line num="351" type="stmt" count="0"/>
|
1138 |
+
<line num="353" type="stmt" count="0"/>
|
1139 |
<line num="354" type="stmt" count="0"/>
|
1140 |
+
<line num="357" type="stmt" count="0"/>
|
1141 |
+
<line num="358" type="stmt" count="0"/>
|
1142 |
<line num="359" type="stmt" count="0"/>
|
1143 |
+
<line num="361" type="stmt" count="0"/>
|
1144 |
+
<line num="363" type="stmt" count="0"/>
|
1145 |
+
<line num="377" type="method" name="is_site_archive" visibility="public" complexity="4" crap="4.18" count="5"/>
|
1146 |
+
<line num="378" type="stmt" count="5"/>
|
1147 |
+
<line num="381" type="stmt" count="5"/>
|
1148 |
+
<line num="382" type="stmt" count="5"/>
|
1149 |
+
<line num="383" type="stmt" count="5"/>
|
1150 |
+
<line num="387" type="stmt" count="4"/>
|
1151 |
<line num="388" type="stmt" count="0"/>
|
1152 |
+
<line num="392" type="stmt" count="4"/>
|
1153 |
<line num="393" type="stmt" count="0"/>
|
1154 |
+
<line num="396" type="stmt" count="4"/>
|
1155 |
<line num="410" type="method" name="is_stored_locally" visibility="public" complexity="2" crap="6" count="0"/>
|
1156 |
<line num="411" type="stmt" count="0"/>
|
1157 |
<line num="413" type="stmt" count="0"/>
|
1160 |
<line num="428" type="stmt" count="0"/>
|
1161 |
<line num="430" type="stmt" count="0"/>
|
1162 |
<line num="431" type="stmt" count="0"/>
|
1163 |
+
<line num="439" type="method" name="reset" visibility="public" complexity="1" crap="1" count="5"/>
|
1164 |
+
<line num="440" type="stmt" count="5"/>
|
1165 |
+
<line num="441" type="stmt" count="5"/>
|
1166 |
+
<line num="442" type="stmt" count="5"/>
|
1167 |
+
<line num="443" type="stmt" count="5"/>
|
1168 |
+
<line num="444" type="stmt" count="5"/>
|
1169 |
+
<line num="445" type="stmt" count="5"/>
|
1170 |
+
<line num="446" type="stmt" count="5"/>
|
1171 |
<line num="457" type="method" name="set_attribute" visibility="public" complexity="3" crap="12" count="0"/>
|
1172 |
<line num="458" type="stmt" count="0"/>
|
1173 |
<line num="461" type="stmt" count="0"/>
|
1278 |
<line num="701" type="stmt" count="4"/>
|
1279 |
<line num="702" type="stmt" count="4"/>
|
1280 |
<line num="703" type="stmt" count="4"/>
|
1281 |
+
<metrics loc="704" ncloc="341" classes="1" methods="22" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="195" coveredstatements="58" elements="217" coveredelements="64"/>
|
1282 |
</file>
|
1283 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archiver-utility.php">
|
1284 |
<class name="Boldgrid_Backup_Admin_Archiver_Utility" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archiver">
|
1285 |
<metrics complexity="8" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="7" elements="13" coveredelements="8"/>
|
1286 |
</class>
|
1287 |
+
<line num="38" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
1288 |
+
<line num="39" type="stmt" count="20"/>
|
1289 |
+
<line num="40" type="stmt" count="20"/>
|
1290 |
<line num="51" type="method" name="is_full_backup" visibility="public" complexity="7" crap="11.30" count="4"/>
|
1291 |
<line num="52" type="stmt" count="4"/>
|
1292 |
<line num="53" type="stmt" count="0"/>
|
1303 |
<class name="Boldgrid_Backup_Admin_Archives_All" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archives">
|
1304 |
<metrics complexity="20" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="55" coveredstatements="3" elements="60" coveredelements="4"/>
|
1305 |
</class>
|
1306 |
+
<line num="97" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
1307 |
+
<line num="98" type="stmt" count="20"/>
|
1308 |
+
<line num="100" type="stmt" count="20"/>
|
1309 |
+
<line num="101" type="stmt" count="20"/>
|
1310 |
<line num="110" type="method" name="add" visibility="public" complexity="6" crap="42" count="0"/>
|
1311 |
<line num="111" type="stmt" count="0"/>
|
1312 |
<line num="113" type="stmt" count="0"/>
|
1369 |
<class name="Boldgrid_Backup_Admin_Archives" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
1370 |
<metrics complexity="28" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="123" coveredstatements="2" elements="129" coveredelements="3"/>
|
1371 |
</class>
|
1372 |
+
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
1373 |
+
<line num="38" type="stmt" count="20"/>
|
1374 |
+
<line num="39" type="stmt" count="20"/>
|
1375 |
<line num="54" type="method" name="get_location_type" visibility="public" complexity="4" crap="20" count="0"/>
|
1376 |
<line num="55" type="stmt" count="0"/>
|
1377 |
<line num="56" type="stmt" count="0"/>
|
1502 |
</file>
|
1503 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-auto-rollback.php">
|
1504 |
<class name="Boldgrid_Backup_Admin_Auto_Rollback" namespace="global" fullPackage="Boldgrid.Backup.Admin.Auto">
|
1505 |
+
<metrics complexity="112" methods="26" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="425" coveredstatements="29" elements="451" coveredelements="31"/>
|
1506 |
</class>
|
1507 |
+
<line num="139" type="method" name="__construct" visibility="public" complexity="3" crap="3" count="20"/>
|
1508 |
+
<line num="140" type="stmt" count="20"/>
|
1509 |
+
<line num="142" type="stmt" count="20"/>
|
1510 |
+
<line num="143" type="stmt" count="20"/>
|
1511 |
+
<line num="145" type="stmt" count="20"/>
|
1512 |
+
<line num="146" type="stmt" count="20"/>
|
1513 |
<line num="159" type="method" name="add_cron" visibility="public" complexity="6" crap="42" count="0"/>
|
1514 |
<line num="160" type="stmt" count="0"/>
|
1515 |
<line num="163" type="stmt" count="0"/>
|
1605 |
<line num="340" type="stmt" count="0"/>
|
1606 |
<line num="346" type="stmt" count="0"/>
|
1607 |
<line num="347" type="stmt" count="0"/>
|
1608 |
+
<line num="360" type="method" name="enqueue_update_selectors" visibility="public" complexity="3" crap="12" count="0"/>
|
1609 |
<line num="361" type="stmt" count="0"/>
|
1610 |
+
<line num="362" type="stmt" count="0"/>
|
1611 |
<line num="364" type="stmt" count="0"/>
|
1612 |
<line num="365" type="stmt" count="0"/>
|
1613 |
<line num="366" type="stmt" count="0"/>
|
1614 |
<line num="367" type="stmt" count="0"/>
|
1615 |
+
<line num="368" type="stmt" count="0"/>
|
1616 |
+
<line num="370" type="stmt" count="0"/>
|
1617 |
<line num="374" type="stmt" count="0"/>
|
1618 |
<line num="375" type="stmt" count="0"/>
|
1619 |
+
<line num="376" type="stmt" count="0"/>
|
1620 |
+
<line num="378" type="stmt" count="0"/>
|
1621 |
<line num="380" type="stmt" count="0"/>
|
1622 |
+
<line num="381" type="stmt" count="0"/>
|
1623 |
+
<line num="382" type="stmt" count="0"/>
|
1624 |
+
<line num="395" type="method" name="notice_countdown_show" visibility="public" complexity="13" crap="182" count="0"/>
|
1625 |
+
<line num="397" type="stmt" count="0"/>
|
1626 |
<line num="398" type="stmt" count="0"/>
|
|
|
1627 |
<line num="400" type="stmt" count="0"/>
|
1628 |
+
<line num="401" type="stmt" count="0"/>
|
1629 |
<line num="402" type="stmt" count="0"/>
|
|
|
1630 |
<line num="404" type="stmt" count="0"/>
|
1631 |
+
<line num="405" type="stmt" count="0"/>
|
1632 |
+
<line num="406" type="stmt" count="0"/>
|
1633 |
+
<line num="432" type="stmt" count="0"/>
|
1634 |
+
<line num="435" type="stmt" count="0"/>
|
1635 |
+
<line num="436" type="stmt" count="0"/>
|
1636 |
+
<line num="440" type="stmt" count="0"/>
|
1637 |
+
<line num="441" type="stmt" count="0"/>
|
1638 |
+
<line num="444" type="stmt" count="0"/>
|
1639 |
+
<line num="445" type="stmt" count="0"/>
|
1640 |
<line num="451" type="stmt" count="0"/>
|
1641 |
+
<line num="452" type="stmt" count="0"/>
|
1642 |
+
<line num="453" type="stmt" count="0"/>
|
1643 |
+
<line num="466" type="stmt" count="0"/>
|
1644 |
+
<line num="467" type="stmt" count="0"/>
|
1645 |
<line num="470" type="stmt" count="0"/>
|
1646 |
<line num="471" type="stmt" count="0"/>
|
1647 |
+
<line num="472" type="stmt" count="0"/>
|
1648 |
<line num="473" type="stmt" count="0"/>
|
1649 |
<line num="475" type="stmt" count="0"/>
|
1650 |
+
<line num="477" type="stmt" count="0"/>
|
|
|
1651 |
<line num="485" type="stmt" count="0"/>
|
1652 |
+
<line num="486" type="stmt" count="0"/>
|
1653 |
+
<line num="487" type="stmt" count="0"/>
|
1654 |
+
<line num="505" type="method" name="notice_countdown_get" visibility="public" complexity="5" crap="30" count="0"/>
|
1655 |
<line num="508" type="stmt" count="0"/>
|
1656 |
+
<line num="509" type="stmt" count="0"/>
|
1657 |
<line num="510" type="stmt" count="0"/>
|
|
|
1658 |
<line num="512" type="stmt" count="0"/>
|
1659 |
<line num="513" type="stmt" count="0"/>
|
1660 |
+
<line num="514" type="stmt" count="0"/>
|
1661 |
<line num="515" type="stmt" count="0"/>
|
1662 |
+
<line num="517" type="stmt" count="0"/>
|
1663 |
<line num="518" type="stmt" count="0"/>
|
1664 |
+
<line num="520" type="stmt" count="0"/>
|
1665 |
<line num="521" type="stmt" count="0"/>
|
1666 |
+
<line num="523" type="stmt" count="0"/>
|
|
|
1667 |
<line num="526" type="stmt" count="0"/>
|
1668 |
+
<line num="527" type="stmt" count="0"/>
|
1669 |
<line num="528" type="stmt" count="0"/>
|
1670 |
+
<line num="530" type="stmt" count="0"/>
|
1671 |
+
<line num="531" type="stmt" count="0"/>
|
1672 |
+
<line num="535" type="stmt" count="0"/>
|
1673 |
+
<line num="538" type="stmt" count="0"/>
|
1674 |
+
<line num="541" type="stmt" count="0"/>
|
1675 |
+
<line num="544" type="stmt" count="0"/>
|
1676 |
+
<line num="548" type="stmt" count="0"/>
|
1677 |
<line num="549" type="stmt" count="0"/>
|
1678 |
+
<line num="551" type="stmt" count="0"/>
|
1679 |
<line num="552" type="stmt" count="0"/>
|
|
|
1680 |
<line num="554" type="stmt" count="0"/>
|
1681 |
+
<line num="555" type="stmt" count="0"/>
|
1682 |
+
<line num="556" type="stmt" count="0"/>
|
1683 |
+
<line num="560" type="stmt" count="0"/>
|
1684 |
+
<line num="564" type="stmt" count="0"/>
|
1685 |
<line num="568" type="stmt" count="0"/>
|
1686 |
+
<line num="570" type="stmt" count="0"/>
|
1687 |
+
<line num="575" type="stmt" count="0"/>
|
1688 |
<line num="578" type="stmt" count="0"/>
|
1689 |
+
<line num="580" type="stmt" count="0"/>
|
1690 |
+
<line num="590" type="method" name="get_deadline" visibility="public" complexity="2" crap="6" count="0"/>
|
1691 |
+
<line num="592" type="stmt" count="0"/>
|
1692 |
+
<line num="595" type="stmt" count="0"/>
|
1693 |
<line num="596" type="stmt" count="0"/>
|
1694 |
+
<line num="598" type="stmt" count="0"/>
|
1695 |
+
<line num="612" type="method" name="get_time_data" visibility="public" complexity="6" crap="6.26" count="2"/>
|
1696 |
+
<line num="613" type="stmt" count="2"/>
|
1697 |
+
<line num="614" type="stmt" count="2"/>
|
1698 |
+
<line num="617" type="stmt" count="1"/>
|
1699 |
+
<line num="620" type="stmt" count="1"/>
|
|
|
1700 |
<line num="623" type="stmt" count="1"/>
|
1701 |
+
<line num="624" type="stmt" count="1"/>
|
1702 |
+
<line num="625" type="stmt" count="1"/>
|
1703 |
<line num="628" type="stmt" count="1"/>
|
|
|
1704 |
<line num="630" type="stmt" count="1"/>
|
1705 |
<line num="631" type="stmt" count="1"/>
|
1706 |
<line num="632" type="stmt" count="1"/>
|
1707 |
<line num="633" type="stmt" count="1"/>
|
1708 |
+
<line num="634" type="stmt" count="1"/>
|
1709 |
+
<line num="635" type="stmt" count="1"/>
|
1710 |
+
<line num="638" type="stmt" count="1"/>
|
1711 |
+
<line num="639" type="stmt" count="0"/>
|
1712 |
+
<line num="640" type="stmt" count="0"/>
|
1713 |
+
<line num="643" type="stmt" count="1"/>
|
1714 |
+
<line num="644" type="stmt" count="0"/>
|
1715 |
+
<line num="645" type="stmt" count="0"/>
|
1716 |
<line num="648" type="stmt" count="1"/>
|
1717 |
+
<line num="649" type="stmt" count="1"/>
|
1718 |
+
<line num="650" type="stmt" count="1"/>
|
1719 |
+
<line num="651" type="stmt" count="0"/>
|
1720 |
<line num="654" type="stmt" count="1"/>
|
1721 |
+
<line num="656" type="stmt" count="1"/>
|
1722 |
+
<line num="666" type="method" name="is_enabled" visibility="public" complexity="2" crap="6" count="0"/>
|
1723 |
<line num="667" type="stmt" count="0"/>
|
1724 |
+
<line num="669" type="stmt" count="0"/>
|
1725 |
+
<line num="679" type="method" name="notice_trigger_get" visibility="public" complexity="9" crap="90" count="0"/>
|
|
|
1726 |
<line num="680" type="stmt" count="0"/>
|
1727 |
+
<line num="681" type="stmt" count="0"/>
|
1728 |
<line num="682" type="stmt" count="0"/>
|
1729 |
+
<line num="684" type="stmt" count="0"/>
|
1730 |
+
<line num="685" type="stmt" count="0"/>
|
1731 |
<line num="688" type="stmt" count="0"/>
|
1732 |
+
<line num="690" type="stmt" count="0"/>
|
1733 |
+
<line num="691" type="stmt" count="0"/>
|
|
|
1734 |
<line num="694" type="stmt" count="0"/>
|
1735 |
<line num="695" type="stmt" count="0"/>
|
1736 |
+
<line num="696" type="stmt" count="0"/>
|
1737 |
<line num="697" type="stmt" count="0"/>
|
1738 |
+
<line num="699" type="stmt" count="0"/>
|
1739 |
<line num="700" type="stmt" count="0"/>
|
1740 |
<line num="702" type="stmt" count="0"/>
|
|
|
1741 |
<line num="704" type="stmt" count="0"/>
|
1742 |
<line num="705" type="stmt" count="0"/>
|
1743 |
<line num="706" type="stmt" count="0"/>
|
1748 |
<line num="711" type="stmt" count="0"/>
|
1749 |
<line num="712" type="stmt" count="0"/>
|
1750 |
<line num="713" type="stmt" count="0"/>
|
1751 |
+
<line num="714" type="stmt" count="0"/>
|
1752 |
<line num="715" type="stmt" count="0"/>
|
|
|
1753 |
<line num="717" type="stmt" count="0"/>
|
1754 |
<line num="718" type="stmt" count="0"/>
|
1755 |
<line num="719" type="stmt" count="0"/>
|
1756 |
<line num="720" type="stmt" count="0"/>
|
1757 |
<line num="721" type="stmt" count="0"/>
|
1758 |
<line num="722" type="stmt" count="0"/>
|
1759 |
+
<line num="723" type="stmt" count="0"/>
|
1760 |
<line num="724" type="stmt" count="0"/>
|
1761 |
+
<line num="726" type="stmt" count="0"/>
|
1762 |
+
<line num="736" type="method" name="notice_backup_get" visibility="public" complexity="3" crap="12" count="0"/>
|
|
|
1763 |
<line num="737" type="stmt" count="0"/>
|
1764 |
<line num="738" type="stmt" count="0"/>
|
1765 |
+
<line num="739" type="stmt" count="0"/>
|
1766 |
<line num="740" type="stmt" count="0"/>
|
1767 |
<line num="742" type="stmt" count="0"/>
|
|
|
1768 |
<line num="744" type="stmt" count="0"/>
|
1769 |
<line num="745" type="stmt" count="0"/>
|
1770 |
<line num="746" type="stmt" count="0"/>
|
1771 |
<line num="747" type="stmt" count="0"/>
|
1772 |
<line num="748" type="stmt" count="0"/>
|
1773 |
<line num="749" type="stmt" count="0"/>
|
1774 |
+
<line num="750" type="stmt" count="0"/>
|
1775 |
<line num="751" type="stmt" count="0"/>
|
1776 |
<line num="753" type="stmt" count="0"/>
|
1777 |
<line num="755" type="stmt" count="0"/>
|
|
|
1778 |
<line num="757" type="stmt" count="0"/>
|
1779 |
<line num="758" type="stmt" count="0"/>
|
1780 |
<line num="759" type="stmt" count="0"/>
|
1781 |
+
<line num="760" type="stmt" count="0"/>
|
1782 |
<line num="761" type="stmt" count="0"/>
|
1783 |
+
<line num="763" type="stmt" count="0"/>
|
1784 |
+
<line num="775" type="method" name="notice_backup_show" visibility="public" complexity="14" crap="210" count="0"/>
|
1785 |
+
<line num="776" type="stmt" count="0"/>
|
|
|
1786 |
<line num="783" type="stmt" count="0"/>
|
1787 |
<line num="784" type="stmt" count="0"/>
|
1788 |
<line num="785" type="stmt" count="0"/>
|
1789 |
+
<line num="786" type="stmt" count="0"/>
|
1790 |
+
<line num="787" type="stmt" count="0"/>
|
1791 |
+
<line num="790" type="stmt" count="0"/>
|
1792 |
+
<line num="796" type="stmt" count="0"/>
|
1793 |
+
<line num="797" type="stmt" count="0"/>
|
1794 |
+
<line num="804" type="stmt" count="0"/>
|
1795 |
+
<line num="805" type="stmt" count="0"/>
|
1796 |
+
<line num="809" type="stmt" count="0"/>
|
1797 |
+
<line num="810" type="stmt" count="0"/>
|
1798 |
+
<line num="813" type="stmt" count="0"/>
|
1799 |
<line num="817" type="stmt" count="0"/>
|
1800 |
+
<line num="818" type="stmt" count="0"/>
|
1801 |
<line num="819" type="stmt" count="0"/>
|
|
|
1802 |
<line num="821" type="stmt" count="0"/>
|
1803 |
+
<line num="822" type="stmt" count="0"/>
|
1804 |
<line num="823" type="stmt" count="0"/>
|
|
|
1805 |
<line num="825" type="stmt" count="0"/>
|
1806 |
<line num="826" type="stmt" count="0"/>
|
1807 |
+
<line num="827" type="stmt" count="0"/>
|
1808 |
+
<line num="828" type="stmt" count="0"/>
|
1809 |
+
<line num="837" type="stmt" count="0"/>
|
1810 |
<line num="846" type="stmt" count="0"/>
|
1811 |
<line num="847" type="stmt" count="0"/>
|
1812 |
<line num="848" type="stmt" count="0"/>
|
1813 |
<line num="849" type="stmt" count="0"/>
|
1814 |
+
<line num="850" type="stmt" count="0"/>
|
1815 |
<line num="851" type="stmt" count="0"/>
|
1816 |
+
<line num="853" type="stmt" count="0"/>
|
1817 |
<line num="854" type="stmt" count="0"/>
|
1818 |
+
<line num="856" type="stmt" count="0"/>
|
1819 |
+
<line num="857" type="stmt" count="0"/>
|
1820 |
+
<line num="861" type="stmt" count="0"/>
|
1821 |
+
<line num="864" type="stmt" count="0"/>
|
1822 |
+
<line num="865" type="stmt" count="0"/>
|
1823 |
+
<line num="869" type="stmt" count="0"/>
|
1824 |
<line num="870" type="stmt" count="0"/>
|
1825 |
+
<line num="872" type="stmt" count="0"/>
|
1826 |
+
<line num="875" type="stmt" count="0"/>
|
|
|
1827 |
<line num="883" type="stmt" count="0"/>
|
1828 |
<line num="884" type="stmt" count="0"/>
|
1829 |
<line num="885" type="stmt" count="0"/>
|
1830 |
+
<line num="886" type="stmt" count="0"/>
|
1831 |
+
<line num="887" type="stmt" count="0"/>
|
1832 |
+
<line num="903" type="method" name="notice_deadline_show" visibility="public" complexity="5" crap="30" count="0"/>
|
1833 |
+
<line num="911" type="stmt" count="0"/>
|
1834 |
+
<line num="912" type="stmt" count="0"/>
|
1835 |
<line num="916" type="stmt" count="0"/>
|
1836 |
+
<line num="918" type="stmt" count="0"/>
|
1837 |
+
<line num="921" type="stmt" count="0"/>
|
1838 |
+
<line num="922" type="stmt" count="0"/>
|
1839 |
+
<line num="926" type="stmt" count="0"/>
|
1840 |
+
<line num="929" type="stmt" count="0"/>
|
1841 |
+
<line num="930" type="stmt" count="0"/>
|
1842 |
+
<line num="937" type="stmt" count="0"/>
|
1843 |
+
<line num="948" type="method" name="set_update_trigger" visibility="public" complexity="5" crap="30" count="0"/>
|
1844 |
+
<line num="949" type="stmt" count="0"/>
|
1845 |
+
<line num="950" type="stmt" count="0"/>
|
1846 |
<line num="953" type="stmt" count="0"/>
|
1847 |
+
<line num="955" type="stmt" count="0"/>
|
1848 |
+
<line num="956" type="stmt" count="0"/>
|
1849 |
<line num="959" type="stmt" count="0"/>
|
1850 |
+
<line num="961" type="stmt" count="0"/>
|
1851 |
+
<line num="962" type="stmt" count="0"/>
|
1852 |
+
<line num="973" type="method" name="notice_activated_get" visibility="public" complexity="7" crap="56" count="0"/>
|
1853 |
<line num="975" type="stmt" count="0"/>
|
1854 |
<line num="977" type="stmt" count="0"/>
|
1855 |
<line num="979" type="stmt" count="0"/>
|
1856 |
<line num="981" type="stmt" count="0"/>
|
1857 |
<line num="983" type="stmt" count="0"/>
|
1858 |
<line num="985" type="stmt" count="0"/>
|
|
|
1859 |
<line num="987" type="stmt" count="0"/>
|
1860 |
+
<line num="988" type="stmt" count="0"/>
|
1861 |
<line num="989" type="stmt" count="0"/>
|
|
|
1862 |
<line num="991" type="stmt" count="0"/>
|
1863 |
<line num="992" type="stmt" count="0"/>
|
1864 |
<line num="993" type="stmt" count="0"/>
|
1868 |
<line num="997" type="stmt" count="0"/>
|
1869 |
<line num="998" type="stmt" count="0"/>
|
1870 |
<line num="999" type="stmt" count="0"/>
|
1871 |
+
<line num="1000" type="stmt" count="0"/>
|
1872 |
+
<line num="1001" type="stmt" count="0"/>
|
1873 |
<line num="1004" type="stmt" count="0"/>
|
|
|
1874 |
<line num="1006" type="stmt" count="0"/>
|
1875 |
+
<line num="1007" type="stmt" count="0"/>
|
1876 |
<line num="1008" type="stmt" count="0"/>
|
1877 |
+
<line num="1010" type="stmt" count="0"/>
|
|
|
1878 |
<line num="1013" type="stmt" count="0"/>
|
1879 |
+
<line num="1014" type="stmt" count="0"/>
|
1880 |
<line num="1015" type="stmt" count="0"/>
|
1881 |
+
<line num="1017" type="stmt" count="0"/>
|
1882 |
+
<line num="1031" type="method" name="notice_activated_show" visibility="public" complexity="2" crap="6" count="0"/>
|
1883 |
+
<line num="1037" type="stmt" count="0"/>
|
1884 |
+
<line num="1038" type="stmt" count="0"/>
|
1885 |
<line num="1041" type="stmt" count="0"/>
|
1886 |
+
<line num="1043" type="stmt" count="0"/>
|
1887 |
+
<line num="1044" type="stmt" count="0"/>
|
1888 |
+
<line num="1053" type="method" name="wp_ajax_cancel" visibility="public" complexity="4" crap="20" count="0"/>
|
1889 |
+
<line num="1055" type="stmt" count="0"/>
|
1890 |
<line num="1056" type="stmt" count="0"/>
|
1891 |
<line num="1058" type="stmt" count="0"/>
|
1892 |
+
<line num="1060" type="stmt" count="0"/>
|
1893 |
+
<line num="1061" type="stmt" count="0"/>
|
|
|
1894 |
<line num="1064" type="stmt" count="0"/>
|
1895 |
+
<line num="1065" type="stmt" count="0"/>
|
1896 |
<line num="1066" type="stmt" count="0"/>
|
1897 |
<line num="1068" type="stmt" count="0"/>
|
1898 |
+
<line num="1070" type="stmt" count="0"/>
|
1899 |
+
<line num="1071" type="stmt" count="0"/>
|
1900 |
+
<line num="1074" type="stmt" count="0"/>
|
1901 |
+
<line num="1077" type="stmt" count="0"/>
|
1902 |
+
<line num="1080" type="stmt" count="0"/>
|
1903 |
+
<line num="1081" type="stmt" count="0"/>
|
1904 |
+
<line num="1090" type="method" name="wp_ajax_get_deadline" visibility="public" complexity="3" crap="12" count="0"/>
|
|
|
1905 |
<line num="1092" type="stmt" count="0"/>
|
1906 |
+
<line num="1093" type="stmt" count="0"/>
|
1907 |
+
<line num="1094" type="stmt" count="0"/>
|
1908 |
+
<line num="1097" type="stmt" count="0"/>
|
1909 |
<line num="1100" type="stmt" count="0"/>
|
1910 |
+
<line num="1101" type="stmt" count="0"/>
|
1911 |
+
<line num="1102" type="stmt" count="0"/>
|
1912 |
+
<line num="1105" type="stmt" count="0"/>
|
1913 |
+
<line num="1106" type="stmt" count="0"/>
|
1914 |
+
<line num="1116" type="method" name="wp_ajax_get_countdown_notice" visibility="public" complexity="3" crap="12" count="0"/>
|
1915 |
<line num="1117" type="stmt" count="0"/>
|
1916 |
+
<line num="1118" type="stmt" count="0"/>
|
1917 |
<line num="1119" type="stmt" count="0"/>
|
|
|
1918 |
<line num="1121" type="stmt" count="0"/>
|
1919 |
<line num="1122" type="stmt" count="0"/>
|
1920 |
+
<line num="1123" type="stmt" count="0"/>
|
1921 |
<line num="1124" type="stmt" count="0"/>
|
1922 |
+
<line num="1126" type="stmt" count="0"/>
|
1923 |
<line num="1127" type="stmt" count="0"/>
|
1924 |
+
<line num="1129" type="stmt" count="0"/>
|
1925 |
+
<line num="1130" type="stmt" count="0"/>
|
1926 |
+
<line num="1139" type="method" name="wp_ajax_get_protect_notice" visibility="public" complexity="4" crap="20" count="0"/>
|
|
|
1927 |
<line num="1140" type="stmt" count="0"/>
|
1928 |
+
<line num="1141" type="stmt" count="0"/>
|
1929 |
<line num="1142" type="stmt" count="0"/>
|
1930 |
+
<line num="1144" type="stmt" count="0"/>
|
1931 |
<line num="1145" type="stmt" count="0"/>
|
|
|
1932 |
<line num="1147" type="stmt" count="0"/>
|
1933 |
+
<line num="1148" type="stmt" count="0"/>
|
1934 |
<line num="1149" type="stmt" count="0"/>
|
|
|
1935 |
<line num="1151" type="stmt" count="0"/>
|
1936 |
<line num="1152" type="stmt" count="0"/>
|
1937 |
+
<line num="1153" type="stmt" count="0"/>
|
1938 |
+
<line num="1154" type="stmt" count="0"/>
|
1939 |
+
<line num="1157" type="stmt" count="0"/>
|
1940 |
+
<line num="1158" type="stmt" count="0"/>
|
1941 |
+
<line num="1169" type="method" name="validate_rollback_option" visibility="public" complexity="4" crap="20" count="0"/>
|
1942 |
<line num="1170" type="stmt" count="0"/>
|
1943 |
+
<line num="1171" type="stmt" count="0"/>
|
1944 |
<line num="1172" type="stmt" count="0"/>
|
|
|
1945 |
<line num="1174" type="stmt" count="0"/>
|
1946 |
<line num="1175" type="stmt" count="0"/>
|
1947 |
+
<line num="1176" type="stmt" count="0"/>
|
1948 |
<line num="1177" type="stmt" count="0"/>
|
1949 |
+
<line num="1179" type="stmt" count="0"/>
|
1950 |
+
<line num="1191" type="method" name="wp_ajax_cli_cancel" visibility="public" complexity="3" crap="12" count="0"/>
|
1951 |
<line num="1192" type="stmt" count="0"/>
|
|
|
1952 |
<line num="1194" type="stmt" count="0"/>
|
1953 |
<line num="1195" type="stmt" count="0"/>
|
1954 |
<line num="1196" type="stmt" count="0"/>
|
1955 |
+
<line num="1197" type="stmt" count="0"/>
|
1956 |
<line num="1198" type="stmt" count="0"/>
|
1957 |
+
<line num="1200" type="stmt" count="0"/>
|
1958 |
+
<metrics loc="1201" ncloc="662" classes="1" methods="26" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="425" coveredstatements="29" elements="451" coveredelements="31"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1959 |
</file>
|
1960 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-backup-dir.php">
|
1961 |
<class name="Boldgrid_Backup_Admin_Backup_Dir" namespace="global" fullPackage="Boldgrid.Backup.Admin.Backup">
|
1962 |
+
<metrics complexity="61" methods="14" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="123" elements="211" coveredelements="128"/>
|
1963 |
</class>
|
1964 |
+
<line num="64" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
1965 |
+
<line num="65" type="stmt" count="20"/>
|
1966 |
+
<line num="66" type="stmt" count="20"/>
|
1967 |
<line num="75" type="method" name="can_exec_write" visibility="public" complexity="1" crap="1" count="1"/>
|
1968 |
<line num="76" type="stmt" count="1"/>
|
1969 |
<line num="78" type="stmt" count="1"/>
|
1970 |
+
<line num="89" type="method" name="create" visibility="public" complexity="11" crap="11.15" count="2"/>
|
1971 |
+
<line num="90" type="stmt" count="2"/>
|
1972 |
+
<line num="93" type="stmt" count="2"/>
|
1973 |
+
<line num="96" type="stmt" count="2"/>
|
1974 |
+
<line num="98" type="stmt" count="2"/>
|
1975 |
+
<line num="100" type="stmt" count="2"/>
|
1976 |
+
<line num="102" type="stmt" count="2"/>
|
1977 |
+
<line num="103" type="stmt" count="2"/>
|
1978 |
+
<line num="104" type="stmt" count="2"/>
|
1979 |
+
<line num="108" type="stmt" count="2"/>
|
1980 |
+
<line num="109" type="stmt" count="2"/>
|
1981 |
+
<line num="110" type="stmt" count="2"/>
|
1982 |
+
<line num="111" type="stmt" count="2"/>
|
1983 |
+
<line num="113" type="stmt" count="2"/>
|
1984 |
+
<line num="114" type="stmt" count="2"/>
|
1985 |
+
<line num="115" type="stmt" count="2"/>
|
1986 |
+
<line num="116" type="stmt" count="2"/>
|
1987 |
+
<line num="118" type="stmt" count="2"/>
|
1988 |
+
<line num="119" type="stmt" count="2"/>
|
1989 |
+
<line num="120" type="stmt" count="2"/>
|
1990 |
+
<line num="121" type="stmt" count="2"/>
|
1991 |
+
<line num="123" type="stmt" count="2"/>
|
1992 |
+
<line num="124" type="stmt" count="2"/>
|
1993 |
+
<line num="125" type="stmt" count="2"/>
|
1994 |
+
<line num="127" type="stmt" count="2"/>
|
1995 |
+
<line num="128" type="stmt" count="2"/>
|
1996 |
+
<line num="129" type="stmt" count="2"/>
|
1997 |
+
<line num="130" type="stmt" count="2"/>
|
1998 |
+
<line num="140" type="stmt" count="2"/>
|
1999 |
+
<line num="142" type="stmt" count="2"/>
|
2000 |
+
<line num="143" type="stmt" count="2"/>
|
2001 |
+
<line num="144" type="stmt" count="2"/>
|
2002 |
+
<line num="145" type="stmt" count="2"/>
|
2003 |
<line num="146" type="stmt" count="1"/>
|
2004 |
<line num="147" type="stmt" count="1"/>
|
2005 |
<line num="148" type="stmt" count="1"/>
|
2006 |
<line num="149" type="stmt" count="0"/>
|
2007 |
<line num="150" type="stmt" count="0"/>
|
2008 |
<line num="152" type="stmt" count="1"/>
|
2009 |
+
<line num="153" type="stmt" count="2"/>
|
2010 |
+
<line num="154" type="stmt" count="2"/>
|
2011 |
+
<line num="155" type="stmt" count="2"/>
|
2012 |
<line num="156" type="stmt" count="1"/>
|
2013 |
<line num="157" type="stmt" count="1"/>
|
2014 |
<line num="158" type="stmt" count="0"/>
|
2020 |
<line num="166" type="stmt" count="0"/>
|
2021 |
<line num="168" type="stmt" count="1"/>
|
2022 |
<line num="169" type="stmt" count="1"/>
|
2023 |
+
<line num="170" type="stmt" count="2"/>
|
2024 |
+
<line num="171" type="stmt" count="2"/>
|
2025 |
+
<line num="172" type="stmt" count="2"/>
|
2026 |
+
<line num="174" type="stmt" count="2"/>
|
2027 |
<line num="184" type="method" name="dirlist" visibility="public" complexity="2" crap="6" count="0"/>
|
2028 |
<line num="185" type="stmt" count="0"/>
|
2029 |
<line num="187" type="stmt" count="0"/>
|
2040 |
<line num="212" type="stmt" count="0"/>
|
2041 |
<line num="213" type="stmt" count="0"/>
|
2042 |
<line num="215" type="stmt" count="0"/>
|
2043 |
+
<line num="225" type="method" name="get" visibility="public" complexity="4" crap="4.25" count="6"/>
|
2044 |
+
<line num="228" type="stmt" count="6"/>
|
2045 |
+
<line num="229" type="stmt" count="4"/>
|
2046 |
+
<line num="233" type="stmt" count="2"/>
|
2047 |
+
<line num="234" type="stmt" count="2"/>
|
2048 |
+
<line num="235" type="stmt" count="2"/>
|
2049 |
+
<line num="236" type="stmt" count="0"/>
|
2050 |
+
<line num="238" type="stmt" count="0"/>
|
2051 |
<line num="241" type="stmt" count="2"/>
|
2052 |
+
<line num="252" type="method" name="get_logs_dir" visibility="public" complexity="7" crap="7" count="6"/>
|
2053 |
+
<line num="253" type="stmt" count="6"/>
|
2054 |
+
<line num="255" type="stmt" count="6"/>
|
2055 |
+
<line num="258" type="stmt" count="6"/>
|
2056 |
+
<line num="268" type="stmt" count="6"/>
|
2057 |
+
<line num="269" type="stmt" count="6"/>
|
2058 |
+
<line num="272" type="stmt" count="6"/>
|
2059 |
+
<line num="273" type="stmt" count="6"/>
|
2060 |
+
<line num="274" type="stmt" count="6"/>
|
2061 |
+
<line num="277" type="stmt" count="6"/>
|
2062 |
+
<line num="279" type="stmt" count="6"/>
|
2063 |
+
<line num="280" type="stmt" count="6"/>
|
2064 |
+
<line num="281" type="stmt" count="6"/>
|
2065 |
+
<line num="283" type="stmt" count="6"/>
|
2066 |
+
<line num="293" type="stmt" count="6"/>
|
2067 |
<line num="294" type="stmt" count="1"/>
|
2068 |
<line num="295" type="stmt" count="1"/>
|
2069 |
+
<line num="297" type="stmt" count="6"/>
|
2070 |
<line num="306" type="method" name="get_possible_dirs" visibility="public" complexity="3" crap="4.46" count="2"/>
|
2071 |
<line num="307" type="stmt" count="2"/>
|
2072 |
<line num="310" type="stmt" count="2"/>
|
2162 |
<line num="549" type="stmt" count="0"/>
|
2163 |
<line num="550" type="stmt" count="0"/>
|
2164 |
<line num="552" type="stmt" count="2"/>
|
2165 |
+
<line num="564" type="method" name="set" visibility="public" complexity="3" crap="3.10" count="2"/>
|
2166 |
+
<line num="566" type="stmt" count="2"/>
|
2167 |
<line num="567" type="stmt" count="0"/>
|
2168 |
+
<line num="570" type="stmt" count="2"/>
|
2169 |
+
<line num="571" type="stmt" count="2"/>
|
2170 |
<line num="572" type="stmt" count="0"/>
|
2171 |
+
<line num="575" type="stmt" count="2"/>
|
2172 |
+
<line num="577" type="stmt" count="2"/>
|
2173 |
+
<line num="578" type="stmt" count="2"/>
|
2174 |
+
<line num="579" type="stmt" count="2"/>
|
2175 |
+
<metrics loc="580" ncloc="322" classes="1" methods="14" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="123" elements="211" coveredelements="128"/>
|
2176 |
</file>
|
2177 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php">
|
2178 |
<class name="Boldgrid_Backup_Admin_Cli" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2280 |
<class name="Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2281 |
<metrics complexity="8" methods="6" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="7" elements="17" coveredelements="11"/>
|
2282 |
</class>
|
2283 |
+
<line num="46" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/>
|
2284 |
+
<line num="47" type="stmt" count="7"/>
|
2285 |
+
<line num="48" type="stmt" count="7"/>
|
2286 |
+
<line num="50" type="stmt" count="7"/>
|
2287 |
+
<line num="51" type="stmt" count="7"/>
|
2288 |
<line num="74" type="method" name="archive_files" visibility="public" complexity="1" crap="2" count="0"/>
|
2289 |
<line num="75" type="stmt" count="0"/>
|
2290 |
<line num="86" type="method" name="is_available" visibility="public" complexity="1" crap="1" count="1"/>
|
2303 |
<class name="Boldgrid_Backup_Admin_Compressors" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2304 |
<metrics complexity="17" methods="7" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="29" coveredstatements="11" elements="36" coveredelements="14"/>
|
2305 |
</class>
|
2306 |
+
<line num="50" type="method" name="__construct" visibility="public" complexity="3" crap="3" count="20"/>
|
2307 |
+
<line num="51" type="stmt" count="20"/>
|
2308 |
+
<line num="57" type="stmt" count="20"/>
|
2309 |
+
<line num="58" type="stmt" count="20"/>
|
2310 |
+
<line num="59" type="stmt" count="20"/>
|
2311 |
+
<line num="60" type="stmt" count="20"/>
|
2312 |
<line num="69" type="method" name="get" visibility="public" complexity="3" crap="3.07" count="4"/>
|
2313 |
<line num="70" type="stmt" count="4"/>
|
2314 |
<line num="71" type="stmt" count="4"/>
|
2343 |
</file>
|
2344 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-config.php">
|
2345 |
<class name="Boldgrid_Backup_Admin_Config" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2346 |
+
<metrics complexity="55" methods="13" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="129" coveredstatements="71" elements="142" coveredelements="75"/>
|
2347 |
</class>
|
2348 |
+
<line num="131" type="method" name="__construct" visibility="public" complexity="3" crap="3.33" count="20"/>
|
2349 |
+
<line num="133" type="stmt" count="20"/>
|
2350 |
+
<line num="134" type="stmt" count="20"/>
|
2351 |
+
<line num="135" type="stmt" count="20"/>
|
2352 |
+
<line num="137" type="stmt" count="20"/>
|
2353 |
+
<line num="138" type="stmt" count="0"/>
|
2354 |
+
<line num="139" type="stmt" count="0"/>
|
2355 |
+
<line num="140" type="stmt" count="0"/>
|
2356 |
+
<line num="142" type="stmt" count="20"/>
|
2357 |
+
<line num="143" type="stmt" count="20"/>
|
2358 |
<line num="152" type="method" name="get_home_directory" visibility="public" complexity="18" crap="83.95" count="2"/>
|
2359 |
<line num="154" type="stmt" count="2"/>
|
2360 |
<line num="155" type="stmt" count="0"/>
|
2403 |
<line num="256" type="stmt" count="0"/>
|
2404 |
<line num="267" type="method" name="get_default_retention" visibility="public" complexity="1" crap="1" count="7"/>
|
2405 |
<line num="268" type="stmt" count="7"/>
|
2406 |
+
<line num="277" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="20"/>
|
2407 |
+
<line num="278" type="stmt" count="20"/>
|
2408 |
+
<line num="279" type="stmt" count="20"/>
|
2409 |
+
<line num="280" type="stmt" count="20"/>
|
2410 |
+
<line num="281" type="stmt" count="20"/>
|
2411 |
+
<line num="282" type="stmt" count="20"/>
|
2412 |
+
<line num="283" type="stmt" count="20"/>
|
2413 |
+
<line num="284" type="stmt" count="20"/>
|
2414 |
+
<line num="285" type="stmt" count="20"/>
|
2415 |
+
<line num="286" type="stmt" count="20"/>
|
2416 |
+
<line num="287" type="stmt" count="20"/>
|
2417 |
+
<line num="289" type="stmt" count="20"/>
|
2418 |
<line num="301" type="method" name="custom_upload_dir" visibility="public" complexity="1" crap="2" count="0"/>
|
2419 |
<line num="303" type="stmt" count="0"/>
|
2420 |
<line num="306" type="stmt" count="0"/>
|
2487 |
<line num="470" type="stmt" count="1"/>
|
2488 |
<line num="471" type="stmt" count="1"/>
|
2489 |
<line num="473" type="stmt" count="1"/>
|
2490 |
+
<metrics loc="475" ncloc="203" classes="1" methods="13" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="129" coveredstatements="71" elements="142" coveredelements="75"/>
|
2491 |
</file>
|
2492 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core-files.php">
|
2493 |
<class name="Boldgrid_Backup_Admin_Core_Files" namespace="global" fullPackage="Boldgrid.Backup.Admin.Core">
|
2494 |
<metrics complexity="6" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="8" elements="11" coveredelements="9"/>
|
2495 |
</class>
|
2496 |
+
<line num="71" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
2497 |
+
<line num="72" type="stmt" count="20"/>
|
2498 |
+
<line num="73" type="stmt" count="20"/>
|
2499 |
<line num="83" type="method" name="is_core_file" visibility="public" complexity="5" crap="5.07" count="4"/>
|
2500 |
<line num="84" type="stmt" count="4"/>
|
2501 |
<line num="85" type="stmt" count="0"/>
|
2508 |
</file>
|
2509 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
|
2510 |
<class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2511 |
+
<metrics complexity="232" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1087" coveredstatements="534" elements="1115" coveredelements="538"/>
|
2512 |
</class>
|
2513 |
+
<line num="584" type="method" name="__construct" visibility="public" complexity="7" crap="7.03" count="20"/>
|
2514 |
+
<line num="585" type="stmt" count="20"/>
|
2515 |
+
<line num="586" type="stmt" count="20"/>
|
2516 |
+
<line num="587" type="stmt" count="20"/>
|
2517 |
+
<line num="589" type="stmt" count="20"/>
|
2518 |
+
<line num="591" type="stmt" count="20"/>
|
2519 |
+
<line num="592" type="stmt" count="20"/>
|
2520 |
+
<line num="593" type="stmt" count="20"/>
|
2521 |
+
<line num="595" type="stmt" count="20"/>
|
2522 |
+
<line num="597" type="stmt" count="20"/>
|
2523 |
+
<line num="600" type="stmt" count="20"/>
|
2524 |
+
<line num="603" type="stmt" count="20"/>
|
2525 |
+
<line num="606" type="stmt" count="20"/>
|
2526 |
+
<line num="609" type="stmt" count="20"/>
|
2527 |
+
<line num="612" type="stmt" count="20"/>
|
2528 |
+
<line num="615" type="stmt" count="20"/>
|
2529 |
+
<line num="618" type="stmt" count="20"/>
|
2530 |
+
<line num="622" type="stmt" count="20"/>
|
2531 |
+
<line num="624" type="stmt" count="20"/>
|
2532 |
+
<line num="626" type="stmt" count="20"/>
|
2533 |
+
<line num="628" type="stmt" count="20"/>
|
2534 |
+
<line num="630" type="stmt" count="20"/>
|
2535 |
+
<line num="632" type="stmt" count="20"/>
|
2536 |
+
<line num="634" type="stmt" count="20"/>
|
2537 |
+
<line num="636" type="stmt" count="20"/>
|
2538 |
+
<line num="638" type="stmt" count="20"/>
|
2539 |
+
<line num="640" type="stmt" count="20"/>
|
2540 |
+
<line num="642" type="stmt" count="20"/>
|
2541 |
+
<line num="644" type="stmt" count="20"/>
|
2542 |
+
<line num="646" type="stmt" count="20"/>
|
2543 |
+
<line num="648" type="stmt" count="20"/>
|
2544 |
+
<line num="650" type="stmt" count="20"/>
|
2545 |
+
<line num="652" type="stmt" count="20"/>
|
2546 |
+
<line num="654" type="stmt" count="20"/>
|
2547 |
+
<line num="656" type="stmt" count="20"/>
|
2548 |
+
<line num="658" type="stmt" count="20"/>
|
2549 |
+
<line num="660" type="stmt" count="20"/>
|
2550 |
+
<line num="662" type="stmt" count="20"/>
|
2551 |
+
<line num="664" type="stmt" count="20"/>
|
2552 |
+
<line num="666" type="stmt" count="20"/>
|
2553 |
+
<line num="668" type="stmt" count="20"/>
|
2554 |
+
<line num="670" type="stmt" count="20"/>
|
2555 |
+
<line num="672" type="stmt" count="20"/>
|
2556 |
+
<line num="674" type="stmt" count="20"/>
|
2557 |
+
<line num="676" type="stmt" count="20"/>
|
2558 |
+
<line num="678" type="stmt" count="20"/>
|
2559 |
+
<line num="680" type="stmt" count="20"/>
|
2560 |
+
<line num="682" type="stmt" count="20"/>
|
2561 |
+
<line num="684" type="stmt" count="20"/>
|
2562 |
+
<line num="686" type="stmt" count="20"/>
|
2563 |
+
<line num="688" type="stmt" count="20"/>
|
2564 |
+
<line num="690" type="stmt" count="20"/>
|
2565 |
+
<line num="692" type="stmt" count="20"/>
|
2566 |
+
<line num="694" type="stmt" count="20"/>
|
2567 |
+
<line num="696" type="stmt" count="20"/>
|
2568 |
+
<line num="698" type="stmt" count="20"/>
|
2569 |
+
<line num="700" type="stmt" count="20"/>
|
2570 |
+
<line num="702" type="stmt" count="20"/>
|
2571 |
+
<line num="705" type="stmt" count="20"/>
|
2572 |
+
<line num="706" type="stmt" count="20"/>
|
2573 |
+
<line num="709" type="stmt" count="20"/>
|
2574 |
+
<line num="711" type="stmt" count="20"/>
|
2575 |
+
<line num="714" type="stmt" count="20"/>
|
2576 |
+
<line num="715" type="stmt" count="20"/>
|
2577 |
+
<line num="718" type="stmt" count="20"/>
|
2578 |
+
<line num="719" type="stmt" count="0"/>
|
2579 |
+
<line num="720" type="stmt" count="0"/>
|
2580 |
+
<line num="723" type="stmt" count="20"/>
|
2581 |
+
<line num="724" type="stmt" count="20"/>
|
2582 |
+
<line num="725" type="stmt" count="0"/>
|
2583 |
+
<line num="726" type="stmt" count="0"/>
|
2584 |
+
<line num="727" type="stmt" count="20"/>
|
2585 |
+
<line num="728" type="stmt" count="0"/>
|
2586 |
+
<line num="729" type="stmt" count="0"/>
|
2587 |
+
<line num="730" type="stmt" count="20"/>
|
2588 |
+
<line num="739" type="method" name="get_backup_identifier" visibility="public" complexity="5" crap="5.79" count="25"/>
|
2589 |
+
<line num="741" type="stmt" count="25"/>
|
2590 |
+
<line num="742" type="stmt" count="6"/>
|
2591 |
+
<line num="746" type="stmt" count="20"/>
|
2592 |
+
<line num="749" type="stmt" count="20"/>
|
2593 |
+
<line num="750" type="stmt" count="19"/>
|
2594 |
+
<line num="752" type="stmt" count="19"/>
|
2595 |
+
<line num="756" type="stmt" count="1"/>
|
2596 |
+
<line num="758" type="stmt" count="1"/>
|
2597 |
+
<line num="760" type="stmt" count="1"/>
|
2598 |
+
<line num="763" type="stmt" count="1"/>
|
2599 |
+
<line num="764" type="stmt" count="0"/>
|
2600 |
+
<line num="766" type="stmt" count="0"/>
|
2601 |
+
<line num="767" type="stmt" count="0"/>
|
2602 |
+
<line num="768" type="stmt" count="0"/>
|
2603 |
+
<line num="770" type="stmt" count="0"/>
|
2604 |
+
<line num="771" type="stmt" count="0"/>
|
2605 |
+
<line num="774" type="stmt" count="1"/>
|
2606 |
+
<line num="776" type="stmt" count="1"/>
|
2607 |
+
<line num="778" type="stmt" count="1"/>
|
2608 |
+
<line num="790" type="method" name="get_core" visibility="public" complexity="1" crap="1" count="18"/>
|
2609 |
+
<line num="791" type="stmt" count="18"/>
|
2610 |
+
<line num="801" type="method" name="init_premium" visibility="public" complexity="5" crap="30" count="0"/>
|
2611 |
+
<line num="802" type="stmt" count="0"/>
|
2612 |
+
<line num="804" type="stmt" count="0"/>
|
2613 |
+
<line num="810" type="stmt" count="0"/>
|
2614 |
+
<line num="811" type="stmt" count="0"/>
|
2615 |
+
<line num="819" type="stmt" count="0"/>
|
2616 |
+
<line num="820" type="stmt" count="0"/>
|
2617 |
+
<line num="822" type="stmt" count="0"/>
|
2618 |
+
<line num="823" type="stmt" count="0"/>
|
2619 |
+
<line num="825" type="stmt" count="0"/>
|
2620 |
+
<line num="826" type="stmt" count="0"/>
|
2621 |
<line num="828" type="stmt" count="0"/>
|
2622 |
+
<line num="829" type="stmt" count="0"/>
|
2623 |
<line num="830" type="stmt" count="0"/>
|
2624 |
+
<line num="831" type="stmt" count="0"/>
|
2625 |
+
<line num="832" type="stmt" count="0"/>
|
2626 |
+
<line num="833" type="stmt" count="0"/>
|
2627 |
+
<line num="834" type="stmt" count="0"/>
|
2628 |
+
<line num="835" type="stmt" count="0"/>
|
2629 |
<line num="836" type="stmt" count="0"/>
|
2630 |
+
<line num="838" type="stmt" count="0"/>
|
2631 |
+
<line num="840" type="stmt" count="0"/>
|
2632 |
+
<line num="841" type="stmt" count="0"/>
|
2633 |
+
<line num="843" type="stmt" count="0"/>
|
2634 |
<line num="845" type="stmt" count="0"/>
|
2635 |
<line num="846" type="stmt" count="0"/>
|
2636 |
+
<line num="847" type="stmt" count="0"/>
|
2637 |
<line num="848" type="stmt" count="0"/>
|
2638 |
<line num="849" type="stmt" count="0"/>
|
2639 |
<line num="851" type="stmt" count="0"/>
|
2640 |
<line num="852" type="stmt" count="0"/>
|
2641 |
+
<line num="853" type="stmt" count="0"/>
|
2642 |
<line num="855" type="stmt" count="0"/>
|
|
|
|
|
2643 |
<line num="858" type="stmt" count="0"/>
|
2644 |
<line num="859" type="stmt" count="0"/>
|
2645 |
<line num="860" type="stmt" count="0"/>
|
2646 |
+
<line num="875" type="method" name="execute_command" visibility="public" complexity="6" crap="6.04" count="5"/>
|
2647 |
+
<line num="877" type="stmt" count="5"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2648 |
<line num="878" type="stmt" count="0"/>
|
2649 |
+
<line num="882" type="stmt" count="5"/>
|
2650 |
+
<line num="883" type="stmt" count="1"/>
|
2651 |
+
<line num="884" type="stmt" count="1"/>
|
2652 |
+
<line num="887" type="stmt" count="5"/>
|
2653 |
+
<line num="888" type="stmt" count="5"/>
|
2654 |
+
<line num="889" type="stmt" count="5"/>
|
2655 |
+
<line num="891" type="stmt" count="5"/>
|
2656 |
+
<line num="893" type="stmt" count="5"/>
|
2657 |
+
<line num="903" type="method" name="add_menu_items" visibility="public" complexity="5" crap="30" count="0"/>
|
2658 |
<line num="904" type="stmt" count="0"/>
|
2659 |
+
<line num="907" type="stmt" count="0"/>
|
2660 |
+
<line num="908" type="stmt" count="0"/>
|
2661 |
+
<line num="909" type="stmt" count="0"/>
|
2662 |
+
<line num="910" type="stmt" count="0"/>
|
2663 |
+
<line num="911" type="stmt" count="0"/>
|
2664 |
+
<line num="912" type="stmt" count="0"/>
|
2665 |
+
<line num="913" type="stmt" count="0"/>
|
2666 |
+
<line num="914" type="stmt" count="0"/>
|
2667 |
+
<line num="915" type="stmt" count="0"/>
|
2668 |
+
<line num="916" type="stmt" count="0"/>
|
2669 |
+
<line num="919" type="stmt" count="0"/>
|
2670 |
+
<line num="922" type="stmt" count="0"/>
|
2671 |
+
<line num="925" type="stmt" count="0"/>
|
2672 |
+
<line num="926" type="stmt" count="0"/>
|
2673 |
+
<line num="928" type="stmt" count="0"/>
|
2674 |
+
<line num="929" type="stmt" count="0"/>
|
2675 |
<line num="930" type="stmt" count="0"/>
|
2676 |
+
<line num="932" type="stmt" count="0"/>
|
2677 |
<line num="933" type="stmt" count="0"/>
|
2678 |
<line num="934" type="stmt" count="0"/>
|
|
|
2679 |
<line num="936" type="stmt" count="0"/>
|
|
|
|
|
2680 |
<line num="939" type="stmt" count="0"/>
|
2681 |
<line num="940" type="stmt" count="0"/>
|
2682 |
<line num="941" type="stmt" count="0"/>
|
2683 |
<line num="942" type="stmt" count="0"/>
|
2684 |
+
<line num="943" type="stmt" count="0"/>
|
2685 |
+
<line num="944" type="stmt" count="0"/>
|
2686 |
+
<line num="946" type="stmt" count="0"/>
|
2687 |
+
<line num="947" type="stmt" count="0"/>
|
2688 |
+
<line num="949" type="stmt" count="0"/>
|
2689 |
<line num="952" type="stmt" count="0"/>
|
2690 |
+
<line num="953" type="stmt" count="0"/>
|
2691 |
<line num="954" type="stmt" count="0"/>
|
2692 |
<line num="955" type="stmt" count="0"/>
|
2693 |
<line num="956" type="stmt" count="0"/>
|
2694 |
+
<line num="957" type="stmt" count="0"/>
|
2695 |
<line num="959" type="stmt" count="0"/>
|
2696 |
<line num="960" type="stmt" count="0"/>
|
2697 |
<line num="962" type="stmt" count="0"/>
|
2713 |
<line num="985" type="stmt" count="0"/>
|
2714 |
<line num="986" type="stmt" count="0"/>
|
2715 |
<line num="988" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
2716 |
<line num="995" type="stmt" count="0"/>
|
2717 |
<line num="996" type="stmt" count="0"/>
|
2718 |
+
<line num="997" type="stmt" count="0"/>
|
2719 |
<line num="998" type="stmt" count="0"/>
|
2720 |
<line num="999" type="stmt" count="0"/>
|
2721 |
+
<line num="1000" type="stmt" count="0"/>
|
2722 |
+
<line num="1002" type="stmt" count="0"/>
|
2723 |
+
<line num="1003" type="stmt" count="0"/>
|
2724 |
<line num="1005" type="stmt" count="0"/>
|
|
|
|
|
2725 |
<line num="1008" type="stmt" count="0"/>
|
2726 |
<line num="1009" type="stmt" count="0"/>
|
2727 |
+
<line num="1010" type="stmt" count="0"/>
|
2728 |
<line num="1011" type="stmt" count="0"/>
|
2729 |
<line num="1012" type="stmt" count="0"/>
|
2730 |
+
<line num="1013" type="stmt" count="0"/>
|
2731 |
+
<line num="1015" type="stmt" count="0"/>
|
2732 |
+
<line num="1016" type="stmt" count="0"/>
|
2733 |
+
<line num="1018" type="stmt" count="0"/>
|
2734 |
<line num="1021" type="stmt" count="0"/>
|
2735 |
<line num="1022" type="stmt" count="0"/>
|
2736 |
<line num="1023" type="stmt" count="0"/>
|
2752 |
<line num="1047" type="stmt" count="0"/>
|
2753 |
<line num="1048" type="stmt" count="0"/>
|
2754 |
<line num="1049" type="stmt" count="0"/>
|
|
|
2755 |
<line num="1051" type="stmt" count="0"/>
|
2756 |
<line num="1052" type="stmt" count="0"/>
|
2757 |
+
<line num="1053" type="stmt" count="0"/>
|
2758 |
<line num="1055" type="stmt" count="0"/>
|
2759 |
+
<line num="1056" type="stmt" count="0"/>
|
2760 |
+
<line num="1058" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
2761 |
<line num="1065" type="stmt" count="0"/>
|
2762 |
+
<line num="1066" type="stmt" count="0"/>
|
2763 |
<line num="1068" type="stmt" count="0"/>
|
2764 |
+
<line num="1069" type="stmt" count="0"/>
|
2765 |
<line num="1070" type="stmt" count="0"/>
|
2766 |
+
<line num="1071" type="stmt" count="0"/>
|
2767 |
+
<line num="1072" type="stmt" count="0"/>
|
2768 |
<line num="1074" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
2769 |
<line num="1082" type="stmt" count="0"/>
|
2770 |
+
<line num="1083" type="stmt" count="0"/>
|
2771 |
<line num="1084" type="stmt" count="0"/>
|
2772 |
+
<line num="1085" type="stmt" count="0"/>
|
2773 |
+
<line num="1086" type="stmt" count="0"/>
|
2774 |
+
<line num="1087" type="stmt" count="0"/>
|
2775 |
+
<line num="1088" type="stmt" count="0"/>
|
2776 |
+
<line num="1089" type="stmt" count="0"/>
|
2777 |
+
<line num="1090" type="stmt" count="0"/>
|
2778 |
+
<line num="1099" type="method" name="admin_enqueue_scripts" visibility="public" complexity="1" crap="2" count="0"/>
|
2779 |
<line num="1100" type="stmt" count="0"/>
|
2780 |
+
<line num="1101" type="stmt" count="0"/>
|
2781 |
+
<line num="1102" type="stmt" count="0"/>
|
2782 |
+
<line num="1103" type="stmt" count="0"/>
|
2783 |
+
<line num="1105" type="stmt" count="0"/>
|
2784 |
+
<line num="1107" type="stmt" count="0"/>
|
2785 |
<line num="1108" type="stmt" count="0"/>
|
2786 |
<line num="1109" type="stmt" count="0"/>
|
2787 |
<line num="1110" type="stmt" count="0"/>
|
|
|
2788 |
<line num="1112" type="stmt" count="0"/>
|
2789 |
<line num="1113" type="stmt" count="0"/>
|
2790 |
+
<line num="1125" type="method" name="backup_database" visibility="private" complexity="7" crap="13.12" count="4"/>
|
2791 |
+
<line num="1130" type="stmt" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
2792 |
<line num="1131" type="stmt" count="0"/>
|
2793 |
+
<line num="1135" type="stmt" count="4"/>
|
2794 |
+
<line num="1137" type="stmt" count="0"/>
|
|
|
|
|
2795 |
<line num="1138" type="stmt" count="0"/>
|
2796 |
+
<line num="1142" type="stmt" count="4"/>
|
2797 |
+
<line num="1145" type="stmt" count="4"/>
|
2798 |
+
<line num="1148" type="stmt" count="4"/>
|
2799 |
+
<line num="1150" type="stmt" count="0"/>
|
2800 |
+
<line num="1152" type="stmt" count="0"/>
|
2801 |
+
<line num="1154" type="stmt" count="0"/>
|
2802 |
+
<line num="1155" type="stmt" count="0"/>
|
2803 |
+
<line num="1159" type="stmt" count="4"/>
|
2804 |
+
<line num="1162" type="stmt" count="4"/>
|
2805 |
+
<line num="1164" type="stmt" count="4"/>
|
2806 |
+
<line num="1167" type="stmt" count="4"/>
|
2807 |
<line num="1168" type="stmt" count="4"/>
|
2808 |
+
<line num="1169" type="stmt" count="0"/>
|
2809 |
+
<line num="1173" type="stmt" count="4"/>
|
2810 |
<line num="1174" type="stmt" count="4"/>
|
2811 |
<line num="1176" type="stmt" count="0"/>
|
2812 |
<line num="1178" type="stmt" count="0"/>
|
2813 |
<line num="1180" type="stmt" count="0"/>
|
2814 |
<line num="1181" type="stmt" count="0"/>
|
2815 |
+
<line num="1183" type="stmt" count="4"/>
|
2816 |
+
<line num="1184" type="stmt" count="4"/>
|
2817 |
+
<line num="1186" type="stmt" count="0"/>
|
2818 |
+
<line num="1188" type="stmt" count="0"/>
|
2819 |
+
<line num="1190" type="stmt" count="0"/>
|
2820 |
+
<line num="1191" type="stmt" count="0"/>
|
2821 |
+
<line num="1195" type="stmt" count="4"/>
|
2822 |
+
<line num="1198" type="stmt" count="4"/>
|
2823 |
+
<line num="1218" type="method" name="restore_database" visibility="private" complexity="9" crap="26.50" count="1"/>
|
2824 |
+
<line num="1220" type="stmt" count="1"/>
|
2825 |
+
<line num="1222" type="stmt" count="0"/>
|
2826 |
+
<line num="1223" type="stmt" count="0"/>
|
2827 |
+
<line num="1224" type="stmt" count="0"/>
|
2828 |
+
<line num="1226" type="stmt" count="0"/>
|
2829 |
+
<line num="1228" type="stmt" count="0"/>
|
2830 |
+
<line num="1232" type="stmt" count="1"/>
|
2831 |
+
<line num="1234" type="stmt" count="0"/>
|
2832 |
+
<line num="1236" type="stmt" count="0"/>
|
2833 |
+
<line num="1240" type="stmt" count="1"/>
|
2834 |
+
<line num="1243" type="stmt" count="1"/>
|
|
|
2835 |
<line num="1246" type="stmt" count="1"/>
|
2836 |
+
<line num="1247" type="stmt" count="1"/>
|
2837 |
+
<line num="1249" type="stmt" count="1"/>
|
2838 |
+
<line num="1251" type="stmt" count="1"/>
|
2839 |
+
<line num="1257" type="stmt" count="0"/>
|
2840 |
+
<line num="1258" type="stmt" count="0"/>
|
2841 |
+
<line num="1261" type="stmt" count="1"/>
|
2842 |
+
<line num="1262" type="stmt" count="1"/>
|
2843 |
+
<line num="1264" type="stmt" count="1"/>
|
2844 |
+
<line num="1265" type="stmt" count="0"/>
|
2845 |
+
<line num="1266" type="stmt" count="0"/>
|
2846 |
+
<line num="1270" type="stmt" count="1"/>
|
2847 |
+
<line num="1272" type="stmt" count="0"/>
|
2848 |
+
<line num="1275" type="stmt" count="0"/>
|
2849 |
+
<line num="1276" type="stmt" count="0"/>
|
2850 |
+
<line num="1279" type="stmt" count="1"/>
|
2851 |
+
<line num="1282" type="stmt" count="1"/>
|
2852 |
+
<line num="1283" type="stmt" count="1"/>
|
2853 |
+
<line num="1286" type="stmt" count="1"/>
|
2854 |
+
<line num="1288" type="stmt" count="0"/>
|
2855 |
+
<line num="1290" type="stmt" count="0"/>
|
2856 |
<line num="1292" type="stmt" count="0"/>
|
2857 |
<line num="1293" type="stmt" count="0"/>
|
2858 |
+
<line num="1294" type="stmt" count="0"/>
|
2859 |
+
<line num="1295" type="stmt" count="0"/>
|
2860 |
+
<line num="1297" type="stmt" count="0"/>
|
2861 |
<line num="1299" type="stmt" count="0"/>
|
2862 |
+
<line num="1300" type="stmt" count="0"/>
|
2863 |
+
<line num="1301" type="stmt" count="0"/>
|
2864 |
+
<line num="1304" type="stmt" count="1"/>
|
2865 |
+
<line num="1307" type="stmt" count="0"/>
|
2866 |
+
<line num="1309" type="stmt" count="0"/>
|
2867 |
+
<line num="1310" type="stmt" count="0"/>
|
2868 |
<line num="1313" type="stmt" count="1"/>
|
2869 |
+
<line num="1324" type="method" name="get_filelist" visibility="public" complexity="10" crap="10.11" count="4"/>
|
2870 |
+
<line num="1327" type="stmt" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2871 |
<line num="1328" type="stmt" count="0"/>
|
2872 |
+
<line num="1332" type="stmt" count="4"/>
|
2873 |
+
<line num="1335" type="stmt" count="4"/>
|
2874 |
<line num="1336" type="stmt" count="0"/>
|
2875 |
+
<line num="1340" type="stmt" count="4"/>
|
2876 |
+
<line num="1343" type="stmt" count="4"/>
|
2877 |
+
<line num="1344" type="stmt" count="4"/>
|
2878 |
+
<line num="1345" type="stmt" count="4"/>
|
2879 |
+
<line num="1348" type="stmt" count="4"/>
|
2880 |
+
<line num="1351" type="stmt" count="4"/>
|
2881 |
<line num="1362" type="stmt" count="4"/>
|
2882 |
+
<line num="1363" type="stmt" count="4"/>
|
2883 |
+
<line num="1364" type="stmt" count="4"/>
|
2884 |
+
<line num="1365" type="stmt" count="4"/>
|
2885 |
+
<line num="1366" type="stmt" count="4"/>
|
2886 |
+
<line num="1368" type="stmt" count="4"/>
|
2887 |
<line num="1370" type="stmt" count="4"/>
|
2888 |
+
<line num="1373" type="stmt" count="4"/>
|
2889 |
+
<line num="1374" type="stmt" count="0"/>
|
2890 |
+
<line num="1376" type="stmt" count="4"/>
|
2891 |
+
<line num="1377" type="stmt" count="4"/>
|
2892 |
+
<line num="1380" type="stmt" count="4"/>
|
2893 |
+
<line num="1381" type="stmt" count="4"/>
|
2894 |
+
<line num="1384" type="stmt" count="0"/>
|
2895 |
+
<line num="1386" type="stmt" count="4"/>
|
2896 |
<line num="1389" type="stmt" count="4"/>
|
|
|
2897 |
<line num="1391" type="stmt" count="4"/>
|
2898 |
<line num="1392" type="stmt" count="4"/>
|
2899 |
+
<line num="1394" type="stmt" count="4"/>
|
2900 |
+
<line num="1396" type="stmt" count="4"/>
|
|
|
2901 |
<line num="1400" type="stmt" count="4"/>
|
|
|
2902 |
<line num="1403" type="stmt" count="4"/>
|
2903 |
+
<line num="1406" type="stmt" count="4"/>
|
2904 |
<line num="1407" type="stmt" count="4"/>
|
2905 |
<line num="1408" type="stmt" count="4"/>
|
2906 |
+
<line num="1409" type="stmt" count="4"/>
|
2907 |
+
<line num="1411" type="stmt" count="4"/>
|
2908 |
+
<line num="1414" type="stmt" count="4"/>
|
2909 |
+
<line num="1430" type="method" name="get_filtered_filelist" visibility="public" complexity="8" crap="8.30" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
2910 |
<line num="1433" type="stmt" count="4"/>
|
2911 |
+
<line num="1434" type="stmt" count="0"/>
|
|
|
|
|
2912 |
<line num="1438" type="stmt" count="4"/>
|
2913 |
<line num="1441" type="stmt" count="4"/>
|
2914 |
+
<line num="1442" type="stmt" count="0"/>
|
2915 |
+
<line num="1446" type="stmt" count="4"/>
|
2916 |
+
<line num="1449" type="stmt" count="4"/>
|
2917 |
+
<line num="1452" type="stmt" count="4"/>
|
2918 |
+
<line num="1453" type="stmt" count="4"/>
|
2919 |
+
<line num="1455" type="stmt" count="4"/>
|
2920 |
+
<line num="1456" type="stmt" count="0"/>
|
2921 |
+
<line num="1459" type="stmt" count="4"/>
|
2922 |
<line num="1460" type="stmt" count="4"/>
|
2923 |
+
<line num="1463" type="stmt" count="4"/>
|
2924 |
+
<line num="1464" type="stmt" count="4"/>
|
2925 |
+
<line num="1467" type="stmt" count="4"/>
|
2926 |
+
<line num="1470" type="stmt" count="4"/>
|
2927 |
<line num="1473" type="stmt" count="4"/>
|
2928 |
+
<line num="1485" type="method" name="generate_archive_path" visibility="public" complexity="3" crap="3.00" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
2929 |
<line num="1487" type="stmt" count="4"/>
|
2930 |
<line num="1490" type="stmt" count="4"/>
|
2931 |
+
<line num="1493" type="stmt" count="4"/>
|
2932 |
+
<line num="1494" type="stmt" count="0"/>
|
2933 |
+
<line num="1498" type="stmt" count="4"/>
|
2934 |
+
<line num="1501" type="stmt" count="4"/>
|
2935 |
+
<line num="1503" type="stmt" count="4"/>
|
2936 |
+
<line num="1504" type="stmt" count="4"/>
|
2937 |
+
<line num="1505" type="stmt" count="4"/>
|
2938 |
+
<line num="1506" type="stmt" count="4"/>
|
2939 |
+
<line num="1507" type="stmt" count="4"/>
|
2940 |
+
<line num="1508" type="stmt" count="4"/>
|
2941 |
+
<line num="1509" type="stmt" count="4"/>
|
2942 |
+
<line num="1512" type="stmt" count="4"/>
|
2943 |
+
<line num="1515" type="stmt" count="4"/>
|
2944 |
<line num="1517" type="stmt" count="4"/>
|
2945 |
+
<line num="1519" type="stmt" count="4"/>
|
2946 |
<line num="1520" type="stmt" count="4"/>
|
2947 |
+
<line num="1522" type="stmt" count="4"/>
|
2948 |
+
<line num="1537" type="method" name="archive_files" visibility="public" complexity="49" crap="70.58" count="4"/>
|
2949 |
+
<line num="1538" type="stmt" count="4"/>
|
2950 |
+
<line num="1540" type="stmt" count="4"/>
|
2951 |
+
<line num="1541" type="stmt" count="4"/>
|
2952 |
+
<line num="1543" type="stmt" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2953 |
<line num="1549" type="stmt" count="4"/>
|
2954 |
+
<line num="1551" type="stmt" count="4"/>
|
2955 |
+
<line num="1552" type="stmt" count="4"/>
|
2956 |
+
<line num="1553" type="stmt" count="4"/>
|
2957 |
+
<line num="1560" type="stmt" count="4"/>
|
2958 |
+
<line num="1562" type="stmt" count="4"/>
|
2959 |
+
<line num="1563" type="stmt" count="4"/>
|
2960 |
+
<line num="1564" type="stmt" count="4"/>
|
2961 |
+
<line num="1575" type="stmt" count="4"/>
|
2962 |
+
<line num="1576" type="stmt" count="0"/>
|
2963 |
+
<line num="1577" type="stmt" count="0"/>
|
2964 |
+
<line num="1578" type="stmt" count="0"/>
|
2965 |
<line num="1582" type="stmt" count="4"/>
|
2966 |
+
<line num="1584" type="stmt" count="0"/>
|
2967 |
+
<line num="1586" type="stmt" count="0"/>
|
2968 |
+
<line num="1587" type="stmt" count="0"/>
|
2969 |
+
<line num="1589" type="stmt" count="0"/>
|
2970 |
<line num="1593" type="stmt" count="4"/>
|
2971 |
+
<line num="1602" type="stmt" count="4"/>
|
2972 |
+
<line num="1603" type="stmt" count="4"/>
|
2973 |
<line num="1604" type="stmt" count="4"/>
|
2974 |
+
<line num="1605" type="stmt" count="4"/>
|
2975 |
+
<line num="1606" type="stmt" count="4"/>
|
2976 |
+
<line num="1607" type="stmt" count="4"/>
|
2977 |
+
<line num="1608" type="stmt" count="4"/>
|
2978 |
+
<line num="1609" type="stmt" count="4"/>
|
2979 |
+
<line num="1610" type="stmt" count="4"/>
|
2980 |
<line num="1611" type="stmt" count="4"/>
|
2981 |
+
<line num="1612" type="stmt" count="4"/>
|
2982 |
+
<line num="1614" type="stmt" count="4"/>
|
2983 |
+
<line num="1615" type="stmt" count="4"/>
|
2984 |
+
<line num="1616" type="stmt" count="4"/>
|
2985 |
+
<line num="1617" type="stmt" count="4"/>
|
2986 |
+
<line num="1619" type="stmt" count="4"/>
|
2987 |
+
<line num="1620" type="stmt" count="4"/>
|
2988 |
+
<line num="1621" type="stmt" count="4"/>
|
2989 |
<line num="1622" type="stmt" count="4"/>
|
2990 |
+
<line num="1623" type="stmt" count="4"/>
|
2991 |
+
<line num="1624" type="stmt" count="4"/>
|
2992 |
+
<line num="1625" type="stmt" count="4"/>
|
2993 |
+
<line num="1626" type="stmt" count="4"/>
|
2994 |
+
<line num="1627" type="stmt" count="4"/>
|
2995 |
+
<line num="1628" type="stmt" count="4"/>
|
2996 |
+
<line num="1629" type="stmt" count="4"/>
|
2997 |
+
<line num="1630" type="stmt" count="4"/>
|
2998 |
<line num="1631" type="stmt" count="4"/>
|
|
|
|
|
2999 |
<line num="1634" type="stmt" count="4"/>
|
3000 |
+
<line num="1635" type="stmt" count="0"/>
|
3001 |
<line num="1636" type="stmt" count="4"/>
|
3002 |
+
<line num="1637" type="stmt" count="0"/>
|
3003 |
+
<line num="1638" type="stmt" count="0"/>
|
3004 |
<line num="1639" type="stmt" count="4"/>
|
3005 |
+
<line num="1640" type="stmt" count="0"/>
|
3006 |
<line num="1641" type="stmt" count="4"/>
|
3007 |
+
<line num="1642" type="stmt" count="0"/>
|
3008 |
+
<line num="1643" type="stmt" count="0"/>
|
3009 |
<line num="1644" type="stmt" count="4"/>
|
3010 |
+
<line num="1647" type="stmt" count="4"/>
|
|
|
|
|
|
|
3011 |
<line num="1650" type="stmt" count="4"/>
|
3012 |
+
<line num="1651" type="stmt" count="0"/>
|
|
|
|
|
|
|
3013 |
<line num="1655" type="stmt" count="4"/>
|
|
|
|
|
3014 |
<line num="1658" type="stmt" count="4"/>
|
3015 |
+
<line num="1661" type="stmt" count="4"/>
|
3016 |
+
<line num="1664" type="stmt" count="4"/>
|
|
|
|
|
3017 |
<line num="1665" type="stmt" count="4"/>
|
3018 |
+
<line num="1666" type="stmt" count="4"/>
|
|
|
3019 |
<line num="1668" type="stmt" count="4"/>
|
|
|
3020 |
<line num="1670" type="stmt" count="4"/>
|
3021 |
+
<line num="1671" type="stmt" count="4"/>
|
|
|
3022 |
<line num="1673" type="stmt" count="4"/>
|
3023 |
+
<line num="1675" type="stmt" count="0"/>
|
3024 |
+
<line num="1676" type="stmt" count="0"/>
|
3025 |
+
<line num="1677" type="stmt" count="0"/>
|
3026 |
<line num="1679" type="stmt" count="4"/>
|
3027 |
+
<line num="1682" type="stmt" count="4"/>
|
3028 |
+
<line num="1685" type="stmt" count="4"/>
|
3029 |
+
<line num="1688" type="stmt" count="4"/>
|
3030 |
+
<line num="1691" type="stmt" count="4"/>
|
3031 |
+
<line num="1692" type="stmt" count="0"/>
|
3032 |
+
<line num="1694" type="stmt" count="0"/>
|
3033 |
+
<line num="1695" type="stmt" count="0"/>
|
3034 |
+
<line num="1697" type="stmt" count="0"/>
|
3035 |
+
<line num="1701" type="stmt" count="4"/>
|
3036 |
+
<line num="1704" type="stmt" count="4"/>
|
|
|
|
|
3037 |
<line num="1705" type="stmt" count="0"/>
|
3038 |
+
<line num="1709" type="stmt" count="4"/>
|
3039 |
+
<line num="1710" type="stmt" count="4"/>
|
3040 |
+
<line num="1713" type="stmt" count="4"/>
|
3041 |
<line num="1714" type="stmt" count="4"/>
|
3042 |
+
<line num="1715" type="stmt" count="4"/>
|
3043 |
+
<line num="1716" type="stmt" count="4"/>
|
3044 |
+
<line num="1718" type="stmt" count="4"/>
|
3045 |
<line num="1720" type="stmt" count="4"/>
|
3046 |
+
<line num="1721" type="stmt" count="4"/>
|
3047 |
+
<line num="1722" type="stmt" count="4"/>
|
3048 |
+
<line num="1723" type="stmt" count="4"/>
|
3049 |
+
<line num="1724" type="stmt" count="4"/>
|
3050 |
+
<line num="1725" type="stmt" count="4"/>
|
3051 |
+
<line num="1726" type="stmt" count="4"/>
|
3052 |
+
<line num="1727" type="stmt" count="4"/>
|
3053 |
+
<line num="1728" type="stmt" count="4"/>
|
3054 |
<line num="1730" type="stmt" count="4"/>
|
|
|
|
|
|
|
|
|
3055 |
<line num="1742" type="stmt" count="4"/>
|
|
|
3056 |
<line num="1744" type="stmt" count="4"/>
|
3057 |
<line num="1745" type="stmt" count="4"/>
|
3058 |
+
<line num="1748" type="stmt" count="4"/>
|
|
|
3059 |
<line num="1750" type="stmt" count="4"/>
|
|
|
3060 |
<line num="1752" type="stmt" count="4"/>
|
3061 |
<line num="1753" type="stmt" count="4"/>
|
3062 |
<line num="1754" type="stmt" count="4"/>
|
|
|
3063 |
<line num="1756" type="stmt" count="4"/>
|
3064 |
+
<line num="1762" type="stmt" count="4"/>
|
3065 |
+
<line num="1763" type="stmt" count="4"/>
|
3066 |
+
<line num="1764" type="stmt" count="1"/>
|
3067 |
+
<line num="1765" type="stmt" count="1"/>
|
3068 |
+
<line num="1766" type="stmt" count="1"/>
|
3069 |
+
<line num="1767" type="stmt" count="4"/>
|
3070 |
+
<line num="1768" type="stmt" count="4"/>
|
3071 |
+
<line num="1769" type="stmt" count="4"/>
|
3072 |
+
<line num="1770" type="stmt" count="4"/>
|
3073 |
+
<line num="1771" type="stmt" count="1"/>
|
3074 |
+
<line num="1773" type="stmt" count="0"/>
|
3075 |
+
<line num="1774" type="stmt" count="0"/>
|
3076 |
+
<line num="1775" type="stmt" count="1"/>
|
3077 |
+
<line num="1777" type="stmt" count="0"/>
|
3078 |
+
<line num="1778" type="stmt" count="0"/>
|
3079 |
+
<line num="1779" type="stmt" count="1"/>
|
3080 |
+
<line num="1781" type="stmt" count="0"/>
|
3081 |
+
<line num="1782" type="stmt" count="0"/>
|
3082 |
+
<line num="1783" type="stmt" count="1"/>
|
3083 |
+
<line num="1785" type="stmt" count="0"/>
|
3084 |
+
<line num="1786" type="stmt" count="0"/>
|
3085 |
+
<line num="1787" type="stmt" count="1"/>
|
3086 |
+
<line num="1788" type="stmt" count="1"/>
|
3087 |
+
<line num="1789" type="stmt" count="1"/>
|
3088 |
+
<line num="1790" type="stmt" count="1"/>
|
3089 |
+
<line num="1791" type="stmt" count="0"/>
|
3090 |
+
<line num="1792" type="stmt" count="0"/>
|
3091 |
+
<line num="1793" type="stmt" count="0"/>
|
3092 |
+
<line num="1794" type="stmt" count="4"/>
|
3093 |
<line num="1796" type="stmt" count="4"/>
|
3094 |
<line num="1797" type="stmt" count="4"/>
|
3095 |
+
<line num="1800" type="stmt" count="4"/>
|
3096 |
+
<line num="1801" type="stmt" count="4"/>
|
|
|
3097 |
<line num="1802" type="stmt" count="0"/>
|
3098 |
<line num="1803" type="stmt" count="0"/>
|
3099 |
+
<line num="1804" type="stmt" count="4"/>
|
3100 |
+
<line num="1805" type="stmt" count="4"/>
|
3101 |
+
<line num="1806" type="stmt" count="4"/>
|
3102 |
+
<line num="1807" type="stmt" count="4"/>
|
3103 |
+
<line num="1808" type="stmt" count="4"/>
|
3104 |
+
<line num="1809" type="stmt" count="4"/>
|
3105 |
+
<line num="1810" type="stmt" count="4"/>
|
3106 |
+
<line num="1811" type="stmt" count="4"/>
|
3107 |
+
<line num="1812" type="stmt" count="4"/>
|
3108 |
+
<line num="1814" type="stmt" count="4"/>
|
3109 |
+
<line num="1815" type="stmt" count="4"/>
|
3110 |
+
<line num="1817" type="stmt" count="4"/>
|
3111 |
+
<line num="1819" type="stmt" count="4"/>
|
3112 |
<line num="1820" type="stmt" count="0"/>
|
3113 |
<line num="1821" type="stmt" count="0"/>
|
|
|
3114 |
<line num="1823" type="stmt" count="4"/>
|
3115 |
+
<line num="1824" type="stmt" count="0"/>
|
3116 |
+
<line num="1827" type="stmt" count="4"/>
|
3117 |
<line num="1829" type="stmt" count="4"/>
|
3118 |
+
<line num="1831" type="stmt" count="4"/>
|
|
|
|
|
|
|
3119 |
<line num="1834" type="stmt" count="4"/>
|
|
|
|
|
3120 |
<line num="1837" type="stmt" count="4"/>
|
3121 |
<line num="1838" type="stmt" count="4"/>
|
|
|
|
|
3122 |
<line num="1841" type="stmt" count="4"/>
|
|
|
3123 |
<line num="1844" type="stmt" count="4"/>
|
3124 |
+
<line num="1845" type="stmt" count="4"/>
|
3125 |
<line num="1846" type="stmt" count="4"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3126 |
<line num="1875" type="stmt" count="4"/>
|
3127 |
+
<line num="1886" type="stmt" count="4"/>
|
3128 |
+
<line num="1887" type="stmt" count="4"/>
|
3129 |
+
<line num="1889" type="stmt" count="4"/>
|
3130 |
+
<line num="1890" type="stmt" count="4"/>
|
3131 |
+
<line num="1891" type="stmt" count="4"/>
|
3132 |
+
<line num="1893" type="stmt" count="4"/>
|
3133 |
+
<line num="1894" type="stmt" count="4"/>
|
3134 |
+
<line num="1897" type="stmt" count="4"/>
|
3135 |
+
<line num="1899" type="stmt" count="4"/>
|
3136 |
+
<line num="1901" type="stmt" count="4"/>
|
3137 |
<line num="1904" type="stmt" count="4"/>
|
3138 |
+
<line num="1906" type="stmt" count="4"/>
|
3139 |
+
<line num="1907" type="stmt" count="4"/>
|
3140 |
+
<line num="1910" type="stmt" count="4"/>
|
3141 |
+
<line num="1911" type="stmt" count="0"/>
|
3142 |
+
<line num="1912" type="stmt" count="0"/>
|
3143 |
+
<line num="1914" type="stmt" count="4"/>
|
3144 |
<line num="1916" type="stmt" count="4"/>
|
3145 |
+
<line num="1917" type="stmt" count="0"/>
|
3146 |
+
<line num="1918" type="stmt" count="0"/>
|
3147 |
<line num="1920" type="stmt" count="4"/>
|
3148 |
+
<line num="1921" type="stmt" count="4"/>
|
3149 |
<line num="1923" type="stmt" count="4"/>
|
3150 |
<line num="1926" type="stmt" count="4"/>
|
3151 |
+
<line num="1947" type="method" name="get_archive_list" visibility="public" complexity="11" crap="11.15" count="5"/>
|
3152 |
+
<line num="1949" type="stmt" count="5"/>
|
3153 |
+
<line num="1952" type="stmt" count="5"/>
|
3154 |
+
<line num="1955" type="stmt" count="5"/>
|
3155 |
+
<line num="1956" type="stmt" count="5"/>
|
3156 |
+
<line num="1957" type="stmt" count="5"/>
|
3157 |
+
<line num="1960" type="stmt" count="5"/>
|
3158 |
+
<line num="1961" type="stmt" count="0"/>
|
3159 |
+
<line num="1965" type="stmt" count="5"/>
|
3160 |
+
<line num="1968" type="stmt" count="5"/>
|
3161 |
+
<line num="1969" type="stmt" count="0"/>
|
3162 |
+
<line num="1973" type="stmt" count="5"/>
|
3163 |
+
<line num="1974" type="stmt" count="0"/>
|
3164 |
+
<line num="1976" type="stmt" count="5"/>
|
3165 |
+
<line num="1977" type="stmt" count="4"/>
|
3166 |
+
<line num="1980" type="stmt" count="5"/>
|
3167 |
+
<line num="1981" type="stmt" count="4"/>
|
3168 |
+
<line num="1984" type="stmt" count="5"/>
|
3169 |
+
<line num="1986" type="stmt" count="5"/>
|
3170 |
+
<line num="1989" type="stmt" count="5"/>
|
3171 |
+
<line num="1992" type="stmt" count="5"/>
|
3172 |
+
<line num="1993" type="stmt" count="5"/>
|
3173 |
+
<line num="1995" type="stmt" count="4"/>
|
3174 |
+
<line num="1998" type="stmt" count="4"/>
|
3175 |
+
<line num="1999" type="stmt" count="0"/>
|
3176 |
+
<line num="2004" type="stmt" count="4"/>
|
3177 |
+
<line num="2005" type="stmt" count="4"/>
|
3178 |
+
<line num="2006" type="stmt" count="4"/>
|
3179 |
+
<line num="2007" type="stmt" count="4"/>
|
3180 |
+
<line num="2008" type="stmt" count="4"/>
|
3181 |
+
<line num="2009" type="stmt" count="4"/>
|
3182 |
+
<line num="2010" type="stmt" count="4"/>
|
3183 |
+
<line num="2011" type="stmt" count="4"/>
|
3184 |
+
<line num="2015" type="stmt" count="4"/>
|
3185 |
+
<line num="2016" type="stmt" count="1"/>
|
3186 |
+
<line num="2018" type="stmt" count="4"/>
|
3187 |
+
<line num="2019" type="stmt" count="5"/>
|
3188 |
+
<line num="2022" type="stmt" count="5"/>
|
3189 |
+
<line num="2033" type="method" name="delete_archive_file" visibility="public" complexity="11" crap="132" count="0"/>
|
3190 |
+
<line num="2036" type="stmt" count="0"/>
|
3191 |
+
<line num="2037" type="stmt" count="0"/>
|
3192 |
+
<line num="2041" type="stmt" count="0"/>
|
3193 |
+
<line num="2044" type="stmt" count="0"/>
|
3194 |
+
<line num="2047" type="stmt" count="0"/>
|
3195 |
+
<line num="2048" type="stmt" count="0"/>
|
3196 |
+
<line num="2049" type="stmt" count="0"/>
|
3197 |
+
<line num="2050" type="stmt" count="0"/>
|
3198 |
+
<line num="2052" type="stmt" count="0"/>
|
3199 |
+
<line num="2053" type="stmt" count="0"/>
|
3200 |
+
<line num="2054" type="stmt" count="0"/>
|
3201 |
+
<line num="2056" type="stmt" count="0"/>
|
3202 |
+
<line num="2058" type="stmt" count="0"/>
|
3203 |
+
<line num="2062" type="stmt" count="0"/>
|
3204 |
+
<line num="2063" type="stmt" count="0"/>
|
3205 |
+
<line num="2064" type="stmt" count="0"/>
|
|
|
3206 |
<line num="2066" type="stmt" count="0"/>
|
3207 |
+
<line num="2067" type="stmt" count="0"/>
|
3208 |
+
<line num="2068" type="stmt" count="0"/>
|
3209 |
<line num="2070" type="stmt" count="0"/>
|
3210 |
+
<line num="2072" type="stmt" count="0"/>
|
3211 |
<line num="2076" type="stmt" count="0"/>
|
3212 |
<line num="2077" type="stmt" count="0"/>
|
|
|
|
|
3213 |
<line num="2081" type="stmt" count="0"/>
|
3214 |
+
<line num="2084" type="stmt" count="0"/>
|
3215 |
+
<line num="2086" type="stmt" count="0"/>
|
|
|
3216 |
<line num="2087" type="stmt" count="0"/>
|
3217 |
+
<line num="2088" type="stmt" count="0"/>
|
3218 |
+
<line num="2090" type="stmt" count="0"/>
|
3219 |
<line num="2092" type="stmt" count="0"/>
|
|
|
|
|
|
|
3220 |
<line num="2097" type="stmt" count="0"/>
|
3221 |
+
<line num="2098" type="stmt" count="0"/>
|
3222 |
<line num="2099" type="stmt" count="0"/>
|
3223 |
+
<line num="2102" type="stmt" count="0"/>
|
3224 |
+
<line num="2104" type="stmt" count="0"/>
|
3225 |
<line num="2105" type="stmt" count="0"/>
|
3226 |
<line num="2106" type="stmt" count="0"/>
|
3227 |
+
<line num="2108" type="stmt" count="0"/>
|
3228 |
<line num="2110" type="stmt" count="0"/>
|
|
|
3229 |
<line num="2115" type="stmt" count="0"/>
|
3230 |
<line num="2116" type="stmt" count="0"/>
|
3231 |
<line num="2117" type="stmt" count="0"/>
|
3232 |
<line num="2119" type="stmt" count="0"/>
|
3233 |
+
<line num="2122" type="stmt" count="0"/>
|
3234 |
+
<line num="2123" type="stmt" count="0"/>
|
3235 |
+
<line num="2124" type="stmt" count="0"/>
|
3236 |
+
<line num="2125" type="stmt" count="0"/>
|
3237 |
<line num="2127" type="stmt" count="0"/>
|
3238 |
<line num="2128" type="stmt" count="0"/>
|
3239 |
+
<line num="2138" type="stmt" count="0"/>
|
3240 |
+
<line num="2141" type="stmt" count="0"/>
|
3241 |
+
<line num="2154" type="method" name="get_dump_file" visibility="public" complexity="9" crap="25.08" count="1"/>
|
3242 |
+
<line num="2156" type="stmt" count="1"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3243 |
<line num="2157" type="stmt" count="0"/>
|
3244 |
+
<line num="2177" type="stmt" count="1"/>
|
3245 |
+
<line num="2178" type="stmt" count="1"/>
|
3246 |
+
<line num="2179" type="stmt" count="1"/>
|
3247 |
+
<line num="2180" type="stmt" count="1"/>
|
3248 |
+
<line num="2184" type="stmt" count="0"/>
|
3249 |
+
<line num="2187" type="stmt" count="0"/>
|
3250 |
+
<line num="2190" type="stmt" count="0"/>
|
3251 |
+
<line num="2191" type="stmt" count="0"/>
|
3252 |
+
<line num="2195" type="stmt" count="0"/>
|
3253 |
+
<line num="2196" type="stmt" count="0"/>
|
3254 |
+
<line num="2197" type="method" name="anonymous function" complexity="3" crap="12" count="0"/>
|
3255 |
+
<line num="2198" type="stmt" count="0"/>
|
3256 |
+
<line num="2199" type="stmt" count="0"/>
|
3257 |
+
<line num="2202" type="stmt" count="0"/>
|
3258 |
+
<line num="2203" type="stmt" count="0"/>
|
3259 |
+
<line num="2206" type="stmt" count="0"/>
|
3260 |
+
<line num="2208" type="stmt" count="0"/>
|
3261 |
+
<line num="2215" type="stmt" count="0"/>
|
3262 |
<line num="2216" type="stmt" count="0"/>
|
3263 |
+
<line num="2217" type="stmt" count="0"/>
|
3264 |
+
<line num="2218" type="stmt" count="0"/>
|
3265 |
<line num="2220" type="stmt" count="0"/>
|
3266 |
+
<line num="2223" type="stmt" count="0"/>
|
3267 |
+
<line num="2236" type="method" name="restore_archive_file" visibility="public" complexity="27" crap="62.28" count="1"/>
|
3268 |
+
<line num="2237" type="stmt" count="1"/>
|
3269 |
+
<line num="2239" type="stmt" count="1"/>
|
3270 |
+
<line num="2240" type="stmt" count="1"/>
|
3271 |
+
<line num="2241" type="stmt" count="1"/>
|
3272 |
+
<line num="2244" type="stmt" count="1"/>
|
3273 |
+
<line num="2246" type="stmt" count="1"/>
|
3274 |
+
<line num="2249" type="stmt" count="1"/>
|
3275 |
+
<line num="2250" type="stmt" count="0"/>
|
3276 |
+
<line num="2251" type="stmt" count="0"/>
|
|
|
|
|
|
|
3277 |
<line num="2252" type="stmt" count="0"/>
|
3278 |
+
<line num="2256" type="stmt" count="1"/>
|
3279 |
+
<line num="2257" type="stmt" count="0"/>
|
3280 |
+
<line num="2258" type="stmt" count="0"/>
|
3281 |
+
<line num="2259" type="stmt" count="0"/>
|
3282 |
+
<line num="2263" type="stmt" count="1"/>
|
3283 |
+
<line num="2264" type="stmt" count="1"/>
|
3284 |
+
<line num="2267" type="stmt" count="1"/>
|
3285 |
<line num="2268" type="stmt" count="1"/>
|
3286 |
<line num="2269" type="stmt" count="1"/>
|
3287 |
+
<line num="2270" type="stmt" count="0"/>
|
3288 |
+
<line num="2271" type="stmt" count="0"/>
|
3289 |
+
<line num="2272" type="stmt" count="0"/>
|
3290 |
+
<line num="2276" type="stmt" count="1"/>
|
3291 |
+
<line num="2277" type="stmt" count="1"/>
|
3292 |
<line num="2278" type="stmt" count="1"/>
|
3293 |
<line num="2279" type="stmt" count="0"/>
|
3294 |
<line num="2280" type="stmt" count="0"/>
|
3295 |
<line num="2281" type="stmt" count="0"/>
|
3296 |
<line num="2285" type="stmt" count="1"/>
|
3297 |
+
<line num="2287" type="stmt" count="1"/>
|
3298 |
+
<line num="2288" type="stmt" count="1"/>
|
3299 |
+
<line num="2289" type="stmt" count="0"/>
|
3300 |
+
<line num="2290" type="stmt" count="0"/>
|
3301 |
+
<line num="2291" type="stmt" count="0"/>
|
3302 |
+
<line num="2294" type="stmt" count="1"/>
|
3303 |
<line num="2296" type="stmt" count="1"/>
|
3304 |
+
<line num="2297" type="stmt" count="0"/>
|
3305 |
+
<line num="2298" type="stmt" count="0"/>
|
3306 |
<line num="2299" type="stmt" count="0"/>
|
3307 |
+
<line num="2302" type="stmt" count="1"/>
|
3308 |
+
<line num="2304" type="stmt" count="1"/>
|
3309 |
<line num="2305" type="stmt" count="1"/>
|
3310 |
<line num="2306" type="stmt" count="1"/>
|
3311 |
+
<line num="2307" type="stmt" count="0"/>
|
3312 |
<line num="2308" type="stmt" count="0"/>
|
3313 |
<line num="2309" type="stmt" count="0"/>
|
|
|
3314 |
<line num="2314" type="stmt" count="1"/>
|
3315 |
+
<line num="2315" type="stmt" count="1"/>
|
3316 |
<line num="2316" type="stmt" count="1"/>
|
3317 |
<line num="2317" type="stmt" count="1"/>
|
3318 |
+
<line num="2318" type="stmt" count="1"/>
|
3319 |
+
<line num="2319" type="stmt" count="1"/>
|
3320 |
+
<line num="2320" type="stmt" count="1"/>
|
3321 |
+
<line num="2321" type="stmt" count="1"/>
|
3322 |
+
<line num="2322" type="stmt" count="1"/>
|
3323 |
<line num="2325" type="stmt" count="1"/>
|
3324 |
+
<line num="2327" type="stmt" count="1"/>
|
3325 |
+
<line num="2336" type="stmt" count="1"/>
|
3326 |
+
<line num="2342" type="stmt" count="1"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3327 |
<line num="2343" type="stmt" count="1"/>
|
3328 |
+
<line num="2344" type="stmt" count="0"/>
|
3329 |
+
<line num="2345" type="stmt" count="0"/>
|
3330 |
+
<line num="2346" type="stmt" count="0"/>
|
|
|
3331 |
<line num="2348" type="stmt" count="1"/>
|
3332 |
+
<line num="2349" type="stmt" count="0"/>
|
3333 |
+
<line num="2352" type="stmt" count="1"/>
|
3334 |
+
<line num="2353" type="stmt" count="1"/>
|
3335 |
<line num="2354" type="stmt" count="1"/>
|
3336 |
+
<line num="2355" type="stmt" count="1"/>
|
3337 |
<line num="2356" type="stmt" count="1"/>
|
3338 |
+
<line num="2358" type="stmt" count="1"/>
|
3339 |
+
<line num="2359" type="stmt" count="0"/>
|
3340 |
+
<line num="2369" type="stmt" count="0"/>
|
3341 |
+
<line num="2371" type="stmt" count="0"/>
|
3342 |
+
<line num="2372" type="stmt" count="0"/>
|
3343 |
<line num="2373" type="stmt" count="0"/>
|
3344 |
<line num="2374" type="stmt" count="0"/>
|
3345 |
<line num="2375" type="stmt" count="0"/>
|
3346 |
+
<line num="2377" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
3347 |
<line num="2387" type="stmt" count="1"/>
|
3348 |
+
<line num="2396" type="stmt" count="1"/>
|
3349 |
+
<line num="2397" type="stmt" count="1"/>
|
3350 |
+
<line num="2398" type="stmt" count="1"/>
|
3351 |
+
<line num="2399" type="stmt" count="1"/>
|
3352 |
+
<line num="2400" type="stmt" count="1"/>
|
3353 |
+
<line num="2403" type="stmt" count="1"/>
|
3354 |
<line num="2404" type="stmt" count="0"/>
|
3355 |
+
<line num="2405" type="stmt" count="0"/>
|
3356 |
+
<line num="2407" type="stmt" count="1"/>
|
3357 |
+
<line num="2408" type="stmt" count="0"/>
|
3358 |
+
<line num="2410" type="stmt" count="0"/>
|
3359 |
+
<line num="2411" type="stmt" count="0"/>
|
3360 |
+
<line num="2412" type="stmt" count="0"/>
|
3361 |
+
<line num="2413" type="stmt" count="0"/>
|
3362 |
<line num="2416" type="stmt" count="1"/>
|
3363 |
+
<line num="2417" type="stmt" count="1"/>
|
3364 |
+
<line num="2420" type="stmt" count="1"/>
|
3365 |
+
<line num="2421" type="stmt" count="1"/>
|
3366 |
+
<line num="2424" type="stmt" count="1"/>
|
3367 |
+
<line num="2425" type="stmt" count="0"/>
|
3368 |
+
<line num="2426" type="stmt" count="0"/>
|
3369 |
+
<line num="2427" type="stmt" count="0"/>
|
3370 |
<line num="2429" type="stmt" count="1"/>
|
3371 |
+
<line num="2430" type="stmt" count="1"/>
|
3372 |
+
<line num="2431" type="stmt" count="1"/>
|
3373 |
+
<line num="2434" type="stmt" count="1"/>
|
3374 |
+
<line num="2437" type="stmt" count="1"/>
|
3375 |
+
<line num="2440" type="stmt" count="1"/>
|
3376 |
+
<line num="2441" type="stmt" count="1"/>
|
3377 |
+
<line num="2444" type="stmt" count="1"/>
|
3378 |
+
<line num="2448" type="stmt" count="1"/>
|
|
|
|
|
|
|
|
|
3379 |
<line num="2450" type="stmt" count="1"/>
|
3380 |
+
<line num="2451" type="stmt" count="1"/>
|
3381 |
+
<line num="2454" type="stmt" count="1"/>
|
3382 |
+
<line num="2457" type="stmt" count="1"/>
|
|
|
|
|
3383 |
<line num="2459" type="stmt" count="1"/>
|
3384 |
+
<line num="2461" type="stmt" count="1"/>
|
3385 |
+
<line num="2464" type="stmt" count="1"/>
|
3386 |
+
<line num="2477" type="method" name="page_archives" visibility="public" complexity="5" crap="30" count="0"/>
|
3387 |
+
<line num="2478" type="stmt" count="0"/>
|
3388 |
+
<line num="2481" type="stmt" count="0"/>
|
3389 |
+
<line num="2482" type="stmt" count="0"/>
|
3390 |
+
<line num="2484" type="stmt" count="0"/>
|
3391 |
+
<line num="2487" type="stmt" count="0"/>
|
3392 |
+
<line num="2490" type="stmt" count="0"/>
|
3393 |
+
<line num="2491" type="stmt" count="0"/>
|
3394 |
+
<line num="2493" type="stmt" count="0"/>
|
3395 |
+
<line num="2496" type="stmt" count="0"/>
|
3396 |
+
<line num="2497" type="stmt" count="0"/>
|
3397 |
+
<line num="2498" type="stmt" count="0"/>
|
3398 |
+
<line num="2500" type="stmt" count="0"/>
|
3399 |
+
<line num="2501" type="stmt" count="0"/>
|
3400 |
+
<line num="2504" type="stmt" count="0"/>
|
3401 |
+
<line num="2505" type="stmt" count="0"/>
|
3402 |
+
<line num="2506" type="stmt" count="0"/>
|
3403 |
+
<line num="2509" type="stmt" count="0"/>
|
3404 |
<line num="2512" type="stmt" count="0"/>
|
3405 |
<line num="2515" type="stmt" count="0"/>
|
3406 |
+
<line num="2517" type="stmt" count="0"/>
|
3407 |
<line num="2518" type="stmt" count="0"/>
|
3408 |
<line num="2519" type="stmt" count="0"/>
|
3409 |
+
<line num="2522" type="stmt" count="0"/>
|
3410 |
<line num="2524" type="stmt" count="0"/>
|
3411 |
+
<line num="2527" type="stmt" count="0"/>
|
|
|
3412 |
<line num="2528" type="stmt" count="0"/>
|
3413 |
<line num="2529" type="stmt" count="0"/>
|
3414 |
+
<line num="2531" type="stmt" count="0"/>
|
3415 |
+
<line num="2534" type="stmt" count="0"/>
|
3416 |
<line num="2535" type="stmt" count="0"/>
|
3417 |
+
<line num="2544" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
|
|
|
|
|
|
|
|
3418 |
<line num="2547" type="stmt" count="0"/>
|
3419 |
+
<line num="2548" type="stmt" count="0"/>
|
3420 |
+
<line num="2549" type="stmt" count="0"/>
|
3421 |
<line num="2551" type="stmt" count="0"/>
|
3422 |
<line num="2552" type="stmt" count="0"/>
|
3423 |
+
<line num="2553" type="stmt" count="0"/>
|
3424 |
+
<line num="2556" type="stmt" count="0"/>
|
3425 |
<line num="2557" type="stmt" count="0"/>
|
3426 |
<line num="2558" type="stmt" count="0"/>
|
3427 |
+
<line num="2560" type="stmt" count="0"/>
|
3428 |
+
<line num="2561" type="stmt" count="0"/>
|
3429 |
+
<line num="2562" type="stmt" count="0"/>
|
3430 |
+
<line num="2564" type="stmt" count="0"/>
|
3431 |
+
<line num="2566" type="stmt" count="0"/>
|
3432 |
+
<line num="2567" type="stmt" count="0"/>
|
3433 |
+
<line num="2568" type="stmt" count="0"/>
|
3434 |
<line num="2570" type="stmt" count="0"/>
|
3435 |
<line num="2571" type="stmt" count="0"/>
|
3436 |
+
<line num="2573" type="stmt" count="0"/>
|
|
|
|
|
3437 |
<line num="2576" type="stmt" count="0"/>
|
3438 |
+
<line num="2577" type="stmt" count="0"/>
|
3439 |
+
<line num="2578" type="stmt" count="0"/>
|
3440 |
<line num="2580" type="stmt" count="0"/>
|
3441 |
<line num="2581" type="stmt" count="0"/>
|
3442 |
+
<line num="2582" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
3443 |
<line num="2591" type="stmt" count="0"/>
|
3444 |
+
<line num="2592" type="stmt" count="0"/>
|
3445 |
+
<line num="2604" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3446 |
<line num="2606" type="stmt" count="0"/>
|
|
|
3447 |
<line num="2609" type="stmt" count="0"/>
|
3448 |
<line num="2610" type="stmt" count="0"/>
|
3449 |
+
<line num="2611" type="stmt" count="0"/>
|
3450 |
+
<line num="2612" type="stmt" count="0"/>
|
3451 |
+
<line num="2615" type="stmt" count="0"/>
|
3452 |
+
<line num="2616" type="stmt" count="0"/>
|
3453 |
+
<line num="2617" type="stmt" count="0"/>
|
3454 |
+
<line num="2618" type="stmt" count="0"/>
|
3455 |
<line num="2619" type="stmt" count="0"/>
|
3456 |
+
<line num="2623" type="stmt" count="0"/>
|
3457 |
+
<line num="2624" type="stmt" count="0"/>
|
3458 |
+
<line num="2625" type="stmt" count="0"/>
|
3459 |
+
<line num="2626" type="stmt" count="0"/>
|
3460 |
+
<line num="2627" type="stmt" count="0"/>
|
3461 |
+
<line num="2631" type="stmt" count="0"/>
|
3462 |
<line num="2634" type="stmt" count="0"/>
|
3463 |
+
<line num="2635" type="stmt" count="0"/>
|
3464 |
+
<line num="2636" type="stmt" count="0"/>
|
3465 |
<line num="2637" type="stmt" count="0"/>
|
|
|
|
|
3466 |
<line num="2640" type="stmt" count="0"/>
|
3467 |
<line num="2643" type="stmt" count="0"/>
|
3468 |
<line num="2644" type="stmt" count="0"/>
|
3469 |
<line num="2645" type="stmt" count="0"/>
|
3470 |
<line num="2646" type="stmt" count="0"/>
|
3471 |
+
<line num="2650" type="stmt" count="0"/>
|
3472 |
<line num="2651" type="stmt" count="0"/>
|
3473 |
<line num="2652" type="stmt" count="0"/>
|
|
|
|
|
3474 |
<line num="2655" type="stmt" count="0"/>
|
3475 |
+
<line num="2656" type="stmt" count="0"/>
|
3476 |
+
<line num="2657" type="stmt" count="0"/>
|
3477 |
+
<line num="2658" type="stmt" count="0"/>
|
3478 |
+
<line num="2660" type="stmt" count="0"/>
|
3479 |
<line num="2662" type="stmt" count="0"/>
|
|
|
3480 |
<line num="2664" type="stmt" count="0"/>
|
3481 |
<line num="2665" type="stmt" count="0"/>
|
3482 |
+
<line num="2666" type="stmt" count="0"/>
|
3483 |
+
<line num="2669" type="stmt" count="0"/>
|
3484 |
+
<line num="2670" type="stmt" count="0"/>
|
3485 |
+
<line num="2680" type="method" name="page_backup_test" visibility="public" complexity="6" crap="42" count="0"/>
|
3486 |
+
<line num="2682" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
3487 |
<line num="2685" type="stmt" count="0"/>
|
|
|
3488 |
<line num="2688" type="stmt" count="0"/>
|
3489 |
+
<line num="2691" type="stmt" count="0"/>
|
|
|
|
|
3490 |
<line num="2694" type="stmt" count="0"/>
|
3491 |
+
<line num="2696" type="stmt" count="0"/>
|
3492 |
+
<line num="2699" type="stmt" count="0"/>
|
3493 |
+
<line num="2702" type="stmt" count="0"/>
|
3494 |
+
<line num="2705" type="stmt" count="0"/>
|
3495 |
+
<line num="2708" type="stmt" count="0"/>
|
3496 |
+
<line num="2711" type="stmt" count="0"/>
|
3497 |
<line num="2713" type="stmt" count="0"/>
|
3498 |
+
<line num="2721" type="stmt" count="0"/>
|
|
|
3499 |
<line num="2722" type="stmt" count="0"/>
|
3500 |
+
<line num="2723" type="stmt" count="0"/>
|
3501 |
<line num="2724" type="stmt" count="0"/>
|
3502 |
+
<line num="2725" type="stmt" count="0"/>
|
3503 |
+
<line num="2728" type="stmt" count="0"/>
|
3504 |
+
<line num="2729" type="stmt" count="0"/>
|
3505 |
<line num="2730" type="stmt" count="0"/>
|
3506 |
+
<line num="2731" type="stmt" count="0"/>
|
3507 |
+
<line num="2732" type="stmt" count="0"/>
|
3508 |
<line num="2733" type="stmt" count="0"/>
|
3509 |
+
<line num="2734" type="stmt" count="0"/>
|
3510 |
+
<line num="2735" type="stmt" count="0"/>
|
3511 |
+
<line num="2737" type="stmt" count="0"/>
|
3512 |
+
<line num="2740" type="stmt" count="0"/>
|
3513 |
<line num="2741" type="stmt" count="0"/>
|
3514 |
+
<line num="2742" type="stmt" count="0"/>
|
3515 |
+
<line num="2743" type="stmt" count="0"/>
|
3516 |
+
<line num="2744" type="stmt" count="0"/>
|
3517 |
+
<line num="2745" type="stmt" count="0"/>
|
3518 |
+
<line num="2748" type="stmt" count="0"/>
|
3519 |
<line num="2749" type="stmt" count="0"/>
|
3520 |
+
<line num="2764" type="method" name="set_doing_cron" visibility="public" complexity="3" crap="3" count="20"/>
|
3521 |
+
<line num="2765" type="stmt" count="20"/>
|
3522 |
+
<line num="2766" type="stmt" count="20"/>
|
3523 |
+
<line num="2773" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="20"/>
|
3524 |
+
<line num="2778" type="stmt" count="20"/>
|
3525 |
+
<line num="2780" type="stmt" count="20"/>
|
3526 |
+
<line num="2781" type="stmt" count="20"/>
|
3527 |
+
<line num="2782" type="stmt" count="20"/>
|
3528 |
+
<line num="2783" type="stmt" count="20"/>
|
3529 |
+
<line num="2784" type="stmt" count="20"/>
|
3530 |
+
<line num="2785" type="stmt" count="20"/>
|
3531 |
+
<line num="2787" type="stmt" count="20"/>
|
3532 |
+
<line num="2788" type="stmt" count="20"/>
|
3533 |
+
<line num="2790" type="stmt" count="20"/>
|
3534 |
+
<line num="2791" type="stmt" count="20"/>
|
3535 |
+
<line num="2792" type="stmt" count="20"/>
|
3536 |
+
<line num="2793" type="stmt" count="20"/>
|
3537 |
+
<line num="2794" type="stmt" count="20"/>
|
3538 |
+
<line num="2795" type="stmt" count="20"/>
|
3539 |
+
<line num="2797" type="stmt" count="20"/>
|
3540 |
+
<line num="2798" type="stmt" count="20"/>
|
3541 |
+
<line num="2799" type="stmt" count="20"/>
|
3542 |
+
<line num="2805" type="stmt" count="20"/>
|
3543 |
+
<line num="2807" type="stmt" count="20"/>
|
3544 |
+
<line num="2808" type="stmt" count="20"/>
|
3545 |
+
<line num="2809" type="stmt" count="20"/>
|
3546 |
+
<line num="2810" type="stmt" count="20"/>
|
3547 |
+
<line num="2811" type="stmt" count="20"/>
|
3548 |
+
<line num="2813" type="stmt" count="20"/>
|
3549 |
+
<line num="2816" type="stmt" count="20"/>
|
3550 |
+
<line num="2817" type="stmt" count="20"/>
|
3551 |
+
<line num="2819" type="stmt" count="20"/>
|
3552 |
+
<line num="2821" type="stmt" count="20"/>
|
3553 |
+
<line num="2833" type="method" name="set_time_limit" visibility="public" complexity="2" crap="2" count="4"/>
|
3554 |
+
<line num="2834" type="stmt" count="4"/>
|
3555 |
+
<line num="2836" type="stmt" count="4"/>
|
3556 |
+
<line num="2837" type="stmt" count="4"/>
|
3557 |
+
<line num="2844" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
|
3558 |
+
<line num="2845" type="stmt" count="0"/>
|
3559 |
+
<line num="2846" type="stmt" count="0"/>
|
3560 |
+
<line num="2849" type="stmt" count="0"/>
|
3561 |
+
<line num="2850" type="stmt" count="0"/>
|
3562 |
+
<line num="2851" type="stmt" count="0"/>
|
3563 |
+
<line num="2853" type="stmt" count="0"/>
|
3564 |
+
<line num="2854" type="stmt" count="0"/>
|
3565 |
+
<line num="2855" type="stmt" count="0"/>
|
3566 |
+
<line num="2858" type="stmt" count="0"/>
|
3567 |
+
<line num="2859" type="stmt" count="0"/>
|
3568 |
+
<line num="2860" type="stmt" count="0"/>
|
3569 |
+
<line num="2862" type="stmt" count="0"/>
|
3570 |
+
<line num="2863" type="stmt" count="0"/>
|
3571 |
+
<line num="2864" type="stmt" count="0"/>
|
3572 |
+
<line num="2866" type="stmt" count="0"/>
|
3573 |
+
<line num="2879" type="stmt" count="0"/>
|
3574 |
+
<line num="2880" type="stmt" count="0"/>
|
3575 |
+
<line num="2882" type="stmt" count="0"/>
|
3576 |
+
<line num="2883" type="stmt" count="0"/>
|
3577 |
+
<line num="2884" type="stmt" count="0"/>
|
3578 |
+
<line num="2885" type="stmt" count="0"/>
|
3579 |
+
<line num="2886" type="stmt" count="0"/>
|
3580 |
+
<line num="2888" type="stmt" count="0"/>
|
3581 |
+
<line num="2889" type="stmt" count="0"/>
|
3582 |
+
<line num="2890" type="stmt" count="0"/>
|
3583 |
+
<line num="2891" type="stmt" count="0"/>
|
3584 |
+
<line num="2893" type="stmt" count="0"/>
|
3585 |
+
<line num="2895" type="stmt" count="0"/>
|
3586 |
+
<line num="2896" type="stmt" count="0"/>
|
3587 |
+
<line num="2912" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3588 |
<line num="2914" type="stmt" count="0"/>
|
|
|
3589 |
<line num="2917" type="stmt" count="0"/>
|
3590 |
<line num="2918" type="stmt" count="0"/>
|
|
|
3591 |
<line num="2922" type="stmt" count="0"/>
|
|
|
3592 |
<line num="2925" type="stmt" count="0"/>
|
3593 |
<line num="2926" type="stmt" count="0"/>
|
3594 |
+
<line num="2930" type="stmt" count="0"/>
|
3595 |
+
<line num="2931" type="stmt" count="0"/>
|
3596 |
+
<line num="2942" type="method" name="enforce_retention" visibility="public" complexity="8" crap="8.07" count="4"/>
|
3597 |
+
<line num="2943" type="stmt" count="4"/>
|
3598 |
+
<line num="2944" type="stmt" count="4"/>
|
3599 |
+
<line num="2945" type="stmt" count="4"/>
|
3600 |
+
<line num="2947" type="stmt" count="4"/>
|
3601 |
+
<line num="2948" type="stmt" count="4"/>
|
3602 |
+
<line num="2950" type="stmt" count="4"/>
|
3603 |
+
<line num="2951" type="stmt" count="4"/>
|
3604 |
+
<line num="2954" type="stmt" count="4"/>
|
3605 |
+
<line num="2955" type="stmt" count="4"/>
|
3606 |
+
<line num="2956" type="stmt" count="4"/>
|
3607 |
+
<line num="2957" type="stmt" count="4"/>
|
3608 |
<line num="2958" type="stmt" count="0"/>
|
3609 |
<line num="2959" type="stmt" count="0"/>
|
3610 |
+
<line num="2960" type="stmt" count="0"/>
|
3611 |
+
<line num="2961" type="stmt" count="4"/>
|
3612 |
+
<line num="2962" type="stmt" count="4"/>
|
3613 |
+
<line num="2963" type="stmt" count="4"/>
|
3614 |
+
<line num="2966" type="stmt" count="4"/>
|
3615 |
+
<line num="2969" type="stmt" count="4"/>
|
3616 |
+
<line num="2970" type="stmt" count="4"/>
|
3617 |
+
<line num="2971" type="stmt" count="4"/>
|
3618 |
+
<line num="2975" type="stmt" count="1"/>
|
3619 |
+
<line num="2978" type="stmt" count="1"/>
|
3620 |
+
<line num="2981" type="stmt" count="1"/>
|
3621 |
+
<line num="2982" type="stmt" count="1"/>
|
3622 |
+
<line num="2983" type="stmt" count="1"/>
|
3623 |
+
<line num="2986" type="stmt" count="1"/>
|
3624 |
+
<line num="2989" type="stmt" count="1"/>
|
3625 |
+
<line num="2992" type="stmt" count="1"/>
|
3626 |
+
<line num="2994" type="stmt" count="1"/>
|
3627 |
+
<line num="2995" type="stmt" count="1"/>
|
3628 |
+
<line num="3004" type="stmt" count="1"/>
|
3629 |
+
<line num="3005" type="stmt" count="1"/>
|
3630 |
+
<line num="3006" type="stmt" count="0"/>
|
3631 |
+
<line num="3008" type="stmt" count="1"/>
|
3632 |
+
<line num="3010" type="stmt" count="1"/>
|
3633 |
+
<line num="3011" type="stmt" count="1"/>
|
3634 |
+
<line num="3012" type="stmt" count="1"/>
|
3635 |
+
<metrics loc="3013" ncloc="1554" classes="1" methods="28" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1094" coveredstatements="534" elements="1122" coveredelements="538"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3636 |
</file>
|
3637 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
|
3638 |
<class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
3639 |
<metrics complexity="26" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="82" coveredstatements="3" elements="90" coveredelements="4"/>
|
3640 |
</class>
|
3641 |
+
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
3642 |
+
<line num="57" type="stmt" count="20"/>
|
3643 |
+
<line num="59" type="stmt" count="20"/>
|
3644 |
+
<line num="60" type="stmt" count="20"/>
|
3645 |
<line num="72" type="method" name="add_log" visibility="public" complexity="4" crap="20" count="0"/>
|
3646 |
<line num="73" type="stmt" count="0"/>
|
3647 |
<line num="74" type="stmt" count="0"/>
|
3734 |
<class name="Boldgrid_Backup_Admin_Cron_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
3735 |
<metrics complexity="17" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="66" coveredstatements="5" elements="72" coveredelements="6"/>
|
3736 |
</class>
|
3737 |
+
<line num="65" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
3738 |
+
<line num="66" type="stmt" count="20"/>
|
3739 |
+
<line num="68" type="stmt" count="20"/>
|
3740 |
+
<line num="69" type="stmt" count="20"/>
|
3741 |
+
<line num="70" type="stmt" count="20"/>
|
3742 |
+
<line num="71" type="stmt" count="20"/>
|
3743 |
<line num="80" type="method" name="clean_up" visibility="public" complexity="1" crap="2" count="0"/>
|
3744 |
<line num="81" type="stmt" count="0"/>
|
3745 |
<line num="82" type="stmt" count="0"/>
|
3812 |
<class name="Boldgrid_Backup_Admin_Cron" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
3813 |
<metrics complexity="131" methods="26" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="434" coveredstatements="88" elements="460" coveredelements="90"/>
|
3814 |
</class>
|
3815 |
+
<line num="87" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
3816 |
+
<line num="89" type="stmt" count="20"/>
|
3817 |
+
<line num="90" type="stmt" count="20"/>
|
3818 |
<line num="97" type="method" name="get_cron_command" visibility="public" complexity="1" crap="2" count="0"/>
|
3819 |
<line num="98" type="stmt" count="0"/>
|
3820 |
<line num="114" type="method" name="add_cron_entry" visibility="public" complexity="9" crap="90" count="0"/>
|
4315 |
<class name="Boldgrid_Backup_Admin_Dashboard_Widget" namespace="global" fullPackage="Boldgrid.Backup.Admin.Dashboard">
|
4316 |
<metrics complexity="5" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="18" coveredstatements="2" elements="20" coveredelements="3"/>
|
4317 |
</class>
|
4318 |
+
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
4319 |
+
<line num="38" type="stmt" count="20"/>
|
4320 |
+
<line num="39" type="stmt" count="20"/>
|
4321 |
<line num="50" type="method" name="filter_feature" visibility="public" complexity="4" crap="20" count="0"/>
|
4322 |
<line num="52" type="stmt" count="0"/>
|
4323 |
<line num="53" type="stmt" count="0"/>
|
4339 |
</file>
|
4340 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-dashboard.php">
|
4341 |
<class name="Boldgrid_Backup_Admin_Dashboard" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
4342 |
+
<metrics complexity="5" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="17" coveredstatements="2" elements="21" coveredelements="3"/>
|
4343 |
</class>
|
4344 |
+
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
4345 |
+
<line num="38" type="stmt" count="20"/>
|
4346 |
+
<line num="39" type="stmt" count="20"/>
|
4347 |
<line num="48" type="method" name="admin_enqueue_scripts" visibility="public" complexity="2" crap="6" count="0"/>
|
4348 |
<line num="49" type="stmt" count="0"/>
|
4349 |
<line num="50" type="stmt" count="0"/>
|
4362 |
<line num="81" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
4363 |
<line num="82" type="stmt" count="0"/>
|
4364 |
<line num="83" type="stmt" count="0"/>
|
4365 |
+
<metrics loc="84" ncloc="34" classes="1" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="17" coveredstatements="2" elements="21" coveredelements="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4366 |
</file>
|
4367 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-dump.php">
|
4368 |
<class name="Boldgrid_Backup_Admin_Db_Dump" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
4369 |
+
<metrics complexity="23" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="100" coveredstatements="59" elements="105" coveredelements="61"/>
|
4370 |
</class>
|
4371 |
+
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
4372 |
+
<line num="40" type="stmt" count="20"/>
|
4373 |
+
<line num="41" type="stmt" count="20"/>
|
4374 |
+
<line num="53" type="method" name="dump" visibility="public" complexity="4" crap="4.00" count="4"/>
|
4375 |
<line num="54" type="stmt" count="4"/>
|
4376 |
<line num="56" type="stmt" count="4"/>
|
4377 |
<line num="57" type="stmt" count="4"/>
|
4378 |
<line num="58" type="stmt" count="0"/>
|
4379 |
<line num="70" type="stmt" count="4"/>
|
4380 |
+
<line num="71" type="stmt" count="4"/>
|
4381 |
+
<line num="73" type="stmt" count="4"/>
|
4382 |
+
<line num="75" type="stmt" count="4"/>
|
4383 |
<line num="76" type="stmt" count="4"/>
|
4384 |
<line num="77" type="stmt" count="4"/>
|
4385 |
+
<line num="79" type="stmt" count="4"/>
|
4386 |
+
<line num="86" type="stmt" count="4"/>
|
4387 |
+
<line num="89" type="stmt" count="4"/>
|
4388 |
<line num="90" type="stmt" count="4"/>
|
4389 |
<line num="91" type="stmt" count="4"/>
|
4390 |
<line num="92" type="stmt" count="4"/>
|
4391 |
<line num="93" type="stmt" count="4"/>
|
4392 |
+
<line num="105" type="stmt" count="4"/>
|
4393 |
<line num="106" type="stmt" count="4"/>
|
4394 |
<line num="107" type="stmt" count="4"/>
|
|
|
4395 |
<line num="110" type="stmt" count="4"/>
|
4396 |
+
<line num="111" type="stmt" count="4"/>
|
4397 |
+
<line num="112" type="stmt" count="4"/>
|
4398 |
+
<line num="113" type="stmt" count="4"/>
|
4399 |
+
<line num="115" type="stmt" count="4"/>
|
4400 |
+
<line num="116" type="stmt" count="4"/>
|
4401 |
+
<line num="117" type="stmt" count="4"/>
|
4402 |
<line num="118" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
4403 |
<line num="126" type="stmt" count="4"/>
|
4404 |
+
<line num="128" type="stmt" count="4"/>
|
4405 |
+
<line num="140" type="method" name="get_connection_string" visibility="public" complexity="9" crap="9" count="5"/>
|
4406 |
+
<line num="141" type="stmt" count="5"/>
|
4407 |
+
<line num="144" type="stmt" count="5"/>
|
4408 |
+
<line num="145" type="stmt" count="5"/>
|
4409 |
+
<line num="146" type="stmt" count="5"/>
|
4410 |
+
<line num="149" type="stmt" count="5"/>
|
4411 |
+
<line num="156" type="stmt" count="5"/>
|
4412 |
+
<line num="157" type="stmt" count="5"/>
|
|
|
4413 |
<line num="159" type="stmt" count="5"/>
|
4414 |
+
<line num="160" type="stmt" count="1"/>
|
4415 |
+
<line num="161" type="stmt" count="1"/>
|
4416 |
+
<line num="162" type="stmt" count="5"/>
|
4417 |
+
<line num="165" type="stmt" count="5"/>
|
4418 |
+
<line num="172" type="stmt" count="1"/>
|
4419 |
+
<line num="173" type="stmt" count="1"/>
|
4420 |
<line num="174" type="stmt" count="1"/>
|
4421 |
+
<line num="176" type="stmt" count="1"/>
|
4422 |
+
<line num="178" type="stmt" count="1"/>
|
4423 |
+
<line num="179" type="stmt" count="1"/>
|
4424 |
+
<line num="180" type="stmt" count="1"/>
|
4425 |
+
<line num="181" type="stmt" count="1"/>
|
4426 |
+
<line num="182" type="stmt" count="1"/>
|
4427 |
+
<line num="184" type="stmt" count="1"/>
|
4428 |
+
<line num="185" type="stmt" count="5"/>
|
4429 |
+
<line num="187" type="stmt" count="5"/>
|
4430 |
+
<line num="188" type="stmt" count="5"/>
|
4431 |
+
<line num="189" type="stmt" count="5"/>
|
4432 |
+
<line num="190" type="stmt" count="5"/>
|
4433 |
+
<line num="191" type="stmt" count="5"/>
|
4434 |
+
<line num="193" type="stmt" count="5"/>
|
4435 |
+
<line num="205" type="method" name="get_insert_count" visibility="public" complexity="7" crap="56" count="0"/>
|
4436 |
+
<line num="206" type="stmt" count="0"/>
|
4437 |
+
<line num="207" type="stmt" count="0"/>
|
4438 |
+
<line num="209" type="stmt" count="0"/>
|
4439 |
+
<line num="211" type="stmt" count="0"/>
|
4440 |
+
<line num="214" type="stmt" count="0"/>
|
4441 |
+
<line num="215" type="stmt" count="0"/>
|
4442 |
+
<line num="216" type="stmt" count="0"/>
|
4443 |
+
<line num="218" type="stmt" count="0"/>
|
4444 |
<line num="221" type="stmt" count="0"/>
|
|
|
|
|
4445 |
<line num="228" type="stmt" count="0"/>
|
4446 |
<line num="229" type="stmt" count="0"/>
|
4447 |
+
<line num="231" type="stmt" count="0"/>
|
4448 |
<line num="232" type="stmt" count="0"/>
|
4449 |
+
<line num="233" type="stmt" count="0"/>
|
4450 |
+
<line num="236" type="stmt" count="0"/>
|
4451 |
+
<line num="238" type="stmt" count="0"/>
|
4452 |
+
<line num="253" type="stmt" count="0"/>
|
4453 |
+
<line num="254" type="stmt" count="0"/>
|
4454 |
+
<line num="255" type="stmt" count="0"/>
|
4455 |
+
<line num="257" type="stmt" count="0"/>
|
4456 |
+
<line num="258" type="stmt" count="0"/>
|
4457 |
+
<line num="259" type="stmt" count="0"/>
|
4458 |
+
<line num="260" type="stmt" count="0"/>
|
4459 |
+
<line num="261" type="stmt" count="0"/>
|
4460 |
+
<line num="263" type="stmt" count="0"/>
|
4461 |
+
<line num="264" type="stmt" count="0"/>
|
4462 |
+
<line num="266" type="stmt" count="0"/>
|
4463 |
<line num="267" type="stmt" count="0"/>
|
|
|
4464 |
<line num="269" type="stmt" count="0"/>
|
4465 |
+
<line num="281" type="method" name="get_insert_tables" visibility="public" complexity="2" crap="6" count="0"/>
|
4466 |
+
<line num="282" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4467 |
<line num="283" type="stmt" count="0"/>
|
4468 |
+
<line num="298" type="stmt" count="0"/>
|
4469 |
+
<line num="299" type="stmt" count="0"/>
|
4470 |
+
<line num="300" type="stmt" count="0"/>
|
4471 |
+
<line num="301" type="stmt" count="0"/>
|
4472 |
+
<line num="302" type="stmt" count="0"/>
|
4473 |
+
<line num="303" type="stmt" count="0"/>
|
4474 |
+
<line num="306" type="stmt" count="0"/>
|
4475 |
+
<line num="308" type="stmt" count="0"/>
|
4476 |
+
<metrics loc="310" ncloc="156" classes="1" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="100" coveredstatements="59" elements="105" coveredelements="61"/>
|
|
|
|
|
|
|
4477 |
</file>
|
4478 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-get.php">
|
4479 |
<class name="Boldgrid_Backup_Admin_Db_Get" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
4480 |
<metrics complexity="11" methods="5" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="35" elements="49" coveredelements="38"/>
|
4481 |
</class>
|
4482 |
+
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
4483 |
+
<line num="40" type="stmt" count="20"/>
|
4484 |
+
<line num="41" type="stmt" count="20"/>
|
4485 |
<line num="55" type="method" name="get_by_type" visibility="public" complexity="3" crap="3.00" count="6"/>
|
4486 |
<line num="56" type="stmt" count="6"/>
|
4487 |
<line num="58" type="stmt" count="6"/>
|
4532 |
</file>
|
4533 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-import.php">
|
4534 |
<class name="Boldgrid_Backup_Admin_Db_Import" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
4535 |
+
<metrics complexity="15" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="39" coveredstatements="20" elements="44" coveredelements="20"/>
|
4536 |
</class>
|
4537 |
+
<line num="45" type="method" name="__construct" visibility="public" complexity="2" crap="2.50" count="1"/>
|
4538 |
+
<line num="47" type="stmt" count="1"/>
|
4539 |
+
<line num="48" type="stmt" count="0"/>
|
4540 |
+
<line num="49" type="stmt" count="0"/>
|
4541 |
+
<line num="50" type="stmt" count="1"/>
|
4542 |
+
<line num="60" type="method" name="import" visibility="public" complexity="2" crap="2.50" count="1"/>
|
4543 |
+
<line num="61" type="stmt" count="1"/>
|
4544 |
+
<line num="63" type="stmt" count="1"/>
|
4545 |
+
<line num="65" type="stmt" count="0"/>
|
4546 |
+
<line num="67" type="stmt" count="0"/>
|
4547 |
+
<line num="69" type="stmt" count="0"/>
|
4548 |
+
<line num="70" type="stmt" count="0"/>
|
4549 |
+
<line num="73" type="stmt" count="1"/>
|
4550 |
+
<line num="75" type="stmt" count="1"/>
|
4551 |
+
<line num="90" type="method" name="import_from_archive" visibility="public" complexity="3" crap="12" count="0"/>
|
4552 |
+
<line num="91" type="stmt" count="0"/>
|
4553 |
+
<line num="92" type="stmt" count="0"/>
|
4554 |
+
<line num="94" type="stmt" count="0"/>
|
4555 |
+
<line num="95" type="stmt" count="0"/>
|
4556 |
+
<line num="96" type="stmt" count="0"/>
|
4557 |
+
<line num="97" type="stmt" count="0"/>
|
4558 |
+
<line num="100" type="stmt" count="0"/>
|
4559 |
+
<line num="102" type="stmt" count="0"/>
|
4560 |
+
<line num="122" type="method" name="import_lines" visibility="public" complexity="7" crap="7.10" count="1"/>
|
|
|
|
|
|
|
|
|
|
|
4561 |
<line num="123" type="stmt" count="1"/>
|
4562 |
+
<line num="124" type="stmt" count="0"/>
|
4563 |
+
<line num="128" type="stmt" count="1"/>
|
4564 |
+
<line num="130" type="stmt" count="1"/>
|
4565 |
+
<line num="132" type="stmt" count="1"/>
|
4566 |
+
<line num="134" type="stmt" count="1"/>
|
4567 |
+
<line num="135" type="stmt" count="1"/>
|
4568 |
+
<line num="138" type="stmt" count="1"/>
|
4569 |
+
<line num="141" type="stmt" count="1"/>
|
4570 |
+
<line num="142" type="stmt" count="1"/>
|
4571 |
+
<line num="143" type="stmt" count="1"/>
|
4572 |
+
<line num="144" type="stmt" count="0"/>
|
4573 |
+
<line num="147" type="stmt" count="1"/>
|
4574 |
+
<line num="148" type="stmt" count="1"/>
|
4575 |
+
<line num="149" type="stmt" count="1"/>
|
4576 |
+
<line num="151" type="stmt" count="1"/>
|
4577 |
+
<line num="166" type="method" name="import_string" visibility="public" complexity="1" crap="2" count="0"/>
|
4578 |
+
<line num="167" type="stmt" count="0"/>
|
4579 |
+
<line num="169" type="stmt" count="0"/>
|
4580 |
+
<line num="171" type="stmt" count="0"/>
|
4581 |
+
<metrics loc="173" ncloc="78" classes="1" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="39" coveredstatements="20" elements="44" coveredelements="20"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4582 |
</file>
|
4583 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-omit.php">
|
4584 |
<class name="Boldgrid_Backup_Admin_Db_Omit" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
4585 |
<metrics complexity="37" methods="11" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="39" elements="95" coveredelements="42"/>
|
4586 |
</class>
|
4587 |
+
<line num="61" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
4588 |
+
<line num="62" type="stmt" count="20"/>
|
4589 |
+
<line num="63" type="stmt" count="20"/>
|
4590 |
<line num="74" type="method" name="email_part" visibility="public" complexity="3" crap="3" count="4"/>
|
4591 |
<line num="75" type="stmt" count="4"/>
|
4592 |
<line num="78" type="stmt" count="4"/>
|
4683 |
</file>
|
4684 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-email.php">
|
4685 |
<class name="Boldgrid_Backup_Admin_Email" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
4686 |
+
<metrics complexity="16" methods="7" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="83" coveredstatements="60" elements="90" coveredelements="63"/>
|
4687 |
</class>
|
4688 |
+
<line num="48" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
4689 |
+
<line num="49" type="stmt" count="20"/>
|
4690 |
+
<line num="50" type="stmt" count="20"/>
|
4691 |
<line num="63" type="method" name="fill_generic_template" visibility="public" complexity="2" crap="6" count="0"/>
|
4692 |
<line num="64" type="stmt" count="0"/>
|
4693 |
<line num="66" type="stmt" count="0"/>
|
4700 |
<line num="77" type="stmt" count="0"/>
|
4701 |
<line num="79" type="stmt" count="0"/>
|
4702 |
<line num="81" type="stmt" count="0"/>
|
4703 |
+
<line num="89" type="method" name="init_ads" visibility="public" complexity="2" crap="2" count="4"/>
|
4704 |
<line num="90" type="stmt" count="4"/>
|
4705 |
<line num="91" type="stmt" count="4"/>
|
4706 |
+
<line num="93" type="stmt" count="4"/>
|
4707 |
+
<line num="94" type="stmt" count="4"/>
|
4708 |
+
<line num="96" type="stmt" count="4"/>
|
4709 |
+
<line num="97" type="stmt" count="4"/>
|
4710 |
+
<line num="98" type="stmt" count="4"/>
|
4711 |
<line num="99" type="stmt" count="4"/>
|
4712 |
<line num="101" type="stmt" count="4"/>
|
4713 |
<line num="111" type="method" name="post_archive_parts" visibility="public" complexity="3" crap="3" count="4"/>
|
4775 |
<line num="266" type="stmt" count="0"/>
|
4776 |
<line num="267" type="stmt" count="0"/>
|
4777 |
<line num="268" type="stmt" count="0"/>
|
4778 |
+
<metrics loc="269" ncloc="130" classes="1" methods="7" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="83" coveredstatements="60" elements="90" coveredelements="63"/>
|
4779 |
</file>
|
4780 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-filelist.php">
|
4781 |
<class name="Boldgrid_Backup_Admin_Filelist" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
4782 |
<metrics complexity="7" methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="7" elements="23" coveredelements="9"/>
|
4783 |
</class>
|
4784 |
+
<line num="73" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
4785 |
+
<line num="74" type="stmt" count="20"/>
|
4786 |
+
<line num="75" type="stmt" count="20"/>
|
4787 |
<line num="84" type="method" name="get_size" visibility="public" complexity="4" crap="20" count="0"/>
|
4788 |
<line num="92" type="stmt" count="0"/>
|
4789 |
<line num="93" type="stmt" count="0"/>
|
4808 |
</file>
|
4809 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-folder-exclusion.php">
|
4810 |
<class name="Boldgrid_Backup_Admin_Folder_Exclusion" namespace="global" fullPackage="Boldgrid.Backup.Admin.Folder">
|
4811 |
+
<metrics complexity="57" methods="10" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="150" coveredstatements="73" elements="160" coveredelements="76"/>
|
4812 |
</class>
|
4813 |
+
<line num="113" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
4814 |
+
<line num="114" type="stmt" count="20"/>
|
4815 |
+
<line num="131" type="stmt" count="20"/>
|
4816 |
+
<line num="132" type="stmt" count="20"/>
|
4817 |
+
<line num="133" type="stmt" count="20"/>
|
4818 |
<line num="143" type="method" name="allow_file" visibility="public" complexity="11" crap="11.97" count="4"/>
|
4819 |
<line num="145" type="stmt" count="4"/>
|
4820 |
<line num="146" type="stmt" count="0"/>
|
4893 |
<line num="316" type="stmt" count="0"/>
|
4894 |
<line num="317" type="stmt" count="0"/>
|
4895 |
<line num="318" type="stmt" count="0"/>
|
4896 |
+
<line num="329" type="method" name="from_settings" visibility="public" complexity="16" crap="38.47" count="7"/>
|
4897 |
+
<line num="330" type="stmt" count="7"/>
|
4898 |
<line num="331" type="stmt" count="0"/>
|
4899 |
+
<line num="334" type="stmt" count="7"/>
|
4900 |
+
<line num="335" type="stmt" count="7"/>
|
4901 |
+
<line num="345" type="stmt" count="7"/>
|
4902 |
<line num="346" type="stmt" count="0"/>
|
4903 |
+
<line num="353" type="stmt" count="7"/>
|
4904 |
<line num="354" type="stmt" count="0"/>
|
4905 |
<line num="355" type="stmt" count="0"/>
|
4906 |
+
<line num="358" type="stmt" count="7"/>
|
4907 |
<line num="359" type="stmt" count="7"/>
|
4908 |
+
<line num="362" type="stmt" count="2"/>
|
4909 |
<line num="363" type="stmt" count="0"/>
|
4910 |
+
<line num="364" type="stmt" count="2"/>
|
4911 |
<line num="369" type="stmt" count="0"/>
|
4912 |
+
<line num="370" type="stmt" count="2"/>
|
4913 |
+
<line num="378" type="stmt" count="0"/>
|
4914 |
+
<line num="379" type="stmt" count="2"/>
|
4915 |
<line num="380" type="stmt" count="0"/>
|
4916 |
<line num="381" type="stmt" count="0"/>
|
4917 |
<line num="382" type="stmt" count="0"/>
|
4918 |
<line num="383" type="stmt" count="0"/>
|
4919 |
<line num="384" type="stmt" count="0"/>
|
4920 |
+
<line num="386" type="stmt" count="2"/>
|
4921 |
<line num="387" type="stmt" count="2"/>
|
4922 |
<line num="388" type="stmt" count="2"/>
|
4923 |
+
<line num="390" type="stmt" count="2"/>
|
4924 |
<line num="405" type="method" name="is_match" visibility="public" complexity="3" crap="3.02" count="4"/>
|
4925 |
<line num="406" type="stmt" count="4"/>
|
4926 |
<line num="407" type="stmt" count="0"/>
|
4970 |
<line num="512" type="stmt" count="0"/>
|
4971 |
<line num="514" type="stmt" count="0"/>
|
4972 |
<line num="515" type="stmt" count="0"/>
|
4973 |
+
<metrics loc="516" ncloc="251" classes="1" methods="10" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="150" coveredstatements="73" elements="160" coveredelements="76"/>
|
4974 |
</file>
|
4975 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-go-pro.php">
|
4976 |
<class name="Boldgrid_Backup_Admin_Go_Pro" namespace="global" fullPackage="Boldgrid.Backup.Admin.Go">
|
4977 |
+
<metrics complexity="17" methods="5" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="72" coveredstatements="9" elements="77" coveredelements="12"/>
|
4978 |
</class>
|
4979 |
+
<line num="46" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
4980 |
+
<line num="47" type="stmt" count="20"/>
|
4981 |
+
<line num="48" type="stmt" count="20"/>
|
4982 |
<line num="60" type="method" name="get_admin_notices" visibility="public" complexity="8" crap="72" count="0"/>
|
4983 |
<line num="61" type="stmt" count="0"/>
|
4984 |
<line num="64" type="stmt" count="0"/>
|
5044 |
<line num="163" type="stmt" count="0"/>
|
5045 |
<line num="165" type="stmt" count="0"/>
|
5046 |
<line num="166" type="stmt" count="0"/>
|
5047 |
+
<line num="177" type="method" name="get_premium_button" visibility="public" complexity="2" crap="2" count="1"/>
|
5048 |
+
<line num="178" type="stmt" count="1"/>
|
5049 |
+
<line num="180" type="stmt" count="1"/>
|
5050 |
+
<line num="182" type="stmt" count="1"/>
|
5051 |
+
<line num="183" type="stmt" count="1"/>
|
5052 |
+
<line num="185" type="stmt" count="1"/>
|
5053 |
+
<line num="197" type="method" name="get_premium_url" visibility="public" complexity="1" crap="1" count="5"/>
|
5054 |
+
<line num="198" type="stmt" count="5"/>
|
5055 |
+
<line num="200" type="stmt" count="5"/>
|
5056 |
+
<metrics loc="202" ncloc="112" classes="1" methods="5" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="72" coveredstatements="9" elements="77" coveredelements="12"/>
|
5057 |
</file>
|
5058 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-home-dir.php">
|
5059 |
<class name="Boldgrid_Backup_Admin_Home_Dir" namespace="global" fullPackage="Boldgrid.Backup.Admin.Home">
|
5060 |
<metrics complexity="6" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="2" elements="12" coveredelements="3"/>
|
5061 |
</class>
|
5062 |
+
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
5063 |
+
<line num="38" type="stmt" count="20"/>
|
5064 |
+
<line num="39" type="stmt" count="20"/>
|
5065 |
<line num="51" type="method" name="get_for_disk" visibility="public" complexity="5" crap="30" count="0"/>
|
5066 |
<line num="52" type="stmt" count="0"/>
|
5067 |
<line num="53" type="stmt" count="0"/>
|
5110 |
</file>
|
5111 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-in-progress-tmp.php">
|
5112 |
<class name="Boldgrid_Backup_Admin_In_Progress_Tmp" namespace="global" fullPackage="Boldgrid.Backup.Admin.In.Progress">
|
5113 |
+
<metrics complexity="15" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="50" coveredstatements="2" elements="55" coveredelements="3"/>
|
5114 |
</class>
|
5115 |
+
<line num="48" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="20"/>
|
5116 |
+
<line num="49" type="stmt" count="20"/>
|
5117 |
+
<line num="50" type="stmt" count="20"/>
|
5118 |
<line num="59" type="method" name="get" visibility="public" complexity="4" crap="20" count="0"/>
|
5119 |
<line num="60" type="stmt" count="0"/>
|
5120 |
<line num="62" type="stmt" count="0"/>
|
5128 |
<line num="72" type="stmt" count="0"/>
|
5129 |
<line num="73" type="stmt" count="0"/>
|
5130 |
<line num="76" type="stmt" count="0"/>
|
5131 |
+
<line num="86" type="method" name="get_system_zip" visibility="private" complexity="5" crap="30" count="0"/>
|
5132 |
<line num="87" type="stmt" count="0"/>
|
5133 |
+
<line num="88" type="stmt" count="0"/>
|
5134 |
<line num="89" type="stmt" count="0"/>
|
5135 |
<line num="90" type="stmt" count="0"/>
|
5136 |
+
<line num="91" type="stmt" count="0"/>
|
5137 |
+
<line num="93" type="stmt" count="0"/>
|
5138 |
<line num="94" type="stmt" count="0"/>
|
5139 |
<line num="96" type="stmt" count="0"/>
|
5140 |
<line num="97" type="stmt" count="0"/>
|
|
|
|
|
5141 |
<line num="100" type="stmt" count="0"/>
|
5142 |
+
<line num="101" type="stmt" count="0"/>
|
5143 |
<line num="102" type="stmt" count="0"/>
|
5144 |
+
<line num="103" type="stmt" count="0"/>
|
5145 |
+
<line num="113" type="method" name="get_pcl_zip" visibility="private" complexity="2" crap="6" count="0"/>
|
5146 |
+
<line num="114" type="stmt" count="0"/>
|
5147 |
<line num="116" type="stmt" count="0"/>
|
5148 |
+
<line num="117" type="stmt" count="0"/>
|
5149 |
+
<line num="119" type="stmt" count="0"/>
|
5150 |
+
<line num="121" type="stmt" count="0"/>
|
5151 |
<line num="123" type="stmt" count="0"/>
|
5152 |
<line num="124" type="stmt" count="0"/>
|
5153 |
<line num="125" type="stmt" count="0"/>
|
5154 |
<line num="126" type="stmt" count="0"/>
|
5155 |
+
<line num="127" type="stmt" count="0"/>
|
5156 |
+
<line num="129" type="stmt" count="0"/>
|
5157 |
+
<line num="143" type="method" name="get_php_zip" visibility="private" complexity="2" crap="6" count="0"/>
|
5158 |
+
<line num="144" type="stmt" count="0"/>
|
5159 |
<line num="146" type="stmt" count="0"/>
|
5160 |
+
<line num="147" type="stmt" count="0"/>
|
5161 |
+
<line num="149" type="stmt" count="0"/>
|
5162 |
+
<line num="152" type="stmt" count="0"/>
|
5163 |
<line num="154" type="stmt" count="0"/>
|
5164 |
<line num="155" type="stmt" count="0"/>
|
5165 |
<line num="156" type="stmt" count="0"/>
|
5166 |
+
<line num="157" type="stmt" count="0"/>
|
5167 |
<line num="159" type="stmt" count="0"/>
|
5168 |
+
<line num="160" type="stmt" count="0"/>
|
5169 |
+
<line num="162" type="stmt" count="0"/>
|
5170 |
+
<metrics loc="164" ncloc="88" classes="1" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="50" coveredstatements="2" elements="55" coveredelements="3"/>
|
5171 |
</file>
|
5172 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-in-progress.php">
|
5173 |
<class name="Boldgrid_Backup_Admin_In_Progress" namespace="global" fullPackage="Boldgrid.Backup.Admin.In">
|
5174 |
<metrics complexity="27" methods="12" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="97" coveredstatements="7" elements="109" coveredelements="9"/>
|
5175 |
</class>
|
5176 |
+
<line num="57" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
5177 |
+
<line num="58" type="stmt" count="20"/>
|
5178 |
+
<line num="60" type="stmt" count="20"/>
|
5179 |
+
<line num="61" type="stmt" count="20"/>
|
5180 |
<line num="71" type="method" name="add_notice" visibility="public" complexity="4" crap="20" count="0"/>
|
5181 |
<line num="72" type="stmt" count="0"/>
|
5182 |
<line num="74" type="stmt" count="0"/>
|
5288 |
<class name="Boldgrid_Backup_Admin_Jobs" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5289 |
<metrics complexity="28" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="93" coveredstatements="2" elements="102" coveredelements="3"/>
|
5290 |
</class>
|
5291 |
+
<line num="68" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
5292 |
+
<line num="69" type="stmt" count="20"/>
|
5293 |
+
<line num="70" type="stmt" count="20"/>
|
5294 |
<line num="80" type="method" name="add" visibility="public" complexity="2" crap="6" count="0"/>
|
5295 |
<line num="81" type="stmt" count="0"/>
|
5296 |
<line num="82" type="stmt" count="0"/>
|
5444 |
</file>
|
5445 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log.php">
|
5446 |
<class name="Boldgrid_Backup_Admin_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5447 |
+
<metrics complexity="23" methods="11" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="81" coveredstatements="58" elements="92" coveredelements="65"/>
|
5448 |
</class>
|
5449 |
+
<line num="64" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="24"/>
|
5450 |
+
<line num="65" type="stmt" count="24"/>
|
5451 |
+
<line num="66" type="stmt" count="24"/>
|
5452 |
<line num="77" type="method" name="add" visibility="public" complexity="2" crap="2" count="4"/>
|
5453 |
<line num="83" type="stmt" count="4"/>
|
5454 |
<line num="84" type="stmt" count="4"/>
|
5466 |
<line num="121" type="method" name="add_last_error" visibility="public" complexity="2" crap="2" count="4"/>
|
5467 |
<line num="122" type="stmt" count="4"/>
|
5468 |
<line num="125" type="stmt" count="4"/>
|
5469 |
+
<line num="126" type="stmt" count="2"/>
|
5470 |
+
<line num="127" type="stmt" count="2"/>
|
5471 |
<line num="130" type="stmt" count="4"/>
|
5472 |
<line num="131" type="stmt" count="4"/>
|
5473 |
<line num="139" type="method" name="add_memory" visibility="public" complexity="1" crap="1" count="4"/>
|
5484 |
<line num="151" type="stmt" count="4"/>
|
5485 |
<line num="153" type="stmt" count="4"/>
|
5486 |
<line num="154" type="stmt" count="4"/>
|
5487 |
+
<line num="161" type="method" name="add_separator" visibility="public" complexity="1" crap="1" count="1"/>
|
5488 |
+
<line num="162" type="stmt" count="1"/>
|
5489 |
+
<line num="163" type="stmt" count="1"/>
|
5490 |
+
<line num="170" type="method" name="clean_up" visibility="public" complexity="4" crap="4.25" count="4"/>
|
5491 |
+
<line num="172" type="stmt" count="4"/>
|
|
|
5492 |
<line num="173" type="stmt" count="4"/>
|
|
|
5493 |
<line num="175" type="stmt" count="4"/>
|
5494 |
+
<line num="177" type="stmt" count="4"/>
|
5495 |
<line num="178" type="stmt" count="0"/>
|
|
|
|
|
5496 |
<line num="182" type="stmt" count="4"/>
|
5497 |
+
<line num="183" type="stmt" count="4"/>
|
5498 |
+
<line num="184" type="stmt" count="4"/>
|
5499 |
+
<line num="187" type="stmt" count="0"/>
|
5500 |
+
<line num="189" type="stmt" count="0"/>
|
5501 |
+
<line num="190" type="stmt" count="4"/>
|
5502 |
+
<line num="191" type="stmt" count="4"/>
|
5503 |
+
<line num="201" type="method" name="init" visibility="public" complexity="4" crap="4" count="4"/>
|
5504 |
+
<line num="203" type="stmt" count="4"/>
|
5505 |
<line num="205" type="stmt" count="4"/>
|
5506 |
+
<line num="207" type="stmt" count="4"/>
|
5507 |
+
<line num="209" type="stmt" count="4"/>
|
5508 |
+
<line num="211" type="stmt" count="4"/>
|
5509 |
+
<line num="213" type="stmt" count="4"/>
|
5510 |
+
<line num="214" type="stmt" count="4"/>
|
5511 |
+
<line num="216" type="stmt" count="4"/>
|
5512 |
+
<line num="217" type="stmt" count="4"/>
|
5513 |
+
<line num="218" type="stmt" count="4"/>
|
5514 |
+
<line num="219" type="stmt" count="4"/>
|
5515 |
+
<line num="221" type="stmt" count="4"/>
|
5516 |
+
<line num="231" type="method" name="init_signal_handler" visibility="private" complexity="4" crap="14.72" count="4"/>
|
5517 |
+
<line num="240" type="stmt" count="4"/>
|
5518 |
+
<line num="241" type="stmt" count="4"/>
|
5519 |
+
<line num="244" type="stmt" count="0"/>
|
5520 |
<line num="245" type="stmt" count="0"/>
|
5521 |
+
<line num="246" type="stmt" count="0"/>
|
5522 |
+
<line num="250" type="stmt" count="0"/>
|
5523 |
<line num="254" type="stmt" count="0"/>
|
5524 |
<line num="256" type="stmt" count="0"/>
|
|
|
5525 |
<line num="258" type="stmt" count="0"/>
|
5526 |
+
<line num="260" type="stmt" count="0"/>
|
5527 |
+
<line num="266" type="stmt" count="0"/>
|
5528 |
+
<line num="267" type="stmt" count="0"/>
|
5529 |
+
<line num="269" type="stmt" count="0"/>
|
5530 |
+
<line num="270" type="stmt" count="0"/>
|
5531 |
<line num="271" type="stmt" count="0"/>
|
5532 |
<line num="272" type="stmt" count="0"/>
|
5533 |
+
<line num="279" type="method" name="shutdown" visibility="public" complexity="2" crap="6" count="0"/>
|
5534 |
+
<line num="284" type="stmt" count="0"/>
|
|
|
5535 |
<line num="285" type="stmt" count="0"/>
|
5536 |
+
<line num="286" type="stmt" count="0"/>
|
5537 |
<line num="287" type="stmt" count="0"/>
|
5538 |
+
<line num="296" type="method" name="signal_handler" visibility="public" complexity="1" crap="2" count="0"/>
|
5539 |
+
<line num="297" type="stmt" count="0"/>
|
5540 |
+
<line num="299" type="stmt" count="0"/>
|
5541 |
+
<metrics loc="301" ncloc="132" classes="1" methods="11" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="81" coveredstatements="58" elements="92" coveredelements="65"/>
|
5542 |
</file>
|
5543 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
5544 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5545 |
+
<metrics complexity="22" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="87" coveredstatements="2" elements="98" coveredelements="3"/>
|
5546 |
</class>
|
5547 |
+
<line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
5548 |
+
<line num="59" type="stmt" count="20"/>
|
5549 |
+
<line num="60" type="stmt" count="20"/>
|
5550 |
<line num="71" type="method" name="add_user_notice" visibility="public" complexity="1" crap="2" count="0"/>
|
5551 |
<line num="72" type="stmt" count="0"/>
|
5552 |
<line num="74" type="stmt" count="0"/>
|
5613 |
<line num="226" type="stmt" count="0"/>
|
5614 |
<line num="228" type="stmt" count="0"/>
|
5615 |
<line num="230" type="stmt" count="0"/>
|
5616 |
+
<line num="238" type="method" name="display_autoupdate_notice" visibility="public" complexity="1" crap="2" count="0"/>
|
5617 |
+
<line num="239" type="stmt" count="0"/>
|
5618 |
<line num="241" type="stmt" count="0"/>
|
5619 |
<line num="242" type="stmt" count="0"/>
|
|
|
5620 |
<line num="244" type="stmt" count="0"/>
|
5621 |
<line num="245" type="stmt" count="0"/>
|
5622 |
<line num="246" type="stmt" count="0"/>
|
|
|
5623 |
<line num="248" type="stmt" count="0"/>
|
|
|
5624 |
<line num="250" type="stmt" count="0"/>
|
5625 |
<line num="251" type="stmt" count="0"/>
|
5626 |
+
<line num="263" type="method" name="plugin_renamed_notice" visibility="public" complexity="3" crap="12" count="0"/>
|
5627 |
+
<line num="264" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5628 |
<line num="272" type="stmt" count="0"/>
|
5629 |
<line num="273" type="stmt" count="0"/>
|
|
|
|
|
5630 |
<line num="276" type="stmt" count="0"/>
|
5631 |
<line num="278" type="stmt" count="0"/>
|
5632 |
+
<line num="279" type="stmt" count="0"/>
|
5633 |
<line num="281" type="stmt" count="0"/>
|
5634 |
+
<line num="282" type="stmt" count="0"/>
|
5635 |
<line num="284" type="stmt" count="0"/>
|
5636 |
<line num="285" type="stmt" count="0"/>
|
5637 |
<line num="286" type="stmt" count="0"/>
|
5638 |
+
<line num="287" type="stmt" count="0"/>
|
5639 |
<line num="288" type="stmt" count="0"/>
|
5640 |
+
<line num="289" type="stmt" count="0"/>
|
5641 |
<line num="291" type="stmt" count="0"/>
|
5642 |
+
<line num="293" type="stmt" count="0"/>
|
5643 |
+
<line num="294" type="stmt" count="0"/>
|
5644 |
+
<line num="295" type="stmt" count="0"/>
|
5645 |
+
<metrics loc="296" ncloc="155" classes="1" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="87" coveredstatements="2" elements="98" coveredelements="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5646 |
</file>
|
5647 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-plugin-notices.php">
|
5648 |
<class name="Boldgrid_Backup_Admin_Plugin_Notices" namespace="global" fullPackage="Boldgrid.Backup.Admin.Plugin">
|
5691 |
</file>
|
5692 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-premium-features.php">
|
5693 |
<class name="Boldgrid_Backup_Admin_Premium_Features" namespace="global" fullPackage="Boldgrid.Backup.Admin.Premium">
|
5694 |
+
<metrics complexity="6" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="30" elements="34" coveredelements="34"/>
|
5695 |
</class>
|
5696 |
+
<line num="48" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
5697 |
+
<line num="49" type="stmt" count="20"/>
|
5698 |
+
<line num="50" type="stmt" count="20"/>
|
5699 |
+
<line num="59" type="method" name="admin_enqueue_scripts" visibility="public" complexity="3" crap="3" count="2"/>
|
5700 |
+
<line num="60" type="stmt" count="2"/>
|
5701 |
<line num="61" type="stmt" count="1"/>
|
5702 |
<line num="62" type="stmt" count="1"/>
|
5703 |
<line num="63" type="stmt" count="1"/>
|
5704 |
<line num="65" type="stmt" count="1"/>
|
5705 |
<line num="66" type="stmt" count="1"/>
|
5706 |
+
<line num="67" type="stmt" count="2"/>
|
5707 |
+
<line num="76" type="method" name="get_cards" visibility="public" complexity="1" crap="1" count="2"/>
|
5708 |
+
<line num="77" type="stmt" count="2"/>
|
5709 |
+
<line num="79" type="stmt" count="2"/>
|
5710 |
+
<line num="81" type="stmt" count="2"/>
|
5711 |
+
<line num="82" type="stmt" count="2"/>
|
5712 |
+
<line num="83" type="stmt" count="2"/>
|
5713 |
+
<line num="84" type="stmt" count="2"/>
|
5714 |
+
<line num="85" type="stmt" count="2"/>
|
5715 |
+
<line num="86" type="stmt" count="2"/>
|
5716 |
+
<line num="87" type="stmt" count="2"/>
|
5717 |
+
<line num="88" type="stmt" count="2"/>
|
5718 |
+
<line num="89" type="stmt" count="2"/>
|
5719 |
+
<line num="90" type="stmt" count="2"/>
|
5720 |
+
<line num="92" type="stmt" count="2"/>
|
5721 |
+
<line num="102" type="method" name="page" visibility="public" complexity="1" crap="1" count="1"/>
|
5722 |
+
<line num="103" type="stmt" count="1"/>
|
5723 |
+
<line num="105" type="stmt" count="1"/>
|
5724 |
+
<line num="106" type="stmt" count="1"/>
|
5725 |
+
<line num="107" type="stmt" count="1"/>
|
5726 |
+
<line num="109" type="stmt" count="1"/>
|
5727 |
+
<line num="110" type="stmt" count="1"/>
|
5728 |
+
<line num="111" type="stmt" count="1"/>
|
5729 |
+
<line num="112" type="stmt" count="1"/>
|
5730 |
+
<metrics loc="114" ncloc="54" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="30" elements="34" coveredelements="34"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5731 |
</file>
|
5732 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-remote.php">
|
5733 |
<class name="Boldgrid_Backup_Admin_Remote" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5734 |
<metrics complexity="16" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="33" coveredstatements="2" elements="38" coveredelements="3"/>
|
5735 |
</class>
|
5736 |
+
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
5737 |
+
<line num="38" type="stmt" count="20"/>
|
5738 |
+
<line num="39" type="stmt" count="20"/>
|
5739 |
<line num="48" type="method" name="any_enabled" visibility="public" complexity="6" crap="42" count="0"/>
|
5740 |
<line num="49" type="stmt" count="0"/>
|
5741 |
<line num="51" type="stmt" count="0"/>
|
5795 |
<class name="Boldgrid_Backup_Admin_Restore_Helper" namespace="global" fullPackage="Boldgrid.Backup.Admin.Restore">
|
5796 |
<metrics complexity="44" methods="10" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="103" coveredstatements="15" elements="113" coveredelements="16"/>
|
5797 |
</class>
|
5798 |
+
<line num="68" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="20"/>
|
5799 |
+
<line num="69" type="stmt" count="20"/>
|
5800 |
+
<line num="70" type="stmt" count="20"/>
|
5801 |
<line num="79" type="method" name="get_last_error" visibility="public" complexity="2" crap="6" count="0"/>
|
5802 |
<line num="80" type="stmt" count="0"/>
|
5803 |
<line num="82" type="stmt" count="0"/>
|
5914 |
<class name="Boldgrid_Backup_Admin_Scheduler" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5915 |
<metrics complexity="12" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="2" elements="35" coveredelements="3"/>
|
5916 |
</class>
|
5917 |
+
<line num="46" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
5918 |
+
<line num="47" type="stmt" count="20"/>
|
5919 |
+
<line num="48" type="stmt" count="20"/>
|
5920 |
<line num="55" type="method" name="clear_all_schedules" visibility="public" complexity="1" crap="2" count="0"/>
|
5921 |
<line num="56" type="stmt" count="0"/>
|
5922 |
<line num="57" type="stmt" count="0"/>
|
5953 |
</file>
|
5954 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-settings.php">
|
5955 |
<class name="Boldgrid_Backup_Admin_Settings" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5956 |
+
<metrics complexity="145" methods="16" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="445" coveredstatements="51" elements="461" coveredelements="55"/>
|
5957 |
</class>
|
5958 |
+
<line num="50" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
5959 |
+
<line num="52" type="stmt" count="20"/>
|
5960 |
+
<line num="54" type="stmt" count="20"/>
|
5961 |
+
<line num="55" type="stmt" count="20"/>
|
5962 |
<line num="67" type="method" name="get_dow_count" visibility="public" complexity="5" crap="30" count="0"/>
|
5963 |
<line num="68" type="stmt" count="0"/>
|
5964 |
<line num="70" type="stmt" count="0"/>
|
5969 |
<line num="78" type="stmt" count="0"/>
|
5970 |
<line num="79" type="stmt" count="0"/>
|
5971 |
<line num="81" type="stmt" count="0"/>
|
5972 |
+
<line num="92" type="method" name="get_setting" visibility="public" complexity="2" crap="2" count="1"/>
|
5973 |
+
<line num="93" type="stmt" count="1"/>
|
5974 |
+
<line num="95" type="stmt" count="1"/>
|
5975 |
+
<line num="108" type="method" name="get_settings" visibility="public" complexity="37" crap="318.85" count="7"/>
|
5976 |
+
<line num="110" type="stmt" count="7"/>
|
5977 |
+
<line num="112" type="stmt" count="7"/>
|
5978 |
<line num="113" type="stmt" count="4"/>
|
5979 |
+
<line num="117" type="stmt" count="7"/>
|
5980 |
+
<line num="118" type="stmt" count="7"/>
|
5981 |
+
<line num="121" type="stmt" count="7"/>
|
5982 |
+
<line num="124" type="stmt" count="0"/>
|
5983 |
+
<line num="125" type="stmt" count="0"/>
|
5984 |
+
<line num="126" type="stmt" count="0"/>
|
5985 |
+
<line num="127" type="stmt" count="0"/>
|
5986 |
+
<line num="128" type="stmt" count="0"/>
|
5987 |
+
<line num="129" type="stmt" count="0"/>
|
5988 |
+
<line num="130" type="stmt" count="0"/>
|
5989 |
+
<line num="131" type="stmt" count="0"/>
|
5990 |
+
<line num="132" type="stmt" count="0"/>
|
5991 |
+
<line num="133" type="stmt" count="0"/>
|
5992 |
+
<line num="134" type="stmt" count="0"/>
|
5993 |
+
<line num="135" type="stmt" count="0"/>
|
5994 |
+
<line num="136" type="stmt" count="0"/>
|
5995 |
+
<line num="137" type="stmt" count="0"/>
|
5996 |
+
<line num="138" type="stmt" count="0"/>
|
5997 |
+
<line num="139" type="stmt" count="0"/>
|
5998 |
+
<line num="140" type="stmt" count="0"/>
|
5999 |
+
<line num="141" type="stmt" count="0"/>
|
6000 |
+
<line num="142" type="stmt" count="0"/>
|
6001 |
+
<line num="143" type="stmt" count="0"/>
|
6002 |
+
<line num="144" type="stmt" count="0"/>
|
6003 |
+
<line num="147" type="stmt" count="0"/>
|
6004 |
+
<line num="148" type="stmt" count="0"/>
|
6005 |
+
<line num="149" type="stmt" count="0"/>
|
6006 |
<line num="150" type="stmt" count="0"/>
|
6007 |
+
<line num="151" type="stmt" count="0"/>
|
6008 |
+
<line num="152" type="stmt" count="0"/>
|
6009 |
+
<line num="153" type="stmt" count="0"/>
|
6010 |
<line num="154" type="stmt" count="0"/>
|
6011 |
+
<line num="155" type="stmt" count="0"/>
|
6012 |
+
<line num="156" type="stmt" count="0"/>
|
6013 |
+
<line num="157" type="stmt" count="0"/>
|
6014 |
<line num="158" type="stmt" count="0"/>
|
6015 |
+
<line num="161" type="stmt" count="0"/>
|
6016 |
+
<line num="162" type="stmt" count="0"/>
|
6017 |
+
<line num="163" type="stmt" count="0"/>
|
6018 |
<line num="164" type="stmt" count="0"/>
|
6019 |
+
<line num="165" type="stmt" count="0"/>
|
6020 |
+
<line num="166" type="stmt" count="0"/>
|
6021 |
+
<line num="167" type="stmt" count="0"/>
|
6022 |
<line num="168" type="stmt" count="0"/>
|
6023 |
+
<line num="171" type="stmt" count="0"/>
|
6024 |
<line num="172" type="stmt" count="0"/>
|
6025 |
<line num="173" type="stmt" count="0"/>
|
6026 |
+
<line num="176" type="stmt" count="0"/>
|
6027 |
+
<line num="177" type="stmt" count="0"/>
|
6028 |
<line num="178" type="stmt" count="0"/>
|
6029 |
+
<line num="180" type="stmt" count="0"/>
|
6030 |
+
<line num="181" type="stmt" count="0"/>
|
6031 |
+
<line num="182" type="stmt" count="0"/>
|
6032 |
<line num="183" type="stmt" count="0"/>
|
6033 |
+
<line num="186" type="stmt" count="0"/>
|
6034 |
+
<line num="187" type="stmt" count="0"/>
|
6035 |
+
<line num="188" type="stmt" count="0"/>
|
6036 |
+
<line num="190" type="stmt" count="0"/>
|
6037 |
<line num="191" type="stmt" count="0"/>
|
6038 |
<line num="192" type="stmt" count="0"/>
|
6039 |
+
<line num="193" type="stmt" count="0"/>
|
6040 |
<line num="196" type="stmt" count="7"/>
|
6041 |
<line num="197" type="stmt" count="7"/>
|
6042 |
<line num="198" type="stmt" count="7"/>
|
6054 |
<line num="214" type="stmt" count="7"/>
|
6055 |
<line num="215" type="stmt" count="7"/>
|
6056 |
<line num="217" type="stmt" count="7"/>
|
6057 |
+
<line num="220" type="stmt" count="7"/>
|
6058 |
<line num="221" type="stmt" count="0"/>
|
6059 |
<line num="222" type="stmt" count="0"/>
|
6060 |
+
<line num="225" type="stmt" count="7"/>
|
6061 |
+
<line num="226" type="stmt" count="0"/>
|
6062 |
+
<line num="227" type="stmt" count="0"/>
|
6063 |
+
<line num="229" type="stmt" count="7"/>
|
6064 |
+
<line num="230" type="stmt" count="7"/>
|
6065 |
+
<line num="231" type="stmt" count="7"/>
|
6066 |
+
<line num="234" type="stmt" count="7"/>
|
6067 |
+
<line num="235" type="stmt" count="7"/>
|
6068 |
+
<line num="238" type="stmt" count="7"/>
|
6069 |
+
<line num="239" type="stmt" count="7"/>
|
6070 |
+
<line num="241" type="stmt" count="7"/>
|
6071 |
+
<line num="242" type="stmt" count="7"/>
|
6072 |
+
<line num="244" type="stmt" count="7"/>
|
6073 |
+
<line num="245" type="stmt" count="7"/>
|
6074 |
+
<line num="247" type="stmt" count="7"/>
|
6075 |
+
<line num="248" type="stmt" count="7"/>
|
6076 |
+
<line num="251" type="stmt" count="7"/>
|
6077 |
+
<line num="252" type="stmt" count="7"/>
|
6078 |
+
<line num="253" type="stmt" count="7"/>
|
6079 |
+
<line num="256" type="stmt" count="7"/>
|
6080 |
+
<line num="259" type="stmt" count="7"/>
|
6081 |
<line num="271" type="method" name="has_full_protection" visibility="public" complexity="2" crap="6" count="0"/>
|
6082 |
<line num="272" type="stmt" count="0"/>
|
6083 |
<line num="282" type="method" name="has_remote_configured" visibility="public" complexity="4" crap="20" count="0"/>
|
6122 |
<line num="390" type="method" name="is_all_tables" visibility="public" complexity="1" crap="2" count="0"/>
|
6123 |
<line num="391" type="stmt" count="0"/>
|
6124 |
<line num="393" type="stmt" count="0"/>
|
6125 |
+
<line num="405" type="method" name="move_backups" visibility="private" complexity="3" crap="12" count="0"/>
|
6126 |
<line num="406" type="stmt" count="0"/>
|
6127 |
<line num="408" type="stmt" count="0"/>
|
6128 |
<line num="409" type="stmt" count="0"/>
|
6137 |
<line num="424" type="stmt" count="0"/>
|
6138 |
<line num="425" type="stmt" count="0"/>
|
6139 |
<line num="427" type="stmt" count="0"/>
|
6140 |
+
<line num="441" type="method" name="update_settings" visibility="private" complexity="62" crap="3906" count="0"/>
|
6141 |
<line num="442" type="stmt" count="0"/>
|
6142 |
<line num="445" type="stmt" count="0"/>
|
6143 |
<line num="446" type="stmt" count="0"/>
|
6239 |
<line num="607" type="stmt" count="0"/>
|
6240 |
<line num="608" type="stmt" count="0"/>
|
6241 |
<line num="610" type="stmt" count="0"/>
|
|
|
|
|
6242 |
<line num="619" type="stmt" count="0"/>
|
6243 |
+
<line num="620" type="stmt" count="0"/>
|
6244 |
+
<line num="621" type="stmt" count="0"/>
|
6245 |
+
<line num="622" type="stmt" count="0"/>
|
6246 |
+
<line num="623" type="stmt" count="0"/>
|
6247 |
+
<line num="624" type="stmt" count="0"/>
|
6248 |
+
<line num="625" type="stmt" count="0"/>
|
6249 |
+
<line num="627" type="stmt" count="0"/>
|
6250 |
+
<line num="637" type="stmt" count="0"/>
|
6251 |
+
<line num="638" type="stmt" count="0"/>
|
6252 |
+
<line num="639" type="stmt" count="0"/>
|
6253 |
+
<line num="640" type="stmt" count="0"/>
|
6254 |
+
<line num="641" type="stmt" count="0"/>
|
6255 |
+
<line num="642" type="stmt" count="0"/>
|
6256 |
<line num="649" type="stmt" count="0"/>
|
6257 |
+
<line num="652" type="stmt" count="0"/>
|
6258 |
+
<line num="653" type="stmt" count="0"/>
|
6259 |
+
<line num="654" type="stmt" count="0"/>
|
6260 |
+
<line num="655" type="stmt" count="0"/>
|
6261 |
<line num="662" type="stmt" count="0"/>
|
6262 |
+
<line num="665" type="stmt" count="0"/>
|
6263 |
+
<line num="666" type="stmt" count="0"/>
|
6264 |
+
<line num="667" type="stmt" count="0"/>
|
6265 |
+
<line num="670" type="stmt" count="0"/>
|
6266 |
<line num="671" type="stmt" count="0"/>
|
6267 |
<line num="674" type="stmt" count="0"/>
|
6268 |
<line num="675" type="stmt" count="0"/>
|
6269 |
+
<line num="681" type="stmt" count="0"/>
|
6270 |
+
<line num="682" type="stmt" count="0"/>
|
|
|
6271 |
<line num="683" type="stmt" count="0"/>
|
6272 |
<line num="684" type="stmt" count="0"/>
|
|
|
6273 |
<line num="691" type="stmt" count="0"/>
|
6274 |
<line num="692" type="stmt" count="0"/>
|
6275 |
+
<line num="699" type="stmt" count="0"/>
|
6276 |
<line num="700" type="stmt" count="0"/>
|
6277 |
<line num="701" type="stmt" count="0"/>
|
6278 |
+
<line num="704" type="stmt" count="0"/>
|
6279 |
+
<line num="705" type="stmt" count="0"/>
|
6280 |
+
<line num="706" type="stmt" count="0"/>
|
6281 |
<line num="708" type="stmt" count="0"/>
|
6282 |
<line num="709" type="stmt" count="0"/>
|
6283 |
<line num="710" type="stmt" count="0"/>
|
6284 |
+
<line num="711" type="stmt" count="0"/>
|
6285 |
+
<line num="712" type="stmt" count="0"/>
|
6286 |
+
<line num="713" type="stmt" count="0"/>
|
6287 |
+
<line num="715" type="stmt" count="0"/>
|
6288 |
+
<line num="716" type="stmt" count="0"/>
|
6289 |
+
<line num="720" type="stmt" count="0"/>
|
6290 |
+
<line num="721" type="stmt" count="0"/>
|
6291 |
<line num="722" type="stmt" count="0"/>
|
6292 |
<line num="723" type="stmt" count="0"/>
|
|
|
6293 |
<line num="726" type="stmt" count="0"/>
|
|
|
|
|
6294 |
<line num="729" type="stmt" count="0"/>
|
6295 |
<line num="730" type="stmt" count="0"/>
|
6296 |
<line num="731" type="stmt" count="0"/>
|
6297 |
+
<line num="732" type="stmt" count="0"/>
|
6298 |
<line num="733" type="stmt" count="0"/>
|
6299 |
+
<line num="736" type="stmt" count="0"/>
|
6300 |
<line num="738" type="stmt" count="0"/>
|
6301 |
<line num="739" type="stmt" count="0"/>
|
6302 |
<line num="740" type="stmt" count="0"/>
|
6303 |
+
<line num="742" type="stmt" count="0"/>
|
6304 |
+
<line num="743" type="stmt" count="0"/>
|
6305 |
<line num="744" type="stmt" count="0"/>
|
6306 |
+
<line num="745" type="stmt" count="0"/>
|
6307 |
+
<line num="746" type="stmt" count="0"/>
|
6308 |
<line num="749" type="stmt" count="0"/>
|
6309 |
<line num="750" type="stmt" count="0"/>
|
6310 |
<line num="751" type="stmt" count="0"/>
|
6311 |
+
<line num="753" type="stmt" count="0"/>
|
6312 |
+
<line num="759" type="stmt" count="0"/>
|
|
|
|
|
6313 |
<line num="760" type="stmt" count="0"/>
|
|
|
|
|
6314 |
<line num="763" type="stmt" count="0"/>
|
6315 |
+
<line num="771" type="method" name="delete_rollback_option" visibility="public" complexity="1" crap="1" count="1"/>
|
6316 |
+
<line num="772" type="stmt" count="1"/>
|
6317 |
+
<line num="773" type="stmt" count="1"/>
|
6318 |
+
<line num="783" type="method" name="page_backup_settings" visibility="public" complexity="12" crap="156" count="0"/>
|
6319 |
+
<line num="784" type="stmt" count="0"/>
|
6320 |
+
<line num="785" type="stmt" count="0"/>
|
6321 |
+
<line num="786" type="stmt" count="0"/>
|
6322 |
+
<line num="788" type="stmt" count="0"/>
|
6323 |
+
<line num="789" type="stmt" count="0"/>
|
6324 |
+
<line num="790" type="stmt" count="0"/>
|
6325 |
+
<line num="791" type="stmt" count="0"/>
|
6326 |
+
<line num="792" type="stmt" count="0"/>
|
6327 |
+
<line num="793" type="stmt" count="0"/>
|
6328 |
+
<line num="795" type="stmt" count="0"/>
|
6329 |
+
<line num="796" type="stmt" count="0"/>
|
6330 |
+
<line num="797" type="stmt" count="0"/>
|
6331 |
+
<line num="800" type="stmt" count="0"/>
|
6332 |
+
<line num="801" type="stmt" count="0"/>
|
6333 |
+
<line num="802" type="stmt" count="0"/>
|
6334 |
<line num="803" type="stmt" count="0"/>
|
|
|
6335 |
<line num="805" type="stmt" count="0"/>
|
6336 |
+
<line num="806" type="stmt" count="0"/>
|
6337 |
<line num="808" type="stmt" count="0"/>
|
6338 |
<line num="809" type="stmt" count="0"/>
|
|
|
6339 |
<line num="811" type="stmt" count="0"/>
|
6340 |
<line num="813" type="stmt" count="0"/>
|
6341 |
<line num="814" type="stmt" count="0"/>
|
6342 |
+
<line num="821" type="stmt" count="0"/>
|
|
|
|
|
|
|
6343 |
<line num="822" type="stmt" count="0"/>
|
6344 |
<line num="823" type="stmt" count="0"/>
|
6345 |
<line num="824" type="stmt" count="0"/>
|
6346 |
+
<line num="826" type="stmt" count="0"/>
|
|
|
6347 |
<line num="828" type="stmt" count="0"/>
|
6348 |
+
<line num="829" type="stmt" count="0"/>
|
6349 |
+
<line num="832" type="stmt" count="0"/>
|
6350 |
+
<line num="839" type="stmt" count="0"/>
|
6351 |
+
<line num="840" type="stmt" count="0"/>
|
6352 |
+
<line num="841" type="stmt" count="0"/>
|
6353 |
+
<line num="842" type="stmt" count="0"/>
|
6354 |
<line num="844" type="stmt" count="0"/>
|
|
|
6355 |
<line num="846" type="stmt" count="0"/>
|
6356 |
+
<line num="847" type="stmt" count="0"/>
|
6357 |
<line num="850" type="stmt" count="0"/>
|
6358 |
+
<line num="852" type="stmt" count="0"/>
|
6359 |
+
<line num="853" type="stmt" count="0"/>
|
6360 |
+
<line num="856" type="stmt" count="0"/>
|
6361 |
+
<line num="857" type="stmt" count="0"/>
|
6362 |
+
<line num="858" type="stmt" count="0"/>
|
6363 |
+
<line num="859" type="stmt" count="0"/>
|
6364 |
+
<line num="860" type="stmt" count="0"/>
|
6365 |
<line num="863" type="stmt" count="0"/>
|
6366 |
<line num="864" type="stmt" count="0"/>
|
6367 |
+
<line num="865" type="stmt" count="0"/>
|
6368 |
<line num="866" type="stmt" count="0"/>
|
6369 |
+
<line num="867" type="stmt" count="0"/>
|
6370 |
<line num="869" type="stmt" count="0"/>
|
6371 |
+
<line num="871" type="stmt" count="0"/>
|
6372 |
<line num="872" type="stmt" count="0"/>
|
6373 |
+
<line num="873" type="stmt" count="0"/>
|
6374 |
<line num="874" type="stmt" count="0"/>
|
6375 |
<line num="875" type="stmt" count="0"/>
|
6376 |
+
<line num="877" type="stmt" count="0"/>
|
|
|
6377 |
<line num="880" type="stmt" count="0"/>
|
6378 |
<line num="881" type="stmt" count="0"/>
|
6379 |
<line num="882" type="stmt" count="0"/>
|
6380 |
+
<line num="883" type="stmt" count="0"/>
|
6381 |
+
<line num="884" type="stmt" count="0"/>
|
6382 |
<line num="886" type="stmt" count="0"/>
|
|
|
|
|
6383 |
<line num="889" type="stmt" count="0"/>
|
6384 |
+
<line num="890" type="stmt" count="0"/>
|
6385 |
<line num="891" type="stmt" count="0"/>
|
6386 |
+
<line num="892" type="stmt" count="0"/>
|
6387 |
<line num="893" type="stmt" count="0"/>
|
|
|
6388 |
<line num="895" type="stmt" count="0"/>
|
6389 |
+
<line num="898" type="stmt" count="0"/>
|
|
|
6390 |
<line num="899" type="stmt" count="0"/>
|
6391 |
+
<line num="900" type="stmt" count="0"/>
|
6392 |
+
<line num="901" type="stmt" count="0"/>
|
6393 |
<line num="903" type="stmt" count="0"/>
|
|
|
6394 |
<line num="905" type="stmt" count="0"/>
|
6395 |
<line num="906" type="stmt" count="0"/>
|
6396 |
<line num="908" type="stmt" count="0"/>
|
6397 |
<line num="911" type="stmt" count="0"/>
|
6398 |
<line num="912" type="stmt" count="0"/>
|
6399 |
<line num="913" type="stmt" count="0"/>
|
|
|
6400 |
<line num="915" type="stmt" count="0"/>
|
6401 |
<line num="917" type="stmt" count="0"/>
|
6402 |
+
<line num="918" type="stmt" count="0"/>
|
6403 |
+
<line num="919" type="stmt" count="0"/>
|
6404 |
<line num="922" type="stmt" count="0"/>
|
6405 |
<line num="923" type="stmt" count="0"/>
|
6406 |
+
<line num="933" type="method" name="save" visibility="public" complexity="1" crap="1" count="6"/>
|
6407 |
+
<line num="934" type="stmt" count="6"/>
|
6408 |
+
<line num="945" type="method" name="update_cron" visibility="public" complexity="4" crap="20" count="0"/>
|
6409 |
+
<line num="946" type="stmt" count="0"/>
|
6410 |
+
<line num="948" type="stmt" count="0"/>
|
6411 |
+
<line num="950" type="stmt" count="0"/>
|
6412 |
+
<line num="951" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6413 |
<line num="952" type="stmt" count="0"/>
|
6414 |
+
<line num="953" type="stmt" count="0"/>
|
6415 |
<line num="954" type="stmt" count="0"/>
|
6416 |
<line num="955" type="stmt" count="0"/>
|
6417 |
+
<line num="956" type="stmt" count="0"/>
|
6418 |
+
<line num="958" type="stmt" count="0"/>
|
6419 |
+
<metrics loc="960" ncloc="579" classes="1" methods="16" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="445" coveredstatements="51" elements="461" coveredelements="55"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6420 |
</file>
|
6421 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-support.php">
|
6422 |
<class name="Boldgrid_Backup_Admin_Support" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6423 |
+
<metrics complexity="18" methods="10" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="68" coveredstatements="2" elements="78" coveredelements="3"/>
|
6424 |
</class>
|
6425 |
+
<line num="46" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
6426 |
+
<line num="47" type="stmt" count="20"/>
|
6427 |
+
<line num="48" type="stmt" count="20"/>
|
6428 |
<line num="61" type="method" name="add_admin_notice" visibility="public" complexity="1" crap="2" count="0"/>
|
6429 |
<line num="62" type="stmt" count="0"/>
|
6430 |
<line num="63" type="method" name="anonymous function" complexity="1" crap="2" count="0"/>
|
6499 |
<line num="233" type="stmt" count="0"/>
|
6500 |
<line num="236" type="stmt" count="0"/>
|
6501 |
<line num="244" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
6502 |
+
<line num="245" type="stmt" count="0"/>
|
6503 |
<line num="247" type="stmt" count="0"/>
|
6504 |
<line num="248" type="stmt" count="0"/>
|
6505 |
+
<metrics loc="249" ncloc="119" classes="1" methods="10" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="70" coveredstatements="2" elements="80" coveredelements="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6506 |
</file>
|
6507 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-test.php">
|
6508 |
<class name="Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6509 |
<metrics complexity="97" methods="26" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="256" coveredstatements="109" elements="282" coveredelements="114"/>
|
6510 |
</class>
|
6511 |
+
<line num="122" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
6512 |
+
<line num="124" type="stmt" count="20"/>
|
6513 |
+
<line num="125" type="stmt" count="20"/>
|
6514 |
<line num="135" type="method" name="can_exec_write" visibility="public" complexity="4" crap="4.32" count="1"/>
|
6515 |
<line num="136" type="stmt" count="1"/>
|
6516 |
<line num="137" type="stmt" count="0"/>
|
6576 |
<line num="290" type="stmt" count="1"/>
|
6577 |
<line num="291" type="stmt" count="3"/>
|
6578 |
<line num="293" type="stmt" count="3"/>
|
6579 |
+
<line num="303" type="method" name="is_windows" visibility="public" complexity="2" crap="2" count="7"/>
|
6580 |
+
<line num="305" type="stmt" count="7"/>
|
6581 |
+
<line num="306" type="stmt" count="6"/>
|
6582 |
+
<line num="310" type="stmt" count="3"/>
|
6583 |
+
<line num="313" type="stmt" count="3"/>
|
6584 |
<line num="324" type="method" name="is_writable" visibility="public" complexity="3" crap="7.23" count="1"/>
|
6585 |
<line num="325" type="stmt" count="1"/>
|
6586 |
<line num="326" type="stmt" count="1"/>
|
6796 |
<class name="Boldgrid_Backup_Admin_Time" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6797 |
<metrics complexity="34" methods="10" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="102" coveredstatements="39" elements="112" coveredelements="41"/>
|
6798 |
</class>
|
6799 |
+
<line num="73" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
6800 |
+
<line num="74" type="stmt" count="20"/>
|
6801 |
+
<line num="75" type="stmt" count="20"/>
|
6802 |
<line num="84" type="method" name="get_server_date" visibility="public" complexity="2" crap="6" count="0"/>
|
6803 |
<line num="85" type="stmt" count="0"/>
|
6804 |
<line num="87" type="stmt" count="0"/>
|
6912 |
</file>
|
6913 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-tools.php">
|
6914 |
<class name="Boldgrid_Backup_Admin_Tools" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6915 |
+
<metrics complexity="4" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="2" elements="14" coveredelements="3"/>
|
6916 |
</class>
|
6917 |
+
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
6918 |
+
<line num="38" type="stmt" count="20"/>
|
6919 |
+
<line num="39" type="stmt" count="20"/>
|
6920 |
<line num="44" type="method" name="admin_enqueue_scripts" visibility="public" complexity="2" crap="6" count="0"/>
|
6921 |
<line num="45" type="stmt" count="0"/>
|
6922 |
<line num="46" type="stmt" count="0"/>
|
6923 |
<line num="50" type="stmt" count="0"/>
|
6924 |
<line num="51" type="stmt" count="0"/>
|
6925 |
<line num="52" type="stmt" count="0"/>
|
6926 |
+
<line num="55" type="stmt" count="0"/>
|
6927 |
+
<line num="56" type="stmt" count="0"/>
|
6928 |
+
<line num="63" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
6929 |
<line num="64" type="stmt" count="0"/>
|
6930 |
+
<line num="65" type="stmt" count="0"/>
|
6931 |
+
<metrics loc="66" ncloc="23" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="2" elements="14" coveredelements="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6932 |
</file>
|
6933 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-transfers.php">
|
6934 |
<class name="Boldgrid_Backup_Admin_Transfers" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6935 |
+
<metrics complexity="2" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="2" elements="14" coveredelements="3"/>
|
6936 |
</class>
|
6937 |
+
<line num="36" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
6938 |
+
<line num="37" type="stmt" count="20"/>
|
6939 |
+
<line num="38" type="stmt" count="20"/>
|
6940 |
<line num="45" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
6941 |
<line num="46" type="stmt" count="0"/>
|
6942 |
<line num="47" type="stmt" count="0"/>
|
6943 |
<line num="48" type="stmt" count="0"/>
|
6944 |
<line num="50" type="stmt" count="0"/>
|
6945 |
<line num="51" type="stmt" count="0"/>
|
6946 |
+
<line num="52" type="stmt" count="0"/>
|
6947 |
<line num="53" type="stmt" count="0"/>
|
|
|
6948 |
<line num="55" type="stmt" count="0"/>
|
6949 |
<line num="57" type="stmt" count="0"/>
|
6950 |
<line num="58" type="stmt" count="0"/>
|
6951 |
+
<metrics loc="59" ncloc="24" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="2" elements="14" coveredelements="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6952 |
</file>
|
6953 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-upload.php">
|
6954 |
<class name="Boldgrid_Backup_Admin_Upload" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6955 |
+
<metrics complexity="36" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="2" elements="205" coveredelements="3"/>
|
6956 |
</class>
|
6957 |
+
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
6958 |
+
<line num="41" type="stmt" count="20"/>
|
6959 |
+
<line num="42" type="stmt" count="20"/>
|
6960 |
+
<line num="56" type="method" name="verify_upload_access" visibility="public" complexity="9" crap="90" count="0"/>
|
6961 |
<line num="58" type="stmt" count="0"/>
|
6962 |
<line num="60" type="stmt" count="0"/>
|
6963 |
<line num="61" type="stmt" count="0"/>
|
7002 |
<line num="139" type="stmt" count="0"/>
|
7003 |
<line num="141" type="stmt" count="0"/>
|
7004 |
<line num="144" type="stmt" count="0"/>
|
7005 |
+
<line num="161" type="method" name="bump_upload_limits" visibility="public" complexity="1" crap="2" count="0"/>
|
7006 |
+
<line num="162" type="stmt" count="0"/>
|
7007 |
+
<line num="163" type="stmt" count="0"/>
|
7008 |
+
<line num="164" type="stmt" count="0"/>
|
7009 |
+
<line num="165" type="stmt" count="0"/>
|
7010 |
+
<line num="176" type="method" name="check_filetype_ext" visibility="public" complexity="4" crap="20" count="0"/>
|
7011 |
+
<line num="178" type="stmt" count="0"/>
|
7012 |
+
<line num="179" type="stmt" count="0"/>
|
7013 |
+
<line num="183" type="stmt" count="0"/>
|
7014 |
+
<line num="186" type="stmt" count="0"/>
|
7015 |
+
<line num="192" type="stmt" count="0"/>
|
7016 |
+
<line num="193" type="stmt" count="0"/>
|
7017 |
+
<line num="195" type="stmt" count="0"/>
|
|
|
|
|
7018 |
<line num="197" type="stmt" count="0"/>
|
7019 |
+
<line num="198" type="stmt" count="0"/>
|
7020 |
+
<line num="199" type="stmt" count="0"/>
|
7021 |
+
<line num="201" type="stmt" count="0"/>
|
7022 |
+
<line num="202" type="stmt" count="0"/>
|
7023 |
<line num="204" type="stmt" count="0"/>
|
7024 |
+
<line num="205" type="stmt" count="0"/>
|
7025 |
<line num="206" type="stmt" count="0"/>
|
7026 |
<line num="208" type="stmt" count="0"/>
|
|
|
7027 |
<line num="210" type="stmt" count="0"/>
|
|
|
7028 |
<line num="213" type="stmt" count="0"/>
|
7029 |
+
<line num="227" type="method" name="get_save_path" visibility="public" complexity="3" crap="12" count="0"/>
|
7030 |
+
<line num="228" type="stmt" count="0"/>
|
7031 |
+
<line num="231" type="stmt" count="0"/>
|
7032 |
+
<line num="235" type="stmt" count="0"/>
|
7033 |
+
<line num="236" type="stmt" count="0"/>
|
7034 |
+
<line num="237" type="stmt" count="0"/>
|
7035 |
+
<line num="238" type="stmt" count="0"/>
|
7036 |
<line num="239" type="stmt" count="0"/>
|
7037 |
+
<line num="240" type="stmt" count="0"/>
|
7038 |
+
<line num="243" type="stmt" count="0"/>
|
7039 |
+
<line num="244" type="stmt" count="0"/>
|
7040 |
+
<line num="245" type="stmt" count="0"/>
|
7041 |
<line num="248" type="stmt" count="0"/>
|
7042 |
<line num="249" type="stmt" count="0"/>
|
7043 |
<line num="250" type="stmt" count="0"/>
|
7044 |
+
<line num="253" type="stmt" count="0"/>
|
|
|
|
|
7045 |
<line num="256" type="stmt" count="0"/>
|
7046 |
+
<line num="258" type="stmt" count="0"/>
|
|
|
7047 |
<line num="261" type="stmt" count="0"/>
|
7048 |
+
<line num="273" type="method" name="handle_upload" visibility="public" complexity="2" crap="6" count="0"/>
|
7049 |
+
<line num="275" type="stmt" count="0"/>
|
7050 |
+
<line num="276" type="stmt" count="0"/>
|
7051 |
+
<line num="277" type="stmt" count="0"/>
|
7052 |
+
<line num="281" type="stmt" count="0"/>
|
7053 |
+
<line num="282" type="stmt" count="0"/>
|
7054 |
+
<line num="285" type="stmt" count="0"/>
|
7055 |
<line num="286" type="stmt" count="0"/>
|
|
|
7056 |
<line num="288" type="stmt" count="0"/>
|
7057 |
+
<line num="289" type="stmt" count="0"/>
|
7058 |
+
<line num="291" type="stmt" count="0"/>
|
7059 |
<line num="293" type="stmt" count="0"/>
|
7060 |
<line num="296" type="stmt" count="0"/>
|
7061 |
<line num="297" type="stmt" count="0"/>
|
7063 |
<line num="300" type="stmt" count="0"/>
|
7064 |
<line num="302" type="stmt" count="0"/>
|
7065 |
<line num="304" type="stmt" count="0"/>
|
7066 |
+
<line num="319" type="method" name="upload_archive_file" visibility="public" complexity="5" crap="30" count="0"/>
|
7067 |
+
<line num="321" type="stmt" count="0"/>
|
7068 |
+
<line num="322" type="stmt" count="0"/>
|
7069 |
+
<line num="326" type="stmt" count="0"/>
|
7070 |
+
<line num="329" type="stmt" count="0"/>
|
|
|
|
|
7071 |
<line num="332" type="stmt" count="0"/>
|
7072 |
<line num="333" type="stmt" count="0"/>
|
7073 |
<line num="337" type="stmt" count="0"/>
|
7074 |
<line num="340" type="stmt" count="0"/>
|
7075 |
<line num="343" type="stmt" count="0"/>
|
7076 |
+
<line num="346" type="stmt" count="0"/>
|
7077 |
<line num="348" type="stmt" count="0"/>
|
7078 |
<line num="351" type="stmt" count="0"/>
|
7079 |
+
<line num="352" type="stmt" count="0"/>
|
7080 |
+
<line num="353" type="stmt" count="0"/>
|
7081 |
+
<line num="355" type="stmt" count="0"/>
|
7082 |
+
<line num="358" type="stmt" count="0"/>
|
7083 |
+
<line num="360" type="stmt" count="0"/>
|
7084 |
<line num="363" type="stmt" count="0"/>
|
7085 |
<line num="364" type="stmt" count="0"/>
|
7086 |
+
<line num="365" type="stmt" count="0"/>
|
7087 |
+
<line num="367" type="stmt" count="0"/>
|
7088 |
+
<line num="368" type="stmt" count="0"/>
|
7089 |
<line num="369" type="stmt" count="0"/>
|
7090 |
<line num="371" type="stmt" count="0"/>
|
7091 |
+
<line num="373" type="stmt" count="0"/>
|
7092 |
+
<line num="392" type="method" name="ajax_url_import" visibility="public" complexity="11" crap="132" count="0"/>
|
7093 |
+
<line num="394" type="stmt" count="0"/>
|
7094 |
+
<line num="395" type="stmt" count="0"/>
|
7095 |
+
<line num="397" type="stmt" count="0"/>
|
7096 |
+
<line num="399" type="stmt" count="0"/>
|
7097 |
+
<line num="400" type="stmt" count="0"/>
|
7098 |
+
<line num="403" type="stmt" count="0"/>
|
7099 |
+
<line num="404" type="stmt" count="0"/>
|
|
|
7100 |
<line num="406" type="stmt" count="0"/>
|
7101 |
<line num="408" type="stmt" count="0"/>
|
7102 |
+
<line num="409" type="stmt" count="0"/>
|
7103 |
<line num="411" type="stmt" count="0"/>
|
7104 |
+
<line num="412" type="stmt" count="0"/>
|
7105 |
<line num="414" type="stmt" count="0"/>
|
7106 |
<line num="415" type="stmt" count="0"/>
|
7107 |
<line num="417" type="stmt" count="0"/>
|
7108 |
<line num="419" type="stmt" count="0"/>
|
7109 |
<line num="420" type="stmt" count="0"/>
|
7110 |
<line num="422" type="stmt" count="0"/>
|
7111 |
+
<line num="424" type="stmt" count="0"/>
|
7112 |
<line num="425" type="stmt" count="0"/>
|
7113 |
<line num="426" type="stmt" count="0"/>
|
7114 |
<line num="428" type="stmt" count="0"/>
|
7115 |
<line num="430" type="stmt" count="0"/>
|
7116 |
<line num="431" type="stmt" count="0"/>
|
7117 |
<line num="433" type="stmt" count="0"/>
|
|
|
7118 |
<line num="436" type="stmt" count="0"/>
|
7119 |
<line num="437" type="stmt" count="0"/>
|
7120 |
+
<line num="438" type="stmt" count="0"/>
|
7121 |
<line num="439" type="stmt" count="0"/>
|
7122 |
<line num="441" type="stmt" count="0"/>
|
7123 |
<line num="442" type="stmt" count="0"/>
|
7124 |
+
<line num="443" type="stmt" count="0"/>
|
7125 |
<line num="444" type="stmt" count="0"/>
|
7126 |
+
<line num="445" type="stmt" count="0"/>
|
7127 |
+
<line num="446" type="stmt" count="0"/>
|
7128 |
<line num="447" type="stmt" count="0"/>
|
|
|
7129 |
<line num="449" type="stmt" count="0"/>
|
7130 |
+
<line num="451" type="stmt" count="0"/>
|
7131 |
<line num="452" type="stmt" count="0"/>
|
|
|
7132 |
<line num="454" type="stmt" count="0"/>
|
|
|
7133 |
<line num="456" type="stmt" count="0"/>
|
7134 |
<line num="457" type="stmt" count="0"/>
|
7135 |
<line num="458" type="stmt" count="0"/>
|
7136 |
+
<line num="459" type="stmt" count="0"/>
|
7137 |
<line num="460" type="stmt" count="0"/>
|
7138 |
+
<line num="461" type="stmt" count="0"/>
|
7139 |
<line num="463" type="stmt" count="0"/>
|
7140 |
+
<line num="464" type="stmt" count="0"/>
|
7141 |
+
<line num="466" type="stmt" count="0"/>
|
7142 |
<line num="467" type="stmt" count="0"/>
|
|
|
|
|
7143 |
<line num="470" type="stmt" count="0"/>
|
7144 |
+
<line num="473" type="stmt" count="0"/>
|
7145 |
+
<line num="476" type="stmt" count="0"/>
|
|
|
|
|
|
|
7146 |
<line num="478" type="stmt" count="0"/>
|
7147 |
+
<line num="480" type="stmt" count="0"/>
|
7148 |
<line num="481" type="stmt" count="0"/>
|
7149 |
+
<line num="483" type="stmt" count="0"/>
|
7150 |
<line num="484" type="stmt" count="0"/>
|
7151 |
+
<line num="485" type="stmt" count="0"/>
|
7152 |
+
<line num="486" type="stmt" count="0"/>
|
7153 |
+
<line num="488" type="stmt" count="0"/>
|
7154 |
<line num="489" type="stmt" count="0"/>
|
7155 |
+
<line num="490" type="stmt" count="0"/>
|
7156 |
+
<line num="493" type="stmt" count="0"/>
|
|
|
7157 |
<line num="495" type="stmt" count="0"/>
|
7158 |
<line num="496" type="stmt" count="0"/>
|
7159 |
+
<line num="498" type="stmt" count="0"/>
|
|
|
7160 |
<line num="500" type="stmt" count="0"/>
|
7161 |
<line num="501" type="stmt" count="0"/>
|
7162 |
+
<metrics loc="502" ncloc="279" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="2" elements="205" coveredelements="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7163 |
</file>
|
7164 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-usage.php">
|
7165 |
<class name="Boldgrid_Backup_Admin_Usage" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7196 |
</file>
|
7197 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-utility.php">
|
7198 |
<class name="Boldgrid_Backup_Admin_Utility" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7199 |
+
<metrics complexity="85" methods="21" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="299" coveredstatements="41" elements="320" coveredelements="42"/>
|
7200 |
</class>
|
7201 |
<line num="34" type="method" name="bytes_to_human" visibility="public" complexity="3" crap="3" count="4"/>
|
7202 |
<line num="36" type="stmt" count="4"/>
|
7353 |
<line num="403" type="stmt" count="0"/>
|
7354 |
<line num="406" type="stmt" count="0"/>
|
7355 |
<line num="409" type="stmt" count="0"/>
|
7356 |
+
<line num="426" type="method" name="bump_memory_limit" visibility="public" complexity="5" crap="5.20" count="1"/>
|
7357 |
+
<line num="428" type="stmt" count="1"/>
|
7358 |
<line num="429" type="stmt" count="0"/>
|
7359 |
+
<line num="433" type="stmt" count="1"/>
|
7360 |
+
<line num="436" type="stmt" count="1"/>
|
7361 |
+
<line num="439" type="stmt" count="1"/>
|
7362 |
+
<line num="443" type="stmt" count="1"/>
|
7363 |
+
<line num="444" type="stmt" count="1"/>
|
7364 |
<line num="445" type="stmt" count="0"/>
|
7365 |
+
<line num="447" type="stmt" count="1"/>
|
7366 |
+
<line num="449" type="stmt" count="1"/>
|
7367 |
<line num="472" type="method" name="bump_upload_limit" visibility="public" complexity="4" crap="20" count="0"/>
|
7368 |
<line num="474" type="stmt" count="0"/>
|
7369 |
<line num="475" type="stmt" count="0"/>
|
7374 |
<line num="491" type="stmt" count="0"/>
|
7375 |
<line num="494" type="stmt" count="0"/>
|
7376 |
<line num="496" type="stmt" count="0"/>
|
7377 |
+
<line num="513" type="method" name="is_active" visibility="public" complexity="1" crap="2" count="0"/>
|
7378 |
+
<line num="514" type="stmt" count="0"/>
|
7379 |
+
<line num="516" type="stmt" count="0"/>
|
7380 |
<line num="529" type="method" name="is_admin_page" visibility="public" complexity="3" crap="3" count="1"/>
|
7381 |
<line num="530" type="stmt" count="1"/>
|
7382 |
<line num="532" type="stmt" count="1"/>
|
7510 |
<line num="876" type="stmt" count="0"/>
|
7511 |
<line num="877" type="stmt" count="0"/>
|
7512 |
<line num="880" type="stmt" count="0"/>
|
7513 |
+
<line num="896" type="method" name="trailingslashit" visibility="public" complexity="3" crap="3.71" count="6"/>
|
7514 |
+
<line num="898" type="stmt" count="6"/>
|
7515 |
+
<line num="899" type="stmt" count="6"/>
|
7516 |
+
<line num="900" type="stmt" count="6"/>
|
7517 |
<line num="901" type="stmt" count="0"/>
|
7518 |
<line num="902" type="stmt" count="0"/>
|
7519 |
<line num="903" type="stmt" count="0"/>
|
7520 |
+
<line num="906" type="stmt" count="6"/>
|
7521 |
+
<metrics loc="908" ncloc="418" classes="1" methods="21" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="299" coveredstatements="41" elements="320" coveredelements="42"/>
|
7522 |
</file>
|
7523 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-wp-cron.php">
|
7524 |
<class name="Boldgrid_Backup_Admin_WP_Cron" namespace="global" fullPackage="Boldgrid.Backup.Admin.WP">
|
7525 |
<metrics complexity="32" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="94" coveredstatements="12" elements="105" coveredelements="13"/>
|
7526 |
</class>
|
7527 |
+
<line num="73" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
7528 |
+
<line num="74" type="stmt" count="20"/>
|
7529 |
+
<line num="76" type="stmt" count="20"/>
|
7530 |
+
<line num="78" type="stmt" count="20"/>
|
7531 |
+
<line num="79" type="stmt" count="20"/>
|
7532 |
+
<line num="80" type="stmt" count="20"/>
|
7533 |
+
<line num="82" type="stmt" count="20"/>
|
7534 |
+
<line num="83" type="stmt" count="20"/>
|
7535 |
+
<line num="84" type="stmt" count="20"/>
|
7536 |
+
<line num="92" type="stmt" count="20"/>
|
7537 |
+
<line num="93" type="stmt" count="20"/>
|
7538 |
+
<line num="94" type="stmt" count="20"/>
|
7539 |
+
<line num="96" type="stmt" count="20"/>
|
7540 |
<line num="113" type="method" name="add_all_crons" visibility="public" complexity="7" crap="56" count="0"/>
|
7541 |
<line num="114" type="stmt" count="0"/>
|
7542 |
<line num="115" type="stmt" count="0"/>
|
7759 |
<class name="Boldgrid_Backup_Admin_Xhprof" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7760 |
<metrics complexity="14" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="8" elements="44" coveredelements="8"/>
|
7761 |
</class>
|
7762 |
+
<line num="37" type="method" name="__construct" visibility="public" complexity="2" crap="3.03" count="20"/>
|
7763 |
+
<line num="39" type="stmt" count="20"/>
|
7764 |
+
<line num="42" type="stmt" count="20"/>
|
7765 |
+
<line num="46" type="stmt" count="20"/>
|
7766 |
<line num="47" type="stmt" count="0"/>
|
7767 |
<line num="48" type="stmt" count="0"/>
|
7768 |
<line num="50" type="stmt" count="0"/>
|
7770 |
<line num="52" type="stmt" count="0"/>
|
7771 |
<line num="53" type="stmt" count="0"/>
|
7772 |
<line num="54" type="stmt" count="0"/>
|
7773 |
+
<line num="55" type="stmt" count="20"/>
|
7774 |
+
<line num="64" type="method" name="xhprof_enable" visibility="private" complexity="5" crap="6.97" count="20"/>
|
7775 |
+
<line num="66" type="stmt" count="20"/>
|
7776 |
<line num="67" type="stmt" count="0"/>
|
7777 |
+
<line num="71" type="stmt" count="20"/>
|
7778 |
+
<line num="74" type="stmt" count="20"/>
|
7779 |
<line num="75" type="stmt" count="0"/>
|
7780 |
<line num="77" type="stmt" count="0"/>
|
7781 |
+
<line num="81" type="stmt" count="20"/>
|
7782 |
<line num="91" type="method" name="xhprof_disable" visibility="public" complexity="7" crap="56" count="0"/>
|
7783 |
<line num="93" type="stmt" count="0"/>
|
7784 |
<line num="94" type="stmt" count="0"/>
|
7807 |
</file>
|
7808 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin.php">
|
7809 |
<class name="Boldgrid_Backup_Admin" namespace="global" fullPackage="Boldgrid.Backup">
|
7810 |
+
<metrics complexity="12" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="18" elements="87" coveredelements="18"/>
|
7811 |
</class>
|
7812 |
<line num="73" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
7813 |
<line num="74" type="stmt" count="0"/>
|
7819 |
<line num="84" type="stmt" count="0"/>
|
7820 |
<line num="86" type="stmt" count="0"/>
|
7821 |
<line num="87" type="stmt" count="0"/>
|
7822 |
+
<line num="94" type="method" name="enqueue_styles" visibility="public" complexity="4" crap="20" count="0"/>
|
7823 |
<line num="95" type="stmt" count="0"/>
|
7824 |
+
<line num="106" type="stmt" count="0"/>
|
7825 |
+
<line num="107" type="stmt" count="0"/>
|
7826 |
+
<line num="108" type="stmt" count="0"/>
|
7827 |
+
<line num="109" type="stmt" count="0"/>
|
|
|
7828 |
<line num="112" type="stmt" count="0"/>
|
7829 |
<line num="113" type="stmt" count="0"/>
|
7830 |
+
<line num="114" type="stmt" count="0"/>
|
7831 |
+
<line num="115" type="stmt" count="0"/>
|
7832 |
<line num="116" type="stmt" count="0"/>
|
|
|
7833 |
<line num="118" type="stmt" count="0"/>
|
|
|
7834 |
<line num="120" type="stmt" count="0"/>
|
7835 |
+
<line num="121" type="stmt" count="0"/>
|
7836 |
+
<line num="123" type="stmt" count="0"/>
|
7837 |
<line num="124" type="stmt" count="0"/>
|
7838 |
<line num="125" type="stmt" count="0"/>
|
7839 |
+
<line num="126" type="stmt" count="0"/>
|
7840 |
<line num="127" type="stmt" count="0"/>
|
7841 |
<line num="128" type="stmt" count="0"/>
|
|
|
7842 |
<line num="130" type="stmt" count="0"/>
|
|
|
7843 |
<line num="132" type="stmt" count="0"/>
|
7844 |
+
<line num="135" type="stmt" count="0"/>
|
7845 |
<line num="136" type="stmt" count="0"/>
|
7846 |
+
<line num="137" type="stmt" count="0"/>
|
7847 |
+
<line num="138" type="stmt" count="0"/>
|
7848 |
<line num="139" type="stmt" count="0"/>
|
7849 |
<line num="140" type="stmt" count="0"/>
|
|
|
7850 |
<line num="142" type="stmt" count="0"/>
|
|
|
7851 |
<line num="144" type="stmt" count="0"/>
|
7852 |
+
<line num="145" type="stmt" count="0"/>
|
7853 |
<line num="146" type="stmt" count="0"/>
|
7854 |
+
<line num="147" type="stmt" count="0"/>
|
7855 |
<line num="148" type="stmt" count="0"/>
|
7856 |
<line num="149" type="stmt" count="0"/>
|
7857 |
<line num="150" type="stmt" count="0"/>
|
7860 |
<line num="153" type="stmt" count="0"/>
|
7861 |
<line num="154" type="stmt" count="0"/>
|
7862 |
<line num="155" type="stmt" count="0"/>
|
|
|
|
|
7863 |
<line num="158" type="stmt" count="0"/>
|
7864 |
+
<line num="161" type="stmt" count="0"/>
|
7865 |
+
<line num="164" type="stmt" count="0"/>
|
7866 |
<line num="165" type="stmt" count="0"/>
|
7867 |
<line num="168" type="stmt" count="0"/>
|
7868 |
<line num="169" type="stmt" count="0"/>
|
7869 |
+
<line num="170" type="stmt" count="0"/>
|
7870 |
+
<line num="171" type="stmt" count="0"/>
|
7871 |
<line num="173" type="stmt" count="0"/>
|
7872 |
<line num="174" type="stmt" count="0"/>
|
7873 |
<line num="175" type="stmt" count="0"/>
|
7874 |
+
<line num="186" type="method" name="get_configs" visibility="public" complexity="6" crap="6.56" count="20"/>
|
7875 |
+
<line num="188" type="stmt" count="20"/>
|
7876 |
+
<line num="189" type="stmt" count="20"/>
|
7877 |
+
<line num="193" type="stmt" count="1"/>
|
7878 |
+
<line num="196" type="stmt" count="1"/>
|
|
|
7879 |
<line num="197" type="stmt" count="1"/>
|
7880 |
<line num="200" type="stmt" count="1"/>
|
7881 |
+
<line num="203" type="stmt" count="1"/>
|
7882 |
<line num="204" type="stmt" count="1"/>
|
7883 |
+
<line num="205" type="stmt" count="1"/>
|
7884 |
<line num="208" type="stmt" count="1"/>
|
7885 |
+
<line num="211" type="stmt" count="1"/>
|
7886 |
+
<line num="212" type="stmt" count="0"/>
|
7887 |
+
<line num="213" type="stmt" count="0"/>
|
7888 |
+
<line num="216" type="stmt" count="1"/>
|
7889 |
+
<line num="218" type="stmt" count="1"/>
|
7890 |
+
<line num="219" type="stmt" count="0"/>
|
7891 |
+
<line num="220" type="stmt" count="0"/>
|
7892 |
+
<line num="223" type="stmt" count="1"/>
|
7893 |
+
<line num="226" type="stmt" count="1"/>
|
7894 |
+
<line num="227" type="stmt" count="0"/>
|
7895 |
+
<line num="228" type="stmt" count="0"/>
|
7896 |
+
<line num="229" type="stmt" count="1"/>
|
|
|
7897 |
<line num="233" type="stmt" count="1"/>
|
7898 |
+
<line num="236" type="stmt" count="1"/>
|
7899 |
+
<metrics loc="238" ncloc="112" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="18" elements="87" coveredelements="18"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7900 |
</file>
|
7901 |
<package name="Boldgrid\Backup\Admin">
|
7902 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-cron.php">
|
7949 |
</package>
|
7950 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-pcl-zip.php">
|
7951 |
<class name="Boldgrid_Backup_Admin_Compressor_Pcl_Zip" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.Pcl">
|
7952 |
+
<metrics complexity="57" methods="9" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="120" elements="206" coveredelements="122"/>
|
7953 |
</class>
|
7954 |
+
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="7"/>
|
7955 |
+
<line num="67" type="stmt" count="7"/>
|
7956 |
<line num="68" type="stmt" count="1"/>
|
7957 |
<line num="69" type="stmt" count="1"/>
|
7958 |
+
<line num="71" type="stmt" count="7"/>
|
7959 |
+
<line num="72" type="stmt" count="7"/>
|
7960 |
<line num="96" type="method" name="browse_add_dirs" visibility="public" complexity="9" crap="9" count="1"/>
|
7961 |
<line num="97" type="stmt" count="1"/>
|
7962 |
<line num="100" type="stmt" count="1"/>
|
8042 |
<line num="311" type="stmt" count="1"/>
|
8043 |
<line num="313" type="stmt" count="1"/>
|
8044 |
<line num="315" type="stmt" count="1"/>
|
8045 |
+
<line num="327" type="method" name="extract_one" visibility="public" complexity="4" crap="20" count="0"/>
|
8046 |
+
<line num="328" type="stmt" count="0"/>
|
8047 |
+
<line num="329" type="stmt" count="0"/>
|
8048 |
+
<line num="330" type="stmt" count="0"/>
|
8049 |
<line num="333" type="stmt" count="0"/>
|
8050 |
<line num="334" type="stmt" count="0"/>
|
8051 |
<line num="335" type="stmt" count="0"/>
|
8157 |
<line num="579" type="stmt" count="1"/>
|
8158 |
<line num="581" type="stmt" count="1"/>
|
8159 |
<line num="583" type="stmt" count="1"/>
|
8160 |
+
<metrics loc="585" ncloc="330" classes="1" methods="9" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="120" elements="206" coveredelements="122"/>
|
8161 |
</file>
|
8162 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-php-zip.php">
|
8163 |
<class name="Boldgrid_Backup_Admin_Compressor_Php_Zip" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.Php">
|
8261 |
<line num="275" type="stmt" count="0"/>
|
8262 |
<line num="276" type="stmt" count="0"/>
|
8263 |
<line num="279" type="stmt" count="1"/>
|
8264 |
+
<line num="287" type="method" name="is_extension_available" visibility="public" complexity="2" crap="2" count="21"/>
|
8265 |
+
<line num="288" type="stmt" count="21"/>
|
8266 |
<line num="298" type="method" name="test" visibility="public" complexity="4" crap="20" count="0"/>
|
8267 |
<line num="299" type="stmt" count="0"/>
|
8268 |
<line num="300" type="stmt" count="0"/>
|
8421 |
</file>
|
8422 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/compressor/class-boldgrid-backup-admin-compressor-system-zip.php">
|
8423 |
<class name="Boldgrid_Backup_Admin_Compressor_System_Zip" namespace="global" fullPackage="Boldgrid.Backup.Admin.Compressor.System">
|
8424 |
+
<metrics complexity="9" methods="5" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="55" coveredstatements="54" elements="60" coveredelements="58"/>
|
8425 |
</class>
|
8426 |
+
<line num="80" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="4"/>
|
8427 |
+
<line num="81" type="stmt" count="4"/>
|
8428 |
+
<line num="82" type="stmt" count="4"/>
|
8429 |
+
<line num="84" type="stmt" count="4"/>
|
8430 |
+
<line num="85" type="stmt" count="4"/>
|
8431 |
+
<line num="113" type="method" name="archive_files" visibility="public" complexity="2" crap="2.00" count="1"/>
|
8432 |
+
<line num="114" type="stmt" count="1"/>
|
8433 |
+
<line num="115" type="stmt" count="0"/>
|
8434 |
+
<line num="119" type="stmt" count="1"/>
|
8435 |
+
<line num="120" type="stmt" count="1"/>
|
8436 |
+
<line num="122" type="stmt" count="1"/>
|
8437 |
+
<line num="124" type="stmt" count="1"/>
|
8438 |
+
<line num="126" type="stmt" count="1"/>
|
8439 |
+
<line num="128" type="stmt" count="1"/>
|
8440 |
<line num="130" type="stmt" count="1"/>
|
8441 |
+
<line num="132" type="stmt" count="1"/>
|
8442 |
+
<line num="134" type="stmt" count="1"/>
|
8443 |
+
<line num="137" type="stmt" count="1"/>
|
8444 |
+
<line num="139" type="stmt" count="1"/>
|
8445 |
+
<line num="147" type="method" name="filelist_create" visibility="private" complexity="4" crap="4" count="1"/>
|
|
|
|
|
|
|
8446 |
<line num="148" type="stmt" count="1"/>
|
8447 |
+
<line num="149" type="stmt" count="1"/>
|
8448 |
+
<line num="151" type="stmt" count="1"/>
|
8449 |
<line num="153" type="stmt" count="1"/>
|
8450 |
<line num="155" type="stmt" count="1"/>
|
8451 |
+
<line num="158" type="stmt" count="1"/>
|
8452 |
+
<line num="159" type="stmt" count="1"/>
|
8453 |
+
<line num="160" type="stmt" count="1"/>
|
8454 |
+
<line num="162" type="stmt" count="1"/>
|
8455 |
+
<line num="163" type="stmt" count="1"/>
|
8456 |
+
<line num="166" type="stmt" count="1"/>
|
8457 |
<line num="167" type="stmt" count="1"/>
|
8458 |
+
<line num="168" type="stmt" count="1"/>
|
8459 |
+
<line num="177" type="stmt" count="1"/>
|
|
|
|
|
|
|
8460 |
<line num="178" type="stmt" count="1"/>
|
8461 |
<line num="179" type="stmt" count="1"/>
|
8462 |
+
<line num="181" type="stmt" count="1"/>
|
8463 |
<line num="182" type="stmt" count="1"/>
|
8464 |
<line num="183" type="stmt" count="1"/>
|
8465 |
<line num="184" type="stmt" count="1"/>
|
8466 |
+
<line num="186" type="stmt" count="1"/>
|
8467 |
+
<line num="187" type="stmt" count="1"/>
|
8468 |
+
<line num="188" type="stmt" count="1"/>
|
8469 |
+
<line num="195" type="method" name="zip" visibility="private" complexity="1" crap="1" count="1"/>
|
8470 |
+
<line num="196" type="stmt" count="1"/>
|
8471 |
<line num="197" type="stmt" count="1"/>
|
|
|
8472 |
<line num="199" type="stmt" count="1"/>
|
8473 |
+
<line num="201" type="stmt" count="1"/>
|
|
|
8474 |
<line num="203" type="stmt" count="1"/>
|
8475 |
+
<line num="205" type="stmt" count="1"/>
|
8476 |
+
<line num="206" type="stmt" count="1"/>
|
8477 |
+
<line num="207" type="stmt" count="1"/>
|
8478 |
+
<line num="216" type="method" name="zip_sql" visibility="private" complexity="1" crap="1" count="1"/>
|
|
|
8479 |
<line num="217" type="stmt" count="1"/>
|
8480 |
+
<line num="218" type="stmt" count="1"/>
|
8481 |
+
<line num="220" type="stmt" count="1"/>
|
8482 |
<line num="222" type="stmt" count="1"/>
|
8483 |
+
<line num="224" type="stmt" count="1"/>
|
8484 |
+
<line num="225" type="stmt" count="1"/>
|
8485 |
+
<line num="226" type="stmt" count="1"/>
|
8486 |
+
<metrics loc="227" ncloc="101" classes="1" methods="5" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="55" coveredstatements="54" elements="60" coveredelements="58"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8487 |
</file>
|
8488 |
<package name="Boldgrid\Backup\Admin\Cron">
|
8489 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/cron/class-crontab.php">
|
8937 |
<line num="40" type="stmt" count="0"/>
|
8938 |
<line num="41" type="stmt" count="0"/>
|
8939 |
<line num="43" type="stmt" count="0"/>
|
8940 |
+
<line num="45" type="stmt" count="0"/>
|
8941 |
<line num="46" type="stmt" count="0"/>
|
8942 |
+
<line num="47" type="stmt" count="0"/>
|
8943 |
<line num="48" type="stmt" count="0"/>
|
8944 |
<line num="49" type="stmt" count="0"/>
|
8945 |
<line num="50" type="stmt" count="0"/>
|
8952 |
<line num="57" type="stmt" count="0"/>
|
8953 |
<line num="58" type="stmt" count="0"/>
|
8954 |
<line num="59" type="stmt" count="0"/>
|
8955 |
+
<line num="63" type="stmt" count="0"/>
|
8956 |
+
<line num="65" type="stmt" count="0"/>
|
8957 |
+
<line num="67" type="stmt" count="0"/>
|
|
|
8958 |
<line num="68" type="stmt" count="0"/>
|
8959 |
<line num="70" type="stmt" count="0"/>
|
8960 |
+
<line num="72" type="stmt" count="0"/>
|
8961 |
<line num="73" type="stmt" count="0"/>
|
8962 |
+
<line num="74" type="stmt" count="0"/>
|
8963 |
<line num="75" type="stmt" count="0"/>
|
8964 |
<line num="76" type="stmt" count="0"/>
|
8965 |
<line num="77" type="stmt" count="0"/>
|
|
|
8966 |
<line num="79" type="stmt" count="0"/>
|
8967 |
+
<line num="81" type="stmt" count="0"/>
|
8968 |
+
<line num="83" type="stmt" count="0"/>
|
8969 |
+
<line num="87" type="stmt" count="0"/>
|
8970 |
+
<line num="88" type="stmt" count="0"/>
|
8971 |
+
<line num="89" type="stmt" count="0"/>
|
8972 |
<line num="91" type="stmt" count="0"/>
|
|
|
8973 |
<line num="93" type="stmt" count="0"/>
|
8974 |
<line num="95" type="stmt" count="0"/>
|
8975 |
<line num="97" type="stmt" count="0"/>
|
8976 |
+
<line num="98" type="stmt" count="0"/>
|
8977 |
<line num="99" type="stmt" count="0"/>
|
8978 |
+
<line num="100" type="stmt" count="0"/>
|
8979 |
<line num="102" type="stmt" count="0"/>
|
|
|
8980 |
<line num="104" type="stmt" count="0"/>
|
8981 |
<line num="106" type="stmt" count="0"/>
|
8982 |
<line num="108" type="stmt" count="0"/>
|
8983 |
+
<line num="109" type="stmt" count="0"/>
|
8984 |
+
<line num="111" type="stmt" count="0"/>
|
8985 |
+
<line num="113" type="stmt" count="0"/>
|
8986 |
<line num="114" type="stmt" count="0"/>
|
8987 |
<line num="116" type="stmt" count="0"/>
|
8988 |
<line num="118" type="stmt" count="0"/>
|
|
|
8989 |
<line num="120" type="stmt" count="0"/>
|
8990 |
+
<metrics loc="120" ncloc="100" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="70" coveredstatements="0" elements="70" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
8991 |
</file>
|
8992 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/archives/note-pre-backup.php">
|
8993 |
<line num="17" type="stmt" count="0"/>
|
9373 |
<line num="384" type="stmt" count="0"/>
|
9374 |
<line num="385" type="stmt" count="0"/>
|
9375 |
<line num="386" type="stmt" count="0"/>
|
|
|
9376 |
<line num="388" type="stmt" count="0"/>
|
9377 |
<line num="389" type="stmt" count="0"/>
|
9378 |
<line num="390" type="stmt" count="0"/>
|
9380 |
<line num="392" type="stmt" count="0"/>
|
9381 |
<line num="393" type="stmt" count="0"/>
|
9382 |
<line num="394" type="stmt" count="0"/>
|
9383 |
+
<line num="395" type="stmt" count="0"/>
|
9384 |
<line num="396" type="stmt" count="0"/>
|
9385 |
<line num="397" type="stmt" count="0"/>
|
9386 |
<line num="398" type="stmt" count="0"/>
|
9387 |
<line num="399" type="stmt" count="0"/>
|
9388 |
<line num="400" type="stmt" count="0"/>
|
|
|
9389 |
<line num="402" type="stmt" count="0"/>
|
|
|
9390 |
<line num="404" type="stmt" count="0"/>
|
9391 |
+
<line num="405" type="stmt" count="0"/>
|
9392 |
<line num="406" type="stmt" count="0"/>
|
9393 |
+
<line num="407" type="stmt" count="0"/>
|
9394 |
<line num="408" type="stmt" count="0"/>
|
9395 |
<line num="409" type="stmt" count="0"/>
|
9396 |
<line num="410" type="stmt" count="0"/>
|
9401 |
<line num="415" type="stmt" count="0"/>
|
9402 |
<line num="416" type="stmt" count="0"/>
|
9403 |
<line num="417" type="stmt" count="0"/>
|
|
|
9404 |
<line num="419" type="stmt" count="0"/>
|
9405 |
+
<metrics loc="419" ncloc="351" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="358" coveredstatements="0" elements="358" coveredelements="0"/>
|
|
|
|
|
|
|
9406 |
</file>
|
9407 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-backup-button.php">
|
9408 |
<line num="19" type="stmt" count="0"/>
|
9409 |
<line num="21" type="stmt" count="0"/>
|
|
|
9410 |
<line num="23" type="stmt" count="0"/>
|
9411 |
<line num="24" type="stmt" count="0"/>
|
9412 |
<line num="25" type="stmt" count="0"/>
|
9413 |
+
<line num="26" type="stmt" count="0"/>
|
9414 |
+
<line num="38" type="stmt" count="0"/>
|
9415 |
<line num="40" type="stmt" count="0"/>
|
9416 |
<line num="41" type="stmt" count="0"/>
|
9417 |
<line num="42" type="stmt" count="0"/>
|
9437 |
<line num="62" type="stmt" count="0"/>
|
9438 |
<line num="63" type="stmt" count="0"/>
|
9439 |
<line num="64" type="stmt" count="0"/>
|
9440 |
+
<line num="65" type="stmt" count="0"/>
|
9441 |
<line num="67" type="stmt" count="0"/>
|
9442 |
<line num="68" type="stmt" count="0"/>
|
9443 |
<line num="69" type="stmt" count="0"/>
|
9444 |
+
<line num="70" type="stmt" count="0"/>
|
9445 |
+
<line num="72" type="stmt" count="0"/>
|
9446 |
+
<metrics loc="72" ncloc="44" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="38" coveredstatements="0" elements="38" coveredelements="0"/>
|
9447 |
</file>
|
9448 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-backup-modal.php">
|
9449 |
<line num="17" type="stmt" count="0"/>
|
9562 |
<line num="19" type="stmt" count="0"/>
|
9563 |
<line num="21" type="stmt" count="0"/>
|
9564 |
<line num="23" type="stmt" count="0"/>
|
9565 |
+
<line num="26" type="stmt" count="0"/>
|
9566 |
+
<line num="30" type="stmt" count="0"/>
|
9567 |
+
<line num="32" type="stmt" count="0"/>
|
9568 |
+
<line num="34" type="stmt" count="0"/>
|
9569 |
+
<metrics loc="34" ncloc="18" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
9570 |
</file>
|
9571 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-home.php">
|
9572 |
<line num="17" type="stmt" count="0"/>
|
9584 |
<line num="52" type="stmt" count="0"/>
|
9585 |
<line num="53" type="stmt" count="0"/>
|
9586 |
<line num="54" type="stmt" count="0"/>
|
|
|
9587 |
<line num="57" type="stmt" count="0"/>
|
|
|
|
|
|
|
9588 |
<line num="61" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
9589 |
<line num="67" type="stmt" count="0"/>
|
|
|
|
|
9590 |
<line num="70" type="stmt" count="0"/>
|
|
|
9591 |
<line num="72" type="stmt" count="0"/>
|
9592 |
+
<line num="74" type="stmt" count="0"/>
|
9593 |
+
<line num="76" type="stmt" count="0"/>
|
9594 |
+
<line num="84" type="stmt" count="0"/>
|
9595 |
+
<line num="85" type="stmt" count="0"/>
|
9596 |
+
<line num="86" type="stmt" count="0"/>
|
|
|
9597 |
<line num="89" type="stmt" count="0"/>
|
9598 |
+
<metrics loc="89" ncloc="40" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="26" coveredstatements="0" elements="26" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
9599 |
</file>
|
9600 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-mail-restore.php">
|
9601 |
<line num="17" type="stmt" count="1"/>
|
9642 |
<metrics loc="93" ncloc="58" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="32" elements="41" coveredelements="32"/>
|
9643 |
</file>
|
9644 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-nav.php">
|
9645 |
+
<line num="19" type="stmt" count="5"/>
|
9646 |
+
<line num="21" type="stmt" count="5"/>
|
9647 |
+
<line num="23" type="stmt" count="5"/>
|
9648 |
+
<line num="28" type="stmt" count="5"/>
|
9649 |
+
<line num="29" type="stmt" count="5"/>
|
9650 |
+
<line num="30" type="stmt" count="5"/>
|
9651 |
+
<line num="31" type="stmt" count="5"/>
|
9652 |
+
<line num="33" type="stmt" count="5"/>
|
9653 |
+
<line num="34" type="stmt" count="5"/>
|
9654 |
+
<line num="35" type="stmt" count="5"/>
|
9655 |
+
<line num="36" type="stmt" count="5"/>
|
9656 |
+
<line num="38" type="stmt" count="5"/>
|
9657 |
+
<line num="39" type="stmt" count="5"/>
|
9658 |
+
<line num="40" type="stmt" count="5"/>
|
9659 |
+
<line num="41" type="stmt" count="5"/>
|
9660 |
+
<line num="43" type="stmt" count="5"/>
|
9661 |
+
<line num="44" type="stmt" count="5"/>
|
9662 |
+
<line num="45" type="stmt" count="5"/>
|
9663 |
+
<line num="46" type="stmt" count="5"/>
|
9664 |
+
<line num="48" type="stmt" count="5"/>
|
9665 |
+
<line num="49" type="stmt" count="5"/>
|
9666 |
+
<line num="50" type="stmt" count="5"/>
|
9667 |
+
<line num="51" type="stmt" count="5"/>
|
9668 |
+
<line num="53" type="stmt" count="5"/>
|
9669 |
+
<line num="54" type="stmt" count="5"/>
|
9670 |
+
<line num="55" type="stmt" count="5"/>
|
9671 |
+
<line num="56" type="stmt" count="5"/>
|
9672 |
+
<line num="58" type="stmt" count="5"/>
|
9673 |
+
<line num="59" type="stmt" count="5"/>
|
9674 |
+
<line num="60" type="stmt" count="5"/>
|
9675 |
+
<line num="61" type="stmt" count="5"/>
|
9676 |
+
<line num="63" type="stmt" count="5"/>
|
9677 |
+
<line num="64" type="stmt" count="5"/>
|
9678 |
+
<line num="65" type="stmt" count="5"/>
|
9679 |
+
<line num="66" type="stmt" count="5"/>
|
9680 |
+
<line num="67" type="stmt" count="5"/>
|
9681 |
+
<line num="68" type="stmt" count="5"/>
|
9682 |
+
<line num="78" type="stmt" count="5"/>
|
9683 |
+
<line num="80" type="stmt" count="5"/>
|
9684 |
+
<line num="81" type="stmt" count="5"/>
|
9685 |
+
<line num="82" type="stmt" count="5"/>
|
9686 |
+
<line num="83" type="stmt" count="5"/>
|
9687 |
+
<line num="84" type="stmt" count="5"/>
|
9688 |
+
<line num="85" type="stmt" count="5"/>
|
9689 |
+
<line num="86" type="stmt" count="5"/>
|
9690 |
+
<line num="87" type="stmt" count="5"/>
|
9691 |
+
<line num="88" type="stmt" count="5"/>
|
9692 |
+
<line num="89" type="stmt" count="5"/>
|
9693 |
+
<line num="90" type="stmt" count="5"/>
|
9694 |
+
<line num="91" type="stmt" count="5"/>
|
9695 |
+
<line num="92" type="stmt" count="5"/>
|
9696 |
+
<line num="93" type="stmt" count="5"/>
|
9697 |
+
<line num="94" type="stmt" count="5"/>
|
9698 |
+
<line num="95" type="stmt" count="5"/>
|
9699 |
+
<line num="96" type="stmt" count="5"/>
|
9700 |
+
<line num="98" type="stmt" count="5"/>
|
9701 |
+
<metrics loc="98" ncloc="69" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="56" coveredstatements="56" elements="56" coveredelements="56"/>
|
9702 |
+
</file>
|
9703 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-premium.php">
|
9704 |
+
<line num="17" type="stmt" count="1"/>
|
9705 |
<line num="19" type="stmt" count="1"/>
|
9706 |
<line num="21" type="stmt" count="1"/>
|
9707 |
<line num="23" type="stmt" count="1"/>
|
9708 |
+
<line num="25" type="stmt" count="1"/>
|
9709 |
+
<line num="27" type="stmt" count="1"/>
|
9710 |
+
<line num="37" type="stmt" count="1"/>
|
|
|
|
|
|
|
|
|
|
|
9711 |
<line num="38" type="stmt" count="1"/>
|
9712 |
<line num="39" type="stmt" count="1"/>
|
9713 |
<line num="40" type="stmt" count="1"/>
|
9714 |
+
<line num="42" type="stmt" count="1"/>
|
9715 |
<line num="43" type="stmt" count="1"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
9716 |
<line num="51" type="stmt" count="1"/>
|
9717 |
<line num="53" type="stmt" count="1"/>
|
|
|
9718 |
<line num="55" type="stmt" count="1"/>
|
9719 |
+
<metrics loc="57" ncloc="36" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="15" coveredstatements="15" elements="15" coveredelements="15"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9720 |
</file>
|
9721 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-settings.php">
|
9722 |
<line num="17" type="stmt" count="0"/>
|
9734 |
<line num="30" type="stmt" count="0"/>
|
9735 |
<line num="31" type="stmt" count="0"/>
|
9736 |
<line num="32" type="stmt" count="0"/>
|
9737 |
+
<line num="33" type="stmt" count="0"/>
|
9738 |
<line num="35" type="stmt" count="0"/>
|
9739 |
<line num="36" type="stmt" count="0"/>
|
9740 |
<line num="37" type="stmt" count="0"/>
|
9741 |
<line num="38" type="stmt" count="0"/>
|
9742 |
+
<line num="39" type="stmt" count="0"/>
|
9743 |
<line num="41" type="stmt" count="0"/>
|
9744 |
<line num="42" type="stmt" count="0"/>
|
9745 |
<line num="43" type="stmt" count="0"/>
|
9792 |
<line num="90" type="stmt" count="0"/>
|
9793 |
<line num="91" type="stmt" count="0"/>
|
9794 |
<line num="92" type="stmt" count="0"/>
|
9795 |
+
<line num="93" type="stmt" count="0"/>
|
9796 |
+
<line num="102" type="stmt" count="0"/>
|
9797 |
<line num="113" type="stmt" count="0"/>
|
9798 |
<line num="114" type="stmt" count="0"/>
|
9799 |
<line num="115" type="stmt" count="0"/>
|
9800 |
+
<line num="116" type="stmt" count="0"/>
|
9801 |
<line num="119" type="stmt" count="0"/>
|
9802 |
<line num="120" type="stmt" count="0"/>
|
9803 |
<line num="121" type="stmt" count="0"/>
|
9806 |
<line num="124" type="stmt" count="0"/>
|
9807 |
<line num="125" type="stmt" count="0"/>
|
9808 |
<line num="126" type="stmt" count="0"/>
|
9809 |
+
<line num="127" type="stmt" count="0"/>
|
9810 |
+
<line num="129" type="stmt" count="0"/>
|
9811 |
<line num="132" type="stmt" count="0"/>
|
9812 |
+
<line num="136" type="stmt" count="0"/>
|
|
|
9813 |
<line num="146" type="stmt" count="0"/>
|
9814 |
<line num="148" type="stmt" count="0"/>
|
9815 |
<line num="149" type="stmt" count="0"/>
|
|
|
9816 |
<line num="151" type="stmt" count="0"/>
|
9817 |
<line num="152" type="stmt" count="0"/>
|
9818 |
<line num="153" type="stmt" count="0"/>
|
9819 |
<line num="154" type="stmt" count="0"/>
|
9820 |
<line num="155" type="stmt" count="0"/>
|
9821 |
<line num="156" type="stmt" count="0"/>
|
9822 |
+
<line num="157" type="stmt" count="0"/>
|
9823 |
<line num="158" type="stmt" count="0"/>
|
9824 |
+
<line num="159" type="stmt" count="0"/>
|
9825 |
+
<line num="161" type="stmt" count="0"/>
|
9826 |
+
<line num="163" type="stmt" count="0"/>
|
9827 |
+
<line num="165" type="stmt" count="0"/>
|
9828 |
<line num="167" type="stmt" count="0"/>
|
9829 |
+
<line num="169" type="stmt" count="0"/>
|
9830 |
<line num="170" type="stmt" count="0"/>
|
9831 |
+
<line num="173" type="stmt" count="0"/>
|
9832 |
+
<line num="175" type="stmt" count="0"/>
|
9833 |
+
<metrics loc="175" ncloc="128" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="111" coveredstatements="0" elements="111" coveredelements="0"/>
|
9834 |
</file>
|
9835 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-support.php">
|
9836 |
<line num="17" type="stmt" count="0"/>
|
9900 |
<line num="93" type="stmt" count="0"/>
|
9901 |
<line num="94" type="stmt" count="0"/>
|
9902 |
<line num="95" type="stmt" count="0"/>
|
|
|
9903 |
<line num="99" type="stmt" count="0"/>
|
9904 |
+
<line num="103" type="stmt" count="0"/>
|
9905 |
<line num="105" type="stmt" count="0"/>
|
|
|
9906 |
<line num="107" type="stmt" count="0"/>
|
9907 |
<line num="108" type="stmt" count="0"/>
|
9908 |
<line num="109" type="stmt" count="0"/>
|
9917 |
<line num="118" type="stmt" count="0"/>
|
9918 |
<line num="119" type="stmt" count="0"/>
|
9919 |
<line num="120" type="stmt" count="0"/>
|
9920 |
+
<line num="121" type="stmt" count="0"/>
|
9921 |
<line num="122" type="stmt" count="0"/>
|
|
|
9922 |
<line num="124" type="stmt" count="0"/>
|
9923 |
<line num="125" type="stmt" count="0"/>
|
9924 |
<line num="126" type="stmt" count="0"/>
|
9925 |
<line num="127" type="stmt" count="0"/>
|
9926 |
<line num="128" type="stmt" count="0"/>
|
9927 |
+
<line num="129" type="stmt" count="0"/>
|
9928 |
<line num="130" type="stmt" count="0"/>
|
|
|
9929 |
<line num="132" type="stmt" count="0"/>
|
9930 |
<line num="133" type="stmt" count="0"/>
|
9931 |
<line num="134" type="stmt" count="0"/>
|
9932 |
<line num="135" type="stmt" count="0"/>
|
9933 |
<line num="136" type="stmt" count="0"/>
|
9934 |
+
<line num="137" type="stmt" count="0"/>
|
9935 |
<line num="138" type="stmt" count="0"/>
|
|
|
9936 |
<line num="140" type="stmt" count="0"/>
|
9937 |
<line num="141" type="stmt" count="0"/>
|
9938 |
<line num="142" type="stmt" count="0"/>
|
9939 |
<line num="143" type="stmt" count="0"/>
|
9940 |
+
<line num="144" type="stmt" count="0"/>
|
9941 |
<line num="145" type="stmt" count="0"/>
|
|
|
9942 |
<line num="147" type="stmt" count="0"/>
|
9943 |
<line num="148" type="stmt" count="0"/>
|
9944 |
<line num="149" type="stmt" count="0"/>
|
9949 |
<line num="154" type="stmt" count="0"/>
|
9950 |
<line num="155" type="stmt" count="0"/>
|
9951 |
<line num="156" type="stmt" count="0"/>
|
9952 |
+
<line num="157" type="stmt" count="0"/>
|
9953 |
+
<line num="158" type="stmt" count="0"/>
|
9954 |
+
<line num="160" type="stmt" count="0"/>
|
9955 |
+
<line num="162" type="stmt" count="0"/>
|
9956 |
+
<line num="164" type="stmt" count="0"/>
|
9957 |
+
<metrics loc="164" ncloc="135" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="121" coveredstatements="0" elements="121" coveredelements="0"/>
|
9958 |
</file>
|
9959 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-test.php">
|
9960 |
<line num="19" type="stmt" count="0"/>
|
10319 |
<line num="442" type="stmt" count="0"/>
|
10320 |
<line num="445" type="stmt" count="0"/>
|
10321 |
<line num="448" type="stmt" count="0"/>
|
10322 |
+
<line num="450" type="stmt" count="0"/>
|
10323 |
<line num="451" type="stmt" count="0"/>
|
10324 |
<line num="453" type="stmt" count="0"/>
|
10325 |
<line num="455" type="stmt" count="0"/>
|
10326 |
+
<line num="459" type="stmt" count="0"/>
|
10327 |
+
<metrics loc="459" ncloc="423" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="367" coveredstatements="0" elements="367" coveredelements="0"/>
|
10328 |
</file>
|
10329 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-tools.php">
|
10330 |
<line num="15" type="stmt" count="0"/>
|
10350 |
<line num="37" type="stmt" count="0"/>
|
10351 |
<line num="46" type="stmt" count="0"/>
|
10352 |
<line num="57" type="stmt" count="0"/>
|
|
|
10353 |
<line num="61" type="stmt" count="0"/>
|
10354 |
+
<line num="65" type="stmt" count="0"/>
|
10355 |
+
<line num="67" type="stmt" count="0"/>
|
10356 |
+
<metrics loc="67" ncloc="37" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="26" coveredstatements="0" elements="26" coveredelements="0"/>
|
10357 |
</file>
|
10358 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-transfers.php">
|
10359 |
<line num="14" type="stmt" count="0"/>
|
10389 |
<line num="66" type="stmt" count="0"/>
|
10390 |
<line num="69" type="stmt" count="0"/>
|
10391 |
<line num="71" type="stmt" count="0"/>
|
|
|
10392 |
<line num="73" type="stmt" count="0"/>
|
10393 |
+
<line num="74" type="stmt" count="0"/>
|
10394 |
+
<metrics loc="74" ncloc="46" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="0" elements="35" coveredelements="0"/>
|
10395 |
</file>
|
10396 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/remote/ftp.php">
|
10397 |
<line num="20" type="stmt" count="0"/>
|
10480 |
<line num="16" type="stmt" count="0"/>
|
10481 |
<line num="18" type="stmt" count="0"/>
|
10482 |
<line num="20" type="stmt" count="0"/>
|
10483 |
+
<line num="21" type="stmt" count="0"/>
|
10484 |
+
<line num="23" type="stmt" count="0"/>
|
10485 |
<line num="24" type="stmt" count="0"/>
|
10486 |
<line num="25" type="stmt" count="0"/>
|
10487 |
+
<line num="26" type="stmt" count="0"/>
|
10488 |
<line num="28" type="stmt" count="0"/>
|
10489 |
<line num="30" type="stmt" count="0"/>
|
10490 |
<line num="31" type="stmt" count="0"/>
|
10491 |
<line num="32" type="stmt" count="0"/>
|
10492 |
+
<line num="33" type="stmt" count="0"/>
|
10493 |
<line num="34" type="stmt" count="0"/>
|
10494 |
<line num="35" type="stmt" count="0"/>
|
10495 |
<line num="36" type="stmt" count="0"/>
|
10496 |
<line num="38" type="stmt" count="0"/>
|
10497 |
<line num="39" type="stmt" count="0"/>
|
|
|
10498 |
<line num="41" type="stmt" count="0"/>
|
10499 |
+
<line num="42" type="stmt" count="0"/>
|
10500 |
<line num="43" type="stmt" count="0"/>
|
10501 |
<line num="44" type="stmt" count="0"/>
|
|
|
10502 |
<line num="46" type="stmt" count="0"/>
|
10503 |
+
<line num="47" type="stmt" count="0"/>
|
10504 |
<line num="48" type="stmt" count="0"/>
|
10505 |
<line num="49" type="stmt" count="0"/>
|
|
|
10506 |
<line num="51" type="stmt" count="0"/>
|
10507 |
+
<line num="52" type="stmt" count="0"/>
|
10508 |
+
<line num="53" type="stmt" count="0"/>
|
10509 |
+
<line num="55" type="stmt" count="0"/>
|
10510 |
<line num="56" type="stmt" count="0"/>
|
10511 |
<line num="57" type="stmt" count="0"/>
|
10512 |
<line num="58" type="stmt" count="0"/>
|
10513 |
<line num="61" type="stmt" count="0"/>
|
|
|
10514 |
<line num="63" type="stmt" count="0"/>
|
10515 |
<line num="64" type="stmt" count="0"/>
|
10516 |
<line num="65" type="stmt" count="0"/>
|
10517 |
+
<line num="68" type="stmt" count="0"/>
|
10518 |
<line num="69" type="stmt" count="0"/>
|
10519 |
<line num="70" type="stmt" count="0"/>
|
|
|
10520 |
<line num="72" type="stmt" count="0"/>
|
10521 |
<line num="73" type="stmt" count="0"/>
|
|
|
10522 |
<line num="75" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10523 |
<line num="76" type="stmt" count="0"/>
|
10524 |
<line num="77" type="stmt" count="0"/>
|
10525 |
+
<line num="78" type="stmt" count="0"/>
|
|
|
10526 |
<line num="81" type="stmt" count="0"/>
|
10527 |
<line num="82" type="stmt" count="0"/>
|
|
|
10528 |
<line num="84" type="stmt" count="0"/>
|
10529 |
<line num="85" type="stmt" count="0"/>
|
10530 |
<line num="86" type="stmt" count="0"/>
|
|
|
|
|
10531 |
<line num="89" type="stmt" count="0"/>
|
10532 |
+
<line num="90" type="stmt" count="0"/>
|
10533 |
<line num="91" type="stmt" count="0"/>
|
10534 |
<line num="92" type="stmt" count="0"/>
|
10535 |
<line num="93" type="stmt" count="0"/>
|
10536 |
+
<line num="95" type="stmt" count="0"/>
|
10537 |
<line num="96" type="stmt" count="0"/>
|
10538 |
+
<line num="98" type="stmt" count="0"/>
|
10539 |
+
<metrics loc="98" ncloc="83" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="59" coveredstatements="0" elements="59" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10540 |
</file>
|
10541 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/settings/backup-directory.php">
|
10542 |
<line num="17" type="stmt" count="0"/>
|
10626 |
<line num="76" type="stmt" count="0"/>
|
10627 |
<line num="77" type="stmt" count="0"/>
|
10628 |
<line num="78" type="stmt" count="0"/>
|
|
|
10629 |
<line num="80" type="stmt" count="0"/>
|
10630 |
<line num="81" type="stmt" count="0"/>
|
|
|
10631 |
<line num="83" type="stmt" count="0"/>
|
10632 |
<line num="85" type="stmt" count="0"/>
|
10633 |
<line num="86" type="stmt" count="0"/>
|
10634 |
<line num="88" type="stmt" count="0"/>
|
10635 |
+
<line num="89" type="stmt" count="0"/>
|
10636 |
<line num="91" type="stmt" count="0"/>
|
10637 |
+
<line num="92" type="stmt" count="0"/>
|
10638 |
<line num="93" type="stmt" count="0"/>
|
10639 |
<line num="94" type="stmt" count="0"/>
|
10640 |
<line num="96" type="stmt" count="0"/>
|
10641 |
<line num="97" type="stmt" count="0"/>
|
|
|
10642 |
<line num="99" type="stmt" count="0"/>
|
10643 |
<line num="101" type="stmt" count="0"/>
|
10644 |
+
<line num="103" type="stmt" count="0"/>
|
10645 |
+
<line num="105" type="stmt" count="0"/>
|
10646 |
<line num="106" type="stmt" count="0"/>
|
10647 |
+
<line num="107" type="stmt" count="0"/>
|
10648 |
<line num="108" type="stmt" count="0"/>
|
10649 |
+
<line num="109" type="stmt" count="0"/>
|
10650 |
<line num="110" type="stmt" count="0"/>
|
10651 |
<line num="111" type="stmt" count="0"/>
|
|
|
10652 |
<line num="113" type="stmt" count="0"/>
|
|
|
10653 |
<line num="115" type="stmt" count="0"/>
|
10654 |
+
<line num="117" type="stmt" count="0"/>
|
10655 |
<line num="118" type="stmt" count="0"/>
|
10656 |
+
<line num="119" type="stmt" count="0"/>
|
10657 |
+
<line num="121" type="stmt" count="0"/>
|
10658 |
<line num="122" type="stmt" count="0"/>
|
|
|
10659 |
<line num="124" type="stmt" count="0"/>
|
10660 |
+
<metrics loc="124" ncloc="98" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="77" coveredstatements="0" elements="77" coveredelements="0"/>
|
|
|
|
|
|
|
10661 |
</file>
|
10662 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/settings/compressor.php">
|
10663 |
<line num="18" type="stmt" count="0"/>
|
10690 |
<line num="52" type="stmt" count="0"/>
|
10691 |
<line num="53" type="stmt" count="0"/>
|
10692 |
<line num="54" type="stmt" count="0"/>
|
10693 |
+
<line num="56" type="stmt" count="0"/>
|
10694 |
<line num="58" type="stmt" count="0"/>
|
10695 |
<line num="59" type="stmt" count="0"/>
|
|
|
|
|
10696 |
<line num="62" type="stmt" count="0"/>
|
10697 |
+
<line num="63" type="stmt" count="0"/>
|
10698 |
<line num="64" type="stmt" count="0"/>
|
|
|
10699 |
<line num="66" type="stmt" count="0"/>
|
|
|
10700 |
<line num="68" type="stmt" count="0"/>
|
|
|
10701 |
<line num="70" type="stmt" count="0"/>
|
10702 |
<line num="72" type="stmt" count="0"/>
|
10703 |
<line num="73" type="stmt" count="0"/>
|
|
|
10704 |
<line num="75" type="stmt" count="0"/>
|
|
|
10705 |
<line num="77" type="stmt" count="0"/>
|
10706 |
+
<line num="78" type="stmt" count="0"/>
|
10707 |
<line num="79" type="stmt" count="0"/>
|
10708 |
+
<line num="80" type="stmt" count="0"/>
|
10709 |
<line num="81" type="stmt" count="0"/>
|
10710 |
+
<line num="84" type="stmt" count="0"/>
|
10711 |
<line num="85" type="stmt" count="0"/>
|
10712 |
<line num="86" type="stmt" count="0"/>
|
10713 |
+
<metrics loc="86" ncloc="66" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="50" coveredstatements="0" elements="50" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10714 |
</file>
|
10715 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/settings/connect-key.php">
|
10716 |
<line num="17" type="stmt" count="0"/>
|
11641 |
<line num="214" type="stmt" count="0"/>
|
11642 |
<line num="215" type="stmt" count="0"/>
|
11643 |
<line num="216" type="stmt" count="0"/>
|
11644 |
+
<line num="217" type="stmt" count="0"/>
|
11645 |
<line num="219" type="stmt" count="0"/>
|
11646 |
<line num="220" type="stmt" count="0"/>
|
11647 |
<line num="221" type="stmt" count="0"/>
|
11648 |
<line num="222" type="stmt" count="0"/>
|
11649 |
<line num="223" type="stmt" count="0"/>
|
11650 |
+
<line num="224" type="stmt" count="0"/>
|
11651 |
<line num="225" type="stmt" count="0"/>
|
11652 |
<line num="226" type="stmt" count="0"/>
|
11653 |
+
<line num="227" type="stmt" count="0"/>
|
11654 |
+
<line num="229" type="stmt" count="0"/>
|
11655 |
+
<line num="230" type="stmt" count="0"/>
|
11656 |
+
<line num="232" type="stmt" count="0"/>
|
11657 |
+
<metrics loc="232" ncloc="191" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="185" coveredstatements="0" elements="185" coveredelements="0"/>
|
11658 |
</file>
|
11659 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/tools/view-logs.php">
|
11660 |
<line num="18" type="stmt" count="0"/>
|
11773 |
<line num="86" type="stmt" count="0"/>
|
11774 |
<line num="87" type="stmt" count="0"/>
|
11775 |
<line num="88" type="stmt" count="0"/>
|
|
|
11776 |
<line num="90" type="stmt" count="0"/>
|
11777 |
+
<line num="91" type="stmt" count="0"/>
|
11778 |
<line num="92" type="stmt" count="0"/>
|
11779 |
<line num="93" type="stmt" count="0"/>
|
11780 |
<line num="94" type="stmt" count="0"/>
|
11788 |
<line num="102" type="stmt" count="0"/>
|
11789 |
<line num="103" type="stmt" count="0"/>
|
11790 |
<line num="104" type="stmt" count="0"/>
|
11791 |
+
<metrics loc="104" ncloc="65" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="74" coveredstatements="0" elements="74" coveredelements="0"/>
|
|
|
|
|
11792 |
</file>
|
11793 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/transfers/overview.php">
|
11794 |
<line num="16" type="stmt" count="0"/>
|
11879 |
<class name="Boldgrid_Backup_Admin_Ftp_Hooks" namespace="global" fullPackage="Boldgrid.Backup.Admin.Ftp">
|
11880 |
<metrics complexity="31" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="129" coveredstatements="2" elements="140" coveredelements="3"/>
|
11881 |
</class>
|
11882 |
+
<line num="47" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
11883 |
+
<line num="48" type="stmt" count="20"/>
|
11884 |
+
<line num="49" type="stmt" count="20"/>
|
11885 |
<line num="56" type="method" name="add_menu_items" visibility="public" complexity="1" crap="2" count="0"/>
|
11886 |
<line num="57" type="stmt" count="0"/>
|
11887 |
<line num="59" type="stmt" count="0"/>
|
12025 |
<class name="Boldgrid_Backup_Admin_Ftp_Page" namespace="global" fullPackage="Boldgrid.Backup.Admin.Ftp">
|
12026 |
<metrics complexity="21" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="116" coveredstatements="2" elements="121" coveredelements="3"/>
|
12027 |
</class>
|
12028 |
+
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
12029 |
+
<line num="40" type="stmt" count="20"/>
|
12030 |
+
<line num="41" type="stmt" count="20"/>
|
12031 |
<line num="48" type="method" name="enqueue_scripts" visibility="public" complexity="2" crap="6" count="0"/>
|
12032 |
<line num="49" type="stmt" count="0"/>
|
12033 |
<line num="50" type="stmt" count="0"/>
|
12152 |
<class name="Boldgrid_Backup_Admin_Ftp" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
12153 |
<metrics complexity="135" methods="22" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="475" coveredstatements="14" elements="497" coveredelements="16"/>
|
12154 |
</class>
|
12155 |
+
<line num="247" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
12156 |
+
<line num="248" type="stmt" count="20"/>
|
12157 |
+
<line num="250" type="stmt" count="20"/>
|
12158 |
+
<line num="251" type="stmt" count="20"/>
|
12159 |
+
<line num="252" type="stmt" count="20"/>
|
12160 |
+
<line num="253" type="stmt" count="20"/>
|
12161 |
+
<line num="255" type="stmt" count="20"/>
|
12162 |
+
<line num="256" type="stmt" count="20"/>
|
12163 |
<line num="263" type="method" name="connect" visibility="public" complexity="10" crap="110" count="0"/>
|
12164 |
<line num="264" type="stmt" count="0"/>
|
12165 |
<line num="265" type="stmt" count="0"/>
|
12600 |
<line num="1049" type="stmt" count="0"/>
|
12601 |
<line num="1050" type="stmt" count="0"/>
|
12602 |
<line num="1051" type="stmt" count="0"/>
|
12603 |
+
<line num="1058" type="method" name="set_default_folder_name" visibility="public" complexity="1" crap="1" count="20"/>
|
12604 |
+
<line num="1059" type="stmt" count="20"/>
|
12605 |
+
<line num="1060" type="stmt" count="20"/>
|
12606 |
+
<line num="1061" type="stmt" count="20"/>
|
12607 |
+
<line num="1062" type="stmt" count="20"/>
|
12608 |
+
<line num="1063" type="stmt" count="20"/>
|
12609 |
+
<line num="1065" type="stmt" count="20"/>
|
12610 |
+
<line num="1066" type="stmt" count="20"/>
|
12611 |
<line num="1075" type="method" name="set_pass" visibility="public" complexity="1" crap="2" count="0"/>
|
12612 |
<line num="1076" type="stmt" count="0"/>
|
12613 |
<line num="1077" type="stmt" count="0"/>
|
12659 |
<class name="Boldgrid_Backup_Admin_Remote_Settings" namespace="global" fullPackage="Boldgrid.Backup.Admin.Remote">
|
12660 |
<metrics complexity="17" methods="12" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="33" coveredstatements="21" elements="45" coveredelements="30"/>
|
12661 |
</class>
|
12662 |
+
<line num="77" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
12663 |
+
<line num="78" type="stmt" count="20"/>
|
12664 |
+
<line num="79" type="stmt" count="20"/>
|
12665 |
<line num="86" type="method" name="delete_settings" visibility="public" complexity="1" crap="2" count="0"/>
|
12666 |
<line num="87" type="stmt" count="0"/>
|
12667 |
<line num="88" type="stmt" count="0"/>
|
12710 |
<class name="Boldgrid_Backup_Admin_Storage_Local" namespace="global" fullPackage="Boldgrid.Backup.Admin.Storage">
|
12711 |
<metrics complexity="30" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="119" coveredstatements="2" elements="128" coveredelements="3"/>
|
12712 |
</class>
|
12713 |
+
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
12714 |
+
<line num="40" type="stmt" count="20"/>
|
12715 |
+
<line num="41" type="stmt" count="20"/>
|
12716 |
<line num="55" type="method" name="delete_local" visibility="public" complexity="1" crap="2" count="0"/>
|
12717 |
<line num="56" type="stmt" count="0"/>
|
12718 |
<line num="71" type="method" name="post_archive_files" visibility="public" complexity="4" crap="20" count="0"/>
|
14054 |
<class name="Boldgrid_Backup_Download" namespace="global" fullPackage="Boldgrid.Backup">
|
14055 |
<metrics complexity="5" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="2" elements="14" coveredelements="3"/>
|
14056 |
</class>
|
14057 |
+
<line num="37" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
14058 |
+
<line num="38" type="stmt" count="20"/>
|
14059 |
+
<line num="39" type="stmt" count="20"/>
|
14060 |
<line num="52" type="method" name="public_download" visibility="public" complexity="4" crap="20" count="0"/>
|
14061 |
<line num="53" type="stmt" count="0"/>
|
14062 |
<line num="54" type="stmt" count="0"/>
|
14161 |
</file>
|
14162 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
|
14163 |
<class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
|
14164 |
+
<metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="271" coveredstatements="0" elements="279" coveredelements="0"/>
|
14165 |
</class>
|
14166 |
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
14167 |
<line num="67" type="stmt" count="0"/>
|
14179 |
<line num="118" type="stmt" count="0"/>
|
14180 |
<line num="123" type="stmt" count="0"/>
|
14181 |
<line num="128" type="stmt" count="0"/>
|
14182 |
+
<line num="133" type="stmt" count="0"/>
|
14183 |
+
<line num="134" type="stmt" count="0"/>
|
14184 |
<line num="135" type="stmt" count="0"/>
|
14185 |
+
<line num="140" type="stmt" count="0"/>
|
14186 |
+
<line num="145" type="stmt" count="0"/>
|
14187 |
+
<line num="150" type="stmt" count="0"/>
|
14188 |
+
<line num="155" type="stmt" count="0"/>
|
|
|
14189 |
<line num="157" type="stmt" count="0"/>
|
14190 |
<line num="159" type="stmt" count="0"/>
|
14191 |
<line num="161" type="stmt" count="0"/>
|
14192 |
<line num="163" type="stmt" count="0"/>
|
14193 |
+
<line num="164" type="stmt" count="0"/>
|
14194 |
<line num="165" type="stmt" count="0"/>
|
14195 |
<line num="166" type="stmt" count="0"/>
|
14196 |
<line num="167" type="stmt" count="0"/>
|
14197 |
<line num="168" type="stmt" count="0"/>
|
14198 |
<line num="169" type="stmt" count="0"/>
|
|
|
14199 |
<line num="171" type="stmt" count="0"/>
|
14200 |
+
<line num="172" type="stmt" count="0"/>
|
14201 |
<line num="173" type="stmt" count="0"/>
|
14202 |
<line num="174" type="stmt" count="0"/>
|
14203 |
<line num="175" type="stmt" count="0"/>
|
|
|
14204 |
<line num="177" type="stmt" count="0"/>
|
14205 |
<line num="179" type="stmt" count="0"/>
|
14206 |
+
<line num="180" type="stmt" count="0"/>
|
14207 |
<line num="181" type="stmt" count="0"/>
|
14208 |
<line num="182" type="stmt" count="0"/>
|
14209 |
<line num="183" type="stmt" count="0"/>
|
14211 |
<line num="185" type="stmt" count="0"/>
|
14212 |
<line num="186" type="stmt" count="0"/>
|
14213 |
<line num="187" type="stmt" count="0"/>
|
|
|
14214 |
<line num="189" type="stmt" count="0"/>
|
14215 |
<line num="191" type="stmt" count="0"/>
|
14216 |
<line num="193" type="stmt" count="0"/>
|
14222 |
<line num="205" type="stmt" count="0"/>
|
14223 |
<line num="207" type="stmt" count="0"/>
|
14224 |
<line num="209" type="stmt" count="0"/>
|
14225 |
+
<line num="210" type="stmt" count="0"/>
|
14226 |
<line num="211" type="stmt" count="0"/>
|
|
|
14227 |
<line num="213" type="stmt" count="0"/>
|
14228 |
+
<line num="214" type="stmt" count="0"/>
|
14229 |
<line num="215" type="stmt" count="0"/>
|
14230 |
<line num="216" type="stmt" count="0"/>
|
|
|
14231 |
<line num="218" type="stmt" count="0"/>
|
14232 |
<line num="220" type="stmt" count="0"/>
|
14233 |
+
<line num="221" type="stmt" count="0"/>
|
14234 |
<line num="223" type="stmt" count="0"/>
|
14235 |
<line num="225" type="stmt" count="0"/>
|
14236 |
<line num="227" type="stmt" count="0"/>
|
14237 |
+
<line num="228" type="stmt" count="0"/>
|
14238 |
<line num="229" type="stmt" count="0"/>
|
|
|
14239 |
<line num="231" type="stmt" count="0"/>
|
14240 |
<line num="233" type="stmt" count="0"/>
|
14241 |
<line num="235" type="stmt" count="0"/>
|
14242 |
+
<line num="238" type="stmt" count="0"/>
|
14243 |
+
<line num="239" type="stmt" count="0"/>
|
14244 |
<line num="240" type="stmt" count="0"/>
|
14245 |
<line num="241" type="stmt" count="0"/>
|
14246 |
<line num="242" type="stmt" count="0"/>
|
14247 |
<line num="243" type="stmt" count="0"/>
|
|
|
14248 |
<line num="245" type="stmt" count="0"/>
|
14249 |
+
<line num="248" type="stmt" count="0"/>
|
14250 |
+
<line num="251" type="stmt" count="0"/>
|
14251 |
+
<line num="252" type="stmt" count="0"/>
|
14252 |
<line num="253" type="stmt" count="0"/>
|
14253 |
<line num="254" type="stmt" count="0"/>
|
14254 |
<line num="255" type="stmt" count="0"/>
|
14259 |
<line num="260" type="stmt" count="0"/>
|
14260 |
<line num="261" type="stmt" count="0"/>
|
14261 |
<line num="262" type="stmt" count="0"/>
|
|
|
|
|
14262 |
<line num="265" type="stmt" count="0"/>
|
14263 |
+
<line num="266" type="stmt" count="0"/>
|
14264 |
+
<line num="267" type="stmt" count="0"/>
|
14265 |
<line num="268" type="stmt" count="0"/>
|
14266 |
<line num="269" type="stmt" count="0"/>
|
14267 |
<line num="270" type="stmt" count="0"/>
|
|
|
14268 |
<line num="272" type="stmt" count="0"/>
|
14269 |
<line num="273" type="stmt" count="0"/>
|
14270 |
<line num="274" type="stmt" count="0"/>
|
14271 |
<line num="276" type="stmt" count="0"/>
|
14272 |
<line num="277" type="stmt" count="0"/>
|
14273 |
<line num="278" type="stmt" count="0"/>
|
14274 |
+
<line num="279" type="stmt" count="0"/>
|
14275 |
<line num="281" type="stmt" count="0"/>
|
14276 |
<line num="282" type="stmt" count="0"/>
|
|
|
14277 |
<line num="285" type="stmt" count="0"/>
|
14278 |
<line num="286" type="stmt" count="0"/>
|
14279 |
+
<line num="287" type="stmt" count="0"/>
|
14280 |
<line num="289" type="stmt" count="0"/>
|
|
|
14281 |
<line num="291" type="stmt" count="0"/>
|
14282 |
+
<line num="294" type="stmt" count="0"/>
|
14283 |
<line num="295" type="stmt" count="0"/>
|
14284 |
+
<line num="297" type="stmt" count="0"/>
|
14285 |
<line num="299" type="stmt" count="0"/>
|
14286 |
+
<line num="300" type="stmt" count="0"/>
|
14287 |
+
<line num="311" type="method" name="set_locale" visibility="private" complexity="1" crap="2" count="0"/>
|
14288 |
+
<line num="312" type="stmt" count="0"/>
|
14289 |
+
<line num="314" type="stmt" count="0"/>
|
14290 |
+
<line num="315" type="stmt" count="0"/>
|
14291 |
+
<line num="323" type="method" name="define_admin_hooks" visibility="private" complexity="5" crap="30" count="0"/>
|
14292 |
+
<line num="325" type="stmt" count="0"/>
|
14293 |
+
<line num="327" type="stmt" count="0"/>
|
14294 |
+
<line num="330" type="stmt" count="0"/>
|
14295 |
+
<line num="333" type="stmt" count="0"/>
|
14296 |
<line num="334" type="stmt" count="0"/>
|
14297 |
+
<line num="335" type="stmt" count="0"/>
|
14298 |
<line num="337" type="stmt" count="0"/>
|
14299 |
<line num="338" type="stmt" count="0"/>
|
14300 |
<line num="339" type="stmt" count="0"/>
|
|
|
14301 |
<line num="342" type="stmt" count="0"/>
|
14302 |
<line num="343" type="stmt" count="0"/>
|
14303 |
+
<line num="344" type="stmt" count="0"/>
|
14304 |
+
<line num="345" type="stmt" count="0"/>
|
14305 |
<line num="348" type="stmt" count="0"/>
|
14306 |
<line num="349" type="stmt" count="0"/>
|
14307 |
+
<line num="350" type="stmt" count="0"/>
|
14308 |
+
<line num="351" type="stmt" count="0"/>
|
14309 |
<line num="353" type="stmt" count="0"/>
|
14310 |
<line num="354" type="stmt" count="0"/>
|
14311 |
<line num="355" type="stmt" count="0"/>
|
14312 |
+
<line num="356" type="stmt" count="0"/>
|
14313 |
<line num="357" type="stmt" count="0"/>
|
|
|
|
|
14314 |
<line num="360" type="stmt" count="0"/>
|
14315 |
<line num="361" type="stmt" count="0"/>
|
14316 |
+
<line num="362" type="stmt" count="0"/>
|
14317 |
+
<line num="363" type="stmt" count="0"/>
|
14318 |
<line num="366" type="stmt" count="0"/>
|
14319 |
<line num="367" type="stmt" count="0"/>
|
14320 |
+
<line num="368" type="stmt" count="0"/>
|
14321 |
+
<line num="369" type="stmt" count="0"/>
|
14322 |
<line num="372" type="stmt" count="0"/>
|
14323 |
<line num="373" type="stmt" count="0"/>
|
14324 |
+
<line num="374" type="stmt" count="0"/>
|
14325 |
+
<line num="375" type="stmt" count="0"/>
|
14326 |
<line num="378" type="stmt" count="0"/>
|
14327 |
<line num="379" type="stmt" count="0"/>
|
14328 |
+
<line num="380" type="stmt" count="0"/>
|
14329 |
+
<line num="381" type="stmt" count="0"/>
|
14330 |
<line num="384" type="stmt" count="0"/>
|
14331 |
<line num="385" type="stmt" count="0"/>
|
14332 |
+
<line num="386" type="stmt" count="0"/>
|
14333 |
+
<line num="387" type="stmt" count="0"/>
|
14334 |
<line num="390" type="stmt" count="0"/>
|
14335 |
<line num="391" type="stmt" count="0"/>
|
14336 |
+
<line num="392" type="stmt" count="0"/>
|
14337 |
+
<line num="393" type="stmt" count="0"/>
|
14338 |
<line num="395" type="stmt" count="0"/>
|
14339 |
<line num="396" type="stmt" count="0"/>
|
14340 |
<line num="397" type="stmt" count="0"/>
|
|
|
14341 |
<line num="400" type="stmt" count="0"/>
|
14342 |
<line num="401" type="stmt" count="0"/>
|
14343 |
+
<line num="402" type="stmt" count="0"/>
|
14344 |
+
<line num="403" type="stmt" count="0"/>
|
14345 |
<line num="406" type="stmt" count="0"/>
|
14346 |
<line num="407" type="stmt" count="0"/>
|
14347 |
+
<line num="408" type="stmt" count="0"/>
|
14348 |
+
<line num="409" type="stmt" count="0"/>
|
14349 |
<line num="411" type="stmt" count="0"/>
|
14350 |
<line num="412" type="stmt" count="0"/>
|
14351 |
<line num="413" type="stmt" count="0"/>
|
14352 |
+
<line num="414" type="stmt" count="0"/>
|
14353 |
<line num="415" type="stmt" count="0"/>
|
14354 |
<line num="416" type="stmt" count="0"/>
|
|
|
14355 |
<line num="418" type="stmt" count="0"/>
|
|
|
14356 |
<line num="420" type="stmt" count="0"/>
|
14357 |
<line num="422" type="stmt" count="0"/>
|
14358 |
<line num="424" type="stmt" count="0"/>
|
14359 |
+
<line num="425" type="stmt" count="0"/>
|
14360 |
<line num="426" type="stmt" count="0"/>
|
14361 |
<line num="428" type="stmt" count="0"/>
|
14362 |
<line num="429" type="stmt" count="0"/>
|
14363 |
+
<line num="431" type="stmt" count="0"/>
|
|
|
14364 |
<line num="433" type="stmt" count="0"/>
|
14365 |
<line num="435" type="stmt" count="0"/>
|
14366 |
<line num="437" type="stmt" count="0"/>
|
14367 |
<line num="439" type="stmt" count="0"/>
|
14368 |
+
<line num="440" type="stmt" count="0"/>
|
14369 |
<line num="441" type="stmt" count="0"/>
|
14370 |
<line num="443" type="stmt" count="0"/>
|
|
|
14371 |
<line num="445" type="stmt" count="0"/>
|
14372 |
+
<line num="446" type="stmt" count="0"/>
|
14373 |
<line num="447" type="stmt" count="0"/>
|
14374 |
+
<line num="448" type="stmt" count="0"/>
|
14375 |
<line num="450" type="stmt" count="0"/>
|
|
|
14376 |
<line num="452" type="stmt" count="0"/>
|
14377 |
<line num="454" type="stmt" count="0"/>
|
14378 |
<line num="456" type="stmt" count="0"/>
|
14379 |
<line num="458" type="stmt" count="0"/>
|
14380 |
<line num="460" type="stmt" count="0"/>
|
14381 |
+
<line num="465" type="stmt" count="0"/>
|
14382 |
+
<line num="467" type="stmt" count="0"/>
|
14383 |
<line num="469" type="stmt" count="0"/>
|
14384 |
<line num="471" type="stmt" count="0"/>
|
14385 |
<line num="473" type="stmt" count="0"/>
|
14386 |
<line num="475" type="stmt" count="0"/>
|
14387 |
<line num="477" type="stmt" count="0"/>
|
14388 |
<line num="479" type="stmt" count="0"/>
|
14389 |
+
<line num="480" type="stmt" count="0"/>
|
14390 |
+
<line num="482" type="stmt" count="0"/>
|
14391 |
<line num="483" type="stmt" count="0"/>
|
14392 |
+
<line num="485" type="stmt" count="0"/>
|
|
|
14393 |
<line num="487" type="stmt" count="0"/>
|
14394 |
+
<line num="488" type="stmt" count="0"/>
|
14395 |
<line num="489" type="stmt" count="0"/>
|
14396 |
<line num="491" type="stmt" count="0"/>
|
|
|
14397 |
<line num="493" type="stmt" count="0"/>
|
14398 |
+
<line num="494" type="stmt" count="0"/>
|
14399 |
<line num="497" type="stmt" count="0"/>
|
14400 |
<line num="498" type="stmt" count="0"/>
|
14401 |
+
<line num="499" type="stmt" count="0"/>
|
14402 |
<line num="502" type="stmt" count="0"/>
|
14403 |
<line num="503" type="stmt" count="0"/>
|
14404 |
<line num="506" type="stmt" count="0"/>
|
14405 |
+
<line num="509" type="stmt" count="0"/>
|
14406 |
+
<line num="512" type="stmt" count="0"/>
|
14407 |
+
<line num="515" type="stmt" count="0"/>
|
14408 |
+
<line num="517" type="stmt" count="0"/>
|
14409 |
<line num="519" type="stmt" count="0"/>
|
14410 |
+
<line num="520" type="stmt" count="0"/>
|
14411 |
+
<line num="522" type="stmt" count="0"/>
|
14412 |
<line num="524" type="stmt" count="0"/>
|
14413 |
<line num="526" type="stmt" count="0"/>
|
14414 |
+
<line num="527" type="stmt" count="0"/>
|
14415 |
<line num="530" type="stmt" count="0"/>
|
|
|
|
|
14416 |
<line num="533" type="stmt" count="0"/>
|
14417 |
+
<line num="534" type="stmt" count="0"/>
|
14418 |
<line num="536" type="stmt" count="0"/>
|
14419 |
+
<line num="537" type="stmt" count="0"/>
|
14420 |
+
<line num="538" type="stmt" count="0"/>
|
14421 |
<line num="539" type="stmt" count="0"/>
|
14422 |
<line num="540" type="stmt" count="0"/>
|
14423 |
+
<line num="543" type="stmt" count="0"/>
|
14424 |
<line num="544" type="stmt" count="0"/>
|
14425 |
<line num="545" type="stmt" count="0"/>
|
|
|
|
|
14426 |
<line num="548" type="stmt" count="0"/>
|
14427 |
+
<line num="555" type="stmt" count="0"/>
|
14428 |
+
<line num="556" type="stmt" count="0"/>
|
|
|
|
|
14429 |
<line num="557" type="stmt" count="0"/>
|
14430 |
+
<line num="559" type="stmt" count="0"/>
|
14431 |
+
<line num="560" type="stmt" count="0"/>
|
14432 |
+
<line num="561" type="stmt" count="0"/>
|
14433 |
+
<line num="568" type="method" name="run" visibility="public" complexity="1" crap="2" count="0"/>
|
14434 |
<line num="569" type="stmt" count="0"/>
|
14435 |
+
<line num="570" type="stmt" count="0"/>
|
14436 |
+
<line num="579" type="method" name="get_plugin_name" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
14437 |
<line num="580" type="stmt" count="0"/>
|
14438 |
<line num="581" type="stmt" count="0"/>
|
14439 |
+
<line num="589" type="method" name="get_loader" visibility="public" complexity="1" crap="2" count="0"/>
|
14440 |
+
<line num="590" type="stmt" count="0"/>
|
14441 |
<line num="591" type="stmt" count="0"/>
|
14442 |
+
<line num="599" type="method" name="get_version" visibility="public" complexity="1" crap="2" count="0"/>
|
14443 |
+
<line num="600" type="stmt" count="0"/>
|
14444 |
<line num="601" type="stmt" count="0"/>
|
14445 |
+
<metrics loc="602" ncloc="366" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="271" coveredstatements="0" elements="279" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
14446 |
</file>
|
14447 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
|
14448 |
<line num="17" type="stmt" count="0"/>
|
14510 |
<line num="99" type="stmt" count="1"/>
|
14511 |
<line num="100" type="stmt" count="1"/>
|
14512 |
<line num="101" type="stmt" count="1"/>
|
14513 |
+
<line num="102" type="stmt" count="1"/>
|
14514 |
<line num="103" type="stmt" count="1"/>
|
14515 |
+
<metrics loc="103" ncloc="55" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="40" coveredstatements="37" elements="40" coveredelements="37"/>
|
|
|
|
|
|
|
|
|
|
|
14516 |
</file>
|
14517 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.rating-prompt.php">
|
14518 |
<line num="17" type="stmt" count="0"/>
|
68547 |
<metrics loc="510" ncloc="285" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="215" coveredstatements="0" elements="218" coveredelements="0"/>
|
68548 |
</file>
|
68549 |
</package>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68550 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/remote/test-class-boldgrid-backup-admin-remote-settings.php">
|
68551 |
<class name="Test_Boldgrid_Backup_Admin_Remote_Settings" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Remote">
|
68552 |
<metrics complexity="9" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="43" coveredstatements="43" elements="52" coveredelements="52"/>
|
68655 |
<line num="27" type="stmt" count="1"/>
|
68656 |
<line num="41" type="stmt" count="1"/>
|
68657 |
<line num="42" type="stmt" count="1"/>
|
68658 |
+
<line num="43" type="stmt" count="1"/>
|
68659 |
+
<metrics loc="44" ncloc="9" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="4" elements="5" coveredelements="5"/>
|
68660 |
+
</file>
|
68661 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-auto-rollback.php">
|
68662 |
+
<class name="Test_Boldgrid_Backup_Auto_Rollback" namespace="global" fullPackage="Test.Boldgrid.Backup.Auto">
|
68663 |
+
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="11" coveredelements="11"/>
|
68664 |
+
</class>
|
68665 |
+
<line num="26" type="method" name="test_get_time_data" visibility="public" complexity="1" crap="1" count="1"/>
|
68666 |
+
<line num="27" type="stmt" count="1"/>
|
68667 |
+
<line num="29" type="stmt" count="1"/>
|
68668 |
+
<line num="31" type="stmt" count="1"/>
|
68669 |
+
<line num="32" type="stmt" count="1"/>
|
68670 |
+
<line num="33" type="stmt" count="1"/>
|
68671 |
+
<line num="34" type="stmt" count="1"/>
|
68672 |
+
<line num="37" type="stmt" count="1"/>
|
68673 |
+
<line num="38" type="stmt" count="1"/>
|
68674 |
+
<line num="39" type="stmt" count="1"/>
|
68675 |
+
<line num="40" type="stmt" count="1"/>
|
68676 |
+
<metrics loc="41" ncloc="17" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="11" coveredelements="11"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68677 |
</file>
|
68678 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-compressor.php">
|
68679 |
<class name="Test_Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
|
69138 |
<line num="121" type="stmt" count="1"/>
|
69139 |
<metrics loc="122" ncloc="44" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="35" elements="37" coveredelements="37"/>
|
69140 |
</file>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69141 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-notices.php">
|
69142 |
<class name="Test_Boldgrid_Backup_Admin_Notice_Counts" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Notice">
|
69143 |
+
<metrics complexity="12" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="58" coveredstatements="58" elements="67" coveredelements="67"/>
|
69144 |
</class>
|
69145 |
+
<line num="24" type="method" name="setUp" visibility="public" complexity="1" crap="1" count="4"/>
|
69146 |
+
<line num="25" type="stmt" count="4"/>
|
69147 |
+
<line num="26" type="stmt" count="4"/>
|
69148 |
<line num="27" type="method" name="test_notice_not_displayed_first_install" visibility="public" complexity="1" crap="1" count="1"/>
|
69149 |
<line num="28" type="stmt" count="1"/>
|
69150 |
<line num="29" type="stmt" count="1"/>
|
69151 |
+
<line num="31" type="method" name="test_one_notice_displayed" visibility="public" complexity="1" crap="1" count="1"/>
|
69152 |
<line num="32" type="stmt" count="1"/>
|
69153 |
<line num="33" type="stmt" count="1"/>
|
69154 |
+
<line num="35" type="method" name="test_new_feature_added" visibility="public" complexity="1" crap="1" count="1"/>
|
69155 |
+
<line num="37" type="stmt" count="1"/>
|
69156 |
+
<line num="38" type="stmt" count="1"/>
|
|
|
|
|
69157 |
<line num="39" type="stmt" count="1"/>
|
69158 |
+
<line num="40" type="stmt" count="1"/>
|
69159 |
<line num="41" type="stmt" count="1"/>
|
69160 |
+
<line num="42" type="stmt" count="1"/>
|
69161 |
<line num="43" type="stmt" count="1"/>
|
69162 |
+
<line num="45" type="method" name="test_mark_feature_read" visibility="public" complexity="1" crap="1" count="1"/>
|
69163 |
<line num="46" type="stmt" count="1"/>
|
69164 |
<line num="47" type="stmt" count="1"/>
|
69165 |
<line num="48" type="stmt" count="1"/>
|
69166 |
<line num="49" type="stmt" count="1"/>
|
69167 |
+
<line num="51" type="method" name="notice_counts_in_nav" visibility="public" complexity="4" crap="4" count="4"/>
|
69168 |
+
<line num="52" type="stmt" count="4"/>
|
69169 |
+
<line num="53" type="stmt" count="4"/>
|
69170 |
+
<line num="54" type="stmt" count="4"/>
|
69171 |
+
<line num="55" type="stmt" count="1"/>
|
69172 |
+
<line num="56" type="stmt" count="1"/>
|
69173 |
<line num="57" type="stmt" count="1"/>
|
69174 |
<line num="58" type="stmt" count="1"/>
|
69175 |
+
<line num="59" type="stmt" count="4"/>
|
69176 |
+
<line num="61" type="stmt" count="4"/>
|
69177 |
+
<line num="63" type="stmt" count="4"/>
|
69178 |
+
<line num="65" type="stmt" count="4"/>
|
69179 |
+
<line num="66" type="stmt" count="4"/>
|
69180 |
+
<line num="67" type="stmt" count="4"/>
|
69181 |
+
<line num="68" type="stmt" count="4"/>
|
69182 |
+
<line num="69" type="stmt" count="4"/>
|
69183 |
+
<line num="70" type="stmt" count="4"/>
|
69184 |
+
<line num="71" type="stmt" count="4"/>
|
69185 |
+
<line num="74" type="method" name="get_plugin_data" visibility="public" complexity="1" crap="1" count="4"/>
|
69186 |
+
<line num="77" type="stmt" count="4"/>
|
69187 |
+
<line num="78" type="stmt" count="4"/>
|
69188 |
+
<line num="79" type="stmt" count="4"/>
|
69189 |
+
<line num="80" type="stmt" count="4"/>
|
69190 |
+
<line num="81" type="stmt" count="4"/>
|
69191 |
+
<line num="82" type="stmt" count="4"/>
|
69192 |
+
<line num="83" type="stmt" count="4"/>
|
69193 |
+
<line num="84" type="stmt" count="4"/>
|
69194 |
+
<line num="85" type="stmt" count="4"/>
|
69195 |
+
<line num="88" type="method" name="get_plugin_config" visibility="public" complexity="1" crap="1" count="4"/>
|
69196 |
+
<line num="91" type="stmt" count="4"/>
|
69197 |
+
<line num="92" type="stmt" count="4"/>
|
69198 |
+
<line num="95" type="stmt" count="4"/>
|
69199 |
+
<line num="96" type="stmt" count="4"/>
|
69200 |
+
<line num="97" type="stmt" count="4"/>
|
69201 |
+
<line num="98" type="stmt" count="4"/>
|
69202 |
+
<line num="99" type="stmt" count="4"/>
|
69203 |
+
<line num="100" type="stmt" count="4"/>
|
69204 |
+
<line num="103" type="method" name="set_versions" visibility="public" complexity="1" crap="1" count="4"/>
|
69205 |
+
<line num="107" type="stmt" count="4"/>
|
69206 |
+
<line num="108" type="stmt" count="4"/>
|
69207 |
+
<line num="109" type="stmt" count="4"/>
|
69208 |
+
<line num="110" type="stmt" count="4"/>
|
69209 |
+
<line num="111" type="stmt" count="4"/>
|
69210 |
+
<line num="112" type="stmt" count="4"/>
|
69211 |
+
<line num="113" type="stmt" count="4"/>
|
69212 |
+
<metrics loc="114" ncloc="97" classes="1" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="58" coveredstatements="58" elements="67" coveredelements="67"/>
|
69213 |
</file>
|
69214 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-premium-features-page.php">
|
69215 |
<class name="Test_Boldgrid_Backup_Admin_Premium_Features_Page" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Premium.Features">
|
69216 |
+
<metrics complexity="10" methods="7" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="68" coveredstatements="53" elements="75" coveredelements="58"/>
|
69217 |
</class>
|
69218 |
+
<line num="28" type="method" name="setUp" visibility="public" complexity="3" crap="3" count="3"/>
|
69219 |
+
<line num="31" type="stmt" count="3"/>
|
69220 |
+
<line num="32" type="stmt" count="3"/>
|
69221 |
+
<line num="33" type="stmt" count="3"/>
|
69222 |
+
<line num="35" type="stmt" count="3"/>
|
69223 |
+
<line num="36" type="stmt" count="3"/>
|
69224 |
+
<line num="37" type="stmt" count="3"/>
|
69225 |
+
<line num="38" type="stmt" count="3"/>
|
69226 |
+
<line num="39" type="stmt" count="3"/>
|
69227 |
+
<line num="40" type="stmt" count="3"/>
|
69228 |
+
<line num="41" type="stmt" count="3"/>
|
69229 |
+
<line num="42" type="stmt" count="3"/>
|
69230 |
+
<line num="43" type="stmt" count="3"/>
|
69231 |
+
<line num="44" type="stmt" count="3"/>
|
69232 |
+
<line num="47" type="stmt" count="3"/>
|
69233 |
+
<line num="48" type="stmt" count="3"/>
|
69234 |
+
<line num="49" type="stmt" count="3"/>
|
69235 |
+
<line num="50" type="stmt" count="3"/>
|
69236 |
+
<line num="51" type="stmt" count="3"/>
|
69237 |
+
<line num="52" type="stmt" count="3"/>
|
69238 |
+
<line num="54" type="stmt" count="3"/>
|
69239 |
+
<line num="55" type="stmt" count="3"/>
|
69240 |
+
<line num="56" type="stmt" count="3"/>
|
69241 |
+
<line num="58" type="method" name="test_get_cards" visibility="public" complexity="1" crap="1" count="1"/>
|
69242 |
+
<line num="59" type="stmt" count="1"/>
|
69243 |
<line num="60" type="stmt" count="1"/>
|
69244 |
<line num="61" type="stmt" count="1"/>
|
69245 |
<line num="62" type="stmt" count="1"/>
|
69246 |
+
<line num="64" type="method" name="test_admin_enqueue_scripts" visibility="public" complexity="2" crap="2" count="1"/>
|
69247 |
+
<line num="65" type="stmt" count="1"/>
|
69248 |
<line num="66" type="stmt" count="1"/>
|
69249 |
<line num="67" type="stmt" count="1"/>
|
69250 |
<line num="68" type="stmt" count="1"/>
|
69255 |
<line num="73" type="stmt" count="1"/>
|
69256 |
<line num="74" type="stmt" count="1"/>
|
69257 |
<line num="75" type="stmt" count="1"/>
|
69258 |
+
<line num="77" type="stmt" count="1"/>
|
69259 |
+
<line num="79" type="method" name="test_page" visibility="public" complexity="1" crap="1" count="1"/>
|
69260 |
+
<line num="80" type="stmt" count="1"/>
|
69261 |
+
<line num="82" type="stmt" count="1"/>
|
69262 |
+
<line num="83" type="stmt" count="1"/>
|
69263 |
+
<line num="84" type="stmt" count="1"/>
|
69264 |
+
<line num="85" type="stmt" count="1"/>
|
69265 |
+
<line num="86" type="stmt" count="1"/>
|
69266 |
+
<line num="88" type="method" name="get_plugin_data" visibility="public" complexity="1" crap="1" count="1"/>
|
69267 |
+
<line num="91" type="stmt" count="1"/>
|
69268 |
+
<line num="92" type="stmt" count="1"/>
|
69269 |
+
<line num="93" type="stmt" count="1"/>
|
69270 |
+
<line num="94" type="stmt" count="1"/>
|
69271 |
+
<line num="95" type="stmt" count="1"/>
|
69272 |
+
<line num="96" type="stmt" count="1"/>
|
69273 |
+
<line num="97" type="stmt" count="1"/>
|
69274 |
+
<line num="98" type="stmt" count="1"/>
|
69275 |
+
<line num="99" type="stmt" count="1"/>
|
69276 |
+
<line num="102" type="method" name="get_plugin_config" visibility="public" complexity="1" crap="2" count="0"/>
|
69277 |
<line num="105" type="stmt" count="0"/>
|
69278 |
<line num="106" type="stmt" count="0"/>
|
69279 |
+
<line num="109" type="stmt" count="0"/>
|
69280 |
+
<line num="110" type="stmt" count="0"/>
|
69281 |
+
<line num="111" type="stmt" count="0"/>
|
69282 |
+
<line num="112" type="stmt" count="0"/>
|
69283 |
<line num="113" type="stmt" count="0"/>
|
69284 |
<line num="114" type="stmt" count="0"/>
|
69285 |
+
<line num="117" type="method" name="set_versions" visibility="public" complexity="1" crap="2" count="0"/>
|
69286 |
+
<line num="121" type="stmt" count="0"/>
|
69287 |
+
<line num="122" type="stmt" count="0"/>
|
69288 |
+
<line num="123" type="stmt" count="0"/>
|
69289 |
+
<line num="124" type="stmt" count="0"/>
|
69290 |
+
<line num="125" type="stmt" count="0"/>
|
69291 |
+
<line num="126" type="stmt" count="0"/>
|
69292 |
+
<line num="127" type="stmt" count="0"/>
|
69293 |
+
<metrics loc="128" ncloc="111" classes="1" methods="7" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="68" coveredstatements="53" elements="75" coveredelements="58"/>
|
69294 |
</file>
|
69295 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-test.php">
|
69296 |
<class name="Test_Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
|
69370 |
<metrics loc="135" ncloc="76" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="51" elements="55" coveredelements="55"/>
|
69371 |
</file>
|
69372 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/bootstrap.php">
|
69373 |
+
<line num="129" type="stmt" count="0"/>
|
69374 |
+
<line num="130" type="stmt" count="0"/>
|
69375 |
+
<line num="132" type="stmt" count="0"/>
|
69376 |
+
<line num="134" type="stmt" count="0"/>
|
69377 |
+
<line num="135" type="stmt" count="0"/>
|
69378 |
+
<metrics loc="137" ncloc="105" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="5" coveredelements="0"/>
|
69379 |
</file>
|
69380 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/cli/test-class-info.php">
|
69381 |
<class name="Test_Boldgrid_Backup_Cli_Info" namespace="global" fullPackage="Test.Boldgrid.Backup.Cli">
|
69480 |
<line num="7" type="stmt" count="0"/>
|
69481 |
<metrics loc="7" ncloc="5" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="0" elements="2" coveredelements="0"/>
|
69482 |
</file>
|
69483 |
+
<package name="Boldgrid\Library\Library">
|
69484 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Activity.php">
|
69485 |
+
<class name="Activity" namespace="Boldgrid\Library\Library">
|
69486 |
+
<metrics complexity="19" methods="9" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="50" coveredstatements="0" elements="59" coveredelements="0"/>
|
69487 |
+
</class>
|
69488 |
+
<line num="55" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
69489 |
+
<line num="56" type="stmt" count="0"/>
|
69490 |
+
<line num="58" type="stmt" count="0"/>
|
69491 |
+
<line num="59" type="stmt" count="0"/>
|
69492 |
+
<line num="60" type="stmt" count="0"/>
|
69493 |
+
<line num="61" type="stmt" count="0"/>
|
69494 |
+
<line num="62" type="stmt" count="0"/>
|
69495 |
+
<line num="76" type="method" name="add" visibility="public" complexity="4" crap="20" count="0"/>
|
69496 |
+
<line num="77" type="stmt" count="0"/>
|
69497 |
+
<line num="79" type="stmt" count="0"/>
|
69498 |
+
<line num="81" type="stmt" count="0"/>
|
69499 |
+
<line num="82" type="stmt" count="0"/>
|
69500 |
+
<line num="83" type="stmt" count="0"/>
|
69501 |
+
<line num="84" type="stmt" count="0"/>
|
69502 |
+
<line num="85" type="stmt" count="0"/>
|
69503 |
+
<line num="87" type="stmt" count="0"/>
|
69504 |
+
<line num="89" type="stmt" count="0"/>
|
69505 |
+
<line num="90" type="stmt" count="0"/>
|
69506 |
+
<line num="91" type="stmt" count="0"/>
|
69507 |
+
<line num="93" type="stmt" count="0"/>
|
69508 |
+
<line num="94" type="stmt" count="0"/>
|
69509 |
+
<line num="103" type="method" name="getActivities" visibility="public" complexity="1" crap="2" count="0"/>
|
69510 |
+
<line num="104" type="stmt" count="0"/>
|
69511 |
+
<line num="105" type="stmt" count="0"/>
|
69512 |
+
<line num="116" type="method" name="getActivityConfigs" visibility="public" complexity="3" crap="12" count="0"/>
|
69513 |
+
<line num="117" type="stmt" count="0"/>
|
69514 |
+
<line num="119" type="stmt" count="0"/>
|
69515 |
+
<line num="120" type="stmt" count="0"/>
|
69516 |
+
<line num="121" type="stmt" count="0"/>
|
69517 |
+
<line num="123" type="stmt" count="0"/>
|
69518 |
+
<line num="124" type="stmt" count="0"/>
|
69519 |
+
<line num="134" type="method" name="getActivityCount" visibility="public" complexity="2" crap="6" count="0"/>
|
69520 |
+
<line num="135" type="stmt" count="0"/>
|
69521 |
+
<line num="137" type="stmt" count="0"/>
|
69522 |
+
<line num="138" type="stmt" count="0"/>
|
69523 |
+
<line num="147" type="method" name="getPluginActivities" visibility="public" complexity="2" crap="6" count="0"/>
|
69524 |
+
<line num="148" type="stmt" count="0"/>
|
69525 |
+
<line num="150" type="stmt" count="0"/>
|
69526 |
+
<line num="151" type="stmt" count="0"/>
|
69527 |
+
<line num="152" type="stmt" count="0"/>
|
69528 |
+
<line num="154" type="stmt" count="0"/>
|
69529 |
+
<line num="155" type="stmt" count="0"/>
|
69530 |
+
<line num="166" type="method" name="maybeAddRatingPrompt" visibility="public" complexity="3" crap="12" count="0"/>
|
69531 |
+
<line num="167" type="stmt" count="0"/>
|
69532 |
+
<line num="169" type="stmt" count="0"/>
|
69533 |
+
<line num="171" type="stmt" count="0"/>
|
69534 |
+
<line num="172" type="stmt" count="0"/>
|
69535 |
+
<line num="173" type="stmt" count="0"/>
|
69536 |
+
<line num="174" type="stmt" count="0"/>
|
69537 |
+
<line num="176" type="stmt" count="0"/>
|
69538 |
+
<line num="177" type="stmt" count="0"/>
|
69539 |
+
<line num="189" type="method" name="saveActivities" visibility="public" complexity="1" crap="2" count="0"/>
|
69540 |
+
<line num="190" type="stmt" count="0"/>
|
69541 |
+
<line num="191" type="stmt" count="0"/>
|
69542 |
+
<line num="201" type="method" name="savePluginActivities" visibility="public" complexity="1" crap="2" count="0"/>
|
69543 |
+
<line num="202" type="stmt" count="0"/>
|
69544 |
+
<line num="204" type="stmt" count="0"/>
|
69545 |
+
<line num="206" type="stmt" count="0"/>
|
69546 |
+
<line num="207" type="stmt" count="0"/>
|
69547 |
+
<metrics loc="208" ncloc="97" classes="1" methods="9" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="50" coveredstatements="0" elements="59" coveredelements="0"/>
|
69548 |
+
</file>
|
69549 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Asset.php">
|
69550 |
+
<class name="Asset" namespace="Boldgrid\Library\Library">
|
69551 |
+
<metrics complexity="5" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="0" elements="17" coveredelements="0"/>
|
69552 |
+
</class>
|
69553 |
+
<line num="26" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69554 |
+
<line num="27" type="stmt" count="0"/>
|
69555 |
+
<line num="28" type="stmt" count="0"/>
|
69556 |
+
<line num="37" type="method" name="addWpScripts" visibility="public" complexity="2" crap="6" count="0"/>
|
69557 |
+
<line num="38" type="stmt" count="0"/>
|
69558 |
+
<line num="40" type="stmt" count="0"/>
|
69559 |
+
<line num="41" type="stmt" count="0"/>
|
69560 |
+
<line num="42" type="stmt" count="0"/>
|
69561 |
+
<line num="51" type="method" name="addStyles" visibility="public" complexity="1" crap="2" count="0"/>
|
69562 |
+
<line num="52" type="stmt" count="0"/>
|
69563 |
+
<line num="53" type="stmt" count="0"/>
|
69564 |
+
<line num="55" type="stmt" count="0"/>
|
69565 |
+
<line num="56" type="stmt" count="0"/>
|
69566 |
+
<line num="66" type="method" name="EnqueueAdminIcon" visibility="public" complexity="1" crap="2" count="0"/>
|
69567 |
+
<line num="67" type="stmt" count="0"/>
|
69568 |
+
<line num="68" type="stmt" count="0"/>
|
69569 |
+
<line num="69" type="stmt" count="0"/>
|
69570 |
+
<metrics loc="71" ncloc="28" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="0" elements="17" coveredelements="0"/>
|
69571 |
+
</file>
|
69572 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Configs.php">
|
69573 |
+
<class name="Configs" namespace="Boldgrid\Library\Library">
|
69574 |
+
<metrics complexity="20" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="45" coveredstatements="5" elements="51" coveredelements="5"/>
|
69575 |
+
</class>
|
69576 |
+
<line num="41" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69577 |
+
<line num="42" type="stmt" count="0"/>
|
69578 |
+
<line num="44" type="stmt" count="0"/>
|
69579 |
+
<line num="45" type="stmt" count="0"/>
|
69580 |
+
<line num="57" type="method" name="set" visibility="public" complexity="7" crap="56" count="0"/>
|
69581 |
+
<line num="58" type="stmt" count="0"/>
|
69582 |
+
<line num="67" type="stmt" count="0"/>
|
69583 |
+
<line num="70" type="stmt" count="0"/>
|
69584 |
+
<line num="71" type="stmt" count="0"/>
|
69585 |
+
<line num="72" type="stmt" count="0"/>
|
69586 |
+
<line num="73" type="stmt" count="0"/>
|
69587 |
+
<line num="74" type="stmt" count="0"/>
|
69588 |
+
<line num="77" type="stmt" count="0"/>
|
69589 |
+
<line num="78" type="stmt" count="0"/>
|
69590 |
+
<line num="79" type="stmt" count="0"/>
|
69591 |
+
<line num="80" type="stmt" count="0"/>
|
69592 |
+
<line num="81" type="stmt" count="0"/>
|
69593 |
+
<line num="82" type="stmt" count="0"/>
|
69594 |
+
<line num="83" type="stmt" count="0"/>
|
69595 |
+
<line num="85" type="stmt" count="0"/>
|
69596 |
+
<line num="97" type="method" name="get" visibility="public" complexity="3" crap="3.04" count="20"/>
|
69597 |
+
<line num="98" type="stmt" count="20"/>
|
69598 |
+
<line num="99" type="stmt" count="20"/>
|
69599 |
+
<line num="100" type="stmt" count="20"/>
|
69600 |
+
<line num="101" type="stmt" count="20"/>
|
69601 |
+
<line num="102" type="stmt" count="0"/>
|
69602 |
+
<line num="105" type="stmt" count="20"/>
|
69603 |
+
<line num="119" type="method" name="getFileSlug" visibility="public" complexity="1" crap="2" count="0"/>
|
69604 |
+
<line num="120" type="stmt" count="0"/>
|
69605 |
+
<line num="122" type="stmt" count="0"/>
|
69606 |
+
<line num="133" type="method" name="getPlugins" visibility="public" complexity="7" crap="56" count="0"/>
|
69607 |
+
<line num="134" type="stmt" count="0"/>
|
69608 |
+
<line num="136" type="stmt" count="0"/>
|
69609 |
+
<line num="137" type="stmt" count="0"/>
|
69610 |
+
<line num="140" type="stmt" count="0"/>
|
69611 |
+
<line num="141" type="stmt" count="0"/>
|
69612 |
+
<line num="142" type="stmt" count="0"/>
|
69613 |
+
<line num="143" type="stmt" count="0"/>
|
69614 |
+
<line num="145" type="stmt" count="0"/>
|
69615 |
+
<line num="146" type="stmt" count="0"/>
|
69616 |
+
<line num="147" type="stmt" count="0"/>
|
69617 |
+
<line num="148" type="stmt" count="0"/>
|
69618 |
+
<line num="149" type="stmt" count="0"/>
|
69619 |
+
<line num="151" type="stmt" count="0"/>
|
69620 |
+
<line num="152" type="stmt" count="0"/>
|
69621 |
+
<line num="153" type="stmt" count="0"/>
|
69622 |
+
<line num="155" type="stmt" count="0"/>
|
69623 |
+
<line num="157" type="stmt" count="0"/>
|
69624 |
+
<line num="167" type="method" name="setItem" visibility="public" complexity="1" crap="2" count="0"/>
|
69625 |
+
<line num="168" type="stmt" count="0"/>
|
69626 |
+
<line num="169" type="stmt" count="0"/>
|
69627 |
+
<metrics loc="170" ncloc="83" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="45" coveredstatements="5" elements="51" coveredelements="5"/>
|
69628 |
+
</file>
|
69629 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Dashboard.php">
|
69630 |
+
<class name="Dashboard" namespace="Boldgrid\Library\Library">
|
69631 |
+
<metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="0" elements="3" coveredelements="0"/>
|
69632 |
+
</class>
|
69633 |
+
<line num="27" type="method" name="init" visibility="public" complexity="1" crap="2" count="0"/>
|
69634 |
+
<line num="35" type="stmt" count="0"/>
|
69635 |
+
<line num="36" type="stmt" count="0"/>
|
69636 |
+
<metrics loc="37" ncloc="9" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="0" elements="3" coveredelements="0"/>
|
69637 |
+
</file>
|
69638 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Editor.php">
|
69639 |
+
<class name="Editor" namespace="Boldgrid\Library\Library">
|
69640 |
+
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="0" elements="6" coveredelements="0"/>
|
69641 |
+
</class>
|
69642 |
+
<line num="28" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69643 |
+
<line num="29" type="stmt" count="0"/>
|
69644 |
+
<line num="30" type="stmt" count="0"/>
|
69645 |
+
<line num="39" type="method" name="disableNotices" visibility="public" complexity="1" crap="2" count="0"/>
|
69646 |
+
<line num="40" type="stmt" count="0"/>
|
69647 |
+
<line num="41" type="stmt" count="0"/>
|
69648 |
+
<metrics loc="42" ncloc="13" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="0" elements="6" coveredelements="0"/>
|
69649 |
+
</file>
|
69650 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Filter.php">
|
69651 |
+
<class name="Filter" namespace="Boldgrid\Library\Library">
|
69652 |
+
<metrics complexity="26" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="64" coveredstatements="0" elements="68" coveredelements="0"/>
|
69653 |
+
</class>
|
69654 |
+
<line num="33" type="method" name="add" visibility="public" complexity="1" crap="2" count="0"/>
|
69655 |
+
<line num="34" type="stmt" count="0"/>
|
69656 |
+
<line num="35" type="stmt" count="0"/>
|
69657 |
+
<line num="46" type="method" name="remove" visibility="public" complexity="1" crap="2" count="0"/>
|
69658 |
+
<line num="47" type="stmt" count="0"/>
|
69659 |
+
<line num="48" type="stmt" count="0"/>
|
69660 |
+
<line num="62" type="method" name="doFilter" visibility="private" complexity="9" crap="90" count="0"/>
|
69661 |
+
<line num="63" type="stmt" count="0"/>
|
69662 |
+
<line num="64" type="stmt" count="0"/>
|
69663 |
+
<line num="65" type="stmt" count="0"/>
|
69664 |
+
<line num="66" type="stmt" count="0"/>
|
69665 |
+
<line num="69" type="stmt" count="0"/>
|
69666 |
+
<line num="70" type="stmt" count="0"/>
|
69667 |
+
<line num="71" type="stmt" count="0"/>
|
69668 |
+
<line num="74" type="stmt" count="0"/>
|
69669 |
+
<line num="75" type="stmt" count="0"/>
|
69670 |
+
<line num="76" type="stmt" count="0"/>
|
69671 |
+
<line num="77" type="stmt" count="0"/>
|
69672 |
+
<line num="78" type="stmt" count="0"/>
|
69673 |
+
<line num="79" type="stmt" count="0"/>
|
69674 |
+
<line num="82" type="stmt" count="0"/>
|
69675 |
+
<line num="85" type="stmt" count="0"/>
|
69676 |
+
<line num="86" type="stmt" count="0"/>
|
69677 |
+
<line num="87" type="stmt" count="0"/>
|
69678 |
+
<line num="88" type="stmt" count="0"/>
|
69679 |
+
<line num="89" type="stmt" count="0"/>
|
69680 |
+
<line num="90" type="stmt" count="0"/>
|
69681 |
+
<line num="106" type="method" name="removeHook" visibility="public" complexity="15" crap="240" count="0"/>
|
69682 |
+
<line num="107" type="stmt" count="0"/>
|
69683 |
+
<line num="110" type="stmt" count="0"/>
|
69684 |
+
<line num="120" type="stmt" count="0"/>
|
69685 |
+
<line num="123" type="stmt" count="0"/>
|
69686 |
+
<line num="124" type="stmt" count="0"/>
|
69687 |
+
<line num="125" type="stmt" count="0"/>
|
69688 |
+
<line num="126" type="stmt" count="0"/>
|
69689 |
+
<line num="127" type="stmt" count="0"/>
|
69690 |
+
<line num="130" type="stmt" count="0"/>
|
69691 |
+
<line num="131" type="stmt" count="0"/>
|
69692 |
+
<line num="132" type="stmt" count="0"/>
|
69693 |
+
<line num="135" type="stmt" count="0"/>
|
69694 |
+
<line num="138" type="stmt" count="0"/>
|
69695 |
+
<line num="139" type="stmt" count="0"/>
|
69696 |
+
<line num="140" type="stmt" count="0"/>
|
69697 |
+
<line num="143" type="stmt" count="0"/>
|
69698 |
+
<line num="144" type="stmt" count="0"/>
|
69699 |
+
<line num="145" type="stmt" count="0"/>
|
69700 |
+
<line num="148" type="stmt" count="0"/>
|
69701 |
+
<line num="149" type="stmt" count="0"/>
|
69702 |
+
<line num="150" type="stmt" count="0"/>
|
69703 |
+
<line num="153" type="stmt" count="0"/>
|
69704 |
+
<line num="156" type="stmt" count="0"/>
|
69705 |
+
<line num="159" type="stmt" count="0"/>
|
69706 |
+
<line num="160" type="stmt" count="0"/>
|
69707 |
+
<line num="163" type="stmt" count="0"/>
|
69708 |
+
<line num="166" type="stmt" count="0"/>
|
69709 |
+
<line num="167" type="stmt" count="0"/>
|
69710 |
+
<line num="168" type="stmt" count="0"/>
|
69711 |
+
<line num="171" type="stmt" count="0"/>
|
69712 |
+
<line num="172" type="stmt" count="0"/>
|
69713 |
+
<line num="173" type="stmt" count="0"/>
|
69714 |
+
<line num="176" type="stmt" count="0"/>
|
69715 |
+
<line num="177" type="stmt" count="0"/>
|
69716 |
+
<line num="179" type="stmt" count="0"/>
|
69717 |
+
<line num="180" type="stmt" count="0"/>
|
69718 |
+
<line num="181" type="stmt" count="0"/>
|
69719 |
+
<line num="182" type="stmt" count="0"/>
|
69720 |
+
<line num="184" type="stmt" count="0"/>
|
69721 |
+
<line num="185" type="stmt" count="0"/>
|
69722 |
+
<metrics loc="186" ncloc="81" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="64" coveredstatements="0" elements="68" coveredelements="0"/>
|
69723 |
+
</file>
|
69724 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Key.php">
|
69725 |
+
<class name="Key" namespace="Boldgrid\Library\Library">
|
69726 |
+
<metrics complexity="34" methods="14" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="0" elements="109" coveredelements="0"/>
|
69727 |
+
</class>
|
69728 |
+
<line num="77" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69729 |
+
<line num="78" type="stmt" count="0"/>
|
69730 |
+
<line num="79" type="stmt" count="0"/>
|
69731 |
+
<line num="80" type="stmt" count="0"/>
|
69732 |
+
<line num="81" type="stmt" count="0"/>
|
69733 |
+
<line num="83" type="stmt" count="0"/>
|
69734 |
+
<line num="84" type="stmt" count="0"/>
|
69735 |
+
<line num="93" type="method" name="setLicense" visibility="public" complexity="2" crap="6" count="0"/>
|
69736 |
+
<line num="94" type="stmt" count="0"/>
|
69737 |
+
<line num="95" type="stmt" count="0"/>
|
69738 |
+
<line num="104" type="method" name="getKey" visibility="private" complexity="1" crap="2" count="0"/>
|
69739 |
+
<line num="105" type="stmt" count="0"/>
|
69740 |
+
<line num="106" type="stmt" count="0"/>
|
69741 |
+
<line num="115" type="method" name="getLicense" visibility="public" complexity="1" crap="2" count="0"/>
|
69742 |
+
<line num="116" type="stmt" count="0"/>
|
69743 |
+
<line num="117" type="stmt" count="0"/>
|
69744 |
+
<line num="126" type="method" name="getNotice" visibility="public" complexity="1" crap="2" count="0"/>
|
69745 |
+
<line num="127" type="stmt" count="0"/>
|
69746 |
+
<line num="128" type="stmt" count="0"/>
|
69747 |
+
<line num="139" type="method" name="hasKey" visibility="public" complexity="1" crap="2" count="0"/>
|
69748 |
+
<line num="140" type="stmt" count="0"/>
|
69749 |
+
<line num="142" type="stmt" count="0"/>
|
69750 |
+
<line num="143" type="stmt" count="0"/>
|
69751 |
+
<line num="154" type="method" name="setValid" visibility="public" complexity="7" crap="56" count="0"/>
|
69752 |
+
<line num="156" type="stmt" count="0"/>
|
69753 |
+
<line num="159" type="stmt" count="0"/>
|
69754 |
+
<line num="162" type="stmt" count="0"/>
|
69755 |
+
<line num="165" type="stmt" count="0"/>
|
69756 |
+
<line num="167" type="stmt" count="0"/>
|
69757 |
+
<line num="168" type="stmt" count="0"/>
|
69758 |
+
<line num="171" type="stmt" count="0"/>
|
69759 |
+
<line num="173" type="stmt" count="0"/>
|
69760 |
+
<line num="176" type="stmt" count="0"/>
|
69761 |
+
<line num="178" type="stmt" count="0"/>
|
69762 |
+
<line num="181" type="stmt" count="0"/>
|
69763 |
+
<line num="182" type="stmt" count="0"/>
|
69764 |
+
<line num="183" type="stmt" count="0"/>
|
69765 |
+
<line num="185" type="stmt" count="0"/>
|
69766 |
+
<line num="186" type="stmt" count="0"/>
|
69767 |
+
<line num="196" type="method" name="setNotice" visibility="public" complexity="6" crap="42" count="0"/>
|
69768 |
+
<line num="197" type="stmt" count="0"/>
|
69769 |
+
<line num="198" type="stmt" count="0"/>
|
69770 |
+
<line num="199" type="stmt" count="0"/>
|
69771 |
+
<line num="202" type="stmt" count="0"/>
|
69772 |
+
<line num="203" type="stmt" count="0"/>
|
69773 |
+
<line num="204" type="stmt" count="0"/>
|
69774 |
+
<line num="207" type="stmt" count="0"/>
|
69775 |
+
<line num="208" type="stmt" count="0"/>
|
69776 |
+
<line num="209" type="stmt" count="0"/>
|
69777 |
+
<line num="210" type="stmt" count="0"/>
|
69778 |
+
<line num="220" type="method" name="addKey" visibility="public" complexity="2" crap="6" count="0"/>
|
69779 |
+
<line num="228" type="stmt" count="0"/>
|
69780 |
+
<line num="229" type="stmt" count="0"/>
|
69781 |
+
<line num="231" type="stmt" count="0"/>
|
69782 |
+
<line num="233" type="stmt" count="0"/>
|
69783 |
+
<line num="234" type="stmt" count="0"/>
|
69784 |
+
<line num="235" type="stmt" count="0"/>
|
69785 |
+
<line num="236" type="stmt" count="0"/>
|
69786 |
+
<line num="237" type="stmt" count="0"/>
|
69787 |
+
<line num="238" type="stmt" count="0"/>
|
69788 |
+
<line num="239" type="stmt" count="0"/>
|
69789 |
+
<line num="250" type="method" name="callCheckVersion" visibility="public" complexity="3" crap="12" count="0"/>
|
69790 |
+
<line num="251" type="stmt" count="0"/>
|
69791 |
+
<line num="252" type="stmt" count="0"/>
|
69792 |
+
<line num="255" type="stmt" count="0"/>
|
69793 |
+
<line num="258" type="stmt" count="0"/>
|
69794 |
+
<line num="259" type="stmt" count="0"/>
|
69795 |
+
<line num="260" type="stmt" count="0"/>
|
69796 |
+
<line num="261" type="stmt" count="0"/>
|
69797 |
+
<line num="262" type="stmt" count="0"/>
|
69798 |
+
<line num="265" type="stmt" count="0"/>
|
69799 |
+
<line num="266" type="stmt" count="0"/>
|
69800 |
+
<line num="276" type="method" name="verifyData" visibility="public" complexity="1" crap="2" count="0"/>
|
69801 |
+
<line num="277" type="stmt" count="0"/>
|
69802 |
+
<line num="278" type="stmt" count="0"/>
|
69803 |
+
<line num="292" type="method" name="verify" visibility="public" complexity="3" crap="12" count="0"/>
|
69804 |
+
<line num="293" type="stmt" count="0"/>
|
69805 |
+
<line num="296" type="stmt" count="0"/>
|
69806 |
+
<line num="297" type="stmt" count="0"/>
|
69807 |
+
<line num="298" type="stmt" count="0"/>
|
69808 |
+
<line num="299" type="stmt" count="0"/>
|
69809 |
+
<line num="300" type="stmt" count="0"/>
|
69810 |
+
<line num="303" type="stmt" count="0"/>
|
69811 |
+
<line num="304" type="stmt" count="0"/>
|
69812 |
+
<line num="305" type="stmt" count="0"/>
|
69813 |
+
<line num="308" type="stmt" count="0"/>
|
69814 |
+
<line num="309" type="stmt" count="0"/>
|
69815 |
+
<line num="321" type="method" name="save" visibility="public" complexity="1" crap="2" count="0"/>
|
69816 |
+
<line num="322" type="stmt" count="0"/>
|
69817 |
+
<line num="326" type="stmt" count="0"/>
|
69818 |
+
<line num="329" type="stmt" count="0"/>
|
69819 |
+
<line num="332" type="stmt" count="0"/>
|
69820 |
+
<line num="335" type="stmt" count="0"/>
|
69821 |
+
<line num="338" type="stmt" count="0"/>
|
69822 |
+
<line num="342" type="stmt" count="0"/>
|
69823 |
+
<line num="343" type="stmt" count="0"/>
|
69824 |
+
<line num="354" type="method" name="saveReseller" visibility="protected" complexity="4" crap="20" count="0"/>
|
69825 |
+
<line num="355" type="stmt" count="0"/>
|
69826 |
+
<line num="360" type="stmt" count="0"/>
|
69827 |
+
<line num="363" type="stmt" count="0"/>
|
69828 |
+
<line num="366" type="stmt" count="0"/>
|
69829 |
+
<line num="369" type="stmt" count="0"/>
|
69830 |
+
<line num="370" type="stmt" count="0"/>
|
69831 |
+
<line num="371" type="stmt" count="0"/>
|
69832 |
+
<line num="374" type="stmt" count="0"/>
|
69833 |
+
<line num="375" type="stmt" count="0"/>
|
69834 |
+
<line num="376" type="stmt" count="0"/>
|
69835 |
+
<line num="379" type="stmt" count="0"/>
|
69836 |
+
<line num="380" type="stmt" count="0"/>
|
69837 |
+
<metrics loc="381" ncloc="139" classes="1" methods="14" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="0" elements="109" coveredelements="0"/>
|
69838 |
+
</file>
|
69839 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/License.php">
|
69840 |
+
<class name="License" namespace="Boldgrid\Library\Library">
|
69841 |
+
<metrics complexity="43" methods="23" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="125" coveredstatements="0" elements="148" coveredelements="0"/>
|
69842 |
+
</class>
|
69843 |
+
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69844 |
+
<line num="57" type="stmt" count="0"/>
|
69845 |
+
<line num="59" type="stmt" count="0"/>
|
69846 |
+
<line num="61" type="stmt" count="0"/>
|
69847 |
+
<line num="62" type="stmt" count="0"/>
|
69848 |
+
<line num="71" type="method" name="ajaxClear" visibility="public" complexity="5" crap="30" count="0"/>
|
69849 |
+
<line num="72" type="stmt" count="0"/>
|
69850 |
+
<line num="74" type="stmt" count="0"/>
|
69851 |
+
<line num="75" type="stmt" count="0"/>
|
69852 |
+
<line num="76" type="stmt" count="0"/>
|
69853 |
+
<line num="78" type="stmt" count="0"/>
|
69854 |
+
<line num="79" type="stmt" count="0"/>
|
69855 |
+
<line num="80" type="stmt" count="0"/>
|
69856 |
+
<line num="82" type="stmt" count="0"/>
|
69857 |
+
<line num="83" type="stmt" count="0"/>
|
69858 |
+
<line num="84" type="stmt" count="0"/>
|
69859 |
+
<line num="85" type="stmt" count="0"/>
|
69860 |
+
<line num="87" type="stmt" count="0"/>
|
69861 |
+
<line num="88" type="stmt" count="0"/>
|
69862 |
+
<line num="89" type="stmt" count="0"/>
|
69863 |
+
<line num="90" type="stmt" count="0"/>
|
69864 |
+
<line num="91" type="stmt" count="0"/>
|
69865 |
+
<line num="93" type="stmt" count="0"/>
|
69866 |
+
<line num="95" type="stmt" count="0"/>
|
69867 |
+
<line num="96" type="stmt" count="0"/>
|
69868 |
+
<line num="97" type="stmt" count="0"/>
|
69869 |
+
<line num="98" type="stmt" count="0"/>
|
69870 |
+
<line num="100" type="stmt" count="0"/>
|
69871 |
+
<line num="101" type="stmt" count="0"/>
|
69872 |
+
<line num="110" type="method" name="registerScripts" visibility="public" complexity="1" crap="2" count="0"/>
|
69873 |
+
<line num="111" type="stmt" count="0"/>
|
69874 |
+
<line num="113" type="stmt" count="0"/>
|
69875 |
+
<line num="114" type="stmt" count="0"/>
|
69876 |
+
<line num="115" type="stmt" count="0"/>
|
69877 |
+
<line num="116" type="stmt" count="0"/>
|
69878 |
+
<line num="117" type="stmt" count="0"/>
|
69879 |
+
<line num="119" type="stmt" count="0"/>
|
69880 |
+
<line num="120" type="stmt" count="0"/>
|
69881 |
+
<line num="121" type="stmt" count="0"/>
|
69882 |
+
<line num="123" type="stmt" count="0"/>
|
69883 |
+
<line num="124" type="stmt" count="0"/>
|
69884 |
+
<line num="135" type="method" name="setKey" visibility="private" complexity="1" crap="2" count="0"/>
|
69885 |
+
<line num="136" type="stmt" count="0"/>
|
69886 |
+
<line num="137" type="stmt" count="0"/>
|
69887 |
+
<line num="146" type="method" name="setLicense" visibility="private" complexity="4" crap="20" count="0"/>
|
69888 |
+
<line num="147" type="stmt" count="0"/>
|
69889 |
+
<line num="148" type="stmt" count="0"/>
|
69890 |
+
<line num="149" type="stmt" count="0"/>
|
69891 |
+
<line num="150" type="stmt" count="0"/>
|
69892 |
+
<line num="151" type="stmt" count="0"/>
|
69893 |
+
<line num="152" type="stmt" count="0"/>
|
69894 |
+
<line num="154" type="stmt" count="0"/>
|
69895 |
+
<line num="155" type="stmt" count="0"/>
|
69896 |
+
<line num="164" type="method" name="setTransient" visibility="private" complexity="2" crap="6" count="0"/>
|
69897 |
+
<line num="165" type="stmt" count="0"/>
|
69898 |
+
<line num="166" type="stmt" count="0"/>
|
69899 |
+
<line num="177" type="method" name="isValid" visibility="private" complexity="2" crap="6" count="0"/>
|
69900 |
+
<line num="178" type="stmt" count="0"/>
|
69901 |
+
<line num="179" type="stmt" count="0"/>
|
69902 |
+
<line num="180" type="stmt" count="0"/>
|
69903 |
+
<line num="181" type="stmt" count="0"/>
|
69904 |
+
<line num="182" type="stmt" count="0"/>
|
69905 |
+
<line num="183" type="stmt" count="0"/>
|
69906 |
+
<line num="185" type="stmt" count="0"/>
|
69907 |
+
<line num="186" type="stmt" count="0"/>
|
69908 |
+
<line num="195" type="method" name="setData" visibility="private" complexity="2" crap="6" count="0"/>
|
69909 |
+
<line num="196" type="stmt" count="0"/>
|
69910 |
+
<line num="197" type="stmt" count="0"/>
|
69911 |
+
<line num="198" type="stmt" count="0"/>
|
69912 |
+
<line num="199" type="stmt" count="0"/>
|
69913 |
+
<line num="200" type="stmt" count="0"/>
|
69914 |
+
<line num="201" type="stmt" count="0"/>
|
69915 |
+
<line num="202" type="stmt" count="0"/>
|
69916 |
+
<line num="203" type="stmt" count="0"/>
|
69917 |
+
<line num="204" type="stmt" count="0"/>
|
69918 |
+
<line num="205" type="stmt" count="0"/>
|
69919 |
+
<line num="206" type="stmt" count="0"/>
|
69920 |
+
<line num="208" type="stmt" count="0"/>
|
69921 |
+
<line num="209" type="stmt" count="0"/>
|
69922 |
+
<line num="216" type="method" name="licenseNotice" visibility="protected" complexity="3" crap="12" count="0"/>
|
69923 |
+
<line num="217" type="stmt" count="0"/>
|
69924 |
+
<line num="218" type="stmt" count="0"/>
|
69925 |
+
<line num="220" type="stmt" count="0"/>
|
69926 |
+
<line num="221" type="stmt" count="0"/>
|
69927 |
+
<line num="222" type="stmt" count="0"/>
|
69928 |
+
<line num="223" type="stmt" count="0"/>
|
69929 |
+
<line num="224" type="stmt" count="0"/>
|
69930 |
+
<line num="233" type="method" name="deactivate" visibility="public" complexity="3" crap="12" count="0"/>
|
69931 |
+
<line num="234" type="stmt" count="0"/>
|
69932 |
+
<line num="235" type="stmt" count="0"/>
|
69933 |
+
<line num="236" type="stmt" count="0"/>
|
69934 |
+
<line num="237" type="stmt" count="0"/>
|
69935 |
+
<line num="238" type="stmt" count="0"/>
|
69936 |
+
<line num="249" type="method" name="clearTransient" visibility="public" complexity="1" crap="2" count="0"/>
|
69937 |
+
<line num="250" type="stmt" count="0"/>
|
69938 |
+
<line num="251" type="stmt" count="0"/>
|
69939 |
+
<line num="262" type="method" name="getRemoteLicense" visibility="private" complexity="2" crap="6" count="0"/>
|
69940 |
+
<line num="263" type="stmt" count="0"/>
|
69941 |
+
<line num="264" type="stmt" count="0"/>
|
69942 |
+
<line num="266" type="stmt" count="0"/>
|
69943 |
+
<line num="267" type="stmt" count="0"/>
|
69944 |
+
<line num="268" type="stmt" count="0"/>
|
69945 |
+
<line num="270" type="stmt" count="0"/>
|
69946 |
+
<line num="271" type="stmt" count="0"/>
|
69947 |
+
<line num="280" type="method" name="getKey" visibility="public" complexity="1" crap="2" count="0"/>
|
69948 |
+
<line num="281" type="stmt" count="0"/>
|
69949 |
+
<line num="282" type="stmt" count="0"/>
|
69950 |
+
<line num="291" type="method" name="getTransient" visibility="protected" complexity="1" crap="2" count="0"/>
|
69951 |
+
<line num="292" type="stmt" count="0"/>
|
69952 |
+
<line num="293" type="stmt" count="0"/>
|
69953 |
+
<line num="304" type="method" name="getExpiration" visibility="private" complexity="1" crap="2" count="0"/>
|
69954 |
+
<line num="305" type="stmt" count="0"/>
|
69955 |
+
<line num="306" type="stmt" count="0"/>
|
69956 |
+
<line num="315" type="method" name="getLicense" visibility="protected" complexity="1" crap="2" count="0"/>
|
69957 |
+
<line num="316" type="stmt" count="0"/>
|
69958 |
+
<line num="317" type="stmt" count="0"/>
|
69959 |
+
<line num="326" type="method" name="getLicenseString" visibility="public" complexity="1" crap="2" count="0"/>
|
69960 |
+
<line num="327" type="stmt" count="0"/>
|
69961 |
+
<line num="328" type="stmt" count="0"/>
|
69962 |
+
<line num="337" type="method" name="getApiKey" visibility="public" complexity="1" crap="2" count="0"/>
|
69963 |
+
<line num="338" type="stmt" count="0"/>
|
69964 |
+
<line num="339" type="stmt" count="0"/>
|
69965 |
+
<line num="350" type="method" name="getData" visibility="public" complexity="1" crap="2" count="0"/>
|
69966 |
+
<line num="351" type="stmt" count="0"/>
|
69967 |
+
<line num="352" type="stmt" count="0"/>
|
69968 |
+
<line num="361" type="method" name="getValid" visibility="public" complexity="1" crap="2" count="0"/>
|
69969 |
+
<line num="362" type="stmt" count="0"/>
|
69970 |
+
<line num="363" type="stmt" count="0"/>
|
69971 |
+
<line num="375" type="method" name="initLicense" visibility="public" complexity="2" crap="6" count="0"/>
|
69972 |
+
<line num="376" type="stmt" count="0"/>
|
69973 |
+
<line num="378" type="stmt" count="0"/>
|
69974 |
+
<line num="379" type="stmt" count="0"/>
|
69975 |
+
<line num="380" type="stmt" count="0"/>
|
69976 |
+
<line num="381" type="stmt" count="0"/>
|
69977 |
+
<line num="382" type="stmt" count="0"/>
|
69978 |
+
<line num="383" type="stmt" count="0"/>
|
69979 |
+
<line num="384" type="stmt" count="0"/>
|
69980 |
+
<line num="396" type="method" name="isPremium" visibility="public" complexity="2" crap="6" count="0"/>
|
69981 |
+
<line num="397" type="stmt" count="0"/>
|
69982 |
+
<line num="399" type="stmt" count="0"/>
|
69983 |
+
<line num="400" type="stmt" count="0"/>
|
69984 |
+
<line num="402" type="stmt" count="0"/>
|
69985 |
+
<line num="403" type="stmt" count="0"/>
|
69986 |
+
<line num="418" type="method" name="isVersionValid" visibility="public" complexity="4" crap="20" count="0"/>
|
69987 |
+
<line num="419" type="stmt" count="0"/>
|
69988 |
+
<line num="420" type="stmt" count="0"/>
|
69989 |
+
<line num="421" type="stmt" count="0"/>
|
69990 |
+
<line num="422" type="stmt" count="0"/>
|
69991 |
+
<metrics loc="423" ncloc="203" classes="1" methods="23" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="125" coveredstatements="0" elements="148" coveredelements="0"/>
|
69992 |
+
</file>
|
69993 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/NewsWidget.php">
|
69994 |
+
<class name="NewsWidget" namespace="Boldgrid\Library\Library">
|
69995 |
+
<metrics complexity="21" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="96" coveredstatements="0" elements="103" coveredelements="0"/>
|
69996 |
+
</class>
|
69997 |
+
<line num="35" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
69998 |
+
<line num="36" type="stmt" count="0"/>
|
69999 |
+
<line num="37" type="stmt" count="0"/>
|
70000 |
+
<line num="46" type="method" name="admin_enqueue_scripts" visibility="public" complexity="2" crap="6" count="0"/>
|
70001 |
+
<line num="47" type="stmt" count="0"/>
|
70002 |
+
<line num="48" type="stmt" count="0"/>
|
70003 |
+
<line num="49" type="stmt" count="0"/>
|
70004 |
+
<line num="50" type="stmt" count="0"/>
|
70005 |
+
<line num="52" type="stmt" count="0"/>
|
70006 |
+
<line num="53" type="stmt" count="0"/>
|
70007 |
+
<line num="54" type="stmt" count="0"/>
|
70008 |
+
<line num="55" type="stmt" count="0"/>
|
70009 |
+
<line num="56" type="stmt" count="0"/>
|
70010 |
+
<line num="57" type="stmt" count="0"/>
|
70011 |
+
<line num="64" type="method" name="display" visibility="public" complexity="6" crap="42" count="0"/>
|
70012 |
+
<line num="66" type="stmt" count="0"/>
|
70013 |
+
<line num="69" type="stmt" count="0"/>
|
70014 |
+
<line num="70" type="stmt" count="0"/>
|
70015 |
+
<line num="71" type="stmt" count="0"/>
|
70016 |
+
<line num="72" type="stmt" count="0"/>
|
70017 |
+
<line num="75" type="stmt" count="0"/>
|
70018 |
+
<line num="76" type="stmt" count="0"/>
|
70019 |
+
<line num="77" type="stmt" count="0"/>
|
70020 |
+
<line num="78" type="stmt" count="0"/>
|
70021 |
+
<line num="81" type="stmt" count="0"/>
|
70022 |
+
<line num="82" type="stmt" count="0"/>
|
70023 |
+
<line num="84" type="stmt" count="0"/>
|
70024 |
+
<line num="85" type="stmt" count="0"/>
|
70025 |
+
<line num="86" type="stmt" count="0"/>
|
70026 |
+
<line num="87" type="stmt" count="0"/>
|
70027 |
+
<line num="91" type="stmt" count="0"/>
|
70028 |
+
<line num="93" type="stmt" count="0"/>
|
70029 |
+
<line num="95" type="stmt" count="0"/>
|
70030 |
+
<line num="96" type="stmt" count="0"/>
|
70031 |
+
<line num="98" type="stmt" count="0"/>
|
70032 |
+
<line num="99" type="stmt" count="0"/>
|
70033 |
+
<line num="101" type="stmt" count="0"/>
|
70034 |
+
<line num="102" type="stmt" count="0"/>
|
70035 |
+
<line num="103" type="stmt" count="0"/>
|
70036 |
+
<line num="113" type="method" name="getTagId" visibility="public" complexity="3" crap="12" count="0"/>
|
70037 |
+
<line num="114" type="stmt" count="0"/>
|
70038 |
+
<line num="116" type="stmt" count="0"/>
|
70039 |
+
<line num="118" type="stmt" count="0"/>
|
70040 |
+
<line num="119" type="stmt" count="0"/>
|
70041 |
+
<line num="120" type="stmt" count="0"/>
|
70042 |
+
<line num="122" type="stmt" count="0"/>
|
70043 |
+
<line num="123" type="stmt" count="0"/>
|
70044 |
+
<line num="125" type="stmt" count="0"/>
|
70045 |
+
<line num="127" type="stmt" count="0"/>
|
70046 |
+
<line num="128" type="stmt" count="0"/>
|
70047 |
+
<line num="138" type="method" name="getPosts" visibility="public" complexity="5" crap="30" count="0"/>
|
70048 |
+
<line num="140" type="stmt" count="0"/>
|
70049 |
+
<line num="143" type="stmt" count="0"/>
|
70050 |
+
<line num="144" type="stmt" count="0"/>
|
70051 |
+
<line num="145" type="stmt" count="0"/>
|
70052 |
+
<line num="147" type="stmt" count="0"/>
|
70053 |
+
<line num="148" type="stmt" count="0"/>
|
70054 |
+
<line num="149" type="stmt" count="0"/>
|
70055 |
+
<line num="150" type="stmt" count="0"/>
|
70056 |
+
<line num="152" type="stmt" count="0"/>
|
70057 |
+
<line num="153" type="stmt" count="0"/>
|
70058 |
+
<line num="156" type="stmt" count="0"/>
|
70059 |
+
<line num="157" type="stmt" count="0"/>
|
70060 |
+
<line num="159" type="stmt" count="0"/>
|
70061 |
+
<line num="160" type="stmt" count="0"/>
|
70062 |
+
<line num="161" type="stmt" count="0"/>
|
70063 |
+
<line num="163" type="stmt" count="0"/>
|
70064 |
+
<line num="164" type="stmt" count="0"/>
|
70065 |
+
<line num="173" type="method" name="getRssUrl" visibility="public" complexity="3" crap="12" count="0"/>
|
70066 |
+
<line num="175" type="stmt" count="0"/>
|
70067 |
+
<line num="177" type="stmt" count="0"/>
|
70068 |
+
<line num="179" type="stmt" count="0"/>
|
70069 |
+
<line num="180" type="stmt" count="0"/>
|
70070 |
+
<line num="181" type="stmt" count="0"/>
|
70071 |
+
<line num="182" type="stmt" count="0"/>
|
70072 |
+
<line num="183" type="stmt" count="0"/>
|
70073 |
+
<line num="186" type="stmt" count="0"/>
|
70074 |
+
<line num="187" type="stmt" count="0"/>
|
70075 |
+
<line num="188" type="stmt" count="0"/>
|
70076 |
+
<line num="189" type="stmt" count="0"/>
|
70077 |
+
<line num="190" type="stmt" count="0"/>
|
70078 |
+
<line num="191" type="stmt" count="0"/>
|
70079 |
+
<line num="192" type="stmt" count="0"/>
|
70080 |
+
<line num="193" type="stmt" count="0"/>
|
70081 |
+
<line num="194" type="stmt" count="0"/>
|
70082 |
+
<line num="196" type="stmt" count="0"/>
|
70083 |
+
<line num="197" type="stmt" count="0"/>
|
70084 |
+
<line num="198" type="stmt" count="0"/>
|
70085 |
+
<line num="199" type="stmt" count="0"/>
|
70086 |
+
<line num="200" type="stmt" count="0"/>
|
70087 |
+
<line num="201" type="stmt" count="0"/>
|
70088 |
+
<line num="203" type="stmt" count="0"/>
|
70089 |
+
<line num="204" type="stmt" count="0"/>
|
70090 |
+
<line num="216" type="method" name="wp_dashboard_setup" visibility="public" complexity="1" crap="2" count="0"/>
|
70091 |
+
<line num="217" type="stmt" count="0"/>
|
70092 |
+
<line num="218" type="stmt" count="0"/>
|
70093 |
+
<line num="219" type="stmt" count="0"/>
|
70094 |
+
<line num="220" type="stmt" count="0"/>
|
70095 |
+
<line num="221" type="stmt" count="0"/>
|
70096 |
+
<line num="222" type="stmt" count="0"/>
|
70097 |
+
<line num="223" type="stmt" count="0"/>
|
70098 |
+
<line num="224" type="stmt" count="0"/>
|
70099 |
+
<line num="225" type="stmt" count="0"/>
|
70100 |
+
<metrics loc="226" ncloc="132" classes="1" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="96" coveredstatements="0" elements="103" coveredelements="0"/>
|
70101 |
+
</file>
|
70102 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Notice.php">
|
70103 |
+
<class name="Notice" namespace="Boldgrid\Library\Library">
|
70104 |
+
<metrics complexity="23" methods="10" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="67" coveredstatements="0" elements="77" coveredelements="0"/>
|
70105 |
+
</class>
|
70106 |
+
<line num="44" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
70107 |
+
<line num="45" type="stmt" count="0"/>
|
70108 |
+
<line num="46" type="stmt" count="0"/>
|
70109 |
+
<line num="47" type="stmt" count="0"/>
|
70110 |
+
<line num="49" type="stmt" count="0"/>
|
70111 |
+
<line num="50" type="stmt" count="0"/>
|
70112 |
+
<line num="62" type="method" name="setClass" visibility="private" complexity="2" crap="6" count="0"/>
|
70113 |
+
<line num="65" type="stmt" count="0"/>
|
70114 |
+
<line num="68" type="stmt" count="0"/>
|
70115 |
+
<line num="69" type="stmt" count="0"/>
|
70116 |
+
<line num="86" type="method" name="show" visibility="public" complexity="2" crap="6" count="0"/>
|
70117 |
+
<line num="87" type="stmt" count="0"/>
|
70118 |
+
<line num="89" type="stmt" count="0"/>
|
70119 |
+
<line num="90" type="stmt" count="0"/>
|
70120 |
+
<line num="91" type="stmt" count="0"/>
|
70121 |
+
<line num="93" type="stmt" count="0"/>
|
70122 |
+
<line num="94" type="stmt" count="0"/>
|
70123 |
+
<line num="95" type="stmt" count="0"/>
|
70124 |
+
<line num="96" type="stmt" count="0"/>
|
70125 |
+
<line num="97" type="stmt" count="0"/>
|
70126 |
+
<line num="98" type="stmt" count="0"/>
|
70127 |
+
<line num="107" type="stmt" count="0"/>
|
70128 |
+
<line num="108" type="stmt" count="0"/>
|
70129 |
+
<line num="117" type="method" name="add" visibility="public" complexity="2" crap="6" count="0"/>
|
70130 |
+
<line num="118" type="stmt" count="0"/>
|
70131 |
+
<line num="119" type="stmt" count="0"/>
|
70132 |
+
<line num="120" type="stmt" count="0"/>
|
70133 |
+
<line num="121" type="stmt" count="0"/>
|
70134 |
+
<line num="122" type="stmt" count="0"/>
|
70135 |
+
<line num="131" type="method" name="getName" visibility="protected" complexity="1" crap="2" count="0"/>
|
70136 |
+
<line num="132" type="stmt" count="0"/>
|
70137 |
+
<line num="133" type="stmt" count="0"/>
|
70138 |
+
<line num="142" type="method" name="getArgs" visibility="protected" complexity="1" crap="2" count="0"/>
|
70139 |
+
<line num="143" type="stmt" count="0"/>
|
70140 |
+
<line num="144" type="stmt" count="0"/>
|
70141 |
+
<line num="159" type="method" name="dismiss" visibility="public" complexity="4" crap="20" count="0"/>
|
70142 |
+
<line num="161" type="stmt" count="0"/>
|
70143 |
+
<line num="162" type="stmt" count="0"/>
|
70144 |
+
<line num="165" type="stmt" count="0"/>
|
70145 |
+
<line num="166" type="stmt" count="0"/>
|
70146 |
+
<line num="167" type="stmt" count="0"/>
|
70147 |
+
<line num="168" type="stmt" count="0"/>
|
70148 |
+
<line num="170" type="stmt" count="0"/>
|
70149 |
+
<line num="171" type="stmt" count="0"/>
|
70150 |
+
<line num="172" type="stmt" count="0"/>
|
70151 |
+
<line num="173" type="stmt" count="0"/>
|
70152 |
+
<line num="174" type="stmt" count="0"/>
|
70153 |
+
<line num="185" type="method" name="undismiss" visibility="public" complexity="6" crap="42" count="0"/>
|
70154 |
+
<line num="187" type="stmt" count="0"/>
|
70155 |
+
<line num="188" type="stmt" count="0"/>
|
70156 |
+
<line num="191" type="stmt" count="0"/>
|
70157 |
+
<line num="194" type="stmt" count="0"/>
|
70158 |
+
<line num="195" type="stmt" count="0"/>
|
70159 |
+
<line num="196" type="stmt" count="0"/>
|
70160 |
+
<line num="197" type="stmt" count="0"/>
|
70161 |
+
<line num="198" type="stmt" count="0"/>
|
70162 |
+
<line num="199" type="stmt" count="0"/>
|
70163 |
+
<line num="200" type="stmt" count="0"/>
|
70164 |
+
<line num="201" type="stmt" count="0"/>
|
70165 |
+
<line num="213" type="method" name="isDismissed" visibility="public" complexity="3" crap="12" count="0"/>
|
70166 |
+
<line num="214" type="stmt" count="0"/>
|
70167 |
+
<line num="215" type="stmt" count="0"/>
|
70168 |
+
<line num="218" type="stmt" count="0"/>
|
70169 |
+
<line num="221" type="stmt" count="0"/>
|
70170 |
+
<line num="222" type="stmt" count="0"/>
|
70171 |
+
<line num="223" type="stmt" count="0"/>
|
70172 |
+
<line num="224" type="stmt" count="0"/>
|
70173 |
+
<line num="225" type="stmt" count="0"/>
|
70174 |
+
<line num="226" type="stmt" count="0"/>
|
70175 |
+
<line num="228" type="stmt" count="0"/>
|
70176 |
+
<line num="229" type="stmt" count="0"/>
|
70177 |
+
<line num="240" type="method" name="enqueue" visibility="public" complexity="1" crap="2" count="0"/>
|
70178 |
+
<line num="241" type="stmt" count="0"/>
|
70179 |
+
<line num="242" type="stmt" count="0"/>
|
70180 |
+
<line num="243" type="stmt" count="0"/>
|
70181 |
+
<line num="244" type="stmt" count="0"/>
|
70182 |
+
<line num="245" type="stmt" count="0"/>
|
70183 |
+
<metrics loc="246" ncloc="102" classes="1" methods="10" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="67" coveredstatements="0" elements="77" coveredelements="0"/>
|
70184 |
+
</file>
|
70185 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/RatingPrompt.php">
|
70186 |
+
<class name="RatingPrompt" namespace="Boldgrid\Library\Library">
|
70187 |
+
<metrics complexity="66" methods="20" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="200" coveredstatements="0" elements="220" coveredelements="0"/>
|
70188 |
+
</class>
|
70189 |
+
<line num="64" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
70190 |
+
<line num="66" type="stmt" count="0"/>
|
70191 |
+
<line num="67" type="stmt" count="0"/>
|
70192 |
+
<line num="68" type="stmt" count="0"/>
|
70193 |
+
<line num="69" type="stmt" count="0"/>
|
70194 |
+
<line num="71" type="stmt" count="0"/>
|
70195 |
+
<line num="72" type="stmt" count="0"/>
|
70196 |
+
<line num="84" type="method" name="addPrompt" visibility="public" complexity="3" crap="12" count="0"/>
|
70197 |
+
<line num="85" type="stmt" count="0"/>
|
70198 |
+
<line num="96" type="stmt" count="0"/>
|
70199 |
+
<line num="97" type="stmt" count="0"/>
|
70200 |
+
<line num="99" type="stmt" count="0"/>
|
70201 |
+
<line num="101" type="stmt" count="0"/>
|
70202 |
+
<line num="103" type="stmt" count="0"/>
|
70203 |
+
<line num="104" type="stmt" count="0"/>
|
70204 |
+
<line num="106" type="stmt" count="0"/>
|
70205 |
+
<line num="107" type="stmt" count="0"/>
|
70206 |
+
<line num="114" type="method" name="admin_notices" visibility="public" complexity="5" crap="30" count="0"/>
|
70207 |
+
<line num="115" type="stmt" count="0"/>
|
70208 |
+
<line num="116" type="stmt" count="0"/>
|
70209 |
+
<line num="117" type="stmt" count="0"/>
|
70210 |
+
<line num="119" type="stmt" count="0"/>
|
70211 |
+
<line num="120" type="stmt" count="0"/>
|
70212 |
+
<line num="121" type="stmt" count="0"/>
|
70213 |
+
<line num="122" type="stmt" count="0"/>
|
70214 |
+
<line num="124" type="stmt" count="0"/>
|
70215 |
+
<line num="125" type="stmt" count="0"/>
|
70216 |
+
<line num="126" type="stmt" count="0"/>
|
70217 |
+
<line num="127" type="stmt" count="0"/>
|
70218 |
+
<line num="128" type="stmt" count="0"/>
|
70219 |
+
<line num="129" type="stmt" count="0"/>
|
70220 |
+
<line num="130" type="stmt" count="0"/>
|
70221 |
+
<line num="131" type="stmt" count="0"/>
|
70222 |
+
<line num="132" type="stmt" count="0"/>
|
70223 |
+
<line num="133" type="stmt" count="0"/>
|
70224 |
+
<line num="142" type="method" name="ajaxDismiss" visibility="public" complexity="8" crap="72" count="0"/>
|
70225 |
+
<line num="143" type="stmt" count="0"/>
|
70226 |
+
<line num="144" type="stmt" count="0"/>
|
70227 |
+
<line num="145" type="stmt" count="0"/>
|
70228 |
+
<line num="147" type="stmt" count="0"/>
|
70229 |
+
<line num="148" type="stmt" count="0"/>
|
70230 |
+
<line num="149" type="stmt" count="0"/>
|
70231 |
+
<line num="151" type="stmt" count="0"/>
|
70232 |
+
<line num="152" type="stmt" count="0"/>
|
70233 |
+
<line num="153" type="stmt" count="0"/>
|
70234 |
+
<line num="155" type="stmt" count="0"/>
|
70235 |
+
<line num="156" type="stmt" count="0"/>
|
70236 |
+
<line num="157" type="stmt" count="0"/>
|
70237 |
+
<line num="158" type="stmt" count="0"/>
|
70238 |
+
<line num="159" type="stmt" count="0"/>
|
70239 |
+
<line num="160" type="stmt" count="0"/>
|
70240 |
+
<line num="161" type="stmt" count="0"/>
|
70241 |
+
<line num="162" type="stmt" count="0"/>
|
70242 |
+
<line num="163" type="stmt" count="0"/>
|
70243 |
+
<line num="164" type="stmt" count="0"/>
|
70244 |
+
<line num="165" type="stmt" count="0"/>
|
70245 |
+
<line num="166" type="stmt" count="0"/>
|
70246 |
+
<line num="167" type="stmt" count="0"/>
|
70247 |
+
<line num="168" type="stmt" count="0"/>
|
70248 |
+
<line num="178" type="method" name="getDecisionAttributes" visibility="public" complexity="5" crap="30" count="0"/>
|
70249 |
+
<line num="179" type="stmt" count="0"/>
|
70250 |
+
<line num="181" type="stmt" count="0"/>
|
70251 |
+
<line num="183" type="stmt" count="0"/>
|
70252 |
+
<line num="185" type="stmt" count="0"/>
|
70253 |
+
<line num="186" type="stmt" count="0"/>
|
70254 |
+
<line num="187" type="stmt" count="0"/>
|
70255 |
+
<line num="188" type="stmt" count="0"/>
|
70256 |
+
<line num="189" type="stmt" count="0"/>
|
70257 |
+
<line num="190" type="stmt" count="0"/>
|
70258 |
+
<line num="192" type="stmt" count="0"/>
|
70259 |
+
<line num="193" type="stmt" count="0"/>
|
70260 |
+
<line num="194" type="stmt" count="0"/>
|
70261 |
+
<line num="196" type="stmt" count="0"/>
|
70262 |
+
<line num="197" type="stmt" count="0"/>
|
70263 |
+
<line num="198" type="stmt" count="0"/>
|
70264 |
+
<line num="200" type="stmt" count="0"/>
|
70265 |
+
<line num="201" type="stmt" count="0"/>
|
70266 |
+
<line num="214" type="method" name="getLastDismissal" visibility="public" complexity="5" crap="30" count="0"/>
|
70267 |
+
<line num="215" type="stmt" count="0"/>
|
70268 |
+
<line num="217" type="stmt" count="0"/>
|
70269 |
+
<line num="218" type="stmt" count="0"/>
|
70270 |
+
<line num="219" type="stmt" count="0"/>
|
70271 |
+
<line num="221" type="stmt" count="0"/>
|
70272 |
+
<line num="222" type="stmt" count="0"/>
|
70273 |
+
<line num="223" type="stmt" count="0"/>
|
70274 |
+
<line num="224" type="stmt" count="0"/>
|
70275 |
+
<line num="225" type="stmt" count="0"/>
|
70276 |
+
<line num="227" type="stmt" count="0"/>
|
70277 |
+
<line num="228" type="stmt" count="0"/>
|
70278 |
+
<line num="230" type="stmt" count="0"/>
|
70279 |
+
<line num="231" type="stmt" count="0"/>
|
70280 |
+
<line num="240" type="method" name="getMinInterval" visibility="public" complexity="1" crap="2" count="0"/>
|
70281 |
+
<line num="241" type="stmt" count="0"/>
|
70282 |
+
<line num="242" type="stmt" count="0"/>
|
70283 |
+
<line num="249" type="method" name="admin_enqueue_scripts" visibility="public" complexity="3" crap="12" count="0"/>
|
70284 |
+
<line num="250" type="stmt" count="0"/>
|
70285 |
+
<line num="251" type="stmt" count="0"/>
|
70286 |
+
<line num="252" type="stmt" count="0"/>
|
70287 |
+
<line num="254" type="stmt" count="0"/>
|
70288 |
+
<line num="256" type="stmt" count="0"/>
|
70289 |
+
<line num="257" type="stmt" count="0"/>
|
70290 |
+
<line num="258" type="stmt" count="0"/>
|
70291 |
+
<line num="259" type="stmt" count="0"/>
|
70292 |
+
<line num="260" type="stmt" count="0"/>
|
70293 |
+
<line num="261" type="stmt" count="0"/>
|
70294 |
+
<line num="262" type="stmt" count="0"/>
|
70295 |
+
<line num="264" type="stmt" count="0"/>
|
70296 |
+
<line num="265" type="stmt" count="0"/>
|
70297 |
+
<line num="266" type="stmt" count="0"/>
|
70298 |
+
<line num="267" type="stmt" count="0"/>
|
70299 |
+
<line num="268" type="stmt" count="0"/>
|
70300 |
+
<line num="269" type="stmt" count="0"/>
|
70301 |
+
<line num="270" type="stmt" count="0"/>
|
70302 |
+
<line num="271" type="stmt" count="0"/>
|
70303 |
+
<line num="281" type="method" name="getPromptSlides" visibility="public" complexity="3" crap="12" count="0"/>
|
70304 |
+
<line num="282" type="stmt" count="0"/>
|
70305 |
+
<line num="284" type="stmt" count="0"/>
|
70306 |
+
<line num="285" type="stmt" count="0"/>
|
70307 |
+
<line num="286" type="stmt" count="0"/>
|
70308 |
+
<line num="288" type="stmt" count="0"/>
|
70309 |
+
<line num="289" type="stmt" count="0"/>
|
70310 |
+
<line num="290" type="stmt" count="0"/>
|
70311 |
+
<line num="292" type="stmt" count="0"/>
|
70312 |
+
<line num="293" type="stmt" count="0"/>
|
70313 |
+
<line num="304" type="method" name="getSlideMarkup" visibility="public" complexity="4" crap="20" count="0"/>
|
70314 |
+
<line num="305" type="stmt" count="0"/>
|
70315 |
+
<line num="307" type="stmt" count="0"/>
|
70316 |
+
<line num="309" type="stmt" count="0"/>
|
70317 |
+
<line num="310" type="stmt" count="0"/>
|
70318 |
+
<line num="312" type="stmt" count="0"/>
|
70319 |
+
<line num="313" type="stmt" count="0"/>
|
70320 |
+
<line num="315" type="stmt" count="0"/>
|
70321 |
+
<line num="316" type="stmt" count="0"/>
|
70322 |
+
<line num="317" type="stmt" count="0"/>
|
70323 |
+
<line num="318" type="stmt" count="0"/>
|
70324 |
+
<line num="319" type="stmt" count="0"/>
|
70325 |
+
<line num="321" type="stmt" count="0"/>
|
70326 |
+
<line num="322" type="stmt" count="0"/>
|
70327 |
+
<line num="323" type="stmt" count="0"/>
|
70328 |
+
<line num="324" type="stmt" count="0"/>
|
70329 |
+
<line num="326" type="stmt" count="0"/>
|
70330 |
+
<line num="328" type="stmt" count="0"/>
|
70331 |
+
<line num="329" type="stmt" count="0"/>
|
70332 |
+
<line num="340" type="method" name="isMinInterval" visibility="public" complexity="1" crap="2" count="0"/>
|
70333 |
+
<line num="341" type="stmt" count="0"/>
|
70334 |
+
<line num="342" type="stmt" count="0"/>
|
70335 |
+
<line num="352" type="method" name="getPrompt" visibility="public" complexity="3" crap="12" count="0"/>
|
70336 |
+
<line num="353" type="stmt" count="0"/>
|
70337 |
+
<line num="355" type="stmt" count="0"/>
|
70338 |
+
<line num="357" type="stmt" count="0"/>
|
70339 |
+
<line num="358" type="stmt" count="0"/>
|
70340 |
+
<line num="359" type="stmt" count="0"/>
|
70341 |
+
<line num="360" type="stmt" count="0"/>
|
70342 |
+
<line num="361" type="stmt" count="0"/>
|
70343 |
+
<line num="362" type="stmt" count="0"/>
|
70344 |
+
<line num="364" type="stmt" count="0"/>
|
70345 |
+
<line num="365" type="stmt" count="0"/>
|
70346 |
+
<line num="374" type="method" name="getPrompts" visibility="public" complexity="1" crap="2" count="0"/>
|
70347 |
+
<line num="375" type="stmt" count="0"/>
|
70348 |
+
<line num="376" type="stmt" count="0"/>
|
70349 |
+
<line num="386" type="method" name="isPluginDismissed" visibility="public" complexity="3" crap="12" count="0"/>
|
70350 |
+
<line num="387" type="stmt" count="0"/>
|
70351 |
+
<line num="389" type="stmt" count="0"/>
|
70352 |
+
<line num="391" type="stmt" count="0"/>
|
70353 |
+
<line num="392" type="stmt" count="0"/>
|
70354 |
+
<line num="393" type="stmt" count="0"/>
|
70355 |
+
<line num="394" type="stmt" count="0"/>
|
70356 |
+
<line num="395" type="stmt" count="0"/>
|
70357 |
+
<line num="397" type="stmt" count="0"/>
|
70358 |
+
<line num="398" type="stmt" count="0"/>
|
70359 |
+
<line num="408" type="method" name="isPrompt" visibility="public" complexity="1" crap="2" count="0"/>
|
70360 |
+
<line num="409" type="stmt" count="0"/>
|
70361 |
+
<line num="411" type="stmt" count="0"/>
|
70362 |
+
<line num="412" type="stmt" count="0"/>
|
70363 |
+
<line num="422" type="method" name="getPluginPrompts" visibility="public" complexity="3" crap="12" count="0"/>
|
70364 |
+
<line num="423" type="stmt" count="0"/>
|
70365 |
+
<line num="425" type="stmt" count="0"/>
|
70366 |
+
<line num="427" type="stmt" count="0"/>
|
70367 |
+
<line num="428" type="stmt" count="0"/>
|
70368 |
+
<line num="429" type="stmt" count="0"/>
|
70369 |
+
<line num="430" type="stmt" count="0"/>
|
70370 |
+
<line num="431" type="stmt" count="0"/>
|
70371 |
+
<line num="433" type="stmt" count="0"/>
|
70372 |
+
<line num="434" type="stmt" count="0"/>
|
70373 |
+
<line num="443" type="method" name="getNext" visibility="public" complexity="9" crap="90" count="0"/>
|
70374 |
+
<line num="444" type="stmt" count="0"/>
|
70375 |
+
<line num="445" type="stmt" count="0"/>
|
70376 |
+
<line num="447" type="stmt" count="0"/>
|
70377 |
+
<line num="448" type="stmt" count="0"/>
|
70378 |
+
<line num="449" type="stmt" count="0"/>
|
70379 |
+
<line num="450" type="stmt" count="0"/>
|
70380 |
+
<line num="452" type="stmt" count="0"/>
|
70381 |
+
<line num="453" type="stmt" count="0"/>
|
70382 |
+
<line num="454" type="stmt" count="0"/>
|
70383 |
+
<line num="455" type="stmt" count="0"/>
|
70384 |
+
<line num="457" type="stmt" count="0"/>
|
70385 |
+
<line num="458" type="stmt" count="0"/>
|
70386 |
+
<line num="459" type="stmt" count="0"/>
|
70387 |
+
<line num="461" type="stmt" count="0"/>
|
70388 |
+
<line num="462" type="stmt" count="0"/>
|
70389 |
+
<line num="474" type="method" name="updatePrompt" visibility="public" complexity="4" crap="20" count="0"/>
|
70390 |
+
<line num="475" type="stmt" count="0"/>
|
70391 |
+
<line num="477" type="stmt" count="0"/>
|
70392 |
+
<line num="479" type="stmt" count="0"/>
|
70393 |
+
<line num="480" type="stmt" count="0"/>
|
70394 |
+
<line num="481" type="stmt" count="0"/>
|
70395 |
+
<line num="483" type="stmt" count="0"/>
|
70396 |
+
<line num="485" type="stmt" count="0"/>
|
70397 |
+
<line num="486" type="stmt" count="0"/>
|
70398 |
+
<line num="487" type="stmt" count="0"/>
|
70399 |
+
<line num="489" type="stmt" count="0"/>
|
70400 |
+
<line num="490" type="stmt" count="0"/>
|
70401 |
+
<line num="502" type="method" name="savePrompts" visibility="public" complexity="1" crap="2" count="0"/>
|
70402 |
+
<line num="503" type="stmt" count="0"/>
|
70403 |
+
<line num="504" type="stmt" count="0"/>
|
70404 |
+
<line num="518" type="method" name="updatePromptKey" visibility="public" complexity="1" crap="2" count="0"/>
|
70405 |
+
<line num="519" type="stmt" count="0"/>
|
70406 |
+
<line num="521" type="stmt" count="0"/>
|
70407 |
+
<line num="523" type="stmt" count="0"/>
|
70408 |
+
<line num="524" type="stmt" count="0"/>
|
70409 |
+
<metrics loc="525" ncloc="309" classes="1" methods="20" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="200" coveredstatements="0" elements="220" coveredelements="0"/>
|
70410 |
+
</file>
|
70411 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Registration.php">
|
70412 |
+
<class name="Registration" namespace="Boldgrid\Library\Library">
|
70413 |
+
<metrics complexity="4" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="12" coveredelements="0"/>
|
70414 |
+
</class>
|
70415 |
+
<line num="27" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
70416 |
+
<line num="28" type="stmt" count="0"/>
|
70417 |
+
<line num="29" type="stmt" count="0"/>
|
70418 |
+
<line num="50" type="method" name="preUpgradePlugin" visibility="public" complexity="3" crap="12" count="0"/>
|
70419 |
+
<line num="51" type="stmt" count="0"/>
|
70420 |
+
<line num="53" type="stmt" count="0"/>
|
70421 |
+
<line num="55" type="stmt" count="0"/>
|
70422 |
+
<line num="68" type="stmt" count="0"/>
|
70423 |
+
<line num="69" type="stmt" count="0"/>
|
70424 |
+
<line num="70" type="stmt" count="0"/>
|
70425 |
+
<line num="72" type="stmt" count="0"/>
|
70426 |
+
<line num="73" type="stmt" count="0"/>
|
70427 |
+
<metrics loc="74" ncloc="24" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="12" coveredelements="0"/>
|
70428 |
+
</file>
|
70429 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/ReleaseChannel.php">
|
70430 |
+
<class name="ReleaseChannel" namespace="Boldgrid\Library\Library">
|
70431 |
+
<metrics complexity="14" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="0" elements="38" coveredelements="0"/>
|
70432 |
+
</class>
|
70433 |
+
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
70434 |
+
<line num="40" type="stmt" count="0"/>
|
70435 |
+
<line num="41" type="stmt" count="0"/>
|
70436 |
+
<line num="42" type="stmt" count="0"/>
|
70437 |
+
<line num="43" type="stmt" count="0"/>
|
70438 |
+
<line num="52" type="method" name="setPluginChannel" visibility="private" complexity="2" crap="6" count="0"/>
|
70439 |
+
<line num="53" type="stmt" count="0"/>
|
70440 |
+
<line num="54" type="stmt" count="0"/>
|
70441 |
+
<line num="63" type="method" name="setThemeChannel" visibility="private" complexity="2" crap="6" count="0"/>
|
70442 |
+
<line num="64" type="stmt" count="0"/>
|
70443 |
+
<line num="65" type="stmt" count="0"/>
|
70444 |
+
<line num="85" type="method" name="updateChannel" visibility="public" complexity="7" crap="56" count="0"/>
|
70445 |
+
<line num="86" type="stmt" count="0"/>
|
70446 |
+
<line num="87" type="stmt" count="0"/>
|
70447 |
+
<line num="88" type="stmt" count="0"/>
|
70448 |
+
<line num="89" type="stmt" count="0"/>
|
70449 |
+
<line num="90" type="stmt" count="0"/>
|
70450 |
+
<line num="91" type="stmt" count="0"/>
|
70451 |
+
<line num="92" type="stmt" count="0"/>
|
70452 |
+
<line num="93" type="stmt" count="0"/>
|
70453 |
+
<line num="96" type="stmt" count="0"/>
|
70454 |
+
<line num="97" type="stmt" count="0"/>
|
70455 |
+
<line num="98" type="stmt" count="0"/>
|
70456 |
+
<line num="99" type="stmt" count="0"/>
|
70457 |
+
<line num="102" type="stmt" count="0"/>
|
70458 |
+
<line num="111" type="stmt" count="0"/>
|
70459 |
+
<line num="113" type="stmt" count="0"/>
|
70460 |
+
<line num="114" type="stmt" count="0"/>
|
70461 |
+
<line num="115" type="stmt" count="0"/>
|
70462 |
+
<line num="116" type="stmt" count="0"/>
|
70463 |
+
<line num="118" type="stmt" count="0"/>
|
70464 |
+
<line num="119" type="stmt" count="0"/>
|
70465 |
+
<line num="130" type="method" name="getPluginChannel" visibility="public" complexity="1" crap="2" count="0"/>
|
70466 |
+
<line num="131" type="stmt" count="0"/>
|
70467 |
+
<line num="132" type="stmt" count="0"/>
|
70468 |
+
<line num="143" type="method" name="getThemeChannel" visibility="public" complexity="1" crap="2" count="0"/>
|
70469 |
+
<line num="144" type="stmt" count="0"/>
|
70470 |
+
<line num="145" type="stmt" count="0"/>
|
70471 |
+
<metrics loc="146" ncloc="58" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="0" elements="38" coveredelements="0"/>
|
70472 |
+
</file>
|
70473 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Reseller.php">
|
70474 |
+
<class name="Reseller" namespace="Boldgrid\Library\Library">
|
70475 |
+
<metrics complexity="3" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="13" coveredelements="0"/>
|
70476 |
+
</class>
|
70477 |
+
<line num="44" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
70478 |
+
<line num="45" type="stmt" count="0"/>
|
70479 |
+
<line num="46" type="stmt" count="0"/>
|
70480 |
+
<line num="47" type="stmt" count="0"/>
|
70481 |
+
<line num="60" type="method" name="hasCoinUrl" visibility="public" complexity="1" crap="2" count="0"/>
|
70482 |
+
<line num="61" type="stmt" count="0"/>
|
70483 |
+
<line num="62" type="stmt" count="0"/>
|
70484 |
+
<line num="71" type="method" name="setData" visibility="public" complexity="1" crap="2" count="0"/>
|
70485 |
+
<line num="72" type="stmt" count="0"/>
|
70486 |
+
<line num="73" type="stmt" count="0"/>
|
70487 |
+
<line num="74" type="stmt" count="0"/>
|
70488 |
+
<line num="76" type="stmt" count="0"/>
|
70489 |
+
<line num="77" type="stmt" count="0"/>
|
70490 |
+
<metrics loc="78" ncloc="27" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="13" coveredelements="0"/>
|
70491 |
+
</file>
|
70492 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Settings.php">
|
70493 |
+
<class name="Settings" namespace="Boldgrid\Library\Library">
|
70494 |
+
<metrics complexity="6" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="3" elements="14" coveredelements="5"/>
|
70495 |
+
</class>
|
70496 |
+
<line num="35" type="method" name="get" visibility="public" complexity="1" crap="1" count="5"/>
|
70497 |
+
<line num="36" type="stmt" count="5"/>
|
70498 |
+
<line num="49" type="method" name="getKey" visibility="public" complexity="2" crap="2" count="5"/>
|
70499 |
+
<line num="50" type="stmt" count="5"/>
|
70500 |
+
<line num="52" type="stmt" count="5"/>
|
70501 |
+
<line num="63" type="method" name="hasKey" visibility="public" complexity="1" crap="2" count="0"/>
|
70502 |
+
<line num="64" type="stmt" count="0"/>
|
70503 |
+
<line num="66" type="stmt" count="0"/>
|
70504 |
+
<line num="77" type="method" name="set" visibility="public" complexity="1" crap="2" count="0"/>
|
70505 |
+
<line num="78" type="stmt" count="0"/>
|
70506 |
+
<line num="90" type="method" name="setKey" visibility="public" complexity="1" crap="2" count="0"/>
|
70507 |
+
<line num="91" type="stmt" count="0"/>
|
70508 |
+
<line num="93" type="stmt" count="0"/>
|
70509 |
+
<line num="95" type="stmt" count="0"/>
|
70510 |
+
<metrics loc="97" ncloc="35" classes="1" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="3" elements="14" coveredelements="5"/>
|
70511 |
+
</file>
|
70512 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Start.php">
|
70513 |
+
<class name="Start" namespace="Boldgrid\Library\Library">
|
70514 |
+
<metrics complexity="13" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="52" coveredstatements="0" elements="60" coveredelements="0"/>
|
70515 |
+
</class>
|
70516 |
+
<line num="56" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
70517 |
+
<line num="57" type="stmt" count="0"/>
|
70518 |
+
<line num="59" type="stmt" count="0"/>
|
70519 |
+
<line num="62" type="stmt" count="0"/>
|
70520 |
+
<line num="64" type="stmt" count="0"/>
|
70521 |
+
<line num="65" type="stmt" count="0"/>
|
70522 |
+
<line num="67" type="stmt" count="0"/>
|
70523 |
+
<line num="68" type="stmt" count="0"/>
|
70524 |
+
<line num="69" type="stmt" count="0"/>
|
70525 |
+
<line num="71" type="stmt" count="0"/>
|
70526 |
+
<line num="72" type="stmt" count="0"/>
|
70527 |
+
<line num="81" type="method" name="setupKeyConnections" visibility="public" complexity="2" crap="6" count="0"/>
|
70528 |
+
<line num="82" type="stmt" count="0"/>
|
70529 |
+
<line num="83" type="stmt" count="0"/>
|
70530 |
+
<line num="92" type="method" name="getReleaseChannel" visibility="public" complexity="1" crap="2" count="0"/>
|
70531 |
+
<line num="93" type="stmt" count="0"/>
|
70532 |
+
<line num="94" type="stmt" count="0"/>
|
70533 |
+
<line num="103" type="method" name="getKey" visibility="public" complexity="1" crap="2" count="0"/>
|
70534 |
+
<line num="104" type="stmt" count="0"/>
|
70535 |
+
<line num="105" type="stmt" count="0"/>
|
70536 |
+
<line num="114" type="method" name="init" visibility="public" complexity="1" crap="2" count="0"/>
|
70537 |
+
<line num="116" type="stmt" count="0"/>
|
70538 |
+
<line num="119" type="stmt" count="0"/>
|
70539 |
+
<line num="122" type="stmt" count="0"/>
|
70540 |
+
<line num="125" type="stmt" count="0"/>
|
70541 |
+
<line num="126" type="stmt" count="0"/>
|
70542 |
+
<line num="129" type="stmt" count="0"/>
|
70543 |
+
<line num="132" type="stmt" count="0"/>
|
70544 |
+
<line num="134" type="stmt" count="0"/>
|
70545 |
+
<line num="135" type="stmt" count="0"/>
|
70546 |
+
<line num="137" type="stmt" count="0"/>
|
70547 |
+
<line num="138" type="stmt" count="0"/>
|
70548 |
+
<line num="139" type="stmt" count="0"/>
|
70549 |
+
<line num="140" type="stmt" count="0"/>
|
70550 |
+
<line num="141" type="stmt" count="0"/>
|
70551 |
+
<line num="142" type="stmt" count="0"/>
|
70552 |
+
<line num="149" type="method" name="loadPluginTextdomain" visibility="private" complexity="1" crap="2" count="0"/>
|
70553 |
+
<line num="150" type="stmt" count="0"/>
|
70554 |
+
<line num="151" type="stmt" count="0"/>
|
70555 |
+
<line num="158" type="method" name="loadPluginInstaller" visibility="public" complexity="3" crap="12" count="0"/>
|
70556 |
+
<line num="159" type="stmt" count="0"/>
|
70557 |
+
<line num="160" type="stmt" count="0"/>
|
70558 |
+
<line num="162" type="stmt" count="0"/>
|
70559 |
+
<line num="163" type="stmt" count="0"/>
|
70560 |
+
<line num="164" type="stmt" count="0"/>
|
70561 |
+
<line num="165" type="stmt" count="0"/>
|
70562 |
+
<line num="166" type="stmt" count="0"/>
|
70563 |
+
<line num="167" type="stmt" count="0"/>
|
70564 |
+
<line num="168" type="stmt" count="0"/>
|
70565 |
+
<line num="169" type="stmt" count="0"/>
|
70566 |
+
<line num="179" type="method" name="filterConfigs" visibility="public" complexity="2" crap="6" count="0"/>
|
70567 |
+
<line num="180" type="stmt" count="0"/>
|
70568 |
+
<line num="181" type="stmt" count="0"/>
|
70569 |
+
<line num="182" type="stmt" count="0"/>
|
70570 |
+
<line num="183" type="stmt" count="0"/>
|
70571 |
+
<line num="184" type="stmt" count="0"/>
|
70572 |
+
<line num="185" type="stmt" count="0"/>
|
70573 |
+
<line num="186" type="stmt" count="0"/>
|
70574 |
+
<line num="188" type="stmt" count="0"/>
|
70575 |
+
<line num="189" type="stmt" count="0"/>
|
70576 |
+
<metrics loc="190" ncloc="89" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="52" coveredstatements="0" elements="60" coveredelements="0"/>
|
70577 |
+
</file>
|
70578 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui.php">
|
70579 |
+
<class name="Ui" namespace="Boldgrid\Library\Library">
|
70580 |
+
<metrics complexity="11" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="76" coveredstatements="0" elements="79" coveredelements="0"/>
|
70581 |
+
</class>
|
70582 |
+
<line num="68" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
70583 |
+
<line num="69" type="stmt" count="0"/>
|
70584 |
+
<line num="70" type="stmt" count="0"/>
|
70585 |
+
<line num="79" type="method" name="enqueue" visibility="public" complexity="1" crap="2" count="0"/>
|
70586 |
+
<line num="80" type="stmt" count="0"/>
|
70587 |
+
<line num="81" type="stmt" count="0"/>
|
70588 |
+
<line num="82" type="stmt" count="0"/>
|
70589 |
+
<line num="83" type="stmt" count="0"/>
|
70590 |
+
<line num="85" type="stmt" count="0"/>
|
70591 |
+
<line num="86" type="stmt" count="0"/>
|
70592 |
+
<line num="87" type="stmt" count="0"/>
|
70593 |
+
<line num="88" type="stmt" count="0"/>
|
70594 |
+
<line num="89" type="stmt" count="0"/>
|
70595 |
+
<line num="91" type="stmt" count="0"/>
|
70596 |
+
<line num="92" type="stmt" count="0"/>
|
70597 |
+
<line num="93" type="stmt" count="0"/>
|
70598 |
+
<line num="94" type="stmt" count="0"/>
|
70599 |
+
<line num="95" type="stmt" count="0"/>
|
70600 |
+
<line num="97" type="stmt" count="0"/>
|
70601 |
+
<line num="98" type="stmt" count="0"/>
|
70602 |
+
<line num="99" type="stmt" count="0"/>
|
70603 |
+
<line num="100" type="stmt" count="0"/>
|
70604 |
+
<line num="102" type="stmt" count="0"/>
|
70605 |
+
<line num="103" type="stmt" count="0"/>
|
70606 |
+
<line num="104" type="stmt" count="0"/>
|
70607 |
+
<line num="105" type="stmt" count="0"/>
|
70608 |
+
<line num="106" type="stmt" count="0"/>
|
70609 |
+
<line num="107" type="stmt" count="0"/>
|
70610 |
+
<line num="131" type="method" name="render_col_container" visibility="public" complexity="9" crap="90" count="0"/>
|
70611 |
+
<line num="133" type="stmt" count="0"/>
|
70612 |
+
<line num="134" type="stmt" count="0"/>
|
70613 |
+
<line num="135" type="stmt" count="0"/>
|
70614 |
+
<line num="137" type="stmt" count="0"/>
|
70615 |
+
<line num="139" type="stmt" count="0"/>
|
70616 |
+
<line num="140" type="stmt" count="0"/>
|
70617 |
+
<line num="142" type="stmt" count="0"/>
|
70618 |
+
<line num="143" type="stmt" count="0"/>
|
70619 |
+
<line num="144" type="stmt" count="0"/>
|
70620 |
+
<line num="145" type="stmt" count="0"/>
|
70621 |
+
<line num="153" type="stmt" count="0"/>
|
70622 |
+
<line num="154" type="stmt" count="0"/>
|
70623 |
+
<line num="155" type="stmt" count="0"/>
|
70624 |
+
<line num="156" type="stmt" count="0"/>
|
70625 |
+
<line num="157" type="stmt" count="0"/>
|
70626 |
+
<line num="158" type="stmt" count="0"/>
|
70627 |
+
<line num="159" type="stmt" count="0"/>
|
70628 |
+
<line num="160" type="stmt" count="0"/>
|
70629 |
+
<line num="162" type="stmt" count="0"/>
|
70630 |
+
<line num="163" type="stmt" count="0"/>
|
70631 |
+
<line num="164" type="stmt" count="0"/>
|
70632 |
+
<line num="165" type="stmt" count="0"/>
|
70633 |
+
<line num="166" type="stmt" count="0"/>
|
70634 |
+
<line num="167" type="stmt" count="0"/>
|
70635 |
+
<line num="169" type="stmt" count="0"/>
|
70636 |
+
<line num="170" type="stmt" count="0"/>
|
70637 |
+
<line num="171" type="stmt" count="0"/>
|
70638 |
+
<line num="172" type="stmt" count="0"/>
|
70639 |
+
<line num="173" type="stmt" count="0"/>
|
70640 |
+
<line num="174" type="stmt" count="0"/>
|
70641 |
+
<line num="175" type="stmt" count="0"/>
|
70642 |
+
<line num="176" type="stmt" count="0"/>
|
70643 |
+
<line num="177" type="stmt" count="0"/>
|
70644 |
+
<line num="178" type="stmt" count="0"/>
|
70645 |
+
<line num="180" type="stmt" count="0"/>
|
70646 |
+
<line num="181" type="stmt" count="0"/>
|
70647 |
+
<line num="182" type="stmt" count="0"/>
|
70648 |
+
<line num="183" type="stmt" count="0"/>
|
70649 |
+
<line num="184" type="stmt" count="0"/>
|
70650 |
+
<line num="185" type="stmt" count="0"/>
|
70651 |
+
<line num="186" type="stmt" count="0"/>
|
70652 |
+
<line num="187" type="stmt" count="0"/>
|
70653 |
+
<line num="188" type="stmt" count="0"/>
|
70654 |
+
<line num="189" type="stmt" count="0"/>
|
70655 |
+
<line num="190" type="stmt" count="0"/>
|
70656 |
+
<line num="191" type="stmt" count="0"/>
|
70657 |
+
<line num="192" type="stmt" count="0"/>
|
70658 |
+
<line num="193" type="stmt" count="0"/>
|
70659 |
+
<line num="195" type="stmt" count="0"/>
|
70660 |
+
<line num="196" type="stmt" count="0"/>
|
70661 |
+
<metrics loc="197" ncloc="103" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="76" coveredstatements="0" elements="79" coveredelements="0"/>
|
70662 |
+
</file>
|
70663 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Update.php">
|
70664 |
+
<class name="Update" namespace="Boldgrid\Library\Library">
|
70665 |
+
<metrics complexity="32" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="56" coveredstatements="0" elements="64" coveredelements="0"/>
|
70666 |
+
</class>
|
70667 |
+
<line num="43" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
|
70668 |
+
<line num="44" type="stmt" count="0"/>
|
70669 |
+
<line num="46" type="stmt" count="0"/>
|
70670 |
+
<line num="47" type="stmt" count="0"/>
|
70671 |
+
<line num="59" type="method" name="auto_update_core" visibility="public" complexity="3" crap="12" count="0"/>
|
70672 |
+
<line num="60" type="stmt" count="0"/>
|
70673 |
+
<line num="61" type="stmt" count="0"/>
|
70674 |
+
<line num="62" type="stmt" count="0"/>
|
70675 |
+
<line num="64" type="stmt" count="0"/>
|
70676 |
+
<line num="65" type="stmt" count="0"/>
|
70677 |
+
<line num="77" type="method" name="allow_major_auto_core_updates" visibility="public" complexity="4" crap="20" count="0"/>
|
70678 |
+
<line num="78" type="stmt" count="0"/>
|
70679 |
+
<line num="79" type="stmt" count="0"/>
|
70680 |
+
<line num="80" type="stmt" count="0"/>
|
70681 |
+
<line num="82" type="stmt" count="0"/>
|
70682 |
+
<line num="83" type="stmt" count="0"/>
|
70683 |
+
<line num="84" type="stmt" count="0"/>
|
70684 |
+
<line num="96" type="method" name="allow_minor_auto_core_updates" visibility="public" complexity="4" crap="20" count="0"/>
|
70685 |
+
<line num="97" type="stmt" count="0"/>
|
70686 |
+
<line num="98" type="stmt" count="0"/>
|
70687 |
+
<line num="99" type="stmt" count="0"/>
|
70688 |
+
<line num="101" type="stmt" count="0"/>
|
70689 |
+
<line num="102" type="stmt" count="0"/>
|
70690 |
+
<line num="103" type="stmt" count="0"/>
|
70691 |
+
<line num="115" type="method" name="allow_dev_auto_core_updates" visibility="public" complexity="4" crap="20" count="0"/>
|
70692 |
+
<line num="116" type="stmt" count="0"/>
|
70693 |
+
<line num="117" type="stmt" count="0"/>
|
70694 |
+
<line num="118" type="stmt" count="0"/>
|
70695 |
+
<line num="120" type="stmt" count="0"/>
|
70696 |
+
<line num="121" type="stmt" count="0"/>
|
70697 |
+
<line num="122" type="stmt" count="0"/>
|
70698 |
+
<line num="134" type="method" name="auto_update_translation" visibility="public" complexity="4" crap="20" count="0"/>
|
70699 |
+
<line num="135" type="stmt" count="0"/>
|
70700 |
+
<line num="136" type="stmt" count="0"/>
|
70701 |
+
<line num="137" type="stmt" count="0"/>
|
70702 |
+
<line num="139" type="stmt" count="0"/>
|
70703 |
+
<line num="140" type="stmt" count="0"/>
|
70704 |
+
<line num="141" type="stmt" count="0"/>
|
70705 |
+
<line num="154" type="method" name="auto_update_plugin" visibility="public" complexity="6" crap="42" count="0"/>
|
70706 |
+
<line num="155" type="stmt" count="0"/>
|
70707 |
+
<line num="156" type="stmt" count="0"/>
|
70708 |
+
<line num="157" type="stmt" count="0"/>
|
70709 |
+
<line num="160" type="stmt" count="0"/>
|
70710 |
+
<line num="163" type="stmt" count="0"/>
|
70711 |
+
<line num="164" type="stmt" count="0"/>
|
70712 |
+
<line num="165" type="stmt" count="0"/>
|
70713 |
+
<line num="166" type="stmt" count="0"/>
|
70714 |
+
<line num="167" type="stmt" count="0"/>
|
70715 |
+
<line num="168" type="stmt" count="0"/>
|
70716 |
+
<line num="170" type="stmt" count="0"/>
|
70717 |
+
<line num="171" type="stmt" count="0"/>
|
70718 |
+
<line num="184" type="method" name="auto_update_theme" visibility="public" complexity="6" crap="42" count="0"/>
|
70719 |
+
<line num="185" type="stmt" count="0"/>
|
70720 |
+
<line num="186" type="stmt" count="0"/>
|
70721 |
+
<line num="187" type="stmt" count="0"/>
|
70722 |
+
<line num="190" type="stmt" count="0"/>
|
70723 |
+
<line num="193" type="stmt" count="0"/>
|
70724 |
+
<line num="194" type="stmt" count="0"/>
|
70725 |
+
<line num="195" type="stmt" count="0"/>
|
70726 |
+
<line num="196" type="stmt" count="0"/>
|
70727 |
+
<line num="197" type="stmt" count="0"/>
|
70728 |
+
<line num="198" type="stmt" count="0"/>
|
70729 |
+
<line num="200" type="stmt" count="0"/>
|
70730 |
+
<line num="201" type="stmt" count="0"/>
|
70731 |
+
<metrics loc="202" ncloc="89" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="56" coveredstatements="0" elements="64" coveredelements="0"/>
|
70732 |
+
</file>
|
70733 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Usage.php">
|
70734 |
+
<class name="Usage" namespace="Boldgrid\Library\Library">
|
70735 |
+
<metrics complexity="14" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="48" coveredstatements="0" elements="54" coveredelements="0"/>
|
70736 |
+
</class>
|
70737 |
+
<line num="57" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
70738 |
+
<line num="59" type="stmt" count="0"/>
|
70739 |
+
<line num="60" type="stmt" count="0"/>
|
70740 |
+
<line num="61" type="stmt" count="0"/>
|
70741 |
+
<line num="62" type="stmt" count="0"/>
|
70742 |
+
<line num="64" type="stmt" count="0"/>
|
70743 |
+
<line num="65" type="stmt" count="0"/>
|
70744 |
+
<line num="72" type="method" name="addTag" visibility="public" complexity="1" crap="2" count="0"/>
|
70745 |
+
<line num="75" type="stmt" count="0"/>
|
70746 |
+
<line num="76" type="stmt" count="0"/>
|
70747 |
+
<line num="77" type="stmt" count="0"/>
|
70748 |
+
<line num="78" type="stmt" count="0"/>
|
70749 |
+
<line num="80" type="stmt" count="0"/>
|
70750 |
+
<line num="82" type="stmt" count="0"/>
|
70751 |
+
<line num="89" type="method" name="admin_enqueue_scripts" visibility="public" complexity="4" crap="20" count="0"/>
|
70752 |
+
<line num="90" type="stmt" count="0"/>
|
70753 |
+
<line num="92" type="stmt" count="0"/>
|
70754 |
+
<line num="93" type="stmt" count="0"/>
|
70755 |
+
<line num="94" type="stmt" count="0"/>
|
70756 |
+
<line num="95" type="stmt" count="0"/>
|
70757 |
+
<line num="96" type="stmt" count="0"/>
|
70758 |
+
<line num="98" type="stmt" count="0"/>
|
70759 |
+
<line num="100" type="stmt" count="0"/>
|
70760 |
+
<line num="101" type="stmt" count="0"/>
|
70761 |
+
<line num="102" type="stmt" count="0"/>
|
70762 |
+
<line num="103" type="stmt" count="0"/>
|
70763 |
+
<line num="104" type="stmt" count="0"/>
|
70764 |
+
<line num="105" type="stmt" count="0"/>
|
70765 |
+
<line num="107" type="stmt" count="0"/>
|
70766 |
+
<line num="108" type="stmt" count="0"/>
|
70767 |
+
<line num="109" type="stmt" count="0"/>
|
70768 |
+
<line num="110" type="stmt" count="0"/>
|
70769 |
+
<line num="111" type="stmt" count="0"/>
|
70770 |
+
<line num="113" type="stmt" count="0"/>
|
70771 |
+
<line num="115" type="stmt" count="0"/>
|
70772 |
+
<line num="116" type="stmt" count="0"/>
|
70773 |
+
<line num="117" type="stmt" count="0"/>
|
70774 |
+
<line num="124" type="method" name="admin_head" visibility="public" complexity="2" crap="6" count="0"/>
|
70775 |
+
<line num="125" type="stmt" count="0"/>
|
70776 |
+
<line num="126" type="stmt" count="0"/>
|
70777 |
+
<line num="127" type="stmt" count="0"/>
|
70778 |
+
<line num="128" type="stmt" count="0"/>
|
70779 |
+
<line num="137" type="method" name="getLicenseData" visibility="private" complexity="2" crap="6" count="0"/>
|
70780 |
+
<line num="138" type="stmt" count="0"/>
|
70781 |
+
<line num="139" type="stmt" count="0"/>
|
70782 |
+
<line num="142" type="stmt" count="0"/>
|
70783 |
+
<line num="143" type="stmt" count="0"/>
|
70784 |
+
<line num="145" type="stmt" count="0"/>
|
70785 |
+
<line num="146" type="stmt" count="0"/>
|
70786 |
+
<line num="155" type="method" name="maybeLoad" visibility="private" complexity="3" crap="12" count="0"/>
|
70787 |
+
<line num="156" type="stmt" count="0"/>
|
70788 |
+
<line num="157" type="stmt" count="0"/>
|
70789 |
+
<line num="164" type="stmt" count="0"/>
|
70790 |
+
<line num="165" type="stmt" count="0"/>
|
70791 |
+
<metrics loc="166" ncloc="83" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="48" coveredstatements="0" elements="54" coveredelements="0"/>
|
70792 |
+
</file>
|
70793 |
+
</package>
|
70794 |
<package name="Boldgrid\Library\Library\Api">
|
70795 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Api/Availability.php">
|
70796 |
<class name="Availability" namespace="Boldgrid\Library\Library\Api">
|
71671 |
<package name="Boldgrid\Library\Library\Plugin">
|
71672 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Checker.php">
|
71673 |
<class name="Checker" namespace="Boldgrid\Library\Library\Plugin">
|
71674 |
+
<metrics complexity="10" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="0" elements="39" coveredelements="0"/>
|
71675 |
</class>
|
71676 |
+
<line num="33" type="method" name="anonymous function" complexity="1" crap="2" count="0"/>
|
|
|
71677 |
<line num="34" type="stmt" count="0"/>
|
71678 |
+
<line num="35" type="stmt" count="0"/>
|
71679 |
<line num="36" type="stmt" count="0"/>
|
71680 |
+
<line num="43" type="method" name="run" visibility="public" complexity="2" crap="6" count="0"/>
|
71681 |
+
<line num="45" type="stmt" count="0"/>
|
71682 |
+
<line num="46" type="stmt" count="0"/>
|
71683 |
+
<line num="47" type="stmt" count="0"/>
|
71684 |
<line num="48" type="stmt" count="0"/>
|
71685 |
<line num="49" type="stmt" count="0"/>
|
71686 |
<line num="50" type="stmt" count="0"/>
|
|
|
71687 |
<line num="52" type="stmt" count="0"/>
|
|
|
71688 |
<line num="54" type="stmt" count="0"/>
|
71689 |
+
<line num="55" type="stmt" count="0"/>
|
71690 |
<line num="56" type="stmt" count="0"/>
|
71691 |
+
<line num="57" type="stmt" count="0"/>
|
71692 |
+
<line num="66" type="method" name="getPluginPattern" visibility="public" complexity="1" crap="2" count="0"/>
|
71693 |
+
<line num="67" type="stmt" count="0"/>
|
71694 |
+
<line num="68" type="stmt" count="0"/>
|
71695 |
+
<line num="83" type="method" name="findUpdated" visibility="public" complexity="5" crap="30" count="0"/>
|
71696 |
+
<line num="84" type="stmt" count="0"/>
|
71697 |
+
<line num="86" type="stmt" count="0"/>
|
|
|
71698 |
<line num="88" type="stmt" count="0"/>
|
71699 |
+
<line num="91" type="stmt" count="0"/>
|
71700 |
<line num="92" type="stmt" count="0"/>
|
71701 |
+
<line num="93" type="stmt" count="0"/>
|
71702 |
+
<line num="94" type="stmt" count="0"/>
|
71703 |
<line num="97" type="stmt" count="0"/>
|
71704 |
<line num="98" type="stmt" count="0"/>
|
71705 |
+
<line num="99" type="stmt" count="0"/>
|
71706 |
+
<line num="124" type="stmt" count="0"/>
|
71707 |
+
<line num="125" type="stmt" count="0"/>
|
71708 |
+
<line num="127" type="stmt" count="0"/>
|
71709 |
<line num="128" type="stmt" count="0"/>
|
|
|
71710 |
<line num="131" type="stmt" count="0"/>
|
71711 |
<line num="132" type="stmt" count="0"/>
|
71712 |
+
<line num="139" type="stmt" count="0"/>
|
71713 |
+
<line num="140" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71714 |
<line num="142" type="stmt" count="0"/>
|
71715 |
+
<line num="143" type="stmt" count="0"/>
|
71716 |
+
<metrics loc="144" ncloc="61" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="36" coveredstatements="0" elements="40" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71717 |
</file>
|
71718 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Notice.php">
|
71719 |
<class name="Notice" namespace="Boldgrid\Library\Library\Plugin">
|
71720 |
+
<metrics complexity="23" methods="16" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="69" coveredstatements="61" elements="85" coveredelements="72"/>
|
71721 |
</class>
|
71722 |
+
<line num="89" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="21"/>
|
71723 |
+
<line num="90" type="stmt" count="21"/>
|
71724 |
+
<line num="92" type="stmt" count="21"/>
|
71725 |
+
<line num="93" type="stmt" count="7"/>
|
71726 |
+
<line num="94" type="stmt" count="7"/>
|
71727 |
+
<line num="95" type="stmt" count="7"/>
|
71728 |
+
<line num="96" type="stmt" count="7"/>
|
71729 |
+
<line num="97" type="stmt" count="7"/>
|
71730 |
+
<line num="98" type="stmt" count="7"/>
|
71731 |
+
<line num="99" type="stmt" count="7"/>
|
71732 |
+
<line num="100" type="stmt" count="14"/>
|
71733 |
+
<line num="101" type="stmt" count="14"/>
|
71734 |
+
<line num="102" type="stmt" count="14"/>
|
71735 |
+
<line num="103" type="stmt" count="14"/>
|
71736 |
+
<line num="104" type="stmt" count="14"/>
|
71737 |
+
<line num="106" type="stmt" count="21"/>
|
71738 |
+
<line num="115" type="method" name="getId" visibility="public" complexity="1" crap="1" count="1"/>
|
71739 |
+
<line num="116" type="stmt" count="1"/>
|
71740 |
+
<line num="126" type="method" name="setId" visibility="public" complexity="1" crap="1" count="21"/>
|
71741 |
+
<line num="127" type="stmt" count="21"/>
|
71742 |
+
<line num="128" type="stmt" count="21"/>
|
71743 |
+
<line num="137" type="method" name="getPageSlug" visibility="public" complexity="1" crap="1" count="5"/>
|
71744 |
+
<line num="138" type="stmt" count="5"/>
|
71745 |
+
<line num="148" type="method" name="setPageSlug" visibility="public" complexity="1" crap="2" count="0"/>
|
71746 |
+
<line num="149" type="stmt" count="0"/>
|
71747 |
+
<line num="150" type="stmt" count="0"/>
|
71748 |
+
<line num="159" type="method" name="getVersion" visibility="public" complexity="1" crap="2" count="0"/>
|
71749 |
+
<line num="160" type="stmt" count="0"/>
|
71750 |
+
<line num="170" type="method" name="setVersion" visibility="public" complexity="1" crap="2" count="0"/>
|
71751 |
+
<line num="171" type="stmt" count="0"/>
|
71752 |
+
<line num="172" type="stmt" count="0"/>
|
71753 |
+
<line num="181" type="method" name="maybeShow" visibility="public" complexity="2" crap="2" count="5"/>
|
71754 |
+
<line num="182" type="stmt" count="5"/>
|
71755 |
+
<line num="183" type="stmt" count="5"/>
|
71756 |
+
<line num="184" type="stmt" count="5"/>
|
71757 |
+
<line num="186" type="stmt" count="5"/>
|
71758 |
+
<line num="196" type="method" name="getIsUnread" visibility="public" complexity="2" crap="2" count="5"/>
|
71759 |
+
<line num="197" type="stmt" count="5"/>
|
71760 |
+
<line num="198" type="stmt" count="4"/>
|
71761 |
<line num="200" type="stmt" count="1"/>
|
71762 |
+
<line num="210" type="method" name="setIsUnread" visibility="public" complexity="1" crap="1" count="2"/>
|
71763 |
+
<line num="211" type="stmt" count="2"/>
|
71764 |
+
<line num="212" type="stmt" count="2"/>
|
71765 |
+
<line num="213" type="stmt" count="2"/>
|
71766 |
+
<line num="222" type="method" name="alreadyExists" visibility="public" complexity="1" crap="1" count="22"/>
|
71767 |
+
<line num="223" type="stmt" count="22"/>
|
71768 |
+
<line num="236" type="method" name="getFromOptions" visibility="private" complexity="3" crap="3" count="22"/>
|
71769 |
+
<line num="237" type="stmt" count="22"/>
|
71770 |
+
<line num="238" type="stmt" count="22"/>
|
71771 |
+
<line num="240" type="stmt" count="22"/>
|
71772 |
+
<line num="241" type="stmt" count="22"/>
|
71773 |
+
<line num="242" type="stmt" count="8"/>
|
71774 |
+
<line num="243" type="stmt" count="7"/>
|
71775 |
+
<line num="245" type="stmt" count="1"/>
|
71776 |
+
<line num="246" type="stmt" count="15"/>
|
71777 |
+
<line num="247" type="stmt" count="15"/>
|
71778 |
+
<line num="259" type="method" name="updateNoticeOption" visibility="public" complexity="2" crap="2" count="8"/>
|
71779 |
+
<line num="260" type="stmt" count="8"/>
|
71780 |
+
<line num="261" type="stmt" count="8"/>
|
71781 |
+
<line num="262" type="stmt" count="7"/>
|
71782 |
+
<line num="263" type="stmt" count="7"/>
|
71783 |
+
<line num="264" type="stmt" count="7"/>
|
71784 |
+
<line num="265" type="stmt" count="7"/>
|
71785 |
+
<line num="266" type="stmt" count="7"/>
|
71786 |
+
<line num="268" type="stmt" count="7"/>
|
71787 |
+
<line num="269" type="stmt" count="1"/>
|
71788 |
+
<line num="270" type="stmt" count="1"/>
|
71789 |
+
<line num="271" type="stmt" count="1"/>
|
71790 |
+
<line num="272" type="stmt" count="1"/>
|
71791 |
+
<line num="273" type="stmt" count="1"/>
|
71792 |
+
<line num="276" type="stmt" count="8"/>
|
71793 |
+
<line num="277" type="stmt" count="8"/>
|
71794 |
+
<line num="288" type="method" name="getPlugin" visibility="public" complexity="1" crap="2" count="0"/>
|
71795 |
+
<line num="289" type="stmt" count="0"/>
|
71796 |
+
<line num="301" type="method" name="setPlugin" visibility="public" complexity="1" crap="2" count="0"/>
|
71797 |
+
<line num="302" type="stmt" count="0"/>
|
71798 |
+
<line num="303" type="stmt" count="0"/>
|
71799 |
+
<line num="318" type="method" name="noticeVersionChanged" visibility="private" complexity="2" crap="2" count="7"/>
|
71800 |
+
<line num="319" type="stmt" count="7"/>
|
71801 |
+
<line num="320" type="stmt" count="1"/>
|
71802 |
+
<line num="321" type="stmt" count="1"/>
|
71803 |
+
<line num="322" type="stmt" count="1"/>
|
71804 |
+
<line num="323" type="stmt" count="7"/>
|
71805 |
+
<line num="324" type="stmt" count="7"/>
|
71806 |
+
<line num="326" type="stmt" count="7"/>
|
71807 |
+
<metrics loc="327" ncloc="134" classes="1" methods="16" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="69" coveredstatements="61" elements="85" coveredelements="72"/>
|
|
|
|
|
71808 |
</file>
|
71809 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Notices.php">
|
71810 |
<class name="Notices" namespace="Boldgrid\Library\Library\Plugin">
|
71811 |
+
<metrics complexity="3" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="19" coveredstatements="0" elements="21" coveredelements="0"/>
|
71812 |
</class>
|
71813 |
<line num="38" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
71814 |
<line num="40" type="stmt" count="0"/>
|
71824 |
<line num="57" type="stmt" count="0"/>
|
71825 |
<line num="58" type="stmt" count="0"/>
|
71826 |
<line num="59" type="stmt" count="0"/>
|
71827 |
+
<line num="61" type="stmt" count="0"/>
|
71828 |
<line num="62" type="stmt" count="0"/>
|
71829 |
<line num="63" type="stmt" count="0"/>
|
71830 |
+
<line num="72" type="stmt" count="0"/>
|
71831 |
+
<line num="74" type="stmt" count="0"/>
|
71832 |
+
<line num="76" type="stmt" count="0"/>
|
71833 |
<line num="77" type="stmt" count="0"/>
|
71834 |
+
<metrics loc="78" ncloc="37" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="19" coveredstatements="0" elements="21" coveredelements="0"/>
|
|
|
71835 |
</file>
|
71836 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Page.php">
|
71837 |
<class name="Page" namespace="Boldgrid\Library\Library\Plugin">
|
71838 |
+
<metrics complexity="24" methods="13" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="50" coveredstatements="50" elements="63" coveredelements="63"/>
|
71839 |
+
</class>
|
71840 |
+
<line num="72" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="21"/>
|
71841 |
+
<line num="74" type="stmt" count="21"/>
|
71842 |
+
<line num="76" type="stmt" count="21"/>
|
71843 |
+
<line num="78" type="stmt" count="21"/>
|
71844 |
+
<line num="80" type="stmt" count="21"/>
|
71845 |
+
<line num="81" type="stmt" count="21"/>
|
71846 |
+
<line num="90" type="method" name="getPlugin" visibility="public" complexity="1" crap="1" count="21"/>
|
71847 |
+
<line num="91" type="stmt" count="21"/>
|
71848 |
+
<line num="99" type="method" name="setPlugin" visibility="private" complexity="1" crap="1" count="21"/>
|
71849 |
+
<line num="100" type="stmt" count="21"/>
|
71850 |
+
<line num="101" type="stmt" count="21"/>
|
71851 |
+
<line num="110" type="method" name="getPluginConfig" visibility="public" complexity="1" crap="1" count="21"/>
|
71852 |
+
<line num="111" type="stmt" count="21"/>
|
71853 |
+
<line num="122" type="method" name="setPluginConfig" visibility="private" complexity="1" crap="1" count="21"/>
|
71854 |
+
<line num="123" type="stmt" count="21"/>
|
71855 |
+
<line num="124" type="stmt" count="21"/>
|
71856 |
+
<line num="125" type="stmt" count="21"/>
|
71857 |
+
<line num="134" type="method" name="getNotices" visibility="public" complexity="3" crap="3" count="5"/>
|
71858 |
+
<line num="135" type="stmt" count="5"/>
|
71859 |
+
<line num="136" type="stmt" count="5"/>
|
71860 |
+
<line num="137" type="stmt" count="5"/>
|
71861 |
+
<line num="138" type="stmt" count="5"/>
|
71862 |
+
<line num="139" type="stmt" count="5"/>
|
71863 |
+
<line num="140" type="stmt" count="5"/>
|
71864 |
+
<line num="141" type="stmt" count="5"/>
|
71865 |
+
<line num="152" type="method" name="getNoticeById" visibility="public" complexity="3" crap="3" count="1"/>
|
71866 |
+
<line num="153" type="stmt" count="1"/>
|
71867 |
+
<line num="154" type="stmt" count="1"/>
|
71868 |
+
<line num="155" type="stmt" count="1"/>
|
71869 |
+
<line num="157" type="stmt" count="1"/>
|
71870 |
+
<line num="158" type="stmt" count="1"/>
|
71871 |
+
<line num="165" type="method" name="setNotices" visibility="public" complexity="3" crap="3" count="21"/>
|
71872 |
+
<line num="166" type="stmt" count="21"/>
|
71873 |
+
<line num="167" type="stmt" count="21"/>
|
71874 |
+
<line num="168" type="stmt" count="21"/>
|
71875 |
+
<line num="169" type="stmt" count="21"/>
|
71876 |
+
<line num="170" type="stmt" count="21"/>
|
71877 |
+
<line num="171" type="stmt" count="21"/>
|
71878 |
+
<line num="172" type="stmt" count="21"/>
|
71879 |
+
<line num="173" type="stmt" count="21"/>
|
71880 |
+
<line num="180" type="method" name="setAllNoticesRead" visibility="public" complexity="2" crap="2" count="2"/>
|
71881 |
+
<line num="181" type="stmt" count="2"/>
|
71882 |
+
<line num="182" type="stmt" count="2"/>
|
71883 |
+
<line num="183" type="stmt" count="2"/>
|
71884 |
+
<line num="184" type="stmt" count="2"/>
|
71885 |
+
<line num="193" type="method" name="getUnreadCount" visibility="public" complexity="4" crap="4" count="5"/>
|
71886 |
+
<line num="194" type="stmt" count="5"/>
|
71887 |
+
<line num="195" type="stmt" count="5"/>
|
71888 |
+
<line num="196" type="stmt" count="5"/>
|
71889 |
+
<line num="197" type="stmt" count="3"/>
|
71890 |
+
<line num="198" type="stmt" count="3"/>
|
71891 |
+
<line num="199" type="stmt" count="5"/>
|
71892 |
+
<line num="200" type="stmt" count="5"/>
|
71893 |
+
<line num="212" type="method" name="getUnreadMarkup" visibility="public" complexity="2" crap="2" count="5"/>
|
71894 |
+
<line num="213" type="stmt" count="5"/>
|
71895 |
+
<line num="214" type="stmt" count="5"/>
|
71896 |
+
<line num="215" type="stmt" count="3"/>
|
71897 |
+
<line num="217" type="stmt" count="3"/>
|
71898 |
+
<line num="228" type="method" name="getSlug" visibility="public" complexity="1" crap="1" count="6"/>
|
71899 |
+
<line num="229" type="stmt" count="6"/>
|
71900 |
+
<line num="239" type="method" name="setSlug" visibility="public" complexity="1" crap="1" count="21"/>
|
71901 |
+
<line num="240" type="stmt" count="21"/>
|
71902 |
+
<line num="241" type="stmt" count="21"/>
|
71903 |
+
<metrics loc="242" ncloc="102" classes="1" methods="13" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="50" coveredstatements="50" elements="63" coveredelements="63"/>
|
71904 |
</file>
|
71905 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugin.php">
|
71906 |
<class name="Plugin" namespace="Boldgrid\Library\Library\Plugin">
|
71907 |
+
<metrics complexity="55" methods="31" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="112" coveredstatements="50" elements="143" coveredelements="59"/>
|
71908 |
+
</class>
|
71909 |
+
<line num="123" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="20"/>
|
71910 |
+
<line num="124" type="stmt" count="20"/>
|
71911 |
+
<line num="126" type="stmt" count="20"/>
|
71912 |
+
<line num="128" type="stmt" count="20"/>
|
71913 |
+
<line num="130" type="stmt" count="20"/>
|
71914 |
+
<line num="132" type="stmt" count="20"/>
|
71915 |
+
<line num="134" type="stmt" count="20"/>
|
71916 |
+
<line num="136" type="stmt" count="20"/>
|
71917 |
+
<line num="137" type="stmt" count="20"/>
|
71918 |
+
<line num="148" type="method" name="firstVersionCompare" visibility="public" complexity="1" crap="1" count="5"/>
|
71919 |
+
<line num="150" type="stmt" count="5"/>
|
71920 |
+
<line num="152" type="stmt" count="5"/>
|
71921 |
+
<line num="162" type="method" name="getActivateUrl" visibility="public" complexity="1" crap="2" count="0"/>
|
71922 |
+
<line num="163" type="stmt" count="0"/>
|
71923 |
+
<line num="164" type="stmt" count="0"/>
|
71924 |
+
<line num="165" type="stmt" count="0"/>
|
71925 |
+
<line num="166" type="stmt" count="0"/>
|
71926 |
+
<line num="176" type="method" name="getIcons" visibility="public" complexity="3" crap="12" count="0"/>
|
71927 |
+
<line num="177" type="stmt" count="0"/>
|
71928 |
+
<line num="179" type="stmt" count="0"/>
|
71929 |
+
<line num="180" type="stmt" count="0"/>
|
71930 |
+
<line num="181" type="stmt" count="0"/>
|
71931 |
+
<line num="183" type="stmt" count="0"/>
|
71932 |
+
<line num="193" type="method" name="getChildPlugins" visibility="public" complexity="1" crap="2" count="0"/>
|
71933 |
<line num="194" type="stmt" count="0"/>
|
71934 |
+
<line num="207" type="method" name="getConfig" visibility="public" complexity="4" crap="7.46" count="20"/>
|
71935 |
+
<line num="208" type="stmt" count="20"/>
|
71936 |
+
<line num="210" type="stmt" count="20"/>
|
71937 |
+
<line num="211" type="stmt" count="20"/>
|
71938 |
+
<line num="212" type="stmt" count="0"/>
|
|
|
|
|
71939 |
<line num="213" type="stmt" count="0"/>
|
71940 |
+
<line num="214" type="stmt" count="0"/>
|
71941 |
+
<line num="215" type="stmt" count="0"/>
|
71942 |
+
<line num="216" type="stmt" count="0"/>
|
71943 |
+
<line num="217" type="stmt" count="0"/>
|
71944 |
+
<line num="218" type="stmt" count="20"/>
|
71945 |
+
<line num="231" type="method" name="getData" visibility="public" complexity="2" crap="6" count="0"/>
|
71946 |
+
<line num="232" type="stmt" count="0"/>
|
71947 |
+
<line num="234" type="stmt" count="0"/>
|
71948 |
+
<line num="246" type="method" name="getDownloadUrl" visibility="public" complexity="1" crap="2" count="0"/>
|
71949 |
+
<line num="247" type="stmt" count="0"/>
|
71950 |
+
<line num="249" type="stmt" count="0"/>
|
71951 |
+
<line num="251" type="stmt" count="0"/>
|
71952 |
+
<line num="261" type="method" name="getInstallUrl" visibility="public" complexity="1" crap="2" count="0"/>
|
71953 |
+
<line num="262" type="stmt" count="0"/>
|
71954 |
+
<line num="263" type="stmt" count="0"/>
|
71955 |
+
<line num="264" type="stmt" count="0"/>
|
71956 |
+
<line num="265" type="stmt" count="0"/>
|
71957 |
+
<line num="275" type="method" name="getIsInstalled" visibility="public" complexity="1" crap="2" count="0"/>
|
71958 |
+
<line num="276" type="stmt" count="0"/>
|
71959 |
+
<line num="286" type="method" name="getFile" visibility="public" complexity="1" crap="2" count="0"/>
|
71960 |
+
<line num="287" type="stmt" count="0"/>
|
71961 |
+
<line num="303" type="method" name="getFileSlug" visibility="public" complexity="1" crap="2" count="0"/>
|
71962 |
<line num="304" type="stmt" count="0"/>
|
71963 |
<line num="306" type="stmt" count="0"/>
|
71964 |
+
<line num="316" type="method" name="getNewVersion" visibility="public" complexity="2" crap="6" count="0"/>
|
71965 |
+
<line num="317" type="stmt" count="0"/>
|
71966 |
+
<line num="319" type="stmt" count="0"/>
|
71967 |
+
<line num="328" type="method" name="getPluginConfig" visibility="public" complexity="1" crap="1" count="21"/>
|
71968 |
+
<line num="329" type="stmt" count="21"/>
|
71969 |
+
<line num="339" type="method" name="getPluginData" visibility="public" complexity="3" crap="4.12" count="5"/>
|
71970 |
+
<line num="340" type="stmt" count="5"/>
|
71971 |
+
<line num="341" type="stmt" count="0"/>
|
71972 |
+
<line num="342" type="stmt" count="0"/>
|
71973 |
+
<line num="343" type="stmt" count="5"/>
|
71974 |
+
<line num="353" type="method" name="getPluginsChecked" visibility="public" complexity="2" crap="2" count="5"/>
|
71975 |
+
<line num="354" type="stmt" count="5"/>
|
71976 |
+
<line num="356" type="stmt" count="5"/>
|
71977 |
+
<line num="358" type="stmt" count="5"/>
|
71978 |
+
<line num="368" type="method" name="getSlug" visibility="public" complexity="1" crap="2" count="0"/>
|
71979 |
+
<line num="369" type="stmt" count="0"/>
|
71980 |
+
<line num="378" type="method" name="setPages" visibility="public" complexity="3" crap="3" count="21"/>
|
71981 |
+
<line num="379" type="stmt" count="21"/>
|
71982 |
+
<line num="380" type="stmt" count="21"/>
|
71983 |
+
<line num="381" type="stmt" count="21"/>
|
71984 |
+
<line num="382" type="stmt" count="21"/>
|
71985 |
+
<line num="383" type="stmt" count="21"/>
|
71986 |
+
<line num="384" type="stmt" count="21"/>
|
71987 |
+
<line num="385" type="stmt" count="21"/>
|
71988 |
+
<line num="386" type="stmt" count="21"/>
|
71989 |
+
<line num="395" type="method" name="setAllNoticesRead" visibility="public" complexity="2" crap="6" count="0"/>
|
71990 |
+
<line num="396" type="stmt" count="0"/>
|
71991 |
+
<line num="397" type="stmt" count="0"/>
|
71992 |
+
<line num="398" type="stmt" count="0"/>
|
71993 |
+
<line num="399" type="stmt" count="0"/>
|
71994 |
+
<line num="409" type="method" name="getPages" visibility="public" complexity="1" crap="1" count="6"/>
|
71995 |
+
<line num="410" type="stmt" count="6"/>
|
71996 |
+
<line num="421" type="method" name="getPageBySlug" visibility="public" complexity="3" crap="3.58" count="6"/>
|
71997 |
+
<line num="422" type="stmt" count="6"/>
|
71998 |
+
<line num="423" type="stmt" count="6"/>
|
71999 |
+
<line num="424" type="stmt" count="6"/>
|
72000 |
+
<line num="426" type="stmt" count="0"/>
|
72001 |
+
<line num="427" type="stmt" count="0"/>
|
72002 |
+
<line num="434" type="method" name="setChildPlugins" visibility="public" complexity="3" crap="5.20" count="20"/>
|
72003 |
+
<line num="435" type="stmt" count="20"/>
|
72004 |
+
<line num="437" type="stmt" count="20"/>
|
72005 |
+
<line num="438" type="stmt" count="20"/>
|
72006 |
+
<line num="441" type="stmt" count="0"/>
|
72007 |
+
<line num="442" type="stmt" count="0"/>
|
72008 |
+
<line num="444" type="stmt" count="0"/>
|
72009 |
+
<line num="445" type="stmt" count="0"/>
|
72010 |
+
<line num="446" type="stmt" count="0"/>
|
72011 |
+
<line num="455" type="method" name="setFile" visibility="public" complexity="2" crap="2" count="20"/>
|
72012 |
+
<line num="456" type="stmt" count="20"/>
|
72013 |
+
<line num="457" type="stmt" count="20"/>
|
72014 |
+
<line num="464" type="method" name="setIsInstalled" visibility="public" complexity="1" crap="1" count="20"/>
|
72015 |
+
<line num="465" type="stmt" count="20"/>
|
72016 |
+
<line num="466" type="stmt" count="20"/>
|
72017 |
+
<line num="467" type="stmt" count="20"/>
|
72018 |
+
<line num="474" type="method" name="setPath" visibility="public" complexity="1" crap="1" count="20"/>
|
72019 |
+
<line num="475" type="stmt" count="20"/>
|
72020 |
+
<line num="476" type="stmt" count="20"/>
|
72021 |
+
<line num="485" type="method" name="getUpdatePlugins" visibility="public" complexity="2" crap="6" count="0"/>
|
72022 |
<line num="486" type="stmt" count="0"/>
|
72023 |
<line num="487" type="stmt" count="0"/>
|
72024 |
<line num="488" type="stmt" count="0"/>
|
72025 |
+
<line num="490" type="stmt" count="0"/>
|
72026 |
+
<line num="500" type="method" name="hasUpdate" visibility="public" complexity="1" crap="2" count="0"/>
|
72027 |
+
<line num="501" type="stmt" count="0"/>
|
72028 |
+
<line num="503" type="stmt" count="0"/>
|
72029 |
+
<line num="513" type="method" name="isActive" visibility="public" complexity="1" crap="2" count="0"/>
|
72030 |
+
<line num="514" type="stmt" count="0"/>
|
72031 |
+
<line num="524" type="method" name="getFirstVersion" visibility="public" complexity="3" crap="3.01" count="5"/>
|
72032 |
+
<line num="525" type="stmt" count="5"/>
|
72033 |
+
<line num="527" type="stmt" count="5"/>
|
72034 |
+
<line num="536" type="stmt" count="5"/>
|
72035 |
+
<line num="537" type="stmt" count="5"/>
|
72036 |
+
<line num="538" type="stmt" count="5"/>
|
72037 |
+
<line num="539" type="stmt" count="5"/>
|
72038 |
+
<line num="540" type="stmt" count="5"/>
|
72039 |
+
<line num="542" type="stmt" count="0"/>
|
72040 |
+
<line num="544" type="stmt" count="5"/>
|
72041 |
+
<line num="556" type="method" name="getUnreadCount" visibility="public" complexity="2" crap="6" count="0"/>
|
72042 |
+
<line num="557" type="stmt" count="0"/>
|
72043 |
+
<line num="558" type="stmt" count="0"/>
|
72044 |
+
<line num="559" type="stmt" count="0"/>
|
72045 |
+
<line num="560" type="stmt" count="0"/>
|
72046 |
+
<line num="561" type="stmt" count="0"/>
|
72047 |
+
<line num="573" type="method" name="getUnreadMarkup" visibility="public" complexity="2" crap="6" count="0"/>
|
72048 |
+
<line num="574" type="stmt" count="0"/>
|
72049 |
+
<line num="575" type="stmt" count="0"/>
|
72050 |
+
<line num="576" type="stmt" count="0"/>
|
72051 |
+
<line num="578" type="stmt" count="0"/>
|
72052 |
+
<metrics loc="581" ncloc="248" classes="1" methods="31" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="112" coveredstatements="50" elements="143" coveredelements="59"/>
|
72053 |
</file>
|
72054 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugins.php">
|
72055 |
<class name="Plugins" namespace="Boldgrid\Library\Library\Plugin">
|
72056 |
+
<metrics complexity="3" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="0" elements="13" coveredelements="0"/>
|
72057 |
</class>
|
72058 |
+
<line num="30" type="method" name="getActive" visibility="public" complexity="3" crap="12" count="0"/>
|
72059 |
+
<line num="32" type="stmt" count="0"/>
|
72060 |
+
<line num="33" type="stmt" count="0"/>
|
72061 |
+
<line num="34" type="stmt" count="0"/>
|
72062 |
+
<line num="37" type="stmt" count="0"/>
|
72063 |
<line num="38" type="stmt" count="0"/>
|
72064 |
+
<line num="39" type="stmt" count="0"/>
|
72065 |
<line num="40" type="stmt" count="0"/>
|
72066 |
+
<line num="41" type="stmt" count="0"/>
|
72067 |
+
<line num="42" type="stmt" count="0"/>
|
72068 |
<line num="43" type="stmt" count="0"/>
|
|
|
72069 |
<line num="45" type="stmt" count="0"/>
|
72070 |
<line num="46" type="stmt" count="0"/>
|
72071 |
+
<metrics loc="47" ncloc="21" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="0" elements="13" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72072 |
</file>
|
72073 |
</package>
|
72074 |
<package name="Boldgrid\Library\Library\Ui">
|
72075 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Card.php">
|
72076 |
<class name="Card" namespace="Boldgrid\Library\Library\Ui">
|
72077 |
+
<metrics complexity="14" methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="36" elements="44" coveredelements="38"/>
|
72078 |
</class>
|
72079 |
+
<line num="97" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="2"/>
|
72080 |
+
<line num="98" type="stmt" count="2"/>
|
72081 |
+
<line num="99" type="stmt" count="2"/>
|
72082 |
+
<line num="108" type="method" name="maybeShowRibbon" visibility="public" complexity="3" crap="3" count="1"/>
|
72083 |
+
<line num="110" type="stmt" count="1"/>
|
72084 |
+
<line num="111" type="stmt" count="1"/>
|
72085 |
+
<line num="112" type="stmt" count="1"/>
|
72086 |
+
<line num="123" type="method" name="printCard" visibility="public" complexity="10" crap="10.27" count="1"/>
|
72087 |
+
<line num="125" type="stmt" count="1"/>
|
72088 |
<line num="126" type="stmt" count="0"/>
|
72089 |
<line num="127" type="stmt" count="0"/>
|
72090 |
+
<line num="128" type="stmt" count="1"/>
|
72091 |
+
<line num="131" type="stmt" count="1"/>
|
72092 |
+
<line num="132" type="stmt" count="1"/>
|
72093 |
+
<line num="133" type="stmt" count="1"/>
|
72094 |
+
<line num="134" type="stmt" count="1"/>
|
72095 |
+
<line num="135" type="stmt" count="1"/>
|
72096 |
+
<line num="138" type="stmt" count="1"/>
|
72097 |
+
<line num="139" type="stmt" count="1"/>
|
72098 |
+
<line num="140" type="stmt" count="1"/>
|
72099 |
+
<line num="142" type="stmt" count="1"/>
|
72100 |
+
<line num="143" type="stmt" count="1"/>
|
72101 |
+
<line num="145" type="stmt" count="1"/>
|
72102 |
+
<line num="147" type="stmt" count="1"/>
|
72103 |
<line num="148" type="stmt" count="0"/>
|
72104 |
<line num="149" type="stmt" count="0"/>
|
72105 |
+
<line num="151" type="stmt" count="1"/>
|
72106 |
+
<line num="152" type="stmt" count="1"/>
|
72107 |
+
<line num="154" type="stmt" count="1"/>
|
72108 |
+
<line num="155" type="stmt" count="1"/>
|
72109 |
+
<line num="156" type="stmt" count="1"/>
|
72110 |
+
<line num="158" type="stmt" count="1"/>
|
72111 |
+
<line num="159" type="stmt" count="1"/>
|
72112 |
+
<line num="160" type="stmt" count="1"/>
|
72113 |
+
<line num="164" type="stmt" count="1"/>
|
72114 |
+
<line num="167" type="stmt" count="1"/>
|
72115 |
+
<line num="168" type="stmt" count="1"/>
|
72116 |
+
<line num="169" type="stmt" count="1"/>
|
72117 |
+
<line num="171" type="stmt" count="1"/>
|
72118 |
+
<line num="173" type="stmt" count="1"/>
|
72119 |
+
<line num="174" type="stmt" count="1"/>
|
72120 |
+
<line num="175" type="stmt" count="1"/>
|
72121 |
<line num="176" type="stmt" count="0"/>
|
72122 |
+
<line num="178" type="stmt" count="1"/>
|
72123 |
+
<metrics loc="179" ncloc="77" classes="1" methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="36" elements="44" coveredelements="38"/>
|
72124 |
</file>
|
72125 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Dashboard.php">
|
72126 |
<class name="Dashboard" namespace="Boldgrid\Library\Library\Ui">
|
72127 |
+
<metrics complexity="4" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="7" elements="15" coveredelements="8"/>
|
72128 |
</class>
|
72129 |
<line num="42" type="method" name="enqueueScripts" visibility="public" complexity="1" crap="2" count="0"/>
|
72130 |
<line num="43" type="stmt" count="0"/>
|
72133 |
<line num="46" type="stmt" count="0"/>
|
72134 |
<line num="47" type="stmt" count="0"/>
|
72135 |
<line num="48" type="stmt" count="0"/>
|
72136 |
+
<line num="55" type="method" name="printCards" visibility="public" complexity="3" crap="3" count="1"/>
|
72137 |
+
<line num="57" type="stmt" count="1"/>
|
72138 |
+
<line num="59" type="stmt" count="1"/>
|
72139 |
+
<line num="60" type="stmt" count="1"/>
|
72140 |
+
<line num="61" type="stmt" count="1"/>
|
72141 |
+
<line num="62" type="stmt" count="1"/>
|
72142 |
+
<line num="64" type="stmt" count="1"/>
|
72143 |
+
<line num="65" type="stmt" count="1"/>
|
72144 |
+
<metrics loc="66" ncloc="31" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="7" elements="15" coveredelements="8"/>
|
72145 |
</file>
|
72146 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Feature.php">
|
72147 |
<class name="Feature" namespace="Boldgrid\Library\Library\Ui">
|
72166 |
<line num="79" type="stmt" count="0"/>
|
72167 |
<metrics loc="80" ncloc="32" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="15" coveredstatements="0" elements="17" coveredelements="0"/>
|
72168 |
</file>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72169 |
</package>
|
72170 |
<package name="Boldgrid\Library\Library\Usage">
|
72171 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Usage/Helper.php">
|
73156 |
<line num="84" type="stmt" count="0"/>
|
73157 |
<line num="85" type="stmt" count="0"/>
|
73158 |
<line num="87" type="stmt" count="0"/>
|
73159 |
+
<line num="100" type="method" name="getWpFilesystem" visibility="public" complexity="2" crap="2.50" count="20"/>
|
73160 |
+
<line num="101" type="stmt" count="20"/>
|
73161 |
+
<line num="104" type="stmt" count="20"/>
|
73162 |
<line num="105" type="stmt" count="0"/>
|
73163 |
<line num="106" type="stmt" count="0"/>
|
73164 |
<line num="107" type="stmt" count="0"/>
|
73165 |
+
<line num="109" type="stmt" count="20"/>
|
73166 |
<line num="120" type="method" name="getContents" visibility="public" complexity="3" crap="12" count="0"/>
|
73167 |
<line num="121" type="stmt" count="0"/>
|
73168 |
<line num="123" type="stmt" count="0"/>
|
73378 |
</file>
|
73379 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Library/test-activity.php">
|
73380 |
<class name="Test_Activty" namespace="global" fullPackage="Test">
|
73381 |
+
<metrics complexity="10" methods="10" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="0" elements="54" coveredelements="0"/>
|
73382 |
</class>
|
73383 |
<line num="30" type="method" name="setup" visibility="public" complexity="1" crap="2" count="0"/>
|
73384 |
<line num="31" type="stmt" count="0"/>
|
73411 |
<line num="88" type="stmt" count="0"/>
|
73412 |
<line num="90" type="stmt" count="0"/>
|
73413 |
<line num="91" type="stmt" count="0"/>
|
73414 |
+
<line num="102" type="method" name="testGetActivityConfigs" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
73415 |
<line num="104" type="stmt" count="0"/>
|
73416 |
+
<line num="114" type="method" name="testGetActivityCount" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
73417 |
<line num="115" type="stmt" count="0"/>
|
73418 |
<line num="117" type="stmt" count="0"/>
|
73419 |
<line num="118" type="stmt" count="0"/>
|
73420 |
+
<line num="127" type="method" name="testGetPluginActivities" visibility="public" complexity="1" crap="2" count="0"/>
|
73421 |
+
<line num="128" type="stmt" count="0"/>
|
73422 |
+
<line num="130" type="stmt" count="0"/>
|
73423 |
+
<line num="131" type="stmt" count="0"/>
|
73424 |
+
<line num="142" type="method" name="testMaybeAddRatingPrompt" visibility="public" complexity="1" crap="2" count="0"/>
|
73425 |
+
<line num="144" type="stmt" count="0"/>
|
73426 |
+
<line num="156" type="method" name="testSaveActivities" visibility="public" complexity="1" crap="2" count="0"/>
|
73427 |
+
<line num="157" type="stmt" count="0"/>
|
73428 |
+
<line num="159" type="stmt" count="0"/>
|
73429 |
+
<line num="160" type="stmt" count="0"/>
|
73430 |
+
<line num="162" type="stmt" count="0"/>
|
73431 |
+
<line num="163" type="stmt" count="0"/>
|
73432 |
+
<line num="173" type="method" name="testSavePluginActivities" visibility="public" complexity="1" crap="2" count="0"/>
|
73433 |
+
<line num="174" type="stmt" count="0"/>
|
73434 |
+
<line num="176" type="stmt" count="0"/>
|
73435 |
+
<line num="178" type="stmt" count="0"/>
|
73436 |
+
<line num="179" type="stmt" count="0"/>
|
73437 |
+
<metrics loc="180" ncloc="84" classes="1" methods="10" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="0" elements="54" coveredelements="0"/>
|
73438 |
</file>
|
73439 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Library/test-rating-prompt.php">
|
73440 |
<class name="Test_Rating_Prompt" namespace="global" fullPackage="Test.Rating">
|
73441 |
+
<metrics complexity="20" methods="20" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="246" coveredstatements="0" elements="266" coveredelements="0"/>
|
73442 |
</class>
|
73443 |
<line num="56" type="method" name="reset" visibility="public" complexity="1" crap="2" count="0"/>
|
73444 |
<line num="57" type="stmt" count="0"/>
|
73555 |
<line num="203" type="stmt" count="0"/>
|
73556 |
<line num="204" type="stmt" count="0"/>
|
73557 |
<line num="205" type="stmt" count="0"/>
|
73558 |
+
<line num="212" type="method" name="testAdminNotices" visibility="public" complexity="1" crap="2" count="0"/>
|
73559 |
+
<line num="214" type="stmt" count="0"/>
|
73560 |
+
<line num="223" type="method" name="testAjaxDismiss" visibility="public" complexity="1" crap="2" count="0"/>
|
73561 |
+
<line num="225" type="stmt" count="0"/>
|
73562 |
+
<line num="232" type="method" name="testGetDecisionAttributes" visibility="public" complexity="1" crap="2" count="0"/>
|
73563 |
+
<line num="239" type="stmt" count="0"/>
|
73564 |
+
<line num="240" type="stmt" count="0"/>
|
73565 |
+
<line num="241" type="stmt" count="0"/>
|
73566 |
+
<line num="242" type="stmt" count="0"/>
|
73567 |
+
<line num="243" type="stmt" count="0"/>
|
73568 |
+
<line num="244" type="stmt" count="0"/>
|
73569 |
+
<line num="252" type="stmt" count="0"/>
|
73570 |
+
<line num="253" type="stmt" count="0"/>
|
73571 |
+
<line num="254" type="stmt" count="0"/>
|
73572 |
+
<line num="255" type="stmt" count="0"/>
|
73573 |
+
<line num="256" type="stmt" count="0"/>
|
73574 |
+
<line num="257" type="stmt" count="0"/>
|
73575 |
+
<line num="264" type="stmt" count="0"/>
|
73576 |
+
<line num="265" type="stmt" count="0"/>
|
73577 |
+
<line num="266" type="stmt" count="0"/>
|
73578 |
+
<line num="267" type="stmt" count="0"/>
|
73579 |
+
<line num="268" type="stmt" count="0"/>
|
73580 |
+
<line num="269" type="stmt" count="0"/>
|
73581 |
+
<line num="280" type="method" name="testGetLastDismissal" visibility="public" complexity="1" crap="2" count="0"/>
|
73582 |
+
<line num="282" type="stmt" count="0"/>
|
73583 |
+
<line num="284" type="stmt" count="0"/>
|
73584 |
+
<line num="285" type="stmt" count="0"/>
|
73585 |
+
<line num="286" type="stmt" count="0"/>
|
73586 |
+
<line num="287" type="stmt" count="0"/>
|
73587 |
+
<line num="288" type="stmt" count="0"/>
|
73588 |
+
<line num="290" type="stmt" count="0"/>
|
73589 |
+
<line num="291" type="stmt" count="0"/>
|
73590 |
+
<line num="294" type="stmt" count="0"/>
|
73591 |
+
<line num="296" type="stmt" count="0"/>
|
73592 |
+
<line num="297" type="stmt" count="0"/>
|
73593 |
+
<line num="298" type="stmt" count="0"/>
|
73594 |
+
<line num="299" type="stmt" count="0"/>
|
73595 |
+
<line num="300" type="stmt" count="0"/>
|
73596 |
+
<line num="302" type="stmt" count="0"/>
|
73597 |
+
<line num="303" type="stmt" count="0"/>
|
73598 |
+
<line num="304" type="stmt" count="0"/>
|
73599 |
+
<line num="311" type="method" name="testAdminEnqueueScripts" visibility="public" complexity="1" crap="2" count="0"/>
|
73600 |
+
<line num="313" type="stmt" count="0"/>
|
73601 |
+
<line num="320" type="method" name="testGetPromptSlides" visibility="public" complexity="1" crap="2" count="0"/>
|
73602 |
+
<line num="322" type="stmt" count="0"/>
|
73603 |
+
<line num="329" type="method" name="testGetSlideMarkup" visibility="public" complexity="1" crap="2" count="0"/>
|
73604 |
+
<line num="331" type="stmt" count="0"/>
|
73605 |
+
<line num="340" type="method" name="testIsMinInterval" visibility="public" complexity="1" crap="2" count="0"/>
|
73606 |
+
<line num="344" type="stmt" count="0"/>
|
73607 |
+
<line num="346" type="stmt" count="0"/>
|
73608 |
+
<line num="349" type="stmt" count="0"/>
|
73609 |
+
<line num="350" type="stmt" count="0"/>
|
73610 |
+
<line num="351" type="stmt" count="0"/>
|
73611 |
+
<line num="353" type="stmt" count="0"/>
|
73612 |
+
<line num="356" type="stmt" count="0"/>
|
73613 |
+
<line num="357" type="stmt" count="0"/>
|
73614 |
+
<line num="359" type="stmt" count="0"/>
|
73615 |
+
<line num="360" type="stmt" count="0"/>
|
73616 |
+
<line num="362" type="stmt" count="0"/>
|
73617 |
+
<line num="365" type="stmt" count="0"/>
|
73618 |
+
<line num="366" type="stmt" count="0"/>
|
73619 |
+
<line num="367" type="stmt" count="0"/>
|
73620 |
+
<line num="368" type="stmt" count="0"/>
|
73621 |
+
<line num="370" type="stmt" count="0"/>
|
73622 |
+
<line num="371" type="stmt" count="0"/>
|
73623 |
+
<line num="378" type="method" name="testGetPrompt" visibility="public" complexity="1" crap="2" count="0"/>
|
73624 |
+
<line num="379" type="stmt" count="0"/>
|
73625 |
+
<line num="381" type="stmt" count="0"/>
|
73626 |
+
<line num="383" type="stmt" count="0"/>
|
73627 |
+
<line num="384" type="stmt" count="0"/>
|
73628 |
+
<line num="391" type="method" name="testGetPrompts" visibility="public" complexity="1" crap="2" count="0"/>
|
73629 |
+
<line num="392" type="stmt" count="0"/>
|
73630 |
+
<line num="394" type="stmt" count="0"/>
|
73631 |
+
<line num="396" type="stmt" count="0"/>
|
73632 |
+
<line num="397" type="stmt" count="0"/>
|
73633 |
+
<line num="404" type="method" name="testIsPluginDismissed" visibility="public" complexity="1" crap="2" count="0"/>
|
73634 |
+
<line num="406" type="stmt" count="0"/>
|
73635 |
+
<line num="408" type="stmt" count="0"/>
|
73636 |
+
<line num="411" type="stmt" count="0"/>
|
73637 |
+
<line num="412" type="stmt" count="0"/>
|
73638 |
+
<line num="413" type="stmt" count="0"/>
|
73639 |
+
<line num="414" type="stmt" count="0"/>
|
73640 |
+
<line num="416" type="stmt" count="0"/>
|
73641 |
+
<line num="419" type="stmt" count="0"/>
|
73642 |
+
<line num="420" type="stmt" count="0"/>
|
73643 |
+
<line num="421" type="stmt" count="0"/>
|
73644 |
+
<line num="422" type="stmt" count="0"/>
|
73645 |
+
<line num="424" type="stmt" count="0"/>
|
73646 |
+
<line num="425" type="stmt" count="0"/>
|
73647 |
+
<line num="432" type="method" name="testIsPrompt" visibility="public" complexity="1" crap="2" count="0"/>
|
73648 |
+
<line num="433" type="stmt" count="0"/>
|
73649 |
+
<line num="435" type="stmt" count="0"/>
|
73650 |
+
<line num="437" type="stmt" count="0"/>
|
73651 |
+
<line num="438" type="stmt" count="0"/>
|
73652 |
+
<line num="445" type="method" name="testGetPluginPrompts" visibility="public" complexity="1" crap="2" count="0"/>
|
73653 |
+
<line num="446" type="stmt" count="0"/>
|
73654 |
+
<line num="448" type="stmt" count="0"/>
|
73655 |
+
<line num="450" type="stmt" count="0"/>
|
73656 |
+
<line num="451" type="stmt" count="0"/>
|
73657 |
+
<line num="452" type="stmt" count="0"/>
|
73658 |
+
<line num="454" type="stmt" count="0"/>
|
73659 |
+
<line num="455" type="stmt" count="0"/>
|
73660 |
+
<line num="456" type="stmt" count="0"/>
|
73661 |
+
<line num="465" type="method" name="testGetNext" visibility="public" complexity="1" crap="2" count="0"/>
|
73662 |
+
<line num="467" type="stmt" count="0"/>
|
73663 |
+
<line num="469" type="stmt" count="0"/>
|
73664 |
+
<line num="470" type="stmt" count="0"/>
|
73665 |
+
<line num="473" type="stmt" count="0"/>
|
73666 |
+
<line num="474" type="stmt" count="0"/>
|
73667 |
+
<line num="475" type="stmt" count="0"/>
|
73668 |
+
<line num="476" type="stmt" count="0"/>
|
73669 |
+
<line num="477" type="stmt" count="0"/>
|
73670 |
+
<line num="478" type="stmt" count="0"/>
|
73671 |
+
<line num="480" type="stmt" count="0"/>
|
73672 |
+
<line num="481" type="stmt" count="0"/>
|
73673 |
+
<line num="484" type="stmt" count="0"/>
|
73674 |
+
<line num="485" type="stmt" count="0"/>
|
73675 |
+
<line num="486" type="stmt" count="0"/>
|
73676 |
+
<line num="487" type="stmt" count="0"/>
|
73677 |
+
<line num="488" type="stmt" count="0"/>
|
73678 |
+
<line num="489" type="stmt" count="0"/>
|
73679 |
+
<line num="490" type="stmt" count="0"/>
|
73680 |
+
<line num="491" type="stmt" count="0"/>
|
73681 |
+
<line num="493" type="stmt" count="0"/>
|
73682 |
+
<line num="494" type="stmt" count="0"/>
|
73683 |
+
<line num="495" type="stmt" count="0"/>
|
73684 |
+
<line num="504" type="method" name="testUpdatePrompt" visibility="public" complexity="1" crap="2" count="0"/>
|
73685 |
+
<line num="505" type="stmt" count="0"/>
|
73686 |
+
<line num="507" type="stmt" count="0"/>
|
73687 |
+
<line num="510" type="stmt" count="0"/>
|
73688 |
+
<line num="511" type="stmt" count="0"/>
|
73689 |
+
<line num="512" type="stmt" count="0"/>
|
73690 |
+
<line num="515" type="stmt" count="0"/>
|
73691 |
+
<line num="516" type="stmt" count="0"/>
|
73692 |
+
<line num="517" type="stmt" count="0"/>
|
73693 |
+
<line num="526" type="method" name="testSavePrompts" visibility="public" complexity="1" crap="2" count="0"/>
|
73694 |
+
<line num="527" type="stmt" count="0"/>
|
73695 |
+
<line num="529" type="stmt" count="0"/>
|
73696 |
+
<line num="531" type="stmt" count="0"/>
|
73697 |
+
<line num="533" type="stmt" count="0"/>
|
73698 |
+
<line num="535" type="stmt" count="0"/>
|
73699 |
+
<line num="536" type="stmt" count="0"/>
|
73700 |
+
<line num="545" type="method" name="testUpdatePromptKey" visibility="public" complexity="1" crap="2" count="0"/>
|
73701 |
+
<line num="546" type="stmt" count="0"/>
|
73702 |
+
<line num="548" type="stmt" count="0"/>
|
73703 |
+
<line num="549" type="stmt" count="0"/>
|
73704 |
+
<line num="550" type="stmt" count="0"/>
|
73705 |
+
<line num="552" type="stmt" count="0"/>
|
73706 |
+
<line num="554" type="stmt" count="0"/>
|
73707 |
+
<line num="556" type="stmt" count="0"/>
|
73708 |
+
<line num="557" type="stmt" count="0"/>
|
73709 |
+
<metrics loc="558" ncloc="327" classes="1" methods="20" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="246" coveredstatements="0" elements="266" coveredelements="0"/>
|
73710 |
+
</file>
|
73711 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Plugin/test-notice.php">
|
73712 |
+
<class name="Test_BoldGrid_Library_Library_Plugin_Notice" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Plugin">
|
73713 |
+
<metrics complexity="19" methods="16" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="244" coveredstatements="0" elements="260" coveredelements="0"/>
|
73714 |
+
</class>
|
73715 |
+
<line num="43" type="method" name="setUp" visibility="public" complexity="1" crap="2" count="0"/>
|
73716 |
+
<line num="45" type="stmt" count="0"/>
|
73717 |
+
<line num="46" type="stmt" count="0"/>
|
73718 |
+
<line num="47" type="stmt" count="0"/>
|
73719 |
+
<line num="48" type="stmt" count="0"/>
|
73720 |
+
<line num="49" type="stmt" count="0"/>
|
73721 |
+
<line num="50" type="stmt" count="0"/>
|
73722 |
+
<line num="52" type="stmt" count="0"/>
|
73723 |
+
<line num="53" type="stmt" count="0"/>
|
73724 |
+
<line num="65" type="method" name="set_settings_versions" visibility="public" complexity="1" crap="2" count="0"/>
|
73725 |
+
<line num="66" type="stmt" count="0"/>
|
73726 |
+
<line num="67" type="stmt" count="0"/>
|
73727 |
+
<line num="68" type="stmt" count="0"/>
|
73728 |
+
<line num="69" type="stmt" count="0"/>
|
73729 |
+
<line num="70" type="stmt" count="0"/>
|
73730 |
+
<line num="71" type="stmt" count="0"/>
|
73731 |
+
<line num="72" type="stmt" count="0"/>
|
73732 |
+
<line num="86" type="method" name="getPluginConfig" visibility="public" complexity="3" crap="12" count="0"/>
|
73733 |
+
<line num="87" type="stmt" count="0"/>
|
73734 |
+
<line num="88" type="stmt" count="0"/>
|
73735 |
+
<line num="89" type="stmt" count="0"/>
|
73736 |
+
<line num="90" type="stmt" count="0"/>
|
73737 |
+
<line num="91" type="stmt" count="0"/>
|
73738 |
+
<line num="92" type="stmt" count="0"/>
|
73739 |
+
<line num="93" type="stmt" count="0"/>
|
73740 |
+
<line num="94" type="stmt" count="0"/>
|
73741 |
+
<line num="95" type="stmt" count="0"/>
|
73742 |
+
<line num="96" type="stmt" count="0"/>
|
73743 |
+
<line num="97" type="stmt" count="0"/>
|
73744 |
+
<line num="98" type="stmt" count="0"/>
|
73745 |
+
<line num="99" type="stmt" count="0"/>
|
73746 |
+
<line num="100" type="stmt" count="0"/>
|
73747 |
+
<line num="101" type="stmt" count="0"/>
|
73748 |
+
<line num="102" type="stmt" count="0"/>
|
73749 |
+
<line num="103" type="stmt" count="0"/>
|
73750 |
+
<line num="104" type="stmt" count="0"/>
|
73751 |
+
<line num="105" type="stmt" count="0"/>
|
73752 |
+
<line num="106" type="stmt" count="0"/>
|
73753 |
+
<line num="107" type="stmt" count="0"/>
|
73754 |
+
<line num="108" type="stmt" count="0"/>
|
73755 |
+
<line num="109" type="stmt" count="0"/>
|
73756 |
+
<line num="110" type="stmt" count="0"/>
|
73757 |
+
<line num="111" type="stmt" count="0"/>
|
73758 |
+
<line num="112" type="stmt" count="0"/>
|
73759 |
+
<line num="113" type="stmt" count="0"/>
|
73760 |
+
<line num="114" type="stmt" count="0"/>
|
73761 |
+
<line num="115" type="stmt" count="0"/>
|
73762 |
+
<line num="116" type="stmt" count="0"/>
|
73763 |
+
<line num="117" type="stmt" count="0"/>
|
73764 |
+
<line num="124" type="method" name="getFirstVersion" visibility="public" complexity="1" crap="2" count="0"/>
|
73765 |
+
<line num="126" type="stmt" count="0"/>
|
73766 |
+
<line num="127" type="stmt" count="0"/>
|
73767 |
+
<line num="128" type="stmt" count="0"/>
|
73768 |
+
<line num="129" type="stmt" count="0"/>
|
73769 |
+
<line num="132" type="stmt" count="0"/>
|
73770 |
+
<line num="133" type="stmt" count="0"/>
|
73771 |
+
<line num="134" type="stmt" count="0"/>
|
73772 |
+
<line num="135" type="stmt" count="0"/>
|
73773 |
+
<line num="136" type="stmt" count="0"/>
|
73774 |
+
<line num="137" type="stmt" count="0"/>
|
73775 |
+
<line num="138" type="stmt" count="0"/>
|
73776 |
+
<line num="139" type="stmt" count="0"/>
|
73777 |
+
<line num="140" type="stmt" count="0"/>
|
73778 |
+
<line num="141" type="stmt" count="0"/>
|
73779 |
+
<line num="142" type="stmt" count="0"/>
|
73780 |
+
<line num="143" type="stmt" count="0"/>
|
73781 |
+
<line num="150" type="method" name="getPluginsChecked" visibility="public" complexity="1" crap="2" count="0"/>
|
73782 |
+
<line num="152" type="stmt" count="0"/>
|
73783 |
+
<line num="153" type="stmt" count="0"/>
|
73784 |
+
<line num="154" type="stmt" count="0"/>
|
73785 |
+
<line num="155" type="stmt" count="0"/>
|
73786 |
+
<line num="158" type="stmt" count="0"/>
|
73787 |
+
<line num="161" type="stmt" count="0"/>
|
73788 |
+
<line num="162" type="stmt" count="0"/>
|
73789 |
+
<line num="163" type="stmt" count="0"/>
|
73790 |
+
<line num="164" type="stmt" count="0"/>
|
73791 |
+
<line num="165" type="stmt" count="0"/>
|
73792 |
+
<line num="168" type="stmt" count="0"/>
|
73793 |
+
<line num="169" type="stmt" count="0"/>
|
73794 |
+
<line num="170" type="stmt" count="0"/>
|
73795 |
+
<line num="171" type="stmt" count="0"/>
|
73796 |
+
<line num="172" type="stmt" count="0"/>
|
73797 |
+
<line num="173" type="stmt" count="0"/>
|
73798 |
+
<line num="174" type="stmt" count="0"/>
|
73799 |
+
<line num="175" type="stmt" count="0"/>
|
73800 |
+
<line num="176" type="stmt" count="0"/>
|
73801 |
+
<line num="177" type="stmt" count="0"/>
|
73802 |
+
<line num="178" type="stmt" count="0"/>
|
73803 |
+
<line num="179" type="stmt" count="0"/>
|
73804 |
+
<line num="186" type="method" name="makeFakePlugin" visibility="public" complexity="2" crap="6" count="0"/>
|
73805 |
+
<line num="187" type="stmt" count="0"/>
|
73806 |
+
<line num="190" type="stmt" count="0"/>
|
73807 |
+
<line num="191" type="stmt" count="0"/>
|
73808 |
+
<line num="192" type="stmt" count="0"/>
|
73809 |
+
<line num="193" type="stmt" count="0"/>
|
73810 |
+
<line num="196" type="stmt" count="0"/>
|
73811 |
+
<line num="197" type="stmt" count="0"/>
|
73812 |
+
<line num="198" type="stmt" count="0"/>
|
73813 |
+
<line num="199" type="stmt" count="0"/>
|
73814 |
+
<line num="200" type="stmt" count="0"/>
|
73815 |
+
<line num="201" type="stmt" count="0"/>
|
73816 |
+
<line num="202" type="stmt" count="0"/>
|
73817 |
+
<line num="203" type="stmt" count="0"/>
|
73818 |
+
<line num="204" type="stmt" count="0"/>
|
73819 |
+
<line num="205" type="stmt" count="0"/>
|
73820 |
+
<line num="206" type="stmt" count="0"/>
|
73821 |
+
<line num="207" type="stmt" count="0"/>
|
73822 |
+
<line num="208" type="stmt" count="0"/>
|
73823 |
+
<line num="209" type="stmt" count="0"/>
|
73824 |
+
<line num="210" type="stmt" count="0"/>
|
73825 |
+
<line num="211" type="stmt" count="0"/>
|
73826 |
+
<line num="212" type="stmt" count="0"/>
|
73827 |
+
<line num="213" type="stmt" count="0"/>
|
73828 |
+
<line num="214" type="stmt" count="0"/>
|
73829 |
+
<line num="215" type="stmt" count="0"/>
|
73830 |
+
<line num="216" type="stmt" count="0"/>
|
73831 |
+
<line num="217" type="stmt" count="0"/>
|
73832 |
+
<line num="218" type="stmt" count="0"/>
|
73833 |
<line num="220" type="stmt" count="0"/>
|
73834 |
<line num="221" type="stmt" count="0"/>
|
73835 |
<line num="222" type="stmt" count="0"/>
|
73836 |
<line num="223" type="stmt" count="0"/>
|
73837 |
<line num="224" type="stmt" count="0"/>
|
73838 |
+
<line num="225" type="stmt" count="0"/>
|
73839 |
+
<line num="226" type="stmt" count="0"/>
|
73840 |
+
<line num="227" type="stmt" count="0"/>
|
73841 |
+
<line num="228" type="stmt" count="0"/>
|
73842 |
+
<line num="229" type="stmt" count="0"/>
|
73843 |
+
<line num="230" type="stmt" count="0"/>
|
73844 |
+
<line num="231" type="stmt" count="0"/>
|
73845 |
<line num="233" type="stmt" count="0"/>
|
|
|
|
|
73846 |
<line num="236" type="stmt" count="0"/>
|
73847 |
<line num="237" type="stmt" count="0"/>
|
73848 |
+
<line num="238" type="stmt" count="0"/>
|
73849 |
+
<line num="239" type="stmt" count="0"/>
|
73850 |
+
<line num="240" type="stmt" count="0"/>
|
73851 |
+
<line num="241" type="stmt" count="0"/>
|
73852 |
+
<line num="242" type="stmt" count="0"/>
|
73853 |
+
<line num="243" type="stmt" count="0"/>
|
73854 |
+
<line num="250" type="method" name="testSetIsUnread" visibility="public" complexity="1" crap="2" count="0"/>
|
73855 |
+
<line num="252" type="stmt" count="0"/>
|
73856 |
+
<line num="253" type="stmt" count="0"/>
|
73857 |
+
<line num="254" type="stmt" count="0"/>
|
73858 |
+
<line num="255" type="stmt" count="0"/>
|
73859 |
+
<line num="256" type="stmt" count="0"/>
|
73860 |
+
<line num="257" type="stmt" count="0"/>
|
73861 |
+
<line num="258" type="stmt" count="0"/>
|
73862 |
+
<line num="259" type="stmt" count="0"/>
|
73863 |
<line num="262" type="stmt" count="0"/>
|
|
|
73864 |
<line num="265" type="stmt" count="0"/>
|
73865 |
<line num="266" type="stmt" count="0"/>
|
73866 |
+
<line num="269" type="stmt" count="0"/>
|
|
|
73867 |
<line num="270" type="stmt" count="0"/>
|
73868 |
<line num="271" type="stmt" count="0"/>
|
73869 |
+
<line num="274" type="method" name="testSetNoticeId" visibility="public" complexity="1" crap="2" count="0"/>
|
73870 |
+
<line num="275" type="stmt" count="0"/>
|
73871 |
<line num="276" type="stmt" count="0"/>
|
|
|
73872 |
<line num="278" type="stmt" count="0"/>
|
73873 |
<line num="279" type="stmt" count="0"/>
|
73874 |
<line num="280" type="stmt" count="0"/>
|
73875 |
+
<line num="281" type="stmt" count="0"/>
|
73876 |
<line num="282" type="stmt" count="0"/>
|
73877 |
+
<line num="285" type="method" name="testSetPageSlug" visibility="public" complexity="1" crap="2" count="0"/>
|
73878 |
+
<line num="286" type="stmt" count="0"/>
|
73879 |
+
<line num="287" type="stmt" count="0"/>
|
73880 |
+
<line num="288" type="stmt" count="0"/>
|
73881 |
+
<line num="289" type="stmt" count="0"/>
|
73882 |
+
<line num="290" type="stmt" count="0"/>
|
73883 |
+
<line num="291" type="stmt" count="0"/>
|
73884 |
+
<line num="292" type="stmt" count="0"/>
|
73885 |
+
<line num="295" type="method" name="testSetNoticeVersion" visibility="public" complexity="1" crap="2" count="0"/>
|
73886 |
+
<line num="296" type="stmt" count="0"/>
|
73887 |
<line num="297" type="stmt" count="0"/>
|
73888 |
<line num="299" type="stmt" count="0"/>
|
73889 |
+
<line num="300" type="stmt" count="0"/>
|
73890 |
+
<line num="301" type="stmt" count="0"/>
|
73891 |
<line num="302" type="stmt" count="0"/>
|
73892 |
<line num="303" type="stmt" count="0"/>
|
73893 |
+
<line num="306" type="method" name="testNoticeIfFirstInstall" visibility="public" complexity="1" crap="2" count="0"/>
|
73894 |
+
<line num="307" type="stmt" count="0"/>
|
73895 |
+
<line num="308" type="stmt" count="0"/>
|
73896 |
<line num="309" type="stmt" count="0"/>
|
73897 |
<line num="310" type="stmt" count="0"/>
|
73898 |
+
<line num="311" type="stmt" count="0"/>
|
73899 |
<line num="312" type="stmt" count="0"/>
|
73900 |
+
<line num="319" type="method" name="testAlreadyExists" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
|
|
|
|
|
|
73901 |
<line num="321" type="stmt" count="0"/>
|
73902 |
+
<line num="322" type="stmt" count="0"/>
|
73903 |
<line num="323" type="stmt" count="0"/>
|
73904 |
<line num="324" type="stmt" count="0"/>
|
73905 |
+
<line num="325" type="stmt" count="0"/>
|
73906 |
+
<line num="326" type="stmt" count="0"/>
|
73907 |
+
<line num="327" type="stmt" count="0"/>
|
73908 |
+
<line num="328" type="stmt" count="0"/>
|
73909 |
+
<line num="331" type="stmt" count="0"/>
|
73910 |
<line num="334" type="stmt" count="0"/>
|
73911 |
+
<line num="335" type="stmt" count="0"/>
|
73912 |
<line num="336" type="stmt" count="0"/>
|
73913 |
+
<line num="339" type="method" name="testGetPlugin" visibility="public" complexity="1" crap="2" count="0"/>
|
73914 |
+
<line num="340" type="stmt" count="0"/>
|
73915 |
+
<line num="341" type="stmt" count="0"/>
|
73916 |
+
<line num="342" type="stmt" count="0"/>
|
73917 |
+
<line num="349" type="method" name="testMaybeShow" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
|
|
73918 |
<line num="359" type="stmt" count="0"/>
|
73919 |
+
<line num="360" type="stmt" count="0"/>
|
73920 |
<line num="361" type="stmt" count="0"/>
|
73921 |
+
<line num="362" type="stmt" count="0"/>
|
73922 |
+
<line num="363" type="stmt" count="0"/>
|
73923 |
<line num="364" type="stmt" count="0"/>
|
73924 |
<line num="365" type="stmt" count="0"/>
|
73925 |
<line num="366" type="stmt" count="0"/>
|
73926 |
<line num="367" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
73927 |
<line num="378" type="stmt" count="0"/>
|
73928 |
+
<line num="379" type="stmt" count="0"/>
|
73929 |
+
<line num="380" type="stmt" count="0"/>
|
73930 |
+
<line num="381" type="stmt" count="0"/>
|
73931 |
+
<line num="382" type="stmt" count="0"/>
|
73932 |
+
<line num="383" type="stmt" count="0"/>
|
73933 |
+
<line num="384" type="stmt" count="0"/>
|
73934 |
+
<line num="385" type="stmt" count="0"/>
|
73935 |
<line num="386" type="stmt" count="0"/>
|
73936 |
+
<line num="397" type="stmt" count="0"/>
|
73937 |
+
<line num="398" type="stmt" count="0"/>
|
|
|
|
|
73938 |
<line num="399" type="stmt" count="0"/>
|
73939 |
+
<line num="400" type="stmt" count="0"/>
|
73940 |
<line num="401" type="stmt" count="0"/>
|
73941 |
+
<line num="402" type="stmt" count="0"/>
|
73942 |
<line num="403" type="stmt" count="0"/>
|
73943 |
<line num="404" type="stmt" count="0"/>
|
73944 |
+
<line num="405" type="stmt" count="0"/>
|
73945 |
+
<line num="416" type="stmt" count="0"/>
|
73946 |
+
<line num="417" type="stmt" count="0"/>
|
73947 |
+
<line num="418" type="stmt" count="0"/>
|
73948 |
+
<line num="419" type="stmt" count="0"/>
|
73949 |
<line num="420" type="stmt" count="0"/>
|
73950 |
+
<line num="421" type="stmt" count="0"/>
|
73951 |
<line num="422" type="stmt" count="0"/>
|
73952 |
<line num="423" type="stmt" count="0"/>
|
73953 |
+
<line num="424" type="stmt" count="0"/>
|
73954 |
+
<line num="425" type="stmt" count="0"/>
|
73955 |
+
<line num="428" type="method" name="testNoticeVersionChanged" visibility="public" complexity="1" crap="2" count="0"/>
|
73956 |
<line num="429" type="stmt" count="0"/>
|
73957 |
<line num="430" type="stmt" count="0"/>
|
73958 |
<line num="431" type="stmt" count="0"/>
|
73959 |
+
<line num="432" type="stmt" count="0"/>
|
73960 |
<line num="433" type="stmt" count="0"/>
|
73961 |
<line num="434" type="stmt" count="0"/>
|
73962 |
+
<line num="435" type="stmt" count="0"/>
|
73963 |
<line num="437" type="stmt" count="0"/>
|
|
|
73964 |
<line num="439" type="stmt" count="0"/>
|
73965 |
<line num="440" type="stmt" count="0"/>
|
73966 |
<line num="441" type="stmt" count="0"/>
|
|
|
73967 |
<line num="443" type="stmt" count="0"/>
|
73968 |
<line num="444" type="stmt" count="0"/>
|
73969 |
+
<line num="447" type="method" name="testSetPlugin" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
73970 |
<line num="448" type="stmt" count="0"/>
|
73971 |
+
<line num="449" type="stmt" count="0"/>
|
73972 |
+
<line num="450" type="stmt" count="0"/>
|
73973 |
+
<line num="451" type="stmt" count="0"/>
|
73974 |
+
<line num="452" type="stmt" count="0"/>
|
73975 |
+
<metrics loc="453" ncloc="294" classes="1" methods="16" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="244" coveredstatements="0" elements="260" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73976 |
</file>
|
73977 |
+
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Plugin/test-page.php">
|
73978 |
+
<class name="Test_BoldGrid_Library_Library_Plugin_Page" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Plugin">
|
73979 |
+
<metrics complexity="21" methods="12" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="125" coveredstatements="0" elements="137" coveredelements="0"/>
|
73980 |
</class>
|
73981 |
+
<line num="40" type="method" name="setUp" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73982 |
<line num="42" type="stmt" count="0"/>
|
73983 |
<line num="43" type="stmt" count="0"/>
|
73984 |
+
<line num="44" type="stmt" count="0"/>
|
73985 |
<line num="45" type="stmt" count="0"/>
|
73986 |
<line num="46" type="stmt" count="0"/>
|
73987 |
+
<line num="47" type="stmt" count="0"/>
|
73988 |
+
<line num="49" type="method" name="getPluginConfig" visibility="public" complexity="3" crap="12" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73989 |
<line num="50" type="stmt" count="0"/>
|
73990 |
<line num="51" type="stmt" count="0"/>
|
73991 |
+
<line num="52" type="stmt" count="0"/>
|
73992 |
<line num="53" type="stmt" count="0"/>
|
73993 |
<line num="54" type="stmt" count="0"/>
|
73994 |
<line num="55" type="stmt" count="0"/>
|
73995 |
<line num="56" type="stmt" count="0"/>
|
73996 |
<line num="57" type="stmt" count="0"/>
|
73997 |
<line num="58" type="stmt" count="0"/>
|
73998 |
+
<line num="59" type="stmt" count="0"/>
|
73999 |
+
<line num="60" type="stmt" count="0"/>
|
74000 |
+
<line num="61" type="stmt" count="0"/>
|
74001 |
+
<line num="62" type="stmt" count="0"/>
|
74002 |
+
<line num="63" type="stmt" count="0"/>
|
74003 |
+
<line num="64" type="stmt" count="0"/>
|
74004 |
+
<line num="65" type="stmt" count="0"/>
|
74005 |
<line num="66" type="stmt" count="0"/>
|
74006 |
<line num="67" type="stmt" count="0"/>
|
74007 |
+
<line num="68" type="stmt" count="0"/>
|
74008 |
<line num="69" type="stmt" count="0"/>
|
74009 |
<line num="70" type="stmt" count="0"/>
|
74010 |
<line num="71" type="stmt" count="0"/>
|
74011 |
+
<line num="72" type="stmt" count="0"/>
|
74012 |
+
<line num="73" type="stmt" count="0"/>
|
74013 |
+
<line num="74" type="stmt" count="0"/>
|
74014 |
+
<line num="75" type="stmt" count="0"/>
|
74015 |
+
<line num="76" type="stmt" count="0"/>
|
74016 |
+
<line num="77" type="stmt" count="0"/>
|
74017 |
+
<line num="78" type="stmt" count="0"/>
|
74018 |
<line num="79" type="stmt" count="0"/>
|
74019 |
<line num="80" type="stmt" count="0"/>
|
74020 |
+
<line num="87" type="method" name="getFirstVersion" visibility="public" complexity="1" crap="2" count="0"/>
|
74021 |
+
<line num="89" type="stmt" count="0"/>
|
74022 |
+
<line num="90" type="stmt" count="0"/>
|
74023 |
+
<line num="91" type="stmt" count="0"/>
|
74024 |
<line num="92" type="stmt" count="0"/>
|
|
|
74025 |
<line num="95" type="stmt" count="0"/>
|
74026 |
<line num="96" type="stmt" count="0"/>
|
74027 |
<line num="97" type="stmt" count="0"/>
|
74028 |
<line num="98" type="stmt" count="0"/>
|
74029 |
+
<line num="99" type="stmt" count="0"/>
|
74030 |
+
<line num="100" type="stmt" count="0"/>
|
74031 |
+
<line num="101" type="stmt" count="0"/>
|
74032 |
+
<line num="102" type="stmt" count="0"/>
|
74033 |
+
<line num="103" type="stmt" count="0"/>
|
74034 |
+
<line num="104" type="stmt" count="0"/>
|
74035 |
+
<line num="105" type="stmt" count="0"/>
|
74036 |
<line num="106" type="stmt" count="0"/>
|
74037 |
+
<line num="113" type="method" name="getPluginsChecked" visibility="public" complexity="1" crap="2" count="0"/>
|
74038 |
+
<line num="115" type="stmt" count="0"/>
|
74039 |
+
<line num="116" type="stmt" count="0"/>
|
74040 |
+
<line num="117" type="stmt" count="0"/>
|
74041 |
+
<line num="118" type="stmt" count="0"/>
|
74042 |
+
<line num="121" type="stmt" count="0"/>
|
|
|
|
|
|
|
74043 |
<line num="124" type="stmt" count="0"/>
|
74044 |
<line num="125" type="stmt" count="0"/>
|
74045 |
+
<line num="126" type="stmt" count="0"/>
|
74046 |
+
<line num="127" type="stmt" count="0"/>
|
74047 |
+
<line num="128" type="stmt" count="0"/>
|
74048 |
+
<line num="131" type="stmt" count="0"/>
|
74049 |
+
<line num="132" type="stmt" count="0"/>
|
74050 |
<line num="133" type="stmt" count="0"/>
|
74051 |
<line num="134" type="stmt" count="0"/>
|
74052 |
+
<line num="135" type="stmt" count="0"/>
|
74053 |
<line num="136" type="stmt" count="0"/>
|
74054 |
<line num="137" type="stmt" count="0"/>
|
74055 |
+
<line num="138" type="stmt" count="0"/>
|
74056 |
+
<line num="139" type="stmt" count="0"/>
|
74057 |
+
<line num="140" type="stmt" count="0"/>
|
74058 |
+
<line num="141" type="stmt" count="0"/>
|
74059 |
+
<line num="142" type="stmt" count="0"/>
|
74060 |
+
<line num="144" type="method" name="testGetNoticeById" visibility="public" complexity="1" crap="2" count="0"/>
|
74061 |
<line num="145" type="stmt" count="0"/>
|
74062 |
<line num="146" type="stmt" count="0"/>
|
74063 |
+
<line num="147" type="stmt" count="0"/>
|
74064 |
+
<line num="150" type="method" name="testGetNotices" visibility="public" complexity="4" crap="20" count="0"/>
|
74065 |
<line num="151" type="stmt" count="0"/>
|
74066 |
<line num="152" type="stmt" count="0"/>
|
74067 |
<line num="153" type="stmt" count="0"/>
|
74069 |
<line num="155" type="stmt" count="0"/>
|
74070 |
<line num="156" type="stmt" count="0"/>
|
74071 |
<line num="157" type="stmt" count="0"/>
|
74072 |
+
<line num="158" type="stmt" count="0"/>
|
74073 |
<line num="159" type="stmt" count="0"/>
|
74074 |
<line num="160" type="stmt" count="0"/>
|
74075 |
<line num="161" type="stmt" count="0"/>
|
74076 |
+
<line num="162" type="stmt" count="0"/>
|
74077 |
+
<line num="163" type="stmt" count="0"/>
|
74078 |
+
<line num="164" type="stmt" count="0"/>
|
74079 |
+
<line num="165" type="stmt" count="0"/>
|
74080 |
+
<line num="168" type="method" name="testGetPlugin" visibility="public" complexity="1" crap="2" count="0"/>
|
74081 |
<line num="169" type="stmt" count="0"/>
|
74082 |
<line num="170" type="stmt" count="0"/>
|
74083 |
+
<line num="173" type="method" name="testGetPluginConfig" visibility="public" complexity="1" crap="2" count="0"/>
|
74084 |
<line num="174" type="stmt" count="0"/>
|
74085 |
<line num="175" type="stmt" count="0"/>
|
74086 |
+
<line num="178" type="method" name="testGetUnreadCount" visibility="public" complexity="3" crap="12" count="0"/>
|
74087 |
+
<line num="179" type="stmt" count="0"/>
|
74088 |
+
<line num="180" type="stmt" count="0"/>
|
74089 |
+
<line num="181" type="stmt" count="0"/>
|
74090 |
+
<line num="182" type="stmt" count="0"/>
|
74091 |
<line num="183" type="stmt" count="0"/>
|
74092 |
<line num="184" type="stmt" count="0"/>
|
74093 |
<line num="185" type="stmt" count="0"/>
|
74094 |
<line num="186" type="stmt" count="0"/>
|
74095 |
<line num="187" type="stmt" count="0"/>
|
74096 |
+
<line num="189" type="method" name="testGetUnreadCountMarkup" visibility="public" complexity="3" crap="12" count="0"/>
|
74097 |
+
<line num="190" type="stmt" count="0"/>
|
|
|
74098 |
<line num="192" type="stmt" count="0"/>
|
74099 |
<line num="193" type="stmt" count="0"/>
|
74100 |
<line num="194" type="stmt" count="0"/>
|
74101 |
<line num="195" type="stmt" count="0"/>
|
74102 |
<line num="196" type="stmt" count="0"/>
|
74103 |
<line num="198" type="stmt" count="0"/>
|
74104 |
+
<line num="200" type="stmt" count="0"/>
|
74105 |
+
<line num="201" type="stmt" count="0"/>
|
74106 |
+
<line num="202" type="stmt" count="0"/>
|
74107 |
+
<line num="205" type="method" name="testSetAllNoticesRead" visibility="public" complexity="1" crap="2" count="0"/>
|
74108 |
+
<line num="206" type="stmt" count="0"/>
|
74109 |
<line num="208" type="stmt" count="0"/>
|
74110 |
+
<line num="209" type="stmt" count="0"/>
|
74111 |
<line num="210" type="stmt" count="0"/>
|
74112 |
<line num="211" type="stmt" count="0"/>
|
74113 |
+
<line num="212" type="stmt" count="0"/>
|
74114 |
+
<line num="214" type="method" name="testGetNonExistNotice" visibility="public" complexity="1" crap="2" count="0"/>
|
74115 |
+
<line num="215" type="stmt" count="0"/>
|
74116 |
+
<line num="216" type="stmt" count="0"/>
|
74117 |
+
<line num="217" type="stmt" count="0"/>
|
74118 |
+
<metrics loc="218" ncloc="160" classes="1" methods="12" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="125" coveredstatements="0" elements="137" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74119 |
</file>
|
74120 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Plugin/test-plugin.php">
|
74121 |
<class name="Test_BoldGrid_Library_Library_Plugin_Plugin" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Plugin">
|
74122 |
+
<metrics complexity="17" methods="13" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="145" coveredstatements="0" elements="158" coveredelements="0"/>
|
74123 |
</class>
|
74124 |
+
<line num="41" type="method" name="setUp" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74125 |
<line num="43" type="stmt" count="0"/>
|
|
|
74126 |
<line num="45" type="stmt" count="0"/>
|
74127 |
<line num="46" type="stmt" count="0"/>
|
74128 |
<line num="47" type="stmt" count="0"/>
|
74129 |
<line num="48" type="stmt" count="0"/>
|
74130 |
+
<line num="49" type="stmt" count="0"/>
|
74131 |
+
<line num="56" type="method" name="resetConfigs" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
|
|
|
|
|
|
74132 |
<line num="57" type="stmt" count="0"/>
|
|
|
74133 |
<line num="59" type="stmt" count="0"/>
|
74134 |
<line num="60" type="stmt" count="0"/>
|
74135 |
+
<line num="61" type="stmt" count="0"/>
|
74136 |
+
<line num="63" type="method" name="getPluginConfig" visibility="public" complexity="3" crap="12" count="0"/>
|
74137 |
+
<line num="64" type="stmt" count="0"/>
|
74138 |
+
<line num="65" type="stmt" count="0"/>
|
74139 |
+
<line num="66" type="stmt" count="0"/>
|
74140 |
+
<line num="67" type="stmt" count="0"/>
|
74141 |
<line num="68" type="stmt" count="0"/>
|
74142 |
<line num="69" type="stmt" count="0"/>
|
74143 |
<line num="70" type="stmt" count="0"/>
|
74144 |
+
<line num="71" type="stmt" count="0"/>
|
74145 |
+
<line num="72" type="stmt" count="0"/>
|
74146 |
+
<line num="73" type="stmt" count="0"/>
|
74147 |
+
<line num="74" type="stmt" count="0"/>
|
74148 |
+
<line num="75" type="stmt" count="0"/>
|
74149 |
+
<line num="76" type="stmt" count="0"/>
|
74150 |
+
<line num="77" type="stmt" count="0"/>
|
74151 |
<line num="78" type="stmt" count="0"/>
|
74152 |
<line num="79" type="stmt" count="0"/>
|
74153 |
<line num="80" type="stmt" count="0"/>
|
74154 |
+
<line num="81" type="stmt" count="0"/>
|
74155 |
<line num="82" type="stmt" count="0"/>
|
74156 |
<line num="83" type="stmt" count="0"/>
|
74157 |
+
<line num="90" type="method" name="testGetDownloadUrl" visibility="public" complexity="1" crap="2" count="0"/>
|
74158 |
<line num="91" type="stmt" count="0"/>
|
74159 |
+
<line num="93" type="stmt" count="0"/>
|
|
|
74160 |
<line num="95" type="stmt" count="0"/>
|
74161 |
+
<line num="96" type="stmt" count="0"/>
|
74162 |
+
<line num="103" type="method" name="testFirstVersionCompare" visibility="public" complexity="1" crap="2" count="0"/>
|
74163 |
+
<line num="105" type="stmt" count="0"/>
|
74164 |
<line num="106" type="stmt" count="0"/>
|
74165 |
<line num="107" type="stmt" count="0"/>
|
74166 |
+
<line num="108" type="stmt" count="0"/>
|
74167 |
+
<line num="111" type="stmt" count="0"/>
|
74168 |
+
<line num="112" type="stmt" count="0"/>
|
74169 |
+
<line num="113" type="stmt" count="0"/>
|
74170 |
+
<line num="114" type="stmt" count="0"/>
|
74171 |
<line num="115" type="stmt" count="0"/>
|
74172 |
<line num="116" type="stmt" count="0"/>
|
74173 |
+
<line num="117" type="stmt" count="0"/>
|
74174 |
<line num="118" type="stmt" count="0"/>
|
74175 |
<line num="119" type="stmt" count="0"/>
|
74176 |
+
<line num="120" type="stmt" count="0"/>
|
74177 |
+
<line num="121" type="stmt" count="0"/>
|
74178 |
+
<line num="122" type="stmt" count="0"/>
|
74179 |
+
<line num="123" type="stmt" count="0"/>
|
74180 |
+
<line num="124" type="stmt" count="0"/>
|
74181 |
+
<line num="131" type="method" name="testGetFirstVersion" visibility="public" complexity="1" crap="2" count="0"/>
|
74182 |
+
<line num="133" type="stmt" count="0"/>
|
74183 |
+
<line num="134" type="stmt" count="0"/>
|
74184 |
+
<line num="135" type="stmt" count="0"/>
|
74185 |
+
<line num="136" type="stmt" count="0"/>
|
74186 |
+
<line num="139" type="stmt" count="0"/>
|
74187 |
<line num="140" type="stmt" count="0"/>
|
74188 |
<line num="141" type="stmt" count="0"/>
|
74189 |
+
<line num="142" type="stmt" count="0"/>
|
74190 |
<line num="143" type="stmt" count="0"/>
|
74191 |
<line num="144" type="stmt" count="0"/>
|
74192 |
+
<line num="145" type="stmt" count="0"/>
|
74193 |
+
<line num="146" type="stmt" count="0"/>
|
74194 |
+
<line num="147" type="stmt" count="0"/>
|
74195 |
+
<line num="148" type="stmt" count="0"/>
|
74196 |
+
<line num="149" type="stmt" count="0"/>
|
74197 |
+
<line num="150" type="stmt" count="0"/>
|
74198 |
+
<line num="157" type="method" name="testGetPluginsChecked" visibility="public" complexity="1" crap="2" count="0"/>
|
74199 |
+
<line num="159" type="stmt" count="0"/>
|
74200 |
+
<line num="160" type="stmt" count="0"/>
|
74201 |
+
<line num="161" type="stmt" count="0"/>
|
74202 |
+
<line num="162" type="stmt" count="0"/>
|
74203 |
<line num="165" type="stmt" count="0"/>
|
74204 |
+
<line num="166" type="stmt" count="0"/>
|
74205 |
+
<line num="169" type="stmt" count="0"/>
|
74206 |
+
<line num="170" type="stmt" count="0"/>
|
74207 |
+
<line num="171" type="stmt" count="0"/>
|
74208 |
+
<line num="172" type="stmt" count="0"/>
|
74209 |
+
<line num="173" type="stmt" count="0"/>
|
74210 |
<line num="176" type="stmt" count="0"/>
|
74211 |
<line num="177" type="stmt" count="0"/>
|
74212 |
<line num="178" type="stmt" count="0"/>
|
74213 |
+
<line num="179" type="stmt" count="0"/>
|
74214 |
<line num="180" type="stmt" count="0"/>
|
74215 |
<line num="181" type="stmt" count="0"/>
|
74216 |
+
<line num="182" type="stmt" count="0"/>
|
74217 |
+
<line num="183" type="stmt" count="0"/>
|
74218 |
+
<line num="184" type="stmt" count="0"/>
|
74219 |
+
<line num="185" type="stmt" count="0"/>
|
74220 |
+
<line num="186" type="stmt" count="0"/>
|
74221 |
+
<line num="187" type="stmt" count="0"/>
|
74222 |
+
<line num="189" type="method" name="testGetSetPages" visibility="public" complexity="1" crap="2" count="0"/>
|
74223 |
<line num="190" type="stmt" count="0"/>
|
74224 |
+
<line num="191" type="stmt" count="0"/>
|
74225 |
<line num="192" type="stmt" count="0"/>
|
74226 |
+
<line num="194" type="method" name="testGetUnreadCount" visibility="public" complexity="1" crap="2" count="0"/>
|
74227 |
+
<line num="195" type="stmt" count="0"/>
|
74228 |
+
<line num="197" type="stmt" count="0"/>
|
74229 |
+
<line num="198" type="stmt" count="0"/>
|
74230 |
+
<line num="199" type="stmt" count="0"/>
|
74231 |
+
<line num="201" type="method" name="testGetUnreadMarkup" visibility="public" complexity="1" crap="2" count="0"/>
|
74232 |
<line num="202" type="stmt" count="0"/>
|
74233 |
<line num="204" type="stmt" count="0"/>
|
74234 |
<line num="205" type="stmt" count="0"/>
|
74235 |
<line num="206" type="stmt" count="0"/>
|
74236 |
+
<line num="208" type="method" name="testNoNoticesMarkup" visibility="public" complexity="1" crap="2" count="0"/>
|
74237 |
+
<line num="209" type="stmt" count="0"/>
|
74238 |
+
<line num="211" type="stmt" count="0"/>
|
74239 |
+
<line num="212" type="stmt" count="0"/>
|
74240 |
+
<line num="213" type="stmt" count="0"/>
|
74241 |
+
<line num="214" type="stmt" count="0"/>
|
74242 |
<line num="215" type="stmt" count="0"/>
|
74243 |
+
<line num="217" type="method" name="testTwoPagesWithNotices" visibility="public" complexity="1" crap="2" count="0"/>
|
74244 |
<line num="218" type="stmt" count="0"/>
|
74245 |
+
<line num="219" type="stmt" count="0"/>
|
74246 |
<line num="220" type="stmt" count="0"/>
|
74247 |
+
<line num="221" type="stmt" count="0"/>
|
74248 |
<line num="222" type="stmt" count="0"/>
|
74249 |
<line num="223" type="stmt" count="0"/>
|
74250 |
+
<line num="224" type="stmt" count="0"/>
|
74251 |
+
<line num="225" type="stmt" count="0"/>
|
74252 |
+
<line num="226" type="stmt" count="0"/>
|
74253 |
+
<line num="227" type="stmt" count="0"/>
|
74254 |
+
<line num="229" type="stmt" count="0"/>
|
74255 |
+
<line num="230" type="stmt" count="0"/>
|
74256 |
<line num="231" type="stmt" count="0"/>
|
74257 |
<line num="232" type="stmt" count="0"/>
|
74258 |
+
<line num="233" type="stmt" count="0"/>
|
74259 |
+
<line num="235" type="method" name="testGetPageBySlug" visibility="public" complexity="3" crap="12" count="0"/>
|
74260 |
+
<line num="236" type="stmt" count="0"/>
|
74261 |
+
<line num="237" type="stmt" count="0"/>
|
74262 |
+
<line num="238" type="stmt" count="0"/>
|
74263 |
+
<line num="239" type="stmt" count="0"/>
|
74264 |
+
<line num="240" type="stmt" count="0"/>
|
74265 |
+
<line num="241" type="stmt" count="0"/>
|
74266 |
+
<line num="242" type="stmt" count="0"/>
|
74267 |
<line num="243" type="stmt" count="0"/>
|
74268 |
<line num="244" type="stmt" count="0"/>
|
74269 |
<line num="245" type="stmt" count="0"/>
|
74271 |
<line num="248" type="stmt" count="0"/>
|
74272 |
<line num="249" type="stmt" count="0"/>
|
74273 |
<line num="250" type="stmt" count="0"/>
|
74274 |
+
<line num="251" type="stmt" count="0"/>
|
74275 |
+
<line num="252" type="stmt" count="0"/>
|
74276 |
+
<line num="253" type="stmt" count="0"/>
|
74277 |
+
<line num="254" type="stmt" count="0"/>
|
74278 |
+
<line num="255" type="stmt" count="0"/>
|
74279 |
+
<line num="256" type="stmt" count="0"/>
|
74280 |
+
<line num="258" type="stmt" count="0"/>
|
74281 |
+
<line num="259" type="stmt" count="0"/>
|
74282 |
+
<metrics loc="260" ncloc="193" classes="1" methods="13" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="145" coveredstatements="0" elements="158" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74283 |
</file>
|
74284 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Util/test-plugin.php">
|
74285 |
<class name="Test_BoldGrid_Library_Util_Plugin" namespace="global" fullPackage="Test.BoldGrid.Library.Util">
|
74345 |
<line num="38" type="stmt" count="0"/>
|
74346 |
<line num="39" type="stmt" count="0"/>
|
74347 |
<line num="40" type="stmt" count="0"/>
|
|
|
74348 |
<line num="42" type="stmt" count="0"/>
|
74349 |
+
<metrics loc="43" ncloc="32" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="28" coveredstatements="0" elements="28" coveredelements="0"/>
|
|
|
|
|
|
|
|
|
|
|
74350 |
</file>
|
74351 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/test-reseller.php">
|
74352 |
<class name="Test_BoldGrid_Libarary_Reseller" namespace="global" fullPackage="Test.BoldGrid.Libarary">
|
75045 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
75046 |
</file>
|
75047 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
75048 |
+
<class name="ComposerStaticInitfc178b5f7f91525780ce3cde1b554576" namespace="Composer\Autoload">
|
75049 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
75050 |
</class>
|
75051 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
75137 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
75138 |
</file>
|
75139 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
75140 |
+
<class name="ComposerAutoloaderInitfc178b5f7f91525780ce3cde1b554576" namespace="global">
|
75141 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
75142 |
</class>
|
75143 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
94356 |
<line num="16" type="stmt" count="0"/>
|
94357 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
94358 |
</file>
|
94359 |
+
<metrics files="942" loc="189064" ncloc="115308" classes="852" methods="3505" coveredmethods="269" conditionals="0" coveredconditionals="0" statements="85058" coveredstatements="3952" elements="88563" coveredelements="4221"/>
|
94360 |
</project>
|
94361 |
</coverage>
|
includes/class-boldgrid-backup.php
CHANGED
@@ -127,8 +127,6 @@ class Boldgrid_Backup {
|
|
127 |
*/
|
128 |
require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-notice.php';
|
129 |
|
130 |
-
require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-auto-updates.php';
|
131 |
-
|
132 |
/**
|
133 |
* The class responsible for the cron functionality in the admin area.
|
134 |
*/
|
@@ -262,7 +260,6 @@ class Boldgrid_Backup {
|
|
262 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/class-premium.php';
|
263 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/class-updates.php';
|
264 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/class-find-modified-files.php';
|
265 |
-
require_once BOLDGRID_BACKUP_PATH . '/admin/card/class-timely-auto-updates.php';
|
266 |
|
267 |
// Features.
|
268 |
if ( class_exists( '\Boldgrid\Library\Library\Ui\Feature' ) ) {
|
@@ -271,7 +268,6 @@ class Boldgrid_Backup {
|
|
271 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/feature/class-versions.php';
|
272 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/feature/class-auto-rollback.php';
|
273 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/feature/class-auto-update-backup.php';
|
274 |
-
require_once BOLDGRID_BACKUP_PATH . '/admin/card/feature/class-timely-auto-updates.php';
|
275 |
// Features - Sign up for BoldGrid Central.
|
276 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/feature/class-cloud-wordpress.php';
|
277 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/feature/class-speed-coach.php';
|
@@ -527,10 +523,8 @@ class Boldgrid_Backup {
|
|
527 |
|
528 |
$this->loader->add_filter( 'Boldgrid\Library\Notifications\DashboardWidget\getFeaturePlugin\boldgrid-backup', $plugin_admin_core->dashboard_widget, 'filter_feature', 10, 2 );
|
529 |
|
530 |
-
$
|
531 |
-
$this->loader->
|
532 |
-
$this->loader->add_filter( 'auto_update_plugin', $plugin_admin_core->auto_updates, 'auto_update_plugins', 10, 2 );
|
533 |
-
$this->loader->add_filter( 'auto_update_theme', $plugin_admin_core->auto_updates, 'auto_update_themes', 10, 2 );
|
534 |
|
535 |
// This plugin's Dashboard.
|
536 |
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin_core->dashboard, 'admin_enqueue_scripts' );
|
@@ -540,13 +534,10 @@ class Boldgrid_Backup {
|
|
540 |
$this->loader->add_action( 'wp_ajax_dismissBoldgridNotice', 'Boldgrid\Library\Library\Notice', 'dismiss' );
|
541 |
|
542 |
$usage = new Boldgrid_Backup_Admin_Usage();
|
543 |
-
|
544 |
$this->loader->add_action( 'admin_init', $usage, 'admin_init' );
|
545 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\admin_notices', $usage, 'filter_notice' );
|
546 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\maybeShow', $usage, 'maybe_show_notice' );
|
547 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\getPrefixes', $usage, 'filter_prefixes' );
|
548 |
-
$this->loader->add_filter( 'is_boldgrid_backup_page', $usage, 'has_screen_prefix' );
|
549 |
-
$this->loader->add_action( 'in_admin_header', $plugin_admin_core->upload, 'archive_upload_action' );
|
550 |
|
551 |
// Log system.
|
552 |
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin_core->log_page, 'admin_enqueue_scripts' );
|
@@ -567,8 +558,6 @@ class Boldgrid_Backup {
|
|
567 |
|
568 |
$plugin_notices = new Boldgrid_Backup_Admin_Plugin_Notices();
|
569 |
$this->loader->add_filter( 'Boldgrid\Library\Plugin\Notices\admin_enqueue_scripts', $plugin_notices, 'filter' );
|
570 |
-
|
571 |
-
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin_core, 'add_thickbox' );
|
572 |
}
|
573 |
|
574 |
/**
|
127 |
*/
|
128 |
require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-notice.php';
|
129 |
|
|
|
|
|
130 |
/**
|
131 |
* The class responsible for the cron functionality in the admin area.
|
132 |
*/
|
260 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/class-premium.php';
|
261 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/class-updates.php';
|
262 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/class-find-modified-files.php';
|
|
|
263 |
|
264 |
// Features.
|
265 |
if ( class_exists( '\Boldgrid\Library\Library\Ui\Feature' ) ) {
|
268 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/feature/class-versions.php';
|
269 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/feature/class-auto-rollback.php';
|
270 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/feature/class-auto-update-backup.php';
|
|
|
271 |
// Features - Sign up for BoldGrid Central.
|
272 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/feature/class-cloud-wordpress.php';
|
273 |
require_once BOLDGRID_BACKUP_PATH . '/admin/card/feature/class-speed-coach.php';
|
523 |
|
524 |
$this->loader->add_filter( 'Boldgrid\Library\Notifications\DashboardWidget\getFeaturePlugin\boldgrid-backup', $plugin_admin_core->dashboard_widget, 'filter_feature', 10, 2 );
|
525 |
|
526 |
+
$plugins = new Boldgrid_Backup_Admin_Plugins();
|
527 |
+
$this->loader->add_filter( 'plugin_action_links_boldgrid-backup/boldgrid-backup.php', $plugins, 'plugin_action_links', 10, 4 );
|
|
|
|
|
528 |
|
529 |
// This plugin's Dashboard.
|
530 |
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin_core->dashboard, 'admin_enqueue_scripts' );
|
534 |
$this->loader->add_action( 'wp_ajax_dismissBoldgridNotice', 'Boldgrid\Library\Library\Notice', 'dismiss' );
|
535 |
|
536 |
$usage = new Boldgrid_Backup_Admin_Usage();
|
|
|
537 |
$this->loader->add_action( 'admin_init', $usage, 'admin_init' );
|
538 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\admin_notices', $usage, 'filter_notice' );
|
539 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\maybeShow', $usage, 'maybe_show_notice' );
|
540 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\getPrefixes', $usage, 'filter_prefixes' );
|
|
|
|
|
541 |
|
542 |
// Log system.
|
543 |
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin_core->log_page, 'admin_enqueue_scripts' );
|
558 |
|
559 |
$plugin_notices = new Boldgrid_Backup_Admin_Plugin_Notices();
|
560 |
$this->loader->add_filter( 'Boldgrid\Library\Plugin\Notices\admin_enqueue_scripts', $plugin_notices, 'filter' );
|
|
|
|
|
561 |
}
|
562 |
|
563 |
/**
|
includes/config/config.plugin.php
CHANGED
@@ -99,10 +99,5 @@ return [
|
|
99 |
'page' => 'boldgrid-backup-premium-features',
|
100 |
'version' => '1.13.0',
|
101 |
],
|
102 |
-
[
|
103 |
-
'id' => 'bgbkup_timely_auto_updates',
|
104 |
-
'page' => 'boldgrid-backup-premium-features',
|
105 |
-
'version' => '1.14.0',
|
106 |
-
],
|
107 |
],
|
108 |
];
|
99 |
'page' => 'boldgrid-backup-premium-features',
|
100 |
'version' => '1.13.0',
|
101 |
],
|
|
|
|
|
|
|
|
|
|
|
102 |
],
|
103 |
];
|
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.4
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 1.13.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -132,11 +132,11 @@ Have a problem? First, take a look at our [Getting Started](https://www.boldgrid
|
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
-
= 1.
|
136 |
|
137 |
-
Release date:
|
138 |
|
139 |
-
*
|
140 |
|
141 |
= 1.13.6 =
|
142 |
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.4
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 1.13.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
+
= 1.13.7 =
|
136 |
|
137 |
+
Release date: June 4rd, 2020
|
138 |
|
139 |
+
* Update: Create log file for local retention.
|
140 |
|
141 |
= 1.13.6 =
|
142 |
|
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 ComposerAutoloaderInitfc178b5f7f91525780ce3cde1b554576::getLoader();
|
vendor/boldgrid/library/.gitignore
CHANGED
@@ -2,7 +2,7 @@ build/
|
|
2 |
node_modules/
|
3 |
vendor/
|
4 |
reports/
|
5 |
-
|
6 |
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
|
7 |
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
|
8 |
# composer.lock
|
2 |
node_modules/
|
3 |
vendor/
|
4 |
reports/
|
5 |
+
|
6 |
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
|
7 |
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
|
8 |
# composer.lock
|
vendor/boldgrid/library/README.md
CHANGED
@@ -13,10 +13,9 @@ composer require boldgrid/library
|
|
13 |
|
14 |
### 2.12.2 ###
|
15 |
|
16 |
-
Release date: May
|
17 |
|
18 |
* Bug fix: Do not load libraries from deleted plugins.
|
19 |
-
* Update: Expanded Plugins class and added Themes class.
|
20 |
|
21 |
### 2.12.1 ###
|
22 |
|
13 |
|
14 |
### 2.12.2 ###
|
15 |
|
16 |
+
Release date: May 28th, 2020
|
17 |
|
18 |
* Bug fix: Do not load libraries from deleted plugins.
|
|
|
19 |
|
20 |
### 2.12.1 ###
|
21 |
|
vendor/boldgrid/library/phpunit.xml
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
convertWarningsToExceptions="true"
|
8 |
>
|
9 |
<testsuites>
|
10 |
-
<testsuite
|
11 |
<directory prefix="test-" suffix=".php">./tests/</directory>
|
12 |
</testsuite>
|
13 |
</testsuites>
|
7 |
convertWarningsToExceptions="true"
|
8 |
>
|
9 |
<testsuites>
|
10 |
+
<testsuite>
|
11 |
<directory prefix="test-" suffix=".php">./tests/</directory>
|
12 |
</testsuite>
|
13 |
</testsuites>
|
vendor/boldgrid/library/src/Library/Configs.php
CHANGED
@@ -133,10 +133,12 @@ class Configs {
|
|
133 |
public static function getPlugins( $filters = array() ) {
|
134 |
$plugins = array();
|
135 |
|
136 |
-
foreach
|
|
|
|
|
137 |
// If no filters, add the plugin. Else, only add the plugin if all filters match.
|
138 |
if ( empty( $filters ) ) {
|
139 |
-
$plugins[] =
|
140 |
} else {
|
141 |
$addPlugin = true;
|
142 |
|
@@ -147,7 +149,7 @@ class Configs {
|
|
147 |
}
|
148 |
|
149 |
if ( $addPlugin ) {
|
150 |
-
$plugins[] =
|
151 |
}
|
152 |
}
|
153 |
}
|
133 |
public static function getPlugins( $filters = array() ) {
|
134 |
$plugins = array();
|
135 |
|
136 |
+
foreach( self::get( 'plugins' ) as $plugin ) {
|
137 |
+
$slug = Plugin::getFileSlug( $plugin['file'] );
|
138 |
+
|
139 |
// If no filters, add the plugin. Else, only add the plugin if all filters match.
|
140 |
if ( empty( $filters ) ) {
|
141 |
+
$plugins[] = new Plugin( $slug );
|
142 |
} else {
|
143 |
$addPlugin = true;
|
144 |
|
149 |
}
|
150 |
|
151 |
if ( $addPlugin ) {
|
152 |
+
$plugins[] = new Plugin( $slug );
|
153 |
}
|
154 |
}
|
155 |
}
|
vendor/boldgrid/library/src/Library/Plugin/Checker.php
CHANGED
@@ -30,12 +30,9 @@ class Checker {
|
|
30 |
private $pluginPattern = '^(boldgrid-|post-and-page-builder)';
|
31 |
|
32 |
public function __construct() {
|
33 |
-
add_action(
|
34 |
-
'
|
35 |
-
|
36 |
-
delete_site_transient( 'boldgrid_plugins_filtered' );
|
37 |
-
}
|
38 |
-
);
|
39 |
}
|
40 |
|
41 |
/**
|
@@ -45,8 +42,7 @@ class Checker {
|
|
45 |
*/
|
46 |
public function run() {
|
47 |
|
48 |
-
add_action(
|
49 |
-
'boldgrid_plugins_updated',
|
50 |
array(
|
51 |
'Boldgrid\Library\Util\Option',
|
52 |
'deletePluginTransients',
|
30 |
private $pluginPattern = '^(boldgrid-|post-and-page-builder)';
|
31 |
|
32 |
public function __construct() {
|
33 |
+
add_action( 'upgrader_process_complete', function() {
|
34 |
+
delete_site_transient( 'boldgrid_plugins_filtered' );
|
35 |
+
} );
|
|
|
|
|
|
|
36 |
}
|
37 |
|
38 |
/**
|
42 |
*/
|
43 |
public function run() {
|
44 |
|
45 |
+
add_action( 'boldgrid_plugins_updated',
|
|
|
46 |
array(
|
47 |
'Boldgrid\Library\Util\Option',
|
48 |
'deletePluginTransients',
|
vendor/boldgrid/library/src/Library/Plugin/Factory.php
DELETED
@@ -1,222 +0,0 @@
|
|
1 |
-
<?php //phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase
|
2 |
-
/**
|
3 |
-
* BoldGrid Library Plugin Factory.
|
4 |
-
*
|
5 |
-
* Library package uses different naming convention.
|
6 |
-
* phpcs:disable WordPress.NamingConventions.ValidVariableName
|
7 |
-
* phpcs:disable WordPress.NamingConventions.ValidFunctionName
|
8 |
-
*
|
9 |
-
* @package Boldgrid\Plugin
|
10 |
-
*
|
11 |
-
* @since 2.12.2
|
12 |
-
* @author BoldGrid <wpb@boldgrid.com>
|
13 |
-
*/
|
14 |
-
|
15 |
-
namespace Boldgrid\Library\Library\Plugin;
|
16 |
-
|
17 |
-
use Boldgrid\Library\Library\Configs;
|
18 |
-
use Boldgrid\Library\Library\Settings;
|
19 |
-
use Boldgrid\Library\Library\Plugin\Page;
|
20 |
-
|
21 |
-
/**
|
22 |
-
* Plugin Factory
|
23 |
-
*
|
24 |
-
* @since 2.12.2
|
25 |
-
*/
|
26 |
-
class Factory {
|
27 |
-
|
28 |
-
/**
|
29 |
-
* Class Constructor.
|
30 |
-
*
|
31 |
-
* @since 2.12.2
|
32 |
-
*
|
33 |
-
* @param string $pluginName Plugin slug or filename passed from constructor.
|
34 |
-
* @param array $pluginConfig Array of plugin config data.
|
35 |
-
* @param bool $getUpdateData Whether or not to get the updateData on initialization.
|
36 |
-
*
|
37 |
-
* @return Plugin
|
38 |
-
*/
|
39 |
-
public static function create( $pluginName, $pluginConfig = null, $getUpdateData = false ) {
|
40 |
-
$plugin = null;
|
41 |
-
if ( false === strpos( $pluginName, '.' ) ) {
|
42 |
-
$plugin = self::createFromSlug( $pluginName, $pluginConfig, $getUpdateData );
|
43 |
-
} else {
|
44 |
-
$plugin = self::createFromFile( $pluginName, $pluginConfig, $getUpdateData );
|
45 |
-
}
|
46 |
-
|
47 |
-
return $plugin;
|
48 |
-
}
|
49 |
-
|
50 |
-
/**
|
51 |
-
* Creates a Plugin Object using a slug as the paramater.
|
52 |
-
*
|
53 |
-
* @param string $slug Plugin Slug.
|
54 |
-
* @param array $pluginConfig Array of plugin config data.
|
55 |
-
* @param bool $getUpdateData Whether or not to get updateData.
|
56 |
-
*
|
57 |
-
* @return Plugin
|
58 |
-
*/
|
59 |
-
public static function createFromSlug( $slug, $pluginConfig, $getUpdateData ) {
|
60 |
-
|
61 |
-
$slug = ! empty( $slug ) ? $slug : '';
|
62 |
-
|
63 |
-
$pluginConfig = ! empty( $pluginConfig ) ? $pluginConfig : array();
|
64 |
-
|
65 |
-
$file = self::fileFromSlug( $slug );
|
66 |
-
|
67 |
-
$path = ABSPATH . 'wp-content/plugins/' . $file;
|
68 |
-
|
69 |
-
$isInstalled = self::isPluginInstalled( $path );
|
70 |
-
|
71 |
-
$childPlugins = self::getChildPlugins( $file );
|
72 |
-
|
73 |
-
return new Plugin(
|
74 |
-
array(
|
75 |
-
'slug' => $slug,
|
76 |
-
'pluginConfig' => $pluginConfig,
|
77 |
-
'file' => $file,
|
78 |
-
'path' => $path,
|
79 |
-
'isInstalled' => $isInstalled,
|
80 |
-
'childPlugins' => $childPlugins,
|
81 |
-
'getUpdateData' => $getUpdateData,
|
82 |
-
)
|
83 |
-
);
|
84 |
-
}
|
85 |
-
|
86 |
-
/**
|
87 |
-
* Creates a Plugin Object using a file as the paramater.
|
88 |
-
*
|
89 |
-
* @param string $slug Plugin Slug.
|
90 |
-
* @param array $pluginConfig Array of plugin config data.
|
91 |
-
*
|
92 |
-
* @return Plugin
|
93 |
-
*/
|
94 |
-
private static function createFromFile( $file, $pluginConfig ) {
|
95 |
-
|
96 |
-
$file = ! empty( $file ) ? $file : '';
|
97 |
-
|
98 |
-
$pluginConfig = ! empty( $pluginConfig ) ? $pluginConfig : array();
|
99 |
-
|
100 |
-
$slug = self::slugFromFile( $file );
|
101 |
-
|
102 |
-
$path = ABSPATH . 'wp-content/plugins/' . $file;
|
103 |
-
|
104 |
-
$isInstalled = self::isPluginInstalled( $path );
|
105 |
-
|
106 |
-
$childPlugins = self::getChildPlugins( $file );
|
107 |
-
|
108 |
-
return new Plugin(
|
109 |
-
array(
|
110 |
-
'slug' => $slug,
|
111 |
-
'pluginConfig' => $pluginConfig,
|
112 |
-
'file' => $file,
|
113 |
-
'path' => $path,
|
114 |
-
'isInstalled' => $isInstalled,
|
115 |
-
'childPlugins' => $childPlugins,
|
116 |
-
)
|
117 |
-
);
|
118 |
-
}
|
119 |
-
|
120 |
-
/**
|
121 |
-
* Gets the plugin's file from the slug passed in construction.
|
122 |
-
*
|
123 |
-
* If a slug was passed, not a file, then this will find the file for us.
|
124 |
-
*
|
125 |
-
* @since 2.12.2
|
126 |
-
*
|
127 |
-
* @param string $slug Slug passed in construction.
|
128 |
-
*
|
129 |
-
* @return string
|
130 |
-
*/
|
131 |
-
public static function fileFromSlug( $slug ) {
|
132 |
-
$plugin_file = '';
|
133 |
-
if ( file_exists( WP_PLUGIN_DIR . '/' . $slug . '/' . $slug . '.php' ) ) {
|
134 |
-
$plugin_file = $slug . '/' . $slug . '.php';
|
135 |
-
} elseif ( file_exists( WP_PLUGIN_DIR . '/' . $slug . '.php' ) ) {
|
136 |
-
$plugin_file = $slug . '.php';
|
137 |
-
} else {
|
138 |
-
$file_list = scandir( WP_PLUGIN_DIR );
|
139 |
-
foreach ( $file_list as $file ) {
|
140 |
-
if ( false !== strpos( $file, '.php' ) && false !== strpos( $slug, explode( '.', $file )[0] ) ) {
|
141 |
-
$plugin_file = $file;
|
142 |
-
}
|
143 |
-
}
|
144 |
-
}
|
145 |
-
return $plugin_file;
|
146 |
-
}
|
147 |
-
|
148 |
-
/**
|
149 |
-
* Gets the plugin's slug from the file name passed in construction.
|
150 |
-
*
|
151 |
-
* If a filename was passed, not a slug, then this will find the slug for us.
|
152 |
-
*
|
153 |
-
* @since 2.12.2
|
154 |
-
*
|
155 |
-
* @param string $file Filename passed in construction.
|
156 |
-
*/
|
157 |
-
public static function slugFromFile( $file ) {
|
158 |
-
$slug = '';
|
159 |
-
if ( false !== strpos( $file, '/' ) ) {
|
160 |
-
// If the filename has a '/' in it, the slug should be the first part of the string.
|
161 |
-
$slug = explode( '/', $file )[0];
|
162 |
-
} else {
|
163 |
-
/*
|
164 |
-
* If the filename does not have a '/' then the slug will ahve to be pulled from the plugin's
|
165 |
-
* file contents. This is because the plugins with just a name, such as hello.php, do not
|
166 |
-
* always match their slug.
|
167 |
-
*/
|
168 |
-
$file_contents = file_get_contents( WP_PLUGIN_DIR . '/' . $file );
|
169 |
-
$lines = explode( "\n", $file_contents );
|
170 |
-
foreach ( $lines as $line ) {
|
171 |
-
if ( false !== strpos( $line, '@package' ) ) {
|
172 |
-
$package = strtolower( explode( ' ', $line )[3] );
|
173 |
-
$slug = str_replace( '_', '-', $package );
|
174 |
-
}
|
175 |
-
}
|
176 |
-
}
|
177 |
-
return $slug;
|
178 |
-
}
|
179 |
-
|
180 |
-
/**
|
181 |
-
* Set whether or not the plugin is installed (different from activated).
|
182 |
-
*
|
183 |
-
* @since 2.12.2
|
184 |
-
*/
|
185 |
-
public static function isPluginInstalled( $path ) {
|
186 |
-
$wp_filesystem = \Boldgrid\Library\Util\Version::getWpFilesystem();
|
187 |
-
return $wp_filesystem->exists( $path );
|
188 |
-
}
|
189 |
-
|
190 |
-
/**
|
191 |
-
* Set our child plugins.
|
192 |
-
*
|
193 |
-
* @since 2.12.2
|
194 |
-
*
|
195 |
-
* @param string $file Filename.
|
196 |
-
*
|
197 |
-
* @return array.
|
198 |
-
*/
|
199 |
-
public static function getChildPlugins( $file ) {
|
200 |
-
$child_plugins = array();
|
201 |
-
|
202 |
-
$config = array();
|
203 |
-
$plugins = Configs::get( 'plugins' );
|
204 |
-
if ( $plugins ) {
|
205 |
-
foreach ( $plugins as $plugin ) {
|
206 |
-
if ( $plugin['file'] === $file ) {
|
207 |
-
$config = $plugin;
|
208 |
-
}
|
209 |
-
}
|
210 |
-
}
|
211 |
-
|
212 |
-
if ( empty( $config['childPlugins'] ) ) {
|
213 |
-
return array();
|
214 |
-
}
|
215 |
-
|
216 |
-
foreach ( $config['childPlugins'] as $file ) {
|
217 |
-
$childPlugins[] = self::create( $file );
|
218 |
-
}
|
219 |
-
|
220 |
-
return $childPlugins;
|
221 |
-
}
|
222 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/boldgrid/library/src/Library/Plugin/Notice.php
CHANGED
@@ -1,11 +1,7 @@
|
|
1 |
-
<?php
|
2 |
/**
|
3 |
* BoldGrid Library Plugin Page Notice.
|
4 |
*
|
5 |
-
* Library package uses different naming convention.
|
6 |
-
* phpcs:disable WordPress.NamingConventions.ValidVariableName
|
7 |
-
* phpcs:disable WordPress.NamingConventions.ValidFunctionName
|
8 |
-
*
|
9 |
* @package Boldgrid\Plugin
|
10 |
*
|
11 |
* @since 2.12.0
|
@@ -16,8 +12,8 @@ namespace Boldgrid\Library\Library\Plugin;
|
|
16 |
/**
|
17 |
* Notice class for Plugin\Page.
|
18 |
*
|
19 |
-
* This class is a specific Notice
|
20 |
-
* used by the Boldgrid\Library\Library\Plugin\Page
|
21 |
* and Boldgrid\Library\Library\Plugin\Plugin classes.
|
22 |
*
|
23 |
* @since 2.12.0
|
@@ -25,7 +21,7 @@ namespace Boldgrid\Library\Library\Plugin;
|
|
25 |
class Notice {
|
26 |
|
27 |
/**
|
28 |
-
* Notice ID
|
29 |
*
|
30 |
* @since 2.12.0
|
31 |
* @var string
|
@@ -43,7 +39,7 @@ class Notice {
|
|
43 |
protected $pageSlug;
|
44 |
|
45 |
/**
|
46 |
-
* Notice Version
|
47 |
*
|
48 |
* Version of plugin this notice was added on.
|
49 |
*
|
@@ -54,7 +50,7 @@ class Notice {
|
|
54 |
protected $version;
|
55 |
|
56 |
/**
|
57 |
-
* Plugin Object
|
58 |
*
|
59 |
* Plugin Object this belongs to.
|
60 |
*
|
@@ -65,7 +61,7 @@ class Notice {
|
|
65 |
protected $plugin;
|
66 |
|
67 |
/**
|
68 |
-
* Notice Is Unread
|
69 |
*
|
70 |
* Specifies if the Notice is Unread or not.
|
71 |
*
|
@@ -76,12 +72,13 @@ class Notice {
|
|
76 |
protected $isUnread;
|
77 |
|
78 |
/**
|
79 |
-
* Constructor
|
|
|
80 |
*
|
81 |
* @since 2.12.0
|
82 |
*
|
83 |
* @param Plugin $plugin Plugin instance that this Notice belongs to.
|
84 |
-
* @param array
|
85 |
* An array of notice values.
|
86 |
*
|
87 |
* @type string $id notice ID.
|
@@ -231,50 +228,50 @@ class Notice {
|
|
231 |
*
|
232 |
* @since 2.12.0
|
233 |
*
|
234 |
-
* @param
|
235 |
* @return array
|
236 |
* @type Notice Notice Instance.
|
237 |
* @type int Index of Notice in Options array.
|
238 |
*/
|
239 |
-
|
240 |
-
$option = get_option( 'boldgrid_plugin_page_notices',
|
241 |
$optionCount = count( $option );
|
242 |
|
243 |
$i = 0;
|
244 |
foreach ( $option as $notice ) {
|
245 |
if ( $option[ $i ]['id'] === $noticeId ) {
|
246 |
-
return
|
247 |
}
|
248 |
$i++;
|
249 |
}
|
250 |
-
return
|
251 |
}
|
252 |
|
253 |
/**
|
254 |
* Update Notice Option.
|
255 |
*
|
256 |
-
* Updates option row in wp_options table. If The NoticeId
|
257 |
* already exists, then it's object is replaced with $this.
|
258 |
* Otherwise, $this is appended to the array.
|
259 |
*
|
260 |
* @since 2.12.0
|
261 |
*/
|
262 |
public function updateNoticeOption() {
|
263 |
-
$option = get_option( 'boldgrid_plugin_page_notices',
|
264 |
if ( $this->alreadyExists() ) {
|
265 |
-
$option[ $this->getFromOptions( $this->id )[1] ] =
|
266 |
'id' => $this->id,
|
267 |
'isUnread' => $this->isUnread,
|
268 |
'version' => $this->version,
|
269 |
'page' => $this->pageSlug,
|
270 |
-
|
271 |
} else {
|
272 |
-
$option[] =
|
273 |
'id' => $this->id,
|
274 |
'isUnread' => $this->isUnread,
|
275 |
'version' => $this->version,
|
276 |
'page' => $this->pageSlug,
|
277 |
-
|
278 |
}
|
279 |
update_option( 'boldgrid_plugin_page_notices', $option );
|
280 |
}
|
@@ -282,7 +279,7 @@ class Notice {
|
|
282 |
/**
|
283 |
* Get Plugin.
|
284 |
*
|
285 |
-
* Get plugin instance that this notice belongs to
|
286 |
*
|
287 |
* @since 2.12.0
|
288 |
*
|
@@ -295,7 +292,7 @@ class Notice {
|
|
295 |
/**
|
296 |
* Set Plugin.
|
297 |
*
|
298 |
-
* Set plugin Instance that this notice belongs to
|
299 |
*
|
300 |
* @since 2.12.0
|
301 |
*
|
@@ -308,15 +305,15 @@ class Notice {
|
|
308 |
/**
|
309 |
* Notice Version Changed.
|
310 |
*
|
311 |
-
* Determines if an existing Notice's version number has changed
|
312 |
-
* since it was placed in options table. If it has changed, then it marks
|
313 |
-
* the notice unread again. This will help bring attention to old notices
|
314 |
* that may have been revised.
|
315 |
*
|
316 |
* @since 2.12.0
|
317 |
*
|
318 |
-
* @param
|
319 |
-
* @param array $newNotice
|
320 |
*/
|
321 |
private function noticeVersionChanged( array $originalNotice, array $newNotice ) {
|
322 |
if ( version_compare( $originalNotice['version'], $newNotice['version'], 'ne' ) ) {
|
1 |
+
<?php
|
2 |
/**
|
3 |
* BoldGrid Library Plugin Page Notice.
|
4 |
*
|
|
|
|
|
|
|
|
|
5 |
* @package Boldgrid\Plugin
|
6 |
*
|
7 |
* @since 2.12.0
|
12 |
/**
|
13 |
* Notice class for Plugin\Page.
|
14 |
*
|
15 |
+
* This class is a specific Notice
|
16 |
+
* used by the Boldgrid\Library\Library\Plugin\Page
|
17 |
* and Boldgrid\Library\Library\Plugin\Plugin classes.
|
18 |
*
|
19 |
* @since 2.12.0
|
21 |
class Notice {
|
22 |
|
23 |
/**
|
24 |
+
* Notice ID
|
25 |
*
|
26 |
* @since 2.12.0
|
27 |
* @var string
|
39 |
protected $pageSlug;
|
40 |
|
41 |
/**
|
42 |
+
* Notice Version
|
43 |
*
|
44 |
* Version of plugin this notice was added on.
|
45 |
*
|
50 |
protected $version;
|
51 |
|
52 |
/**
|
53 |
+
* Plugin Object
|
54 |
*
|
55 |
* Plugin Object this belongs to.
|
56 |
*
|
61 |
protected $plugin;
|
62 |
|
63 |
/**
|
64 |
+
* Notice Is Unread
|
65 |
*
|
66 |
* Specifies if the Notice is Unread or not.
|
67 |
*
|
72 |
protected $isUnread;
|
73 |
|
74 |
/**
|
75 |
+
* Constructor
|
76 |
+
*
|
77 |
*
|
78 |
* @since 2.12.0
|
79 |
*
|
80 |
* @param Plugin $plugin Plugin instance that this Notice belongs to.
|
81 |
+
* @param array $notice {
|
82 |
* An array of notice values.
|
83 |
*
|
84 |
* @type string $id notice ID.
|
228 |
*
|
229 |
* @since 2.12.0
|
230 |
*
|
231 |
+
* @param string $noticeId
|
232 |
* @return array
|
233 |
* @type Notice Notice Instance.
|
234 |
* @type int Index of Notice in Options array.
|
235 |
*/
|
236 |
+
private function getFromOptions( $noticeId ) {
|
237 |
+
$option = get_option( 'boldgrid_plugin_page_notices', [] );
|
238 |
$optionCount = count( $option );
|
239 |
|
240 |
$i = 0;
|
241 |
foreach ( $option as $notice ) {
|
242 |
if ( $option[ $i ]['id'] === $noticeId ) {
|
243 |
+
return [ $option[ $i ], $i ];
|
244 |
}
|
245 |
$i++;
|
246 |
}
|
247 |
+
return [];
|
248 |
}
|
249 |
|
250 |
/**
|
251 |
* Update Notice Option.
|
252 |
*
|
253 |
+
* Updates option row in wp_options table. If The NoticeId
|
254 |
* already exists, then it's object is replaced with $this.
|
255 |
* Otherwise, $this is appended to the array.
|
256 |
*
|
257 |
* @since 2.12.0
|
258 |
*/
|
259 |
public function updateNoticeOption() {
|
260 |
+
$option = get_option( 'boldgrid_plugin_page_notices', [] );
|
261 |
if ( $this->alreadyExists() ) {
|
262 |
+
$option[ $this->getFromOptions( $this->id )[1] ] = [
|
263 |
'id' => $this->id,
|
264 |
'isUnread' => $this->isUnread,
|
265 |
'version' => $this->version,
|
266 |
'page' => $this->pageSlug,
|
267 |
+
];
|
268 |
} else {
|
269 |
+
$option[] = [
|
270 |
'id' => $this->id,
|
271 |
'isUnread' => $this->isUnread,
|
272 |
'version' => $this->version,
|
273 |
'page' => $this->pageSlug,
|
274 |
+
];
|
275 |
}
|
276 |
update_option( 'boldgrid_plugin_page_notices', $option );
|
277 |
}
|
279 |
/**
|
280 |
* Get Plugin.
|
281 |
*
|
282 |
+
* Get plugin instance that this notice belongs to
|
283 |
*
|
284 |
* @since 2.12.0
|
285 |
*
|
292 |
/**
|
293 |
* Set Plugin.
|
294 |
*
|
295 |
+
* Set plugin Instance that this notice belongs to
|
296 |
*
|
297 |
* @since 2.12.0
|
298 |
*
|
305 |
/**
|
306 |
* Notice Version Changed.
|
307 |
*
|
308 |
+
* Determines if an existing Notice's version number has changed
|
309 |
+
* since it was placed in options table. If it has changed, then it marks
|
310 |
+
* the notice unread again. This will help bring attention to old notices
|
311 |
* that may have been revised.
|
312 |
*
|
313 |
* @since 2.12.0
|
314 |
*
|
315 |
+
* @param Notice $originalNotice
|
316 |
+
* @param array $newNotice
|
317 |
*/
|
318 |
private function noticeVersionChanged( array $originalNotice, array $newNotice ) {
|
319 |
if ( version_compare( $originalNotice['version'], $newNotice['version'], 'ne' ) ) {
|
vendor/boldgrid/library/src/Library/Plugin/Notices.php
CHANGED
@@ -55,13 +55,12 @@ class Notices {
|
|
55 |
$handle,
|
56 |
Library\Configs::get( 'libraryUrl' ) . 'src/assets/js/plugin-notices.js',
|
57 |
'jquery',
|
58 |
-
Library\Configs::get( 'libraryVersion' )
|
59 |
-
false
|
60 |
);
|
61 |
|
62 |
-
$translation =
|
63 |
-
'counts' =>
|
64 |
-
|
65 |
|
66 |
/**
|
67 |
* Allow other plugins to add notice counts.
|
55 |
$handle,
|
56 |
Library\Configs::get( 'libraryUrl' ) . 'src/assets/js/plugin-notices.js',
|
57 |
'jquery',
|
58 |
+
Library\Configs::get( 'libraryVersion' )
|
|
|
59 |
);
|
60 |
|
61 |
+
$translation = [
|
62 |
+
'counts' => [],
|
63 |
+
];
|
64 |
|
65 |
/**
|
66 |
* Allow other plugins to add notice counts.
|
vendor/boldgrid/library/src/Library/Plugin/Page.php
CHANGED
@@ -1,11 +1,7 @@
|
|
1 |
-
<?php
|
2 |
/**
|
3 |
* BoldGrid Library Plugin Page.
|
4 |
*
|
5 |
-
* Library package uses different naming convention
|
6 |
-
* phpcs:disable WordPress.NamingConventions.ValidVariableName
|
7 |
-
* phpcs:disable WordPress.NamingConventions.ValidFunctionName
|
8 |
-
*
|
9 |
* @package Boldgrid\Plugin
|
10 |
*
|
11 |
* @since 2.12.0
|
@@ -14,8 +10,6 @@
|
|
14 |
*/
|
15 |
namespace Boldgrid\Library\Library\Plugin;
|
16 |
|
17 |
-
use Boldgrid\Library\Library\Plugin\Notice;
|
18 |
-
|
19 |
/**
|
20 |
* Generic page class.
|
21 |
*
|
@@ -55,7 +49,7 @@ class Page {
|
|
55 |
* @since 2.12.0
|
56 |
* @var array
|
57 |
*/
|
58 |
-
protected $pluginConfig =
|
59 |
|
60 |
/**
|
61 |
* Page Notice
|
@@ -71,9 +65,10 @@ class Page {
|
|
71 |
* Constructor.
|
72 |
*
|
73 |
* @since 2.12.0
|
74 |
-
|
75 |
-
|
76 |
-
|
|
|
77 |
public function __construct( Plugin $plugin, $slug ) {
|
78 |
|
79 |
$this->setPlugin( $plugin );
|
@@ -100,8 +95,6 @@ class Page {
|
|
100 |
* Set Plugin.
|
101 |
*
|
102 |
* @since 2.12.0
|
103 |
-
*
|
104 |
-
* @param Plugin $plugin Plugin Object.
|
105 |
*/
|
106 |
private function setPlugin( $plugin ) {
|
107 |
$this->plugin = $plugin;
|
@@ -123,6 +116,7 @@ class Page {
|
|
123 |
*
|
124 |
* @since 2.12.0
|
125 |
*
|
|
|
126 |
* @access private
|
127 |
*/
|
128 |
private function setPluginConfig() {
|
@@ -138,7 +132,7 @@ class Page {
|
|
138 |
* @return array
|
139 |
*/
|
140 |
public function getNotices() {
|
141 |
-
$notices =
|
142 |
foreach ( $this->notices as $notice ) {
|
143 |
if ( $notice->getPageSlug() === $this->slug ) {
|
144 |
$notices[] = $notice;
|
@@ -152,7 +146,7 @@ class Page {
|
|
152 |
*
|
153 |
* @since 2.12.0
|
154 |
*
|
155 |
-
* @param string $id
|
156 |
* @return NoticeCount
|
157 |
*/
|
158 |
public function getNoticeById( $id ) {
|
@@ -169,7 +163,7 @@ class Page {
|
|
169 |
* @since 2.12.0
|
170 |
*/
|
171 |
public function setNotices() {
|
172 |
-
$notices =
|
173 |
if ( isset( $this->getPluginConfig()['page_notices'] ) ) {
|
174 |
foreach ( $this->getPluginConfig()['page_notices'] as $notice ) {
|
175 |
$notices[] = new Notice( $this->plugin, $notice );
|
@@ -182,8 +176,6 @@ class Page {
|
|
182 |
* Set Page Notices to Read.
|
183 |
*
|
184 |
* @since 2.12.0
|
185 |
-
*
|
186 |
-
* @param bool $setToUnread If true, then this sets the notice to Unread.
|
187 |
*/
|
188 |
public function setAllNoticesRead( $setToUnread = false ) {
|
189 |
foreach ( $this->getNotices() as $notice ) {
|
1 |
+
<?php
|
2 |
/**
|
3 |
* BoldGrid Library Plugin Page.
|
4 |
*
|
|
|
|
|
|
|
|
|
5 |
* @package Boldgrid\Plugin
|
6 |
*
|
7 |
* @since 2.12.0
|
10 |
*/
|
11 |
namespace Boldgrid\Library\Library\Plugin;
|
12 |
|
|
|
|
|
13 |
/**
|
14 |
* Generic page class.
|
15 |
*
|
49 |
* @since 2.12.0
|
50 |
* @var array
|
51 |
*/
|
52 |
+
protected $pluginConfig = [];
|
53 |
|
54 |
/**
|
55 |
* Page Notice
|
65 |
* Constructor.
|
66 |
*
|
67 |
* @since 2.12.0
|
68 |
+
|
69 |
+
* @param Plugin $plugin object that this page belongs to.
|
70 |
+
* @param string $slug For example: "plugin" from plugin/plugin.php.
|
71 |
+
*/
|
72 |
public function __construct( Plugin $plugin, $slug ) {
|
73 |
|
74 |
$this->setPlugin( $plugin );
|
95 |
* Set Plugin.
|
96 |
*
|
97 |
* @since 2.12.0
|
|
|
|
|
98 |
*/
|
99 |
private function setPlugin( $plugin ) {
|
100 |
$this->plugin = $plugin;
|
116 |
*
|
117 |
* @since 2.12.0
|
118 |
*
|
119 |
+
* @param array $pluginConfig Plugin Config.
|
120 |
* @access private
|
121 |
*/
|
122 |
private function setPluginConfig() {
|
132 |
* @return array
|
133 |
*/
|
134 |
public function getNotices() {
|
135 |
+
$notices = [];
|
136 |
foreach ( $this->notices as $notice ) {
|
137 |
if ( $notice->getPageSlug() === $this->slug ) {
|
138 |
$notices[] = $notice;
|
146 |
*
|
147 |
* @since 2.12.0
|
148 |
*
|
149 |
+
* @param string $id
|
150 |
* @return NoticeCount
|
151 |
*/
|
152 |
public function getNoticeById( $id ) {
|
163 |
* @since 2.12.0
|
164 |
*/
|
165 |
public function setNotices() {
|
166 |
+
$notices = [];
|
167 |
if ( isset( $this->getPluginConfig()['page_notices'] ) ) {
|
168 |
foreach ( $this->getPluginConfig()['page_notices'] as $notice ) {
|
169 |
$notices[] = new Notice( $this->plugin, $notice );
|
176 |
* Set Page Notices to Read.
|
177 |
*
|
178 |
* @since 2.12.0
|
|
|
|
|
179 |
*/
|
180 |
public function setAllNoticesRead( $setToUnread = false ) {
|
181 |
foreach ( $this->getNotices() as $notice ) {
|
vendor/boldgrid/library/src/Library/Plugin/Plugin.php
CHANGED
@@ -1,22 +1,16 @@
|
|
1 |
-
<?php
|
2 |
/**
|
3 |
* BoldGrid Library Plugin Plugin.
|
4 |
*
|
5 |
-
* Library package uses different naming convention.
|
6 |
-
* phpcs:disable WordPress.NamingConventions.ValidVariableName
|
7 |
-
* phpcs:disable WordPress.NamingConventions.ValidFunctionName
|
8 |
-
*
|
9 |
* @package Boldgrid\Plugin
|
10 |
*
|
11 |
* @since 2.7.7
|
12 |
* @author BoldGrid <wpb@boldgrid.com>
|
13 |
*/
|
14 |
-
|
15 |
namespace Boldgrid\Library\Library\Plugin;
|
16 |
|
17 |
use Boldgrid\Library\Library\Configs;
|
18 |
use Boldgrid\Library\Library\Settings;
|
19 |
-
use Boldgrid\Library\Library\Plugin\Page;
|
20 |
|
21 |
/**
|
22 |
* Generic plugin class.
|
@@ -35,12 +29,12 @@ class Plugin {
|
|
35 |
* @var array
|
36 |
* @access protected
|
37 |
*/
|
38 |
-
protected $childPlugins =
|
39 |
|
40 |
/**
|
41 |
* Plugin file.
|
42 |
*
|
43 |
-
* For example: plugin/plugin.php
|
44 |
*
|
45 |
* @since 2.9.0
|
46 |
* @var string
|
@@ -55,7 +49,7 @@ class Plugin {
|
|
55 |
*
|
56 |
* @var array
|
57 |
*/
|
58 |
-
public $pluginConfig =
|
59 |
|
60 |
/**
|
61 |
* Whether or not this plugin is installed.
|
@@ -72,15 +66,14 @@ class Plugin {
|
|
72 |
* For example, ABSPATH/wp-content/plugins/plugin/plugin.php.
|
73 |
*
|
74 |
* @since 2.10.0
|
75 |
-
* @var string
|
76 |
*/
|
77 |
protected $path;
|
78 |
|
79 |
/**
|
80 |
* Plugin pages.
|
81 |
*
|
82 |
-
* This is an array of Boldgrid\Library\Library\Plugin\Page
|
83 |
-
* objects based on the 'pages' list in the plugin Config
|
84 |
* If no plugin config is passed during instantiation,
|
85 |
* this will be an empty array.
|
86 |
*
|
@@ -88,7 +81,7 @@ class Plugin {
|
|
88 |
* @var array
|
89 |
* @access protected
|
90 |
*/
|
91 |
-
protected $pages =
|
92 |
|
93 |
/**
|
94 |
* Plugin data, as retrieved from get_plugin_data().
|
@@ -97,7 +90,7 @@ class Plugin {
|
|
97 |
* @var array
|
98 |
* @access protected
|
99 |
*/
|
100 |
-
public $pluginData =
|
101 |
|
102 |
/**
|
103 |
* Update plugin data, as retrieved from 'update_plugins' site transient.
|
@@ -120,50 +113,27 @@ class Plugin {
|
|
120 |
*/
|
121 |
protected $slug;
|
122 |
|
123 |
-
/**
|
124 |
-
* Plugin Update Data.
|
125 |
-
*
|
126 |
-
* @since 2.12.2
|
127 |
-
*
|
128 |
-
* @var Response
|
129 |
-
*/
|
130 |
-
public $updateData;
|
131 |
-
|
132 |
/**
|
133 |
* Constructor.
|
134 |
*
|
135 |
* @since 2.7.7
|
136 |
*
|
137 |
-
* @param
|
138 |
-
* @param array $pluginConfig Optionally passed array of Plugin Configuration Options.
|
139 |
*/
|
140 |
-
public function __construct( $
|
|
|
141 |
|
142 |
-
|
143 |
-
// So this will direct them there. Once ALL plugins are using libary > 2.12.2 this can be removed.
|
144 |
-
if ( is_string( $pluginParams ) ) {
|
145 |
-
$plugin = Factory::create( $pluginParams, $pluginConfig );
|
146 |
-
$pluginParams = $plugin->getPluginParams();
|
147 |
-
}
|
148 |
|
149 |
-
|
150 |
-
$this->$paramKey = $paramValue;
|
151 |
-
}
|
152 |
|
153 |
-
$this->
|
154 |
|
155 |
-
$this->
|
156 |
-
}
|
157 |
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
* @since 2.12.2
|
162 |
-
*
|
163 |
-
* @param bool $force Whether or not to force fetching from API.
|
164 |
-
*/
|
165 |
-
public function setUpdateData( $force = false ) {
|
166 |
-
$this->updateData = new UpdateData( $this, null, $force );
|
167 |
}
|
168 |
|
169 |
/**
|
@@ -224,6 +194,30 @@ class Plugin {
|
|
224 |
return $this->childPlugins;
|
225 |
}
|
226 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
/**
|
228 |
* Get data via the get_plugin_data() function.
|
229 |
*
|
@@ -293,6 +287,25 @@ class Plugin {
|
|
293 |
return $this->file;
|
294 |
}
|
295 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
/**
|
297 |
* If a new version of a plugin is available, return the new version.
|
298 |
*
|
@@ -307,7 +320,7 @@ class Plugin {
|
|
307 |
}
|
308 |
|
309 |
/**
|
310 |
-
* Get plugin specific config array
|
311 |
*
|
312 |
* @return array
|
313 |
* @since 2.12.0
|
@@ -338,9 +351,9 @@ class Plugin {
|
|
338 |
* @return array
|
339 |
*/
|
340 |
public function getPluginsChecked() {
|
341 |
-
$pluginsChecked = Settings::getKey( 'plugins_checked',
|
342 |
|
343 |
-
$pluginsChecked = ! empty( $pluginsChecked[ $this->file ] ) ? $pluginsChecked[ $this->file ] :
|
344 |
|
345 |
return $pluginsChecked;
|
346 |
}
|
@@ -363,7 +376,7 @@ class Plugin {
|
|
363 |
* @access private
|
364 |
*/
|
365 |
public function setPages() {
|
366 |
-
$pages =
|
367 |
if ( isset( $this->pluginConfig['pages'] ) ) {
|
368 |
foreach ( $this->pluginConfig['pages'] as $page ) {
|
369 |
$pages[] = new Page( $this, $page );
|
@@ -373,11 +386,11 @@ class Plugin {
|
|
373 |
}
|
374 |
|
375 |
/**
|
376 |
-
* Set all plugin notices as read
|
377 |
*
|
378 |
* @since 2.12.0
|
379 |
*
|
380 |
-
* @param bool $setToUnread if set to true, marks all items unread instead
|
381 |
*/
|
382 |
public function setAllNoticesRead( $setToUnread = false ) {
|
383 |
foreach ( $this->getPages() as $page ) {
|
@@ -402,7 +415,7 @@ class Plugin {
|
|
402 |
*
|
403 |
* @since 2.12.0
|
404 |
*
|
405 |
-
* @param string $slug
|
406 |
* @return Page
|
407 |
*/
|
408 |
public function getPageBySlug( $slug ) {
|
@@ -414,14 +427,52 @@ class Plugin {
|
|
414 |
}
|
415 |
|
416 |
/**
|
417 |
-
* Set
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
418 |
*
|
419 |
-
* @since 2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
420 |
*
|
421 |
-
* @
|
422 |
*/
|
423 |
-
public function
|
424 |
-
$this->
|
425 |
}
|
426 |
|
427 |
/**
|
@@ -527,20 +578,4 @@ class Plugin {
|
|
527 |
return '<span class="bglib-unread-notice-count hidden"></span>';
|
528 |
}
|
529 |
}
|
530 |
-
|
531 |
-
/**
|
532 |
-
* Get Plugin Params.
|
533 |
-
*
|
534 |
-
* Gets an array of all plugin property parameters.
|
535 |
-
* This is useful for backwards compatibility with BoldGrid Plugins.
|
536 |
-
* That do not implement the Factory methods.
|
537 |
-
* Once ALL plugins are Library > 2.12.2 this can be removed.
|
538 |
-
*
|
539 |
-
* @since 2.12.2
|
540 |
-
*
|
541 |
-
* @return array
|
542 |
-
*/
|
543 |
-
public function getPluginParams() {
|
544 |
-
return get_object_vars( $this );
|
545 |
-
}
|
546 |
}
|
1 |
+
<?php
|
2 |
/**
|
3 |
* BoldGrid Library Plugin Plugin.
|
4 |
*
|
|
|
|
|
|
|
|
|
5 |
* @package Boldgrid\Plugin
|
6 |
*
|
7 |
* @since 2.7.7
|
8 |
* @author BoldGrid <wpb@boldgrid.com>
|
9 |
*/
|
|
|
10 |
namespace Boldgrid\Library\Library\Plugin;
|
11 |
|
12 |
use Boldgrid\Library\Library\Configs;
|
13 |
use Boldgrid\Library\Library\Settings;
|
|
|
14 |
|
15 |
/**
|
16 |
* Generic plugin class.
|
29 |
* @var array
|
30 |
* @access protected
|
31 |
*/
|
32 |
+
protected $childPlugins = [];
|
33 |
|
34 |
/**
|
35 |
* Plugin file.
|
36 |
*
|
37 |
+
* For example: plugin/plugin.php
|
38 |
*
|
39 |
* @since 2.9.0
|
40 |
* @var string
|
49 |
*
|
50 |
* @var array
|
51 |
*/
|
52 |
+
public $pluginConfig = [];
|
53 |
|
54 |
/**
|
55 |
* Whether or not this plugin is installed.
|
66 |
* For example, ABSPATH/wp-content/plugins/plugin/plugin.php.
|
67 |
*
|
68 |
* @since 2.10.0
|
|
|
69 |
*/
|
70 |
protected $path;
|
71 |
|
72 |
/**
|
73 |
* Plugin pages.
|
74 |
*
|
75 |
+
* This is an array of Boldgrid\Library\Library\Plugin\Page
|
76 |
+
* objects based on the 'pages' list in the plugin Config
|
77 |
* If no plugin config is passed during instantiation,
|
78 |
* this will be an empty array.
|
79 |
*
|
81 |
* @var array
|
82 |
* @access protected
|
83 |
*/
|
84 |
+
protected $pages = [];
|
85 |
|
86 |
/**
|
87 |
* Plugin data, as retrieved from get_plugin_data().
|
90 |
* @var array
|
91 |
* @access protected
|
92 |
*/
|
93 |
+
public $pluginData = [];
|
94 |
|
95 |
/**
|
96 |
* Update plugin data, as retrieved from 'update_plugins' site transient.
|
113 |
*/
|
114 |
protected $slug;
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
/**
|
117 |
* Constructor.
|
118 |
*
|
119 |
* @since 2.7.7
|
120 |
*
|
121 |
+
* @param string $slug For example: "plugin" from plugin/plugin.php
|
|
|
122 |
*/
|
123 |
+
public function __construct( $slug, $pluginConfig = null ) {
|
124 |
+
$this->slug = $slug;
|
125 |
|
126 |
+
$this->setFile();
|
|
|
|
|
|
|
|
|
|
|
127 |
|
128 |
+
$this->setPath();
|
|
|
|
|
129 |
|
130 |
+
$this->setIsInstalled();
|
131 |
|
132 |
+
$this->setChildPlugins();
|
|
|
133 |
|
134 |
+
$this->pluginConfig = ! empty( $pluginConfig ) ? $pluginConfig : [];
|
135 |
+
|
136 |
+
$this->setPages();
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
}
|
138 |
|
139 |
/**
|
194 |
return $this->childPlugins;
|
195 |
}
|
196 |
|
197 |
+
/**
|
198 |
+
* Get config for this particular plugin.
|
199 |
+
*
|
200 |
+
* Within library.global.php, there is a config option called "plugins". This method loops through
|
201 |
+
* those plugins and returns the configs for this particular plugin.
|
202 |
+
*
|
203 |
+
* @since 2.10.0
|
204 |
+
*
|
205 |
+
* @return array
|
206 |
+
*/
|
207 |
+
public function getConfig() {
|
208 |
+
$config = [];
|
209 |
+
|
210 |
+
$plugins = Configs::get( 'plugins' );
|
211 |
+
if ( $plugins ) {
|
212 |
+
foreach ( $plugins as $plugin ) {
|
213 |
+
if ( $plugin['file'] === $this->file ) {
|
214 |
+
$config = $plugin;
|
215 |
+
}
|
216 |
+
}
|
217 |
+
}
|
218 |
+
return $config;
|
219 |
+
}
|
220 |
+
|
221 |
/**
|
222 |
* Get data via the get_plugin_data() function.
|
223 |
*
|
287 |
return $this->file;
|
288 |
}
|
289 |
|
290 |
+
/**
|
291 |
+
* Get a plugin's slug from its file.
|
292 |
+
*
|
293 |
+
* For example, if the plugin's file is:
|
294 |
+
* boldgrid-backup-premium/boldgrid-backup-premium.php
|
295 |
+
* The plugin's slug is:
|
296 |
+
* boldgrid-backup-premium
|
297 |
+
*
|
298 |
+
* @since 2.10.0
|
299 |
+
*
|
300 |
+
* @param string $file The plugin's file, as in plugin/plugin.php
|
301 |
+
* @return string
|
302 |
+
*/
|
303 |
+
public static function getFileSlug( $file ) {
|
304 |
+
$slug = explode( '/', $file );
|
305 |
+
|
306 |
+
return $slug[0];
|
307 |
+
}
|
308 |
+
|
309 |
/**
|
310 |
* If a new version of a plugin is available, return the new version.
|
311 |
*
|
320 |
}
|
321 |
|
322 |
/**
|
323 |
+
* Get plugin specific config array
|
324 |
*
|
325 |
* @return array
|
326 |
* @since 2.12.0
|
351 |
* @return array
|
352 |
*/
|
353 |
public function getPluginsChecked() {
|
354 |
+
$pluginsChecked = Settings::getKey( 'plugins_checked', [] );
|
355 |
|
356 |
+
$pluginsChecked = ! empty( $pluginsChecked[ $this->file ] ) ? $pluginsChecked[ $this->file ] : [];
|
357 |
|
358 |
return $pluginsChecked;
|
359 |
}
|
376 |
* @access private
|
377 |
*/
|
378 |
public function setPages() {
|
379 |
+
$pages = [];
|
380 |
if ( isset( $this->pluginConfig['pages'] ) ) {
|
381 |
foreach ( $this->pluginConfig['pages'] as $page ) {
|
382 |
$pages[] = new Page( $this, $page );
|
386 |
}
|
387 |
|
388 |
/**
|
389 |
+
* Set all plugin notices as read
|
390 |
*
|
391 |
* @since 2.12.0
|
392 |
*
|
393 |
+
* @param bool $setToUnread if set to true, marks all items unread instead
|
394 |
*/
|
395 |
public function setAllNoticesRead( $setToUnread = false ) {
|
396 |
foreach ( $this->getPages() as $page ) {
|
415 |
*
|
416 |
* @since 2.12.0
|
417 |
*
|
418 |
+
* @param string $slug
|
419 |
* @return Page
|
420 |
*/
|
421 |
public function getPageBySlug( $slug ) {
|
427 |
}
|
428 |
|
429 |
/**
|
430 |
+
* Set our child plugins.
|
431 |
+
*
|
432 |
+
* @since 2.10.0
|
433 |
+
*/
|
434 |
+
public function setChildPlugins() {
|
435 |
+
$config = $this->getConfig();
|
436 |
+
|
437 |
+
if ( empty( $config['childPlugins'] ) ) {
|
438 |
+
return;
|
439 |
+
}
|
440 |
+
|
441 |
+
foreach ( $config['childPlugins'] as $file ) {
|
442 |
+
$slug = $this->getFileSlug( $file );
|
443 |
+
|
444 |
+
$this->childPlugins[] = new Plugin( $slug );
|
445 |
+
}
|
446 |
+
}
|
447 |
+
|
448 |
+
/**
|
449 |
+
* Set file.
|
450 |
+
*
|
451 |
+
* @since 2.9.0
|
452 |
+
*
|
453 |
+
* @param string $file A plugin's file.
|
454 |
+
*/
|
455 |
+
public function setFile( $file = null ) {
|
456 |
+
$this->file = ! empty( $file ) ? $file : $this->slug . '/' . $this->slug . '.php';
|
457 |
+
}
|
458 |
+
|
459 |
+
/**
|
460 |
+
* Set whether or not the plugin is installed (different from activated).
|
461 |
*
|
462 |
+
* @since 2.10.0
|
463 |
+
*/
|
464 |
+
public function setIsInstalled() {
|
465 |
+
$wp_filesystem = \Boldgrid\Library\Util\Version::getWpFilesystem();
|
466 |
+
$this->isInstalled = $wp_filesystem->exists( $this->path );
|
467 |
+
}
|
468 |
+
|
469 |
+
/**
|
470 |
+
* Set the plugin's path.
|
471 |
*
|
472 |
+
* @since 2.10.0
|
473 |
*/
|
474 |
+
public function setPath() {
|
475 |
+
$this->path = ABSPATH . 'wp-content/plugins/' . $this->file;
|
476 |
}
|
477 |
|
478 |
/**
|
578 |
return '<span class="bglib-unread-notice-count hidden"></span>';
|
579 |
}
|
580 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
581 |
}
|
vendor/boldgrid/library/src/Library/Plugin/Plugins.php
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
-
<?php
|
2 |
/**
|
3 |
* BoldGrid Library Plugin Plugins.
|
4 |
-
* phpcs:disable WordPress.NamingConventions.ValidVariableName
|
5 |
-
* phpcs:disable WordPress.NamingConventions.ValidFunctionName
|
6 |
*
|
7 |
* @package Boldgrid\Plugin
|
8 |
*
|
@@ -23,9 +21,7 @@ use Boldgrid\Library\Library\Configs;
|
|
23 |
*/
|
24 |
class Plugins {
|
25 |
/**
|
26 |
-
* Get active
|
27 |
-
*
|
28 |
-
* This is used for obtaining BoldGrid plugins for the Dashboard Notifications Widget.
|
29 |
*
|
30 |
* @since 2.10.0
|
31 |
*
|
@@ -33,11 +29,9 @@ class Plugins {
|
|
33 |
*/
|
34 |
public static function getActive() {
|
35 |
// Get an array of plugins that should be within the widget.
|
36 |
-
$plugins = Configs::getPlugins(
|
37 |
-
|
38 |
-
|
39 |
-
)
|
40 |
-
);
|
41 |
|
42 |
// Then filter that array of plugins to get our active plugins.
|
43 |
$activePlugins = array();
|
@@ -50,41 +44,4 @@ class Plugins {
|
|
50 |
|
51 |
return $activePlugins;
|
52 |
}
|
53 |
-
|
54 |
-
/**
|
55 |
-
* Get All Plugins.
|
56 |
-
*
|
57 |
-
* @since 2.12.2
|
58 |
-
*
|
59 |
-
* @return array
|
60 |
-
*/
|
61 |
-
public static function getAllPlugins() {
|
62 |
-
include_once ABSPATH . 'wp-admin/includes/plugin.php';
|
63 |
-
$plugins = get_plugins();
|
64 |
-
$all_plugins = array();
|
65 |
-
foreach ( $plugins as $file => $plugin_data ) {
|
66 |
-
$all_plugins[] = Factory::create( $file );
|
67 |
-
}
|
68 |
-
return $all_plugins;
|
69 |
-
}
|
70 |
-
|
71 |
-
/**
|
72 |
-
* Get Active Plugin by Slug.
|
73 |
-
*
|
74 |
-
* @since 2.12.2
|
75 |
-
*
|
76 |
-
* @param array $activePlugins List of Plugin objects.
|
77 |
-
* @param string $slug Slug string.
|
78 |
-
*
|
79 |
-
* @return Plugin
|
80 |
-
*/
|
81 |
-
public static function getBySlug( array $activePlugins, $slug ) {
|
82 |
-
$activePlugins = self::getAllPlugins();
|
83 |
-
foreach ( $activePlugins as $plugin ) {
|
84 |
-
if ( $plugin->getSlug() === $slug ) {
|
85 |
-
return $plugin;
|
86 |
-
}
|
87 |
-
}
|
88 |
-
return new \WP_Error( 'boldgrid_plugin_not_found', sprintf( 'No plugin could be found with the slug %s.', $slug ) );
|
89 |
-
}
|
90 |
}
|
1 |
+
<?php
|
2 |
/**
|
3 |
* BoldGrid Library Plugin Plugins.
|
|
|
|
|
4 |
*
|
5 |
* @package Boldgrid\Plugin
|
6 |
*
|
21 |
*/
|
22 |
class Plugins {
|
23 |
/**
|
24 |
+
* Get our active plugins.
|
|
|
|
|
25 |
*
|
26 |
* @since 2.10.0
|
27 |
*
|
29 |
*/
|
30 |
public static function getActive() {
|
31 |
// Get an array of plugins that should be within the widget.
|
32 |
+
$plugins = Configs::getPlugins( array(
|
33 |
+
'inNotificationsWidget' => true,
|
34 |
+
) );
|
|
|
|
|
35 |
|
36 |
// Then filter that array of plugins to get our active plugins.
|
37 |
$activePlugins = array();
|
44 |
|
45 |
return $activePlugins;
|
46 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
}
|
vendor/boldgrid/library/src/Library/Plugin/UpdateData.php
DELETED
@@ -1,322 +0,0 @@
|
|
1 |
-
<?php //phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase
|
2 |
-
/**
|
3 |
-
* BoldGrid Library Update Data.
|
4 |
-
*
|
5 |
-
* Library package uses different naming convention.
|
6 |
-
* phpcs:disable WordPress.NamingConventions.ValidVariableName
|
7 |
-
* phpcs:disable WordPress.NamingConventions.ValidFunctionName
|
8 |
-
*
|
9 |
-
* @package Boldgrid\Plugin
|
10 |
-
*
|
11 |
-
* @since 2.12.2
|
12 |
-
*
|
13 |
-
* @author BoldGrid <wpb@boldgrid.com>
|
14 |
-
*/
|
15 |
-
namespace Boldgrid\Library\Library\Plugin;
|
16 |
-
|
17 |
-
use Boldgrid\Library\Library\Plugin\Plugin;
|
18 |
-
|
19 |
-
/**
|
20 |
-
* Update Data Class.
|
21 |
-
*
|
22 |
-
* This class stores the update data for a given plugin.
|
23 |
-
* Boldgrid\Library\Library\Plugin\Plugin class.
|
24 |
-
*
|
25 |
-
* @since 2.12.0
|
26 |
-
*/
|
27 |
-
class UpdateData {
|
28 |
-
/**
|
29 |
-
* Plugin.
|
30 |
-
*
|
31 |
-
* @since 2.12.2
|
32 |
-
* @var Plugin
|
33 |
-
*/
|
34 |
-
public $plugin;
|
35 |
-
|
36 |
-
/**
|
37 |
-
* Active Installs.
|
38 |
-
*
|
39 |
-
* @since 2.12.2
|
40 |
-
* @var string
|
41 |
-
*/
|
42 |
-
public $activeInstalls;
|
43 |
-
|
44 |
-
/**
|
45 |
-
* Minor Version Installs.
|
46 |
-
*
|
47 |
-
* @since 2.12.2
|
48 |
-
* @var string
|
49 |
-
*/
|
50 |
-
public $minorVersionInstalls;
|
51 |
-
|
52 |
-
/**
|
53 |
-
* Release Date.
|
54 |
-
*
|
55 |
-
* @since 2.12.2
|
56 |
-
* @var string
|
57 |
-
*/
|
58 |
-
public $releaseDate;
|
59 |
-
|
60 |
-
/**
|
61 |
-
* Version.
|
62 |
-
*
|
63 |
-
* @since 2.12.2
|
64 |
-
* @var string
|
65 |
-
*/
|
66 |
-
public $version;
|
67 |
-
|
68 |
-
/**
|
69 |
-
* Minor Version.
|
70 |
-
*
|
71 |
-
* @since 2.12.2
|
72 |
-
* @var string
|
73 |
-
*/
|
74 |
-
public $minorVersion;
|
75 |
-
|
76 |
-
/**
|
77 |
-
* Stats.
|
78 |
-
*
|
79 |
-
* @since 2.12.2
|
80 |
-
* @var string
|
81 |
-
*/
|
82 |
-
public $stats;
|
83 |
-
|
84 |
-
/**
|
85 |
-
* Days Since Release.
|
86 |
-
*
|
87 |
-
* @since 2.12.2
|
88 |
-
* @var int
|
89 |
-
*/
|
90 |
-
public $days;
|
91 |
-
|
92 |
-
/**
|
93 |
-
* Response Data.
|
94 |
-
*
|
95 |
-
* @since 2.12.2
|
96 |
-
* @var Response
|
97 |
-
* @access private
|
98 |
-
*/
|
99 |
-
private $responseData;
|
100 |
-
|
101 |
-
/**
|
102 |
-
* Current Transient.
|
103 |
-
*
|
104 |
-
* @since 2.12.2
|
105 |
-
* @var array
|
106 |
-
* @access private
|
107 |
-
*/
|
108 |
-
private $currentTransient;
|
109 |
-
|
110 |
-
/**
|
111 |
-
* Timeout Setting.
|
112 |
-
*
|
113 |
-
* @since 2.12.2
|
114 |
-
* @var int
|
115 |
-
* @access private
|
116 |
-
*/
|
117 |
-
private $timeoutSetting = 3600;
|
118 |
-
|
119 |
-
/**
|
120 |
-
* Constructor.
|
121 |
-
*
|
122 |
-
* @since 2.12.2
|
123 |
-
*
|
124 |
-
* @param Plugin $plugin The plugin we are getting data for.
|
125 |
-
* @param string $slug Optional slug of plugin if plugin object not given.
|
126 |
-
* @param bool $force Whether or not to force fetching data from API.
|
127 |
-
*/
|
128 |
-
public function __construct( $plugin = null, $slug = null, $force = false ) {
|
129 |
-
include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
|
130 |
-
|
131 |
-
// If a plugin object is passed in constructer, use that, or else create a new one from slug.
|
132 |
-
$this->plugin = ( null !== $plugin ) ? $plugin : Factory::create( $slug );
|
133 |
-
|
134 |
-
$responseTransient = $this->getInformationTransient();
|
135 |
-
|
136 |
-
if ( false !== $responseTransient ) {
|
137 |
-
$this->responseData = (object) $responseTransient;
|
138 |
-
$this->activeInstalls = $responseTransient['active_installs'];
|
139 |
-
$this->version = $responseTransient['version'];
|
140 |
-
$this->downloaded = $responseTransient['downloaded'];
|
141 |
-
$this->releaseDate = $responseTransient['last_updated'];
|
142 |
-
$this->thirdParty = $responseTransient['third_party'];
|
143 |
-
$this->apiFetchTime = isset( $this->responseTransient['api_fetch_time'] ) ? $this->responseTransient['api_fetch_time'] : current_time( 'timestamp' );
|
144 |
-
} else {
|
145 |
-
$this->responseData = $this->fetchResponseData( $force );
|
146 |
-
$this->activeInstalls = isset( $this->responseData->active_installs ) ? $this->responseData->active_installs : '0';
|
147 |
-
$this->version = isset( $this->responseData->version ) ? $this->responseData->version : null;
|
148 |
-
$this->downloaded = isset( $this->responseData->downloaded ) ? $this->responseData->downloaded : '0';
|
149 |
-
$this->releaseDate = isset( $this->responseData->last_updated ) ? new \DateTime( $this->responseData->last_updated ) : new \DateTime( gmdate( 'Y-m-d H:i:s', 1 ) );
|
150 |
-
$this->thirdParty = isset( $this->responseData->third_party ) ? $this->responseData->third_party : false;
|
151 |
-
$this->apiFetchTime = isset( $this->responseData->api_fetch_time ) ? $this->responseData->api_fetch_time : false;
|
152 |
-
|
153 |
-
$this->setInformationTransient();
|
154 |
-
}
|
155 |
-
$now = new \DateTime();
|
156 |
-
$this->days = date_diff( $now, $this->releaseDate )->format( '%a' );
|
157 |
-
}
|
158 |
-
|
159 |
-
/**
|
160 |
-
* Get Minor Version Installs.
|
161 |
-
*
|
162 |
-
* @since SINCEVERSON
|
163 |
-
* @return int
|
164 |
-
*/
|
165 |
-
public function getMinorVersionInstalls() {
|
166 |
-
foreach ( $this->stats as $minorVersion => $percentInstalls ) {
|
167 |
-
if ( $minorVersion === $this->minorVersion ) {
|
168 |
-
$x = $percentInstalls / 100;
|
169 |
-
return $this->activeInstalls * $x;
|
170 |
-
}
|
171 |
-
}
|
172 |
-
$now = new \DateTime();
|
173 |
-
$this->days = date_diff( $now, $this->releaseDate )->format( '%a' );
|
174 |
-
}
|
175 |
-
|
176 |
-
/**
|
177 |
-
* Get Response Data.
|
178 |
-
*
|
179 |
-
* @since 2.12.2
|
180 |
-
*
|
181 |
-
* @return Response
|
182 |
-
*/
|
183 |
-
public function getResponseData() {
|
184 |
-
return $this->responseData;
|
185 |
-
}
|
186 |
-
|
187 |
-
/**
|
188 |
-
* Set Response Data.
|
189 |
-
*
|
190 |
-
* @since 2.12.2
|
191 |
-
*
|
192 |
-
* @param bool $force Whether or not to force fethcing from API.
|
193 |
-
*
|
194 |
-
* @return Response
|
195 |
-
*/
|
196 |
-
public function fetchResponseData( $force = false ) {
|
197 |
-
$is_timely_updates = apply_filters( 'boldgrid_backup_is_timely_updates', false );
|
198 |
-
$plugin_information = array();
|
199 |
-
$delay_time = $force ? 0 : 3;
|
200 |
-
$delayFetchingData = ( $this->getAgeOfTransient() < $delay_time );
|
201 |
-
if ( $is_timely_updates && ! $delayFetchingData ) {
|
202 |
-
$plugin_information = plugins_api(
|
203 |
-
'plugin_information',
|
204 |
-
array(
|
205 |
-
'slug' => $this->plugin->getSlug(),
|
206 |
-
'fields' => array(
|
207 |
-
'downloaded',
|
208 |
-
'last_updated',
|
209 |
-
'active_installs',
|
210 |
-
),
|
211 |
-
)
|
212 |
-
);
|
213 |
-
|
214 |
-
$plugin_information->api_fetch_time = current_time( 'timestamp' );
|
215 |
-
} else {
|
216 |
-
$plugin_information = array(
|
217 |
-
'active_installs' => '0',
|
218 |
-
'version' => '0',
|
219 |
-
'downloaded' => '000000',
|
220 |
-
'last_updated' => gmdate( 'Y-m-d H:i:s', 1 ),
|
221 |
-
'api_fetch_time' => false,
|
222 |
-
);
|
223 |
-
}
|
224 |
-
|
225 |
-
if ( is_a( $plugin_information, 'WP_Error' ) ) {
|
226 |
-
$plugin_information = $this->getGenericInfo( $plugin_information );
|
227 |
-
return (object) $plugin_information;
|
228 |
-
}
|
229 |
-
|
230 |
-
return (object) $plugin_information;
|
231 |
-
}
|
232 |
-
|
233 |
-
/**
|
234 |
-
* Get Plugin Information from Transient.
|
235 |
-
*
|
236 |
-
* @since 2.12.2
|
237 |
-
*
|
238 |
-
* @return array
|
239 |
-
*/
|
240 |
-
public function getInformationTransient() {
|
241 |
-
$transient = get_transient( 'boldgrid_plugin_information' );
|
242 |
-
if ( false === $transient ) {
|
243 |
-
$this->currentTransient = array();
|
244 |
-
return false;
|
245 |
-
} else {
|
246 |
-
$this->currentTransient = $transient;
|
247 |
-
}
|
248 |
-
|
249 |
-
if ( array_key_exists( $this->plugin->getSlug(), $transient ) && false === $transient[ $this->plugin->getSlug() ]['api_fetch_time'] ) {
|
250 |
-
return false;
|
251 |
-
}
|
252 |
-
|
253 |
-
if ( array_key_exists( $this->plugin->getSlug(), $transient ) ) {
|
254 |
-
return $transient[ $this->plugin->getSlug() ];
|
255 |
-
}
|
256 |
-
return false;
|
257 |
-
}
|
258 |
-
|
259 |
-
/** Get Age of Transient.
|
260 |
-
*
|
261 |
-
* @since 2.12.2
|
262 |
-
*
|
263 |
-
* @return string
|
264 |
-
*/
|
265 |
-
public function getAgeOfTransient() {
|
266 |
-
if ( $this->currentTransient ) {
|
267 |
-
$timeout = get_option( '_transient_timeout_boldgrid_plugin_information' );
|
268 |
-
$current_timestamp = current_time( 'timestamp' );
|
269 |
-
return $this->timeoutSetting - ( $timeout - $current_timestamp );
|
270 |
-
}
|
271 |
-
}
|
272 |
-
|
273 |
-
/**
|
274 |
-
* Set Plugin Information Transient.
|
275 |
-
*
|
276 |
-
* @since 2.12.2
|
277 |
-
*/
|
278 |
-
public function setInformationTransient() {
|
279 |
-
$transient = get_transient( 'boldgrid_plugin_information' );
|
280 |
-
if ( false === $transient ) {
|
281 |
-
$transient = array();
|
282 |
-
}
|
283 |
-
|
284 |
-
$transient[ $this->plugin->getSlug() ] = array(
|
285 |
-
'active_installs' => $this->activeInstalls,
|
286 |
-
'version' => $this->version,
|
287 |
-
'downloaded' => $this->downloaded,
|
288 |
-
'last_updated' => $this->releaseDate,
|
289 |
-
'third_party' => $this->thirdParty,
|
290 |
-
'api_fetch_time' => $this->apiFetchTime,
|
291 |
-
);
|
292 |
-
|
293 |
-
$is_timely_updates = apply_filters( 'boldgrid_backup_is_timely_updates', false );
|
294 |
-
if ( $is_timely_updates ) {
|
295 |
-
set_transient( 'boldgrid_plugin_information', $transient, $this->timeoutSetting );
|
296 |
-
}
|
297 |
-
|
298 |
-
}
|
299 |
-
|
300 |
-
/**
|
301 |
-
* Plugins Api Failed.
|
302 |
-
*
|
303 |
-
* @since 2.12.2
|
304 |
-
*
|
305 |
-
* @param \WP_Error $errors WordPress error returned by plugins_api().
|
306 |
-
*/
|
307 |
-
public function getGenericInfo( \WP_Error $errors ) {
|
308 |
-
$current = get_site_transient( 'update_plugins' );
|
309 |
-
$new_version = isset( $current->response[ $this->plugin->getFile() ] ) ? $current->response[ $this->plugin->getFile() ]->new_version : '';
|
310 |
-
|
311 |
-
$plugin_information = array(
|
312 |
-
'active_installs' => '0',
|
313 |
-
'version' => $new_version,
|
314 |
-
'downloaded' => '000000',
|
315 |
-
'last_updated' => gmdate( 'Y-m-d H:i:s', 1 ),
|
316 |
-
'third_party' => true,
|
317 |
-
'api_fetch_time' => current_time( 'timestamp' ),
|
318 |
-
);
|
319 |
-
|
320 |
-
return $plugin_information;
|
321 |
-
}
|
322 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/boldgrid/library/src/Library/Start.php
CHANGED
@@ -115,6 +115,9 @@ class Start {
|
|
115 |
// Registration class runs Filter::add($this) in __construct.
|
116 |
$registration = new \Boldgrid\Library\Library\Registration();
|
117 |
|
|
|
|
|
|
|
118 |
// PostNewKey class runs Filter::add($this) in __construct.
|
119 |
$postNewKey = new \Boldgrid\Library\Library\Key\PostNewKey();
|
120 |
|
115 |
// Registration class runs Filter::add($this) in __construct.
|
116 |
$registration = new \Boldgrid\Library\Library\Registration();
|
117 |
|
118 |
+
// Update class runs Filter::add($this) in __construct.
|
119 |
+
$update = new \Boldgrid\Library\Library\Update();
|
120 |
+
|
121 |
// PostNewKey class runs Filter::add($this) in __construct.
|
122 |
$postNewKey = new \Boldgrid\Library\Library\Key\PostNewKey();
|
123 |
|
vendor/boldgrid/library/src/Library/Theme/Theme.php
DELETED
@@ -1,145 +0,0 @@
|
|
1 |
-
<?php //phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase
|
2 |
-
/**
|
3 |
-
* BoldGrid Library Theme Theme.
|
4 |
-
*
|
5 |
-
* Library package uses different naming convention.
|
6 |
-
* phpcs:disable WordPress.NamingConventions.ValidVariableName
|
7 |
-
* phpcs:disable WordPress.NamingConventions.ValidFunctionName
|
8 |
-
*
|
9 |
-
* @package Boldgrid\Theme
|
10 |
-
*
|
11 |
-
* @since 2.12.2
|
12 |
-
* @author BoldGrid <wpb@boldgrid.com>
|
13 |
-
*/
|
14 |
-
namespace Boldgrid\Library\Library\Theme;
|
15 |
-
|
16 |
-
/**
|
17 |
-
* Theme Class.
|
18 |
-
*
|
19 |
-
* Stores and retrieves various data for the themes on the site.
|
20 |
-
*
|
21 |
-
* Boldgrid\Library\Library\Theme\Theme class.
|
22 |
-
*
|
23 |
-
* @since 2.12.0
|
24 |
-
*/
|
25 |
-
class Theme {
|
26 |
-
/**
|
27 |
-
* WP_Theme Object.
|
28 |
-
*
|
29 |
-
* @since 2.12.2
|
30 |
-
* @var WP_Theme
|
31 |
-
*/
|
32 |
-
public $wp_theme;
|
33 |
-
|
34 |
-
/**
|
35 |
-
* Stylesheet.
|
36 |
-
*
|
37 |
-
* @since 2.12.2
|
38 |
-
* @var string
|
39 |
-
*/
|
40 |
-
public $stylesheet;
|
41 |
-
|
42 |
-
/**
|
43 |
-
* Version.
|
44 |
-
*
|
45 |
-
* @since 2.12.2
|
46 |
-
* @var string
|
47 |
-
*/
|
48 |
-
public $version;
|
49 |
-
|
50 |
-
/**
|
51 |
-
* Parent Theme.
|
52 |
-
*
|
53 |
-
* @since 2.12.2
|
54 |
-
* @var string
|
55 |
-
*/
|
56 |
-
public $parent;
|
57 |
-
|
58 |
-
/**
|
59 |
-
* Is Active.
|
60 |
-
*
|
61 |
-
* @since 2.12.2
|
62 |
-
* @var bool
|
63 |
-
*/
|
64 |
-
public $isActive;
|
65 |
-
|
66 |
-
/**
|
67 |
-
* Has Update.
|
68 |
-
*
|
69 |
-
* @since 2.12.2
|
70 |
-
* @var bool
|
71 |
-
*/
|
72 |
-
public $hasUpdate;
|
73 |
-
|
74 |
-
/**
|
75 |
-
* UpdateData.
|
76 |
-
*
|
77 |
-
* @since 2.12.2
|
78 |
-
* @var UpdateData
|
79 |
-
*/
|
80 |
-
public $updateData;
|
81 |
-
|
82 |
-
/**
|
83 |
-
* Constructor.
|
84 |
-
*
|
85 |
-
* @since 2.12.2
|
86 |
-
*
|
87 |
-
* @param \WP_Theme $wp_theme The WP_Theme object for this theme.
|
88 |
-
*/
|
89 |
-
public function __construct( \WP_Theme $wp_theme ) {
|
90 |
-
$this->wp_theme = $wp_theme;
|
91 |
-
$this->stylesheet = $this->wp_theme->__get( 'stylesheet' );
|
92 |
-
$this->version = $this->wp_theme->__get( 'version' );
|
93 |
-
$this->getParent();
|
94 |
-
$this->setHasUpdate();
|
95 |
-
$this->setIsActive();
|
96 |
-
$this->updateData = new UpdateData( $this );
|
97 |
-
}
|
98 |
-
|
99 |
-
/**
|
100 |
-
* Determines the parent theme if this theme is a child theme.
|
101 |
-
*
|
102 |
-
* @since 2.12.2
|
103 |
-
*
|
104 |
-
* @return string
|
105 |
-
*/
|
106 |
-
public function getParent() {
|
107 |
-
$this->parent = $this->wp_theme->parent();
|
108 |
-
return $this->parent;
|
109 |
-
}
|
110 |
-
|
111 |
-
/**
|
112 |
-
* Determine if this is the active theme or not.
|
113 |
-
*
|
114 |
-
* @since 2.12.2
|
115 |
-
*/
|
116 |
-
private function setIsActive() {
|
117 |
-
$active_theme = wp_get_theme();
|
118 |
-
if ( $active_theme->__get( 'stylesheet' ) === $this->stylesheet ) {
|
119 |
-
$this->isActive = true;
|
120 |
-
} else {
|
121 |
-
$this->isActive = false;
|
122 |
-
}
|
123 |
-
}
|
124 |
-
|
125 |
-
/**
|
126 |
-
* Determine if this theme has an update available.
|
127 |
-
*
|
128 |
-
* @since 2.12.2
|
129 |
-
*/
|
130 |
-
public function setHasUpdate() {
|
131 |
-
if ( get_site_transient( 'update_themes' ) ) {
|
132 |
-
$transient = get_site_transient( 'update_themes' )->response;
|
133 |
-
} else {
|
134 |
-
$transient = null;
|
135 |
-
}
|
136 |
-
|
137 |
-
$transient = null !== $transient ? $transient : array();
|
138 |
-
|
139 |
-
if ( array_key_exists( $this->stylesheet, $transient ) ) {
|
140 |
-
$this->hasUpdate = true;
|
141 |
-
} else {
|
142 |
-
$this->hasUpdate = false;
|
143 |
-
}
|
144 |
-
}
|
145 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/boldgrid/library/src/Library/Theme/Themes.php
DELETED
@@ -1,85 +0,0 @@
|
|
1 |
-
<?php //phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase
|
2 |
-
/**
|
3 |
-
* BoldGrid Library Theme Themes.
|
4 |
-
*
|
5 |
-
* Library package uses different naming convention.
|
6 |
-
* phpcs:disable WordPress.NamingConventions.ValidVariableName
|
7 |
-
* phpcs:disable WordPress.NamingConventions.ValidFunctionName
|
8 |
-
*
|
9 |
-
* @package Boldgrid\Theme
|
10 |
-
*
|
11 |
-
* @since 2.12.2
|
12 |
-
* @author BoldGrid <wpb@boldgrid.com>
|
13 |
-
*/
|
14 |
-
|
15 |
-
namespace Boldgrid\Library\Library\Theme;
|
16 |
-
|
17 |
-
/**
|
18 |
-
* Themes Class.
|
19 |
-
*
|
20 |
-
* This class stores all Theme objects and helps retrieve them.
|
21 |
-
* Boldgrid\Library\Library\Theme\Theme class.
|
22 |
-
*
|
23 |
-
* @since 2.12.0
|
24 |
-
*/
|
25 |
-
class Themes {
|
26 |
-
/**
|
27 |
-
* Themes array.
|
28 |
-
*
|
29 |
-
* @since 2.12.2
|
30 |
-
* @var array
|
31 |
-
*/
|
32 |
-
public $themes;
|
33 |
-
|
34 |
-
/**
|
35 |
-
* Constructor.
|
36 |
-
*
|
37 |
-
* @since 2.12.2
|
38 |
-
*/
|
39 |
-
public function __construct() {
|
40 |
-
$this->themes = array();
|
41 |
-
$wp_themes = wp_get_themes();
|
42 |
-
foreach ( $wp_themes as $wp_theme ) {
|
43 |
-
$this->themes[] = new Theme( $wp_theme );
|
44 |
-
}
|
45 |
-
}
|
46 |
-
|
47 |
-
/**
|
48 |
-
* Returns an array of Theme objects.
|
49 |
-
*
|
50 |
-
* @since 2.12.2
|
51 |
-
*
|
52 |
-
* @return array
|
53 |
-
*/
|
54 |
-
public function get() {
|
55 |
-
return $this->themes;
|
56 |
-
}
|
57 |
-
|
58 |
-
/**
|
59 |
-
* Get Theme from Stylesheet.
|
60 |
-
*
|
61 |
-
* @since 2.12.2
|
62 |
-
*
|
63 |
-
* @param string $stylesheet Theme's Stylesheet.
|
64 |
-
* @return Theme
|
65 |
-
*/
|
66 |
-
public function getFromStylesheet( $stylesheet ) {
|
67 |
-
foreach ( $this->get() as $theme ) {
|
68 |
-
if ( $theme->stylesheet === $stylesheet ) {
|
69 |
-
return $theme;
|
70 |
-
}
|
71 |
-
}
|
72 |
-
return new \WP_Error( 'boldgrid_theme_not_found', sprintf( 'No theme could be found with the stylesheet %s.', $stylesheet ) );
|
73 |
-
}
|
74 |
-
|
75 |
-
/**
|
76 |
-
* Get the Active Theme.
|
77 |
-
*
|
78 |
-
* @since 2.12.2
|
79 |
-
*
|
80 |
-
* @return Theme
|
81 |
-
*/
|
82 |
-
public function getActive() {
|
83 |
-
return new Theme( wp_get_theme() );
|
84 |
-
}
|
85 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/boldgrid/library/src/Library/Theme/UpdateData.php
DELETED
@@ -1,275 +0,0 @@
|
|
1 |
-
<?php //phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase
|
2 |
-
/**
|
3 |
-
* BoldGrid Library Update Data.
|
4 |
-
*
|
5 |
-
* Library package uses different naming convention.
|
6 |
-
* phpcs:disable WordPress.NamingConventions.ValidVariableName
|
7 |
-
* phpcs:disable WordPress.NamingConventions.ValidFunctionName
|
8 |
-
*
|
9 |
-
* @package Boldgrid\Theme
|
10 |
-
*
|
11 |
-
* @since 2.12.2
|
12 |
-
*
|
13 |
-
* @author BoldGrid <wpb@boldgrid.com>
|
14 |
-
*/
|
15 |
-
namespace Boldgrid\Library\Library\Theme;
|
16 |
-
|
17 |
-
use Boldgrid\Library\Library\Theme\Theme;
|
18 |
-
|
19 |
-
/**
|
20 |
-
* Update Data Class.
|
21 |
-
*
|
22 |
-
* This class stores the update data for a given theme.
|
23 |
-
* Boldgrid\Library\Library\Theme\Theme class.
|
24 |
-
*
|
25 |
-
* @since 2.12.0
|
26 |
-
*/
|
27 |
-
class UpdateData {
|
28 |
-
/**
|
29 |
-
* Theme.
|
30 |
-
*
|
31 |
-
* @since 2.12.2
|
32 |
-
* @var Theme
|
33 |
-
*/
|
34 |
-
public $theme;
|
35 |
-
|
36 |
-
/**
|
37 |
-
* Themes.
|
38 |
-
*
|
39 |
-
* @since 2.12.2
|
40 |
-
* @var string
|
41 |
-
*/
|
42 |
-
public $themes;
|
43 |
-
|
44 |
-
/**
|
45 |
-
* Release Date.
|
46 |
-
*
|
47 |
-
* @since 2.12.2
|
48 |
-
* @var string
|
49 |
-
*/
|
50 |
-
public $releaseDate;
|
51 |
-
|
52 |
-
/**
|
53 |
-
* Version.
|
54 |
-
*
|
55 |
-
* @since 2.12.2
|
56 |
-
* @var string
|
57 |
-
*/
|
58 |
-
public $version;
|
59 |
-
|
60 |
-
/**
|
61 |
-
* Days Since Release.
|
62 |
-
*
|
63 |
-
* @since 2.12.2
|
64 |
-
* @var int
|
65 |
-
*/
|
66 |
-
public $days;
|
67 |
-
|
68 |
-
/**
|
69 |
-
* Response Data.
|
70 |
-
*
|
71 |
-
* @since 2.12.2
|
72 |
-
* @var Response
|
73 |
-
* @access private
|
74 |
-
*/
|
75 |
-
private $responseData;
|
76 |
-
|
77 |
-
/**
|
78 |
-
* Current Transient.
|
79 |
-
*
|
80 |
-
* @since 2.12.2
|
81 |
-
* @var array
|
82 |
-
* @access private
|
83 |
-
*/
|
84 |
-
private $currentTransient;
|
85 |
-
|
86 |
-
/**
|
87 |
-
* Timeout Setting.
|
88 |
-
*
|
89 |
-
* @since 2.12.2
|
90 |
-
* @var int
|
91 |
-
* @access private
|
92 |
-
*/
|
93 |
-
private $timeoutSetting = 3600;
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Constructor.
|
97 |
-
*
|
98 |
-
* @since 2.12.2
|
99 |
-
*
|
100 |
-
* @param Theme $theme The Theme Object.
|
101 |
-
* @param string $stylesheet Theme's Stylesheet.
|
102 |
-
*/
|
103 |
-
public function __construct( $theme = null, $stylesheet = null ) {
|
104 |
-
// If a theme object is passed in constructer, use that, or else create a new one from stylesheet.
|
105 |
-
$this->theme = ( null !== $theme ) ? $theme : new Theme( $stylesheet );
|
106 |
-
|
107 |
-
$responseTransient = $this->getInformationTransient();
|
108 |
-
|
109 |
-
if ( false !== $responseTransient ) {
|
110 |
-
$this->responseData = (object) $responseTransient;
|
111 |
-
$this->version = $responseTransient['version'];
|
112 |
-
$this->downloaded = $responseTransient['downloaded'];
|
113 |
-
$this->releaseDate = $responseTransient['last_updated'];
|
114 |
-
$this->apiFetchTime = isset( $this->responseTransient['api_fetch_time'] ) ? $this->responseTransient['api_fetch_time'] : current_time( 'timestamp' );
|
115 |
-
} else {
|
116 |
-
$this->responseData = $this->fetchResponseData();
|
117 |
-
$this->version = $this->responseData->version;
|
118 |
-
$this->downloaded = $this->responseData->downloaded;
|
119 |
-
$this->releaseDate = new \DateTime( $this->responseData->last_updated );
|
120 |
-
$this->apiFetchTime = isset( $this->responseData->api_fetch_time ) ? $this->responseData->api_fetch_time : false;
|
121 |
-
|
122 |
-
$this->setInformationTransient();
|
123 |
-
}
|
124 |
-
|
125 |
-
$now = new \DateTime();
|
126 |
-
|
127 |
-
$this->days = date_diff( $now, $this->releaseDate )->format( '%a' );
|
128 |
-
}
|
129 |
-
|
130 |
-
/**
|
131 |
-
* Get Response Data.
|
132 |
-
*
|
133 |
-
* @since 2.12.2
|
134 |
-
*
|
135 |
-
* @return Response
|
136 |
-
*/
|
137 |
-
public function getResponseData() {
|
138 |
-
return $this->responseData;
|
139 |
-
}
|
140 |
-
|
141 |
-
/**
|
142 |
-
* Set Response Data.
|
143 |
-
*
|
144 |
-
* @since 2.12.2
|
145 |
-
*
|
146 |
-
* @return Response
|
147 |
-
*/
|
148 |
-
public function fetchResponseData() {
|
149 |
-
include_once ABSPATH . 'wp-admin/includes/theme.php';
|
150 |
-
|
151 |
-
$is_timely_updates = apply_filters( 'boldgrid_backup_is_timely_updates', false );
|
152 |
-
|
153 |
-
$theme_information = array();
|
154 |
-
$delayFetchingData = ( $this->getAgeOfTransient() < 10 );
|
155 |
-
|
156 |
-
if ( $is_timely_updates && ! $delayFetchingData ) {
|
157 |
-
$theme_information = themes_api(
|
158 |
-
'theme_information',
|
159 |
-
array(
|
160 |
-
'slug' => $this->theme->stylesheet,
|
161 |
-
'fields' => array(
|
162 |
-
'downloaded',
|
163 |
-
'last_updated',
|
164 |
-
'active_installs',
|
165 |
-
),
|
166 |
-
)
|
167 |
-
);
|
168 |
-
|
169 |
-
$theme_information->api_fetch_time = current_time( 'timestamp' );
|
170 |
-
} else {
|
171 |
-
$theme_information = array(
|
172 |
-
'active_installs' => '0',
|
173 |
-
'version' => '0',
|
174 |
-
'downloaded' => '000000',
|
175 |
-
'last_updated' => gmdate( 'Y-m-d H:i:s', 1 ),
|
176 |
-
'api_fetch_time' => false,
|
177 |
-
);
|
178 |
-
}
|
179 |
-
|
180 |
-
if ( is_a( $theme_information, 'WP_Error' ) ) {
|
181 |
-
$theme_information = $this->getGenericInfo( $theme_information );
|
182 |
-
return (object) $theme_information;
|
183 |
-
}
|
184 |
-
|
185 |
-
return (object) $theme_information;
|
186 |
-
}
|
187 |
-
|
188 |
-
/** Get Age of Transient.
|
189 |
-
*
|
190 |
-
* @since 2.12.2
|
191 |
-
*
|
192 |
-
* @return string
|
193 |
-
*/
|
194 |
-
public function getAgeOfTransient() {
|
195 |
-
if ( $this->currentTransient ) {
|
196 |
-
$timeout = get_option( '_transient_timeout_boldgrid_theme_information' );
|
197 |
-
$current_timestamp = current_time( 'timestamp' );
|
198 |
-
return $this->timeoutSetting - ( $timeout - $current_timestamp );
|
199 |
-
}
|
200 |
-
}
|
201 |
-
|
202 |
-
/**
|
203 |
-
* Get Theme Information from Transient.
|
204 |
-
*
|
205 |
-
* @since 2.12.2
|
206 |
-
*
|
207 |
-
* @return array
|
208 |
-
*/
|
209 |
-
public function getInformationTransient() {
|
210 |
-
$transient = get_transient( 'boldgrid_theme_information' );
|
211 |
-
if ( false === $transient ) {
|
212 |
-
$this->currentTransient = array();
|
213 |
-
return false;
|
214 |
-
} else {
|
215 |
-
$this->currentTransient = $transient;
|
216 |
-
}
|
217 |
-
|
218 |
-
if ( array_key_exists( $this->theme->stylesheet, $transient ) &&
|
219 |
-
false === $transient[ $this->theme->stylesheet ]['api_fetch_time'] ) {
|
220 |
-
return false;
|
221 |
-
}
|
222 |
-
|
223 |
-
if ( array_key_exists( $this->theme->stylesheet, $transient ) ) {
|
224 |
-
return $transient[ $this->theme->stylesheet ];
|
225 |
-
}
|
226 |
-
return false;
|
227 |
-
}
|
228 |
-
|
229 |
-
/**
|
230 |
-
* Set Theme Information Transient.
|
231 |
-
*
|
232 |
-
* @since 2.12.2
|
233 |
-
*/
|
234 |
-
public function setInformationTransient() {
|
235 |
-
$transient = get_transient( 'boldgrid_theme_information' );
|
236 |
-
if ( false === $transient ) {
|
237 |
-
$transient = array();
|
238 |
-
}
|
239 |
-
|
240 |
-
$transient[ $this->theme->stylesheet ] = array(
|
241 |
-
'version' => $this->version,
|
242 |
-
'downloaded' => $this->downloaded,
|
243 |
-
'last_updated' => $this->releaseDate,
|
244 |
-
'api_fetch_time' => $this->apiFetchTime,
|
245 |
-
);
|
246 |
-
|
247 |
-
$is_timely_updates = apply_filters( 'boldgrid_backup_is_timely_updates', false );
|
248 |
-
if ( $is_timely_updates ) {
|
249 |
-
set_transient( 'boldgrid_theme_information', $transient, $this->timeoutSetting );
|
250 |
-
}
|
251 |
-
}
|
252 |
-
|
253 |
-
/**
|
254 |
-
* Plugins Api Failed.
|
255 |
-
*
|
256 |
-
* @since 2.12.2
|
257 |
-
*
|
258 |
-
* @param \WP_Error $errors WordPress error returned by themes_api().
|
259 |
-
*/
|
260 |
-
public function getGenericInfo( \WP_Error $errors ) {
|
261 |
-
$current = get_site_transient( 'update_themes' );
|
262 |
-
$new_version = isset( $current->checked[ $this->theme->stylesheet ] ) ? $current->checked[ $this->theme->stylesheet ] : '';
|
263 |
-
|
264 |
-
$theme_information = array(
|
265 |
-
'active_installs' => '0',
|
266 |
-
'version' => $new_version,
|
267 |
-
'downloaded' => '000000',
|
268 |
-
'last_updated' => gmdate( 'Y-m-d H:i:s', 1 ),
|
269 |
-
'third_party' => true,
|
270 |
-
'api_fetch_time' => current_time( 'timestamp' ),
|
271 |
-
);
|
272 |
-
|
273 |
-
return $theme_information;
|
274 |
-
}
|
275 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/boldgrid/library/src/Library/Ui/Page.php
DELETED
@@ -1,38 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* BoldGrid Library Ui Page.
|
4 |
-
*
|
5 |
-
* @package Boldgrid\Plugin
|
6 |
-
*
|
7 |
-
* @since 2.12.2
|
8 |
-
*
|
9 |
-
* @author BoldGrid <wpb@boldgrid.com>
|
10 |
-
*/
|
11 |
-
namespace Boldgrid\Library\Library\Ui;
|
12 |
-
|
13 |
-
use Boldgrid\Library\Library;
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Generic page class.
|
17 |
-
*
|
18 |
-
* @since 2.12.2
|
19 |
-
*/
|
20 |
-
class Page {
|
21 |
-
/**
|
22 |
-
* Enqueue scripts.
|
23 |
-
*
|
24 |
-
* @since 2.12.2
|
25 |
-
*/
|
26 |
-
public static function enqueueScripts() {
|
27 |
-
$handle = 'bglib-page';
|
28 |
-
|
29 |
-
wp_register_style(
|
30 |
-
$handle,
|
31 |
-
Library\Configs::get( 'libraryUrl' ) . 'src/assets/css/page.css',
|
32 |
-
[],
|
33 |
-
Library\Configs::get( 'libraryVersion' )
|
34 |
-
);
|
35 |
-
|
36 |
-
wp_enqueue_style( $handle );
|
37 |
-
}
|
38 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/boldgrid/library/src/Library/Update.php
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* BoldGrid Update.
|
4 |
+
*
|
5 |
+
* @package Boldgrid\Library
|
6 |
+
* @subpackage \Library
|
7 |
+
*
|
8 |
+
* @version 2.3.0
|
9 |
+
* @author BoldGrid <wpb@boldgrid.com>
|
10 |
+
*/
|
11 |
+
|
12 |
+
namespace Boldgrid\Library\Library;
|
13 |
+
|
14 |
+
use Boldgrid\Library\Library;
|
15 |
+
|
16 |
+
/**
|
17 |
+
* BoldGrid Update.
|
18 |
+
*
|
19 |
+
* The main purpose of this class is to handle auto updates (as configured in
|
20 |
+
* the boldgrid_settings option).
|
21 |
+
*
|
22 |
+
* @since 2.3.0
|
23 |
+
*
|
24 |
+
* @see https://codex.wordpress.org/Configuring_Automatic_Background_Updates
|
25 |
+
*/
|
26 |
+
class Update {
|
27 |
+
/**
|
28 |
+
* Auto-update settings.
|
29 |
+
*
|
30 |
+
* @since 2.6.0
|
31 |
+
*
|
32 |
+
* @var array
|
33 |
+
*/
|
34 |
+
protected $settings;
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Constructor.
|
38 |
+
*
|
39 |
+
* @since 2.3.0
|
40 |
+
*
|
41 |
+
* @see \Boldgrid\Library\Util\Option::get()
|
42 |
+
*/
|
43 |
+
public function __construct() {
|
44 |
+
Filter::add( $this );
|
45 |
+
|
46 |
+
$this->settings = (array) \Boldgrid\Library\Util\Option::get( 'autoupdate' );
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Auto update WordPress Core: All types.
|
51 |
+
*
|
52 |
+
* @since 2.6.0
|
53 |
+
*
|
54 |
+
* @hook: auto_update_core
|
55 |
+
*
|
56 |
+
* @param bool $update Update API response.
|
57 |
+
* @return bool
|
58 |
+
*/
|
59 |
+
public function auto_update_core( $update ) {
|
60 |
+
if ( ! apply_filters( 'Boldgrid\Library\Update\isEnalbed', false ) ) {
|
61 |
+
return $update;
|
62 |
+
}
|
63 |
+
|
64 |
+
return $update || ! empty( $this->settings['wpcore']['all'] );
|
65 |
+
}
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Auto update WordPress Core: Major Updates.
|
69 |
+
*
|
70 |
+
* @since 2.6.0
|
71 |
+
*
|
72 |
+
* @hook: allow_major_auto_core_updates
|
73 |
+
*
|
74 |
+
* @param bool $update Update API response.
|
75 |
+
* @return bool
|
76 |
+
*/
|
77 |
+
public function allow_major_auto_core_updates( $update ) {
|
78 |
+
if ( ! apply_filters( 'Boldgrid\Library\Update\isEnalbed', false ) ) {
|
79 |
+
return $update;
|
80 |
+
}
|
81 |
+
|
82 |
+
return $update || ! empty( $this->settings['wpcore']['all'] ) ||
|
83 |
+
! empty( $this->settings['wpcore']['major'] );
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Auto update WordPress Core: Minor Updates.
|
88 |
+
*
|
89 |
+
* @since 2.6.0
|
90 |
+
*
|
91 |
+
* @hook: allow_minor_auto_core_updates
|
92 |
+
*
|
93 |
+
* @param bool $update Update API response.
|
94 |
+
* @return bool
|
95 |
+
*/
|
96 |
+
public function allow_minor_auto_core_updates( $update ) {
|
97 |
+
if ( ! apply_filters( 'Boldgrid\Library\Update\isEnalbed', false ) ) {
|
98 |
+
return $update;
|
99 |
+
}
|
100 |
+
|
101 |
+
return $update || ! empty( $this->settings['wpcore']['all'] ) ||
|
102 |
+
! empty( $this->settings['wpcore']['minor'] );
|
103 |
+
}
|
104 |
+
|
105 |
+
/**
|
106 |
+
* Auto update WordPress Core: Development Updates.
|
107 |
+
*
|
108 |
+
* @since 2.6.0
|
109 |
+
*
|
110 |
+
* @hook: allow_dev_auto_core_updates
|
111 |
+
*
|
112 |
+
* @param bool $update Update API response.
|
113 |
+
* @return bool
|
114 |
+
*/
|
115 |
+
public function allow_dev_auto_core_updates( $update ) {
|
116 |
+
if ( ! apply_filters( 'Boldgrid\Library\Update\isEnalbed', false ) ) {
|
117 |
+
return $update;
|
118 |
+
}
|
119 |
+
|
120 |
+
return $update || ! empty( $this->settings['wpcore']['all'] ) ||
|
121 |
+
! empty( $this->settings['wpcore']['dev'] );
|
122 |
+
}
|
123 |
+
|
124 |
+
/**
|
125 |
+
* Auto update WordPress Core: Translation Updates.
|
126 |
+
*
|
127 |
+
* @since 2.6.0
|
128 |
+
*
|
129 |
+
* @hook: auto_update_translation
|
130 |
+
*
|
131 |
+
* @param bool $update Update API response.
|
132 |
+
* @return bool
|
133 |
+
*/
|
134 |
+
public function auto_update_translation( $update ) {
|
135 |
+
if ( ! apply_filters( 'Boldgrid\Library\Update\isEnalbed', false ) ) {
|
136 |
+
return $update;
|
137 |
+
}
|
138 |
+
|
139 |
+
return $update || ! empty( $this->settings['wpcore']['all'] ) ||
|
140 |
+
! empty( $this->settings['wpcore']['translation'] );
|
141 |
+
}
|
142 |
+
|
143 |
+
/**
|
144 |
+
* Auto update plugin.
|
145 |
+
*
|
146 |
+
* @since 2.3.0
|
147 |
+
*
|
148 |
+
* @hook: auto_update_plugin
|
149 |
+
*
|
150 |
+
* @param bool $update Update API response.
|
151 |
+
* @param object $item Item being updated.
|
152 |
+
* @return bool
|
153 |
+
*/
|
154 |
+
public function auto_update_plugin( $update, $item ) {
|
155 |
+
if ( ! apply_filters( 'Boldgrid\Library\Update\isEnalbed', false ) ) {
|
156 |
+
return $update;
|
157 |
+
}
|
158 |
+
|
159 |
+
// Old settings.
|
160 |
+
$pluginAutoupdate = \Boldgrid\Library\Util\Option::get( 'plugin_autoupdate' );
|
161 |
+
|
162 |
+
// Update if global setting is on, individual settings is on, or not set and default is on.
|
163 |
+
if ( ! empty( $pluginAutoupdate ) ||
|
164 |
+
! empty( $this->settings['plugins'][ $item->plugin ] ) ||
|
165 |
+
( ! isset( $this->settings['plugins'][ $item->plugin ] ) &&
|
166 |
+
! empty( $this->settings['plugins']['default'] ) ) ) {
|
167 |
+
$update = true;
|
168 |
+
}
|
169 |
+
|
170 |
+
return $update;
|
171 |
+
}
|
172 |
+
|
173 |
+
/**
|
174 |
+
* Auto update theme.
|
175 |
+
*
|
176 |
+
* @since 2.3.0
|
177 |
+
*
|
178 |
+
* @hook: auto_update_theme
|
179 |
+
*
|
180 |
+
* @param bool $update Update API response.
|
181 |
+
* @param object $item Item being updated.
|
182 |
+
* @return bool
|
183 |
+
*/
|
184 |
+
public function auto_update_theme( $update, $item ) {
|
185 |
+
if ( ! apply_filters( 'Boldgrid\Library\Update\isEnalbed', false ) ) {
|
186 |
+
return $update;
|
187 |
+
}
|
188 |
+
|
189 |
+
// Old settings.
|
190 |
+
$themeAutoupdate = \Boldgrid\Library\Util\Option::get( 'theme_autoupdate' );
|
191 |
+
|
192 |
+
// Update if global setting is on, individual settings is on, or not set and default is on.
|
193 |
+
if ( ! empty( $themeAutoupdate ) ||
|
194 |
+
! empty( $this->settings['themes'][ $item->theme ] ) ||
|
195 |
+
( ! isset( $this->settings['themes'][ $item->theme ] ) &&
|
196 |
+
! empty( $this->settings['themes']['default'] ) ) ) {
|
197 |
+
$update = true;
|
198 |
+
}
|
199 |
+
|
200 |
+
return $update;
|
201 |
+
}
|
202 |
+
}
|
vendor/boldgrid/library/src/assets/css/admin.css
CHANGED
@@ -112,7 +112,7 @@ div .dashicons {
|
|
112 |
transform: rotateZ(0deg);
|
113 |
}
|
114 |
|
115 |
-
.bglib-collapsible-open.dashicons
|
116 |
transform: rotateZ(-180deg);
|
117 |
}
|
118 |
|
112 |
transform: rotateZ(0deg);
|
113 |
}
|
114 |
|
115 |
+
.bglib-collapsible-open .dashicons {
|
116 |
transform: rotateZ(-180deg);
|
117 |
}
|
118 |
|
vendor/boldgrid/library/src/assets/css/dashboard.css
CHANGED
@@ -46,6 +46,7 @@
|
|
46 |
.bglib-card {
|
47 |
border: 1px solid #ddd;
|
48 |
background: #fff;
|
|
|
49 |
position: relative;
|
50 |
}
|
51 |
|
@@ -248,10 +249,7 @@ a.wp-menu-open .bglib-unread-notice-count {
|
|
248 |
|
249 |
.bglib-card-links {
|
250 |
display: flex;
|
251 |
-
justify-content:
|
252 |
align-items: baseline;
|
253 |
-
|
254 |
-
}
|
255 |
-
.bglib-smaller .bglib-card-links a {
|
256 |
-
margin: 0;
|
257 |
}
|
46 |
.bglib-card {
|
47 |
border: 1px solid #ddd;
|
48 |
background: #fff;
|
49 |
+
height: fit-content;
|
50 |
position: relative;
|
51 |
}
|
52 |
|
249 |
|
250 |
.bglib-card-links {
|
251 |
display: flex;
|
252 |
+
justify-content: right;
|
253 |
align-items: baseline;
|
254 |
+
margin: 0 1em;
|
|
|
|
|
|
|
255 |
}
|
vendor/boldgrid/library/src/assets/css/page.css
DELETED
@@ -1,60 +0,0 @@
|
|
1 |
-
#bglib-page-container {
|
2 |
-
margin: -10px -20px 0 -22px;
|
3 |
-
}
|
4 |
-
|
5 |
-
#bglib-page-top {
|
6 |
-
background: #fff;
|
7 |
-
box-shadow: 0 1px 0 #ccd0d4, 0 1px 1px 1px rgba(0,0,0,0.04);
|
8 |
-
min-height: 4em;
|
9 |
-
margin-bottom: 15px;
|
10 |
-
}
|
11 |
-
|
12 |
-
#bglib-page-header,
|
13 |
-
#bglib-page-content {
|
14 |
-
max-width: 1040px;
|
15 |
-
margin: 0 auto;
|
16 |
-
padding: 0;
|
17 |
-
}
|
18 |
-
|
19 |
-
#bglib-page-header.bglib-has-logo {
|
20 |
-
background-size: 35px 35px;
|
21 |
-
background-repeat: no-repeat;
|
22 |
-
background-position: 0 5px
|
23 |
-
}
|
24 |
-
|
25 |
-
#bglib-page-header.bglib-has-logo h1 {
|
26 |
-
padding-left: 50px;
|
27 |
-
}
|
28 |
-
|
29 |
-
#bglib-page-header h1 {
|
30 |
-
display: inline-block;
|
31 |
-
}
|
32 |
-
|
33 |
-
/*
|
34 |
-
* Media queries.
|
35 |
-
*/
|
36 |
-
@media only screen and (max-width: 1200px) {
|
37 |
-
#bglib-page-header,
|
38 |
-
#bglib-page-content {
|
39 |
-
padding: 0 15px;
|
40 |
-
}
|
41 |
-
|
42 |
-
#bglib-page-header.bglib-has-logo {
|
43 |
-
background-position: 15px 5px;
|
44 |
-
}
|
45 |
-
|
46 |
-
#bglib-page-header.bglib-has-logo h1 {
|
47 |
-
padding-left: 50px;
|
48 |
-
}
|
49 |
-
|
50 |
-
#bglib-page-header .page-title-actions a {
|
51 |
-
display: inline-block;
|
52 |
-
}
|
53 |
-
}
|
54 |
-
|
55 |
-
@media only screen and (max-width: 960px) {
|
56 |
-
#bglib-page-header.bglib-has-logo .page-title-actions {
|
57 |
-
display: block;
|
58 |
-
padding-left: 50px;
|
59 |
-
}
|
60 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/boldgrid/library/tests/Library/Library/test-activity.php
CHANGED
@@ -90,6 +90,19 @@ class Test_Activty extends WP_UnitTestCase {
|
|
90 |
$this->assertEquals( $this->activity, $this->activityClass->getActivities() );
|
91 |
}
|
92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
/**
|
94 |
* Get the count for an activity.
|
95 |
*
|
@@ -117,6 +130,18 @@ class Test_Activty extends WP_UnitTestCase {
|
|
117 |
$this->assertEquals( $this->activity['boldgrid-backup'], $this->activityClass->getPluginActivities() );
|
118 |
}
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
|
121 |
/**
|
122 |
* Save all activities.
|
90 |
$this->assertEquals( $this->activity, $this->activityClass->getActivities() );
|
91 |
}
|
92 |
|
93 |
+
/**
|
94 |
+
* Get the configs for a particular activity.
|
95 |
+
*
|
96 |
+
* @since 2.7.7
|
97 |
+
*
|
98 |
+
* @var string $activity The name of the activity.
|
99 |
+
* @var string $config_path The full path to the config file.
|
100 |
+
* @return array An array of configs.
|
101 |
+
*/
|
102 |
+
public function testGetActivityConfigs() {
|
103 |
+
// NOT TESTED.
|
104 |
+
}
|
105 |
+
|
106 |
/**
|
107 |
* Get the count for an activity.
|
108 |
*
|
130 |
$this->assertEquals( $this->activity['boldgrid-backup'], $this->activityClass->getPluginActivities() );
|
131 |
}
|
132 |
|
133 |
+
/**
|
134 |
+
* Maybe add a rating prompt for an activity.
|
135 |
+
*
|
136 |
+
* @since 2.7.7
|
137 |
+
*
|
138 |
+
* @param string $activity The name of an activity
|
139 |
+
* @param string $config_path The path to our plugin's rating prompt configs.
|
140 |
+
* @return bool Whether or not we added a rating prompt.
|
141 |
+
*/
|
142 |
+
public function testMaybeAddRatingPrompt() {
|
143 |
+
// NOT TESTED.
|
144 |
+
}
|
145 |
|
146 |
/**
|
147 |
* Save all activities.
|
vendor/boldgrid/library/tests/Library/Library/test-rating-prompt.php
CHANGED
@@ -204,6 +204,26 @@ class Test_Rating_Prompt extends WP_UnitTestCase {
|
|
204 |
$this->assertFalse( $added );
|
205 |
}
|
206 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
/**
|
208 |
* Get an array of attributes for a decision's <a> tag.
|
209 |
*
|
@@ -283,6 +303,33 @@ class Test_Rating_Prompt extends WP_UnitTestCase {
|
|
283 |
$this->assertEquals( 3, $lastDismissed );
|
284 |
}
|
285 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
/**
|
287 |
* Whether or not the minimum amount of time between showing prompts has been reached.
|
288 |
*
|
204 |
$this->assertFalse( $added );
|
205 |
}
|
206 |
|
207 |
+
/**
|
208 |
+
* Add admin notices.
|
209 |
+
*
|
210 |
+
* @since 2.7.7
|
211 |
+
*/
|
212 |
+
public function testAdminNotices() {
|
213 |
+
// NOT TESTED.
|
214 |
+
}
|
215 |
+
|
216 |
+
/**
|
217 |
+
* Dismiss a rating prompt via ajax.
|
218 |
+
*
|
219 |
+
* @since 2.7.7
|
220 |
+
*
|
221 |
+
* @hook wp_ajax_blib_rating_prompt_dismiss
|
222 |
+
*/
|
223 |
+
public function testAjaxDismiss() {
|
224 |
+
// NOT TESTED.
|
225 |
+
}
|
226 |
+
|
227 |
/**
|
228 |
* Get an array of attributes for a decision's <a> tag.
|
229 |
*
|
303 |
$this->assertEquals( 3, $lastDismissed );
|
304 |
}
|
305 |
|
306 |
+
/**
|
307 |
+
* Admin enqueue scripts.
|
308 |
+
*
|
309 |
+
* @since 2.7.7
|
310 |
+
*/
|
311 |
+
public function testAdminEnqueueScripts() {
|
312 |
+
// NOT TESTED.
|
313 |
+
}
|
314 |
+
|
315 |
+
/**
|
316 |
+
* Return the markup of a prompt's slides.
|
317 |
+
*
|
318 |
+
* @since 2.7.7
|
319 |
+
*/
|
320 |
+
public function testGetPromptSlides() {
|
321 |
+
// NOT TESTED.
|
322 |
+
}
|
323 |
+
|
324 |
+
/**
|
325 |
+
* Get the markup for an individual slide.
|
326 |
+
*
|
327 |
+
* @since 2.7.7
|
328 |
+
*/
|
329 |
+
public function testGetSlideMarkup() {
|
330 |
+
// NOT TESTED.
|
331 |
+
}
|
332 |
+
|
333 |
/**
|
334 |
* Whether or not the minimum amount of time between showing prompts has been reached.
|
335 |
*
|
vendor/boldgrid/library/tests/Library/Plugin/test-factory.php
DELETED
@@ -1,82 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* BoldGrid Source Code
|
4 |
-
*
|
5 |
-
* @package Boldgrid_Plugintest
|
6 |
-
* @copyright BoldGrid.com
|
7 |
-
* @version $Id$
|
8 |
-
* @author BoldGrid.com <wpb@boldgrid.com>
|
9 |
-
*/
|
10 |
-
|
11 |
-
use Boldgrid\Library\Library\Configs;
|
12 |
-
use Boldgrid\Library\Library\Plugin;
|
13 |
-
|
14 |
-
/**
|
15 |
-
* BoldGrid Library Library Plugin Factory Test class.
|
16 |
-
*
|
17 |
-
* @since 2.12.2
|
18 |
-
*/
|
19 |
-
class Test_BoldGrid_Library_Library_Plugin_Factory extends WP_UnitTestCase {
|
20 |
-
|
21 |
-
/**
|
22 |
-
* Plugin Data.
|
23 |
-
*
|
24 |
-
* @since 2.12.2
|
25 |
-
*/
|
26 |
-
public $plugin_data;
|
27 |
-
|
28 |
-
/**
|
29 |
-
* Setup Function.
|
30 |
-
*
|
31 |
-
* @since 2.12.2
|
32 |
-
*/
|
33 |
-
public function setUp() {
|
34 |
-
$plugin_data = array(
|
35 |
-
'Name' => 'Total Upkeep',
|
36 |
-
'PluginURI' => 'https://www.boldgrid.com/boldgrid-backup/',
|
37 |
-
'Version' => '1.13.2',
|
38 |
-
'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. By BoldGrid.',
|
39 |
-
'Author' => 'BoldGrid',
|
40 |
-
'AuthorURI' => 'https://www.boldgrid.com/',
|
41 |
-
'TextDomain' => 'boldgrid-backup',
|
42 |
-
'DomainPath' => '/languages',
|
43 |
-
);
|
44 |
-
|
45 |
-
$configs = new Configs();
|
46 |
-
}
|
47 |
-
|
48 |
-
/**
|
49 |
-
* Test Create.
|
50 |
-
*
|
51 |
-
* @since 2.12.2
|
52 |
-
*/
|
53 |
-
public function test_create() {
|
54 |
-
$expected_class = 'Boldgrid\Library\Library\Plugin\Plugin';
|
55 |
-
$plugin_from_slug = Plugin\Factory::create( 'akismet' );
|
56 |
-
$this->assertTrue( $plugin_from_slug instanceof \Boldgrid\Library\Library\Plugin\Plugin );
|
57 |
-
$plugin_from_file = Plugin\Factory::create( 'akismet/akismet.php' );
|
58 |
-
$this->assertTrue( $plugin_from_file instanceof \Boldgrid\Library\Library\Plugin\Plugin );
|
59 |
-
}
|
60 |
-
|
61 |
-
/**
|
62 |
-
* Test fileFromSlug.
|
63 |
-
*
|
64 |
-
* @since 2.12.2
|
65 |
-
*/
|
66 |
-
public function test_fileFromSlug() {
|
67 |
-
$file = Plugin\Factory::fileFromSlug( 'hello-dolly' );
|
68 |
-
$this->assertEquals( 'hello.php', $file );
|
69 |
-
$file = Plugin\Factory::fileFromSlug( 'hello' );
|
70 |
-
$this->assertEquals( 'hello.php', $file );
|
71 |
-
}
|
72 |
-
|
73 |
-
/**
|
74 |
-
* Test slugFromFile.
|
75 |
-
*
|
76 |
-
* @since 2.12.2
|
77 |
-
*/
|
78 |
-
public function test_slugFromFile() {
|
79 |
-
$slug = Plugin\Factory::slugFromFile( 'hello.php' );
|
80 |
-
$this->assertEquals( 'hello-dolly', $slug );
|
81 |
-
}
|
82 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/boldgrid/library/tests/Library/Plugin/test-notice.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* BoldGrid Source Code
|
4 |
*
|
5 |
* @package Boldgrid_Plugintest
|
6 |
* @copyright BoldGrid.com
|
@@ -9,7 +9,6 @@
|
|
9 |
*/
|
10 |
|
11 |
use Boldgrid\Library\Library\Configs;
|
12 |
-
use Boldgrid\Library\Library\Plugin;
|
13 |
|
14 |
/**
|
15 |
* BoldGrid Library Library Plugin Notice Test class.
|
@@ -17,209 +16,438 @@ use Boldgrid\Library\Library\Plugin;
|
|
17 |
* @since 2.12.0
|
18 |
*/
|
19 |
class Test_BoldGrid_Library_Library_Plugin_Notice extends WP_UnitTestCase {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
/**
|
21 |
* Setup.
|
22 |
*
|
23 |
-
* @since 2.12.
|
24 |
*/
|
25 |
public function setUp() {
|
26 |
-
|
27 |
-
$this->
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
);
|
33 |
|
34 |
-
$this->
|
35 |
-
->setMethods( array( 'getPluginData', 'firstVersionCompare' ) )
|
36 |
-
->disableOriginalConstructor()
|
37 |
-
->getMock();
|
38 |
-
$this->mock_plugin->method( 'getPluginData' )
|
39 |
-
->will( $this->returnValue( array( 'Version' => '0.0.0' ) ) );
|
40 |
-
$this->mock_plugin->method( 'firstVersionCompare' )
|
41 |
-
->will( $this->returnValue( true ) );
|
42 |
}
|
43 |
|
44 |
/**
|
45 |
-
*
|
|
|
|
|
46 |
*
|
47 |
-
* @since 2.12.
|
|
|
|
|
|
|
48 |
*/
|
49 |
-
public function
|
50 |
-
$
|
51 |
-
$
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
update_option( '
|
56 |
-
$notice = new Plugin\Notice( $plugin, $sample_notice );
|
57 |
-
$this->assertTrue( $notice instanceof \Boldgrid\Library\Library\Plugin\Notice );
|
58 |
}
|
59 |
-
|
60 |
/**
|
61 |
-
*
|
62 |
*
|
63 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
*/
|
65 |
-
public function
|
66 |
-
$
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
|
73 |
/**
|
74 |
-
*
|
75 |
*
|
76 |
-
* @since 2.12.
|
77 |
*/
|
78 |
-
public function
|
79 |
-
|
80 |
-
$
|
|
|
|
|
|
|
81 |
|
82 |
-
|
83 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
}
|
85 |
|
86 |
/**
|
87 |
-
*
|
88 |
*
|
89 |
-
* @since 2.12.
|
90 |
*/
|
91 |
-
public function
|
92 |
-
|
93 |
-
$
|
|
|
|
|
|
|
94 |
|
95 |
-
|
96 |
-
|
97 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
}
|
99 |
|
100 |
/**
|
101 |
-
*
|
102 |
*
|
103 |
-
* @since 2.12.
|
104 |
*/
|
105 |
-
public function
|
106 |
-
$
|
107 |
-
|
|
|
|
|
|
|
|
|
|
|
108 |
|
109 |
-
|
110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
}
|
112 |
|
113 |
/**
|
114 |
-
* Test
|
115 |
*
|
116 |
-
* @since 2.12.
|
117 |
*/
|
118 |
-
public function
|
119 |
-
|
120 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
|
122 |
-
|
123 |
-
$notice->
|
124 |
-
$this->
|
125 |
}
|
126 |
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
*/
|
132 |
-
public function test_maybeShow() {
|
133 |
-
$sample_notice = $this->sample_notice_array;
|
134 |
-
$notice = new Plugin\Notice( $this->mock_plugin, $sample_notice );
|
135 |
|
136 |
-
$this->
|
|
|
|
|
|
|
137 |
}
|
138 |
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
$
|
146 |
-
$
|
|
|
147 |
|
148 |
-
|
|
|
|
|
|
|
149 |
|
150 |
-
$
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
->will( $this->returnValue( array( 'Version' => '0.0.0' ) ) );
|
156 |
-
$no_show_plugin->method( 'firstVersionCompare' )
|
157 |
-
->will( $this->returnValue( false ) );
|
158 |
|
159 |
-
|
160 |
-
|
|
|
|
|
|
|
|
|
|
|
161 |
}
|
162 |
|
163 |
/**
|
164 |
-
* Test
|
165 |
*
|
166 |
-
* @since 2.12.
|
167 |
*/
|
168 |
-
public function
|
169 |
-
|
170 |
-
$notice
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
|
|
|
172 |
$notice->setIsUnread( false );
|
|
|
|
|
173 |
|
174 |
-
|
|
|
|
|
|
|
175 |
}
|
176 |
|
177 |
/**
|
178 |
-
* Test
|
179 |
*
|
180 |
-
* @since 2.12.
|
181 |
*/
|
182 |
-
public function
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
);
|
|
|
190 |
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
);
|
|
|
197 |
|
198 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
}
|
200 |
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
|
|
209 |
|
210 |
-
$
|
211 |
-
}
|
212 |
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
$sample_notice = $this->sample_notice_array;
|
220 |
-
$notice = new Plugin\Notice( $this->sample_plugin, $sample_notice );
|
221 |
|
222 |
-
|
223 |
-
|
|
|
|
|
|
|
|
|
224 |
}
|
225 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* BoldGrid Source Code
|
4 |
*
|
5 |
* @package Boldgrid_Plugintest
|
6 |
* @copyright BoldGrid.com
|
9 |
*/
|
10 |
|
11 |
use Boldgrid\Library\Library\Configs;
|
|
|
12 |
|
13 |
/**
|
14 |
* BoldGrid Library Library Plugin Notice Test class.
|
16 |
* @since 2.12.0
|
17 |
*/
|
18 |
class Test_BoldGrid_Library_Library_Plugin_Notice extends WP_UnitTestCase {
|
19 |
+
|
20 |
+
private
|
21 |
+
$plugin,
|
22 |
+
$page,
|
23 |
+
$config,
|
24 |
+
$notice,
|
25 |
+
$plugin_data = [
|
26 |
+
'Name' => 'Total Upkeep',
|
27 |
+
'PluginURI' => 'https://www.boldgrid.com/boldgrid-backup/',
|
28 |
+
'Version' => '1.12.0',
|
29 |
+
'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. By BoldGrid.',
|
30 |
+
'Author' => 'BoldGrid',
|
31 |
+
'AuthorURI' => 'https://www.boldgrid.com/',
|
32 |
+
'TextDomain' => 'boldgrid-backup',
|
33 |
+
'DomainPath' => '/languages',
|
34 |
+
],
|
35 |
+
$default_first_version = '1.0.0',
|
36 |
+
$default_newest_version = '1.12.0';
|
37 |
+
|
38 |
/**
|
39 |
* Setup.
|
40 |
*
|
41 |
+
* @since 2.12.0
|
42 |
*/
|
43 |
public function setUp() {
|
44 |
+
// Setup our configs.
|
45 |
+
$this->config = $this->getPluginConfig();
|
46 |
+
$this->plugin = new Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup', $this->config );
|
47 |
+
$this->page = $this->plugin->getPageBySlug( $this->config['pages'][0] );
|
48 |
+
$this->notice = $this->page->getNotices()[0];
|
49 |
+
$this->getFirstVersion();
|
50 |
+
$this->getPluginsChecked();
|
51 |
|
52 |
+
$this->makeFakePlugin();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
}
|
54 |
|
55 |
/**
|
56 |
+
* Set settings versions.
|
57 |
+
*
|
58 |
+
* Sets the version information in the boldgrid_settings option.
|
59 |
*
|
60 |
+
* @since 2.12.0
|
61 |
+
*
|
62 |
+
* @param string @first_version
|
63 |
+
* @param string @current_version
|
64 |
*/
|
65 |
+
public function set_settings_versions( $first_version, $current_version ) {
|
66 |
+
$boldgrid_settings = get_option( 'boldgrid_settings', [] );
|
67 |
+
$boldgrid_settings['plugins_checked']['boldgrid-backup/boldgrid-backup.php'] = [
|
68 |
+
$first_version => 123456,
|
69 |
+
$current_version => 123456,
|
70 |
+
];
|
71 |
+
update_option( 'boldgrid_settings', $boldgrid_settings );
|
|
|
|
|
72 |
}
|
|
|
73 |
/**
|
74 |
+
* Get the Plugin Config and / or change it
|
75 |
*
|
76 |
+
* Gets the plugin config file set here for testing
|
77 |
+
*
|
78 |
+
* @since 2.12.0
|
79 |
+
*
|
80 |
+
* @param string $version notice version number for testing.
|
81 |
+
* @param array $add_pages optional. an array of page_slug strings.
|
82 |
+
* @param array $add_notices optional. an array of page_notices to add.
|
83 |
+
*
|
84 |
+
* @return array
|
85 |
*/
|
86 |
+
public function getPluginConfig( $version = '1.12.16', array $add_pages = [], array $add_notices = [] ) {
|
87 |
+
$config = [
|
88 |
+
'pages' => [
|
89 |
+
'boldgrid-backup-premium-features',
|
90 |
+
'boldgrid-backup-settings',
|
91 |
+
],
|
92 |
+
'page_notices' => [
|
93 |
+
[
|
94 |
+
'id' => 'bgbkup_database_encryption',
|
95 |
+
'page' => 'boldgrid-backup-premium-features',
|
96 |
+
'version' => $version,
|
97 |
+
],
|
98 |
+
[
|
99 |
+
'id' => 'bgbkup_google_drive',
|
100 |
+
'page' => 'boldgrid-backup-premium-features',
|
101 |
+
'version' => $version,
|
102 |
+
],
|
103 |
+
[
|
104 |
+
'id' => 'bgbkup_new_settings_feature',
|
105 |
+
'page' => 'boldgrid-backup-settings',
|
106 |
+
'version' => $version,
|
107 |
+
],
|
108 |
+
],
|
109 |
+
];
|
110 |
+
foreach ( $add_pages as $page ) {
|
111 |
+
$config['pages'][] = $page;
|
112 |
+
}
|
113 |
+
foreach ( $add_notices as $notice ) {
|
114 |
+
$config['page_notices'][] = $notice;
|
115 |
+
}
|
116 |
+
return $config;
|
117 |
}
|
118 |
|
119 |
/**
|
120 |
+
* getFirstVersion.
|
121 |
*
|
122 |
+
* @since 2.12.0
|
123 |
*/
|
124 |
+
public function getFirstVersion() {
|
125 |
+
// Good data we will be testing against.
|
126 |
+
$backupPluginsChecked = [
|
127 |
+
'1.11.0' => 123456,
|
128 |
+
'1.12.0' => 123456,
|
129 |
+
];
|
130 |
|
131 |
+
// Make sure good data gets us good data.
|
132 |
+
$settings = [
|
133 |
+
'plugins_checked' => [
|
134 |
+
'other-plugin/other-plugin.php' => [
|
135 |
+
'1.0.0' => 12345,
|
136 |
+
'1.1.0' => 12346,
|
137 |
+
],
|
138 |
+
'boldgrid-backup/boldgrid-backup.php' => $backupPluginsChecked,
|
139 |
+
],
|
140 |
+
];
|
141 |
+
update_option( 'boldgrid_settings', $settings );
|
142 |
+
$this->plugin->getFirstVersion();
|
143 |
}
|
144 |
|
145 |
/**
|
146 |
+
* getPluginsChecked.
|
147 |
*
|
148 |
+
* @since 2.12.0
|
149 |
*/
|
150 |
+
public function getPluginsChecked() {
|
151 |
+
// Good data we will be testing against.
|
152 |
+
$backupPluginsChecked = [
|
153 |
+
'1.11.0' => 123456,
|
154 |
+
'1.12.0' => 123456,
|
155 |
+
];
|
156 |
|
157 |
+
// Make sure wrong data gives us an empty array.
|
158 |
+
update_option( 'boldgrid_settings', false );
|
159 |
+
|
160 |
+
// Make sure wrong data gives us an empty array.
|
161 |
+
$settings = [
|
162 |
+
'plugins_checked' => [],
|
163 |
+
];
|
164 |
+
update_option( 'boldgrid_settings', $settings );
|
165 |
+
$this->plugin->getPluginsChecked();
|
166 |
+
|
167 |
+
// Make sure good data gets us good data.
|
168 |
+
$settings = [
|
169 |
+
'plugins_checked' => [
|
170 |
+
'other-plugin/other-plugin.php' => [
|
171 |
+
'1.0.0' => 12345,
|
172 |
+
'1.1.0' => 12346,
|
173 |
+
],
|
174 |
+
'boldgrid-backup/boldgrid-backup.php' => $backupPluginsChecked,
|
175 |
+
],
|
176 |
+
];
|
177 |
+
update_option( 'boldgrid_settings', $settings );
|
178 |
+
$this->plugin->getPluginsChecked();
|
179 |
}
|
180 |
|
181 |
/**
|
182 |
+
* Make a fake plugin to test this class against.
|
183 |
*
|
184 |
+
* @since 2.12.0
|
185 |
*/
|
186 |
+
public function makeFakePlugin() {
|
187 |
+
$path = ABSPATH . 'wp-content/plugins/fake-plugin';
|
188 |
+
|
189 |
+
// Make the plugin's directory.
|
190 |
+
if ( file_exists( $path ) ) {
|
191 |
+
exec( 'rm -rf ' . ABSPATH . 'wp-content/plugins/fake-plugin' ); //phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.system_calls_exec
|
192 |
+
}
|
193 |
+
mkdir( $path );
|
194 |
|
195 |
+
// Add the plugin's main file.
|
196 |
+
file_put_contents( //phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_file_put_contents
|
197 |
+
$path . '/fake-plugin.php',
|
198 |
+
'<?php
|
199 |
+
/**
|
200 |
+
* File: fake-plugin.php
|
201 |
+
*
|
202 |
+
* @link https://www.domain.com
|
203 |
+
* @since 1.0.0
|
204 |
+
* @package Fake_Plugin
|
205 |
+
*
|
206 |
+
* @wordpress-plugin
|
207 |
+
* Plugin Name: Fake Plugin
|
208 |
+
* Plugin URI: https://www.domain.com
|
209 |
+
* Description: Description goes here.
|
210 |
+
* Version: 1.5.0
|
211 |
+
* Author: Me
|
212 |
+
* Author URI: https://www.me.com
|
213 |
+
* License: GPL-2.0+
|
214 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
215 |
+
* Text Domain: fake-plugin
|
216 |
+
* Domain Path: /languages
|
217 |
+
*/'
|
218 |
+
);
|
219 |
+
|
220 |
+
$configs = [
|
221 |
+
'pages' => [
|
222 |
+
'boldgrid-backup-premium-features',
|
223 |
+
],
|
224 |
+
'page_notices' => [
|
225 |
+
[
|
226 |
+
'id' => 'notice-1',
|
227 |
+
'page' => 'boldgrid-backup-premium-features',
|
228 |
+
'version' => '1.1.0',
|
229 |
+
],
|
230 |
+
],
|
231 |
+
];
|
232 |
+
|
233 |
+
$this->fakePlugin = new Boldgrid\Library\Library\Plugin\Plugin( 'fake-plugin', $configs );
|
234 |
+
|
235 |
+
// Configure this plugin's version info (IE first version installed).
|
236 |
+
$boldgrid_settings = get_option( 'boldgrid_settings', [] );
|
237 |
+
$boldgrid_settings['plugins_checked']['fake-plugin/fake-plugin.php'] = [
|
238 |
+
'1.0.0' => 946684800,
|
239 |
+
'1.3.0' => 946685800,
|
240 |
+
'1.5.0' => 946686800,
|
241 |
+
];
|
242 |
+
update_option( 'boldgrid_settings', $boldgrid_settings );
|
243 |
}
|
244 |
|
245 |
/**
|
246 |
+
* Test setIsUnread.
|
247 |
*
|
248 |
+
* @since 2.12.0
|
249 |
*/
|
250 |
+
public function testSetIsUnread() {
|
251 |
+
// Create a new notice.
|
252 |
+
$notice = new Boldgrid\Library\Library\Plugin\Notice(
|
253 |
+
$this->fakePlugin,
|
254 |
+
[
|
255 |
+
'id' => 'notice-testSetUnread',
|
256 |
+
'page' => 'page-slug',
|
257 |
+
'version' => '1.5.0',
|
258 |
+
]
|
259 |
+
);
|
260 |
+
|
261 |
+
// By default, it should be unread.
|
262 |
+
$this->assertTrue( $notice->getIsUnread() );
|
263 |
+
|
264 |
+
// After we set it as being read, it should be read.
|
265 |
+
$notice->setIsUnread( false );
|
266 |
+
$this->assertFalse( $notice->getIsUnread() );
|
267 |
|
268 |
+
// If for some reason we mark it as unread, it should be unread.
|
269 |
+
$notice->setIsUnread( true );
|
270 |
+
$this->assertTrue( $notice->getIsUnread() );
|
271 |
}
|
272 |
|
273 |
+
//Test Notice::setNoticeId.
|
274 |
+
public function testSetNoticeId() {
|
275 |
+
$original_notice_id = $this->notice->getId();
|
276 |
+
$new_notice_id = 'test_set_new_id';
|
|
|
|
|
|
|
|
|
277 |
|
278 |
+
$this->notice->setId( $new_notice_id );
|
279 |
+
$this->assertEquals( $new_notice_id, $this->notice->getId() );
|
280 |
+
$this->notice->setId( $original_notice_id );
|
281 |
+
$this->assertEquals( $original_notice_id, $this->notice->getId() );
|
282 |
}
|
283 |
|
284 |
+
//Test Notice::setPageSlug().
|
285 |
+
public function testSetPageSlug() {
|
286 |
+
$original_slug = $this->notice->getPageSlug();
|
287 |
+
$new_page_slug = 'test_set_page_slug';
|
288 |
+
$this->notice->setPageSlug( $new_page_slug );
|
289 |
+
$this->assertEquals( $new_page_slug, $this->notice->getPageSlug() );
|
290 |
+
$this->notice->setPageSlug( $original_slug );
|
291 |
+
$this->assertEquals( $original_slug, $this->notice->getPageSlug() );
|
292 |
+
}
|
293 |
|
294 |
+
//Test Notice::setVersion().
|
295 |
+
public function testSetNoticeVersion() {
|
296 |
+
$original_version = $this->notice->getVersion();
|
297 |
+
$new_version = '9.9.9';
|
298 |
|
299 |
+
$this->notice->setVersion( $new_version );
|
300 |
+
$this->assertEquals( $new_version, $this->notice->getVersion() );
|
301 |
+
$this->notice->setVersion( $original_version );
|
302 |
+
$this->assertEquals( $original_version, $this->notice->getVersion() );
|
303 |
+
}
|
|
|
|
|
|
|
304 |
|
305 |
+
//Test that notices return as read if this is first install.
|
306 |
+
public function testNoticeIfFirstInstall() {
|
307 |
+
$this->plugin->pluginData = $this->plugin_data;
|
308 |
+
$this->set_settings_versions( '1.12.0', '1.12.0' );
|
309 |
+
$this->assertEquals( false, $this->notice->getIsUnread() );
|
310 |
+
$this->set_settings_versions( $this->default_first_version, $this->default_newest_version );
|
311 |
+
$this->assertEquals( true, $this->notice->getIsUnread() );
|
312 |
}
|
313 |
|
314 |
/**
|
315 |
+
* Test alreadyExists.
|
316 |
*
|
317 |
+
* @since 2.12.0
|
318 |
*/
|
319 |
+
public function testAlreadyExists() {
|
320 |
+
// Create a new notice.
|
321 |
+
$notice = new Boldgrid\Library\Library\Plugin\Notice(
|
322 |
+
$this->fakePlugin,
|
323 |
+
[
|
324 |
+
'id' => 'notice-testAlreadyExists',
|
325 |
+
'page' => 'page-slug',
|
326 |
+
'version' => '1.5.0',
|
327 |
+
]
|
328 |
+
);
|
329 |
+
|
330 |
+
// By default, it should not exist.
|
331 |
+
$this->assertFalse( $notice->alreadyExists() );
|
332 |
|
333 |
+
// After we set the notice as being read, it should exist.
|
334 |
$notice->setIsUnread( false );
|
335 |
+
$this->assertTrue( $notice->alreadyExists() );
|
336 |
+
}
|
337 |
|
338 |
+
//Test Notice::getPlugin().
|
339 |
+
public function testGetPlugin() {
|
340 |
+
$plugin = $this->notice->getPlugin();
|
341 |
+
$this->assertEquals( $this->plugin, $plugin );
|
342 |
}
|
343 |
|
344 |
/**
|
345 |
+
* Test maybeShow.
|
346 |
*
|
347 |
+
* @since 2.12.0
|
348 |
*/
|
349 |
+
public function testMaybeShow() {
|
350 |
+
/*
|
351 |
+
* The notice should show in this scenario.
|
352 |
+
*
|
353 |
+
* We are on the version that this new feature is for.
|
354 |
+
*
|
355 |
+
* Plugin's first version: 1.0.0
|
356 |
+
* This version: 1.5.0
|
357 |
+
* This notice's version: 1.5.0
|
358 |
+
*/
|
359 |
+
$notice = new Boldgrid\Library\Library\Plugin\Notice(
|
360 |
+
$this->fakePlugin,
|
361 |
+
[
|
362 |
+
'id' => 'notice-1',
|
363 |
+
'page' => 'page-slug',
|
364 |
+
'version' => '1.5.0',
|
365 |
+
]
|
366 |
+
);
|
367 |
+
$this->assertTrue( $notice->maybeShow() );
|
368 |
+
|
369 |
+
/*
|
370 |
+
* The notice should show in this scenario.
|
371 |
+
*
|
372 |
+
* Maybe we upgrade from 1.3.0 to 1.5.0, and this notice is for 1.4.0.
|
373 |
+
*
|
374 |
+
* Plugin's first version: 1.0.0
|
375 |
+
* This version: 1.5.0
|
376 |
+
* This notice's version: 1.4.0
|
377 |
+
*/
|
378 |
+
$notice = new Boldgrid\Library\Library\Plugin\Notice(
|
379 |
+
$this->fakePlugin,
|
380 |
+
[
|
381 |
+
'id' => 'notice-2',
|
382 |
+
'page' => 'page-slug',
|
383 |
+
'version' => '1.4.0',
|
384 |
+
]
|
385 |
);
|
386 |
+
$this->assertTrue( $notice->maybeShow() );
|
387 |
|
388 |
+
/*
|
389 |
+
* The notice should NOT show in this scenario.
|
390 |
+
*
|
391 |
+
* The notice is for a version prior to what we installed.
|
392 |
+
*
|
393 |
+
* Plugin's first version: 1.0.0
|
394 |
+
* This version: 1.5.0
|
395 |
+
* This notice's version: 0.9.0
|
396 |
+
*/
|
397 |
+
$notice = new Boldgrid\Library\Library\Plugin\Notice(
|
398 |
+
$this->fakePlugin,
|
399 |
+
[
|
400 |
+
'id' => 'notice-3',
|
401 |
+
'page' => 'page-slug',
|
402 |
+
'version' => '0.9.0',
|
403 |
+
]
|
404 |
);
|
405 |
+
$this->assertFalse( $notice->maybeShow() );
|
406 |
|
407 |
+
/*
|
408 |
+
* The notice should NOT show in this scenario.
|
409 |
+
*
|
410 |
+
* They just installed a plugin so essentially they shouldn't be seeing anything new.
|
411 |
+
*
|
412 |
+
* Plugin's first version: 1.0.0
|
413 |
+
* This version: 1.5.0
|
414 |
+
* This notice's version: 1.0.0
|
415 |
+
*/
|
416 |
+
$notice = new Boldgrid\Library\Library\Plugin\Notice(
|
417 |
+
$this->fakePlugin,
|
418 |
+
[
|
419 |
+
'id' => 'notice-3',
|
420 |
+
'page' => 'page-slug',
|
421 |
+
'version' => '1.0.0',
|
422 |
+
]
|
423 |
+
);
|
424 |
+
$this->assertFalse( $notice->maybeShow() );
|
425 |
}
|
426 |
|
427 |
+
//Test Notice::noticeVersionChanged().
|
428 |
+
public function testNoticeVersionChanged() {
|
429 |
+
$this->plugin->pluginData = $this->plugin_data;
|
430 |
+
$this->assertEquals( true, $this->notice->getIsUnread() );
|
431 |
+
$this->notice->setIsUnread( false );
|
432 |
+
$new_plugin = new Boldgrid\Library\Library\Plugin\Plugin(
|
433 |
+
'boldgrid-backup',
|
434 |
+
$this->getPluginConfig( '2.12.16' )
|
435 |
+
);
|
436 |
|
437 |
+
$new_plugin->pluginData = $this->plugin_data;
|
|
|
438 |
|
439 |
+
$this->page = $new_plugin->getPageBySlug( $this->config['pages'][0] );
|
440 |
+
$this->notice = $this->page->getNotices()[0];
|
441 |
+
$this->assertEquals( true, $this->notice->getIsUnread() );
|
442 |
+
|
443 |
+
$this->assertEquals( true, true );
|
444 |
+
}
|
|
|
|
|
445 |
|
446 |
+
//Test Notice::setPlugin().
|
447 |
+
public function testSetPlugin() {
|
448 |
+
$new_plugin = new Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup' );
|
449 |
+
$this->notice->setPlugin( $new_plugin );
|
450 |
+
$plugin = $this->notice->getPlugin();
|
451 |
+
$this->assertNotEquals( $this->plugin, $plugin );
|
452 |
}
|
453 |
}
|
vendor/boldgrid/library/tests/Library/Plugin/test-page.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* BoldGrid Source Code
|
4 |
*
|
5 |
* @package Boldgrid_Plugintest
|
6 |
* @copyright BoldGrid.com
|
@@ -9,107 +9,210 @@
|
|
9 |
*/
|
10 |
|
11 |
use Boldgrid\Library\Library\Configs;
|
12 |
-
use Boldgrid\Library\Library\Plugin;
|
13 |
|
14 |
/**
|
15 |
* BoldGrid Library Library Plugin Page Test class.
|
16 |
*
|
17 |
-
* @since 2.
|
18 |
*/
|
19 |
class Test_BoldGrid_Library_Library_Plugin_Page extends WP_UnitTestCase {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
/**
|
21 |
* Setup.
|
22 |
*
|
23 |
-
* @since
|
24 |
*/
|
25 |
public function setUp() {
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
'boldgrid-backup-premium-features',
|
29 |
'boldgrid-backup-settings',
|
30 |
-
|
31 |
-
'page_notices' =>
|
32 |
-
|
33 |
'id' => 'bgbkup_database_encryption',
|
34 |
'page' => 'boldgrid-backup-premium-features',
|
35 |
'version' => '1.12.16',
|
36 |
-
|
37 |
-
|
38 |
'id' => 'bgbkup_google_drive',
|
39 |
'page' => 'boldgrid-backup-premium-features',
|
40 |
'version' => '1.12.16',
|
41 |
-
|
42 |
-
|
43 |
'id' => 'bgbkup_new_settings_feature',
|
44 |
'page' => 'boldgrid-backup-settings',
|
45 |
'version' => '1.12.16',
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
$
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
$this->mock_plugin->method( 'getPluginData' )
|
57 |
-
->will( $this->returnValue( array( 'Version' => '0.0.0' ) ) );
|
58 |
-
$this->mock_plugin->method( 'firstVersionCompare' )
|
59 |
-
->will( $this->returnValue( true ) );
|
60 |
}
|
61 |
|
62 |
/**
|
63 |
-
* Test
|
64 |
*
|
65 |
-
* @since 2.
|
66 |
*/
|
67 |
-
public function
|
68 |
-
|
69 |
-
$
|
|
|
|
|
|
|
70 |
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
|
74 |
/**
|
75 |
-
* Test
|
76 |
*
|
77 |
-
* @since 2.
|
78 |
*/
|
79 |
-
public function
|
80 |
-
|
81 |
-
$
|
|
|
|
|
|
|
82 |
|
83 |
-
|
84 |
-
|
85 |
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
$plugin = $this->sample_plugin;
|
93 |
-
$page = new \Boldgrid\Library\Library\Plugin\Page( $plugin, 'boldgrid-backup-premium-features' );
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
$expected_id = $this->config['page_notices'][0]['id'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
|
97 |
-
|
|
|
|
|
|
|
98 |
|
99 |
-
|
|
|
|
|
|
|
100 |
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
}
|
|
|
|
|
|
|
103 |
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
public function test_getSlug() {
|
110 |
-
$plugin = $this->sample_plugin;
|
111 |
-
$page = new \Boldgrid\Library\Library\Plugin\Page( $plugin, 'boldgrid-backup-premium-features' );
|
112 |
|
113 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
}
|
115 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* BoldGrid Source Code
|
4 |
*
|
5 |
* @package Boldgrid_Plugintest
|
6 |
* @copyright BoldGrid.com
|
9 |
*/
|
10 |
|
11 |
use Boldgrid\Library\Library\Configs;
|
|
|
12 |
|
13 |
/**
|
14 |
* BoldGrid Library Library Plugin Page Test class.
|
15 |
*
|
16 |
+
* @since 2.7.7
|
17 |
*/
|
18 |
class Test_BoldGrid_Library_Library_Plugin_Page extends WP_UnitTestCase {
|
19 |
+
|
20 |
+
private
|
21 |
+
$plugin,
|
22 |
+
$page,
|
23 |
+
$config,
|
24 |
+
$plugin_data = [
|
25 |
+
'Name' => 'Total Upkeep',
|
26 |
+
'PluginURI' => 'https://www.boldgrid.com/boldgrid-backup/',
|
27 |
+
'Version' => '1.12.16',
|
28 |
+
'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. By BoldGrid.',
|
29 |
+
'Author' => 'BoldGrid',
|
30 |
+
'AuthorURI' => 'https://www.boldgrid.com/',
|
31 |
+
'TextDomain' => 'boldgrid-backup',
|
32 |
+
'DomainPath' => '/languages',
|
33 |
+
];
|
34 |
+
|
35 |
/**
|
36 |
* Setup.
|
37 |
*
|
38 |
+
* @since 1.7.7
|
39 |
*/
|
40 |
public function setUp() {
|
41 |
+
// Setup our configs.
|
42 |
+
$this->config = $this->getPluginConfig();
|
43 |
+
$this->plugin = new Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup', $this->config, $this->plugin_data );
|
44 |
+
$this->page = $this->plugin->getPageBySlug( $this->config['pages'][0] );
|
45 |
+
$this->getFirstVersion();
|
46 |
+
$this->getPluginsChecked();
|
47 |
+
}
|
48 |
+
|
49 |
+
public function getPluginConfig( array $add_pages = [], array $add_notices = [] ) {
|
50 |
+
$config = [
|
51 |
+
'pages' => [
|
52 |
'boldgrid-backup-premium-features',
|
53 |
'boldgrid-backup-settings',
|
54 |
+
],
|
55 |
+
'page_notices' => [
|
56 |
+
[
|
57 |
'id' => 'bgbkup_database_encryption',
|
58 |
'page' => 'boldgrid-backup-premium-features',
|
59 |
'version' => '1.12.16',
|
60 |
+
],
|
61 |
+
[
|
62 |
'id' => 'bgbkup_google_drive',
|
63 |
'page' => 'boldgrid-backup-premium-features',
|
64 |
'version' => '1.12.16',
|
65 |
+
],
|
66 |
+
[
|
67 |
'id' => 'bgbkup_new_settings_feature',
|
68 |
'page' => 'boldgrid-backup-settings',
|
69 |
'version' => '1.12.16',
|
70 |
+
],
|
71 |
+
],
|
72 |
+
];
|
73 |
+
foreach ( $add_pages as $page ) {
|
74 |
+
$config['pages'][] = $page;
|
75 |
+
}
|
76 |
+
foreach ( $add_notices as $notice ) {
|
77 |
+
$config['page_notices'][] = $notice;
|
78 |
+
}
|
79 |
+
return $config;
|
|
|
|
|
|
|
|
|
80 |
}
|
81 |
|
82 |
/**
|
83 |
+
* Test getFirstVersion.
|
84 |
*
|
85 |
+
* @since 2.11.0
|
86 |
*/
|
87 |
+
public function getFirstVersion() {
|
88 |
+
// Good data we will be testing against.
|
89 |
+
$backupPluginsChecked = [
|
90 |
+
'1.11.0' => 123456,
|
91 |
+
'1.12.0' => 123456,
|
92 |
+
];
|
93 |
|
94 |
+
// Make sure good data gets us good data.
|
95 |
+
$settings = [
|
96 |
+
'plugins_checked' => [
|
97 |
+
'other-plugin/other-plugin.php' => [
|
98 |
+
'1.0.0' => 12345,
|
99 |
+
'1.1.0' => 12346,
|
100 |
+
],
|
101 |
+
'boldgrid-backup/boldgrid-backup.php' => $backupPluginsChecked,
|
102 |
+
],
|
103 |
+
];
|
104 |
+
update_option( 'boldgrid_settings', $settings );
|
105 |
+
$this->plugin->getFirstVersion();
|
106 |
}
|
107 |
|
108 |
/**
|
109 |
+
* Test getPluginsChecked.
|
110 |
*
|
111 |
+
* @since 2.11.0
|
112 |
*/
|
113 |
+
public function getPluginsChecked() {
|
114 |
+
// Good data we will be testing against.
|
115 |
+
$backupPluginsChecked = [
|
116 |
+
'1.11.0' => 123456,
|
117 |
+
'1.12.0' => 123456,
|
118 |
+
];
|
119 |
|
120 |
+
// Make sure wrong data gives us an empty array.
|
121 |
+
update_option( 'boldgrid_settings', false );
|
122 |
|
123 |
+
// Make sure wrong data gives us an empty array.
|
124 |
+
$settings = [
|
125 |
+
'plugins_checked' => [],
|
126 |
+
];
|
127 |
+
update_option( 'boldgrid_settings', $settings );
|
128 |
+
$this->plugin->getPluginsChecked();
|
|
|
|
|
129 |
|
130 |
+
// Make sure good data gets us good data.
|
131 |
+
$settings = [
|
132 |
+
'plugins_checked' => [
|
133 |
+
'other-plugin/other-plugin.php' => [
|
134 |
+
'1.0.0' => 12345,
|
135 |
+
'1.1.0' => 12346,
|
136 |
+
],
|
137 |
+
'boldgrid-backup/boldgrid-backup.php' => $backupPluginsChecked,
|
138 |
+
],
|
139 |
+
];
|
140 |
+
update_option( 'boldgrid_settings', $settings );
|
141 |
+
$this->plugin->getPluginsChecked();
|
142 |
+
}
|
143 |
+
//Test Page::getNoticeById()
|
144 |
+
public function testGetNoticeById() {
|
145 |
$expected_id = $this->config['page_notices'][0]['id'];
|
146 |
+
$this->assertEquals( $expected_id, $this->page->getNoticeById( $expected_id )->getId() );
|
147 |
+
}
|
148 |
+
|
149 |
+
//Test Page::getNotices() to be sure it matches the config contents.
|
150 |
+
public function testGetNotices() {
|
151 |
+
$expected_notice_ids = [];
|
152 |
+
foreach ( $this->config['page_notices'] as $config_notice ) {
|
153 |
+
if ( $config_notice['page'] === $this->page->getSlug() ) {
|
154 |
+
$expected_notice_ids[] = $config_notice['id'];
|
155 |
+
}
|
156 |
+
}
|
157 |
+
sort( $expected_notice_ids );
|
158 |
+
$notices = $this->page->getNotices();
|
159 |
+
$notice_ids = [];
|
160 |
+
foreach ( $notices as $notice ) {
|
161 |
+
$notice_ids[] = $notice->getId();
|
162 |
+
}
|
163 |
+
sort( $notice_ids );
|
164 |
+
$this->assertEquals( $expected_notice_ids, $notice_ids );
|
165 |
+
}
|
166 |
|
167 |
+
//Test Page::getPlugin() to be sure it matches $this->plugin
|
168 |
+
public function testGetPlugin() {
|
169 |
+
$this->assertEquals( $this->plugin, $this->page->getPlugin() );
|
170 |
+
}
|
171 |
|
172 |
+
//Test Page:getPluginConfig() to be sure it matchees the supplied config file.
|
173 |
+
public function testGetPluginConfig() {
|
174 |
+
$this->assertEquals( $this->config, $this->page->getPluginConfig() );
|
175 |
+
}
|
176 |
|
177 |
+
//Test that the UnreadCount for the page is correct.
|
178 |
+
public function testGetUnreadCount() {
|
179 |
+
$expected_count = 0;
|
180 |
+
foreach ( $this->config['page_notices'] as $config_notice ) {
|
181 |
+
if ( $config_notice['page'] === $this->page->getSlug() ) {
|
182 |
+
$expected_count++;
|
183 |
+
}
|
184 |
+
}
|
185 |
+
$this->plugin->pluginData = $this->plugin_data;
|
186 |
+
$this->assertEquals( $expected_count, $this->page->getUnreadCount() );
|
187 |
}
|
188 |
+
//Test that the UnreadCountMarkup for the page is correct.
|
189 |
+
public function testGetUnreadCountMarkup() {
|
190 |
+
$expected_count = 0;
|
191 |
|
192 |
+
foreach ( $this->config['page_notices'] as $config_notice ) {
|
193 |
+
if ( $config_notice['page'] === $this->page->getSlug() ) {
|
194 |
+
$expected_count++;
|
195 |
+
}
|
196 |
+
}
|
|
|
|
|
|
|
197 |
|
198 |
+
$expected_markup = '<span class="bglib-unread-notice-count">' . $expected_count . '</span>';
|
199 |
+
|
200 |
+
$this->plugin->pluginData = $this->plugin_data;
|
201 |
+
$this->assertEquals( $expected_markup, $this->page->getUnreadMarkup() );
|
202 |
+
}
|
203 |
+
|
204 |
+
//Tests that all notices on page can be set to read
|
205 |
+
public function testSetAllNoticesRead() {
|
206 |
+
$expected_markup = '<span class="bglib-unread-notice-count hidden"></span>';
|
207 |
+
|
208 |
+
$this->plugin->pluginData = $this->plugin_data;
|
209 |
+
$this->page->setAllNoticesRead();
|
210 |
+
$this->assertEquals( $expected_markup, $this->page->getUnreadMarkup() );
|
211 |
+
$this->page->setAllNoticesRead( true );
|
212 |
+
}
|
213 |
+
//Tests trying to get a Notice that does not exist
|
214 |
+
public function testGetNonExistNotice() {
|
215 |
+
$expected_id = null;
|
216 |
+
$this->assertEquals( $expected_id, $this->page->getNoticeById( 'non_existant_notice' ) );
|
217 |
}
|
218 |
}
|
vendor/boldgrid/library/tests/Library/Plugin/test-plugin.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* BoldGrid Source Code
|
4 |
*
|
5 |
* @package Boldgrid_Plugintest
|
6 |
* @copyright BoldGrid.com
|
@@ -9,243 +9,252 @@
|
|
9 |
*/
|
10 |
|
11 |
use Boldgrid\Library\Library\Configs;
|
12 |
-
use Boldgrid\Library\Library\Plugin;
|
13 |
|
14 |
/**
|
15 |
* BoldGrid Library Library Plugin Plugin Test class.
|
16 |
*
|
17 |
-
* @since 2.
|
18 |
*/
|
19 |
class Test_BoldGrid_Library_Library_Plugin_Plugin extends WP_UnitTestCase {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
/**
|
21 |
* Setup.
|
22 |
*
|
23 |
-
* @since
|
24 |
*/
|
25 |
public function setUp() {
|
26 |
-
|
27 |
-
|
28 |
-
'boldgrid-backup-premium-features',
|
29 |
-
'boldgrid-backup-settings',
|
30 |
-
),
|
31 |
-
'page_notices' => array(
|
32 |
-
array(
|
33 |
-
'id' => 'bgbkup_database_encryption',
|
34 |
-
'page' => 'boldgrid-backup-premium-features',
|
35 |
-
'version' => '1.12.16',
|
36 |
-
),
|
37 |
-
array(
|
38 |
-
'id' => 'bgbkup_google_drive',
|
39 |
-
'page' => 'boldgrid-backup-premium-features',
|
40 |
-
'version' => '1.12.16',
|
41 |
-
),
|
42 |
-
array(
|
43 |
-
'id' => 'bgbkup_new_settings_feature',
|
44 |
-
'page' => 'boldgrid-backup-settings',
|
45 |
-
'version' => '1.12.16',
|
46 |
-
),
|
47 |
-
),
|
48 |
-
);
|
49 |
-
|
50 |
-
$this->sample_plugin = Plugin\Factory::create( 'boldgrid-backup/boldgrid-backup.php', $this->config );
|
51 |
|
52 |
-
$this->
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
$this->mock_plugin->method( 'getPluginData' )
|
57 |
-
->will( $this->returnValue( array( 'Version' => '0.0.0' ) ) );
|
58 |
-
$this->mock_plugin->method( 'getFirstVersion' )
|
59 |
-
->will( $this->returnValue( '1.0.0' ) );
|
60 |
}
|
61 |
|
62 |
/**
|
63 |
-
*
|
64 |
-
*
|
65 |
-
* @since 2.12.2
|
66 |
-
*/
|
67 |
-
public function test_firstVersionCompare() {
|
68 |
-
$version_compare = $this->mock_plugin->firstVersionCompare( '1.1.0', '<=' );
|
69 |
-
$this->assertTrue( $version_compare );
|
70 |
-
}
|
71 |
-
|
72 |
-
/**
|
73 |
-
* Test firstVersionCompare.
|
74 |
*
|
75 |
-
* @since 2.
|
76 |
*/
|
77 |
-
public function
|
78 |
-
$
|
79 |
-
$expected_base_url = 'http://example.org/wp-admin/plugins.php?action=activate&plugin=boldgrid-backup%2Fboldgrid-backup.php';
|
80 |
-
$is_correct = strpos( $plugin->getActivateUrl(), $expected_base_url );
|
81 |
|
82 |
-
$
|
|
|
83 |
}
|
84 |
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
}
|
96 |
|
97 |
/**
|
98 |
-
* Test
|
99 |
*
|
100 |
-
* @since 2.
|
101 |
*/
|
102 |
-
public function
|
103 |
-
$
|
104 |
-
$child_plugins = $plugin->getChildPlugins();
|
105 |
|
106 |
-
$this->
|
107 |
-
}
|
108 |
-
|
109 |
-
/**
|
110 |
-
* Test getData.
|
111 |
-
*
|
112 |
-
* @since 2.12.2
|
113 |
-
*/
|
114 |
-
public function test_getData() {
|
115 |
-
$plugin = $this->mock_plugin;
|
116 |
-
$version = $plugin->getData( 'Version' );
|
117 |
|
118 |
-
$this->assertEquals(
|
1 |
<?php
|
2 |
/**
|
3 |
+
* BoldGrid Source Code
|
4 |
*
|
5 |
* @package Boldgrid_Plugintest
|
6 |
* @copyright BoldGrid.com
|
9 |
*/
|
10 |
|
11 |
use Boldgrid\Library\Library\Configs;
|
|
|
12 |
|
13 |
/**
|
14 |
* BoldGrid Library Library Plugin Plugin Test class.
|
15 |
*
|
16 |
+
* @since 2.7.7
|
17 |
*/
|
18 |
class Test_BoldGrid_Library_Library_Plugin_Plugin extends WP_UnitTestCase {
|
19 |
+
|
20 |
+
private
|
21 |
+
$backup,
|
22 |
+
$backup_premium,
|
23 |
+
$key = 'CONNECT-KEY',
|
24 |
+
$config,
|
25 |
+
$plugin_data = [
|
26 |
+
'Name' => 'Total Upkeep',
|
27 |
+
'PluginURI' => 'https://www.boldgrid.com/boldgrid-backup/',
|
28 |
+
'Version' => '1.12.16',
|
29 |
+
'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. By BoldGrid.',
|
30 |
+
'Author' => 'BoldGrid',
|
31 |
+
'AuthorURI' => 'https://www.boldgrid.com/',
|
32 |
+
'TextDomain' => 'boldgrid-backup',
|
33 |
+
'DomainPath' => '/languages',
|
34 |
+
];
|
35 |
+
|
36 |
/**
|
37 |
* Setup.
|
38 |
*
|
39 |
+
* @since 1.7.7
|
40 |
*/
|
41 |
public function setUp() {
|
42 |
+
// Setup our configs.
|
43 |
+
update_site_option( 'boldgrid_api_key', $this->key );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
+
$this->resetConfigs();
|
46 |
+
$this->config = $this->getPluginConfig();
|
47 |
+
$this->backup = new Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup', $this->config, $this->plugin_data );
|
48 |
+
$this->backup_premium = new Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup-premium' );
|
|
|
|
|
|
|
|
|
49 |
}
|
50 |
|
51 |
/**
|
52 |
+
* Reset library configs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
*
|
54 |
+
* @since 2.11.0
|
55 |
*/
|
56 |
+
public function resetConfigs() {
|
57 |
+
$configsFile = dirname( dirname( dirname( __DIR__ ) ) ) . '/src/library.global.php';
|
|
|
|
|
58 |
|
59 |
+
$defaults = include $configsFile;
|
60 |
+
Configs::set( $defaults );
|
61 |
}
|
62 |
|
63 |
+
public function getPluginConfig( array $add_pages = [], array $add_notices = [] ) {
|
64 |
+
$config = [
|
65 |
+
'pages' => [
|
66 |
+
'boldgrid-backup-premium-features',
|
67 |
+
],
|
68 |
+
'page_notices' => [
|
69 |
+
[
|
70 |
+
'id' => 'bgbkup_database_encryption',
|
71 |
+
'page' => 'boldgrid-backup-premium-features',
|
72 |
+
'version' => '1.12.16',
|
73 |
+
],
|
74 |
+
],
|
75 |
+
];
|
76 |
+
foreach ( $add_pages as $page ) {
|
77 |
+
$config['pages'][] = $page;
|
78 |
+
}
|
79 |
+
foreach ( $add_notices as $notice ) {
|
80 |
+
$config['page_notices'][] = $notice;
|
81 |
+
}
|
82 |
+
return $config;
|
83 |
}
|
84 |
|
85 |
/**
|
86 |
+
* Test getDownloadUrl.
|
87 |
*
|
88 |
+
* @since 2.7.7
|
89 |
*/
|
90 |
+
public function testGetDownloadUrl() {
|
91 |
+
$this->resetConfigs();
|
|
|
92 |
|
93 |
+
$this->assertEquals( $this->backup->getDownloadUrl(), 'https://api.boldgrid.com/v1/plugins/boldgrid-backup/download?key=' . $this->key );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
|
|