Version Description
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | 1.14.0-rc.2 |
Comparing to | |
See all releases |
Code changes from version 1.14.0-rc.1 to 1.14.0-rc.2
- admin/card/class-timely-auto-updates.php +1 -1
- admin/class-boldgrid-backup-admin-archive-details.php +1 -0
- admin/class-boldgrid-backup-admin-auto-updates.php +4 -2
- admin/class-boldgrid-backup-admin-core.php +0 -5
- admin/class-boldgrid-backup-admin-notice.php +2 -1
- admin/class-boldgrid-backup-admin-premium-features.php +1 -0
- admin/class-boldgrid-backup-admin-settings.php +1 -0
- admin/class-boldgrid-backup-admin-support.php +1 -0
- admin/class-boldgrid-backup-admin-tools.php +1 -0
- admin/class-boldgrid-backup-admin-upload.php +23 -0
- admin/css/boldgrid-backup-admin.css +38 -0
- admin/js/boldgrid-backup-admin-folder-exclude.js +82 -17
- admin/js/boldgrid-backup-admin-home.js +12 -2
- admin/js/boldgrid-backup-admin-settings-autoupdate.js +3 -1
- admin/js/boldgrid-backup-admin-table-includes.js +46 -9
- admin/partials/archives/add-new.php +16 -6
- admin/partials/boldgrid-backup-admin-archive-details.php +11 -2
- admin/partials/boldgrid-backup-admin-dashboard.php +2 -0
- admin/partials/boldgrid-backup-admin-premium.php +2 -0
- admin/partials/boldgrid-backup-admin-settings.php +2 -0
- admin/partials/boldgrid-backup-admin-support.php +2 -0
- admin/partials/boldgrid-backup-admin-test.php +2 -0
- admin/partials/boldgrid-backup-admin-tools.php +5 -1
- admin/partials/boldgrid-backup-admin-transfers.php +6 -1
- admin/partials/settings/auto-update.php +5 -2
- coverage.xml +896 -824
- includes/class-boldgrid-backup.php +2 -0
- vendor/autoload.php +1 -1
- vendor/boldgrid/library/src/Library/Plugin/Factory.php +7 -4
- vendor/boldgrid/library/src/Library/Plugin/Plugin.php +12 -1
- vendor/boldgrid/library/src/Library/Plugin/UpdateData.php +84 -50
- vendor/boldgrid/library/src/Library/Theme/UpdateData.php +111 -17
- vendor/boldgrid/library/tests/Library/Plugin/test-update-data.php +0 -65
- vendor/boldgrid/library/tests/Library/Theme/test-update-data.php +6 -10
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.json +4 -18
admin/card/class-timely-auto-updates.php
CHANGED
@@ -38,7 +38,7 @@ class Timely_Auto_Updates extends \Boldgrid\Library\Library\Ui\Card {
|
|
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 . '">' .
|
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 . '">' .
|
admin/class-boldgrid-backup-admin-archive-details.php
CHANGED
@@ -133,6 +133,7 @@ class Boldgrid_Backup_Admin_Archive_Details {
|
|
133 |
|
134 |
$this->enqueue_scripts();
|
135 |
$this->core->archive_actions->enqueue_scripts();
|
|
|
136 |
|
137 |
$archive_found = false;
|
138 |
|
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 |
|
admin/class-boldgrid-backup-admin-auto-updates.php
CHANGED
@@ -91,8 +91,10 @@ class Boldgrid_Backup_Admin_Auto_Updates {
|
|
91 |
* @return bool
|
92 |
*/
|
93 |
public function maybe_update_plugin( $slug ) {
|
94 |
-
$days_to_wait
|
95 |
-
$plugin
|
|
|
|
|
96 |
$days_since_release = $plugin->updateData->days; //phpcs:ignore WordPress.NamingConventions.ValidVariableName
|
97 |
$plugin_update_enabled = array_key_exists( $plugin->getFile(), $this->settings['plugins'] ) ? (bool) $this->settings['plugins'][ $plugin->getFile() ] : (bool) $this->settings['plugins']['default'];
|
98 |
$is_update_time = ( $days_since_release >= $days_to_wait );
|
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 );
|
admin/class-boldgrid-backup-admin-core.php
CHANGED
@@ -2454,11 +2454,6 @@ class Boldgrid_Backup_Admin_Core {
|
|
2454 |
$this->folder_exclusion->enqueue_scripts();
|
2455 |
$this->db_omit->enqueue_scripts();
|
2456 |
|
2457 |
-
// If uploading an archive file.
|
2458 |
-
if ( ! empty( $_FILES['file'] ) ) {
|
2459 |
-
$this->upload->upload_archive_file();
|
2460 |
-
}
|
2461 |
-
|
2462 |
// Get archive list.
|
2463 |
$archives = $this->get_archive_list();
|
2464 |
|
2454 |
$this->folder_exclusion->enqueue_scripts();
|
2455 |
$this->db_omit->enqueue_scripts();
|
2456 |
|
|
|
|
|
|
|
|
|
|
|
2457 |
// Get archive list.
|
2458 |
$archives = $this->get_archive_list();
|
2459 |
|
admin/class-boldgrid-backup-admin-notice.php
CHANGED
@@ -249,7 +249,8 @@ class Boldgrid_Backup_Admin_Notice {
|
|
249 |
$update_msg = esc_html__( 'disabled for all', 'boldgrid-backup' );
|
250 |
break;
|
251 |
case 1:
|
252 |
-
$
|
|
|
253 |
// translators: 1: Auto Update Type.
|
254 |
esc_html__( 'enabled for %s', 'boldgrid-backup' ),
|
255 |
$auto_update_array[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]
|
admin/class-boldgrid-backup-admin-premium-features.php
CHANGED
@@ -101,6 +101,7 @@ 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 |
wp_enqueue_style( 'bglib-ui-css' );
|
105 |
$settings = $this->core->settings->get_settings();
|
106 |
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
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' );
|
admin/class-boldgrid-backup-admin-settings.php
CHANGED
@@ -790,6 +790,7 @@ class Boldgrid_Backup_Admin_Settings {
|
|
790 |
* @see Boldgrid_Backup_Admin_Config::is_premium_active
|
791 |
*/
|
792 |
public function page_backup_settings() {
|
|
|
793 |
$is_premium = $this->core->config->get_is_premium();
|
794 |
$is_premium_installed = $this->core->config->is_premium_installed;
|
795 |
$is_premium_active = $this->core->config->is_premium_active;
|
790 |
* @see Boldgrid_Backup_Admin_Config::is_premium_active
|
791 |
*/
|
792 |
public function page_backup_settings() {
|
793 |
+
|
794 |
$is_premium = $this->core->config->get_is_premium();
|
795 |
$is_premium_installed = $this->core->config->is_premium_installed;
|
796 |
$is_premium_active = $this->core->config->is_premium_active;
|
admin/class-boldgrid-backup-admin-support.php
CHANGED
@@ -174,6 +174,7 @@ class Boldgrid_Backup_Admin_Support {
|
|
174 |
* @since 1.10.1
|
175 |
*/
|
176 |
public function page() {
|
|
|
177 |
wp_enqueue_style( 'bglib-ui-css' );
|
178 |
$settings = $this->core->settings->get_settings();
|
179 |
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
174 |
* @since 1.10.1
|
175 |
*/
|
176 |
public function page() {
|
177 |
+
|
178 |
wp_enqueue_style( 'bglib-ui-css' );
|
179 |
$settings = $this->core->settings->get_settings();
|
180 |
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
admin/class-boldgrid-backup-admin-tools.php
CHANGED
@@ -59,6 +59,7 @@ class Boldgrid_Backup_Admin_Tools {
|
|
59 |
* @since 1.6.0
|
60 |
*/
|
61 |
public function page() {
|
|
|
62 |
$settings = $this->core->settings->get_settings();
|
63 |
wp_enqueue_style( 'boldgrid-backup-admin-new-thickbox-style' );
|
64 |
|
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 |
|
admin/class-boldgrid-backup-admin-upload.php
CHANGED
@@ -141,6 +141,17 @@ class Boldgrid_Backup_Admin_Upload {
|
|
141 |
return false;
|
142 |
}
|
143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
return true;
|
145 |
}
|
146 |
|
@@ -499,4 +510,16 @@ class Boldgrid_Backup_Admin_Upload {
|
|
499 |
]
|
500 |
);
|
501 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
502 |
}
|
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 |
]
|
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 |
}
|
admin/css/boldgrid-backup-admin.css
CHANGED
@@ -377,3 +377,41 @@ p > .bgbkup-remote-logo {
|
|
377 |
.bg-auto-update.dashicons.dashicons-yes {
|
378 |
color: #79ba49;
|
379 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
|
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 = $( '#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,9 +160,11 @@ BoldGrid.FolderExclude = function( $ ) {
|
|
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,31 +353,48 @@ BoldGrid.FolderExclude = function( $ ) {
|
|
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 = $
|
357 |
-
|
|
|
|
|
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
|
373 |
-
|
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,9 +404,29 @@ BoldGrid.FolderExclude = function( $ ) {
|
|
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,13 +439,39 @@ BoldGrid.FolderExclude = function( $ ) {
|
|
400 |
$( '#configure_folder_exclude' ).on( 'click', self.onClickConfigure );
|
401 |
|
402 |
self.toggleStatus();
|
403 |
-
|
|
|
|
|
404 |
|
405 |
-
$type.on( 'change',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
|
407 |
-
$inputInclude.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
408 |
|
409 |
-
$inputExclude.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
} );
|
411 |
};
|
412 |
|
19 |
exclusionList = null,
|
20 |
filteredList = [],
|
21 |
lang = BoldGridBackupAdminFolderExclude,
|
22 |
+
$container = $( 'div#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 |
+
* @param type The type element triggering the 'onChange' listener.
|
165 |
*/
|
166 |
+
self.onChangeType = function( type ) {
|
167 |
+
self.toggleConfig( type );
|
168 |
};
|
169 |
|
170 |
/**
|
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( typeInput ) {
|
360 |
+
var type = $( typeInput )
|
361 |
+
.filter( ':checked' )
|
362 |
+
.val(),
|
363 |
+
$miscInfo = $( 'div#folder_misc_info' );
|
364 |
|
365 |
if ( 'full' === type ) {
|
366 |
$trs.hide();
|
367 |
$miscInfo.hide();
|
368 |
+
} else if ( 'custom' === type ) {
|
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( eventTarget ) {
|
382 |
+
var parentContainer,
|
383 |
+
usingDefaults,
|
|
|
|
|
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 |
}
|
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 |
+
$( 'button#exclude_folders_button' ).on( 'click', self.onClickPreview );
|
430 |
|
431 |
$( 'body' )
|
432 |
.on( 'click', '#exclude_folders_preview .pagination-links a', self.onClickPagination )
|
439 |
$( '#configure_folder_exclude' ).on( 'click', self.onClickConfigure );
|
440 |
|
441 |
self.toggleStatus();
|
442 |
+
$type.each( function() {
|
443 |
+
self.toggleConfig( this );
|
444 |
+
} );
|
445 |
|
446 |
+
$type.on( 'change', function() {
|
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.each( function() {
|
457 |
+
$( this )
|
458 |
+
.on( 'input', function() {
|
459 |
+
self.toggleStatus( this );
|
460 |
+
} )
|
461 |
+
.on( 'focusin', function() {
|
462 |
+
self.bounceHelp( this );
|
463 |
+
} );
|
464 |
+
} );
|
465 |
|
466 |
+
$inputExclude.each( function() {
|
467 |
+
$( this )
|
468 |
+
.on( 'input', function() {
|
469 |
+
self.toggleStatus( this );
|
470 |
+
} )
|
471 |
+
.on( 'focusin', function() {
|
472 |
+
self.bounceHelp( this );
|
473 |
+
} );
|
474 |
+
} );
|
475 |
} );
|
476 |
};
|
477 |
|
admin/js/boldgrid-backup-admin-home.js
CHANGED
@@ -92,9 +92,11 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
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,6 +106,7 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
104 |
$fileSizeWarning.slideUp();
|
105 |
$fileTooLarge.slideUp();
|
106 |
$badExtension.slideUp();
|
|
|
107 |
$submit.attr( 'disabled', true );
|
108 |
return;
|
109 |
}
|
@@ -114,6 +117,7 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
114 |
|
115 |
isTooBig = 0 > maxSize - size;
|
116 |
isBadExtension = 'zip' !== extension;
|
|
|
117 |
|
118 |
if ( isBadExtension ) {
|
119 |
$badExtension.slideDown();
|
@@ -121,6 +125,12 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
121 |
$badExtension.slideUp();
|
122 |
}
|
123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
if ( isTooBig ) {
|
125 |
$fileSizeWarning.slideDown();
|
126 |
$fileTooLarge.slideDown();
|
@@ -129,7 +139,7 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
|
|
129 |
$fileTooLarge.slideUp();
|
130 |
}
|
131 |
|
132 |
-
if ( isTooBig || isBadExtension ) {
|
133 |
$submit.attr( 'disabled', true );
|
134 |
} else {
|
135 |
$submit.attr( 'disabled', false );
|
92 |
var $badExtension = $( '#bad_extension' ),
|
93 |
$fileSizeWarning = $( '[data-id="upload-backup"]:not(span)' ),
|
94 |
$fileTooLarge = $( '#file_too_large' ),
|
95 |
+
$submit = $( $( this ).closest( 'input:submit' ) ),
|
96 |
+
$badFilename = $( '#bad_filename' ),
|
97 |
extension,
|
98 |
isBadExtension,
|
99 |
+
isBadFilename,
|
100 |
isTooBig,
|
101 |
maxSize = parseInt( $( '[name="MAX_FILE_SIZE"]' ).val() ),
|
102 |
name,
|
106 |
$fileSizeWarning.slideUp();
|
107 |
$fileTooLarge.slideUp();
|
108 |
$badExtension.slideUp();
|
109 |
+
$badFilename.slideUp();
|
110 |
$submit.attr( 'disabled', true );
|
111 |
return;
|
112 |
}
|
117 |
|
118 |
isTooBig = 0 > maxSize - size;
|
119 |
isBadExtension = 'zip' !== extension;
|
120 |
+
isBadFilename = ! name.match( /boldgrid-backup-.*-\d{8}-\d{6}/ );
|
121 |
|
122 |
if ( isBadExtension ) {
|
123 |
$badExtension.slideDown();
|
125 |
$badExtension.slideUp();
|
126 |
}
|
127 |
|
128 |
+
if ( isBadFilename ) {
|
129 |
+
$badFilename.slideDown();
|
130 |
+
} else {
|
131 |
+
$badFilename.slideUp();
|
132 |
+
}
|
133 |
+
|
134 |
if ( isTooBig ) {
|
135 |
$fileSizeWarning.slideDown();
|
136 |
$fileTooLarge.slideDown();
|
139 |
$fileTooLarge.slideUp();
|
140 |
}
|
141 |
|
142 |
+
if ( isTooBig || isBadExtension || isBadFilename ) {
|
143 |
$submit.attr( 'disabled', true );
|
144 |
} else {
|
145 |
$submit.attr( 'disabled', false );
|
admin/js/boldgrid-backup-admin-settings-autoupdate.js
CHANGED
@@ -53,7 +53,9 @@ BOLDGRID.SETTINGS = BOLDGRID.SETTINGS || {};
|
|
53 |
$bgBox
|
54 |
.find( '.table-help td p' )
|
55 |
.attr( 'style', 'height: 0em; opacity: 0%; position: relative; z-index:-1' );
|
56 |
-
$bgBox
|
|
|
|
|
57 |
$bgBox.find( '.help-icon' ).css( 'cursor', 'pointer' );
|
58 |
|
59 |
$bgBox.find( '.bglib-collapsible-control' ).on( 'click', function() {
|
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() {
|
admin/js/boldgrid-backup-admin-table-includes.js
CHANGED
@@ -16,7 +16,7 @@ BoldGrid.TableInclude = function( $ ) {
|
|
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,9 +33,11 @@ BoldGrid.TableInclude = function( $ ) {
|
|
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,13 +57,17 @@ BoldGrid.TableInclude = function( $ ) {
|
|
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 = $
|
|
|
|
|
61 |
|
62 |
if ( 'full' === type ) {
|
63 |
$configContainer.hide();
|
64 |
-
} else {
|
65 |
$configContainer.show();
|
66 |
}
|
67 |
};
|
@@ -79,6 +85,27 @@ BoldGrid.TableInclude = function( $ ) {
|
|
79 |
return false;
|
80 |
};
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
/**
|
83 |
* @summary Toogle the status that tells the user if they're backing up all tables.
|
84 |
*
|
@@ -101,9 +128,19 @@ BoldGrid.TableInclude = function( $ ) {
|
|
101 |
$buttonNone.on( 'click', self.toggleNone );
|
102 |
|
103 |
self.toggleStatus();
|
104 |
-
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
|
108 |
$includeTables.on( 'change', self.toggleStatus );
|
109 |
} );
|
16 |
'use strict';
|
17 |
|
18 |
var self = this,
|
19 |
+
$container = $( 'div#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 |
+
* @param typeInput The type input element clicked in the toggle.
|
38 |
*/
|
39 |
+
self.onChangeType = function( typeInput ) {
|
40 |
+
self.toggleConfig( typeInput );
|
41 |
};
|
42 |
|
43 |
/**
|
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( typeInput ) {
|
64 |
+
var type = $( typeInput )
|
65 |
+
.filter( ':checked' )
|
66 |
+
.val();
|
67 |
|
68 |
if ( 'full' === type ) {
|
69 |
$configContainer.hide();
|
70 |
+
} else if ( 'custom' === type ) {
|
71 |
$configContainer.show();
|
72 |
}
|
73 |
};
|
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 |
$buttonNone.on( 'click', self.toggleNone );
|
129 |
|
130 |
self.toggleStatus();
|
131 |
+
$type.each( function() {
|
132 |
+
self.toggleConfig( this );
|
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 |
} );
|
admin/partials/archives/add-new.php
CHANGED
@@ -40,6 +40,9 @@ $upload_info = sprintf(
|
|
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 |
__(
|
@@ -99,13 +102,20 @@ printf(
|
|
99 |
<span class='spinner'></span>
|
100 |
</form>
|
101 |
|
102 |
-
<
|
103 |
-
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
|
106 |
-
|
107 |
-
|
108 |
-
|
|
|
109 |
</div>
|
110 |
|
111 |
<p class="install-help">
|
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 |
__(
|
102 |
<span class='spinner'></span>
|
103 |
</form>
|
104 |
|
105 |
+
<div class="error_messages">
|
106 |
+
|
107 |
+
<p id="file_too_large" class="hidden">
|
108 |
+
<span class="dashicons dashicons-warning yellow"></span> <?php esc_html_e( 'The file you selected is too large.', 'boldgrid-bacup' ); ?>
|
109 |
+
</p>
|
110 |
+
|
111 |
+
<p id="bad_filename" class="hidden">
|
112 |
+
<span class="dashicons dashicons-warning yellow"></span> <?php esc_html_e( 'Invalid file name. Please choose a valid backup file.', 'boldgrid-bacup' ); ?>
|
113 |
+
</p>
|
114 |
|
115 |
+
<p id="bad_extension" class="hidden">
|
116 |
+
<span class="dashicons dashicons-warning yellow"></span> <?php esc_html_e( 'Invalid file format. Please choose a .zip file.', 'boldgrid-bacup' ); ?>
|
117 |
+
</p>
|
118 |
+
</div>
|
119 |
</div>
|
120 |
|
121 |
<p class="install-help">
|
admin/partials/boldgrid-backup-admin-archive-details.php
CHANGED
@@ -384,11 +384,17 @@ if ( ! $this->core->archive->is_stored_locally() ) {
|
|
384 |
$remote_meta_box = '';
|
385 |
}
|
386 |
}
|
387 |
-
|
388 |
-
$page = sprintf(
|
389 |
'
|
390 |
<input type="hidden" id="filename" value="%1$s" />
|
391 |
%2$s
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
392 |
<div id="poststuff">
|
393 |
<div id="post-body" class="metabox-holder columns-2">
|
394 |
<div id="post-body-content" style="position: relative">
|
@@ -411,5 +417,8 @@ $page = sprintf(
|
|
411 |
/* 4 */ $main_meta_box,
|
412 |
/* 5 */ $remote_meta_box
|
413 |
);
|
|
|
|
|
|
|
414 |
|
415 |
echo $page; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
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 |
<div id="poststuff">
|
399 |
<div id="post-body" class="metabox-holder columns-2">
|
400 |
<div id="post-body-content" style="position: relative">
|
417 |
/* 4 */ $main_meta_box,
|
418 |
/* 5 */ $remote_meta_box
|
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
|
admin/partials/boldgrid-backup-admin-dashboard.php
CHANGED
@@ -24,4 +24,6 @@ $dashboard->cards = $this->get_cards();
|
|
24 |
|
25 |
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
26 |
|
|
|
|
|
27 |
$dashboard->printCards();
|
24 |
|
25 |
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
26 |
|
27 |
+
require BOLDGRID_BACKUP_PATH . '/admin/partials/archives/add-new.php';
|
28 |
+
|
29 |
$dashboard->printCards();
|
admin/partials/boldgrid-backup-admin-premium.php
CHANGED
@@ -44,6 +44,8 @@ $premium_box = $this->core->config->is_premium_done ? '' : sprintf(
|
|
44 |
|
45 |
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
46 |
|
|
|
|
|
47 |
echo $premium_box; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
48 |
|
49 |
$dashboard->printCards();
|
44 |
|
45 |
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
46 |
|
47 |
+
require BOLDGRID_BACKUP_PATH . '/admin/partials/archives/add-new.php';
|
48 |
+
|
49 |
echo $premium_box; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
50 |
|
51 |
$dashboard->printCards();
|
admin/partials/boldgrid-backup-admin-settings.php
CHANGED
@@ -129,6 +129,8 @@ wp_nonce_field( 'boldgrid_backup_settings' );
|
|
129 |
|
130 |
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
131 |
|
|
|
|
|
132 |
/*
|
133 |
* Print this text:
|
134 |
*
|
129 |
|
130 |
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
131 |
|
132 |
+
require BOLDGRID_BACKUP_PATH . '/admin/partials/archives/add-new.php';
|
133 |
+
|
134 |
/*
|
135 |
* Print this text:
|
136 |
*
|
admin/partials/boldgrid-backup-admin-support.php
CHANGED
@@ -95,6 +95,8 @@ if ( ! empty( $reseller ) ) {
|
|
95 |
}
|
96 |
|
97 |
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
|
|
|
|
98 |
?>
|
99 |
|
100 |
<div class="bgbkup-support-page">
|
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="bgbkup-support-page">
|
admin/partials/boldgrid-backup-admin-test.php
CHANGED
@@ -448,6 +448,8 @@ $table .= '</table>';
|
|
448 |
$nav = include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-nav.php';
|
449 |
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
450 |
|
|
|
|
|
451 |
echo $fail_tips; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
452 |
|
453 |
echo $table; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
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
|
admin/partials/boldgrid-backup-admin-tools.php
CHANGED
@@ -56,4 +56,8 @@ $sections = apply_filters( 'boldgrid_backup_tools_sections', $sections );
|
|
56 |
*/
|
57 |
$col_container = apply_filters( 'Boldgrid\Library\Ui\render_col_container', $sections );
|
58 |
|
59 |
-
echo $nav
|
|
|
|
|
|
|
|
56 |
*/
|
57 |
$col_container = apply_filters( 'Boldgrid\Library\Ui\render_col_container', $sections );
|
58 |
|
59 |
+
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
60 |
+
|
61 |
+
require BOLDGRID_BACKUP_PATH . '/admin/partials/archives/add-new.php';
|
62 |
+
|
63 |
+
echo $col_container; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
admin/partials/boldgrid-backup-admin-transfers.php
CHANGED
@@ -67,5 +67,10 @@ $col_container = apply_filters( 'Boldgrid\Library\Ui\render_col_container', $sec
|
|
67 |
?>
|
68 |
|
69 |
<div class="bgbkup-transfers-page">
|
70 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
71 |
</div>
|
67 |
?>
|
68 |
|
69 |
<div class="bgbkup-transfers-page">
|
70 |
+
<?php
|
71 |
+
echo $nav; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
72 |
+
require BOLDGRID_BACKUP_PATH . '/admin/partials/archives/add-new.php';
|
73 |
+
echo $col_container; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
74 |
+
|
75 |
+
?>
|
76 |
</div>
|
admin/partials/settings/auto-update.php
CHANGED
@@ -268,9 +268,12 @@ function get_plugins_update_markup( $auto_update_settings, $translations ) {
|
|
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
|
272 |
( ! isset( $auto_update_settings['plugins'][ $slug ] ) && $plugins_default );
|
273 |
-
$plugin
|
|
|
|
|
|
|
274 |
$third_party = $plugin->updateData->thirdParty; //phpcs:ignore WordPress.NamingConventions.ValidVariableName
|
275 |
|
276 |
if ( true === $third_party ) {
|
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 ) {
|
coverage.xml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<coverage generated="
|
3 |
-
<project timestamp="
|
4 |
<package name="Boldgrid\Backup\Admin\Card">
|
5 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-amazon-s3.php">
|
6 |
<class name="Amazon_S3" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Amazon">
|
@@ -897,7 +897,7 @@
|
|
897 |
</file>
|
898 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-details.php">
|
899 |
<class name="Boldgrid_Backup_Admin_Archive_Details" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
900 |
-
<metrics complexity="20" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="
|
901 |
</class>
|
902 |
<line num="48" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
903 |
<line num="49" type="stmt" count="29"/>
|
@@ -949,62 +949,63 @@
|
|
949 |
<line num="132" type="stmt" count="0"/>
|
950 |
<line num="134" type="stmt" count="0"/>
|
951 |
<line num="135" type="stmt" count="0"/>
|
952 |
-
<line num="
|
953 |
-
<line num="
|
954 |
<line num="140" type="stmt" count="0"/>
|
955 |
<line num="141" type="stmt" count="0"/>
|
956 |
<line num="142" type="stmt" count="0"/>
|
957 |
-
<line num="
|
958 |
<line num="147" type="stmt" count="0"/>
|
959 |
<line num="148" type="stmt" count="0"/>
|
960 |
<line num="149" type="stmt" count="0"/>
|
961 |
<line num="150" type="stmt" count="0"/>
|
962 |
<line num="151" type="stmt" count="0"/>
|
963 |
<line num="152" type="stmt" count="0"/>
|
964 |
-
<line num="
|
965 |
<line num="155" type="stmt" count="0"/>
|
966 |
<line num="156" type="stmt" count="0"/>
|
967 |
-
<line num="
|
968 |
<line num="161" type="stmt" count="0"/>
|
969 |
<line num="162" type="stmt" count="0"/>
|
970 |
-
<line num="
|
971 |
<line num="165" type="stmt" count="0"/>
|
972 |
<line num="166" type="stmt" count="0"/>
|
973 |
-
<line num="
|
974 |
<line num="169" type="stmt" count="0"/>
|
975 |
<line num="170" type="stmt" count="0"/>
|
976 |
-
<line num="
|
977 |
-
<line num="
|
978 |
<line num="180" type="stmt" count="0"/>
|
979 |
-
<line num="
|
980 |
-
<line num="
|
981 |
<line num="188" type="stmt" count="0"/>
|
982 |
<line num="189" type="stmt" count="0"/>
|
983 |
-
<line num="
|
984 |
<line num="194" type="stmt" count="0"/>
|
985 |
-
<line num="
|
986 |
-
<line num="209" type="
|
987 |
-
<line num="
|
988 |
-
<line num="218" type="
|
989 |
<line num="219" type="stmt" count="0"/>
|
990 |
<line num="220" type="stmt" count="0"/>
|
991 |
-
<line num="
|
992 |
<line num="223" type="stmt" count="0"/>
|
993 |
<line num="224" type="stmt" count="0"/>
|
994 |
-
<line num="
|
995 |
<line num="227" type="stmt" count="0"/>
|
996 |
<line num="228" type="stmt" count="0"/>
|
997 |
-
<line num="
|
998 |
-
<line num="
|
999 |
<line num="233" type="stmt" count="0"/>
|
1000 |
<line num="234" type="stmt" count="0"/>
|
1001 |
-
<line num="
|
1002 |
-
<line num="
|
1003 |
<line num="240" type="stmt" count="0"/>
|
1004 |
<line num="241" type="stmt" count="0"/>
|
1005 |
-
<line num="
|
1006 |
<line num="244" type="stmt" count="0"/>
|
1007 |
-
<
|
|
|
1008 |
</file>
|
1009 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-fail.php">
|
1010 |
<class name="Boldgrid_Backup_Admin_Archive_Fail" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
@@ -2031,7 +2032,7 @@
|
|
2031 |
</file>
|
2032 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-auto-updates.php">
|
2033 |
<class name="Boldgrid_Backup_Admin_Auto_Updates" namespace="global" fullPackage="Boldgrid.Backup.Admin.Auto">
|
2034 |
-
<metrics complexity="26" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="
|
2035 |
</class>
|
2036 |
<line num="60" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="36"/>
|
2037 |
<line num="62" type="stmt" count="36"/>
|
@@ -2052,61 +2053,62 @@
|
|
2052 |
<line num="94" type="stmt" count="1"/>
|
2053 |
<line num="95" type="stmt" count="1"/>
|
2054 |
<line num="96" type="stmt" count="1"/>
|
2055 |
-
<line num="97" type="stmt" count="1"/>
|
2056 |
<line num="98" type="stmt" count="1"/>
|
2057 |
<line num="99" type="stmt" count="1"/>
|
2058 |
<line num="100" type="stmt" count="1"/>
|
|
|
2059 |
<line num="102" type="stmt" count="1"/>
|
2060 |
-
<line num="
|
2061 |
-
<line num="
|
2062 |
-
<line num="116" type="stmt" count="1"/>
|
2063 |
<line num="117" type="stmt" count="1"/>
|
2064 |
<line num="118" type="stmt" count="1"/>
|
2065 |
<line num="119" type="stmt" count="1"/>
|
|
|
2066 |
<line num="121" type="stmt" count="1"/>
|
2067 |
-
<line num="
|
2068 |
<line num="124" type="stmt" count="1"/>
|
2069 |
-
<line num="
|
2070 |
-
<line num="141" type="
|
2071 |
-
<line num="142" type="stmt" count="1"/>
|
2072 |
<line num="143" type="stmt" count="1"/>
|
2073 |
<line num="144" type="stmt" count="1"/>
|
2074 |
<line num="145" type="stmt" count="1"/>
|
2075 |
<line num="146" type="stmt" count="1"/>
|
2076 |
<line num="147" type="stmt" count="1"/>
|
|
|
2077 |
<line num="149" type="stmt" count="1"/>
|
2078 |
-
<line num="
|
2079 |
-
<line num="
|
2080 |
-
<line num="169" type="
|
2081 |
-
<line num="170" type="stmt" count="1"/>
|
2082 |
<line num="171" type="stmt" count="1"/>
|
2083 |
<line num="172" type="stmt" count="1"/>
|
2084 |
<line num="173" type="stmt" count="1"/>
|
2085 |
<line num="174" type="stmt" count="1"/>
|
2086 |
<line num="175" type="stmt" count="1"/>
|
|
|
2087 |
<line num="177" type="stmt" count="1"/>
|
2088 |
-
<line num="
|
2089 |
-
<line num="
|
2090 |
-
<line num="193" type="
|
2091 |
-
<line num="194" type="stmt" count="1"/>
|
2092 |
<line num="195" type="stmt" count="1"/>
|
2093 |
<line num="196" type="stmt" count="1"/>
|
2094 |
<line num="197" type="stmt" count="1"/>
|
2095 |
<line num="198" type="stmt" count="1"/>
|
|
|
2096 |
<line num="200" type="stmt" count="1"/>
|
2097 |
-
<line num="201" type="stmt" count="1"/>
|
2098 |
<line num="202" type="stmt" count="1"/>
|
2099 |
<line num="203" type="stmt" count="1"/>
|
|
|
2100 |
<line num="205" type="stmt" count="1"/>
|
2101 |
-
<line num="206" type="stmt" count="1"/>
|
2102 |
<line num="207" type="stmt" count="1"/>
|
2103 |
<line num="208" type="stmt" count="1"/>
|
|
|
2104 |
<line num="210" type="stmt" count="1"/>
|
2105 |
-
<line num="211" type="stmt" count="1"/>
|
2106 |
<line num="212" type="stmt" count="1"/>
|
2107 |
<line num="213" type="stmt" count="1"/>
|
2108 |
<line num="214" type="stmt" count="1"/>
|
2109 |
-
<
|
|
|
|
|
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">
|
@@ -2208,7 +2210,7 @@
|
|
2208 |
<line num="269" type="stmt" count="7"/>
|
2209 |
<line num="272" type="stmt" count="7"/>
|
2210 |
<line num="273" type="stmt" count="7"/>
|
2211 |
-
<line num="274" type="stmt" count="
|
2212 |
<line num="277" type="stmt" count="7"/>
|
2213 |
<line num="279" type="stmt" count="7"/>
|
2214 |
<line num="280" type="stmt" count="7"/>
|
@@ -2659,7 +2661,7 @@
|
|
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="580" type="method" name="__construct" visibility="public" complexity="7" crap="7.03" count="29"/>
|
2665 |
<line num="581" type="stmt" count="29"/>
|
@@ -3499,7 +3501,7 @@
|
|
3499 |
<line num="2413" type="stmt" count="1"/>
|
3500 |
<line num="2416" type="stmt" count="1"/>
|
3501 |
<line num="2419" type="stmt" count="1"/>
|
3502 |
-
<line num="2432" type="method" name="page_archives" visibility="public" complexity="
|
3503 |
<line num="2433" type="stmt" count="0"/>
|
3504 |
<line num="2436" type="stmt" count="0"/>
|
3505 |
<line num="2438" type="stmt" count="0"/>
|
@@ -3513,256 +3515,253 @@
|
|
3513 |
<line num="2454" type="stmt" count="0"/>
|
3514 |
<line num="2455" type="stmt" count="0"/>
|
3515 |
<line num="2458" type="stmt" count="0"/>
|
3516 |
-
<line num="
|
3517 |
-
<line num="
|
3518 |
-
<line num="2463" type="stmt" count="0"/>
|
3519 |
<line num="2466" type="stmt" count="0"/>
|
3520 |
-
<line num="
|
|
|
3521 |
<line num="2471" type="stmt" count="0"/>
|
3522 |
-
<line num="2472" type="stmt" count="0"/>
|
3523 |
<line num="2473" type="stmt" count="0"/>
|
3524 |
<line num="2476" type="stmt" count="0"/>
|
|
|
3525 |
<line num="2478" type="stmt" count="0"/>
|
3526 |
-
<line num="
|
3527 |
-
<line num="2482" type="stmt" count="0"/>
|
3528 |
<line num="2483" type="stmt" count="0"/>
|
3529 |
-
<line num="
|
3530 |
-
<line num="
|
3531 |
-
<line num="
|
3532 |
-
<line num="
|
|
|
|
|
3533 |
<line num="2501" type="stmt" count="0"/>
|
3534 |
<line num="2502" type="stmt" count="0"/>
|
3535 |
-
<line num="2503" type="stmt" count="0"/>
|
3536 |
<line num="2505" type="stmt" count="0"/>
|
3537 |
<line num="2506" type="stmt" count="0"/>
|
3538 |
<line num="2507" type="stmt" count="0"/>
|
|
|
3539 |
<line num="2510" type="stmt" count="0"/>
|
3540 |
<line num="2511" type="stmt" count="0"/>
|
3541 |
-
<line num="
|
3542 |
-
<line num="2514" type="stmt" count="0"/>
|
3543 |
<line num="2515" type="stmt" count="0"/>
|
3544 |
<line num="2516" type="stmt" count="0"/>
|
3545 |
-
<line num="
|
|
|
3546 |
<line num="2520" type="stmt" count="0"/>
|
3547 |
-
<line num="2521" type="stmt" count="0"/>
|
3548 |
<line num="2522" type="stmt" count="0"/>
|
3549 |
-
<line num="2524" type="stmt" count="0"/>
|
3550 |
<line num="2525" type="stmt" count="0"/>
|
|
|
3551 |
<line num="2527" type="stmt" count="0"/>
|
3552 |
-
<line num="
|
|
|
3553 |
<line num="2531" type="stmt" count="0"/>
|
3554 |
<line num="2532" type="stmt" count="0"/>
|
3555 |
-
<line num="2533" type="stmt" count="0"/>
|
3556 |
<line num="2534" type="stmt" count="0"/>
|
|
|
3557 |
<line num="2536" type="stmt" count="0"/>
|
3558 |
-
<line num="
|
3559 |
-
<line num="
|
3560 |
-
<line num="
|
3561 |
-
<line num="
|
3562 |
-
<line num="
|
3563 |
-
<line num="
|
3564 |
-
<line num="2563" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
3565 |
<line num="2565" type="stmt" count="0"/>
|
3566 |
-
<line num="
|
3567 |
<line num="2569" type="stmt" count="0"/>
|
3568 |
<line num="2570" type="stmt" count="0"/>
|
3569 |
<line num="2571" type="stmt" count="0"/>
|
3570 |
-
<line num="
|
3571 |
-
<line num="
|
3572 |
-
<line num="2576" type="stmt" count="0"/>
|
3573 |
<line num="2577" type="stmt" count="0"/>
|
3574 |
<line num="2578" type="stmt" count="0"/>
|
3575 |
-
<line num="
|
3576 |
-
<line num="
|
3577 |
-
<line num="
|
3578 |
<line num="2585" type="stmt" count="0"/>
|
3579 |
-
<line num="
|
|
|
3580 |
<line num="2590" type="stmt" count="0"/>
|
3581 |
-
<line num="
|
3582 |
<line num="2594" type="stmt" count="0"/>
|
3583 |
-
<line num="
|
3584 |
-
<line num="
|
3585 |
<line num="2599" type="stmt" count="0"/>
|
3586 |
-
<line num="
|
3587 |
-
<line num="2603" type="stmt" count="0"/>
|
3588 |
<line num="2604" type="stmt" count="0"/>
|
3589 |
<line num="2605" type="stmt" count="0"/>
|
|
|
3590 |
<line num="2609" type="stmt" count="0"/>
|
3591 |
<line num="2610" type="stmt" count="0"/>
|
3592 |
<line num="2611" type="stmt" count="0"/>
|
|
|
3593 |
<line num="2614" type="stmt" count="0"/>
|
3594 |
-
<line num="2615" type="stmt" count="0"/>
|
3595 |
<line num="2616" type="stmt" count="0"/>
|
3596 |
-
<line num="
|
3597 |
<line num="2619" type="stmt" count="0"/>
|
3598 |
-
<line num="
|
3599 |
<line num="2623" type="stmt" count="0"/>
|
3600 |
<line num="2624" type="stmt" count="0"/>
|
3601 |
-
<line num="
|
3602 |
-
<line num="
|
3603 |
-
<line num="
|
3604 |
-
<line num="
|
3605 |
-
<line num="
|
3606 |
-
<line num="
|
3607 |
-
<line num="2647" type="stmt" count="0"/>
|
3608 |
<line num="2650" type="stmt" count="0"/>
|
3609 |
<line num="2653" type="stmt" count="0"/>
|
3610 |
-
<line num="
|
3611 |
-
<line num="
|
3612 |
-
<line num="
|
3613 |
-
<line num="
|
3614 |
<line num="2667" type="stmt" count="0"/>
|
3615 |
-
<line num="
|
3616 |
-
<line num="
|
3617 |
-
<line num="
|
3618 |
-
<line num="
|
|
|
3619 |
<line num="2682" type="stmt" count="0"/>
|
3620 |
<line num="2683" type="stmt" count="0"/>
|
3621 |
<line num="2684" type="stmt" count="0"/>
|
|
|
|
|
3622 |
<line num="2687" type="stmt" count="0"/>
|
3623 |
<line num="2688" type="stmt" count="0"/>
|
3624 |
<line num="2689" type="stmt" count="0"/>
|
3625 |
-
<line num="2690" type="stmt" count="0"/>
|
3626 |
<line num="2691" type="stmt" count="0"/>
|
3627 |
-
<line num="2692" type="stmt" count="0"/>
|
3628 |
-
<line num="2693" type="stmt" count="0"/>
|
3629 |
<line num="2694" type="stmt" count="0"/>
|
|
|
3630 |
<line num="2696" type="stmt" count="0"/>
|
|
|
|
|
3631 |
<line num="2699" type="stmt" count="0"/>
|
3632 |
-
<line num="2700" type="stmt" count="0"/>
|
3633 |
<line num="2701" type="stmt" count="0"/>
|
3634 |
<line num="2702" type="stmt" count="0"/>
|
3635 |
<line num="2703" type="stmt" count="0"/>
|
3636 |
-
<line num="
|
3637 |
<line num="2706" type="stmt" count="0"/>
|
3638 |
<line num="2707" type="stmt" count="0"/>
|
3639 |
-
<line num="
|
3640 |
<line num="2710" type="stmt" count="0"/>
|
3641 |
-
<line num="2711" type="stmt" count="0"/>
|
3642 |
<line num="2712" type="stmt" count="0"/>
|
|
|
3643 |
<line num="2714" type="stmt" count="0"/>
|
3644 |
-
<line num="
|
3645 |
-
<line num="
|
3646 |
-
<line num="
|
3647 |
-
<line num="2719" type="stmt" count="0"/>
|
3648 |
<line num="2726" type="stmt" count="0"/>
|
3649 |
-
<line num="2728" type="stmt" count="0"/>
|
3650 |
-
<line num="2729" type="stmt" count="0"/>
|
3651 |
<line num="2731" type="stmt" count="0"/>
|
3652 |
-
<line num="
|
|
|
3653 |
<line num="2737" type="stmt" count="0"/>
|
3654 |
<line num="2738" 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="2772" type="stmt" count="29"/>
|
|
|
3662 |
<line num="2774" type="stmt" count="29"/>
|
3663 |
-
<line num="2775" type="stmt" count="29"/>
|
3664 |
<line num="2776" type="stmt" count="29"/>
|
3665 |
<line num="2777" type="stmt" count="29"/>
|
3666 |
-
<line num="2778" type="stmt" count="29"/>
|
3667 |
<line num="2779" type="stmt" count="29"/>
|
|
|
3668 |
<line num="2781" type="stmt" count="29"/>
|
3669 |
<line num="2782" type="stmt" count="29"/>
|
|
|
3670 |
<line num="2784" type="stmt" count="29"/>
|
3671 |
-
<line num="2785" type="stmt" count="29"/>
|
3672 |
<line num="2786" type="stmt" count="29"/>
|
3673 |
<line num="2787" type="stmt" count="29"/>
|
3674 |
<line num="2788" type="stmt" count="29"/>
|
3675 |
-
<line num="
|
3676 |
-
<line num="
|
3677 |
-
<line num="
|
3678 |
-
<line num="
|
3679 |
<line num="2799" type="stmt" count="29"/>
|
3680 |
-
<line num="
|
3681 |
<line num="2802" type="stmt" count="29"/>
|
3682 |
-
<line num="2803" type="stmt" count="29"/>
|
3683 |
-
<line num="2804" type="stmt" count="29"/>
|
3684 |
<line num="2805" type="stmt" count="29"/>
|
3685 |
-
<line num="
|
|
|
3686 |
<line num="2810" type="stmt" count="29"/>
|
3687 |
-
<line num="
|
3688 |
-
<line num="
|
3689 |
-
<line num="
|
3690 |
-
<line num="
|
3691 |
-
<line num="
|
3692 |
-
<line num="
|
3693 |
-
<line num="
|
3694 |
-
<line num="2838" type="
|
3695 |
<line num="2839" type="stmt" count="0"/>
|
3696 |
<line num="2840" type="stmt" count="0"/>
|
|
|
3697 |
<line num="2843" type="stmt" count="0"/>
|
3698 |
<line num="2844" type="stmt" count="0"/>
|
3699 |
-
<line num="2845" type="stmt" count="0"/>
|
3700 |
<line num="2847" type="stmt" count="0"/>
|
3701 |
<line num="2848" type="stmt" count="0"/>
|
3702 |
<line num="2849" type="stmt" count="0"/>
|
|
|
3703 |
<line num="2852" type="stmt" count="0"/>
|
3704 |
<line num="2853" type="stmt" count="0"/>
|
3705 |
-
<line num="
|
3706 |
-
<line num="
|
3707 |
-
<line num="
|
3708 |
-
<line num="
|
3709 |
-
<line num="
|
3710 |
<line num="2873" type="stmt" count="0"/>
|
3711 |
<line num="2874" type="stmt" count="0"/>
|
3712 |
-
<line num="
|
3713 |
<line num="2877" type="stmt" count="0"/>
|
3714 |
<line num="2878" type="stmt" count="0"/>
|
3715 |
<line num="2879" type="stmt" count="0"/>
|
3716 |
<line num="2880" type="stmt" count="0"/>
|
3717 |
<line num="2882" type="stmt" count="0"/>
|
3718 |
-
<line num="2883" type="stmt" count="0"/>
|
3719 |
<line num="2884" type="stmt" count="0"/>
|
3720 |
<line num="2885" type="stmt" count="0"/>
|
3721 |
-
<line num="
|
3722 |
-
<line num="
|
3723 |
-
<line num="
|
3724 |
-
<line num="
|
3725 |
-
<line num="2908" type="stmt" count="0"/>
|
3726 |
<line num="2911" type="stmt" count="0"/>
|
3727 |
-
<line num="
|
3728 |
-
<line num="
|
3729 |
<line num="2919" type="stmt" count="0"/>
|
3730 |
<line num="2920" type="stmt" count="0"/>
|
3731 |
-
<line num="
|
3732 |
-
<line num="
|
3733 |
-
<line num="
|
3734 |
<line num="2938" type="stmt" count="4"/>
|
|
|
3735 |
<line num="2940" type="stmt" count="4"/>
|
|
|
|
|
3736 |
<line num="2943" type="stmt" count="4"/>
|
3737 |
<line num="2944" type="stmt" count="4"/>
|
3738 |
-
<line num="
|
3739 |
-
<line num="
|
3740 |
-
<line num="
|
3741 |
-
<line num="
|
3742 |
-
<line num="
|
3743 |
-
<line num="
|
3744 |
-
<line num="
|
3745 |
-
<line num="
|
3746 |
-
<line num="2960" type="stmt" count="1"/>
|
3747 |
-
<line num="2963" type="stmt" count="1"/>
|
3748 |
<line num="2966" type="stmt" count="1"/>
|
3749 |
<line num="2969" type="stmt" count="1"/>
|
3750 |
<line num="2970" type="stmt" count="1"/>
|
3751 |
-
<line num="
|
3752 |
-
<line num="
|
3753 |
-
<line num="
|
3754 |
-
<line num="
|
3755 |
-
<line num="
|
3756 |
<line num="2990" type="stmt" count="1"/>
|
3757 |
-
<line num="
|
3758 |
-
<line num="
|
3759 |
-
<line num="
|
3760 |
-
<line num="
|
3761 |
-
<line num="
|
3762 |
-
<
|
3763 |
-
<line num="3005" type="stmt" count="0"/>
|
3764 |
-
<line num="3006" type="stmt" count="0"/>
|
3765 |
-
<metrics loc="3007" ncloc="1545" classes="1" methods="29" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1072" coveredstatements="503" elements="1101" coveredelements="507"/>
|
3766 |
</file>
|
3767 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
|
3768 |
<class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
@@ -5744,7 +5743,7 @@
|
|
5744 |
</file>
|
5745 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
5746 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5747 |
-
<metrics complexity="29" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="
|
5748 |
</class>
|
5749 |
<line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
5750 |
<line num="59" type="stmt" count="29"/>
|
@@ -5829,7 +5828,7 @@
|
|
5829 |
<line num="250" type="stmt" count="0"/>
|
5830 |
<line num="251" type="stmt" count="0"/>
|
5831 |
<line num="252" type="stmt" count="0"/>
|
5832 |
-
<line num="
|
5833 |
<line num="255" type="stmt" count="0"/>
|
5834 |
<line num="256" type="stmt" count="0"/>
|
5835 |
<line num="257" type="stmt" count="0"/>
|
@@ -5838,46 +5837,47 @@
|
|
5838 |
<line num="260" type="stmt" count="0"/>
|
5839 |
<line num="261" type="stmt" count="0"/>
|
5840 |
<line num="262" type="stmt" count="0"/>
|
5841 |
-
<line num="
|
5842 |
<line num="265" type="stmt" count="0"/>
|
5843 |
-
<line num="
|
5844 |
<line num="268" type="stmt" count="0"/>
|
5845 |
-
<line num="
|
5846 |
<line num="271" type="stmt" count="0"/>
|
5847 |
<line num="272" type="stmt" count="0"/>
|
5848 |
<line num="273" type="stmt" count="0"/>
|
5849 |
<line num="274" type="stmt" count="0"/>
|
5850 |
<line num="275" type="stmt" count="0"/>
|
5851 |
-
<line num="
|
5852 |
-
<line num="
|
5853 |
<line num="280" type="stmt" count="0"/>
|
5854 |
-
<line num="
|
5855 |
<line num="283" type="stmt" count="0"/>
|
5856 |
<line num="284" type="stmt" count="0"/>
|
5857 |
<line num="285" type="stmt" count="0"/>
|
5858 |
-
<line num="
|
5859 |
-
<line num="
|
5860 |
<line num="290" type="stmt" count="0"/>
|
5861 |
-
<line num="
|
5862 |
-
<line num="303" type="
|
5863 |
-
<line num="
|
5864 |
<line num="312" type="stmt" count="0"/>
|
5865 |
-
<line num="
|
5866 |
-
<line num="
|
5867 |
<line num="318" type="stmt" count="0"/>
|
5868 |
-
<line num="
|
5869 |
<line num="321" type="stmt" count="0"/>
|
5870 |
-
<line num="
|
5871 |
<line num="324" type="stmt" count="0"/>
|
5872 |
<line num="325" type="stmt" count="0"/>
|
5873 |
<line num="326" type="stmt" count="0"/>
|
5874 |
<line num="327" type="stmt" count="0"/>
|
5875 |
<line num="328" type="stmt" count="0"/>
|
5876 |
-
<line num="
|
5877 |
-
<line num="
|
5878 |
<line num="333" type="stmt" count="0"/>
|
5879 |
<line num="334" type="stmt" count="0"/>
|
5880 |
-
<
|
|
|
5881 |
</file>
|
5882 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-plugin-notices.php">
|
5883 |
<class name="Boldgrid_Backup_Admin_Plugin_Notices" namespace="global" fullPackage="Boldgrid.Backup.Admin.Plugin">
|
@@ -5955,32 +5955,32 @@
|
|
5955 |
<line num="91" type="stmt" count="1"/>
|
5956 |
<line num="93" type="stmt" count="1"/>
|
5957 |
<line num="103" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
5958 |
-
<line num="104" type="stmt" count="0"/>
|
5959 |
<line num="105" type="stmt" count="0"/>
|
5960 |
<line num="106" type="stmt" count="0"/>
|
5961 |
-
<line num="
|
5962 |
<line num="109" type="stmt" count="0"/>
|
5963 |
<line num="110" type="stmt" count="0"/>
|
5964 |
-
<line num="
|
5965 |
<line num="113" type="stmt" count="0"/>
|
5966 |
-
<line num="
|
5967 |
<line num="116" type="stmt" count="0"/>
|
5968 |
<line num="117" type="stmt" count="0"/>
|
5969 |
-
<line num="
|
5970 |
-
<line num="
|
5971 |
-
<line num="
|
5972 |
<line num="129" type="stmt" count="0"/>
|
5973 |
-
<line num="
|
5974 |
-
<line num="
|
5975 |
<line num="137" type="stmt" count="0"/>
|
5976 |
<line num="138" type="stmt" count="0"/>
|
5977 |
-
<line num="
|
5978 |
-
<line num="
|
5979 |
-
<line num="
|
5980 |
<line num="147" type="stmt" count="0"/>
|
5981 |
<line num="148" type="stmt" count="0"/>
|
5982 |
<line num="149" type="stmt" count="0"/>
|
5983 |
-
<
|
|
|
5984 |
</file>
|
5985 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-remote.php">
|
5986 |
<class name="Boldgrid_Backup_Admin_Remote" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -6572,119 +6572,119 @@
|
|
6572 |
<line num="781" type="stmt" count="1"/>
|
6573 |
<line num="782" type="stmt" count="1"/>
|
6574 |
<line num="792" type="method" name="page_backup_settings" visibility="public" complexity="12" crap="156" count="0"/>
|
6575 |
-
<line num="793" type="stmt" count="0"/>
|
6576 |
<line num="794" type="stmt" count="0"/>
|
6577 |
<line num="795" type="stmt" count="0"/>
|
6578 |
-
<line num="
|
6579 |
<line num="798" type="stmt" count="0"/>
|
6580 |
<line num="799" type="stmt" count="0"/>
|
6581 |
<line num="800" type="stmt" count="0"/>
|
6582 |
<line num="801" type="stmt" count="0"/>
|
6583 |
-
<line num="
|
6584 |
<line num="804" type="stmt" count="0"/>
|
6585 |
<line num="805" type="stmt" count="0"/>
|
6586 |
-
<line num="
|
6587 |
<line num="808" type="stmt" count="0"/>
|
6588 |
<line num="809" type="stmt" count="0"/>
|
6589 |
-
<line num="
|
6590 |
<line num="813" type="stmt" count="0"/>
|
6591 |
<line num="814" type="stmt" count="0"/>
|
6592 |
<line num="815" type="stmt" count="0"/>
|
6593 |
-
<line num="
|
6594 |
<line num="818" type="stmt" count="0"/>
|
6595 |
-
<line num="
|
6596 |
<line num="821" type="stmt" count="0"/>
|
6597 |
-
<line num="
|
6598 |
-
<line num="
|
6599 |
<line num="826" type="stmt" count="0"/>
|
6600 |
-
<line num="
|
6601 |
<line num="834" type="stmt" count="0"/>
|
6602 |
<line num="835" type="stmt" count="0"/>
|
6603 |
<line num="836" type="stmt" count="0"/>
|
6604 |
-
<line num="
|
6605 |
-
<line num="
|
6606 |
<line num="841" type="stmt" count="0"/>
|
6607 |
-
<line num="
|
6608 |
-
<line num="
|
6609 |
<line num="852" type="stmt" count="0"/>
|
6610 |
<line num="853" type="stmt" count="0"/>
|
6611 |
<line num="854" type="stmt" count="0"/>
|
6612 |
-
<line num="
|
6613 |
-
<line num="
|
6614 |
<line num="859" type="stmt" count="0"/>
|
6615 |
-
<line num="
|
6616 |
-
<line num="
|
6617 |
<line num="865" type="stmt" count="0"/>
|
6618 |
-
<line num="
|
6619 |
<line num="869" type="stmt" count="0"/>
|
6620 |
<line num="870" type="stmt" count="0"/>
|
6621 |
<line num="871" type="stmt" count="0"/>
|
6622 |
<line num="872" type="stmt" count="0"/>
|
6623 |
-
<line num="
|
6624 |
<line num="876" type="stmt" count="0"/>
|
6625 |
<line num="877" type="stmt" count="0"/>
|
6626 |
<line num="878" type="stmt" count="0"/>
|
6627 |
<line num="879" type="stmt" count="0"/>
|
6628 |
-
<line num="
|
6629 |
-
<line num="
|
6630 |
<line num="884" type="stmt" count="0"/>
|
6631 |
<line num="885" type="stmt" count="0"/>
|
6632 |
<line num="886" type="stmt" count="0"/>
|
6633 |
<line num="887" type="stmt" count="0"/>
|
6634 |
-
<line num="
|
6635 |
-
<line num="
|
6636 |
<line num="893" type="stmt" count="0"/>
|
6637 |
<line num="894" type="stmt" count="0"/>
|
6638 |
<line num="895" type="stmt" count="0"/>
|
6639 |
<line num="896" type="stmt" count="0"/>
|
6640 |
-
<line num="
|
6641 |
-
<line num="
|
6642 |
<line num="902" type="stmt" count="0"/>
|
6643 |
<line num="903" type="stmt" count="0"/>
|
6644 |
<line num="904" type="stmt" count="0"/>
|
6645 |
<line num="905" type="stmt" count="0"/>
|
6646 |
-
<line num="
|
6647 |
-
<line num="
|
6648 |
<line num="911" type="stmt" count="0"/>
|
6649 |
<line num="912" type="stmt" count="0"/>
|
6650 |
<line num="913" type="stmt" count="0"/>
|
6651 |
-
<line num="
|
6652 |
-
<line num="
|
6653 |
<line num="918" type="stmt" count="0"/>
|
6654 |
-
<line num="
|
6655 |
-
<line num="
|
6656 |
<line num="924" type="stmt" count="0"/>
|
6657 |
<line num="925" type="stmt" count="0"/>
|
6658 |
-
<line num="
|
6659 |
-
<line num="
|
6660 |
<line num="930" type="stmt" count="0"/>
|
6661 |
<line num="931" type="stmt" count="0"/>
|
6662 |
-
<line num="
|
6663 |
<line num="934" type="stmt" count="0"/>
|
6664 |
<line num="935" type="stmt" count="0"/>
|
6665 |
-
<line num="
|
6666 |
-
<line num="
|
6667 |
<line num="945" type="stmt" count="0"/>
|
6668 |
-
<line num="
|
6669 |
-
<line num="
|
6670 |
<line num="953" type="stmt" count="0"/>
|
6671 |
<line num="954" type="stmt" count="0"/>
|
6672 |
-
<line num="
|
6673 |
<line num="959" type="stmt" count="0"/>
|
6674 |
-
<line num="
|
6675 |
-
<line num="970" type="
|
6676 |
-
<line num="
|
6677 |
-
<line num="982" type="
|
6678 |
-
<line num="
|
6679 |
-
<line num="
|
6680 |
<line num="987" type="stmt" count="0"/>
|
6681 |
<line num="988" type="stmt" count="0"/>
|
6682 |
<line num="989" type="stmt" count="0"/>
|
6683 |
<line num="990" type="stmt" count="0"/>
|
6684 |
<line num="991" type="stmt" count="0"/>
|
6685 |
<line num="992" type="stmt" count="0"/>
|
6686 |
-
<line num="
|
6687 |
-
<
|
|
|
6688 |
</file>
|
6689 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-support.php">
|
6690 |
<class name="Boldgrid_Backup_Admin_Support" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -6744,27 +6744,27 @@
|
|
6744 |
<line num="165" type="stmt" count="0"/>
|
6745 |
<line num="168" type="stmt" count="0"/>
|
6746 |
<line num="176" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
6747 |
-
<line num="177" type="stmt" count="0"/>
|
6748 |
<line num="178" type="stmt" count="0"/>
|
6749 |
<line num="179" type="stmt" count="0"/>
|
6750 |
-
<line num="
|
6751 |
<line num="182" type="stmt" count="0"/>
|
6752 |
<line num="183" type="stmt" count="0"/>
|
6753 |
-
<line num="
|
6754 |
<line num="186" type="stmt" count="0"/>
|
6755 |
-
<line num="
|
6756 |
<line num="189" type="stmt" count="0"/>
|
6757 |
<line num="190" type="stmt" count="0"/>
|
6758 |
-
<line num="
|
6759 |
-
<line num="
|
6760 |
<line num="200" type="stmt" count="0"/>
|
6761 |
-
<line num="
|
6762 |
-
<line num="
|
6763 |
<line num="208" type="stmt" count="0"/>
|
6764 |
<line num="209" type="stmt" count="0"/>
|
6765 |
-
<line num="
|
6766 |
<line num="214" type="stmt" count="0"/>
|
6767 |
-
<
|
|
|
6768 |
</file>
|
6769 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-test.php">
|
6770 |
<class name="Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -7187,26 +7187,26 @@
|
|
7187 |
<line num="52" type="stmt" count="0"/>
|
7188 |
<line num="54" type="stmt" count="0"/>
|
7189 |
<line num="61" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
7190 |
-
<line num="62" type="stmt" count="0"/>
|
7191 |
<line num="63" type="stmt" count="0"/>
|
7192 |
-
<line num="
|
7193 |
<line num="66" type="stmt" count="0"/>
|
7194 |
<line num="67" type="stmt" count="0"/>
|
7195 |
-
<line num="
|
7196 |
<line num="70" type="stmt" count="0"/>
|
7197 |
-
<line num="
|
7198 |
<line num="73" type="stmt" count="0"/>
|
7199 |
<line num="74" type="stmt" count="0"/>
|
7200 |
-
<line num="
|
7201 |
-
<line num="
|
7202 |
<line num="84" type="stmt" count="0"/>
|
7203 |
-
<line num="
|
7204 |
-
<line num="
|
7205 |
<line num="92" type="stmt" count="0"/>
|
7206 |
<line num="93" type="stmt" count="0"/>
|
7207 |
-
<line num="
|
7208 |
<line num="98" type="stmt" count="0"/>
|
7209 |
-
<
|
|
|
7210 |
</file>
|
7211 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-transfers.php">
|
7212 |
<class name="Boldgrid_Backup_Admin_Transfers" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -7247,12 +7247,12 @@
|
|
7247 |
</file>
|
7248 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-upload.php">
|
7249 |
<class name="Boldgrid_Backup_Admin_Upload" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7250 |
-
<metrics complexity="
|
7251 |
</class>
|
7252 |
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
7253 |
<line num="41" type="stmt" count="29"/>
|
7254 |
<line num="42" type="stmt" count="29"/>
|
7255 |
-
<line num="56" type="method" name="verify_upload_access" visibility="public" complexity="
|
7256 |
<line num="58" type="stmt" count="0"/>
|
7257 |
<line num="60" type="stmt" count="0"/>
|
7258 |
<line num="61" type="stmt" count="0"/>
|
@@ -7297,60 +7297,60 @@
|
|
7297 |
<line num="139" type="stmt" count="0"/>
|
7298 |
<line num="141" type="stmt" count="0"/>
|
7299 |
<line num="144" type="stmt" count="0"/>
|
7300 |
-
<line num="
|
7301 |
-
<line num="
|
7302 |
-
<line num="
|
7303 |
-
<line num="
|
7304 |
-
<line num="
|
7305 |
-
<line num="
|
7306 |
-
<line num="
|
7307 |
-
<line num="
|
7308 |
-
<line num="
|
7309 |
-
<line num="
|
7310 |
-
<line num="
|
7311 |
-
<line num="
|
7312 |
-
<line num="
|
|
|
|
|
7313 |
<line num="197" type="stmt" count="0"/>
|
7314 |
-
<line num="
|
7315 |
-
<line num="199" type="stmt" count="0"/>
|
7316 |
-
<line num="201" type="stmt" count="0"/>
|
7317 |
-
<line num="202" type="stmt" count="0"/>
|
7318 |
<line num="204" type="stmt" count="0"/>
|
7319 |
-
<line num="205" type="stmt" count="0"/>
|
7320 |
<line num="206" type="stmt" count="0"/>
|
7321 |
<line num="208" type="stmt" count="0"/>
|
|
|
7322 |
<line num="210" type="stmt" count="0"/>
|
|
|
7323 |
<line num="213" type="stmt" count="0"/>
|
7324 |
-
<line num="
|
7325 |
-
<line num="
|
7326 |
-
<line num="
|
7327 |
-
<line num="
|
7328 |
-
<line num="
|
7329 |
-
<line num="
|
7330 |
-
<line num="238" type="
|
7331 |
<line num="239" type="stmt" count="0"/>
|
7332 |
-
<line num="
|
7333 |
-
<line num="
|
7334 |
-
<line num="
|
7335 |
-
<line num="245" type="stmt" count="0"/>
|
7336 |
<line num="248" type="stmt" count="0"/>
|
7337 |
<line num="249" type="stmt" count="0"/>
|
7338 |
<line num="250" type="stmt" count="0"/>
|
7339 |
-
<line num="
|
|
|
|
|
7340 |
<line num="256" type="stmt" count="0"/>
|
7341 |
-
<line num="
|
|
|
7342 |
<line num="261" type="stmt" count="0"/>
|
7343 |
-
<line num="
|
7344 |
-
<line num="
|
7345 |
-
<line num="
|
7346 |
-
<line num="
|
7347 |
-
<line num="
|
7348 |
-
<line num="282" type="stmt" count="0"/>
|
7349 |
-
<line num="285" type="stmt" count="0"/>
|
7350 |
<line num="286" type="stmt" count="0"/>
|
|
|
7351 |
<line num="288" type="stmt" count="0"/>
|
7352 |
-
<line num="
|
7353 |
-
<line num="291" type="stmt" count="0"/>
|
7354 |
<line num="293" type="stmt" count="0"/>
|
7355 |
<line num="296" type="stmt" count="0"/>
|
7356 |
<line num="297" type="stmt" count="0"/>
|
@@ -7358,103 +7358,115 @@
|
|
7358 |
<line num="300" type="stmt" count="0"/>
|
7359 |
<line num="302" type="stmt" count="0"/>
|
7360 |
<line num="304" type="stmt" count="0"/>
|
7361 |
-
<line num="
|
7362 |
-
<line num="
|
7363 |
-
<line num="
|
7364 |
-
<line num="
|
7365 |
-
<line num="
|
|
|
|
|
7366 |
<line num="332" type="stmt" count="0"/>
|
7367 |
<line num="333" type="stmt" count="0"/>
|
7368 |
<line num="337" type="stmt" count="0"/>
|
7369 |
<line num="340" type="stmt" count="0"/>
|
7370 |
<line num="343" type="stmt" count="0"/>
|
7371 |
-
<line num="
|
7372 |
<line num="348" type="stmt" count="0"/>
|
7373 |
<line num="351" type="stmt" count="0"/>
|
7374 |
-
<line num="
|
7375 |
-
<line num="
|
7376 |
-
<line num="
|
7377 |
-
<line num="
|
7378 |
-
<line num="360" type="stmt" count="0"/>
|
7379 |
<line num="363" type="stmt" count="0"/>
|
7380 |
<line num="364" type="stmt" count="0"/>
|
7381 |
-
<line num="
|
7382 |
-
<line num="367" type="stmt" count="0"/>
|
7383 |
-
<line num="368" type="stmt" count="0"/>
|
7384 |
<line num="369" type="stmt" count="0"/>
|
7385 |
<line num="371" type="stmt" count="0"/>
|
7386 |
-
<line num="
|
7387 |
-
<line num="
|
7388 |
-
<line num="
|
7389 |
-
<line num="
|
7390 |
-
<line num="
|
7391 |
-
<line num="
|
7392 |
-
<line num="
|
7393 |
-
<line num="
|
7394 |
-
<line num="
|
|
|
7395 |
<line num="406" type="stmt" count="0"/>
|
7396 |
<line num="408" type="stmt" count="0"/>
|
7397 |
-
<line num="
|
7398 |
<line num="411" type="stmt" count="0"/>
|
7399 |
-
<line num="412" type="stmt" count="0"/>
|
7400 |
<line num="414" type="stmt" count="0"/>
|
7401 |
<line num="415" type="stmt" count="0"/>
|
7402 |
<line num="417" type="stmt" count="0"/>
|
7403 |
<line num="419" type="stmt" count="0"/>
|
7404 |
<line num="420" type="stmt" count="0"/>
|
7405 |
<line num="422" type="stmt" count="0"/>
|
7406 |
-
<line num="
|
7407 |
<line num="425" type="stmt" count="0"/>
|
7408 |
<line num="426" type="stmt" count="0"/>
|
7409 |
<line num="428" type="stmt" count="0"/>
|
7410 |
<line num="430" type="stmt" count="0"/>
|
7411 |
<line num="431" type="stmt" count="0"/>
|
7412 |
<line num="433" type="stmt" count="0"/>
|
|
|
7413 |
<line num="436" type="stmt" count="0"/>
|
7414 |
<line num="437" type="stmt" count="0"/>
|
7415 |
-
<line num="438" type="stmt" count="0"/>
|
7416 |
<line num="439" type="stmt" count="0"/>
|
7417 |
<line num="441" type="stmt" count="0"/>
|
7418 |
<line num="442" type="stmt" count="0"/>
|
7419 |
-
<line num="443" type="stmt" count="0"/>
|
7420 |
<line num="444" type="stmt" count="0"/>
|
7421 |
-
<line num="445" type="stmt" count="0"/>
|
7422 |
-
<line num="446" type="stmt" count="0"/>
|
7423 |
<line num="447" type="stmt" count="0"/>
|
|
|
7424 |
<line num="449" type="stmt" count="0"/>
|
7425 |
-
<line num="
|
7426 |
<line num="452" type="stmt" count="0"/>
|
|
|
7427 |
<line num="454" type="stmt" count="0"/>
|
|
|
7428 |
<line num="456" type="stmt" count="0"/>
|
7429 |
<line num="457" type="stmt" count="0"/>
|
7430 |
<line num="458" type="stmt" count="0"/>
|
7431 |
-
<line num="459" type="stmt" count="0"/>
|
7432 |
<line num="460" type="stmt" count="0"/>
|
7433 |
-
<line num="
|
7434 |
<line num="463" type="stmt" count="0"/>
|
7435 |
-
<line num="
|
7436 |
-
<line num="466" type="stmt" count="0"/>
|
7437 |
<line num="467" type="stmt" count="0"/>
|
|
|
|
|
7438 |
<line num="470" type="stmt" count="0"/>
|
7439 |
-
<line num="
|
7440 |
-
<line num="
|
|
|
|
|
|
|
7441 |
<line num="478" type="stmt" count="0"/>
|
7442 |
-
<line num="480" type="stmt" count="0"/>
|
7443 |
<line num="481" type="stmt" count="0"/>
|
7444 |
-
<line num="483" type="stmt" count="0"/>
|
7445 |
<line num="484" type="stmt" count="0"/>
|
7446 |
-
<line num="
|
7447 |
-
<line num="486" type="stmt" count="0"/>
|
7448 |
-
<line num="488" type="stmt" count="0"/>
|
7449 |
<line num="489" type="stmt" count="0"/>
|
7450 |
-
<line num="
|
7451 |
-
<line num="
|
|
|
7452 |
<line num="495" type="stmt" count="0"/>
|
7453 |
<line num="496" type="stmt" count="0"/>
|
7454 |
-
<line num="
|
|
|
7455 |
<line num="500" type="stmt" count="0"/>
|
7456 |
<line num="501" type="stmt" count="0"/>
|
7457 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7458 |
</file>
|
7459 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-usage.php">
|
7460 |
<class name="Boldgrid_Backup_Admin_Usage" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -9243,9 +9255,8 @@
|
|
9243 |
<line num="40" type="stmt" count="0"/>
|
9244 |
<line num="41" type="stmt" count="0"/>
|
9245 |
<line num="43" type="stmt" count="0"/>
|
9246 |
-
<line num="
|
9247 |
<line num="46" type="stmt" count="0"/>
|
9248 |
-
<line num="47" type="stmt" count="0"/>
|
9249 |
<line num="48" type="stmt" count="0"/>
|
9250 |
<line num="49" type="stmt" count="0"/>
|
9251 |
<line num="50" type="stmt" count="0"/>
|
@@ -9258,42 +9269,49 @@
|
|
9258 |
<line num="57" type="stmt" count="0"/>
|
9259 |
<line num="58" type="stmt" count="0"/>
|
9260 |
<line num="59" type="stmt" count="0"/>
|
9261 |
-
<line num="
|
9262 |
-
<line num="
|
9263 |
-
<line num="
|
|
|
9264 |
<line num="68" type="stmt" count="0"/>
|
9265 |
<line num="70" type="stmt" count="0"/>
|
9266 |
-
<line num="
|
9267 |
<line num="73" type="stmt" count="0"/>
|
9268 |
-
<line num="74" type="stmt" count="0"/>
|
9269 |
<line num="75" type="stmt" count="0"/>
|
9270 |
<line num="76" type="stmt" count="0"/>
|
9271 |
<line num="77" type="stmt" count="0"/>
|
|
|
9272 |
<line num="79" type="stmt" count="0"/>
|
9273 |
-
<line num="
|
9274 |
-
<line num="
|
9275 |
-
<line num="
|
9276 |
-
<line num="
|
9277 |
-
<line num="
|
9278 |
<line num="91" type="stmt" count="0"/>
|
9279 |
-
<line num="
|
9280 |
-
<line num="
|
9281 |
-
<line num="
|
9282 |
<line num="98" type="stmt" count="0"/>
|
9283 |
-
<line num="99" type="stmt" count="0"/>
|
9284 |
<line num="100" type="stmt" count="0"/>
|
|
|
9285 |
<line num="102" type="stmt" count="0"/>
|
9286 |
-
<line num="
|
9287 |
-
<line num="
|
9288 |
-
<line num="
|
9289 |
<line num="109" type="stmt" count="0"/>
|
9290 |
<line num="111" type="stmt" count="0"/>
|
9291 |
<line num="113" type="stmt" count="0"/>
|
9292 |
-
<line num="
|
9293 |
-
<line num="
|
9294 |
<line num="118" type="stmt" count="0"/>
|
9295 |
-
<line num="
|
9296 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
9297 |
</file>
|
9298 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/archives/note-pre-backup.php">
|
9299 |
<line num="17" type="stmt" count="0"/>
|
@@ -9679,6 +9697,7 @@
|
|
9679 |
<line num="384" type="stmt" count="0"/>
|
9680 |
<line num="385" type="stmt" count="0"/>
|
9681 |
<line num="386" type="stmt" count="0"/>
|
|
|
9682 |
<line num="388" type="stmt" count="0"/>
|
9683 |
<line num="389" type="stmt" count="0"/>
|
9684 |
<line num="390" type="stmt" count="0"/>
|
@@ -9686,25 +9705,32 @@
|
|
9686 |
<line num="392" type="stmt" count="0"/>
|
9687 |
<line num="393" type="stmt" count="0"/>
|
9688 |
<line num="394" type="stmt" count="0"/>
|
9689 |
-
<line num="395" type="stmt" count="0"/>
|
9690 |
<line num="396" type="stmt" count="0"/>
|
9691 |
<line num="397" type="stmt" count="0"/>
|
9692 |
<line num="398" type="stmt" count="0"/>
|
|
|
9693 |
<line num="400" type="stmt" count="0"/>
|
|
|
9694 |
<line num="402" type="stmt" count="0"/>
|
9695 |
<line num="403" type="stmt" count="0"/>
|
9696 |
<line num="404" type="stmt" count="0"/>
|
9697 |
-
<line num="405" type="stmt" count="0"/>
|
9698 |
<line num="406" type="stmt" count="0"/>
|
9699 |
-
<line num="407" type="stmt" count="0"/>
|
9700 |
<line num="408" type="stmt" count="0"/>
|
9701 |
<line num="409" type="stmt" count="0"/>
|
9702 |
<line num="410" type="stmt" count="0"/>
|
9703 |
<line num="411" type="stmt" count="0"/>
|
9704 |
<line num="412" type="stmt" count="0"/>
|
9705 |
<line num="413" type="stmt" count="0"/>
|
|
|
9706 |
<line num="415" type="stmt" count="0"/>
|
9707 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9708 |
</file>
|
9709 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-backup-button.php">
|
9710 |
<line num="19" type="stmt" count="0"/>
|
@@ -9866,7 +9892,8 @@
|
|
9866 |
<line num="23" type="stmt" count="0"/>
|
9867 |
<line num="25" type="stmt" count="0"/>
|
9868 |
<line num="27" type="stmt" count="0"/>
|
9869 |
-
<
|
|
|
9870 |
</file>
|
9871 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-home.php">
|
9872 |
<line num="17" type="stmt" count="0"/>
|
@@ -10042,7 +10069,8 @@
|
|
10042 |
<line num="45" type="stmt" count="0"/>
|
10043 |
<line num="47" type="stmt" count="0"/>
|
10044 |
<line num="49" type="stmt" count="0"/>
|
10045 |
-
<
|
|
|
10046 |
</file>
|
10047 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-settings.php">
|
10048 |
<line num="17" type="stmt" count="0"/>
|
@@ -10134,11 +10162,10 @@
|
|
10134 |
<line num="126" type="stmt" count="0"/>
|
10135 |
<line num="128" type="stmt" count="0"/>
|
10136 |
<line num="130" type="stmt" count="0"/>
|
10137 |
-
<line num="
|
10138 |
<line num="143" type="stmt" count="0"/>
|
10139 |
-
<line num="
|
10140 |
<line num="146" type="stmt" count="0"/>
|
10141 |
-
<line num="147" type="stmt" count="0"/>
|
10142 |
<line num="148" type="stmt" count="0"/>
|
10143 |
<line num="149" type="stmt" count="0"/>
|
10144 |
<line num="150" type="stmt" count="0"/>
|
@@ -10146,14 +10173,16 @@
|
|
10146 |
<line num="152" type="stmt" count="0"/>
|
10147 |
<line num="153" type="stmt" count="0"/>
|
10148 |
<line num="154" type="stmt" count="0"/>
|
|
|
10149 |
<line num="156" type="stmt" count="0"/>
|
10150 |
<line num="158" type="stmt" count="0"/>
|
10151 |
<line num="160" type="stmt" count="0"/>
|
10152 |
<line num="162" type="stmt" count="0"/>
|
10153 |
<line num="164" type="stmt" count="0"/>
|
10154 |
-
<line num="
|
10155 |
-
<line num="
|
10156 |
-
<
|
|
|
10157 |
</file>
|
10158 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-support.php">
|
10159 |
<line num="17" type="stmt" count="0"/>
|
@@ -10224,9 +10253,8 @@
|
|
10224 |
<line num="94" type="stmt" count="0"/>
|
10225 |
<line num="95" type="stmt" count="0"/>
|
10226 |
<line num="97" type="stmt" count="0"/>
|
10227 |
-
<line num="
|
10228 |
-
<line num="
|
10229 |
-
<line num="104" type="stmt" count="0"/>
|
10230 |
<line num="105" type="stmt" count="0"/>
|
10231 |
<line num="106" type="stmt" count="0"/>
|
10232 |
<line num="107" type="stmt" count="0"/>
|
@@ -10241,28 +10269,28 @@
|
|
10241 |
<line num="116" type="stmt" count="0"/>
|
10242 |
<line num="117" type="stmt" count="0"/>
|
10243 |
<line num="118" type="stmt" count="0"/>
|
|
|
10244 |
<line num="120" type="stmt" count="0"/>
|
10245 |
-
<line num="121" type="stmt" count="0"/>
|
10246 |
<line num="122" type="stmt" count="0"/>
|
10247 |
<line num="123" type="stmt" count="0"/>
|
10248 |
<line num="124" type="stmt" count="0"/>
|
10249 |
<line num="125" type="stmt" count="0"/>
|
10250 |
<line num="126" type="stmt" count="0"/>
|
|
|
10251 |
<line num="128" type="stmt" count="0"/>
|
10252 |
-
<line num="129" type="stmt" count="0"/>
|
10253 |
<line num="130" type="stmt" count="0"/>
|
10254 |
<line num="131" type="stmt" count="0"/>
|
10255 |
<line num="132" type="stmt" count="0"/>
|
10256 |
<line num="133" type="stmt" count="0"/>
|
10257 |
<line num="134" type="stmt" count="0"/>
|
|
|
10258 |
<line num="136" type="stmt" count="0"/>
|
10259 |
-
<line num="137" type="stmt" count="0"/>
|
10260 |
<line num="138" type="stmt" count="0"/>
|
10261 |
<line num="139" type="stmt" count="0"/>
|
10262 |
<line num="140" type="stmt" count="0"/>
|
10263 |
<line num="141" type="stmt" count="0"/>
|
|
|
10264 |
<line num="143" type="stmt" count="0"/>
|
10265 |
-
<line num="144" type="stmt" count="0"/>
|
10266 |
<line num="145" type="stmt" count="0"/>
|
10267 |
<line num="146" type="stmt" count="0"/>
|
10268 |
<line num="147" type="stmt" count="0"/>
|
@@ -10273,8 +10301,10 @@
|
|
10273 |
<line num="152" type="stmt" count="0"/>
|
10274 |
<line num="153" type="stmt" count="0"/>
|
10275 |
<line num="154" type="stmt" count="0"/>
|
10276 |
-
<line num="
|
10277 |
-
<
|
|
|
|
|
10278 |
</file>
|
10279 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-test.php">
|
10280 |
<line num="19" type="stmt" count="0"/>
|
@@ -10642,8 +10672,9 @@
|
|
10642 |
<line num="449" type="stmt" count="0"/>
|
10643 |
<line num="451" type="stmt" count="0"/>
|
10644 |
<line num="453" type="stmt" count="0"/>
|
10645 |
-
<line num="
|
10646 |
-
<
|
|
|
10647 |
</file>
|
10648 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-tools.php">
|
10649 |
<line num="15" type="stmt" count="0"/>
|
@@ -10670,7 +10701,9 @@
|
|
10670 |
<line num="46" type="stmt" count="0"/>
|
10671 |
<line num="57" type="stmt" count="0"/>
|
10672 |
<line num="59" type="stmt" count="0"/>
|
10673 |
-
<
|
|
|
|
|
10674 |
</file>
|
10675 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-transfers.php">
|
10676 |
<line num="14" type="stmt" count="0"/>
|
@@ -10706,7 +10739,10 @@
|
|
10706 |
<line num="66" type="stmt" count="0"/>
|
10707 |
<line num="69" type="stmt" count="0"/>
|
10708 |
<line num="71" type="stmt" count="0"/>
|
10709 |
-
<
|
|
|
|
|
|
|
10710 |
</file>
|
10711 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/remote/ftp.php">
|
10712 |
<line num="20" type="stmt" count="0"/>
|
@@ -11073,10 +11109,8 @@
|
|
11073 |
<line num="271" type="stmt" count="0"/>
|
11074 |
<line num="272" type="stmt" count="0"/>
|
11075 |
<line num="273" type="stmt" count="0"/>
|
11076 |
-
<line num="
|
11077 |
-
<line num="276" type="stmt" count="0"/>
|
11078 |
<line num="277" type="stmt" count="0"/>
|
11079 |
-
<line num="278" type="stmt" count="0"/>
|
11080 |
<line num="279" type="stmt" count="0"/>
|
11081 |
<line num="280" type="stmt" count="0"/>
|
11082 |
<line num="281" type="stmt" count="0"/>
|
@@ -11092,9 +11126,9 @@
|
|
11092 |
<line num="291" type="stmt" count="0"/>
|
11093 |
<line num="292" type="stmt" count="0"/>
|
11094 |
<line num="293" type="stmt" count="0"/>
|
|
|
11095 |
<line num="295" type="stmt" count="0"/>
|
11096 |
<line num="296" type="stmt" count="0"/>
|
11097 |
-
<line num="297" type="stmt" count="0"/>
|
11098 |
<line num="298" type="stmt" count="0"/>
|
11099 |
<line num="299" type="stmt" count="0"/>
|
11100 |
<line num="300" type="stmt" count="0"/>
|
@@ -11107,31 +11141,31 @@
|
|
11107 |
<line num="307" type="stmt" count="0"/>
|
11108 |
<line num="308" type="stmt" count="0"/>
|
11109 |
<line num="309" type="stmt" count="0"/>
|
|
|
11110 |
<line num="311" type="stmt" count="0"/>
|
11111 |
<line num="312" type="stmt" count="0"/>
|
11112 |
-
<line num="
|
11113 |
-
<line num="
|
11114 |
-
<line num="
|
11115 |
-
<line num="327" type="stmt" count="0"/>
|
11116 |
<line num="328" type="stmt" count="0"/>
|
11117 |
<line num="329" type="stmt" count="0"/>
|
11118 |
<line num="330" type="stmt" count="0"/>
|
|
|
11119 |
<line num="332" type="stmt" count="0"/>
|
11120 |
<line num="333" type="stmt" count="0"/>
|
11121 |
-
<line num="
|
11122 |
<line num="336" type="stmt" count="0"/>
|
11123 |
<line num="337" type="stmt" count="0"/>
|
11124 |
-
<line num="338" type="stmt" count="0"/>
|
11125 |
<line num="339" type="stmt" count="0"/>
|
11126 |
<line num="340" type="stmt" count="0"/>
|
11127 |
<line num="341" type="stmt" count="0"/>
|
|
|
11128 |
<line num="343" type="stmt" count="0"/>
|
11129 |
<line num="344" type="stmt" count="0"/>
|
11130 |
-
<line num="345" type="stmt" count="0"/>
|
11131 |
<line num="346" type="stmt" count="0"/>
|
|
|
11132 |
<line num="348" type="stmt" count="0"/>
|
11133 |
<line num="349" type="stmt" count="0"/>
|
11134 |
-
<line num="350" type="stmt" count="0"/>
|
11135 |
<line num="351" type="stmt" count="0"/>
|
11136 |
<line num="352" type="stmt" count="0"/>
|
11137 |
<line num="353" type="stmt" count="0"/>
|
@@ -11153,11 +11187,11 @@
|
|
11153 |
<line num="369" type="stmt" count="0"/>
|
11154 |
<line num="370" type="stmt" count="0"/>
|
11155 |
<line num="371" type="stmt" count="0"/>
|
|
|
11156 |
<line num="373" type="stmt" count="0"/>
|
11157 |
<line num="374" type="stmt" count="0"/>
|
11158 |
<line num="376" type="stmt" count="0"/>
|
11159 |
<line num="377" type="stmt" count="0"/>
|
11160 |
-
<line num="378" type="stmt" count="0"/>
|
11161 |
<line num="379" type="stmt" count="0"/>
|
11162 |
<line num="380" type="stmt" count="0"/>
|
11163 |
<line num="381" type="stmt" count="0"/>
|
@@ -11165,13 +11199,13 @@
|
|
11165 |
<line num="383" type="stmt" count="0"/>
|
11166 |
<line num="384" type="stmt" count="0"/>
|
11167 |
<line num="385" type="stmt" count="0"/>
|
|
|
11168 |
<line num="387" type="stmt" count="0"/>
|
11169 |
<line num="388" type="stmt" count="0"/>
|
|
|
11170 |
<line num="391" type="stmt" count="0"/>
|
11171 |
-
<line num="392" type="stmt" count="0"/>
|
11172 |
<line num="394" type="stmt" count="0"/>
|
11173 |
<line num="395" type="stmt" count="0"/>
|
11174 |
-
<line num="396" type="stmt" count="0"/>
|
11175 |
<line num="397" type="stmt" count="0"/>
|
11176 |
<line num="398" type="stmt" count="0"/>
|
11177 |
<line num="399" type="stmt" count="0"/>
|
@@ -11187,22 +11221,25 @@
|
|
11187 |
<line num="409" type="stmt" count="0"/>
|
11188 |
<line num="410" type="stmt" count="0"/>
|
11189 |
<line num="411" type="stmt" count="0"/>
|
|
|
11190 |
<line num="413" type="stmt" count="0"/>
|
11191 |
-
<line num="
|
11192 |
<line num="416" type="stmt" count="0"/>
|
11193 |
<line num="418" type="stmt" count="0"/>
|
11194 |
-
<line num="
|
11195 |
<line num="421" type="stmt" count="0"/>
|
11196 |
-
<line num="422" type="stmt" count="0"/>
|
11197 |
<line num="423" type="stmt" count="0"/>
|
11198 |
<line num="424" type="stmt" count="0"/>
|
11199 |
<line num="425" type="stmt" count="0"/>
|
|
|
11200 |
<line num="427" type="stmt" count="0"/>
|
11201 |
<line num="428" type="stmt" count="0"/>
|
11202 |
-
<line num="429" type="stmt" count="0"/>
|
11203 |
<line num="430" type="stmt" count="0"/>
|
|
|
11204 |
<line num="432" type="stmt" count="0"/>
|
11205 |
-
<
|
|
|
|
|
11206 |
</file>
|
11207 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/settings/backup-directory.php">
|
11208 |
<line num="17" type="stmt" count="0"/>
|
@@ -14827,7 +14864,7 @@
|
|
14827 |
</file>
|
14828 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
|
14829 |
<class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
|
14830 |
-
<metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="
|
14831 |
</class>
|
14832 |
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
14833 |
<line num="67" type="stmt" count="0"/>
|
@@ -15090,29 +15127,31 @@
|
|
15090 |
<line num="544" type="stmt" count="0"/>
|
15091 |
<line num="545" type="stmt" count="0"/>
|
15092 |
<line num="546" type="stmt" count="0"/>
|
15093 |
-
<line num="
|
15094 |
-
<line num="
|
15095 |
-
<line num="
|
15096 |
-
<line num="
|
15097 |
-
<line num="
|
15098 |
<line num="562" type="stmt" count="0"/>
|
|
|
15099 |
<line num="564" type="stmt" count="0"/>
|
15100 |
-
<line num="
|
15101 |
<line num="567" type="stmt" count="0"/>
|
15102 |
-
<line num="
|
15103 |
-
<line num="
|
15104 |
-
<line num="
|
15105 |
-
<line num="
|
15106 |
-
<line num="
|
15107 |
-
<line num="
|
15108 |
-
<line num="
|
15109 |
-
<line num="
|
15110 |
-
<line num="
|
15111 |
-
<line num="
|
15112 |
-
<line num="
|
15113 |
-
<line num="
|
15114 |
-
<line num="
|
15115 |
-
<
|
|
|
15116 |
</file>
|
15117 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
|
15118 |
<line num="17" type="stmt" count="0"/>
|
@@ -70598,7 +70637,7 @@
|
|
70598 |
</file>
|
70599 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-auto-updates.php">
|
70600 |
<class name="Test_Boldgrid_Backup_Admin_Auto_Updates" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Auto">
|
70601 |
-
<metrics complexity="19" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="
|
70602 |
</class>
|
70603 |
<line num="50" type="method" name="install_plugin" visibility="public" complexity="5" crap="5" count="2"/>
|
70604 |
<line num="51" type="stmt" count="2"/>
|
@@ -70663,60 +70702,60 @@
|
|
70663 |
<line num="154" type="stmt" count="1"/>
|
70664 |
<line num="155" type="stmt" count="1"/>
|
70665 |
<line num="156" type="stmt" count="1"/>
|
70666 |
-
<line num="
|
70667 |
<line num="160" type="stmt" count="1"/>
|
70668 |
<line num="161" type="stmt" count="1"/>
|
70669 |
<line num="162" type="stmt" count="1"/>
|
70670 |
<line num="163" type="stmt" count="1"/>
|
70671 |
<line num="164" type="stmt" count="1"/>
|
70672 |
-
<line num="
|
70673 |
<line num="169" type="stmt" count="1"/>
|
70674 |
<line num="170" type="stmt" count="1"/>
|
70675 |
<line num="171" type="stmt" count="1"/>
|
70676 |
<line num="172" type="stmt" count="1"/>
|
70677 |
<line num="173" type="stmt" count="1"/>
|
70678 |
-
<line num="
|
70679 |
<line num="177" type="stmt" count="1"/>
|
70680 |
<line num="178" type="stmt" count="1"/>
|
70681 |
<line num="179" type="stmt" count="1"/>
|
70682 |
<line num="180" type="stmt" count="1"/>
|
70683 |
-
<line num="
|
70684 |
-
<line num="
|
70685 |
<line num="190" type="stmt" count="1"/>
|
70686 |
<line num="191" type="stmt" count="1"/>
|
70687 |
<line num="192" type="stmt" count="1"/>
|
70688 |
-
<line num="
|
70689 |
<line num="196" type="stmt" count="1"/>
|
70690 |
<line num="197" type="stmt" count="1"/>
|
70691 |
<line num="198" type="stmt" count="1"/>
|
70692 |
-
<line num="
|
70693 |
<line num="202" type="stmt" count="1"/>
|
70694 |
<line num="203" type="stmt" count="1"/>
|
70695 |
<line num="204" type="stmt" count="1"/>
|
70696 |
-
<line num="
|
70697 |
<line num="207" type="stmt" count="1"/>
|
70698 |
<line num="208" type="stmt" count="1"/>
|
70699 |
-
<line num="
|
70700 |
<line num="212" type="stmt" count="1"/>
|
70701 |
<line num="213" type="stmt" count="1"/>
|
70702 |
<line num="214" type="stmt" count="1"/>
|
70703 |
<line num="215" type="stmt" count="1"/>
|
70704 |
<line num="216" type="stmt" count="1"/>
|
70705 |
-
<line num="
|
70706 |
<line num="220" type="stmt" count="1"/>
|
70707 |
<line num="221" type="stmt" count="1"/>
|
70708 |
<line num="222" type="stmt" count="1"/>
|
70709 |
<line num="223" type="stmt" count="1"/>
|
70710 |
<line num="224" type="stmt" count="1"/>
|
70711 |
-
<line num="
|
70712 |
<line num="228" type="stmt" count="1"/>
|
70713 |
<line num="229" type="stmt" count="1"/>
|
70714 |
<line num="230" type="stmt" count="1"/>
|
70715 |
<line num="231" type="stmt" count="1"/>
|
70716 |
-
<line num="
|
70717 |
-
<line num="239" type="
|
70718 |
<line num="240" type="stmt" count="1"/>
|
70719 |
-
<line num="
|
70720 |
<line num="243" type="stmt" count="1"/>
|
70721 |
<line num="244" type="stmt" count="1"/>
|
70722 |
<line num="245" type="stmt" count="1"/>
|
@@ -70724,8 +70763,8 @@
|
|
70724 |
<line num="247" type="stmt" count="1"/>
|
70725 |
<line num="248" type="stmt" count="1"/>
|
70726 |
<line num="249" type="stmt" count="1"/>
|
70727 |
-
<line num="
|
70728 |
-
<line num="257" type="
|
70729 |
<line num="258" type="stmt" count="1"/>
|
70730 |
<line num="259" type="stmt" count="1"/>
|
70731 |
<line num="260" type="stmt" count="1"/>
|
@@ -70736,7 +70775,7 @@
|
|
70736 |
<line num="265" type="stmt" count="1"/>
|
70737 |
<line num="266" type="stmt" count="1"/>
|
70738 |
<line num="267" type="stmt" count="1"/>
|
70739 |
-
<line num="
|
70740 |
<line num="270" type="stmt" count="1"/>
|
70741 |
<line num="271" type="stmt" count="1"/>
|
70742 |
<line num="272" type="stmt" count="1"/>
|
@@ -70748,47 +70787,48 @@
|
|
70748 |
<line num="278" type="stmt" count="1"/>
|
70749 |
<line num="279" type="stmt" count="1"/>
|
70750 |
<line num="280" type="stmt" count="1"/>
|
70751 |
-
<line num="
|
70752 |
-
<line num="288" type="
|
70753 |
<line num="289" type="stmt" count="1"/>
|
70754 |
<line num="290" type="stmt" count="1"/>
|
70755 |
-
<line num="
|
70756 |
-
<line num="
|
70757 |
-
<line num="
|
70758 |
-
<line num="
|
70759 |
<line num="302" type="stmt" count="1"/>
|
70760 |
-
<line num="
|
70761 |
-
<line num="313" type="
|
70762 |
<line num="314" type="stmt" count="1"/>
|
70763 |
-
<line num="
|
70764 |
<line num="318" type="stmt" count="1"/>
|
70765 |
<line num="319" type="stmt" count="1"/>
|
70766 |
<line num="320" type="stmt" count="1"/>
|
70767 |
-
<line num="
|
70768 |
<line num="323" type="stmt" count="1"/>
|
70769 |
<line num="324" type="stmt" count="1"/>
|
70770 |
<line num="325" type="stmt" count="1"/>
|
70771 |
<line num="326" type="stmt" count="1"/>
|
70772 |
<line num="327" type="stmt" count="1"/>
|
70773 |
<line num="328" type="stmt" count="1"/>
|
70774 |
-
<line num="
|
70775 |
<line num="331" type="stmt" count="1"/>
|
70776 |
<line num="332" type="stmt" count="1"/>
|
70777 |
<line num="333" type="stmt" count="1"/>
|
70778 |
<line num="334" type="stmt" count="1"/>
|
70779 |
<line num="335" type="stmt" count="1"/>
|
70780 |
-
<line num="
|
70781 |
<line num="339" type="stmt" count="1"/>
|
70782 |
-
<line num="
|
70783 |
<line num="342" type="stmt" count="1"/>
|
70784 |
-
<line num="
|
70785 |
<line num="345" type="stmt" count="1"/>
|
70786 |
<line num="346" type="stmt" count="1"/>
|
70787 |
<line num="347" type="stmt" count="1"/>
|
70788 |
<line num="348" type="stmt" count="1"/>
|
70789 |
<line num="349" type="stmt" count="1"/>
|
70790 |
<line num="350" type="stmt" count="1"/>
|
70791 |
-
<
|
|
|
70792 |
</file>
|
70793 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-compressor.php">
|
70794 |
<class name="Test_Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
|
@@ -72647,17 +72687,16 @@
|
|
72647 |
</file>
|
72648 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Factory.php">
|
72649 |
<class name="Factory" namespace="Boldgrid\Library\Library\Plugin">
|
72650 |
-
<metrics complexity="25" methods="7" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="
|
72651 |
</class>
|
72652 |
-
<line num="
|
72653 |
-
<line num="39" type="stmt" count="36"/>
|
72654 |
<line num="40" type="stmt" count="36"/>
|
72655 |
-
<line num="41" type="stmt" count="
|
72656 |
<line num="42" type="stmt" count="29"/>
|
72657 |
-
<line num="43" type="stmt" count="
|
72658 |
-
<line num="
|
72659 |
-
<line num="
|
72660 |
-
<line num="59" type="
|
72661 |
<line num="61" type="stmt" count="29"/>
|
72662 |
<line num="63" type="stmt" count="29"/>
|
72663 |
<line num="65" type="stmt" count="29"/>
|
@@ -72665,76 +72704,78 @@
|
|
72665 |
<line num="69" type="stmt" count="29"/>
|
72666 |
<line num="71" type="stmt" count="29"/>
|
72667 |
<line num="73" type="stmt" count="29"/>
|
72668 |
-
<line num="74" type="stmt" count="29"/>
|
72669 |
<line num="75" type="stmt" count="29"/>
|
72670 |
<line num="76" type="stmt" count="29"/>
|
72671 |
<line num="77" type="stmt" count="29"/>
|
72672 |
<line num="78" type="stmt" count="29"/>
|
|
|
72673 |
<line num="80" type="stmt" count="29"/>
|
72674 |
-
<line num="
|
72675 |
-
<line num="
|
72676 |
-
<line num="
|
72677 |
-
<line num="
|
72678 |
-
<line num="
|
72679 |
-
<line num="
|
72680 |
-
<line num="
|
72681 |
-
<line num="
|
72682 |
-
<line num="
|
72683 |
<line num="108" type="stmt" count="36"/>
|
72684 |
-
<line num="109" type="stmt" count="36"/>
|
72685 |
<line num="110" type="stmt" count="36"/>
|
72686 |
<line num="111" type="stmt" count="36"/>
|
72687 |
<line num="112" type="stmt" count="36"/>
|
|
|
72688 |
<line num="114" type="stmt" count="36"/>
|
72689 |
-
<line num="
|
72690 |
-
<line num="
|
72691 |
-
<line num="
|
72692 |
-
<line num="131" type="stmt" count="0"/>
|
72693 |
<line num="132" type="stmt" count="29"/>
|
72694 |
-
<line num="133" type="stmt" count="
|
72695 |
<line num="134" type="stmt" count="0"/>
|
72696 |
<line num="135" type="stmt" count="29"/>
|
72697 |
-
<line num="136" type="stmt" count="
|
72698 |
-
<line num="137" type="stmt" count="
|
72699 |
-
<line num="138" type="stmt" count="
|
72700 |
-
<line num="139" type="stmt" count="
|
72701 |
<line num="140" type="stmt" count="29"/>
|
72702 |
-
<line num="
|
72703 |
-
<line num="
|
72704 |
-
<line num="
|
72705 |
-
<line num="
|
|
|
72706 |
<line num="158" type="stmt" count="36"/>
|
72707 |
<line num="159" type="stmt" count="36"/>
|
72708 |
-
<line num="
|
72709 |
-
<line num="
|
72710 |
-
<line num="167" type="stmt" count="36"/>
|
72711 |
<line num="168" type="stmt" count="36"/>
|
72712 |
<line num="169" type="stmt" count="36"/>
|
72713 |
<line num="170" type="stmt" count="36"/>
|
72714 |
<line num="171" type="stmt" count="36"/>
|
72715 |
<line num="172" type="stmt" count="36"/>
|
|
|
72716 |
<line num="174" type="stmt" count="36"/>
|
72717 |
-
<line num="
|
72718 |
-
<line num="
|
72719 |
-
<line num="
|
72720 |
-
<line num="
|
72721 |
-
<line num="
|
72722 |
-
<line num="199" type="
|
72723 |
<line num="200" type="stmt" count="36"/>
|
72724 |
-
<line num="
|
72725 |
-
<line num="
|
72726 |
-
<line num="
|
72727 |
-
<line num="204" type="stmt" count="0"/>
|
72728 |
<line num="205" type="stmt" count="0"/>
|
72729 |
<line num="206" type="stmt" count="0"/>
|
72730 |
<line num="207" type="stmt" count="0"/>
|
72731 |
-
<line num="
|
72732 |
-
<line num="
|
72733 |
-
<line num="
|
72734 |
-
<line num="
|
72735 |
-
<line num="
|
|
|
72736 |
<line num="217" type="stmt" count="0"/>
|
72737 |
-
<
|
|
|
|
|
72738 |
</file>
|
72739 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Notice.php">
|
72740 |
<class name="Notice" namespace="Boldgrid\Library\Library\Plugin">
|
@@ -72926,120 +72967,123 @@
|
|
72926 |
</file>
|
72927 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugin.php">
|
72928 |
<class name="Plugin" namespace="Boldgrid\Library\Library\Plugin">
|
72929 |
-
<metrics complexity="
|
72930 |
</class>
|
72931 |
-
<line num="139" type="method" name="__construct" visibility="public" complexity="
|
72932 |
<line num="141" type="stmt" count="36"/>
|
72933 |
<line num="142" type="stmt" count="36"/>
|
72934 |
<line num="143" type="stmt" count="36"/>
|
72935 |
<line num="145" type="stmt" count="36"/>
|
72936 |
<line num="147" type="stmt" count="36"/>
|
72937 |
<line num="148" type="stmt" count="36"/>
|
72938 |
-
<line num="
|
72939 |
-
<line num="
|
72940 |
-
<line num="
|
72941 |
-
<line num="
|
72942 |
-
<line num="
|
72943 |
-
<line num="
|
72944 |
-
<line num="
|
72945 |
-
<line num="
|
72946 |
-
<line num="
|
|
|
72947 |
<line num="188" type="stmt" count="0"/>
|
72948 |
-
<line num="
|
72949 |
-
<line num="
|
72950 |
-
<line num="
|
72951 |
-
<line num="
|
72952 |
-
<line num="
|
72953 |
<line num="205" type="stmt" count="0"/>
|
72954 |
-
<line num="
|
72955 |
-
<line num="
|
72956 |
-
<line num="
|
72957 |
-
<line num="
|
72958 |
-
<line num="
|
72959 |
-
<line num="
|
72960 |
-
<line num="
|
72961 |
-
<line num="
|
72962 |
<line num="249" type="stmt" count="0"/>
|
72963 |
-
<line num="
|
72964 |
-
<line num="
|
72965 |
-
<line num="
|
72966 |
-
<line num="262" type="
|
72967 |
<line num="263" type="stmt" count="0"/>
|
72968 |
-
<line num="273" type="method" name="
|
72969 |
-
<line num="274" type="stmt" count="
|
72970 |
-
<line num="284" type="method" name="
|
72971 |
-
<line num="285" type="stmt" count="
|
72972 |
-
<line num="
|
72973 |
-
<line num="296" type="
|
72974 |
-
<line num="
|
72975 |
-
<line num="307" type="method" name="
|
72976 |
-
<line num="308" type="stmt" count="
|
72977 |
-
<line num="
|
72978 |
-
<line num="
|
72979 |
-
<line num="
|
72980 |
-
<line num="321" type="
|
72981 |
<line num="322" type="stmt" count="1"/>
|
72982 |
-
<line num="
|
72983 |
-
<line num="
|
72984 |
-
<line num="
|
72985 |
-
<line num="337" type="stmt" count="
|
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="377" type="
|
73001 |
-
<line num="378" type="stmt" count="
|
73002 |
-
<line num="
|
73003 |
-
<line num="
|
73004 |
-
<line num="
|
73005 |
-
<line num="
|
73006 |
-
<line num="
|
73007 |
-
<line num="
|
73008 |
-
<line num="404" type="method" name="setPluginData" visibility="public" complexity="1" crap="2" count="0"/>
|
73009 |
<line num="405" type="stmt" count="0"/>
|
73010 |
<line num="406" type="stmt" count="0"/>
|
73011 |
-
<line num="415" type="method" name="
|
73012 |
<line num="416" type="stmt" count="0"/>
|
73013 |
<line num="417" type="stmt" count="0"/>
|
73014 |
-
<line num="
|
73015 |
-
<line num="
|
73016 |
-
<line num="
|
|
|
73017 |
<line num="431" type="stmt" count="0"/>
|
73018 |
-
<line num="
|
73019 |
-
<line num="
|
73020 |
<line num="444" type="stmt" count="0"/>
|
73021 |
-
<line num="454" type="method" name="
|
73022 |
-
<line num="455" type="stmt" count="
|
73023 |
-
<line num="
|
73024 |
-
<line num="466" type="stmt" count="
|
73025 |
-
<line num="
|
73026 |
-
<line num="
|
73027 |
-
<line num="
|
73028 |
-
<line num="
|
73029 |
-
<line num="
|
73030 |
-
<line num="
|
73031 |
-
<line num="
|
73032 |
-
<line num="
|
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 |
-
<
|
|
|
|
|
73043 |
</file>
|
73044 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugins.php">
|
73045 |
<class name="Plugins" namespace="Boldgrid\Library\Library\Plugin">
|
@@ -73076,127 +73120,115 @@
|
|
73076 |
</file>
|
73077 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/UpdateData.php">
|
73078 |
<class name="UpdateData" namespace="Boldgrid\Library\Library\Plugin">
|
73079 |
-
<metrics complexity="
|
73080 |
</class>
|
73081 |
-
<line num="
|
73082 |
-
<line num="
|
73083 |
-
<line num="
|
73084 |
-
<line num="
|
73085 |
-
<line num="
|
73086 |
-
<line num="
|
73087 |
-
<line num="
|
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="193" type="stmt" count="2"/>
|
73129 |
-
<line num="203" type="method" name="fetchPluginStats" visibility="public" complexity="6" crap="6.02" count="2"/>
|
73130 |
-
<line num="205" type="stmt" count="2"/>
|
73131 |
-
<line num="207" type="stmt" count="2"/>
|
73132 |
-
<line num="208" type="stmt" count="2"/>
|
73133 |
-
<line num="209" type="stmt" count="2"/>
|
73134 |
<line num="210" type="stmt" count="0"/>
|
73135 |
-
<line num="
|
73136 |
-
<line num="214" type="stmt" count="
|
73137 |
-
<line num="215" type="stmt" count="
|
73138 |
-
<line num="217" type="stmt" count="
|
73139 |
-
<line num="218" type="stmt" count="
|
73140 |
-
<line num="219" type="stmt" count="
|
73141 |
-
<line num="220" type="stmt" count="
|
73142 |
-
<line num="221" type="stmt" count="
|
73143 |
-
<line num="
|
73144 |
-
<line num="
|
73145 |
-
<line num="
|
73146 |
-
<line num="
|
73147 |
-
<line num="
|
73148 |
-
<line num="
|
73149 |
-
<line num="241" type="stmt" count="
|
73150 |
-
<line num="
|
73151 |
-
<line num="
|
73152 |
-
<line num="
|
73153 |
-
<line num="
|
73154 |
-
<line num="
|
73155 |
-
<line num="
|
73156 |
-
<line num="
|
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 |
-
<
|
73175 |
-
|
73176 |
-
|
73177 |
-
<
|
73178 |
-
|
73179 |
-
|
73180 |
-
<line num="
|
73181 |
-
<line num="
|
73182 |
-
<line num="
|
73183 |
-
<line num="
|
73184 |
-
<line num="
|
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 |
-
<
|
73194 |
-
<line num="54" type="stmt" count="0"/>
|
73195 |
-
<line num="61" type="method" name="test_fetchPluginStats" visibility="public" complexity="1" crap="2" count="0"/>
|
73196 |
-
<line num="62" type="stmt" count="0"/>
|
73197 |
-
<line num="63" type="stmt" count="0"/>
|
73198 |
-
<line num="64" type="stmt" count="0"/>
|
73199 |
-
<metrics loc="64" ncloc="28" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="17" coveredstatements="0" elements="19" coveredelements="0"/>
|
73200 |
</file>
|
73201 |
</package>
|
73202 |
<package name="Boldgrid\Library\Library\Theme">
|
@@ -73261,57 +73293,100 @@
|
|
73261 |
</file>
|
73262 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Theme/UpdateData.php">
|
73263 |
<class name="UpdateData" namespace="Boldgrid\Library\Library\Theme">
|
73264 |
-
<metrics complexity="
|
73265 |
</class>
|
73266 |
-
<line num="
|
73267 |
-
<line num="
|
73268 |
-
<line num="89" type="stmt" count="36"/>
|
73269 |
-
<line num="91" type="stmt" count="36"/>
|
73270 |
-
<line num="92" type="stmt" count="34"/>
|
73271 |
-
<line num="93" type="stmt" count="34"/>
|
73272 |
-
<line num="94" type="stmt" count="34"/>
|
73273 |
-
<line num="95" type="stmt" count="34"/>
|
73274 |
-
<line num="96" type="stmt" count="34"/>
|
73275 |
-
<line num="97" type="stmt" count="2"/>
|
73276 |
-
<line num="98" type="stmt" count="2"/>
|
73277 |
-
<line num="99" type="stmt" count="2"/>
|
73278 |
-
<line num="100" type="stmt" count="2"/>
|
73279 |
-
<line num="102" type="stmt" count="36"/>
|
73280 |
-
<line num="104" type="stmt" count="36"/>
|
73281 |
-
<line num="106" type="stmt" count="36"/>
|
73282 |
<line num="107" type="stmt" count="36"/>
|
73283 |
-
<line num="
|
73284 |
-
<line num="
|
73285 |
-
<line num="
|
73286 |
-
<line num="
|
73287 |
-
<line num="
|
73288 |
-
<line num="
|
73289 |
-
<line num="
|
73290 |
-
<line num="
|
73291 |
-
<line num="
|
73292 |
-
<line num="
|
73293 |
-
<line num="
|
73294 |
-
<line num="
|
73295 |
-
<line num="
|
73296 |
-
<line num="
|
73297 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
73298 |
<line num="153" type="stmt" count="36"/>
|
73299 |
-
<line num="154" type="stmt" count="
|
73300 |
<line num="156" type="stmt" count="36"/>
|
73301 |
-
<line num="157" type="stmt" count="
|
73302 |
-
<line num="
|
73303 |
-
<line num="
|
73304 |
-
<line num="
|
73305 |
-
<line num="
|
73306 |
-
<line num="
|
73307 |
-
<line num="
|
|
|
|
|
|
|
|
|
73308 |
<line num="173" type="stmt" count="36"/>
|
73309 |
<line num="174" type="stmt" count="36"/>
|
73310 |
<line num="175" type="stmt" count="36"/>
|
73311 |
<line num="176" type="stmt" count="36"/>
|
73312 |
-
<line num="
|
73313 |
<line num="180" type="stmt" count="36"/>
|
73314 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73315 |
</file>
|
73316 |
</package>
|
73317 |
<package name="Boldgrid\Library\Library\Ui">
|
@@ -75416,7 +75491,7 @@
|
|
75416 |
</file>
|
75417 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Theme/test-update-data.php">
|
75418 |
<class name="Test_BoldGrid_Library_Library_Theme_UpdateData" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Theme">
|
75419 |
-
<metrics complexity="
|
75420 |
</class>
|
75421 |
<line num="32" type="method" name="setUp" visibility="public" complexity="1" crap="2" count="0"/>
|
75422 |
<line num="34" type="stmt" count="0"/>
|
@@ -75428,28 +75503,25 @@
|
|
75428 |
<line num="40" type="stmt" count="0"/>
|
75429 |
<line num="41" type="stmt" count="0"/>
|
75430 |
<line num="42" type="stmt" count="0"/>
|
75431 |
-
<line num="
|
75432 |
-
<line num="
|
75433 |
-
<line num="46" type="
|
75434 |
<line num="47" type="stmt" count="0"/>
|
75435 |
<line num="48" type="stmt" count="0"/>
|
75436 |
-
<line num="
|
|
|
75437 |
<line num="51" type="stmt" count="0"/>
|
75438 |
<line num="52" type="stmt" count="0"/>
|
75439 |
<line num="53" type="stmt" count="0"/>
|
75440 |
<line num="54" type="stmt" count="0"/>
|
75441 |
-
<line num="
|
75442 |
-
<line num="56" type="stmt" count="0"/>
|
75443 |
<line num="57" type="stmt" count="0"/>
|
75444 |
<line num="58" type="stmt" count="0"/>
|
75445 |
-
<line num="60" type="
|
75446 |
<line num="61" type="stmt" count="0"/>
|
75447 |
-
<line num="
|
75448 |
<line num="64" type="stmt" count="0"/>
|
75449 |
-
<
|
75450 |
-
<line num="67" type="stmt" count="0"/>
|
75451 |
-
<line num="68" type="stmt" count="0"/>
|
75452 |
-
<metrics loc="68" ncloc="48" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="27" coveredstatements="0" elements="31" coveredelements="0"/>
|
75453 |
</file>
|
75454 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Util/test-plugin.php">
|
75455 |
<class name="Test_BoldGrid_Library_Util_Plugin" namespace="global" fullPackage="Test.BoldGrid.Library.Util">
|
@@ -76221,7 +76293,7 @@
|
|
76221 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
76222 |
</file>
|
76223 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
76224 |
-
<class name="
|
76225 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
76226 |
</class>
|
76227 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -76313,7 +76385,7 @@
|
|
76313 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
76314 |
</file>
|
76315 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
76316 |
-
<class name="
|
76317 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
76318 |
</class>
|
76319 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -95532,6 +95604,6 @@
|
|
95532 |
<line num="16" type="stmt" count="0"/>
|
95533 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
95534 |
</file>
|
95535 |
-
<metrics files="
|
95536 |
</project>
|
95537 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1588874045">
|
3 |
+
<project timestamp="1588874045">
|
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">
|
897 |
</file>
|
898 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-details.php">
|
899 |
<class name="Boldgrid_Backup_Admin_Archive_Details" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
900 |
+
<metrics complexity="20" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="100" coveredstatements="2" elements="106" coveredelements="3"/>
|
901 |
</class>
|
902 |
<line num="48" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
903 |
<line num="49" type="stmt" count="29"/>
|
949 |
<line num="132" type="stmt" count="0"/>
|
950 |
<line num="134" type="stmt" count="0"/>
|
951 |
<line num="135" type="stmt" count="0"/>
|
952 |
+
<line num="136" type="stmt" count="0"/>
|
953 |
+
<line num="138" type="stmt" count="0"/>
|
954 |
<line num="140" type="stmt" count="0"/>
|
955 |
<line num="141" type="stmt" count="0"/>
|
956 |
<line num="142" type="stmt" count="0"/>
|
957 |
+
<line num="143" type="stmt" count="0"/>
|
958 |
<line num="147" type="stmt" count="0"/>
|
959 |
<line num="148" type="stmt" count="0"/>
|
960 |
<line num="149" type="stmt" count="0"/>
|
961 |
<line num="150" type="stmt" count="0"/>
|
962 |
<line num="151" type="stmt" count="0"/>
|
963 |
<line num="152" type="stmt" count="0"/>
|
964 |
+
<line num="153" type="stmt" count="0"/>
|
965 |
<line num="155" type="stmt" count="0"/>
|
966 |
<line num="156" type="stmt" count="0"/>
|
967 |
+
<line num="157" type="stmt" count="0"/>
|
968 |
<line num="161" type="stmt" count="0"/>
|
969 |
<line num="162" type="stmt" count="0"/>
|
970 |
+
<line num="163" type="stmt" count="0"/>
|
971 |
<line num="165" type="stmt" count="0"/>
|
972 |
<line num="166" type="stmt" count="0"/>
|
973 |
+
<line num="167" type="stmt" count="0"/>
|
974 |
<line num="169" type="stmt" count="0"/>
|
975 |
<line num="170" type="stmt" count="0"/>
|
976 |
+
<line num="171" type="stmt" count="0"/>
|
977 |
+
<line num="178" type="stmt" count="0"/>
|
978 |
<line num="180" type="stmt" count="0"/>
|
979 |
+
<line num="181" type="stmt" count="0"/>
|
980 |
+
<line num="183" type="stmt" count="0"/>
|
981 |
<line num="188" type="stmt" count="0"/>
|
982 |
<line num="189" type="stmt" count="0"/>
|
983 |
+
<line num="190" type="stmt" count="0"/>
|
984 |
<line num="194" type="stmt" count="0"/>
|
985 |
+
<line num="195" type="stmt" count="0"/>
|
986 |
+
<line num="209" type="method" name="validate_nonce" visibility="public" complexity="1" crap="2" count="0"/>
|
987 |
+
<line num="210" type="stmt" count="0"/>
|
988 |
+
<line num="218" type="method" name="wp_ajax_update" visibility="public" complexity="11" crap="132" count="0"/>
|
989 |
<line num="219" type="stmt" count="0"/>
|
990 |
<line num="220" type="stmt" count="0"/>
|
991 |
+
<line num="221" type="stmt" count="0"/>
|
992 |
<line num="223" type="stmt" count="0"/>
|
993 |
<line num="224" type="stmt" count="0"/>
|
994 |
+
<line num="225" type="stmt" count="0"/>
|
995 |
<line num="227" type="stmt" count="0"/>
|
996 |
<line num="228" type="stmt" count="0"/>
|
997 |
+
<line num="229" type="stmt" count="0"/>
|
998 |
+
<line num="231" type="stmt" count="0"/>
|
999 |
<line num="233" type="stmt" count="0"/>
|
1000 |
<line num="234" type="stmt" count="0"/>
|
1001 |
+
<line num="235" type="stmt" count="0"/>
|
1002 |
+
<line num="238" type="stmt" count="0"/>
|
1003 |
<line num="240" type="stmt" count="0"/>
|
1004 |
<line num="241" type="stmt" count="0"/>
|
1005 |
+
<line num="242" type="stmt" count="0"/>
|
1006 |
<line num="244" type="stmt" count="0"/>
|
1007 |
+
<line num="245" type="stmt" count="0"/>
|
1008 |
+
<metrics loc="246" ncloc="150" classes="1" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="100" coveredstatements="2" elements="106" coveredelements="3"/>
|
1009 |
</file>
|
1010 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-fail.php">
|
1011 |
<class name="Boldgrid_Backup_Admin_Archive_Fail" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
2032 |
</file>
|
2033 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-auto-updates.php">
|
2034 |
<class name="Boldgrid_Backup_Admin_Auto_Updates" namespace="global" fullPackage="Boldgrid.Backup.Admin.Auto">
|
2035 |
+
<metrics complexity="26" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="67" coveredstatements="67" elements="74" coveredelements="74"/>
|
2036 |
</class>
|
2037 |
<line num="60" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="36"/>
|
2038 |
<line num="62" type="stmt" count="36"/>
|
2053 |
<line num="94" type="stmt" count="1"/>
|
2054 |
<line num="95" type="stmt" count="1"/>
|
2055 |
<line num="96" type="stmt" count="1"/>
|
|
|
2056 |
<line num="98" type="stmt" count="1"/>
|
2057 |
<line num="99" type="stmt" count="1"/>
|
2058 |
<line num="100" type="stmt" count="1"/>
|
2059 |
+
<line num="101" type="stmt" count="1"/>
|
2060 |
<line num="102" type="stmt" count="1"/>
|
2061 |
+
<line num="104" type="stmt" count="1"/>
|
2062 |
+
<line num="116" type="method" name="maybe_update_theme" visibility="public" complexity="4" crap="4" count="1"/>
|
|
|
2063 |
<line num="117" type="stmt" count="1"/>
|
2064 |
<line num="118" type="stmt" count="1"/>
|
2065 |
<line num="119" type="stmt" count="1"/>
|
2066 |
+
<line num="120" type="stmt" count="1"/>
|
2067 |
<line num="121" type="stmt" count="1"/>
|
2068 |
+
<line num="123" type="stmt" count="1"/>
|
2069 |
<line num="124" type="stmt" count="1"/>
|
2070 |
+
<line num="126" type="stmt" count="1"/>
|
2071 |
+
<line num="141" type="method" name="auto_update_plugins" visibility="public" complexity="4" crap="4" count="1"/>
|
|
|
2072 |
<line num="143" type="stmt" count="1"/>
|
2073 |
<line num="144" type="stmt" count="1"/>
|
2074 |
<line num="145" type="stmt" count="1"/>
|
2075 |
<line num="146" type="stmt" count="1"/>
|
2076 |
<line num="147" type="stmt" count="1"/>
|
2077 |
+
<line num="148" type="stmt" count="1"/>
|
2078 |
<line num="149" type="stmt" count="1"/>
|
2079 |
+
<line num="151" type="stmt" count="1"/>
|
2080 |
+
<line num="154" type="stmt" count="1"/>
|
2081 |
+
<line num="169" type="method" name="auto_update_themes" visibility="public" complexity="4" crap="4" count="1"/>
|
|
|
2082 |
<line num="171" type="stmt" count="1"/>
|
2083 |
<line num="172" type="stmt" count="1"/>
|
2084 |
<line num="173" type="stmt" count="1"/>
|
2085 |
<line num="174" type="stmt" count="1"/>
|
2086 |
<line num="175" type="stmt" count="1"/>
|
2087 |
+
<line num="176" type="stmt" count="1"/>
|
2088 |
<line num="177" type="stmt" count="1"/>
|
2089 |
+
<line num="179" type="stmt" count="1"/>
|
2090 |
+
<line num="182" type="stmt" count="1"/>
|
2091 |
+
<line num="193" type="method" name="auto_update_core" visibility="public" complexity="7" crap="7" count="1"/>
|
|
|
2092 |
<line num="195" type="stmt" count="1"/>
|
2093 |
<line num="196" type="stmt" count="1"/>
|
2094 |
<line num="197" type="stmt" count="1"/>
|
2095 |
<line num="198" type="stmt" count="1"/>
|
2096 |
+
<line num="199" type="stmt" count="1"/>
|
2097 |
<line num="200" type="stmt" count="1"/>
|
|
|
2098 |
<line num="202" type="stmt" count="1"/>
|
2099 |
<line num="203" type="stmt" count="1"/>
|
2100 |
+
<line num="204" type="stmt" count="1"/>
|
2101 |
<line num="205" type="stmt" count="1"/>
|
|
|
2102 |
<line num="207" type="stmt" count="1"/>
|
2103 |
<line num="208" type="stmt" count="1"/>
|
2104 |
+
<line num="209" type="stmt" count="1"/>
|
2105 |
<line num="210" type="stmt" count="1"/>
|
|
|
2106 |
<line num="212" type="stmt" count="1"/>
|
2107 |
<line num="213" type="stmt" count="1"/>
|
2108 |
<line num="214" type="stmt" count="1"/>
|
2109 |
+
<line num="215" type="stmt" count="1"/>
|
2110 |
+
<line num="216" type="stmt" count="1"/>
|
2111 |
+
<metrics loc="217" ncloc="105" classes="1" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="67" coveredstatements="67" elements="74" coveredelements="74"/>
|
2112 |
</file>
|
2113 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-backup-dir.php">
|
2114 |
<class name="Boldgrid_Backup_Admin_Backup_Dir" namespace="global" fullPackage="Boldgrid.Backup.Admin.Backup">
|
2210 |
<line num="269" type="stmt" count="7"/>
|
2211 |
<line num="272" type="stmt" count="7"/>
|
2212 |
<line num="273" type="stmt" count="7"/>
|
2213 |
+
<line num="274" type="stmt" count="7"/>
|
2214 |
<line num="277" type="stmt" count="7"/>
|
2215 |
<line num="279" type="stmt" count="7"/>
|
2216 |
<line num="280" type="stmt" count="7"/>
|
2661 |
</file>
|
2662 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
|
2663 |
<class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2664 |
+
<metrics complexity="234" methods="29" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1062" coveredstatements="503" elements="1091" coveredelements="507"/>
|
2665 |
</class>
|
2666 |
<line num="580" type="method" name="__construct" visibility="public" complexity="7" crap="7.03" count="29"/>
|
2667 |
<line num="581" type="stmt" count="29"/>
|
3501 |
<line num="2413" type="stmt" count="1"/>
|
3502 |
<line num="2416" type="stmt" count="1"/>
|
3503 |
<line num="2419" type="stmt" count="1"/>
|
3504 |
+
<line num="2432" type="method" name="page_archives" visibility="public" complexity="4" crap="20" count="0"/>
|
3505 |
<line num="2433" type="stmt" count="0"/>
|
3506 |
<line num="2436" type="stmt" count="0"/>
|
3507 |
<line num="2438" type="stmt" count="0"/>
|
3515 |
<line num="2454" type="stmt" count="0"/>
|
3516 |
<line num="2455" type="stmt" count="0"/>
|
3517 |
<line num="2458" type="stmt" count="0"/>
|
3518 |
+
<line num="2461" type="stmt" count="0"/>
|
3519 |
+
<line num="2464" type="stmt" count="0"/>
|
|
|
3520 |
<line num="2466" type="stmt" count="0"/>
|
3521 |
+
<line num="2467" type="stmt" count="0"/>
|
3522 |
+
<line num="2468" type="stmt" count="0"/>
|
3523 |
<line num="2471" type="stmt" count="0"/>
|
|
|
3524 |
<line num="2473" type="stmt" count="0"/>
|
3525 |
<line num="2476" type="stmt" count="0"/>
|
3526 |
+
<line num="2477" type="stmt" count="0"/>
|
3527 |
<line num="2478" type="stmt" count="0"/>
|
3528 |
+
<line num="2480" type="stmt" count="0"/>
|
|
|
3529 |
<line num="2483" type="stmt" count="0"/>
|
3530 |
+
<line num="2484" type="stmt" count="0"/>
|
3531 |
+
<line num="2493" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
3532 |
+
<line num="2496" type="stmt" count="0"/>
|
3533 |
+
<line num="2497" type="stmt" count="0"/>
|
3534 |
+
<line num="2498" type="stmt" count="0"/>
|
3535 |
+
<line num="2500" type="stmt" count="0"/>
|
3536 |
<line num="2501" type="stmt" count="0"/>
|
3537 |
<line num="2502" type="stmt" count="0"/>
|
|
|
3538 |
<line num="2505" type="stmt" count="0"/>
|
3539 |
<line num="2506" type="stmt" count="0"/>
|
3540 |
<line num="2507" type="stmt" count="0"/>
|
3541 |
+
<line num="2509" type="stmt" count="0"/>
|
3542 |
<line num="2510" type="stmt" count="0"/>
|
3543 |
<line num="2511" type="stmt" count="0"/>
|
3544 |
+
<line num="2513" type="stmt" count="0"/>
|
|
|
3545 |
<line num="2515" type="stmt" count="0"/>
|
3546 |
<line num="2516" type="stmt" count="0"/>
|
3547 |
+
<line num="2517" type="stmt" count="0"/>
|
3548 |
+
<line num="2519" type="stmt" count="0"/>
|
3549 |
<line num="2520" type="stmt" count="0"/>
|
|
|
3550 |
<line num="2522" type="stmt" count="0"/>
|
|
|
3551 |
<line num="2525" type="stmt" count="0"/>
|
3552 |
+
<line num="2526" type="stmt" count="0"/>
|
3553 |
<line num="2527" type="stmt" count="0"/>
|
3554 |
+
<line num="2528" type="stmt" count="0"/>
|
3555 |
+
<line num="2529" type="stmt" count="0"/>
|
3556 |
<line num="2531" type="stmt" count="0"/>
|
3557 |
<line num="2532" type="stmt" count="0"/>
|
|
|
3558 |
<line num="2534" type="stmt" count="0"/>
|
3559 |
+
<line num="2535" type="stmt" count="0"/>
|
3560 |
<line num="2536" type="stmt" count="0"/>
|
3561 |
+
<line num="2545" type="stmt" count="0"/>
|
3562 |
+
<line num="2546" type="stmt" count="0"/>
|
3563 |
+
<line num="2558" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
|
3564 |
+
<line num="2560" type="stmt" count="0"/>
|
3565 |
+
<line num="2563" type="stmt" count="0"/>
|
3566 |
+
<line num="2564" type="stmt" count="0"/>
|
|
|
3567 |
<line num="2565" type="stmt" count="0"/>
|
3568 |
+
<line num="2566" type="stmt" count="0"/>
|
3569 |
<line num="2569" type="stmt" count="0"/>
|
3570 |
<line num="2570" type="stmt" count="0"/>
|
3571 |
<line num="2571" type="stmt" count="0"/>
|
3572 |
+
<line num="2572" type="stmt" count="0"/>
|
3573 |
+
<line num="2573" type="stmt" count="0"/>
|
|
|
3574 |
<line num="2577" type="stmt" count="0"/>
|
3575 |
<line num="2578" type="stmt" count="0"/>
|
3576 |
+
<line num="2579" type="stmt" count="0"/>
|
3577 |
+
<line num="2580" type="stmt" count="0"/>
|
3578 |
+
<line num="2581" type="stmt" count="0"/>
|
3579 |
<line num="2585" type="stmt" count="0"/>
|
3580 |
+
<line num="2588" type="stmt" count="0"/>
|
3581 |
+
<line num="2589" type="stmt" count="0"/>
|
3582 |
<line num="2590" type="stmt" count="0"/>
|
3583 |
+
<line num="2591" type="stmt" count="0"/>
|
3584 |
<line num="2594" type="stmt" count="0"/>
|
3585 |
+
<line num="2597" type="stmt" count="0"/>
|
3586 |
+
<line num="2598" type="stmt" count="0"/>
|
3587 |
<line num="2599" type="stmt" count="0"/>
|
3588 |
+
<line num="2600" type="stmt" count="0"/>
|
|
|
3589 |
<line num="2604" type="stmt" count="0"/>
|
3590 |
<line num="2605" type="stmt" count="0"/>
|
3591 |
+
<line num="2606" type="stmt" count="0"/>
|
3592 |
<line num="2609" type="stmt" count="0"/>
|
3593 |
<line num="2610" type="stmt" count="0"/>
|
3594 |
<line num="2611" type="stmt" count="0"/>
|
3595 |
+
<line num="2612" type="stmt" count="0"/>
|
3596 |
<line num="2614" type="stmt" count="0"/>
|
|
|
3597 |
<line num="2616" type="stmt" count="0"/>
|
3598 |
+
<line num="2618" type="stmt" count="0"/>
|
3599 |
<line num="2619" type="stmt" count="0"/>
|
3600 |
+
<line num="2620" type="stmt" count="0"/>
|
3601 |
<line num="2623" type="stmt" count="0"/>
|
3602 |
<line num="2624" type="stmt" count="0"/>
|
3603 |
+
<line num="2634" type="method" name="page_backup_test" visibility="public" complexity="6" crap="42" count="0"/>
|
3604 |
+
<line num="2636" type="stmt" count="0"/>
|
3605 |
+
<line num="2639" type="stmt" count="0"/>
|
3606 |
+
<line num="2642" type="stmt" count="0"/>
|
3607 |
+
<line num="2645" type="stmt" count="0"/>
|
3608 |
+
<line num="2648" type="stmt" count="0"/>
|
|
|
3609 |
<line num="2650" type="stmt" count="0"/>
|
3610 |
<line num="2653" type="stmt" count="0"/>
|
3611 |
+
<line num="2656" type="stmt" count="0"/>
|
3612 |
+
<line num="2659" type="stmt" count="0"/>
|
3613 |
+
<line num="2662" type="stmt" count="0"/>
|
3614 |
+
<line num="2665" type="stmt" count="0"/>
|
3615 |
<line num="2667" type="stmt" count="0"/>
|
3616 |
+
<line num="2675" type="stmt" count="0"/>
|
3617 |
+
<line num="2676" type="stmt" count="0"/>
|
3618 |
+
<line num="2677" type="stmt" count="0"/>
|
3619 |
+
<line num="2678" type="stmt" count="0"/>
|
3620 |
+
<line num="2679" type="stmt" count="0"/>
|
3621 |
<line num="2682" type="stmt" count="0"/>
|
3622 |
<line num="2683" type="stmt" count="0"/>
|
3623 |
<line num="2684" type="stmt" count="0"/>
|
3624 |
+
<line num="2685" type="stmt" count="0"/>
|
3625 |
+
<line num="2686" type="stmt" count="0"/>
|
3626 |
<line num="2687" type="stmt" count="0"/>
|
3627 |
<line num="2688" type="stmt" count="0"/>
|
3628 |
<line num="2689" type="stmt" count="0"/>
|
|
|
3629 |
<line num="2691" type="stmt" count="0"/>
|
|
|
|
|
3630 |
<line num="2694" type="stmt" count="0"/>
|
3631 |
+
<line num="2695" type="stmt" count="0"/>
|
3632 |
<line num="2696" type="stmt" count="0"/>
|
3633 |
+
<line num="2697" type="stmt" count="0"/>
|
3634 |
+
<line num="2698" type="stmt" count="0"/>
|
3635 |
<line num="2699" type="stmt" count="0"/>
|
|
|
3636 |
<line num="2701" type="stmt" count="0"/>
|
3637 |
<line num="2702" type="stmt" count="0"/>
|
3638 |
<line num="2703" type="stmt" count="0"/>
|
3639 |
+
<line num="2705" type="stmt" count="0"/>
|
3640 |
<line num="2706" type="stmt" count="0"/>
|
3641 |
<line num="2707" type="stmt" count="0"/>
|
3642 |
+
<line num="2709" type="stmt" count="0"/>
|
3643 |
<line num="2710" type="stmt" count="0"/>
|
|
|
3644 |
<line num="2712" type="stmt" count="0"/>
|
3645 |
+
<line num="2713" type="stmt" count="0"/>
|
3646 |
<line num="2714" type="stmt" count="0"/>
|
3647 |
+
<line num="2721" type="stmt" count="0"/>
|
3648 |
+
<line num="2723" type="stmt" count="0"/>
|
3649 |
+
<line num="2724" type="stmt" count="0"/>
|
|
|
3650 |
<line num="2726" type="stmt" count="0"/>
|
|
|
|
|
3651 |
<line num="2731" type="stmt" count="0"/>
|
3652 |
+
<line num="2732" type="stmt" count="0"/>
|
3653 |
+
<line num="2733" type="stmt" count="0"/>
|
3654 |
<line num="2737" type="stmt" count="0"/>
|
3655 |
<line num="2738" type="stmt" count="0"/>
|
3656 |
+
<line num="2753" type="method" name="set_doing_cron" visibility="public" complexity="3" crap="3" count="29"/>
|
3657 |
+
<line num="2754" type="stmt" count="29"/>
|
3658 |
+
<line num="2755" type="stmt" count="29"/>
|
3659 |
+
<line num="2762" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="29"/>
|
3660 |
+
<line num="2767" type="stmt" count="29"/>
|
3661 |
+
<line num="2769" type="stmt" count="29"/>
|
3662 |
+
<line num="2770" type="stmt" count="29"/>
|
3663 |
+
<line num="2771" type="stmt" count="29"/>
|
3664 |
<line num="2772" type="stmt" count="29"/>
|
3665 |
+
<line num="2773" type="stmt" count="29"/>
|
3666 |
<line num="2774" type="stmt" count="29"/>
|
|
|
3667 |
<line num="2776" type="stmt" count="29"/>
|
3668 |
<line num="2777" type="stmt" count="29"/>
|
|
|
3669 |
<line num="2779" type="stmt" count="29"/>
|
3670 |
+
<line num="2780" type="stmt" count="29"/>
|
3671 |
<line num="2781" type="stmt" count="29"/>
|
3672 |
<line num="2782" type="stmt" count="29"/>
|
3673 |
+
<line num="2783" type="stmt" count="29"/>
|
3674 |
<line num="2784" type="stmt" count="29"/>
|
|
|
3675 |
<line num="2786" type="stmt" count="29"/>
|
3676 |
<line num="2787" type="stmt" count="29"/>
|
3677 |
<line num="2788" type="stmt" count="29"/>
|
3678 |
+
<line num="2794" type="stmt" count="29"/>
|
3679 |
+
<line num="2796" type="stmt" count="29"/>
|
3680 |
+
<line num="2797" type="stmt" count="29"/>
|
3681 |
+
<line num="2798" type="stmt" count="29"/>
|
3682 |
<line num="2799" type="stmt" count="29"/>
|
3683 |
+
<line num="2800" type="stmt" count="29"/>
|
3684 |
<line num="2802" type="stmt" count="29"/>
|
|
|
|
|
3685 |
<line num="2805" type="stmt" count="29"/>
|
3686 |
+
<line num="2806" type="stmt" count="29"/>
|
3687 |
+
<line num="2808" type="stmt" count="29"/>
|
3688 |
<line num="2810" type="stmt" count="29"/>
|
3689 |
+
<line num="2822" type="method" name="set_time_limit" visibility="public" complexity="2" crap="2" count="4"/>
|
3690 |
+
<line num="2823" type="stmt" count="4"/>
|
3691 |
+
<line num="2825" type="stmt" count="4"/>
|
3692 |
+
<line num="2826" type="stmt" count="4"/>
|
3693 |
+
<line num="2833" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
|
3694 |
+
<line num="2834" type="stmt" count="0"/>
|
3695 |
+
<line num="2835" type="stmt" count="0"/>
|
3696 |
+
<line num="2838" type="stmt" count="0"/>
|
3697 |
<line num="2839" type="stmt" count="0"/>
|
3698 |
<line num="2840" type="stmt" count="0"/>
|
3699 |
+
<line num="2842" type="stmt" count="0"/>
|
3700 |
<line num="2843" type="stmt" count="0"/>
|
3701 |
<line num="2844" type="stmt" count="0"/>
|
|
|
3702 |
<line num="2847" type="stmt" count="0"/>
|
3703 |
<line num="2848" type="stmt" count="0"/>
|
3704 |
<line num="2849" type="stmt" count="0"/>
|
3705 |
+
<line num="2851" type="stmt" count="0"/>
|
3706 |
<line num="2852" type="stmt" count="0"/>
|
3707 |
<line num="2853" type="stmt" count="0"/>
|
3708 |
+
<line num="2855" type="stmt" count="0"/>
|
3709 |
+
<line num="2868" type="stmt" count="0"/>
|
3710 |
+
<line num="2869" type="stmt" count="0"/>
|
3711 |
+
<line num="2871" type="stmt" count="0"/>
|
3712 |
+
<line num="2872" type="stmt" count="0"/>
|
3713 |
<line num="2873" type="stmt" count="0"/>
|
3714 |
<line num="2874" type="stmt" count="0"/>
|
3715 |
+
<line num="2875" type="stmt" count="0"/>
|
3716 |
<line num="2877" type="stmt" count="0"/>
|
3717 |
<line num="2878" type="stmt" count="0"/>
|
3718 |
<line num="2879" type="stmt" count="0"/>
|
3719 |
<line num="2880" type="stmt" count="0"/>
|
3720 |
<line num="2882" type="stmt" count="0"/>
|
|
|
3721 |
<line num="2884" type="stmt" count="0"/>
|
3722 |
<line num="2885" type="stmt" count="0"/>
|
3723 |
+
<line num="2901" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
|
3724 |
+
<line num="2903" type="stmt" count="0"/>
|
3725 |
+
<line num="2906" type="stmt" count="0"/>
|
3726 |
+
<line num="2907" type="stmt" count="0"/>
|
|
|
3727 |
<line num="2911" type="stmt" count="0"/>
|
3728 |
+
<line num="2914" type="stmt" count="0"/>
|
3729 |
+
<line num="2915" type="stmt" count="0"/>
|
3730 |
<line num="2919" type="stmt" count="0"/>
|
3731 |
<line num="2920" type="stmt" count="0"/>
|
3732 |
+
<line num="2931" type="method" name="enforce_retention" visibility="public" complexity="8" crap="8.10" count="4"/>
|
3733 |
+
<line num="2933" type="stmt" count="4"/>
|
3734 |
+
<line num="2935" type="stmt" count="4"/>
|
3735 |
<line num="2938" type="stmt" count="4"/>
|
3736 |
+
<line num="2939" type="stmt" count="4"/>
|
3737 |
<line num="2940" type="stmt" count="4"/>
|
3738 |
+
<line num="2941" type="stmt" count="0"/>
|
3739 |
+
<line num="2942" type="stmt" count="0"/>
|
3740 |
<line num="2943" type="stmt" count="4"/>
|
3741 |
<line num="2944" type="stmt" count="4"/>
|
3742 |
+
<line num="2947" type="stmt" count="4"/>
|
3743 |
+
<line num="2950" type="stmt" count="4"/>
|
3744 |
+
<line num="2951" type="stmt" count="4"/>
|
3745 |
+
<line num="2955" type="stmt" count="1"/>
|
3746 |
+
<line num="2958" type="stmt" count="1"/>
|
3747 |
+
<line num="2961" type="stmt" count="1"/>
|
3748 |
+
<line num="2964" type="stmt" count="1"/>
|
3749 |
+
<line num="2965" type="stmt" count="1"/>
|
|
|
|
|
3750 |
<line num="2966" type="stmt" count="1"/>
|
3751 |
<line num="2969" type="stmt" count="1"/>
|
3752 |
<line num="2970" type="stmt" count="1"/>
|
3753 |
+
<line num="2972" type="stmt" count="0"/>
|
3754 |
+
<line num="2982" type="stmt" count="1"/>
|
3755 |
+
<line num="2985" type="stmt" count="1"/>
|
3756 |
+
<line num="2988" type="stmt" count="1"/>
|
3757 |
+
<line num="2989" type="stmt" count="1"/>
|
3758 |
<line num="2990" type="stmt" count="1"/>
|
3759 |
+
<line num="2997" type="method" name="add_thickbox" visibility="public" complexity="2" crap="6" count="0"/>
|
3760 |
+
<line num="2998" type="stmt" count="0"/>
|
3761 |
+
<line num="2999" type="stmt" count="0"/>
|
3762 |
+
<line num="3000" type="stmt" count="0"/>
|
3763 |
+
<line num="3001" type="stmt" count="0"/>
|
3764 |
+
<metrics loc="3002" ncloc="1542" classes="1" methods="29" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="1069" coveredstatements="503" elements="1098" coveredelements="507"/>
|
|
|
|
|
|
|
3765 |
</file>
|
3766 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
|
3767 |
<class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
|
5743 |
</file>
|
5744 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
5745 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5746 |
+
<metrics complexity="29" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="121" coveredstatements="2" elements="132" coveredelements="3"/>
|
5747 |
</class>
|
5748 |
<line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
5749 |
<line num="59" type="stmt" count="29"/>
|
5828 |
<line num="250" type="stmt" count="0"/>
|
5829 |
<line num="251" type="stmt" count="0"/>
|
5830 |
<line num="252" type="stmt" count="0"/>
|
5831 |
+
<line num="253" type="stmt" count="0"/>
|
5832 |
<line num="255" type="stmt" count="0"/>
|
5833 |
<line num="256" type="stmt" count="0"/>
|
5834 |
<line num="257" type="stmt" count="0"/>
|
5837 |
<line num="260" type="stmt" count="0"/>
|
5838 |
<line num="261" type="stmt" count="0"/>
|
5839 |
<line num="262" type="stmt" count="0"/>
|
5840 |
+
<line num="263" type="stmt" count="0"/>
|
5841 |
<line num="265" type="stmt" count="0"/>
|
5842 |
+
<line num="266" type="stmt" count="0"/>
|
5843 |
<line num="268" type="stmt" count="0"/>
|
5844 |
+
<line num="269" type="stmt" count="0"/>
|
5845 |
<line num="271" type="stmt" count="0"/>
|
5846 |
<line num="272" type="stmt" count="0"/>
|
5847 |
<line num="273" type="stmt" count="0"/>
|
5848 |
<line num="274" type="stmt" count="0"/>
|
5849 |
<line num="275" type="stmt" count="0"/>
|
5850 |
+
<line num="276" type="stmt" count="0"/>
|
5851 |
+
<line num="278" type="stmt" count="0"/>
|
5852 |
<line num="280" type="stmt" count="0"/>
|
5853 |
+
<line num="281" type="stmt" count="0"/>
|
5854 |
<line num="283" type="stmt" count="0"/>
|
5855 |
<line num="284" type="stmt" count="0"/>
|
5856 |
<line num="285" type="stmt" count="0"/>
|
5857 |
+
<line num="286" type="stmt" count="0"/>
|
5858 |
+
<line num="288" type="stmt" count="0"/>
|
5859 |
<line num="290" type="stmt" count="0"/>
|
5860 |
+
<line num="291" type="stmt" count="0"/>
|
5861 |
+
<line num="303" type="method" name="plugin_renamed_notice" visibility="public" complexity="3" crap="12" count="0"/>
|
5862 |
+
<line num="304" type="stmt" count="0"/>
|
5863 |
<line num="312" type="stmt" count="0"/>
|
5864 |
+
<line num="313" type="stmt" count="0"/>
|
5865 |
+
<line num="316" type="stmt" count="0"/>
|
5866 |
<line num="318" type="stmt" count="0"/>
|
5867 |
+
<line num="319" type="stmt" count="0"/>
|
5868 |
<line num="321" type="stmt" count="0"/>
|
5869 |
+
<line num="322" type="stmt" count="0"/>
|
5870 |
<line num="324" type="stmt" count="0"/>
|
5871 |
<line num="325" type="stmt" count="0"/>
|
5872 |
<line num="326" type="stmt" count="0"/>
|
5873 |
<line num="327" type="stmt" count="0"/>
|
5874 |
<line num="328" type="stmt" count="0"/>
|
5875 |
+
<line num="329" type="stmt" count="0"/>
|
5876 |
+
<line num="331" type="stmt" count="0"/>
|
5877 |
<line num="333" type="stmt" count="0"/>
|
5878 |
<line num="334" type="stmt" count="0"/>
|
5879 |
+
<line num="335" type="stmt" count="0"/>
|
5880 |
+
<metrics loc="336" ncloc="191" classes="1" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="121" coveredstatements="2" elements="132" coveredelements="3"/>
|
5881 |
</file>
|
5882 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-plugin-notices.php">
|
5883 |
<class name="Boldgrid_Backup_Admin_Plugin_Notices" namespace="global" fullPackage="Boldgrid.Backup.Admin.Plugin">
|
5955 |
<line num="91" type="stmt" count="1"/>
|
5956 |
<line num="93" type="stmt" count="1"/>
|
5957 |
<line num="103" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
5958 |
<line num="105" type="stmt" count="0"/>
|
5959 |
<line num="106" type="stmt" count="0"/>
|
5960 |
+
<line num="107" type="stmt" count="0"/>
|
5961 |
<line num="109" type="stmt" count="0"/>
|
5962 |
<line num="110" type="stmt" count="0"/>
|
5963 |
+
<line num="111" type="stmt" count="0"/>
|
5964 |
<line num="113" type="stmt" count="0"/>
|
5965 |
+
<line num="114" type="stmt" count="0"/>
|
5966 |
<line num="116" type="stmt" count="0"/>
|
5967 |
<line num="117" type="stmt" count="0"/>
|
5968 |
+
<line num="118" type="stmt" count="0"/>
|
5969 |
+
<line num="120" type="stmt" count="0"/>
|
5970 |
+
<line num="127" type="stmt" count="0"/>
|
5971 |
<line num="129" type="stmt" count="0"/>
|
5972 |
+
<line num="130" type="stmt" count="0"/>
|
5973 |
+
<line num="132" type="stmt" count="0"/>
|
5974 |
<line num="137" type="stmt" count="0"/>
|
5975 |
<line num="138" type="stmt" count="0"/>
|
5976 |
+
<line num="139" type="stmt" count="0"/>
|
5977 |
+
<line num="143" type="stmt" count="0"/>
|
5978 |
+
<line num="145" type="stmt" count="0"/>
|
5979 |
<line num="147" type="stmt" count="0"/>
|
5980 |
<line num="148" type="stmt" count="0"/>
|
5981 |
<line num="149" type="stmt" count="0"/>
|
5982 |
+
<line num="150" type="stmt" count="0"/>
|
5983 |
+
<metrics loc="152" ncloc="90" classes="1" methods="4" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="48" coveredstatements="23" elements="52" coveredelements="26"/>
|
5984 |
</file>
|
5985 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-remote.php">
|
5986 |
<class name="Boldgrid_Backup_Admin_Remote" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6572 |
<line num="781" type="stmt" count="1"/>
|
6573 |
<line num="782" type="stmt" count="1"/>
|
6574 |
<line num="792" type="method" name="page_backup_settings" visibility="public" complexity="12" crap="156" count="0"/>
|
|
|
6575 |
<line num="794" type="stmt" count="0"/>
|
6576 |
<line num="795" type="stmt" count="0"/>
|
6577 |
+
<line num="796" type="stmt" count="0"/>
|
6578 |
<line num="798" type="stmt" count="0"/>
|
6579 |
<line num="799" type="stmt" count="0"/>
|
6580 |
<line num="800" type="stmt" count="0"/>
|
6581 |
<line num="801" type="stmt" count="0"/>
|
6582 |
+
<line num="802" type="stmt" count="0"/>
|
6583 |
<line num="804" type="stmt" count="0"/>
|
6584 |
<line num="805" type="stmt" count="0"/>
|
6585 |
+
<line num="806" type="stmt" count="0"/>
|
6586 |
<line num="808" type="stmt" count="0"/>
|
6587 |
<line num="809" type="stmt" count="0"/>
|
6588 |
+
<line num="810" type="stmt" count="0"/>
|
6589 |
<line num="813" type="stmt" count="0"/>
|
6590 |
<line num="814" type="stmt" count="0"/>
|
6591 |
<line num="815" type="stmt" count="0"/>
|
6592 |
+
<line num="816" type="stmt" count="0"/>
|
6593 |
<line num="818" type="stmt" count="0"/>
|
6594 |
+
<line num="819" type="stmt" count="0"/>
|
6595 |
<line num="821" type="stmt" count="0"/>
|
6596 |
+
<line num="822" type="stmt" count="0"/>
|
6597 |
+
<line num="824" type="stmt" count="0"/>
|
6598 |
<line num="826" type="stmt" count="0"/>
|
6599 |
+
<line num="827" type="stmt" count="0"/>
|
6600 |
<line num="834" type="stmt" count="0"/>
|
6601 |
<line num="835" type="stmt" count="0"/>
|
6602 |
<line num="836" type="stmt" count="0"/>
|
6603 |
+
<line num="837" type="stmt" count="0"/>
|
6604 |
+
<line num="839" type="stmt" count="0"/>
|
6605 |
<line num="841" type="stmt" count="0"/>
|
6606 |
+
<line num="842" type="stmt" count="0"/>
|
6607 |
+
<line num="845" type="stmt" count="0"/>
|
6608 |
<line num="852" type="stmt" count="0"/>
|
6609 |
<line num="853" type="stmt" count="0"/>
|
6610 |
<line num="854" type="stmt" count="0"/>
|
6611 |
+
<line num="855" type="stmt" count="0"/>
|
6612 |
+
<line num="857" type="stmt" count="0"/>
|
6613 |
<line num="859" type="stmt" count="0"/>
|
6614 |
+
<line num="860" type="stmt" count="0"/>
|
6615 |
+
<line num="863" type="stmt" count="0"/>
|
6616 |
<line num="865" type="stmt" count="0"/>
|
6617 |
+
<line num="866" type="stmt" count="0"/>
|
6618 |
<line num="869" type="stmt" count="0"/>
|
6619 |
<line num="870" type="stmt" count="0"/>
|
6620 |
<line num="871" type="stmt" count="0"/>
|
6621 |
<line num="872" type="stmt" count="0"/>
|
6622 |
+
<line num="873" type="stmt" count="0"/>
|
6623 |
<line num="876" type="stmt" count="0"/>
|
6624 |
<line num="877" type="stmt" count="0"/>
|
6625 |
<line num="878" type="stmt" count="0"/>
|
6626 |
<line num="879" type="stmt" count="0"/>
|
6627 |
+
<line num="880" type="stmt" count="0"/>
|
6628 |
+
<line num="882" type="stmt" count="0"/>
|
6629 |
<line num="884" type="stmt" count="0"/>
|
6630 |
<line num="885" type="stmt" count="0"/>
|
6631 |
<line num="886" type="stmt" count="0"/>
|
6632 |
<line num="887" type="stmt" count="0"/>
|
6633 |
+
<line num="888" type="stmt" count="0"/>
|
6634 |
+
<line num="890" type="stmt" count="0"/>
|
6635 |
<line num="893" type="stmt" count="0"/>
|
6636 |
<line num="894" type="stmt" count="0"/>
|
6637 |
<line num="895" type="stmt" count="0"/>
|
6638 |
<line num="896" type="stmt" count="0"/>
|
6639 |
+
<line num="897" type="stmt" count="0"/>
|
6640 |
+
<line num="899" type="stmt" count="0"/>
|
6641 |
<line num="902" type="stmt" count="0"/>
|
6642 |
<line num="903" type="stmt" count="0"/>
|
6643 |
<line num="904" type="stmt" count="0"/>
|
6644 |
<line num="905" type="stmt" count="0"/>
|
6645 |
+
<line num="906" type="stmt" count="0"/>
|
6646 |
+
<line num="908" type="stmt" count="0"/>
|
6647 |
<line num="911" type="stmt" count="0"/>
|
6648 |
<line num="912" type="stmt" count="0"/>
|
6649 |
<line num="913" type="stmt" count="0"/>
|
6650 |
+
<line num="914" type="stmt" count="0"/>
|
6651 |
+
<line num="916" type="stmt" count="0"/>
|
6652 |
<line num="918" type="stmt" count="0"/>
|
6653 |
+
<line num="919" type="stmt" count="0"/>
|
6654 |
+
<line num="921" type="stmt" count="0"/>
|
6655 |
<line num="924" type="stmt" count="0"/>
|
6656 |
<line num="925" type="stmt" count="0"/>
|
6657 |
+
<line num="926" type="stmt" count="0"/>
|
6658 |
+
<line num="928" type="stmt" count="0"/>
|
6659 |
<line num="930" type="stmt" count="0"/>
|
6660 |
<line num="931" type="stmt" count="0"/>
|
6661 |
+
<line num="932" type="stmt" count="0"/>
|
6662 |
<line num="934" type="stmt" count="0"/>
|
6663 |
<line num="935" type="stmt" count="0"/>
|
6664 |
+
<line num="936" type="stmt" count="0"/>
|
6665 |
+
<line num="943" type="stmt" count="0"/>
|
6666 |
<line num="945" type="stmt" count="0"/>
|
6667 |
+
<line num="946" type="stmt" count="0"/>
|
6668 |
+
<line num="948" type="stmt" count="0"/>
|
6669 |
<line num="953" type="stmt" count="0"/>
|
6670 |
<line num="954" type="stmt" count="0"/>
|
6671 |
+
<line num="955" type="stmt" count="0"/>
|
6672 |
<line num="959" type="stmt" count="0"/>
|
6673 |
+
<line num="960" type="stmt" count="0"/>
|
6674 |
+
<line num="970" type="method" name="save" visibility="public" complexity="1" crap="1" count="6"/>
|
6675 |
+
<line num="971" type="stmt" count="6"/>
|
6676 |
+
<line num="982" type="method" name="update_cron" visibility="public" complexity="4" crap="20" count="0"/>
|
6677 |
+
<line num="983" type="stmt" count="0"/>
|
6678 |
+
<line num="985" type="stmt" count="0"/>
|
6679 |
<line num="987" type="stmt" count="0"/>
|
6680 |
<line num="988" type="stmt" count="0"/>
|
6681 |
<line num="989" type="stmt" count="0"/>
|
6682 |
<line num="990" type="stmt" count="0"/>
|
6683 |
<line num="991" type="stmt" count="0"/>
|
6684 |
<line num="992" type="stmt" count="0"/>
|
6685 |
+
<line num="993" type="stmt" count="0"/>
|
6686 |
+
<line num="995" type="stmt" count="0"/>
|
6687 |
+
<metrics loc="997" ncloc="611" classes="1" methods="16" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="460" coveredstatements="100" elements="476" coveredelements="104"/>
|
6688 |
</file>
|
6689 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-support.php">
|
6690 |
<class name="Boldgrid_Backup_Admin_Support" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6744 |
<line num="165" type="stmt" count="0"/>
|
6745 |
<line num="168" type="stmt" count="0"/>
|
6746 |
<line num="176" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
6747 |
<line num="178" type="stmt" count="0"/>
|
6748 |
<line num="179" type="stmt" count="0"/>
|
6749 |
+
<line num="180" type="stmt" count="0"/>
|
6750 |
<line num="182" type="stmt" count="0"/>
|
6751 |
<line num="183" type="stmt" count="0"/>
|
6752 |
+
<line num="184" type="stmt" count="0"/>
|
6753 |
<line num="186" type="stmt" count="0"/>
|
6754 |
+
<line num="187" type="stmt" count="0"/>
|
6755 |
<line num="189" type="stmt" count="0"/>
|
6756 |
<line num="190" type="stmt" count="0"/>
|
6757 |
+
<line num="191" type="stmt" count="0"/>
|
6758 |
+
<line num="198" type="stmt" count="0"/>
|
6759 |
<line num="200" type="stmt" count="0"/>
|
6760 |
+
<line num="201" type="stmt" count="0"/>
|
6761 |
+
<line num="203" type="stmt" count="0"/>
|
6762 |
<line num="208" type="stmt" count="0"/>
|
6763 |
<line num="209" type="stmt" count="0"/>
|
6764 |
+
<line num="210" type="stmt" count="0"/>
|
6765 |
<line num="214" type="stmt" count="0"/>
|
6766 |
+
<line num="215" type="stmt" count="0"/>
|
6767 |
+
<metrics loc="216" ncloc="126" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="66" coveredstatements="2" elements="74" coveredelements="3"/>
|
6768 |
</file>
|
6769 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-test.php">
|
6770 |
<class name="Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7187 |
<line num="52" type="stmt" count="0"/>
|
7188 |
<line num="54" type="stmt" count="0"/>
|
7189 |
<line num="61" type="method" name="page" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
7190 |
<line num="63" type="stmt" count="0"/>
|
7191 |
+
<line num="64" type="stmt" count="0"/>
|
7192 |
<line num="66" type="stmt" count="0"/>
|
7193 |
<line num="67" type="stmt" count="0"/>
|
7194 |
+
<line num="68" type="stmt" count="0"/>
|
7195 |
<line num="70" type="stmt" count="0"/>
|
7196 |
+
<line num="71" type="stmt" count="0"/>
|
7197 |
<line num="73" type="stmt" count="0"/>
|
7198 |
<line num="74" type="stmt" count="0"/>
|
7199 |
+
<line num="75" type="stmt" count="0"/>
|
7200 |
+
<line num="82" type="stmt" count="0"/>
|
7201 |
<line num="84" type="stmt" count="0"/>
|
7202 |
+
<line num="85" type="stmt" count="0"/>
|
7203 |
+
<line num="87" type="stmt" count="0"/>
|
7204 |
<line num="92" type="stmt" count="0"/>
|
7205 |
<line num="93" type="stmt" count="0"/>
|
7206 |
+
<line num="94" type="stmt" count="0"/>
|
7207 |
<line num="98" type="stmt" count="0"/>
|
7208 |
+
<line num="99" type="stmt" count="0"/>
|
7209 |
+
<metrics loc="100" ncloc="57" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="27" coveredstatements="2" elements="30" coveredelements="3"/>
|
7210 |
</file>
|
7211 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-transfers.php">
|
7212 |
<class name="Boldgrid_Backup_Admin_Transfers" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7247 |
</file>
|
7248 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-upload.php">
|
7249 |
<class name="Boldgrid_Backup_Admin_Upload" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
7250 |
+
<metrics complexity="40" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="208" coveredstatements="2" elements="217" coveredelements="3"/>
|
7251 |
</class>
|
7252 |
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
7253 |
<line num="41" type="stmt" count="29"/>
|
7254 |
<line num="42" type="stmt" count="29"/>
|
7255 |
+
<line num="56" type="method" name="verify_upload_access" visibility="public" complexity="10" crap="110" count="0"/>
|
7256 |
<line num="58" type="stmt" count="0"/>
|
7257 |
<line num="60" type="stmt" count="0"/>
|
7258 |
<line num="61" type="stmt" count="0"/>
|
7297 |
<line num="139" type="stmt" count="0"/>
|
7298 |
<line num="141" type="stmt" count="0"/>
|
7299 |
<line num="144" type="stmt" count="0"/>
|
7300 |
+
<line num="146" type="stmt" count="0"/>
|
7301 |
+
<line num="147" type="stmt" count="0"/>
|
7302 |
+
<line num="148" type="stmt" count="0"/>
|
7303 |
+
<line num="150" type="stmt" count="0"/>
|
7304 |
+
<line num="152" type="stmt" count="0"/>
|
7305 |
+
<line num="155" type="stmt" count="0"/>
|
7306 |
+
<line num="172" type="method" name="bump_upload_limits" visibility="public" complexity="1" crap="2" count="0"/>
|
7307 |
+
<line num="173" type="stmt" count="0"/>
|
7308 |
+
<line num="174" type="stmt" count="0"/>
|
7309 |
+
<line num="175" type="stmt" count="0"/>
|
7310 |
+
<line num="176" type="stmt" count="0"/>
|
7311 |
+
<line num="187" type="method" name="check_filetype_ext" visibility="public" complexity="4" crap="20" count="0"/>
|
7312 |
+
<line num="189" type="stmt" count="0"/>
|
7313 |
+
<line num="190" type="stmt" count="0"/>
|
7314 |
+
<line num="194" type="stmt" count="0"/>
|
7315 |
<line num="197" type="stmt" count="0"/>
|
7316 |
+
<line num="203" type="stmt" count="0"/>
|
|
|
|
|
|
|
7317 |
<line num="204" type="stmt" count="0"/>
|
|
|
7318 |
<line num="206" type="stmt" count="0"/>
|
7319 |
<line num="208" type="stmt" count="0"/>
|
7320 |
+
<line num="209" type="stmt" count="0"/>
|
7321 |
<line num="210" type="stmt" count="0"/>
|
7322 |
+
<line num="212" type="stmt" count="0"/>
|
7323 |
<line num="213" type="stmt" count="0"/>
|
7324 |
+
<line num="215" type="stmt" count="0"/>
|
7325 |
+
<line num="216" type="stmt" count="0"/>
|
7326 |
+
<line num="217" type="stmt" count="0"/>
|
7327 |
+
<line num="219" type="stmt" count="0"/>
|
7328 |
+
<line num="221" type="stmt" count="0"/>
|
7329 |
+
<line num="224" type="stmt" count="0"/>
|
7330 |
+
<line num="238" type="method" name="get_save_path" visibility="public" complexity="3" crap="12" count="0"/>
|
7331 |
<line num="239" type="stmt" count="0"/>
|
7332 |
+
<line num="242" type="stmt" count="0"/>
|
7333 |
+
<line num="246" type="stmt" count="0"/>
|
7334 |
+
<line num="247" type="stmt" count="0"/>
|
|
|
7335 |
<line num="248" type="stmt" count="0"/>
|
7336 |
<line num="249" type="stmt" count="0"/>
|
7337 |
<line num="250" type="stmt" count="0"/>
|
7338 |
+
<line num="251" type="stmt" count="0"/>
|
7339 |
+
<line num="254" type="stmt" count="0"/>
|
7340 |
+
<line num="255" type="stmt" count="0"/>
|
7341 |
<line num="256" type="stmt" count="0"/>
|
7342 |
+
<line num="259" type="stmt" count="0"/>
|
7343 |
+
<line num="260" type="stmt" count="0"/>
|
7344 |
<line num="261" type="stmt" count="0"/>
|
7345 |
+
<line num="264" type="stmt" count="0"/>
|
7346 |
+
<line num="267" type="stmt" count="0"/>
|
7347 |
+
<line num="269" type="stmt" count="0"/>
|
7348 |
+
<line num="272" type="stmt" count="0"/>
|
7349 |
+
<line num="284" type="method" name="handle_upload" visibility="public" complexity="2" crap="6" count="0"/>
|
|
|
|
|
7350 |
<line num="286" type="stmt" count="0"/>
|
7351 |
+
<line num="287" type="stmt" count="0"/>
|
7352 |
<line num="288" type="stmt" count="0"/>
|
7353 |
+
<line num="292" type="stmt" count="0"/>
|
|
|
7354 |
<line num="293" type="stmt" count="0"/>
|
7355 |
<line num="296" type="stmt" count="0"/>
|
7356 |
<line num="297" type="stmt" count="0"/>
|
7358 |
<line num="300" type="stmt" count="0"/>
|
7359 |
<line num="302" type="stmt" count="0"/>
|
7360 |
<line num="304" type="stmt" count="0"/>
|
7361 |
+
<line num="307" type="stmt" count="0"/>
|
7362 |
+
<line num="308" type="stmt" count="0"/>
|
7363 |
+
<line num="310" type="stmt" count="0"/>
|
7364 |
+
<line num="311" type="stmt" count="0"/>
|
7365 |
+
<line num="313" type="stmt" count="0"/>
|
7366 |
+
<line num="315" type="stmt" count="0"/>
|
7367 |
+
<line num="330" type="method" name="upload_archive_file" visibility="public" complexity="5" crap="30" count="0"/>
|
7368 |
<line num="332" type="stmt" count="0"/>
|
7369 |
<line num="333" type="stmt" count="0"/>
|
7370 |
<line num="337" type="stmt" count="0"/>
|
7371 |
<line num="340" type="stmt" count="0"/>
|
7372 |
<line num="343" type="stmt" count="0"/>
|
7373 |
+
<line num="344" type="stmt" count="0"/>
|
7374 |
<line num="348" type="stmt" count="0"/>
|
7375 |
<line num="351" type="stmt" count="0"/>
|
7376 |
+
<line num="354" type="stmt" count="0"/>
|
7377 |
+
<line num="357" type="stmt" count="0"/>
|
7378 |
+
<line num="359" type="stmt" count="0"/>
|
7379 |
+
<line num="362" type="stmt" count="0"/>
|
|
|
7380 |
<line num="363" type="stmt" count="0"/>
|
7381 |
<line num="364" type="stmt" count="0"/>
|
7382 |
+
<line num="366" type="stmt" count="0"/>
|
|
|
|
|
7383 |
<line num="369" type="stmt" count="0"/>
|
7384 |
<line num="371" type="stmt" count="0"/>
|
7385 |
+
<line num="374" type="stmt" count="0"/>
|
7386 |
+
<line num="375" type="stmt" count="0"/>
|
7387 |
+
<line num="376" type="stmt" count="0"/>
|
7388 |
+
<line num="378" type="stmt" count="0"/>
|
7389 |
+
<line num="379" type="stmt" count="0"/>
|
7390 |
+
<line num="380" type="stmt" count="0"/>
|
7391 |
+
<line num="382" type="stmt" count="0"/>
|
7392 |
+
<line num="384" type="stmt" count="0"/>
|
7393 |
+
<line num="403" type="method" name="ajax_url_import" visibility="public" complexity="11" crap="132" count="0"/>
|
7394 |
+
<line num="405" type="stmt" count="0"/>
|
7395 |
<line num="406" type="stmt" count="0"/>
|
7396 |
<line num="408" type="stmt" count="0"/>
|
7397 |
+
<line num="410" type="stmt" count="0"/>
|
7398 |
<line num="411" type="stmt" count="0"/>
|
|
|
7399 |
<line num="414" type="stmt" count="0"/>
|
7400 |
<line num="415" type="stmt" count="0"/>
|
7401 |
<line num="417" type="stmt" count="0"/>
|
7402 |
<line num="419" type="stmt" count="0"/>
|
7403 |
<line num="420" type="stmt" count="0"/>
|
7404 |
<line num="422" type="stmt" count="0"/>
|
7405 |
+
<line num="423" type="stmt" count="0"/>
|
7406 |
<line num="425" type="stmt" count="0"/>
|
7407 |
<line num="426" type="stmt" count="0"/>
|
7408 |
<line num="428" type="stmt" count="0"/>
|
7409 |
<line num="430" type="stmt" count="0"/>
|
7410 |
<line num="431" type="stmt" count="0"/>
|
7411 |
<line num="433" type="stmt" count="0"/>
|
7412 |
+
<line num="435" type="stmt" count="0"/>
|
7413 |
<line num="436" type="stmt" count="0"/>
|
7414 |
<line num="437" type="stmt" count="0"/>
|
|
|
7415 |
<line num="439" type="stmt" count="0"/>
|
7416 |
<line num="441" type="stmt" count="0"/>
|
7417 |
<line num="442" type="stmt" count="0"/>
|
|
|
7418 |
<line num="444" type="stmt" count="0"/>
|
|
|
|
|
7419 |
<line num="447" type="stmt" count="0"/>
|
7420 |
+
<line num="448" type="stmt" count="0"/>
|
7421 |
<line num="449" type="stmt" count="0"/>
|
7422 |
+
<line num="450" type="stmt" count="0"/>
|
7423 |
<line num="452" type="stmt" count="0"/>
|
7424 |
+
<line num="453" type="stmt" count="0"/>
|
7425 |
<line num="454" type="stmt" count="0"/>
|
7426 |
+
<line num="455" type="stmt" count="0"/>
|
7427 |
<line num="456" type="stmt" count="0"/>
|
7428 |
<line num="457" type="stmt" count="0"/>
|
7429 |
<line num="458" type="stmt" count="0"/>
|
|
|
7430 |
<line num="460" type="stmt" count="0"/>
|
7431 |
+
<line num="462" type="stmt" count="0"/>
|
7432 |
<line num="463" type="stmt" count="0"/>
|
7433 |
+
<line num="465" type="stmt" count="0"/>
|
|
|
7434 |
<line num="467" type="stmt" count="0"/>
|
7435 |
+
<line num="468" type="stmt" count="0"/>
|
7436 |
+
<line num="469" type="stmt" count="0"/>
|
7437 |
<line num="470" type="stmt" count="0"/>
|
7438 |
+
<line num="471" type="stmt" count="0"/>
|
7439 |
+
<line num="472" type="stmt" count="0"/>
|
7440 |
+
<line num="474" type="stmt" count="0"/>
|
7441 |
+
<line num="475" type="stmt" count="0"/>
|
7442 |
+
<line num="477" type="stmt" count="0"/>
|
7443 |
<line num="478" type="stmt" count="0"/>
|
|
|
7444 |
<line num="481" type="stmt" count="0"/>
|
|
|
7445 |
<line num="484" type="stmt" count="0"/>
|
7446 |
+
<line num="487" type="stmt" count="0"/>
|
|
|
|
|
7447 |
<line num="489" type="stmt" count="0"/>
|
7448 |
+
<line num="491" type="stmt" count="0"/>
|
7449 |
+
<line num="492" type="stmt" count="0"/>
|
7450 |
+
<line num="494" type="stmt" count="0"/>
|
7451 |
<line num="495" type="stmt" count="0"/>
|
7452 |
<line num="496" type="stmt" count="0"/>
|
7453 |
+
<line num="497" type="stmt" count="0"/>
|
7454 |
+
<line num="499" type="stmt" count="0"/>
|
7455 |
<line num="500" type="stmt" count="0"/>
|
7456 |
<line num="501" type="stmt" count="0"/>
|
7457 |
+
<line num="504" type="stmt" count="0"/>
|
7458 |
+
<line num="506" type="stmt" count="0"/>
|
7459 |
+
<line num="507" type="stmt" count="0"/>
|
7460 |
+
<line num="509" type="stmt" count="0"/>
|
7461 |
+
<line num="511" type="stmt" count="0"/>
|
7462 |
+
<line num="512" type="stmt" count="0"/>
|
7463 |
+
<line num="519" type="method" name="archive_upload_action" visibility="public" complexity="3" crap="12" count="0"/>
|
7464 |
+
<line num="520" type="stmt" count="0"/>
|
7465 |
+
<line num="521" type="stmt" count="0"/>
|
7466 |
+
<line num="522" type="stmt" count="0"/>
|
7467 |
+
<line num="523" type="stmt" count="0"/>
|
7468 |
+
<line num="524" type="stmt" count="0"/>
|
7469 |
+
<metrics loc="525" ncloc="295" classes="1" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="208" coveredstatements="2" elements="217" coveredelements="3"/>
|
7470 |
</file>
|
7471 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-usage.php">
|
7472 |
<class name="Boldgrid_Backup_Admin_Usage" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
9255 |
<line num="40" type="stmt" count="0"/>
|
9256 |
<line num="41" type="stmt" count="0"/>
|
9257 |
<line num="43" type="stmt" count="0"/>
|
9258 |
+
<line num="44" type="stmt" count="0"/>
|
9259 |
<line num="46" type="stmt" count="0"/>
|
|
|
9260 |
<line num="48" type="stmt" count="0"/>
|
9261 |
<line num="49" type="stmt" count="0"/>
|
9262 |
<line num="50" type="stmt" count="0"/>
|
9269 |
<line num="57" type="stmt" count="0"/>
|
9270 |
<line num="58" type="stmt" count="0"/>
|
9271 |
<line num="59" type="stmt" count="0"/>
|
9272 |
+
<line num="60" type="stmt" count="0"/>
|
9273 |
+
<line num="61" type="stmt" count="0"/>
|
9274 |
+
<line num="62" type="stmt" count="0"/>
|
9275 |
+
<line num="66" type="stmt" count="0"/>
|
9276 |
<line num="68" type="stmt" count="0"/>
|
9277 |
<line num="70" type="stmt" count="0"/>
|
9278 |
+
<line num="71" type="stmt" count="0"/>
|
9279 |
<line num="73" type="stmt" count="0"/>
|
|
|
9280 |
<line num="75" type="stmt" count="0"/>
|
9281 |
<line num="76" type="stmt" count="0"/>
|
9282 |
<line num="77" type="stmt" count="0"/>
|
9283 |
+
<line num="78" type="stmt" count="0"/>
|
9284 |
<line num="79" type="stmt" count="0"/>
|
9285 |
+
<line num="80" type="stmt" count="0"/>
|
9286 |
+
<line num="82" type="stmt" count="0"/>
|
9287 |
+
<line num="84" type="stmt" count="0"/>
|
9288 |
+
<line num="86" type="stmt" count="0"/>
|
9289 |
+
<line num="90" type="stmt" count="0"/>
|
9290 |
<line num="91" type="stmt" count="0"/>
|
9291 |
+
<line num="92" type="stmt" count="0"/>
|
9292 |
+
<line num="94" type="stmt" count="0"/>
|
9293 |
+
<line num="96" type="stmt" count="0"/>
|
9294 |
<line num="98" type="stmt" count="0"/>
|
|
|
9295 |
<line num="100" type="stmt" count="0"/>
|
9296 |
+
<line num="101" type="stmt" count="0"/>
|
9297 |
<line num="102" type="stmt" count="0"/>
|
9298 |
+
<line num="103" type="stmt" count="0"/>
|
9299 |
+
<line num="105" type="stmt" count="0"/>
|
9300 |
+
<line num="107" type="stmt" count="0"/>
|
9301 |
<line num="109" type="stmt" count="0"/>
|
9302 |
<line num="111" type="stmt" count="0"/>
|
9303 |
<line num="113" type="stmt" count="0"/>
|
9304 |
+
<line num="115" type="stmt" count="0"/>
|
9305 |
+
<line num="117" type="stmt" count="0"/>
|
9306 |
<line num="118" type="stmt" count="0"/>
|
9307 |
+
<line num="119" type="stmt" count="0"/>
|
9308 |
+
<line num="121" type="stmt" count="0"/>
|
9309 |
+
<line num="123" type="stmt" count="0"/>
|
9310 |
+
<line num="124" type="stmt" count="0"/>
|
9311 |
+
<line num="126" type="stmt" count="0"/>
|
9312 |
+
<line num="128" type="stmt" count="0"/>
|
9313 |
+
<line num="130" type="stmt" count="0"/>
|
9314 |
+
<metrics loc="130" ncloc="110" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="76" coveredstatements="0" elements="76" coveredelements="0"/>
|
9315 |
</file>
|
9316 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/archives/note-pre-backup.php">
|
9317 |
<line num="17" type="stmt" count="0"/>
|
9697 |
<line num="384" type="stmt" count="0"/>
|
9698 |
<line num="385" type="stmt" count="0"/>
|
9699 |
<line num="386" type="stmt" count="0"/>
|
9700 |
+
<line num="387" type="stmt" count="0"/>
|
9701 |
<line num="388" type="stmt" count="0"/>
|
9702 |
<line num="389" type="stmt" count="0"/>
|
9703 |
<line num="390" type="stmt" count="0"/>
|
9705 |
<line num="392" type="stmt" count="0"/>
|
9706 |
<line num="393" type="stmt" count="0"/>
|
9707 |
<line num="394" type="stmt" count="0"/>
|
|
|
9708 |
<line num="396" type="stmt" count="0"/>
|
9709 |
<line num="397" type="stmt" count="0"/>
|
9710 |
<line num="398" type="stmt" count="0"/>
|
9711 |
+
<line num="399" type="stmt" count="0"/>
|
9712 |
<line num="400" type="stmt" count="0"/>
|
9713 |
+
<line num="401" type="stmt" count="0"/>
|
9714 |
<line num="402" type="stmt" count="0"/>
|
9715 |
<line num="403" type="stmt" count="0"/>
|
9716 |
<line num="404" type="stmt" count="0"/>
|
|
|
9717 |
<line num="406" type="stmt" count="0"/>
|
|
|
9718 |
<line num="408" type="stmt" count="0"/>
|
9719 |
<line num="409" type="stmt" count="0"/>
|
9720 |
<line num="410" type="stmt" count="0"/>
|
9721 |
<line num="411" type="stmt" count="0"/>
|
9722 |
<line num="412" type="stmt" count="0"/>
|
9723 |
<line num="413" type="stmt" count="0"/>
|
9724 |
+
<line num="414" type="stmt" count="0"/>
|
9725 |
<line num="415" type="stmt" count="0"/>
|
9726 |
+
<line num="416" type="stmt" count="0"/>
|
9727 |
+
<line num="417" type="stmt" count="0"/>
|
9728 |
+
<line num="418" type="stmt" count="0"/>
|
9729 |
+
<line num="419" type="stmt" count="0"/>
|
9730 |
+
<line num="420" type="stmt" count="0"/>
|
9731 |
+
<line num="422" type="stmt" count="0"/>
|
9732 |
+
<line num="424" type="stmt" count="0"/>
|
9733 |
+
<metrics loc="424" ncloc="353" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="362" coveredstatements="0" elements="362" coveredelements="0"/>
|
9734 |
</file>
|
9735 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-backup-button.php">
|
9736 |
<line num="19" type="stmt" count="0"/>
|
9892 |
<line num="23" type="stmt" count="0"/>
|
9893 |
<line num="25" type="stmt" count="0"/>
|
9894 |
<line num="27" type="stmt" count="0"/>
|
9895 |
+
<line num="29" type="stmt" count="0"/>
|
9896 |
+
<metrics loc="29" ncloc="13" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
9897 |
</file>
|
9898 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-home.php">
|
9899 |
<line num="17" type="stmt" count="0"/>
|
10069 |
<line num="45" type="stmt" count="0"/>
|
10070 |
<line num="47" type="stmt" count="0"/>
|
10071 |
<line num="49" type="stmt" count="0"/>
|
10072 |
+
<line num="51" type="stmt" count="0"/>
|
10073 |
+
<metrics loc="51" ncloc="30" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="26" coveredstatements="0" elements="26" coveredelements="0"/>
|
10074 |
</file>
|
10075 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-settings.php">
|
10076 |
<line num="17" type="stmt" count="0"/>
|
10162 |
<line num="126" type="stmt" count="0"/>
|
10163 |
<line num="128" type="stmt" count="0"/>
|
10164 |
<line num="130" type="stmt" count="0"/>
|
10165 |
+
<line num="132" type="stmt" count="0"/>
|
10166 |
<line num="143" type="stmt" count="0"/>
|
10167 |
+
<line num="145" type="stmt" count="0"/>
|
10168 |
<line num="146" type="stmt" count="0"/>
|
|
|
10169 |
<line num="148" type="stmt" count="0"/>
|
10170 |
<line num="149" type="stmt" count="0"/>
|
10171 |
<line num="150" type="stmt" count="0"/>
|
10173 |
<line num="152" type="stmt" count="0"/>
|
10174 |
<line num="153" type="stmt" count="0"/>
|
10175 |
<line num="154" type="stmt" count="0"/>
|
10176 |
+
<line num="155" type="stmt" count="0"/>
|
10177 |
<line num="156" type="stmt" count="0"/>
|
10178 |
<line num="158" type="stmt" count="0"/>
|
10179 |
<line num="160" type="stmt" count="0"/>
|
10180 |
<line num="162" type="stmt" count="0"/>
|
10181 |
<line num="164" type="stmt" count="0"/>
|
10182 |
+
<line num="166" type="stmt" count="0"/>
|
10183 |
+
<line num="167" type="stmt" count="0"/>
|
10184 |
+
<line num="170" type="stmt" count="0"/>
|
10185 |
+
<metrics loc="170" ncloc="123" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="109" coveredstatements="0" elements="109" coveredelements="0"/>
|
10186 |
</file>
|
10187 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-support.php">
|
10188 |
<line num="17" type="stmt" count="0"/>
|
10253 |
<line num="94" type="stmt" count="0"/>
|
10254 |
<line num="95" type="stmt" count="0"/>
|
10255 |
<line num="97" type="stmt" count="0"/>
|
10256 |
+
<line num="99" type="stmt" count="0"/>
|
10257 |
+
<line num="102" type="stmt" count="0"/>
|
|
|
10258 |
<line num="105" type="stmt" count="0"/>
|
10259 |
<line num="106" type="stmt" count="0"/>
|
10260 |
<line num="107" type="stmt" count="0"/>
|
10269 |
<line num="116" type="stmt" count="0"/>
|
10270 |
<line num="117" type="stmt" count="0"/>
|
10271 |
<line num="118" type="stmt" count="0"/>
|
10272 |
+
<line num="119" type="stmt" count="0"/>
|
10273 |
<line num="120" type="stmt" count="0"/>
|
|
|
10274 |
<line num="122" type="stmt" count="0"/>
|
10275 |
<line num="123" type="stmt" count="0"/>
|
10276 |
<line num="124" type="stmt" count="0"/>
|
10277 |
<line num="125" type="stmt" count="0"/>
|
10278 |
<line num="126" type="stmt" count="0"/>
|
10279 |
+
<line num="127" type="stmt" count="0"/>
|
10280 |
<line num="128" type="stmt" count="0"/>
|
|
|
10281 |
<line num="130" type="stmt" count="0"/>
|
10282 |
<line num="131" type="stmt" count="0"/>
|
10283 |
<line num="132" type="stmt" count="0"/>
|
10284 |
<line num="133" type="stmt" count="0"/>
|
10285 |
<line num="134" type="stmt" count="0"/>
|
10286 |
+
<line num="135" type="stmt" count="0"/>
|
10287 |
<line num="136" type="stmt" count="0"/>
|
|
|
10288 |
<line num="138" type="stmt" count="0"/>
|
10289 |
<line num="139" type="stmt" count="0"/>
|
10290 |
<line num="140" type="stmt" count="0"/>
|
10291 |
<line num="141" type="stmt" count="0"/>
|
10292 |
+
<line num="142" type="stmt" count="0"/>
|
10293 |
<line num="143" type="stmt" count="0"/>
|
|
|
10294 |
<line num="145" type="stmt" count="0"/>
|
10295 |
<line num="146" type="stmt" count="0"/>
|
10296 |
<line num="147" type="stmt" count="0"/>
|
10301 |
<line num="152" type="stmt" count="0"/>
|
10302 |
<line num="153" type="stmt" count="0"/>
|
10303 |
<line num="154" type="stmt" count="0"/>
|
10304 |
+
<line num="155" type="stmt" count="0"/>
|
10305 |
+
<line num="156" type="stmt" count="0"/>
|
10306 |
+
<line num="159" type="stmt" count="0"/>
|
10307 |
+
<metrics loc="159" ncloc="130" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="119" coveredstatements="0" elements="119" coveredelements="0"/>
|
10308 |
</file>
|
10309 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-test.php">
|
10310 |
<line num="19" type="stmt" count="0"/>
|
10672 |
<line num="449" type="stmt" count="0"/>
|
10673 |
<line num="451" type="stmt" count="0"/>
|
10674 |
<line num="453" type="stmt" count="0"/>
|
10675 |
+
<line num="455" type="stmt" count="0"/>
|
10676 |
+
<line num="458" type="stmt" count="0"/>
|
10677 |
+
<metrics loc="458" ncloc="422" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="367" coveredstatements="0" elements="367" coveredelements="0"/>
|
10678 |
</file>
|
10679 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-tools.php">
|
10680 |
<line num="15" type="stmt" count="0"/>
|
10701 |
<line num="46" type="stmt" count="0"/>
|
10702 |
<line num="57" type="stmt" count="0"/>
|
10703 |
<line num="59" type="stmt" count="0"/>
|
10704 |
+
<line num="61" type="stmt" count="0"/>
|
10705 |
+
<line num="63" type="stmt" count="0"/>
|
10706 |
+
<metrics loc="63" ncloc="31" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="26" coveredstatements="0" elements="26" coveredelements="0"/>
|
10707 |
</file>
|
10708 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-transfers.php">
|
10709 |
<line num="14" type="stmt" count="0"/>
|
10739 |
<line num="66" type="stmt" count="0"/>
|
10740 |
<line num="69" type="stmt" count="0"/>
|
10741 |
<line num="71" type="stmt" count="0"/>
|
10742 |
+
<line num="72" type="stmt" count="0"/>
|
10743 |
+
<line num="73" type="stmt" count="0"/>
|
10744 |
+
<line num="76" type="stmt" count="0"/>
|
10745 |
+
<metrics loc="76" ncloc="45" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="36" coveredstatements="0" elements="36" coveredelements="0"/>
|
10746 |
</file>
|
10747 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/remote/ftp.php">
|
10748 |
<line num="20" type="stmt" count="0"/>
|
11109 |
<line num="271" type="stmt" count="0"/>
|
11110 |
<line num="272" type="stmt" count="0"/>
|
11111 |
<line num="273" type="stmt" count="0"/>
|
11112 |
+
<line num="275" type="stmt" count="0"/>
|
|
|
11113 |
<line num="277" type="stmt" count="0"/>
|
|
|
11114 |
<line num="279" type="stmt" count="0"/>
|
11115 |
<line num="280" type="stmt" count="0"/>
|
11116 |
<line num="281" type="stmt" count="0"/>
|
11126 |
<line num="291" type="stmt" count="0"/>
|
11127 |
<line num="292" type="stmt" count="0"/>
|
11128 |
<line num="293" type="stmt" count="0"/>
|
11129 |
+
<line num="294" type="stmt" count="0"/>
|
11130 |
<line num="295" type="stmt" count="0"/>
|
11131 |
<line num="296" type="stmt" count="0"/>
|
|
|
11132 |
<line num="298" type="stmt" count="0"/>
|
11133 |
<line num="299" type="stmt" count="0"/>
|
11134 |
<line num="300" type="stmt" count="0"/>
|
11141 |
<line num="307" type="stmt" count="0"/>
|
11142 |
<line num="308" type="stmt" count="0"/>
|
11143 |
<line num="309" type="stmt" count="0"/>
|
11144 |
+
<line num="310" type="stmt" count="0"/>
|
11145 |
<line num="311" type="stmt" count="0"/>
|
11146 |
<line num="312" type="stmt" count="0"/>
|
11147 |
+
<line num="314" type="stmt" count="0"/>
|
11148 |
+
<line num="315" type="stmt" count="0"/>
|
11149 |
+
<line num="316" type="stmt" count="0"/>
|
|
|
11150 |
<line num="328" type="stmt" count="0"/>
|
11151 |
<line num="329" type="stmt" count="0"/>
|
11152 |
<line num="330" type="stmt" count="0"/>
|
11153 |
+
<line num="331" type="stmt" count="0"/>
|
11154 |
<line num="332" type="stmt" count="0"/>
|
11155 |
<line num="333" type="stmt" count="0"/>
|
11156 |
+
<line num="335" type="stmt" count="0"/>
|
11157 |
<line num="336" type="stmt" count="0"/>
|
11158 |
<line num="337" type="stmt" count="0"/>
|
|
|
11159 |
<line num="339" type="stmt" count="0"/>
|
11160 |
<line num="340" type="stmt" count="0"/>
|
11161 |
<line num="341" type="stmt" count="0"/>
|
11162 |
+
<line num="342" type="stmt" count="0"/>
|
11163 |
<line num="343" type="stmt" count="0"/>
|
11164 |
<line num="344" type="stmt" count="0"/>
|
|
|
11165 |
<line num="346" type="stmt" count="0"/>
|
11166 |
+
<line num="347" type="stmt" count="0"/>
|
11167 |
<line num="348" type="stmt" count="0"/>
|
11168 |
<line num="349" type="stmt" count="0"/>
|
|
|
11169 |
<line num="351" type="stmt" count="0"/>
|
11170 |
<line num="352" type="stmt" count="0"/>
|
11171 |
<line num="353" type="stmt" count="0"/>
|
11187 |
<line num="369" type="stmt" count="0"/>
|
11188 |
<line num="370" type="stmt" count="0"/>
|
11189 |
<line num="371" type="stmt" count="0"/>
|
11190 |
+
<line num="372" type="stmt" count="0"/>
|
11191 |
<line num="373" type="stmt" count="0"/>
|
11192 |
<line num="374" type="stmt" count="0"/>
|
11193 |
<line num="376" type="stmt" count="0"/>
|
11194 |
<line num="377" type="stmt" count="0"/>
|
|
|
11195 |
<line num="379" type="stmt" count="0"/>
|
11196 |
<line num="380" type="stmt" count="0"/>
|
11197 |
<line num="381" type="stmt" count="0"/>
|
11199 |
<line num="383" type="stmt" count="0"/>
|
11200 |
<line num="384" type="stmt" count="0"/>
|
11201 |
<line num="385" type="stmt" count="0"/>
|
11202 |
+
<line num="386" type="stmt" count="0"/>
|
11203 |
<line num="387" type="stmt" count="0"/>
|
11204 |
<line num="388" type="stmt" count="0"/>
|
11205 |
+
<line num="390" type="stmt" count="0"/>
|
11206 |
<line num="391" type="stmt" count="0"/>
|
|
|
11207 |
<line num="394" type="stmt" count="0"/>
|
11208 |
<line num="395" type="stmt" count="0"/>
|
|
|
11209 |
<line num="397" type="stmt" count="0"/>
|
11210 |
<line num="398" type="stmt" count="0"/>
|
11211 |
<line num="399" type="stmt" count="0"/>
|
11221 |
<line num="409" type="stmt" count="0"/>
|
11222 |
<line num="410" type="stmt" count="0"/>
|
11223 |
<line num="411" type="stmt" count="0"/>
|
11224 |
+
<line num="412" type="stmt" count="0"/>
|
11225 |
<line num="413" type="stmt" count="0"/>
|
11226 |
+
<line num="414" type="stmt" count="0"/>
|
11227 |
<line num="416" type="stmt" count="0"/>
|
11228 |
<line num="418" type="stmt" count="0"/>
|
11229 |
+
<line num="419" type="stmt" count="0"/>
|
11230 |
<line num="421" type="stmt" count="0"/>
|
|
|
11231 |
<line num="423" type="stmt" count="0"/>
|
11232 |
<line num="424" type="stmt" count="0"/>
|
11233 |
<line num="425" type="stmt" count="0"/>
|
11234 |
+
<line num="426" type="stmt" count="0"/>
|
11235 |
<line num="427" type="stmt" count="0"/>
|
11236 |
<line num="428" type="stmt" count="0"/>
|
|
|
11237 |
<line num="430" type="stmt" count="0"/>
|
11238 |
+
<line num="431" type="stmt" count="0"/>
|
11239 |
<line num="432" type="stmt" count="0"/>
|
11240 |
+
<line num="433" type="stmt" count="0"/>
|
11241 |
+
<line num="435" type="stmt" count="0"/>
|
11242 |
+
<metrics loc="435" ncloc="364" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="332" coveredstatements="0" elements="332" coveredelements="0"/>
|
11243 |
</file>
|
11244 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/settings/backup-directory.php">
|
11245 |
<line num="17" type="stmt" count="0"/>
|
14864 |
</file>
|
14865 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
|
14866 |
<class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
|
14867 |
+
<metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="277" coveredstatements="0" elements="285" coveredelements="0"/>
|
14868 |
</class>
|
14869 |
<line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
|
14870 |
<line num="67" type="stmt" count="0"/>
|
15127 |
<line num="544" type="stmt" count="0"/>
|
15128 |
<line num="545" type="stmt" count="0"/>
|
15129 |
<line num="546" type="stmt" count="0"/>
|
15130 |
+
<line num="547" type="stmt" count="0"/>
|
15131 |
+
<line num="548" type="stmt" count="0"/>
|
15132 |
+
<line num="551" type="stmt" count="0"/>
|
15133 |
+
<line num="552" type="stmt" count="0"/>
|
15134 |
+
<line num="555" type="stmt" count="0"/>
|
15135 |
<line num="562" type="stmt" count="0"/>
|
15136 |
+
<line num="563" type="stmt" count="0"/>
|
15137 |
<line num="564" type="stmt" count="0"/>
|
15138 |
+
<line num="566" type="stmt" count="0"/>
|
15139 |
<line num="567" type="stmt" count="0"/>
|
15140 |
+
<line num="569" type="stmt" count="0"/>
|
15141 |
+
<line num="570" type="stmt" count="0"/>
|
15142 |
+
<line num="577" type="method" name="run" visibility="public" complexity="1" crap="2" count="0"/>
|
15143 |
+
<line num="578" type="stmt" count="0"/>
|
15144 |
+
<line num="579" type="stmt" count="0"/>
|
15145 |
+
<line num="588" type="method" name="get_plugin_name" visibility="public" complexity="1" crap="2" count="0"/>
|
15146 |
+
<line num="589" type="stmt" count="0"/>
|
15147 |
+
<line num="590" type="stmt" count="0"/>
|
15148 |
+
<line num="598" type="method" name="get_loader" visibility="public" complexity="1" crap="2" count="0"/>
|
15149 |
+
<line num="599" type="stmt" count="0"/>
|
15150 |
+
<line num="600" type="stmt" count="0"/>
|
15151 |
+
<line num="608" type="method" name="get_version" visibility="public" complexity="1" crap="2" count="0"/>
|
15152 |
+
<line num="609" type="stmt" count="0"/>
|
15153 |
+
<line num="610" type="stmt" count="0"/>
|
15154 |
+
<metrics loc="611" ncloc="375" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="277" coveredstatements="0" elements="285" coveredelements="0"/>
|
15155 |
</file>
|
15156 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
|
15157 |
<line num="17" type="stmt" count="0"/>
|
70637 |
</file>
|
70638 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-auto-updates.php">
|
70639 |
<class name="Test_Boldgrid_Backup_Admin_Auto_Updates" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Auto">
|
70640 |
+
<metrics complexity="19" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="179" coveredstatements="179" elements="189" coveredelements="189"/>
|
70641 |
</class>
|
70642 |
<line num="50" type="method" name="install_plugin" visibility="public" complexity="5" crap="5" count="2"/>
|
70643 |
<line num="51" type="stmt" count="2"/>
|
70702 |
<line num="154" type="stmt" count="1"/>
|
70703 |
<line num="155" type="stmt" count="1"/>
|
70704 |
<line num="156" type="stmt" count="1"/>
|
70705 |
+
<line num="157" type="stmt" count="1"/>
|
70706 |
<line num="160" type="stmt" count="1"/>
|
70707 |
<line num="161" type="stmt" count="1"/>
|
70708 |
<line num="162" type="stmt" count="1"/>
|
70709 |
<line num="163" type="stmt" count="1"/>
|
70710 |
<line num="164" type="stmt" count="1"/>
|
70711 |
+
<line num="165" type="stmt" count="1"/>
|
70712 |
<line num="169" type="stmt" count="1"/>
|
70713 |
<line num="170" type="stmt" count="1"/>
|
70714 |
<line num="171" type="stmt" count="1"/>
|
70715 |
<line num="172" type="stmt" count="1"/>
|
70716 |
<line num="173" type="stmt" count="1"/>
|
70717 |
+
<line num="174" type="stmt" count="1"/>
|
70718 |
<line num="177" type="stmt" count="1"/>
|
70719 |
<line num="178" type="stmt" count="1"/>
|
70720 |
<line num="179" type="stmt" count="1"/>
|
70721 |
<line num="180" type="stmt" count="1"/>
|
70722 |
+
<line num="181" type="stmt" count="1"/>
|
70723 |
+
<line num="188" type="method" name="test_maybe_update_theme" visibility="public" complexity="1" crap="1" count="1"/>
|
70724 |
<line num="190" type="stmt" count="1"/>
|
70725 |
<line num="191" type="stmt" count="1"/>
|
70726 |
<line num="192" type="stmt" count="1"/>
|
70727 |
+
<line num="193" type="stmt" count="1"/>
|
70728 |
<line num="196" type="stmt" count="1"/>
|
70729 |
<line num="197" type="stmt" count="1"/>
|
70730 |
<line num="198" type="stmt" count="1"/>
|
70731 |
+
<line num="199" type="stmt" count="1"/>
|
70732 |
<line num="202" type="stmt" count="1"/>
|
70733 |
<line num="203" type="stmt" count="1"/>
|
70734 |
<line num="204" type="stmt" count="1"/>
|
70735 |
+
<line num="205" type="stmt" count="1"/>
|
70736 |
<line num="207" type="stmt" count="1"/>
|
70737 |
<line num="208" type="stmt" count="1"/>
|
70738 |
+
<line num="209" type="stmt" count="1"/>
|
70739 |
<line num="212" type="stmt" count="1"/>
|
70740 |
<line num="213" type="stmt" count="1"/>
|
70741 |
<line num="214" type="stmt" count="1"/>
|
70742 |
<line num="215" type="stmt" count="1"/>
|
70743 |
<line num="216" type="stmt" count="1"/>
|
70744 |
+
<line num="217" type="stmt" count="1"/>
|
70745 |
<line num="220" type="stmt" count="1"/>
|
70746 |
<line num="221" type="stmt" count="1"/>
|
70747 |
<line num="222" type="stmt" count="1"/>
|
70748 |
<line num="223" type="stmt" count="1"/>
|
70749 |
<line num="224" type="stmt" count="1"/>
|
70750 |
+
<line num="225" type="stmt" count="1"/>
|
70751 |
<line num="228" type="stmt" count="1"/>
|
70752 |
<line num="229" type="stmt" count="1"/>
|
70753 |
<line num="230" type="stmt" count="1"/>
|
70754 |
<line num="231" type="stmt" count="1"/>
|
70755 |
+
<line num="232" type="stmt" count="1"/>
|
70756 |
+
<line num="239" type="method" name="test_auto_update_plugins" visibility="public" complexity="1" crap="1" count="1"/>
|
70757 |
<line num="240" type="stmt" count="1"/>
|
70758 |
+
<line num="241" type="stmt" count="1"/>
|
70759 |
<line num="243" type="stmt" count="1"/>
|
70760 |
<line num="244" type="stmt" count="1"/>
|
70761 |
<line num="245" type="stmt" count="1"/>
|
70763 |
<line num="247" type="stmt" count="1"/>
|
70764 |
<line num="248" type="stmt" count="1"/>
|
70765 |
<line num="249" type="stmt" count="1"/>
|
70766 |
+
<line num="250" type="stmt" count="1"/>
|
70767 |
+
<line num="257" type="method" name="test_auto_update_themes" visibility="public" complexity="5" crap="5" count="1"/>
|
70768 |
<line num="258" type="stmt" count="1"/>
|
70769 |
<line num="259" type="stmt" count="1"/>
|
70770 |
<line num="260" type="stmt" count="1"/>
|
70775 |
<line num="265" type="stmt" count="1"/>
|
70776 |
<line num="266" type="stmt" count="1"/>
|
70777 |
<line num="267" type="stmt" count="1"/>
|
70778 |
+
<line num="268" type="stmt" count="1"/>
|
70779 |
<line num="270" type="stmt" count="1"/>
|
70780 |
<line num="271" type="stmt" count="1"/>
|
70781 |
<line num="272" type="stmt" count="1"/>
|
70787 |
<line num="278" type="stmt" count="1"/>
|
70788 |
<line num="279" type="stmt" count="1"/>
|
70789 |
<line num="280" type="stmt" count="1"/>
|
70790 |
+
<line num="281" type="stmt" count="1"/>
|
70791 |
+
<line num="288" type="method" name="test_auto_update_core" visibility="public" complexity="1" crap="1" count="1"/>
|
70792 |
<line num="289" type="stmt" count="1"/>
|
70793 |
<line num="290" type="stmt" count="1"/>
|
70794 |
+
<line num="291" type="stmt" count="1"/>
|
70795 |
+
<line num="293" type="stmt" count="1"/>
|
70796 |
+
<line num="296" type="stmt" count="1"/>
|
70797 |
+
<line num="299" type="stmt" count="1"/>
|
70798 |
<line num="302" type="stmt" count="1"/>
|
70799 |
+
<line num="303" type="stmt" count="1"/>
|
70800 |
+
<line num="313" type="method" name="apply_wpcore_filters" visibility="public" complexity="2" crap="2" count="1"/>
|
70801 |
<line num="314" type="stmt" count="1"/>
|
70802 |
+
<line num="315" type="stmt" count="1"/>
|
70803 |
<line num="318" type="stmt" count="1"/>
|
70804 |
<line num="319" type="stmt" count="1"/>
|
70805 |
<line num="320" type="stmt" count="1"/>
|
70806 |
+
<line num="321" type="stmt" count="1"/>
|
70807 |
<line num="323" type="stmt" count="1"/>
|
70808 |
<line num="324" type="stmt" count="1"/>
|
70809 |
<line num="325" type="stmt" count="1"/>
|
70810 |
<line num="326" type="stmt" count="1"/>
|
70811 |
<line num="327" type="stmt" count="1"/>
|
70812 |
<line num="328" type="stmt" count="1"/>
|
70813 |
+
<line num="329" type="stmt" count="1"/>
|
70814 |
<line num="331" type="stmt" count="1"/>
|
70815 |
<line num="332" type="stmt" count="1"/>
|
70816 |
<line num="333" type="stmt" count="1"/>
|
70817 |
<line num="334" type="stmt" count="1"/>
|
70818 |
<line num="335" type="stmt" count="1"/>
|
70819 |
+
<line num="336" type="stmt" count="1"/>
|
70820 |
<line num="339" type="stmt" count="1"/>
|
70821 |
+
<line num="340" type="stmt" count="1"/>
|
70822 |
<line num="342" type="stmt" count="1"/>
|
70823 |
+
<line num="343" type="stmt" count="1"/>
|
70824 |
<line num="345" type="stmt" count="1"/>
|
70825 |
<line num="346" type="stmt" count="1"/>
|
70826 |
<line num="347" type="stmt" count="1"/>
|
70827 |
<line num="348" type="stmt" count="1"/>
|
70828 |
<line num="349" type="stmt" count="1"/>
|
70829 |
<line num="350" type="stmt" count="1"/>
|
70830 |
+
<line num="351" type="stmt" count="1"/>
|
70831 |
+
<metrics loc="352" ncloc="228" classes="1" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="179" coveredstatements="179" elements="189" coveredelements="189"/>
|
70832 |
</file>
|
70833 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-compressor.php">
|
70834 |
<class name="Test_Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
|
72687 |
</file>
|
72688 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Factory.php">
|
72689 |
<class name="Factory" namespace="Boldgrid\Library\Library\Plugin">
|
72690 |
+
<metrics complexity="25" methods="7" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="79" coveredstatements="64" elements="86" coveredelements="69"/>
|
72691 |
</class>
|
72692 |
+
<line num="39" type="method" name="create" visibility="public" complexity="2" crap="2" count="36"/>
|
|
|
72693 |
<line num="40" type="stmt" count="36"/>
|
72694 |
+
<line num="41" type="stmt" count="36"/>
|
72695 |
<line num="42" type="stmt" count="29"/>
|
72696 |
+
<line num="43" type="stmt" count="29"/>
|
72697 |
+
<line num="44" type="stmt" count="36"/>
|
72698 |
+
<line num="47" type="stmt" count="36"/>
|
72699 |
+
<line num="59" type="method" name="createFromSlug" visibility="public" complexity="3" crap="3" count="29"/>
|
72700 |
<line num="61" type="stmt" count="29"/>
|
72701 |
<line num="63" type="stmt" count="29"/>
|
72702 |
<line num="65" type="stmt" count="29"/>
|
72704 |
<line num="69" type="stmt" count="29"/>
|
72705 |
<line num="71" type="stmt" count="29"/>
|
72706 |
<line num="73" type="stmt" count="29"/>
|
|
|
72707 |
<line num="75" type="stmt" count="29"/>
|
72708 |
<line num="76" type="stmt" count="29"/>
|
72709 |
<line num="77" type="stmt" count="29"/>
|
72710 |
<line num="78" type="stmt" count="29"/>
|
72711 |
+
<line num="79" type="stmt" count="29"/>
|
72712 |
<line num="80" type="stmt" count="29"/>
|
72713 |
+
<line num="81" type="stmt" count="29"/>
|
72714 |
+
<line num="83" type="stmt" count="29"/>
|
72715 |
+
<line num="94" type="method" name="createFromFile" visibility="private" complexity="3" crap="3" count="36"/>
|
72716 |
+
<line num="96" type="stmt" count="36"/>
|
72717 |
+
<line num="98" type="stmt" count="36"/>
|
72718 |
+
<line num="100" type="stmt" count="36"/>
|
72719 |
+
<line num="102" type="stmt" count="36"/>
|
72720 |
+
<line num="104" type="stmt" count="36"/>
|
72721 |
+
<line num="106" type="stmt" count="36"/>
|
72722 |
<line num="108" type="stmt" count="36"/>
|
|
|
72723 |
<line num="110" type="stmt" count="36"/>
|
72724 |
<line num="111" type="stmt" count="36"/>
|
72725 |
<line num="112" type="stmt" count="36"/>
|
72726 |
+
<line num="113" type="stmt" count="36"/>
|
72727 |
<line num="114" type="stmt" count="36"/>
|
72728 |
+
<line num="115" type="stmt" count="36"/>
|
72729 |
+
<line num="117" type="stmt" count="36"/>
|
72730 |
+
<line num="131" type="method" name="fileFromSlug" visibility="public" complexity="6" crap="8.05" count="29"/>
|
|
|
72731 |
<line num="132" type="stmt" count="29"/>
|
72732 |
+
<line num="133" type="stmt" count="29"/>
|
72733 |
<line num="134" type="stmt" count="0"/>
|
72734 |
<line num="135" type="stmt" count="29"/>
|
72735 |
+
<line num="136" type="stmt" count="0"/>
|
72736 |
+
<line num="137" type="stmt" count="0"/>
|
72737 |
+
<line num="138" type="stmt" count="29"/>
|
72738 |
+
<line num="139" type="stmt" count="29"/>
|
72739 |
<line num="140" type="stmt" count="29"/>
|
72740 |
+
<line num="141" type="stmt" count="0"/>
|
72741 |
+
<line num="142" type="stmt" count="0"/>
|
72742 |
+
<line num="143" type="stmt" count="29"/>
|
72743 |
+
<line num="145" type="stmt" count="29"/>
|
72744 |
+
<line num="157" type="method" name="slugFromFile" visibility="public" complexity="4" crap="4" count="36"/>
|
72745 |
<line num="158" type="stmt" count="36"/>
|
72746 |
<line num="159" type="stmt" count="36"/>
|
72747 |
+
<line num="161" type="stmt" count="36"/>
|
72748 |
+
<line num="162" type="stmt" count="36"/>
|
|
|
72749 |
<line num="168" type="stmt" count="36"/>
|
72750 |
<line num="169" type="stmt" count="36"/>
|
72751 |
<line num="170" type="stmt" count="36"/>
|
72752 |
<line num="171" type="stmt" count="36"/>
|
72753 |
<line num="172" type="stmt" count="36"/>
|
72754 |
+
<line num="173" type="stmt" count="36"/>
|
72755 |
<line num="174" type="stmt" count="36"/>
|
72756 |
+
<line num="175" type="stmt" count="36"/>
|
72757 |
+
<line num="177" type="stmt" count="36"/>
|
72758 |
+
<line num="185" type="method" name="isPluginInstalled" visibility="public" complexity="1" crap="1" count="36"/>
|
72759 |
+
<line num="186" type="stmt" count="36"/>
|
72760 |
+
<line num="187" type="stmt" count="36"/>
|
72761 |
+
<line num="199" type="method" name="getChildPlugins" visibility="public" complexity="6" crap="14.79" count="36"/>
|
72762 |
<line num="200" type="stmt" count="36"/>
|
72763 |
+
<line num="202" type="stmt" count="36"/>
|
72764 |
+
<line num="203" type="stmt" count="36"/>
|
72765 |
+
<line num="204" type="stmt" count="36"/>
|
|
|
72766 |
<line num="205" type="stmt" count="0"/>
|
72767 |
<line num="206" type="stmt" count="0"/>
|
72768 |
<line num="207" type="stmt" count="0"/>
|
72769 |
+
<line num="208" type="stmt" count="0"/>
|
72770 |
+
<line num="209" type="stmt" count="0"/>
|
72771 |
+
<line num="210" type="stmt" count="0"/>
|
72772 |
+
<line num="212" type="stmt" count="36"/>
|
72773 |
+
<line num="213" type="stmt" count="36"/>
|
72774 |
+
<line num="216" type="stmt" count="0"/>
|
72775 |
<line num="217" type="stmt" count="0"/>
|
72776 |
+
<line num="218" type="stmt" count="0"/>
|
72777 |
+
<line num="220" type="stmt" count="0"/>
|
72778 |
+
<metrics loc="222" ncloc="134" classes="1" methods="7" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="79" coveredstatements="64" elements="86" coveredelements="69"/>
|
72779 |
</file>
|
72780 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Notice.php">
|
72781 |
<class name="Notice" namespace="Boldgrid\Library\Library\Plugin">
|
72967 |
</file>
|
72968 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugin.php">
|
72969 |
<class name="Plugin" namespace="Boldgrid\Library\Library\Plugin">
|
72970 |
+
<metrics complexity="46" methods="27" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="87" coveredstatements="36" elements="114" coveredelements="46"/>
|
72971 |
</class>
|
72972 |
+
<line num="139" type="method" name="__construct" visibility="public" complexity="3" crap="3" count="36"/>
|
72973 |
<line num="141" type="stmt" count="36"/>
|
72974 |
<line num="142" type="stmt" count="36"/>
|
72975 |
<line num="143" type="stmt" count="36"/>
|
72976 |
<line num="145" type="stmt" count="36"/>
|
72977 |
<line num="147" type="stmt" count="36"/>
|
72978 |
<line num="148" type="stmt" count="36"/>
|
72979 |
+
<line num="157" type="method" name="setUpdateData" visibility="public" complexity="1" crap="1" count="1"/>
|
72980 |
+
<line num="158" type="stmt" count="1"/>
|
72981 |
+
<line num="159" type="stmt" count="1"/>
|
72982 |
+
<line num="170" type="method" name="firstVersionCompare" visibility="public" complexity="1" crap="1" count="1"/>
|
72983 |
+
<line num="172" type="stmt" count="1"/>
|
72984 |
+
<line num="174" type="stmt" count="1"/>
|
72985 |
+
<line num="184" type="method" name="getActivateUrl" visibility="public" complexity="1" crap="2" count="0"/>
|
72986 |
+
<line num="185" type="stmt" count="0"/>
|
72987 |
+
<line num="186" type="stmt" count="0"/>
|
72988 |
+
<line num="187" type="stmt" count="0"/>
|
72989 |
<line num="188" type="stmt" count="0"/>
|
72990 |
+
<line num="198" type="method" name="getIcons" visibility="public" complexity="3" crap="12" count="0"/>
|
72991 |
+
<line num="199" type="stmt" count="0"/>
|
72992 |
+
<line num="201" type="stmt" count="0"/>
|
72993 |
+
<line num="202" type="stmt" count="0"/>
|
72994 |
+
<line num="203" type="stmt" count="0"/>
|
72995 |
<line num="205" type="stmt" count="0"/>
|
72996 |
+
<line num="215" type="method" name="getChildPlugins" visibility="public" complexity="1" crap="2" count="0"/>
|
72997 |
+
<line num="216" type="stmt" count="0"/>
|
72998 |
+
<line num="229" type="method" name="getData" visibility="public" complexity="2" crap="2" count="1"/>
|
72999 |
+
<line num="230" type="stmt" count="1"/>
|
73000 |
+
<line num="232" type="stmt" count="1"/>
|
73001 |
+
<line num="244" type="method" name="getDownloadUrl" visibility="public" complexity="1" crap="2" count="0"/>
|
73002 |
+
<line num="245" type="stmt" count="0"/>
|
73003 |
+
<line num="247" type="stmt" count="0"/>
|
73004 |
<line num="249" type="stmt" count="0"/>
|
73005 |
+
<line num="259" type="method" name="getInstallUrl" visibility="public" complexity="1" crap="2" count="0"/>
|
73006 |
+
<line num="260" type="stmt" count="0"/>
|
73007 |
+
<line num="261" type="stmt" count="0"/>
|
73008 |
+
<line num="262" type="stmt" count="0"/>
|
73009 |
<line num="263" type="stmt" count="0"/>
|
73010 |
+
<line num="273" type="method" name="getIsInstalled" visibility="public" complexity="1" crap="2" count="0"/>
|
73011 |
+
<line num="274" type="stmt" count="0"/>
|
73012 |
+
<line num="284" type="method" name="getFile" visibility="public" complexity="1" crap="1" count="1"/>
|
73013 |
+
<line num="285" type="stmt" count="1"/>
|
73014 |
+
<line num="295" type="method" name="getNewVersion" visibility="public" complexity="2" crap="6" count="0"/>
|
73015 |
+
<line num="296" type="stmt" count="0"/>
|
73016 |
+
<line num="298" type="stmt" count="0"/>
|
73017 |
+
<line num="307" type="method" name="getPluginConfig" visibility="public" complexity="1" crap="1" count="29"/>
|
73018 |
+
<line num="308" type="stmt" count="29"/>
|
73019 |
+
<line num="318" type="method" name="getPluginData" visibility="public" complexity="3" crap="4.12" count="1"/>
|
73020 |
+
<line num="319" type="stmt" count="1"/>
|
73021 |
+
<line num="320" type="stmt" count="0"/>
|
73022 |
+
<line num="321" type="stmt" count="0"/>
|
73023 |
<line num="322" type="stmt" count="1"/>
|
73024 |
+
<line num="332" type="method" name="getPluginsChecked" visibility="public" complexity="2" crap="2" count="1"/>
|
73025 |
+
<line num="333" type="stmt" count="1"/>
|
73026 |
+
<line num="335" type="stmt" count="1"/>
|
73027 |
+
<line num="337" type="stmt" count="1"/>
|
73028 |
+
<line num="347" type="method" name="getSlug" visibility="public" complexity="1" crap="1" count="2"/>
|
73029 |
+
<line num="348" type="stmt" count="2"/>
|
73030 |
+
<line num="357" type="method" name="setPages" visibility="public" complexity="3" crap="3" count="36"/>
|
73031 |
+
<line num="358" type="stmt" count="36"/>
|
73032 |
+
<line num="359" type="stmt" count="36"/>
|
73033 |
+
<line num="360" type="stmt" count="29"/>
|
73034 |
+
<line num="361" type="stmt" count="29"/>
|
73035 |
+
<line num="362" type="stmt" count="29"/>
|
73036 |
+
<line num="363" type="stmt" count="29"/>
|
73037 |
+
<line num="364" type="stmt" count="36"/>
|
73038 |
+
<line num="365" type="stmt" count="36"/>
|
73039 |
+
<line num="374" type="method" name="setAllNoticesRead" visibility="public" complexity="2" crap="6" count="0"/>
|
73040 |
+
<line num="375" type="stmt" count="0"/>
|
73041 |
+
<line num="376" type="stmt" count="0"/>
|
73042 |
+
<line num="377" type="stmt" count="0"/>
|
73043 |
+
<line num="378" type="stmt" count="0"/>
|
73044 |
+
<line num="388" type="method" name="getPages" visibility="public" complexity="1" crap="1" count="2"/>
|
73045 |
+
<line num="389" type="stmt" count="2"/>
|
73046 |
+
<line num="400" type="method" name="getPageBySlug" visibility="public" complexity="3" crap="3.58" count="2"/>
|
73047 |
+
<line num="401" type="stmt" count="2"/>
|
73048 |
+
<line num="402" type="stmt" count="2"/>
|
73049 |
+
<line num="403" type="stmt" count="2"/>
|
|
|
73050 |
<line num="405" type="stmt" count="0"/>
|
73051 |
<line num="406" type="stmt" count="0"/>
|
73052 |
+
<line num="415" type="method" name="setPluginData" visibility="public" complexity="1" crap="2" count="0"/>
|
73053 |
<line num="416" type="stmt" count="0"/>
|
73054 |
<line num="417" type="stmt" count="0"/>
|
73055 |
+
<line num="426" type="method" name="getUpdatePlugins" visibility="public" complexity="2" crap="6" count="0"/>
|
73056 |
+
<line num="427" type="stmt" count="0"/>
|
73057 |
+
<line num="428" type="stmt" count="0"/>
|
73058 |
+
<line num="429" type="stmt" count="0"/>
|
73059 |
<line num="431" type="stmt" count="0"/>
|
73060 |
+
<line num="441" type="method" name="hasUpdate" visibility="public" complexity="1" crap="2" count="0"/>
|
73061 |
+
<line num="442" type="stmt" count="0"/>
|
73062 |
<line num="444" type="stmt" count="0"/>
|
73063 |
+
<line num="454" type="method" name="isActive" visibility="public" complexity="1" crap="2" count="0"/>
|
73064 |
+
<line num="455" type="stmt" count="0"/>
|
73065 |
+
<line num="465" type="method" name="getFirstVersion" visibility="public" complexity="3" crap="4.54" count="1"/>
|
73066 |
+
<line num="466" type="stmt" count="1"/>
|
73067 |
+
<line num="468" type="stmt" count="1"/>
|
73068 |
+
<line num="477" type="stmt" count="0"/>
|
73069 |
+
<line num="478" type="stmt" count="0"/>
|
73070 |
+
<line num="479" type="stmt" count="0"/>
|
73071 |
+
<line num="480" type="stmt" count="0"/>
|
73072 |
+
<line num="481" type="stmt" count="0"/>
|
73073 |
+
<line num="483" type="stmt" count="1"/>
|
73074 |
+
<line num="485" type="stmt" count="1"/>
|
73075 |
+
<line num="497" type="method" name="getUnreadCount" visibility="public" complexity="2" crap="6" count="0"/>
|
73076 |
+
<line num="498" type="stmt" count="0"/>
|
73077 |
+
<line num="499" type="stmt" count="0"/>
|
73078 |
+
<line num="500" type="stmt" count="0"/>
|
73079 |
+
<line num="501" type="stmt" count="0"/>
|
73080 |
+
<line num="502" type="stmt" count="0"/>
|
73081 |
+
<line num="514" type="method" name="getUnreadMarkup" visibility="public" complexity="2" crap="6" count="0"/>
|
73082 |
+
<line num="515" type="stmt" count="0"/>
|
73083 |
+
<line num="516" type="stmt" count="0"/>
|
73084 |
+
<line num="517" type="stmt" count="0"/>
|
73085 |
+
<line num="519" type="stmt" count="0"/>
|
73086 |
+
<metrics loc="522" ncloc="206" classes="1" methods="27" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="87" coveredstatements="36" elements="114" coveredelements="46"/>
|
73087 |
</file>
|
73088 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugins.php">
|
73089 |
<class name="Plugins" namespace="Boldgrid\Library\Library\Plugin">
|
73120 |
</file>
|
73121 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/UpdateData.php">
|
73122 |
<class name="UpdateData" namespace="Boldgrid\Library\Library\Plugin">
|
73123 |
+
<metrics complexity="31" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="98" coveredstatements="48" elements="106" coveredelements="48"/>
|
73124 |
</class>
|
73125 |
+
<line num="128" type="method" name="__construct" visibility="public" complexity="10" crap="14.21" count="1"/>
|
73126 |
+
<line num="129" type="stmt" count="1"/>
|
73127 |
+
<line num="132" type="stmt" count="1"/>
|
73128 |
+
<line num="134" type="stmt" count="1"/>
|
73129 |
+
<line num="136" type="stmt" count="1"/>
|
73130 |
+
<line num="137" type="stmt" count="0"/>
|
73131 |
+
<line num="138" type="stmt" count="0"/>
|
73132 |
+
<line num="139" type="stmt" count="0"/>
|
73133 |
+
<line num="140" type="stmt" count="0"/>
|
73134 |
+
<line num="141" type="stmt" count="0"/>
|
73135 |
+
<line num="142" type="stmt" count="0"/>
|
73136 |
+
<line num="143" type="stmt" count="0"/>
|
73137 |
+
<line num="144" type="stmt" count="0"/>
|
73138 |
+
<line num="145" type="stmt" count="1"/>
|
73139 |
+
<line num="146" type="stmt" count="1"/>
|
73140 |
+
<line num="147" type="stmt" count="1"/>
|
73141 |
+
<line num="148" type="stmt" count="1"/>
|
73142 |
+
<line num="149" type="stmt" count="1"/>
|
73143 |
+
<line num="150" type="stmt" count="1"/>
|
73144 |
+
<line num="151" type="stmt" count="1"/>
|
73145 |
+
<line num="153" type="stmt" count="1"/>
|
73146 |
+
<line num="155" type="stmt" count="1"/>
|
73147 |
+
<line num="156" type="stmt" count="1"/>
|
73148 |
+
<line num="157" type="stmt" count="1"/>
|
73149 |
+
<line num="165" type="method" name="getMinorVersionInstalls" visibility="public" complexity="3" crap="12" count="0"/>
|
73150 |
+
<line num="166" type="stmt" count="0"/>
|
73151 |
+
<line num="167" type="stmt" count="0"/>
|
73152 |
+
<line num="168" type="stmt" count="0"/>
|
73153 |
+
<line num="169" type="stmt" count="0"/>
|
73154 |
+
<line num="171" type="stmt" count="0"/>
|
73155 |
+
<line num="172" type="stmt" count="0"/>
|
73156 |
+
<line num="173" type="stmt" count="0"/>
|
73157 |
+
<line num="174" type="stmt" count="0"/>
|
73158 |
+
<line num="183" type="method" name="getResponseData" visibility="public" complexity="1" crap="2" count="0"/>
|
73159 |
+
<line num="184" type="stmt" count="0"/>
|
73160 |
+
<line num="196" type="method" name="fetchResponseData" visibility="public" complexity="5" crap="7.76" count="1"/>
|
73161 |
+
<line num="197" type="stmt" count="1"/>
|
73162 |
+
<line num="198" type="stmt" count="1"/>
|
73163 |
+
<line num="199" type="stmt" count="1"/>
|
73164 |
+
<line num="200" type="stmt" count="1"/>
|
73165 |
+
<line num="201" type="stmt" count="1"/>
|
73166 |
+
<line num="202" type="stmt" count="0"/>
|
73167 |
+
<line num="203" type="stmt" count="0"/>
|
73168 |
+
<line num="205" type="stmt" count="0"/>
|
73169 |
+
<line num="207" type="stmt" count="0"/>
|
73170 |
+
<line num="208" type="stmt" count="0"/>
|
73171 |
+
<line num="209" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
73172 |
<line num="210" type="stmt" count="0"/>
|
73173 |
+
<line num="212" type="stmt" count="0"/>
|
73174 |
+
<line num="214" type="stmt" count="0"/>
|
73175 |
+
<line num="215" type="stmt" count="0"/>
|
73176 |
+
<line num="217" type="stmt" count="1"/>
|
73177 |
+
<line num="218" type="stmt" count="1"/>
|
73178 |
+
<line num="219" type="stmt" count="1"/>
|
73179 |
+
<line num="220" type="stmt" count="1"/>
|
73180 |
+
<line num="221" type="stmt" count="1"/>
|
73181 |
+
<line num="222" type="stmt" count="1"/>
|
73182 |
+
<line num="225" type="stmt" count="1"/>
|
73183 |
+
<line num="226" type="stmt" count="0"/>
|
73184 |
+
<line num="227" type="stmt" count="0"/>
|
73185 |
+
<line num="230" type="stmt" count="1"/>
|
73186 |
+
<line num="240" type="method" name="getInformationTransient" visibility="public" complexity="5" crap="10.40" count="1"/>
|
73187 |
+
<line num="241" type="stmt" count="1"/>
|
73188 |
+
<line num="242" type="stmt" count="1"/>
|
73189 |
+
<line num="243" type="stmt" count="1"/>
|
73190 |
+
<line num="244" type="stmt" count="1"/>
|
73191 |
+
<line num="246" type="stmt" count="0"/>
|
73192 |
+
<line num="249" type="stmt" count="0"/>
|
73193 |
+
<line num="250" type="stmt" count="0"/>
|
73194 |
+
<line num="253" type="stmt" count="0"/>
|
73195 |
+
<line num="254" type="stmt" count="0"/>
|
73196 |
+
<line num="256" type="stmt" count="0"/>
|
73197 |
+
<line num="265" type="method" name="getAgeOfTransient" visibility="public" complexity="2" crap="2.86" count="1"/>
|
73198 |
+
<line num="266" type="stmt" count="1"/>
|
73199 |
+
<line num="267" type="stmt" count="0"/>
|
73200 |
+
<line num="268" type="stmt" count="0"/>
|
73201 |
+
<line num="269" type="stmt" count="0"/>
|
73202 |
+
<line num="271" type="stmt" count="1"/>
|
73203 |
+
<line num="278" type="method" name="setInformationTransient" visibility="public" complexity="3" crap="3.02" count="1"/>
|
73204 |
+
<line num="279" type="stmt" count="1"/>
|
73205 |
+
<line num="280" type="stmt" count="1"/>
|
73206 |
+
<line num="281" type="stmt" count="1"/>
|
73207 |
+
<line num="282" type="stmt" count="1"/>
|
73208 |
+
<line num="284" type="stmt" count="1"/>
|
73209 |
+
<line num="285" type="stmt" count="1"/>
|
73210 |
+
<line num="286" type="stmt" count="1"/>
|
73211 |
+
<line num="287" type="stmt" count="1"/>
|
73212 |
+
<line num="288" type="stmt" count="1"/>
|
73213 |
+
<line num="289" type="stmt" count="1"/>
|
73214 |
+
<line num="290" type="stmt" count="1"/>
|
73215 |
+
<line num="293" type="stmt" count="1"/>
|
73216 |
+
<line num="294" type="stmt" count="1"/>
|
73217 |
+
<line num="295" type="stmt" count="0"/>
|
73218 |
+
<line num="296" type="stmt" count="0"/>
|
73219 |
+
<line num="298" type="stmt" count="1"/>
|
73220 |
+
<line num="307" type="method" name="getGenericInfo" visibility="public" complexity="2" crap="6" count="0"/>
|
73221 |
+
<line num="308" type="stmt" count="0"/>
|
73222 |
+
<line num="309" type="stmt" count="0"/>
|
73223 |
+
<line num="312" type="stmt" count="0"/>
|
73224 |
+
<line num="313" type="stmt" count="0"/>
|
73225 |
+
<line num="314" type="stmt" count="0"/>
|
73226 |
+
<line num="315" type="stmt" count="0"/>
|
73227 |
+
<line num="316" type="stmt" count="0"/>
|
73228 |
+
<line num="317" type="stmt" count="0"/>
|
73229 |
+
<line num="318" type="stmt" count="0"/>
|
73230 |
+
<line num="320" type="stmt" count="0"/>
|
73231 |
+
<metrics loc="322" ncloc="172" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="98" coveredstatements="48" elements="106" coveredelements="48"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
73232 |
</file>
|
73233 |
</package>
|
73234 |
<package name="Boldgrid\Library\Library\Theme">
|
73293 |
</file>
|
73294 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Theme/UpdateData.php">
|
73295 |
<class name="UpdateData" namespace="Boldgrid\Library\Library\Theme">
|
73296 |
+
<metrics complexity="22" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="43" elements="91" coveredelements="43"/>
|
73297 |
</class>
|
73298 |
+
<line num="103" type="method" name="__construct" visibility="public" complexity="5" crap="5.93" count="36"/>
|
73299 |
+
<line num="105" type="stmt" count="36"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73300 |
<line num="107" type="stmt" count="36"/>
|
73301 |
+
<line num="109" type="stmt" count="36"/>
|
73302 |
+
<line num="110" type="stmt" count="0"/>
|
73303 |
+
<line num="111" type="stmt" count="0"/>
|
73304 |
+
<line num="112" type="stmt" count="0"/>
|
73305 |
+
<line num="113" type="stmt" count="0"/>
|
73306 |
+
<line num="114" type="stmt" count="0"/>
|
73307 |
+
<line num="115" type="stmt" count="0"/>
|
73308 |
+
<line num="116" type="stmt" count="36"/>
|
73309 |
+
<line num="117" type="stmt" count="36"/>
|
73310 |
+
<line num="118" type="stmt" count="36"/>
|
73311 |
+
<line num="119" type="stmt" count="36"/>
|
73312 |
+
<line num="120" type="stmt" count="36"/>
|
73313 |
+
<line num="122" type="stmt" count="36"/>
|
73314 |
+
<line num="125" type="stmt" count="36"/>
|
73315 |
+
<line num="127" type="stmt" count="36"/>
|
73316 |
+
<line num="128" type="stmt" count="36"/>
|
73317 |
+
<line num="137" type="method" name="getResponseData" visibility="public" complexity="1" crap="2" count="0"/>
|
73318 |
+
<line num="138" type="stmt" count="0"/>
|
73319 |
+
<line num="148" type="method" name="fetchResponseData" visibility="public" complexity="4" crap="5.77" count="36"/>
|
73320 |
+
<line num="149" type="stmt" count="36"/>
|
73321 |
+
<line num="151" type="stmt" count="36"/>
|
73322 |
<line num="153" type="stmt" count="36"/>
|
73323 |
+
<line num="154" type="stmt" count="36"/>
|
73324 |
<line num="156" type="stmt" count="36"/>
|
73325 |
+
<line num="157" type="stmt" count="0"/>
|
73326 |
+
<line num="158" type="stmt" count="0"/>
|
73327 |
+
<line num="160" type="stmt" count="0"/>
|
73328 |
+
<line num="162" type="stmt" count="0"/>
|
73329 |
+
<line num="163" type="stmt" count="0"/>
|
73330 |
+
<line num="164" type="stmt" count="0"/>
|
73331 |
+
<line num="165" type="stmt" count="0"/>
|
73332 |
+
<line num="167" type="stmt" count="0"/>
|
73333 |
+
<line num="169" type="stmt" count="0"/>
|
73334 |
+
<line num="170" type="stmt" count="0"/>
|
73335 |
+
<line num="172" type="stmt" count="36"/>
|
73336 |
<line num="173" type="stmt" count="36"/>
|
73337 |
<line num="174" type="stmt" count="36"/>
|
73338 |
<line num="175" type="stmt" count="36"/>
|
73339 |
<line num="176" type="stmt" count="36"/>
|
73340 |
+
<line num="177" type="stmt" count="36"/>
|
73341 |
<line num="180" type="stmt" count="36"/>
|
73342 |
+
<line num="181" type="stmt" count="0"/>
|
73343 |
+
<line num="182" type="stmt" count="0"/>
|
73344 |
+
<line num="185" type="stmt" count="36"/>
|
73345 |
+
<line num="194" type="method" name="getAgeOfTransient" visibility="public" complexity="2" crap="2.86" count="36"/>
|
73346 |
+
<line num="195" type="stmt" count="36"/>
|
73347 |
+
<line num="196" type="stmt" count="0"/>
|
73348 |
+
<line num="197" type="stmt" count="0"/>
|
73349 |
+
<line num="198" type="stmt" count="0"/>
|
73350 |
+
<line num="200" type="stmt" count="36"/>
|
73351 |
+
<line num="209" type="method" name="getInformationTransient" visibility="public" complexity="5" crap="11.44" count="36"/>
|
73352 |
+
<line num="210" type="stmt" count="36"/>
|
73353 |
+
<line num="211" type="stmt" count="36"/>
|
73354 |
+
<line num="212" type="stmt" count="36"/>
|
73355 |
+
<line num="213" type="stmt" count="36"/>
|
73356 |
+
<line num="215" type="stmt" count="0"/>
|
73357 |
+
<line num="218" type="stmt" count="0"/>
|
73358 |
+
<line num="219" type="stmt" count="0"/>
|
73359 |
+
<line num="220" type="stmt" count="0"/>
|
73360 |
+
<line num="223" type="stmt" count="0"/>
|
73361 |
+
<line num="224" type="stmt" count="0"/>
|
73362 |
+
<line num="226" type="stmt" count="0"/>
|
73363 |
+
<line num="234" type="method" name="setInformationTransient" visibility="public" complexity="3" crap="3.03" count="36"/>
|
73364 |
+
<line num="235" type="stmt" count="36"/>
|
73365 |
+
<line num="236" type="stmt" count="36"/>
|
73366 |
+
<line num="237" type="stmt" count="36"/>
|
73367 |
+
<line num="238" type="stmt" count="36"/>
|
73368 |
+
<line num="240" type="stmt" count="36"/>
|
73369 |
+
<line num="241" type="stmt" count="36"/>
|
73370 |
+
<line num="242" type="stmt" count="36"/>
|
73371 |
+
<line num="243" type="stmt" count="36"/>
|
73372 |
+
<line num="244" type="stmt" count="36"/>
|
73373 |
+
<line num="247" type="stmt" count="36"/>
|
73374 |
+
<line num="248" type="stmt" count="36"/>
|
73375 |
+
<line num="249" type="stmt" count="0"/>
|
73376 |
+
<line num="250" type="stmt" count="0"/>
|
73377 |
+
<line num="251" type="stmt" count="36"/>
|
73378 |
+
<line num="260" type="method" name="getGenericInfo" visibility="public" complexity="2" crap="6" count="0"/>
|
73379 |
+
<line num="261" type="stmt" count="0"/>
|
73380 |
+
<line num="262" type="stmt" count="0"/>
|
73381 |
+
<line num="265" type="stmt" count="0"/>
|
73382 |
+
<line num="266" type="stmt" count="0"/>
|
73383 |
+
<line num="267" type="stmt" count="0"/>
|
73384 |
+
<line num="268" type="stmt" count="0"/>
|
73385 |
+
<line num="269" type="stmt" count="0"/>
|
73386 |
+
<line num="270" type="stmt" count="0"/>
|
73387 |
+
<line num="271" type="stmt" count="0"/>
|
73388 |
+
<line num="273" type="stmt" count="0"/>
|
73389 |
+
<metrics loc="275" ncloc="152" classes="1" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="43" elements="91" coveredelements="43"/>
|
73390 |
</file>
|
73391 |
</package>
|
73392 |
<package name="Boldgrid\Library\Library\Ui">
|
75491 |
</file>
|
75492 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Theme/test-update-data.php">
|
75493 |
<class name="Test_BoldGrid_Library_Library_Theme_UpdateData" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Theme">
|
75494 |
+
<metrics complexity="3" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="25" coveredstatements="0" elements="28" coveredelements="0"/>
|
75495 |
</class>
|
75496 |
<line num="32" type="method" name="setUp" visibility="public" complexity="1" crap="2" count="0"/>
|
75497 |
<line num="34" type="stmt" count="0"/>
|
75503 |
<line num="40" type="stmt" count="0"/>
|
75504 |
<line num="41" type="stmt" count="0"/>
|
75505 |
<line num="42" type="stmt" count="0"/>
|
75506 |
+
<line num="43" type="stmt" count="0"/>
|
75507 |
+
<line num="44" type="stmt" count="0"/>
|
75508 |
+
<line num="46" type="method" name="test_getResponseData" visibility="public" complexity="1" crap="2" count="0"/>
|
75509 |
<line num="47" type="stmt" count="0"/>
|
75510 |
<line num="48" type="stmt" count="0"/>
|
75511 |
+
<line num="49" type="stmt" count="0"/>
|
75512 |
+
<line num="50" type="stmt" count="0"/>
|
75513 |
<line num="51" type="stmt" count="0"/>
|
75514 |
<line num="52" type="stmt" count="0"/>
|
75515 |
<line num="53" type="stmt" count="0"/>
|
75516 |
<line num="54" type="stmt" count="0"/>
|
75517 |
+
<line num="56" type="method" name="test_getInformationTransient" visibility="public" complexity="1" crap="2" count="0"/>
|
|
|
75518 |
<line num="57" type="stmt" count="0"/>
|
75519 |
<line num="58" type="stmt" count="0"/>
|
75520 |
+
<line num="60" type="stmt" count="0"/>
|
75521 |
<line num="61" type="stmt" count="0"/>
|
75522 |
+
<line num="63" type="stmt" count="0"/>
|
75523 |
<line num="64" type="stmt" count="0"/>
|
75524 |
+
<metrics loc="64" ncloc="44" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="25" coveredstatements="0" elements="28" coveredelements="0"/>
|
|
|
|
|
|
|
75525 |
</file>
|
75526 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Util/test-plugin.php">
|
75527 |
<class name="Test_BoldGrid_Library_Util_Plugin" namespace="global" fullPackage="Test.BoldGrid.Library.Util">
|
76293 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
76294 |
</file>
|
76295 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
76296 |
+
<class name="ComposerStaticInit21d6f917c7097c0a65bf3ddcb9c687bb" namespace="Composer\Autoload">
|
76297 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
76298 |
</class>
|
76299 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
76385 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
76386 |
</file>
|
76387 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
76388 |
+
<class name="ComposerAutoloaderInit21d6f917c7097c0a65bf3ddcb9c687bb" namespace="global">
|
76389 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
76390 |
</class>
|
76391 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
95604 |
<line num="16" type="stmt" count="0"/>
|
95605 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
95606 |
</file>
|
95607 |
+
<metrics files="959" loc="191646" ncloc="117038" classes="868" methods="3559" coveredmethods="291" conditionals="0" coveredconditionals="0" statements="86151" coveredstatements="4351" elements="89710" coveredelements="4642"/>
|
95608 |
</project>
|
95609 |
</coverage>
|
includes/class-boldgrid-backup.php
CHANGED
@@ -544,6 +544,8 @@ class Boldgrid_Backup {
|
|
544 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\admin_notices', $usage, 'filter_notice' );
|
545 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\maybeShow', $usage, 'maybe_show_notice' );
|
546 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\getPrefixes', $usage, 'filter_prefixes' );
|
|
|
|
|
547 |
|
548 |
// Log system.
|
549 |
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin_core->log_page, 'admin_enqueue_scripts' );
|
544 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\admin_notices', $usage, 'filter_notice' );
|
545 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\maybeShow', $usage, 'maybe_show_notice' );
|
546 |
$this->loader->add_filter( 'Boldgrid\Library\Usage\getPrefixes', $usage, 'filter_prefixes' );
|
547 |
+
$this->loader->add_filter( 'is_boldgrid_backup_page', $usage, 'has_screen_prefix' );
|
548 |
+
$this->loader->add_action( 'in_admin_header', $plugin_admin_core->upload, 'archive_upload_action' );
|
549 |
|
550 |
// Log system.
|
551 |
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin_core->log_page, 'admin_enqueue_scripts' );
|
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 ComposerAutoloaderInit21d6f917c7097c0a65bf3ddcb9c687bb::getLoader();
|
vendor/boldgrid/library/src/Library/Plugin/Factory.php
CHANGED
@@ -32,15 +32,16 @@ class Factory {
|
|
32 |
*
|
33 |
* @param string $pluginName Plugin slug or filename passed from constructor.
|
34 |
* @param array $pluginConfig Array of plugin config data.
|
|
|
35 |
*
|
36 |
* @return Plugin
|
37 |
*/
|
38 |
-
public static function create( $pluginName, $pluginConfig = null ) {
|
39 |
$plugin = null;
|
40 |
if ( false === strpos( $pluginName, '.' ) ) {
|
41 |
-
$plugin = self::createFromSlug( $pluginName, $pluginConfig );
|
42 |
} else {
|
43 |
-
$plugin = self::createFromFile( $pluginName, $pluginConfig );
|
44 |
}
|
45 |
|
46 |
return $plugin;
|
@@ -51,10 +52,11 @@ class Factory {
|
|
51 |
*
|
52 |
* @param string $slug Plugin Slug.
|
53 |
* @param array $pluginConfig Array of plugin config data.
|
|
|
54 |
*
|
55 |
* @return Plugin
|
56 |
*/
|
57 |
-
public static function createFromSlug( $slug, $pluginConfig ) {
|
58 |
|
59 |
$slug = ! empty( $slug ) ? $slug : '';
|
60 |
|
@@ -76,6 +78,7 @@ class Factory {
|
|
76 |
'path' => $path,
|
77 |
'isInstalled' => $isInstalled,
|
78 |
'childPlugins' => $childPlugins,
|
|
|
79 |
)
|
80 |
);
|
81 |
}
|
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;
|
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 |
|
78 |
'path' => $path,
|
79 |
'isInstalled' => $isInstalled,
|
80 |
'childPlugins' => $childPlugins,
|
81 |
+
'getUpdateData' => $getUpdateData,
|
82 |
)
|
83 |
);
|
84 |
}
|
vendor/boldgrid/library/src/Library/Plugin/Plugin.php
CHANGED
@@ -142,11 +142,22 @@ class Plugin {
|
|
142 |
$this->$paramKey = $paramValue;
|
143 |
}
|
144 |
|
145 |
-
$this->updateData =
|
146 |
|
147 |
$this->setPages();
|
148 |
}
|
149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
/**
|
151 |
* Version compare for the first version of this plugin.
|
152 |
*
|
142 |
$this->$paramKey = $paramValue;
|
143 |
}
|
144 |
|
145 |
+
$this->updateData = ! empty( $this->getUpdateData ) ? $this->setUpdateData() : false;
|
146 |
|
147 |
$this->setPages();
|
148 |
}
|
149 |
|
150 |
+
/**
|
151 |
+
* Set UpdateData.
|
152 |
+
*
|
153 |
+
* @since 2.12.2
|
154 |
+
*
|
155 |
+
* @param bool $force Whether or not to force fetching from API.
|
156 |
+
*/
|
157 |
+
public function setUpdateData( $force = false ) {
|
158 |
+
$this->updateData = new UpdateData( $this, null, $force );
|
159 |
+
}
|
160 |
+
|
161 |
/**
|
162 |
* Version compare for the first version of this plugin.
|
163 |
*
|
vendor/boldgrid/library/src/Library/Plugin/UpdateData.php
CHANGED
@@ -98,6 +98,24 @@ class UpdateData {
|
|
98 |
*/
|
99 |
private $responseData;
|
100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
/**
|
102 |
* Constructor.
|
103 |
*
|
@@ -105,8 +123,9 @@ class UpdateData {
|
|
105 |
*
|
106 |
* @param Plugin $plugin The plugin we are getting data for.
|
107 |
* @param string $slug Optional slug of plugin if plugin object not given.
|
|
|
108 |
*/
|
109 |
-
public function __construct( $plugin = null, $slug = null ) {
|
110 |
include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
|
111 |
|
112 |
// If a plugin object is passed in constructer, use that, or else create a new one from slug.
|
@@ -120,19 +139,19 @@ class UpdateData {
|
|
120 |
$this->version = $responseTransient['version'];
|
121 |
$this->downloaded = $responseTransient['downloaded'];
|
122 |
$this->releaseDate = $responseTransient['last_updated'];
|
123 |
-
$this->stats = $responseTransient['stats'];
|
124 |
$this->thirdParty = $responseTransient['third_party'];
|
|
|
125 |
} else {
|
126 |
-
$this->responseData = $this->fetchResponseData();
|
127 |
$this->activeInstalls = isset( $this->responseData->active_installs ) ? $this->responseData->active_installs : '0';
|
128 |
$this->version = isset( $this->responseData->version ) ? $this->responseData->version : null;
|
129 |
$this->downloaded = isset( $this->responseData->downloaded ) ? $this->responseData->downloaded : '0';
|
130 |
$this->releaseDate = isset( $this->responseData->last_updated ) ? new \DateTime( $this->responseData->last_updated ) : new \DateTime( gmdate( 'Y-m-d H:i:s', 1 ) );
|
131 |
-
$this->stats = ( $this->fetchPluginStats() ) ? $this->fetchPluginStats() : array();
|
132 |
$this->thirdParty = isset( $this->responseData->third_party ) ? $this->responseData->third_party : false;
|
133 |
-
|
134 |
-
$this->setInformationTransient();
|
135 |
|
|
|
|
|
136 |
$now = new \DateTime();
|
137 |
$this->days = date_diff( $now, $this->releaseDate )->format( '%a' );
|
138 |
}
|
@@ -170,55 +189,45 @@ class UpdateData {
|
|
170 |
*
|
171 |
* @since 2.12.2
|
172 |
*
|
|
|
|
|
173 |
* @return Response
|
174 |
*/
|
175 |
-
public function fetchResponseData() {
|
176 |
-
$
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
|
188 |
if ( is_a( $plugin_information, 'WP_Error' ) ) {
|
189 |
$plugin_information = $this->getGenericInfo( $plugin_information );
|
190 |
return (object) $plugin_information;
|
191 |
}
|
192 |
|
193 |
-
return $plugin_information;
|
194 |
-
}
|
195 |
-
|
196 |
-
/**
|
197 |
-
* Get Plugin Stats.
|
198 |
-
*
|
199 |
-
* @since 2.12.2
|
200 |
-
*
|
201 |
-
* @return Array
|
202 |
-
*/
|
203 |
-
public function fetchPluginStats() {
|
204 |
-
|
205 |
-
$response = wp_remote_get( 'https://api.wordpress.org/stats/plugin/1.0/' . $this->plugin->getSlug() );
|
206 |
-
|
207 |
-
if ( $response && array_key_exists( 'body', $response ) ) {
|
208 |
-
$response = $response['body'];
|
209 |
-
} else {
|
210 |
-
return false;
|
211 |
-
}
|
212 |
-
|
213 |
-
$stats = array();
|
214 |
-
if ( false !== $response ) {
|
215 |
-
$response = json_decode( $response, true );
|
216 |
-
|
217 |
-
if ( json_last_error() === JSON_ERROR_NONE && is_array( $response ) ) {
|
218 |
-
$stats = $response;
|
219 |
-
}
|
220 |
-
}
|
221 |
-
return $stats;
|
222 |
}
|
223 |
|
224 |
/**
|
@@ -231,16 +240,36 @@ class UpdateData {
|
|
231 |
public function getInformationTransient() {
|
232 |
$transient = get_transient( 'boldgrid_plugin_information' );
|
233 |
if ( false === $transient ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
return false;
|
235 |
}
|
236 |
|
237 |
if ( array_key_exists( $this->plugin->getSlug(), $transient ) ) {
|
238 |
return $transient[ $this->plugin->getSlug() ];
|
239 |
}
|
240 |
-
|
241 |
return false;
|
242 |
}
|
243 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
/**
|
245 |
* Set Plugin Information Transient.
|
246 |
*
|
@@ -257,11 +286,15 @@ class UpdateData {
|
|
257 |
'version' => $this->version,
|
258 |
'downloaded' => $this->downloaded,
|
259 |
'last_updated' => $this->releaseDate,
|
260 |
-
'stats' => $this->stats,
|
261 |
'third_party' => $this->thirdParty,
|
|
|
262 |
);
|
263 |
|
264 |
-
|
|
|
|
|
|
|
|
|
265 |
}
|
266 |
|
267 |
/**
|
@@ -281,6 +314,7 @@ class UpdateData {
|
|
281 |
'downloaded' => '000000',
|
282 |
'last_updated' => gmdate( 'Y-m-d H:i:s', 1 ),
|
283 |
'third_party' => true,
|
|
|
284 |
);
|
285 |
|
286 |
return $plugin_information;
|
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 |
*
|
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.
|
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 |
}
|
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 |
/**
|
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 |
*
|
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 |
/**
|
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;
|
vendor/boldgrid/library/src/Library/Theme/UpdateData.php
CHANGED
@@ -74,6 +74,24 @@ class UpdateData {
|
|
74 |
*/
|
75 |
private $responseData;
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
/**
|
78 |
* Constructor.
|
79 |
*
|
@@ -93,13 +111,16 @@ class UpdateData {
|
|
93 |
$this->version = $responseTransient['version'];
|
94 |
$this->downloaded = $responseTransient['downloaded'];
|
95 |
$this->releaseDate = $responseTransient['last_updated'];
|
|
|
96 |
} else {
|
97 |
$this->responseData = $this->fetchResponseData();
|
98 |
$this->version = $this->responseData->version;
|
99 |
$this->downloaded = $this->responseData->downloaded;
|
100 |
$this->releaseDate = new \DateTime( $this->responseData->last_updated );
|
|
|
|
|
|
|
101 |
}
|
102 |
-
$this->setInformationTransient();
|
103 |
|
104 |
$now = new \DateTime();
|
105 |
|
@@ -126,19 +147,56 @@ class UpdateData {
|
|
126 |
*/
|
127 |
public function fetchResponseData() {
|
128 |
include_once ABSPATH . 'wp-admin/includes/theme.php';
|
129 |
-
$theme_information = themes_api(
|
130 |
-
'theme_information',
|
131 |
-
array(
|
132 |
-
'slug' => $this->theme->stylesheet,
|
133 |
-
'fields' => array(
|
134 |
-
'downloaded',
|
135 |
-
'last_updated',
|
136 |
-
'active_installs',
|
137 |
-
),
|
138 |
-
)
|
139 |
-
);
|
140 |
|
141 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
}
|
143 |
|
144 |
/**
|
@@ -151,8 +209,17 @@ class UpdateData {
|
|
151 |
public function getInformationTransient() {
|
152 |
$transient = get_transient( 'boldgrid_theme_information' );
|
153 |
if ( false === $transient ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
return false;
|
155 |
}
|
|
|
156 |
if ( array_key_exists( $this->theme->stylesheet, $transient ) ) {
|
157 |
return $transient[ $this->theme->stylesheet ];
|
158 |
}
|
@@ -171,11 +238,38 @@ class UpdateData {
|
|
171 |
}
|
172 |
|
173 |
$transient[ $this->theme->stylesheet ] = array(
|
174 |
-
'version'
|
175 |
-
'downloaded'
|
176 |
-
'last_updated'
|
|
|
177 |
);
|
178 |
|
179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
}
|
181 |
}
|
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 |
*
|
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 |
|
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 |
/**
|
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 |
}
|
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/tests/Library/Plugin/test-update-data.php
DELETED
@@ -1,65 +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 |
-
namespace Boldgrid\Library\Library\Plugin;
|
12 |
-
|
13 |
-
use Boldgrid\Library\Library\Configs;
|
14 |
-
|
15 |
-
/**
|
16 |
-
* WP Remote Get Override.
|
17 |
-
*
|
18 |
-
* This is a function written to override the default wp_remote_get function.
|
19 |
-
* It is outsite of the class , but within the same namespace as the class.
|
20 |
-
* This is necessary for the class to override the existing wp_remote_get().
|
21 |
-
* function during testing.
|
22 |
-
*
|
23 |
-
* @param string $url URL to get.
|
24 |
-
* @since 2.12.2
|
25 |
-
*/
|
26 |
-
function wp_remote_get( $url ) {
|
27 |
-
if ( false === strpos( $url, 'FakeFake' ) ) {
|
28 |
-
return \wp_remote_get( $url );
|
29 |
-
} else {
|
30 |
-
return false;
|
31 |
-
}
|
32 |
-
}
|
33 |
-
|
34 |
-
/**
|
35 |
-
* BoldGrid Library Library Plugin Plugin Test class.
|
36 |
-
*
|
37 |
-
* @since 2.12.2
|
38 |
-
*/
|
39 |
-
class Test_BoldGrid_Library_Library_Plugin_UpdateData extends \WP_UnitTestCase {
|
40 |
-
/**
|
41 |
-
* Setup.
|
42 |
-
*
|
43 |
-
* @since 2.12.2
|
44 |
-
*/
|
45 |
-
public function setUp() {
|
46 |
-
// Setup our configs.
|
47 |
-
$this->transient_data = array(
|
48 |
-
'twentytwenty' => array(
|
49 |
-
'version' => '1.1',
|
50 |
-
'downloaded' => 482251,
|
51 |
-
'last_updated' => new \DateTime( '2020-02-05' ),
|
52 |
-
),
|
53 |
-
);
|
54 |
-
}
|
55 |
-
|
56 |
-
/**
|
57 |
-
* Test FetchPluginStats.
|
58 |
-
*
|
59 |
-
* @since 2.12.2
|
60 |
-
*/
|
61 |
-
public function test_fetchPluginStats() {
|
62 |
-
$update_data = new UpdateData( null, 'FakeFake' );
|
63 |
-
$this->assertFalse( $update_data->fetchPluginStats() );
|
64 |
-
}
|
65 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/boldgrid/library/tests/Library/Theme/test-update-data.php
CHANGED
@@ -34,19 +34,15 @@ class Test_BoldGrid_Library_Library_Theme_UpdateData extends WP_UnitTestCase {
|
|
34 |
delete_transient( 'boldgrid_theme_information' );
|
35 |
$this->transient_data = array(
|
36 |
'twentytwenty' => array(
|
37 |
-
'version'
|
38 |
-
'downloaded'
|
39 |
-
'last_updated'
|
|
|
|
|
40 |
),
|
41 |
);
|
42 |
}
|
43 |
|
44 |
-
public function test_constructor() {
|
45 |
-
$this->assertFalse( get_transient( 'boldgrid_theme_information' ) );
|
46 |
-
$updateData = new Theme\UpdateData( new Theme\Theme( wp_get_theme( 'twentytwenty' ) ) );
|
47 |
-
$this->assertNotFalse( get_transient( 'boldgrid_theme_information' ) );
|
48 |
-
}
|
49 |
-
|
50 |
public function test_getResponseData() {
|
51 |
$updateData = new Theme\UpdateData( new Theme\Theme( wp_get_theme( 'twentytwenty' ) ) );
|
52 |
$responseData = $updateData->getResponseData();
|
@@ -59,7 +55,7 @@ class Test_BoldGrid_Library_Library_Theme_UpdateData extends WP_UnitTestCase {
|
|
59 |
|
60 |
public function test_getInformationTransient() {
|
61 |
$updateData = new Theme\UpdateData( new Theme\Theme( wp_get_theme( 'twentytwenty' ) ) );
|
62 |
-
$this->
|
63 |
|
64 |
set_transient( 'boldgrid_theme_information', array(), 60 );
|
65 |
$this->assertFalse( $updateData->getInformationTransient() );
|
34 |
delete_transient( 'boldgrid_theme_information' );
|
35 |
$this->transient_data = array(
|
36 |
'twentytwenty' => array(
|
37 |
+
'version' => '1.1',
|
38 |
+
'downloaded' => 482251,
|
39 |
+
'last_updated' => new DateTime('2020-02-05'),
|
40 |
+
'api_fetch_time' => false,
|
41 |
+
'active_installs' => 1000
|
42 |
),
|
43 |
);
|
44 |
}
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
public function test_getResponseData() {
|
47 |
$updateData = new Theme\UpdateData( new Theme\Theme( wp_get_theme( 'twentytwenty' ) ) );
|
48 |
$responseData = $updateData->getResponseData();
|
55 |
|
56 |
public function test_getInformationTransient() {
|
57 |
$updateData = new Theme\UpdateData( new Theme\Theme( wp_get_theme( 'twentytwenty' ) ) );
|
58 |
+
$this->assertFalse( $updateData->getInformationTransient() );
|
59 |
|
60 |
set_transient( 'boldgrid_theme_information', array(), 60 );
|
61 |
$this->assertFalse( $updateData->getInformationTransient() );
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit23ed9b4a5d14672d59ccb79ac93dc909
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit23ed9b4a5d14672d59ccb79ac93dc909
|
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
-
$includeFiles = Composer\Autoload\
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
-
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
-
function
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit21d6f917c7097c0a65bf3ddcb9c687bb
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit21d6f917c7097c0a65bf3ddcb9c687bb', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit21d6f917c7097c0a65bf3ddcb9c687bb', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit21d6f917c7097c0a65bf3ddcb9c687bb::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit21d6f917c7097c0a65bf3ddcb9c687bb::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequire21d6f917c7097c0a65bf3ddcb9c687bb($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequire21d6f917c7097c0a65bf3ddcb9c687bb($fileIdentifier, $file)
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
@@ -91,9 +91,9 @@ class ComposerStaticInit23ed9b4a5d14672d59ccb79ac93dc909
|
|
91 |
public static function getInitializer(ClassLoader $loader)
|
92 |
{
|
93 |
return \Closure::bind(function () use ($loader) {
|
94 |
-
$loader->prefixLengthsPsr4 =
|
95 |
-
$loader->prefixDirsPsr4 =
|
96 |
-
$loader->classMap =
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit21d6f917c7097c0a65bf3ddcb9c687bb
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
91 |
public static function getInitializer(ClassLoader $loader)
|
92 |
{
|
93 |
return \Closure::bind(function () use ($loader) {
|
94 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit21d6f917c7097c0a65bf3ddcb9c687bb::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit21d6f917c7097c0a65bf3ddcb9c687bb::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInit21d6f917c7097c0a65bf3ddcb9c687bb::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|
vendor/composer/installed.json
CHANGED
@@ -6,15 +6,15 @@
|
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/BoldGrid/library.git",
|
9 |
-
"reference": "
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
-
"url": "https://api.github.com/repos/BoldGrid/library/zipball/
|
14 |
-
"reference": "
|
15 |
"shasum": ""
|
16 |
},
|
17 |
-
"time": "2020-
|
18 |
"type": "library",
|
19 |
"installation-source": "source",
|
20 |
"autoload": {
|
@@ -215,20 +215,6 @@
|
|
215 |
"twofish",
|
216 |
"x.509",
|
217 |
"x509"
|
218 |
-
],
|
219 |
-
"funding": [
|
220 |
-
{
|
221 |
-
"url": "https://github.com/terrafrost",
|
222 |
-
"type": "github"
|
223 |
-
},
|
224 |
-
{
|
225 |
-
"url": "https://www.patreon.com/phpseclib",
|
226 |
-
"type": "patreon"
|
227 |
-
},
|
228 |
-
{
|
229 |
-
"url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib",
|
230 |
-
"type": "tidelift"
|
231 |
-
}
|
232 |
]
|
233 |
}
|
234 |
]
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/BoldGrid/library.git",
|
9 |
+
"reference": "8b9e12e3332135a20d8bdfab4367e7f4a41f9ab4"
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/BoldGrid/library/zipball/8b9e12e3332135a20d8bdfab4367e7f4a41f9ab4",
|
14 |
+
"reference": "8b9e12e3332135a20d8bdfab4367e7f4a41f9ab4",
|
15 |
"shasum": ""
|
16 |
},
|
17 |
+
"time": "2020-05-07T17:17:59+00:00",
|
18 |
"type": "library",
|
19 |
"installation-source": "source",
|
20 |
"autoload": {
|
215 |
"twofish",
|
216 |
"x.509",
|
217 |
"x509"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
]
|
219 |
}
|
220 |
]
|