Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version 1.14.0-rc.6

Version Description

Download this release

Release Info

Developer boldgrid
Plugin Icon 128x128 Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
Version 1.14.0-rc.6
Comparing to
See all releases

Code changes from version 1.14.0-rc.5 to 1.14.0-rc.6

admin/class-boldgrid-backup-admin-auto-updates.php CHANGED
@@ -82,6 +82,21 @@ class Boldgrid_Backup_Admin_Auto_Updates {
82
  }
83
  }
84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  /**
86
  * Maybe Update Plugin.
87
  *
@@ -91,7 +106,7 @@ class Boldgrid_Backup_Admin_Auto_Updates {
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
 
@@ -114,7 +129,7 @@ class Boldgrid_Backup_Admin_Auto_Updates {
114
  * @return bool
115
  */
116
  public function maybe_update_theme( $stylesheet ) {
117
- $days_to_wait = $this->settings['days'];
118
  $theme = $this->themes->getFromStylesheet( $stylesheet );
119
  $theme->setUpdateData();
120
  $days_since_release = $theme->updateData->days; //phpcs:ignore WordPress.NamingConventions.ValidVariableName
82
  }
83
  }
84
 
85
+ /**
86
+ * Get Days.
87
+ *
88
+ * @since 1.14.0
89
+ *
90
+ * @return int
91
+ */
92
+ public function get_days() {
93
+ if ( empty( $this->settings['timely-updates-enabled'] ) || empty( $this->settings['days'] ) ) {
94
+ return 0;
95
+ } else {
96
+ return $this->settings['days'];
97
+ }
98
+ }
99
+
100
  /**
101
  * Maybe Update Plugin.
102
  *
106
  * @return bool
107
  */
108
  public function maybe_update_plugin( $slug ) {
109
+ $days_to_wait = $this->get_days();
110
  $plugin = \Boldgrid\Library\Library\Plugin\Plugins::getBySlug( $this->plugins, $slug );
111
  $plugin->setUpdateData();
112
 
129
  * @return bool
130
  */
131
  public function maybe_update_theme( $stylesheet ) {
132
+ $days_to_wait = $this->get_days();
133
  $theme = $this->themes->getFromStylesheet( $stylesheet );
134
  $theme->setUpdateData();
135
  $days_since_release = $theme->updateData->days; //phpcs:ignore WordPress.NamingConventions.ValidVariableName
admin/class-boldgrid-backup-admin-settings.php CHANGED
@@ -715,7 +715,8 @@ class Boldgrid_Backup_Admin_Settings {
715
  * @since 1.14.0
716
  */
717
  if ( ! empty( $_POST['auto_update'] ) ) {
718
- $settings['auto_update'] = $_POST['auto_update'];
 
719
  }
720
 
721
  // Read BoldGrid settings form POST request, sanitize, and merge settings with saved.
@@ -781,6 +782,25 @@ class Boldgrid_Backup_Admin_Settings {
781
  return ! $update_error;
782
  }
783
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
784
  /**
785
  * Delete the boldgrid_backup_pending_rollback option.
786
  *
715
  * @since 1.14.0
716
  */
717
  if ( ! empty( $_POST['auto_update'] ) ) {
718
+ $settings['auto_update'] = $this->validate_auto_update( $_POST['auto_update'] );
719
+ $update_error = $settings['auto_update'] ? $update_error : true;
720
  }
721
 
722
  // Read BoldGrid settings form POST request, sanitize, and merge settings with saved.
782
  return ! $update_error;
783
  }
784
 
785
+ /**
786
+ * Validates the auto_update submissions.
787
+ *
788
+ * @since 1.14.0
789
+ *
790
+ * @param array $posted_update_settings Update settings submitted via POST.
791
+ *
792
+ * @return array
793
+ */
794
+ public function validate_auto_update( $posted_update_settings ) {
795
+ $post_days = isset( $posted_update_settings['days'] ) ? $posted_update_settings['days'] : null;
796
+
797
+ if ( null === $post_days || ( is_numeric( $post_days ) && 0 <= $post_days && 99 >= $post_days ) ) {
798
+ return $posted_update_settings;
799
+ }
800
+
801
+ return false;
802
+ }
803
+
804
  /**
805
  * Delete the boldgrid_backup_pending_rollback option.
806
  *
admin/partials/settings/auto-update.php CHANGED
@@ -88,12 +88,7 @@ function get_premium_markup() {
88
  /* 2 */ __( 'Upgrade to Premium for the option to configure a delay on updates!', 'boldgrid-backup' )
89
  );
90
 
91
- $premium_markup = '<div class="bg-box">
92
- <div class="bg-box-top">' .
93
- esc_html__( 'Configure When Auto Updates Occur', 'boldgrid-backup' ) . '
94
- </div>' . $premium_box . '</div>';
95
-
96
- return $premium_markup;
97
  }
98
 
99
  /**
@@ -420,11 +415,39 @@ function get_themes_update_markup( $auto_update_settings, $translations ) {
420
 
421
  $auto_update_markup = ' ' . get_heading_markup( $boldgrid_backup_settings, $auto_update_settings );
422
 
423
- if ( $this->core->config->is_premium_done ) {
424
- include_once BOLDGRID_BACKUP_PREMIUM_PATH . '/admin/partials/settings/timely-auto-updates.php';
425
- $auto_update_markup .= get_when_update_markup( $auto_update_settings );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
426
  } else {
427
  $auto_update_markup .= get_premium_markup( $auto_update_settings );
 
428
  }
429
 
430
  $auto_update_markup .= get_wpcore_update_markup( $auto_update_settings, $translations ) .
88
  /* 2 */ __( 'Upgrade to Premium for the option to configure a delay on updates!', 'boldgrid-backup' )
89
  );
90
 
91
+ return $premium_box;
 
 
 
 
 
92
  }
93
 
94
  /**
415
 
416
  $auto_update_markup = ' ' . get_heading_markup( $boldgrid_backup_settings, $auto_update_settings );
417
 
418
+ $auto_update_markup .= '
419
+ <div class="bg-box">
420
+ <div class="bg-box-top">' .
421
+ esc_html__( 'Configure When Auto Updates Occur', 'boldgrid-backup' ) . '
422
+ </div>
423
+ <div class="bg-box-bottom">';
424
+
425
+ // If the 'boldgrid_backup_premium_timely_auto_updates' filter does not exist, then the $auto_update_settings array will be returned.
426
+ $timely_update_markup = apply_filters( 'boldgrid_backup_premium_timely_auto_updates', $auto_update_settings );
427
+
428
+ /**
429
+ * This was changed to be sure that there are no errors / issues if Total Upkeep is updated, but Total Upkeep Premium is not.
430
+ * If Premium IS active and the above filter returns the $auto_update_settings array instead of the markup, then the user will need
431
+ * to update to the newest version. If the Premium Plugin is active and the markup is returned above, then the timely update markup is
432
+ * displayed. Lastly, if the premium plugin is not active at all, then the premium upsell is displayed.
433
+ */
434
+ if ( $this->core->config->is_premium_done && $timely_update_markup === $auto_update_settings ) {
435
+ $auto_update_markup .= sprintf(
436
+ '<div class="bg-box-bottom premium">
437
+ <p>
438
+ <a class="button" href="%1$s">%2$s</a>
439
+ %3$s
440
+ </p>
441
+ </div></div></div>',
442
+ /* 1 */ admin_url( 'update-core.php' ),
443
+ /* 2 */ __( 'View Updates', 'boldgrid-backup' ),
444
+ /* 3 */ __( 'Upgrade to the newest version of Premium for the option to configure a delay on updates!', 'boldgrid-backup' )
445
+ );
446
+ } elseif ( $this->core->config->is_premium_done ) {
447
+ $auto_update_markup .= $timely_update_markup;
448
  } else {
449
  $auto_update_markup .= get_premium_markup( $auto_update_settings );
450
+ $auto_update_markup .= '</div></div>';
451
  }
452
 
453
  $auto_update_markup .= get_wpcore_update_markup( $auto_update_settings, $translations ) .
boldgrid-backup.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: Total Upkeep
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
19
- * Version: 1.14.0-rc.5
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
16
  * Plugin Name: Total Upkeep
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
19
+ * Version: 1.14.0-rc.6
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
coverage.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1592247060">
3
- <project timestamp="1592247060">
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">
@@ -2054,7 +2054,7 @@
2054
  </file>
2055
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-auto-updates.php">
2056
  <class name="Boldgrid_Backup_Admin_Auto_Updates" namespace="global" fullPackage="Boldgrid.Backup.Admin.Auto">
2057
- <metrics complexity="26" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="68" coveredstatements="68" elements="75" coveredelements="75"/>
2058
  </class>
2059
  <line num="60" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/>
2060
  <line num="62" type="stmt" count="7"/>
@@ -2071,67 +2071,71 @@
2071
  <line num="79" type="stmt" count="2"/>
2072
  <line num="80" type="stmt" count="2"/>
2073
  <line num="83" type="stmt" count="7"/>
2074
- <line num="93" type="method" name="maybe_update_plugin" visibility="public" complexity="4" crap="4" count="1"/>
2075
- <line num="94" type="stmt" count="1"/>
2076
- <line num="95" type="stmt" count="1"/>
2077
- <line num="96" type="stmt" count="1"/>
2078
- <line num="98" type="stmt" count="1"/>
2079
- <line num="99" type="stmt" count="1"/>
2080
- <line num="100" type="stmt" count="1"/>
2081
- <line num="101" type="stmt" count="1"/>
2082
- <line num="102" type="stmt" count="1"/>
2083
- <line num="104" type="stmt" count="1"/>
2084
- <line num="116" type="method" name="maybe_update_theme" visibility="public" complexity="4" crap="4" count="1"/>
 
2085
  <line num="117" type="stmt" count="1"/>
2086
- <line num="118" type="stmt" count="1"/>
2087
  <line num="119" type="stmt" count="1"/>
2088
- <line num="120" type="stmt" count="1"/>
2089
- <line num="121" type="stmt" count="1"/>
2090
- <line num="122" type="stmt" count="1"/>
2091
- <line num="124" type="stmt" count="1"/>
2092
- <line num="125" type="stmt" count="1"/>
2093
- <line num="127" type="stmt" count="1"/>
2094
- <line num="142" type="method" name="auto_update_plugins" visibility="public" complexity="4" crap="4" count="1"/>
2095
- <line num="144" type="stmt" count="1"/>
2096
- <line num="145" type="stmt" count="1"/>
2097
- <line num="146" type="stmt" count="1"/>
2098
- <line num="147" type="stmt" count="1"/>
2099
- <line num="148" type="stmt" count="1"/>
2100
- <line num="149" type="stmt" count="1"/>
2101
- <line num="150" type="stmt" count="1"/>
2102
- <line num="152" type="stmt" count="1"/>
2103
- <line num="155" type="stmt" count="1"/>
2104
- <line num="170" type="method" name="auto_update_themes" visibility="public" complexity="4" crap="4" count="1"/>
2105
- <line num="172" type="stmt" count="1"/>
2106
- <line num="173" type="stmt" count="1"/>
2107
- <line num="174" type="stmt" count="1"/>
2108
- <line num="175" type="stmt" count="1"/>
2109
- <line num="176" type="stmt" count="1"/>
2110
- <line num="177" type="stmt" count="1"/>
2111
- <line num="178" type="stmt" count="1"/>
2112
- <line num="180" type="stmt" count="1"/>
2113
- <line num="183" type="stmt" count="1"/>
2114
- <line num="194" type="method" name="auto_update_core" visibility="public" complexity="7" crap="7" count="1"/>
2115
- <line num="196" type="stmt" count="1"/>
2116
- <line num="197" type="stmt" count="1"/>
2117
  <line num="198" type="stmt" count="1"/>
2118
- <line num="199" type="stmt" count="1"/>
2119
- <line num="200" type="stmt" count="1"/>
2120
- <line num="201" type="stmt" count="1"/>
2121
- <line num="203" type="stmt" count="1"/>
2122
- <line num="204" type="stmt" count="1"/>
2123
- <line num="205" type="stmt" count="1"/>
2124
- <line num="206" type="stmt" count="1"/>
2125
- <line num="208" type="stmt" count="1"/>
2126
- <line num="209" type="stmt" count="1"/>
2127
- <line num="210" type="stmt" count="1"/>
2128
  <line num="211" type="stmt" count="1"/>
 
2129
  <line num="213" type="stmt" count="1"/>
2130
  <line num="214" type="stmt" count="1"/>
2131
  <line num="215" type="stmt" count="1"/>
2132
  <line num="216" type="stmt" count="1"/>
2133
- <line num="217" type="stmt" count="1"/>
2134
- <metrics loc="218" ncloc="106" classes="1" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="68" coveredstatements="68" elements="75" coveredelements="75"/>
 
 
 
 
 
 
 
 
 
 
 
 
2135
  </file>
2136
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-backup-dir.php">
2137
  <class name="Boldgrid_Backup_Admin_Backup_Dir" namespace="global" fullPackage="Boldgrid.Backup.Admin.Backup">
@@ -6330,7 +6334,7 @@
6330
  </file>
6331
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-settings.php">
6332
  <class name="Boldgrid_Backup_Admin_Settings" namespace="global" fullPackage="Boldgrid.Backup.Admin">
6333
- <metrics complexity="147" methods="16" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="463" coveredstatements="100" elements="479" coveredelements="104"/>
6334
  </class>
6335
  <line num="50" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
6336
  <line num="52" type="stmt" count="29"/>
@@ -6514,7 +6518,7 @@
6514
  <line num="424" type="stmt" count="0"/>
6515
  <line num="425" type="stmt" count="0"/>
6516
  <line num="427" type="stmt" count="0"/>
6517
- <line num="441" type="method" name="update_settings" visibility="private" complexity="64" crap="4160" count="0"/>
6518
  <line num="442" type="stmt" count="0"/>
6519
  <line num="445" type="stmt" count="0"/>
6520
  <line num="446" type="stmt" count="0"/>
@@ -6658,160 +6662,166 @@
6658
  <line num="717" type="stmt" count="0"/>
6659
  <line num="718" type="stmt" count="0"/>
6660
  <line num="719" type="stmt" count="0"/>
6661
- <line num="722" type="stmt" count="0"/>
6662
  <line num="723" type="stmt" count="0"/>
6663
  <line num="724" type="stmt" count="0"/>
6664
- <line num="726" type="stmt" count="0"/>
6665
  <line num="727" type="stmt" count="0"/>
6666
  <line num="728" type="stmt" count="0"/>
6667
  <line num="729" type="stmt" count="0"/>
6668
  <line num="730" type="stmt" count="0"/>
6669
  <line num="731" type="stmt" count="0"/>
6670
- <line num="733" type="stmt" count="0"/>
6671
  <line num="734" type="stmt" count="0"/>
6672
- <line num="738" type="stmt" count="0"/>
6673
  <line num="739" type="stmt" count="0"/>
6674
  <line num="740" type="stmt" count="0"/>
6675
  <line num="741" type="stmt" count="0"/>
6676
- <line num="744" type="stmt" count="0"/>
6677
- <line num="747" type="stmt" count="0"/>
6678
  <line num="748" type="stmt" count="0"/>
6679
  <line num="749" type="stmt" count="0"/>
6680
  <line num="750" type="stmt" count="0"/>
6681
  <line num="751" type="stmt" count="0"/>
6682
- <line num="754" type="stmt" count="0"/>
6683
- <line num="756" type="stmt" count="0"/>
6684
  <line num="757" type="stmt" count="0"/>
6685
  <line num="758" type="stmt" count="0"/>
6686
- <line num="760" type="stmt" count="0"/>
6687
  <line num="761" type="stmt" count="0"/>
6688
  <line num="762" type="stmt" count="0"/>
6689
  <line num="763" type="stmt" count="0"/>
6690
  <line num="764" type="stmt" count="0"/>
6691
- <line num="767" type="stmt" count="0"/>
6692
  <line num="768" type="stmt" count="0"/>
6693
  <line num="769" type="stmt" count="0"/>
6694
- <line num="771" type="stmt" count="0"/>
6695
- <line num="777" type="stmt" count="0"/>
6696
  <line num="778" type="stmt" count="0"/>
6697
- <line num="781" type="stmt" count="0"/>
6698
- <line num="789" type="method" name="delete_rollback_option" visibility="public" complexity="1" crap="1" count="1"/>
6699
- <line num="790" type="stmt" count="1"/>
6700
- <line num="791" type="stmt" count="1"/>
6701
- <line num="801" type="method" name="page_backup_settings" visibility="public" complexity="12" crap="156" count="0"/>
6702
- <line num="803" type="stmt" count="0"/>
6703
- <line num="804" type="stmt" count="0"/>
6704
- <line num="805" type="stmt" count="0"/>
6705
- <line num="807" type="stmt" count="0"/>
6706
- <line num="808" type="stmt" count="0"/>
6707
- <line num="809" type="stmt" count="0"/>
6708
- <line num="810" type="stmt" count="0"/>
6709
- <line num="811" type="stmt" count="0"/>
6710
- <line num="813" type="stmt" count="0"/>
6711
- <line num="814" type="stmt" count="0"/>
6712
- <line num="815" type="stmt" count="0"/>
6713
- <line num="817" type="stmt" count="0"/>
6714
- <line num="818" type="stmt" count="0"/>
6715
- <line num="819" type="stmt" count="0"/>
6716
- <line num="822" type="stmt" count="0"/>
6717
  <line num="823" type="stmt" count="0"/>
6718
  <line num="824" type="stmt" count="0"/>
6719
  <line num="825" type="stmt" count="0"/>
6720
  <line num="827" type="stmt" count="0"/>
6721
  <line num="828" type="stmt" count="0"/>
 
6722
  <line num="830" type="stmt" count="0"/>
6723
  <line num="831" type="stmt" count="0"/>
6724
  <line num="833" type="stmt" count="0"/>
 
6725
  <line num="835" type="stmt" count="0"/>
6726
- <line num="836" type="stmt" count="0"/>
 
 
 
6727
  <line num="843" type="stmt" count="0"/>
6728
  <line num="844" type="stmt" count="0"/>
6729
  <line num="845" type="stmt" count="0"/>
6730
- <line num="846" type="stmt" count="0"/>
6731
  <line num="848" type="stmt" count="0"/>
6732
  <line num="850" type="stmt" count="0"/>
6733
  <line num="851" type="stmt" count="0"/>
6734
- <line num="854" type="stmt" count="0"/>
6735
- <line num="861" type="stmt" count="0"/>
6736
- <line num="862" type="stmt" count="0"/>
6737
  <line num="863" type="stmt" count="0"/>
6738
  <line num="864" type="stmt" count="0"/>
 
6739
  <line num="866" type="stmt" count="0"/>
6740
  <line num="868" type="stmt" count="0"/>
6741
- <line num="869" type="stmt" count="0"/>
6742
- <line num="872" type="stmt" count="0"/>
6743
  <line num="874" type="stmt" count="0"/>
6744
- <line num="875" type="stmt" count="0"/>
6745
- <line num="878" type="stmt" count="0"/>
6746
- <line num="879" type="stmt" count="0"/>
6747
- <line num="880" type="stmt" count="0"/>
6748
  <line num="881" type="stmt" count="0"/>
6749
  <line num="882" type="stmt" count="0"/>
6750
- <line num="885" type="stmt" count="0"/>
 
6751
  <line num="886" type="stmt" count="0"/>
6752
- <line num="887" type="stmt" count="0"/>
6753
  <line num="888" type="stmt" count="0"/>
6754
  <line num="889" type="stmt" count="0"/>
6755
- <line num="891" type="stmt" count="0"/>
6756
- <line num="893" type="stmt" count="0"/>
6757
  <line num="894" type="stmt" count="0"/>
6758
  <line num="895" type="stmt" count="0"/>
6759
- <line num="896" type="stmt" count="0"/>
6760
- <line num="897" type="stmt" count="0"/>
6761
  <line num="899" type="stmt" count="0"/>
 
 
6762
  <line num="902" type="stmt" count="0"/>
6763
- <line num="903" type="stmt" count="0"/>
6764
- <line num="904" type="stmt" count="0"/>
6765
  <line num="905" type="stmt" count="0"/>
6766
  <line num="906" type="stmt" count="0"/>
 
6767
  <line num="908" type="stmt" count="0"/>
 
6768
  <line num="911" type="stmt" count="0"/>
6769
- <line num="912" type="stmt" count="0"/>
6770
  <line num="913" type="stmt" count="0"/>
6771
  <line num="914" type="stmt" count="0"/>
6772
  <line num="915" type="stmt" count="0"/>
 
6773
  <line num="917" type="stmt" count="0"/>
6774
- <line num="920" type="stmt" count="0"/>
6775
- <line num="921" type="stmt" count="0"/>
6776
  <line num="922" type="stmt" count="0"/>
6777
  <line num="923" type="stmt" count="0"/>
 
6778
  <line num="925" type="stmt" count="0"/>
6779
- <line num="927" type="stmt" count="0"/>
6780
  <line num="928" type="stmt" count="0"/>
6781
- <line num="930" type="stmt" count="0"/>
 
6782
  <line num="933" type="stmt" count="0"/>
6783
  <line num="934" type="stmt" count="0"/>
6784
  <line num="935" type="stmt" count="0"/>
6785
  <line num="937" type="stmt" count="0"/>
6786
- <line num="939" type="stmt" count="0"/>
6787
  <line num="940" type="stmt" count="0"/>
6788
  <line num="941" type="stmt" count="0"/>
 
6789
  <line num="943" type="stmt" count="0"/>
6790
- <line num="944" type="stmt" count="0"/>
6791
  <line num="945" type="stmt" count="0"/>
6792
- <line num="952" type="stmt" count="0"/>
 
 
 
6793
  <line num="954" type="stmt" count="0"/>
6794
  <line num="955" type="stmt" count="0"/>
6795
  <line num="957" type="stmt" count="0"/>
6796
- <line num="962" type="stmt" count="0"/>
 
 
6797
  <line num="963" type="stmt" count="0"/>
6798
  <line num="964" type="stmt" count="0"/>
6799
- <line num="968" type="stmt" count="0"/>
6800
- <line num="969" type="stmt" count="0"/>
6801
- <line num="979" type="method" name="save" visibility="public" complexity="1" crap="1" count="6"/>
6802
- <line num="980" type="stmt" count="6"/>
6803
- <line num="991" type="method" name="update_cron" visibility="public" complexity="4" crap="20" count="0"/>
6804
- <line num="992" type="stmt" count="0"/>
6805
- <line num="994" type="stmt" count="0"/>
6806
- <line num="996" type="stmt" count="0"/>
6807
- <line num="997" type="stmt" count="0"/>
6808
- <line num="998" type="stmt" count="0"/>
6809
- <line num="999" type="stmt" count="0"/>
6810
- <line num="1000" type="stmt" count="0"/>
6811
- <line num="1001" type="stmt" count="0"/>
6812
- <line num="1002" type="stmt" count="0"/>
6813
- <line num="1004" type="stmt" count="0"/>
6814
- <metrics loc="1006" ncloc="615" classes="1" methods="16" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="463" coveredstatements="100" elements="479" coveredelements="104"/>
 
 
 
 
 
 
 
 
6815
  </file>
6816
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-support.php">
6817
  <class name="Boldgrid_Backup_Admin_Support" namespace="global" fullPackage="Boldgrid.Backup.Admin">
@@ -11245,18 +11255,19 @@
11245
  <line num="89" type="stmt" count="0"/>
11246
  <line num="91" type="stmt" count="0"/>
11247
  <line num="92" type="stmt" count="0"/>
11248
- <line num="93" type="stmt" count="0"/>
11249
- <line num="94" type="stmt" count="0"/>
11250
- <line num="96" type="stmt" count="0"/>
11251
- <line num="97" type="stmt" count="0"/>
 
11252
  <line num="108" type="stmt" count="0"/>
11253
  <line num="109" type="stmt" count="0"/>
11254
  <line num="110" type="stmt" count="0"/>
11255
- <line num="111" type="stmt" count="0"/>
11256
  <line num="112" type="stmt" count="0"/>
11257
  <line num="113" type="stmt" count="0"/>
11258
  <line num="114" type="stmt" count="0"/>
11259
  <line num="115" type="stmt" count="0"/>
 
11260
  <line num="117" type="stmt" count="0"/>
11261
  <line num="118" type="stmt" count="0"/>
11262
  <line num="119" type="stmt" count="0"/>
@@ -11336,19 +11347,18 @@
11336
  <line num="193" type="stmt" count="0"/>
11337
  <line num="194" type="stmt" count="0"/>
11338
  <line num="195" type="stmt" count="0"/>
11339
- <line num="196" type="stmt" count="0"/>
11340
- <line num="197" type="stmt" count="0"/>
11341
- <line num="198" type="stmt" count="0"/>
11342
- <line num="199" type="stmt" count="0"/>
11343
- <line num="200" type="stmt" count="0"/>
11344
- <line num="212" type="stmt" count="0"/>
11345
  <line num="213" type="stmt" count="0"/>
11346
  <line num="214" type="stmt" count="0"/>
11347
  <line num="215" type="stmt" count="0"/>
11348
  <line num="216" type="stmt" count="0"/>
 
11349
  <line num="218" type="stmt" count="0"/>
11350
  <line num="219" type="stmt" count="0"/>
11351
- <line num="220" type="stmt" count="0"/>
11352
  <line num="221" type="stmt" count="0"/>
11353
  <line num="222" type="stmt" count="0"/>
11354
  <line num="223" type="stmt" count="0"/>
@@ -11357,6 +11367,7 @@
11357
  <line num="227" type="stmt" count="0"/>
11358
  <line num="228" type="stmt" count="0"/>
11359
  <line num="229" type="stmt" count="0"/>
 
11360
  <line num="231" type="stmt" count="0"/>
11361
  <line num="232" type="stmt" count="0"/>
11362
  <line num="233" type="stmt" count="0"/>
@@ -11375,29 +11386,29 @@
11375
  <line num="246" type="stmt" count="0"/>
11376
  <line num="247" type="stmt" count="0"/>
11377
  <line num="248" type="stmt" count="0"/>
11378
- <line num="249" type="stmt" count="0"/>
11379
  <line num="250" type="stmt" count="0"/>
11380
  <line num="251" type="stmt" count="0"/>
11381
- <line num="252" type="stmt" count="0"/>
11382
  <line num="253" type="stmt" count="0"/>
 
11383
  <line num="255" type="stmt" count="0"/>
11384
  <line num="256" type="stmt" count="0"/>
 
11385
  <line num="258" type="stmt" count="0"/>
11386
  <line num="259" type="stmt" count="0"/>
11387
  <line num="260" type="stmt" count="0"/>
11388
  <line num="261" type="stmt" count="0"/>
11389
  <line num="262" type="stmt" count="0"/>
11390
- <line num="263" type="stmt" count="0"/>
11391
  <line num="264" type="stmt" count="0"/>
11392
- <line num="265" type="stmt" count="0"/>
11393
  <line num="266" type="stmt" count="0"/>
11394
  <line num="267" type="stmt" count="0"/>
11395
- <line num="269" type="stmt" count="0"/>
11396
- <line num="271" type="stmt" count="0"/>
11397
  <line num="272" type="stmt" count="0"/>
11398
- <line num="273" type="stmt" count="0"/>
11399
  <line num="275" type="stmt" count="0"/>
 
11400
  <line num="277" type="stmt" count="0"/>
 
11401
  <line num="279" type="stmt" count="0"/>
11402
  <line num="280" type="stmt" count="0"/>
11403
  <line num="281" type="stmt" count="0"/>
@@ -11411,11 +11422,11 @@
11411
  <line num="289" type="stmt" count="0"/>
11412
  <line num="290" type="stmt" count="0"/>
11413
  <line num="291" type="stmt" count="0"/>
11414
- <line num="292" type="stmt" count="0"/>
11415
  <line num="293" type="stmt" count="0"/>
11416
  <line num="294" type="stmt" count="0"/>
11417
  <line num="295" type="stmt" count="0"/>
11418
  <line num="296" type="stmt" count="0"/>
 
11419
  <line num="298" type="stmt" count="0"/>
11420
  <line num="299" type="stmt" count="0"/>
11421
  <line num="300" type="stmt" count="0"/>
@@ -11426,25 +11437,24 @@
11426
  <line num="305" type="stmt" count="0"/>
11427
  <line num="306" type="stmt" count="0"/>
11428
  <line num="307" type="stmt" count="0"/>
11429
- <line num="308" type="stmt" count="0"/>
11430
  <line num="309" type="stmt" count="0"/>
11431
  <line num="310" type="stmt" count="0"/>
11432
  <line num="311" type="stmt" count="0"/>
11433
- <line num="312" type="stmt" count="0"/>
11434
- <line num="314" type="stmt" count="0"/>
11435
- <line num="315" type="stmt" count="0"/>
11436
- <line num="316" type="stmt" count="0"/>
 
11437
  <line num="328" type="stmt" count="0"/>
11438
- <line num="329" type="stmt" count="0"/>
11439
  <line num="330" type="stmt" count="0"/>
11440
  <line num="331" type="stmt" count="0"/>
11441
  <line num="332" type="stmt" count="0"/>
11442
- <line num="333" type="stmt" count="0"/>
11443
  <line num="335" type="stmt" count="0"/>
11444
  <line num="336" type="stmt" count="0"/>
11445
  <line num="337" type="stmt" count="0"/>
 
11446
  <line num="339" type="stmt" count="0"/>
11447
- <line num="340" type="stmt" count="0"/>
11448
  <line num="341" type="stmt" count="0"/>
11449
  <line num="342" type="stmt" count="0"/>
11450
  <line num="343" type="stmt" count="0"/>
@@ -11453,6 +11463,7 @@
11453
  <line num="347" type="stmt" count="0"/>
11454
  <line num="348" type="stmt" count="0"/>
11455
  <line num="349" type="stmt" count="0"/>
 
11456
  <line num="351" type="stmt" count="0"/>
11457
  <line num="352" type="stmt" count="0"/>
11458
  <line num="353" type="stmt" count="0"/>
@@ -11472,27 +11483,27 @@
11472
  <line num="367" type="stmt" count="0"/>
11473
  <line num="368" type="stmt" count="0"/>
11474
  <line num="369" type="stmt" count="0"/>
11475
- <line num="370" type="stmt" count="0"/>
11476
  <line num="371" type="stmt" count="0"/>
11477
  <line num="372" type="stmt" count="0"/>
11478
- <line num="373" type="stmt" count="0"/>
11479
  <line num="374" type="stmt" count="0"/>
 
11480
  <line num="376" type="stmt" count="0"/>
11481
  <line num="377" type="stmt" count="0"/>
 
11482
  <line num="379" type="stmt" count="0"/>
11483
  <line num="380" type="stmt" count="0"/>
11484
  <line num="381" type="stmt" count="0"/>
11485
  <line num="382" type="stmt" count="0"/>
11486
  <line num="383" type="stmt" count="0"/>
11487
- <line num="384" type="stmt" count="0"/>
11488
  <line num="385" type="stmt" count="0"/>
11489
  <line num="386" type="stmt" count="0"/>
11490
- <line num="387" type="stmt" count="0"/>
11491
- <line num="388" type="stmt" count="0"/>
11492
  <line num="390" type="stmt" count="0"/>
11493
- <line num="391" type="stmt" count="0"/>
 
11494
  <line num="394" type="stmt" count="0"/>
11495
  <line num="395" type="stmt" count="0"/>
 
11496
  <line num="397" type="stmt" count="0"/>
11497
  <line num="398" type="stmt" count="0"/>
11498
  <line num="399" type="stmt" count="0"/>
@@ -11506,27 +11517,41 @@
11506
  <line num="407" type="stmt" count="0"/>
11507
  <line num="408" type="stmt" count="0"/>
11508
  <line num="409" type="stmt" count="0"/>
11509
- <line num="410" type="stmt" count="0"/>
11510
  <line num="411" type="stmt" count="0"/>
11511
- <line num="412" type="stmt" count="0"/>
11512
  <line num="413" type="stmt" count="0"/>
11513
  <line num="414" type="stmt" count="0"/>
11514
  <line num="416" type="stmt" count="0"/>
11515
  <line num="418" type="stmt" count="0"/>
11516
  <line num="419" type="stmt" count="0"/>
 
11517
  <line num="421" type="stmt" count="0"/>
 
11518
  <line num="423" type="stmt" count="0"/>
11519
- <line num="424" type="stmt" count="0"/>
11520
- <line num="425" type="stmt" count="0"/>
11521
  <line num="426" type="stmt" count="0"/>
11522
- <line num="427" type="stmt" count="0"/>
11523
- <line num="428" type="stmt" count="0"/>
11524
- <line num="430" type="stmt" count="0"/>
11525
- <line num="431" type="stmt" count="0"/>
11526
- <line num="432" type="stmt" count="0"/>
11527
- <line num="433" type="stmt" count="0"/>
11528
  <line num="435" type="stmt" count="0"/>
11529
- <metrics loc="435" ncloc="364" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="332" coveredstatements="0" elements="332" coveredelements="0"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11530
  </file>
11531
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/settings/backup-directory.php">
11532
  <line num="17" type="stmt" count="0"/>
@@ -70958,7 +70983,7 @@
70958
  </file>
70959
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-auto-updates.php">
70960
  <class name="Test_Boldgrid_Backup_Admin_Auto_Updates" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Auto">
70961
- <metrics complexity="19" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="180" coveredstatements="180" elements="190" coveredelements="190"/>
70962
  </class>
70963
  <line num="50" type="method" name="install_plugin" visibility="public" complexity="5" crap="5" count="2"/>
70964
  <line num="51" type="stmt" count="2"/>
@@ -71041,54 +71066,54 @@
71041
  <line num="179" type="stmt" count="1"/>
71042
  <line num="180" type="stmt" count="1"/>
71043
  <line num="181" type="stmt" count="1"/>
71044
- <line num="188" type="method" name="test_maybe_update_theme" visibility="public" complexity="1" crap="1" count="1"/>
71045
- <line num="190" type="stmt" count="1"/>
71046
  <line num="191" type="stmt" count="1"/>
71047
  <line num="192" type="stmt" count="1"/>
71048
  <line num="193" type="stmt" count="1"/>
71049
- <line num="196" type="stmt" count="1"/>
71050
  <line num="197" type="stmt" count="1"/>
71051
  <line num="198" type="stmt" count="1"/>
71052
  <line num="199" type="stmt" count="1"/>
71053
- <line num="202" type="stmt" count="1"/>
71054
  <line num="203" type="stmt" count="1"/>
71055
  <line num="204" type="stmt" count="1"/>
71056
  <line num="205" type="stmt" count="1"/>
71057
- <line num="207" type="stmt" count="1"/>
71058
  <line num="208" type="stmt" count="1"/>
71059
  <line num="209" type="stmt" count="1"/>
71060
  <line num="210" type="stmt" count="1"/>
71061
- <line num="213" type="stmt" count="1"/>
71062
  <line num="214" type="stmt" count="1"/>
71063
  <line num="215" type="stmt" count="1"/>
71064
  <line num="216" type="stmt" count="1"/>
71065
  <line num="217" type="stmt" count="1"/>
71066
  <line num="218" type="stmt" count="1"/>
71067
- <line num="221" type="stmt" count="1"/>
71068
  <line num="222" type="stmt" count="1"/>
71069
  <line num="223" type="stmt" count="1"/>
71070
  <line num="224" type="stmt" count="1"/>
71071
  <line num="225" type="stmt" count="1"/>
71072
  <line num="226" type="stmt" count="1"/>
71073
- <line num="229" type="stmt" count="1"/>
71074
  <line num="230" type="stmt" count="1"/>
71075
  <line num="231" type="stmt" count="1"/>
71076
  <line num="232" type="stmt" count="1"/>
71077
  <line num="233" type="stmt" count="1"/>
71078
- <line num="240" type="method" name="test_auto_update_plugins" visibility="public" complexity="1" crap="1" count="1"/>
71079
- <line num="241" type="stmt" count="1"/>
71080
- <line num="242" type="stmt" count="1"/>
 
71081
  <line num="244" type="stmt" count="1"/>
71082
- <line num="245" type="stmt" count="1"/>
71083
  <line num="246" type="stmt" count="1"/>
71084
  <line num="247" type="stmt" count="1"/>
71085
  <line num="248" type="stmt" count="1"/>
71086
  <line num="249" type="stmt" count="1"/>
71087
  <line num="250" type="stmt" count="1"/>
71088
  <line num="251" type="stmt" count="1"/>
71089
- <line num="258" type="method" name="test_auto_update_themes" visibility="public" complexity="5" crap="5" count="1"/>
71090
- <line num="259" type="stmt" count="1"/>
71091
- <line num="260" type="stmt" count="1"/>
71092
  <line num="261" type="stmt" count="1"/>
71093
  <line num="262" type="stmt" count="1"/>
71094
  <line num="263" type="stmt" count="1"/>
@@ -71098,8 +71123,8 @@
71098
  <line num="267" type="stmt" count="1"/>
71099
  <line num="268" type="stmt" count="1"/>
71100
  <line num="269" type="stmt" count="1"/>
 
71101
  <line num="271" type="stmt" count="1"/>
71102
- <line num="272" type="stmt" count="1"/>
71103
  <line num="273" type="stmt" count="1"/>
71104
  <line num="274" type="stmt" count="1"/>
71105
  <line num="275" type="stmt" count="1"/>
@@ -71110,47 +71135,49 @@
71110
  <line num="280" type="stmt" count="1"/>
71111
  <line num="281" type="stmt" count="1"/>
71112
  <line num="282" type="stmt" count="1"/>
71113
- <line num="289" type="method" name="test_auto_update_core" visibility="public" complexity="1" crap="1" count="1"/>
71114
- <line num="290" type="stmt" count="1"/>
71115
- <line num="291" type="stmt" count="1"/>
71116
  <line num="292" type="stmt" count="1"/>
 
71117
  <line num="294" type="stmt" count="1"/>
71118
- <line num="297" type="stmt" count="1"/>
71119
- <line num="300" type="stmt" count="1"/>
71120
- <line num="303" type="stmt" count="1"/>
71121
- <line num="304" type="stmt" count="1"/>
71122
- <line num="314" type="method" name="apply_wpcore_filters" visibility="public" complexity="2" crap="2" count="1"/>
71123
- <line num="315" type="stmt" count="1"/>
71124
- <line num="316" type="stmt" count="1"/>
71125
- <line num="319" type="stmt" count="1"/>
71126
- <line num="320" type="stmt" count="1"/>
71127
  <line num="321" type="stmt" count="1"/>
71128
  <line num="322" type="stmt" count="1"/>
 
71129
  <line num="324" type="stmt" count="1"/>
71130
- <line num="325" type="stmt" count="1"/>
71131
  <line num="326" type="stmt" count="1"/>
71132
  <line num="327" type="stmt" count="1"/>
71133
  <line num="328" type="stmt" count="1"/>
71134
  <line num="329" type="stmt" count="1"/>
71135
  <line num="330" type="stmt" count="1"/>
 
71136
  <line num="332" type="stmt" count="1"/>
71137
- <line num="333" type="stmt" count="1"/>
71138
  <line num="334" type="stmt" count="1"/>
71139
  <line num="335" type="stmt" count="1"/>
71140
  <line num="336" type="stmt" count="1"/>
71141
  <line num="337" type="stmt" count="1"/>
71142
- <line num="340" type="stmt" count="1"/>
71143
- <line num="341" type="stmt" count="1"/>
 
71144
  <line num="343" type="stmt" count="1"/>
71145
- <line num="344" type="stmt" count="1"/>
71146
  <line num="346" type="stmt" count="1"/>
71147
- <line num="347" type="stmt" count="1"/>
71148
  <line num="348" type="stmt" count="1"/>
71149
  <line num="349" type="stmt" count="1"/>
71150
  <line num="350" type="stmt" count="1"/>
71151
  <line num="351" type="stmt" count="1"/>
71152
  <line num="352" type="stmt" count="1"/>
71153
- <metrics loc="353" ncloc="229" classes="1" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="180" coveredstatements="180" elements="190" coveredelements="190"/>
 
 
71154
  </file>
71155
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-compressor.php">
71156
  <class name="Test_Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
@@ -73623,7 +73650,7 @@
73623
  </file>
73624
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Theme/UpdateData.php">
73625
  <class name="UpdateData" namespace="Boldgrid\Library\Library\Theme">
73626
- <metrics complexity="19" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="78" coveredstatements="40" elements="84" coveredelements="40"/>
73627
  </class>
73628
  <line num="112" type="method" name="__construct" visibility="public" complexity="5" crap="5.68" count="1"/>
73629
  <line num="114" type="stmt" count="1"/>
@@ -73648,20 +73675,20 @@
73648
  <line num="140" type="stmt" count="1"/>
73649
  <line num="149" type="method" name="getResponseData" visibility="public" complexity="1" crap="2" count="0"/>
73650
  <line num="150" type="stmt" count="0"/>
73651
- <line num="160" type="method" name="fetchResponseData" visibility="public" complexity="3" crap="4.28" count="1"/>
73652
  <line num="161" type="stmt" count="1"/>
73653
  <line num="163" type="stmt" count="1"/>
73654
  <line num="165" type="stmt" count="1"/>
73655
- <line num="166" type="stmt" count="0"/>
73656
- <line num="167" type="stmt" count="0"/>
73657
- <line num="169" type="stmt" count="0"/>
73658
- <line num="171" type="stmt" count="0"/>
73659
- <line num="172" type="stmt" count="0"/>
73660
- <line num="173" type="stmt" count="0"/>
73661
- <line num="174" type="stmt" count="0"/>
73662
- <line num="176" type="stmt" count="0"/>
73663
- <line num="178" type="stmt" count="0"/>
73664
- <line num="179" type="stmt" count="0"/>
73665
  <line num="181" type="stmt" count="1"/>
73666
  <line num="182" type="stmt" count="1"/>
73667
  <line num="183" type="stmt" count="1"/>
@@ -73684,7 +73711,7 @@
73684
  <line num="219" type="stmt" count="0"/>
73685
  <line num="220" type="stmt" count="0"/>
73686
  <line num="222" type="stmt" count="0"/>
73687
- <line num="230" type="method" name="setInformationTransient" visibility="public" complexity="3" crap="3.03" count="1"/>
73688
  <line num="231" type="stmt" count="1"/>
73689
  <line num="232" type="stmt" count="1"/>
73690
  <line num="233" type="stmt" count="1"/>
@@ -73695,8 +73722,8 @@
73695
  <line num="239" type="stmt" count="1"/>
73696
  <line num="240" type="stmt" count="1"/>
73697
  <line num="243" type="stmt" count="1"/>
73698
- <line num="244" type="stmt" count="0"/>
73699
- <line num="245" type="stmt" count="0"/>
73700
  <line num="246" type="stmt" count="1"/>
73701
  <line num="255" type="method" name="getGenericInfo" visibility="public" complexity="2" crap="6" count="0"/>
73702
  <line num="256" type="stmt" count="0"/>
@@ -73709,7 +73736,7 @@
73709
  <line num="265" type="stmt" count="0"/>
73710
  <line num="266" type="stmt" count="0"/>
73711
  <line num="268" type="stmt" count="0"/>
73712
- <metrics loc="270" ncloc="146" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="78" coveredstatements="40" elements="84" coveredelements="40"/>
73713
  </file>
73714
  </package>
73715
  <package name="Boldgrid\Library\Library\Ui">
@@ -76623,7 +76650,7 @@
76623
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
76624
  </file>
76625
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
76626
- <class name="ComposerStaticInit056520c573565a0522ae817d883b28d5" namespace="Composer\Autoload">
76627
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
76628
  </class>
76629
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
@@ -76715,7 +76742,7 @@
76715
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
76716
  </file>
76717
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
76718
- <class name="ComposerAutoloaderInit056520c573565a0522ae817d883b28d5" namespace="global">
76719
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
76720
  </class>
76721
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
@@ -95934,6 +95961,6 @@
95934
  <line num="16" type="stmt" count="0"/>
95935
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
95936
  </file>
95937
- <metrics files="961" loc="192527" ncloc="117461" classes="870" methods="3579" coveredmethods="304" conditionals="0" coveredconditionals="0" statements="86447" coveredstatements="4519" elements="90026" coveredelements="4823"/>
95938
  </project>
95939
  </coverage>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1592923816">
3
+ <project timestamp="1592923816">
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">
2054
  </file>
2055
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-auto-updates.php">
2056
  <class name="Boldgrid_Backup_Admin_Auto_Updates" namespace="global" fullPackage="Boldgrid.Backup.Admin.Auto">
2057
+ <metrics complexity="29" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="71" coveredstatements="71" elements="79" coveredelements="79"/>
2058
  </class>
2059
  <line num="60" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/>
2060
  <line num="62" type="stmt" count="7"/>
2071
  <line num="79" type="stmt" count="2"/>
2072
  <line num="80" type="stmt" count="2"/>
2073
  <line num="83" type="stmt" count="7"/>
2074
+ <line num="92" type="method" name="get_days" visibility="public" complexity="3" crap="3" count="2"/>
2075
+ <line num="93" type="stmt" count="2"/>
2076
+ <line num="94" type="stmt" count="2"/>
2077
+ <line num="96" type="stmt" count="2"/>
2078
+ <line num="108" type="method" name="maybe_update_plugin" visibility="public" complexity="4" crap="4" count="1"/>
2079
+ <line num="109" type="stmt" count="1"/>
2080
+ <line num="110" type="stmt" count="1"/>
2081
+ <line num="111" type="stmt" count="1"/>
2082
+ <line num="113" type="stmt" count="1"/>
2083
+ <line num="114" type="stmt" count="1"/>
2084
+ <line num="115" type="stmt" count="1"/>
2085
+ <line num="116" type="stmt" count="1"/>
2086
  <line num="117" type="stmt" count="1"/>
 
2087
  <line num="119" type="stmt" count="1"/>
2088
+ <line num="131" type="method" name="maybe_update_theme" visibility="public" complexity="4" crap="4" count="1"/>
2089
+ <line num="132" type="stmt" count="1"/>
2090
+ <line num="133" type="stmt" count="1"/>
2091
+ <line num="134" type="stmt" count="1"/>
2092
+ <line num="135" type="stmt" count="1"/>
2093
+ <line num="136" type="stmt" count="1"/>
2094
+ <line num="137" type="stmt" count="1"/>
2095
+ <line num="139" type="stmt" count="1"/>
2096
+ <line num="140" type="stmt" count="1"/>
2097
+ <line num="142" type="stmt" count="1"/>
2098
+ <line num="157" type="method" name="auto_update_plugins" visibility="public" complexity="4" crap="4" count="1"/>
2099
+ <line num="159" type="stmt" count="1"/>
2100
+ <line num="160" type="stmt" count="1"/>
2101
+ <line num="161" type="stmt" count="1"/>
2102
+ <line num="162" type="stmt" count="1"/>
2103
+ <line num="163" type="stmt" count="1"/>
2104
+ <line num="164" type="stmt" count="1"/>
2105
+ <line num="165" type="stmt" count="1"/>
2106
+ <line num="167" type="stmt" count="1"/>
2107
+ <line num="170" type="stmt" count="1"/>
2108
+ <line num="185" type="method" name="auto_update_themes" visibility="public" complexity="4" crap="4" count="1"/>
2109
+ <line num="187" type="stmt" count="1"/>
2110
+ <line num="188" type="stmt" count="1"/>
2111
+ <line num="189" type="stmt" count="1"/>
2112
+ <line num="190" type="stmt" count="1"/>
2113
+ <line num="191" type="stmt" count="1"/>
2114
+ <line num="192" type="stmt" count="1"/>
2115
+ <line num="193" type="stmt" count="1"/>
2116
+ <line num="195" type="stmt" count="1"/>
2117
  <line num="198" type="stmt" count="1"/>
2118
+ <line num="209" type="method" name="auto_update_core" visibility="public" complexity="7" crap="7" count="1"/>
 
 
 
 
 
 
 
 
 
2119
  <line num="211" type="stmt" count="1"/>
2120
+ <line num="212" type="stmt" count="1"/>
2121
  <line num="213" type="stmt" count="1"/>
2122
  <line num="214" type="stmt" count="1"/>
2123
  <line num="215" type="stmt" count="1"/>
2124
  <line num="216" type="stmt" count="1"/>
2125
+ <line num="218" type="stmt" count="1"/>
2126
+ <line num="219" type="stmt" count="1"/>
2127
+ <line num="220" type="stmt" count="1"/>
2128
+ <line num="221" type="stmt" count="1"/>
2129
+ <line num="223" type="stmt" count="1"/>
2130
+ <line num="224" type="stmt" count="1"/>
2131
+ <line num="225" type="stmt" count="1"/>
2132
+ <line num="226" type="stmt" count="1"/>
2133
+ <line num="228" type="stmt" count="1"/>
2134
+ <line num="229" type="stmt" count="1"/>
2135
+ <line num="230" type="stmt" count="1"/>
2136
+ <line num="231" type="stmt" count="1"/>
2137
+ <line num="232" type="stmt" count="1"/>
2138
+ <metrics loc="233" ncloc="114" classes="1" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="71" coveredstatements="71" elements="79" coveredelements="79"/>
2139
  </file>
2140
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-backup-dir.php">
2141
  <class name="Boldgrid_Backup_Admin_Backup_Dir" namespace="global" fullPackage="Boldgrid.Backup.Admin.Backup">
6334
  </file>
6335
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-settings.php">
6336
  <class name="Boldgrid_Backup_Admin_Settings" namespace="global" fullPackage="Boldgrid.Backup.Admin">
6337
+ <metrics complexity="154" methods="17" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="468" coveredstatements="100" elements="485" coveredelements="104"/>
6338
  </class>
6339
  <line num="50" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
6340
  <line num="52" type="stmt" count="29"/>
6518
  <line num="424" type="stmt" count="0"/>
6519
  <line num="425" type="stmt" count="0"/>
6520
  <line num="427" type="stmt" count="0"/>
6521
+ <line num="441" type="method" name="update_settings" visibility="private" complexity="65" crap="4290" count="0"/>
6522
  <line num="442" type="stmt" count="0"/>
6523
  <line num="445" type="stmt" count="0"/>
6524
  <line num="446" type="stmt" count="0"/>
6662
  <line num="717" type="stmt" count="0"/>
6663
  <line num="718" type="stmt" count="0"/>
6664
  <line num="719" type="stmt" count="0"/>
6665
+ <line num="720" type="stmt" count="0"/>
6666
  <line num="723" type="stmt" count="0"/>
6667
  <line num="724" type="stmt" count="0"/>
6668
+ <line num="725" type="stmt" count="0"/>
6669
  <line num="727" type="stmt" count="0"/>
6670
  <line num="728" type="stmt" count="0"/>
6671
  <line num="729" type="stmt" count="0"/>
6672
  <line num="730" type="stmt" count="0"/>
6673
  <line num="731" type="stmt" count="0"/>
6674
+ <line num="732" type="stmt" count="0"/>
6675
  <line num="734" type="stmt" count="0"/>
6676
+ <line num="735" type="stmt" count="0"/>
6677
  <line num="739" type="stmt" count="0"/>
6678
  <line num="740" type="stmt" count="0"/>
6679
  <line num="741" type="stmt" count="0"/>
6680
+ <line num="742" type="stmt" count="0"/>
6681
+ <line num="745" type="stmt" count="0"/>
6682
  <line num="748" type="stmt" count="0"/>
6683
  <line num="749" type="stmt" count="0"/>
6684
  <line num="750" type="stmt" count="0"/>
6685
  <line num="751" type="stmt" count="0"/>
6686
+ <line num="752" type="stmt" count="0"/>
6687
+ <line num="755" type="stmt" count="0"/>
6688
  <line num="757" type="stmt" count="0"/>
6689
  <line num="758" type="stmt" count="0"/>
6690
+ <line num="759" type="stmt" count="0"/>
6691
  <line num="761" type="stmt" count="0"/>
6692
  <line num="762" type="stmt" count="0"/>
6693
  <line num="763" type="stmt" count="0"/>
6694
  <line num="764" type="stmt" count="0"/>
6695
+ <line num="765" type="stmt" count="0"/>
6696
  <line num="768" type="stmt" count="0"/>
6697
  <line num="769" type="stmt" count="0"/>
6698
+ <line num="770" type="stmt" count="0"/>
6699
+ <line num="772" type="stmt" count="0"/>
6700
  <line num="778" type="stmt" count="0"/>
6701
+ <line num="779" type="stmt" count="0"/>
6702
+ <line num="782" type="stmt" count="0"/>
6703
+ <line num="794" type="method" name="validate_auto_update" visibility="public" complexity="6" crap="42" count="0"/>
6704
+ <line num="795" type="stmt" count="0"/>
6705
+ <line num="797" type="stmt" count="0"/>
6706
+ <line num="798" type="stmt" count="0"/>
6707
+ <line num="801" type="stmt" count="0"/>
6708
+ <line num="809" type="method" name="delete_rollback_option" visibility="public" complexity="1" crap="1" count="1"/>
6709
+ <line num="810" type="stmt" count="1"/>
6710
+ <line num="811" type="stmt" count="1"/>
6711
+ <line num="821" type="method" name="page_backup_settings" visibility="public" complexity="12" crap="156" count="0"/>
 
 
 
 
 
 
 
 
 
6712
  <line num="823" type="stmt" count="0"/>
6713
  <line num="824" type="stmt" count="0"/>
6714
  <line num="825" type="stmt" count="0"/>
6715
  <line num="827" type="stmt" count="0"/>
6716
  <line num="828" type="stmt" count="0"/>
6717
+ <line num="829" type="stmt" count="0"/>
6718
  <line num="830" type="stmt" count="0"/>
6719
  <line num="831" type="stmt" count="0"/>
6720
  <line num="833" type="stmt" count="0"/>
6721
+ <line num="834" type="stmt" count="0"/>
6722
  <line num="835" type="stmt" count="0"/>
6723
+ <line num="837" type="stmt" count="0"/>
6724
+ <line num="838" type="stmt" count="0"/>
6725
+ <line num="839" type="stmt" count="0"/>
6726
+ <line num="842" type="stmt" count="0"/>
6727
  <line num="843" type="stmt" count="0"/>
6728
  <line num="844" type="stmt" count="0"/>
6729
  <line num="845" type="stmt" count="0"/>
6730
+ <line num="847" type="stmt" count="0"/>
6731
  <line num="848" type="stmt" count="0"/>
6732
  <line num="850" type="stmt" count="0"/>
6733
  <line num="851" type="stmt" count="0"/>
6734
+ <line num="853" type="stmt" count="0"/>
6735
+ <line num="855" type="stmt" count="0"/>
6736
+ <line num="856" type="stmt" count="0"/>
6737
  <line num="863" type="stmt" count="0"/>
6738
  <line num="864" type="stmt" count="0"/>
6739
+ <line num="865" type="stmt" count="0"/>
6740
  <line num="866" type="stmt" count="0"/>
6741
  <line num="868" type="stmt" count="0"/>
6742
+ <line num="870" type="stmt" count="0"/>
6743
+ <line num="871" type="stmt" count="0"/>
6744
  <line num="874" type="stmt" count="0"/>
 
 
 
 
6745
  <line num="881" type="stmt" count="0"/>
6746
  <line num="882" type="stmt" count="0"/>
6747
+ <line num="883" type="stmt" count="0"/>
6748
+ <line num="884" type="stmt" count="0"/>
6749
  <line num="886" type="stmt" count="0"/>
 
6750
  <line num="888" type="stmt" count="0"/>
6751
  <line num="889" type="stmt" count="0"/>
6752
+ <line num="892" type="stmt" count="0"/>
 
6753
  <line num="894" type="stmt" count="0"/>
6754
  <line num="895" type="stmt" count="0"/>
6755
+ <line num="898" type="stmt" count="0"/>
 
6756
  <line num="899" type="stmt" count="0"/>
6757
+ <line num="900" type="stmt" count="0"/>
6758
+ <line num="901" type="stmt" count="0"/>
6759
  <line num="902" type="stmt" count="0"/>
 
 
6760
  <line num="905" type="stmt" count="0"/>
6761
  <line num="906" type="stmt" count="0"/>
6762
+ <line num="907" type="stmt" count="0"/>
6763
  <line num="908" type="stmt" count="0"/>
6764
+ <line num="909" type="stmt" count="0"/>
6765
  <line num="911" type="stmt" count="0"/>
 
6766
  <line num="913" type="stmt" count="0"/>
6767
  <line num="914" type="stmt" count="0"/>
6768
  <line num="915" type="stmt" count="0"/>
6769
+ <line num="916" type="stmt" count="0"/>
6770
  <line num="917" type="stmt" count="0"/>
6771
+ <line num="919" type="stmt" count="0"/>
 
6772
  <line num="922" type="stmt" count="0"/>
6773
  <line num="923" type="stmt" count="0"/>
6774
+ <line num="924" type="stmt" count="0"/>
6775
  <line num="925" type="stmt" count="0"/>
6776
+ <line num="926" type="stmt" count="0"/>
6777
  <line num="928" type="stmt" count="0"/>
6778
+ <line num="931" type="stmt" count="0"/>
6779
+ <line num="932" type="stmt" count="0"/>
6780
  <line num="933" type="stmt" count="0"/>
6781
  <line num="934" type="stmt" count="0"/>
6782
  <line num="935" type="stmt" count="0"/>
6783
  <line num="937" type="stmt" count="0"/>
 
6784
  <line num="940" type="stmt" count="0"/>
6785
  <line num="941" type="stmt" count="0"/>
6786
+ <line num="942" type="stmt" count="0"/>
6787
  <line num="943" type="stmt" count="0"/>
 
6788
  <line num="945" type="stmt" count="0"/>
6789
+ <line num="947" type="stmt" count="0"/>
6790
+ <line num="948" type="stmt" count="0"/>
6791
+ <line num="950" type="stmt" count="0"/>
6792
+ <line num="953" type="stmt" count="0"/>
6793
  <line num="954" type="stmt" count="0"/>
6794
  <line num="955" type="stmt" count="0"/>
6795
  <line num="957" type="stmt" count="0"/>
6796
+ <line num="959" type="stmt" count="0"/>
6797
+ <line num="960" type="stmt" count="0"/>
6798
+ <line num="961" type="stmt" count="0"/>
6799
  <line num="963" type="stmt" count="0"/>
6800
  <line num="964" type="stmt" count="0"/>
6801
+ <line num="965" type="stmt" count="0"/>
6802
+ <line num="972" type="stmt" count="0"/>
6803
+ <line num="974" type="stmt" count="0"/>
6804
+ <line num="975" type="stmt" count="0"/>
6805
+ <line num="977" type="stmt" count="0"/>
6806
+ <line num="982" type="stmt" count="0"/>
6807
+ <line num="983" type="stmt" count="0"/>
6808
+ <line num="984" type="stmt" count="0"/>
6809
+ <line num="988" type="stmt" count="0"/>
6810
+ <line num="989" type="stmt" count="0"/>
6811
+ <line num="999" type="method" name="save" visibility="public" complexity="1" crap="1" count="6"/>
6812
+ <line num="1000" type="stmt" count="6"/>
6813
+ <line num="1011" type="method" name="update_cron" visibility="public" complexity="4" crap="20" count="0"/>
6814
+ <line num="1012" type="stmt" count="0"/>
6815
+ <line num="1014" type="stmt" count="0"/>
6816
+ <line num="1016" type="stmt" count="0"/>
6817
+ <line num="1017" type="stmt" count="0"/>
6818
+ <line num="1018" type="stmt" count="0"/>
6819
+ <line num="1019" type="stmt" count="0"/>
6820
+ <line num="1020" type="stmt" count="0"/>
6821
+ <line num="1021" type="stmt" count="0"/>
6822
+ <line num="1022" type="stmt" count="0"/>
6823
+ <line num="1024" type="stmt" count="0"/>
6824
+ <metrics loc="1026" ncloc="626" classes="1" methods="17" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="468" coveredstatements="100" elements="485" coveredelements="104"/>
6825
  </file>
6826
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-support.php">
6827
  <class name="Boldgrid_Backup_Admin_Support" namespace="global" fullPackage="Boldgrid.Backup.Admin">
11255
  <line num="89" type="stmt" count="0"/>
11256
  <line num="91" type="stmt" count="0"/>
11257
  <line num="92" type="stmt" count="0"/>
11258
+ <line num="103" type="stmt" count="0"/>
11259
+ <line num="104" type="stmt" count="0"/>
11260
+ <line num="105" type="stmt" count="0"/>
11261
+ <line num="106" type="stmt" count="0"/>
11262
+ <line num="107" type="stmt" count="0"/>
11263
  <line num="108" type="stmt" count="0"/>
11264
  <line num="109" type="stmt" count="0"/>
11265
  <line num="110" type="stmt" count="0"/>
 
11266
  <line num="112" type="stmt" count="0"/>
11267
  <line num="113" type="stmt" count="0"/>
11268
  <line num="114" type="stmt" count="0"/>
11269
  <line num="115" type="stmt" count="0"/>
11270
+ <line num="116" type="stmt" count="0"/>
11271
  <line num="117" type="stmt" count="0"/>
11272
  <line num="118" type="stmt" count="0"/>
11273
  <line num="119" type="stmt" count="0"/>
11347
  <line num="193" type="stmt" count="0"/>
11348
  <line num="194" type="stmt" count="0"/>
11349
  <line num="195" type="stmt" count="0"/>
11350
+ <line num="207" type="stmt" count="0"/>
11351
+ <line num="208" type="stmt" count="0"/>
11352
+ <line num="209" type="stmt" count="0"/>
11353
+ <line num="210" type="stmt" count="0"/>
11354
+ <line num="211" type="stmt" count="0"/>
 
11355
  <line num="213" type="stmt" count="0"/>
11356
  <line num="214" type="stmt" count="0"/>
11357
  <line num="215" type="stmt" count="0"/>
11358
  <line num="216" type="stmt" count="0"/>
11359
+ <line num="217" type="stmt" count="0"/>
11360
  <line num="218" type="stmt" count="0"/>
11361
  <line num="219" type="stmt" count="0"/>
 
11362
  <line num="221" type="stmt" count="0"/>
11363
  <line num="222" type="stmt" count="0"/>
11364
  <line num="223" type="stmt" count="0"/>
11367
  <line num="227" type="stmt" count="0"/>
11368
  <line num="228" type="stmt" count="0"/>
11369
  <line num="229" type="stmt" count="0"/>
11370
+ <line num="230" type="stmt" count="0"/>
11371
  <line num="231" type="stmt" count="0"/>
11372
  <line num="232" type="stmt" count="0"/>
11373
  <line num="233" type="stmt" count="0"/>
11386
  <line num="246" type="stmt" count="0"/>
11387
  <line num="247" type="stmt" count="0"/>
11388
  <line num="248" type="stmt" count="0"/>
 
11389
  <line num="250" type="stmt" count="0"/>
11390
  <line num="251" type="stmt" count="0"/>
 
11391
  <line num="253" type="stmt" count="0"/>
11392
+ <line num="254" type="stmt" count="0"/>
11393
  <line num="255" type="stmt" count="0"/>
11394
  <line num="256" type="stmt" count="0"/>
11395
+ <line num="257" type="stmt" count="0"/>
11396
  <line num="258" type="stmt" count="0"/>
11397
  <line num="259" type="stmt" count="0"/>
11398
  <line num="260" type="stmt" count="0"/>
11399
  <line num="261" type="stmt" count="0"/>
11400
  <line num="262" type="stmt" count="0"/>
 
11401
  <line num="264" type="stmt" count="0"/>
 
11402
  <line num="266" type="stmt" count="0"/>
11403
  <line num="267" type="stmt" count="0"/>
11404
+ <line num="268" type="stmt" count="0"/>
11405
+ <line num="270" type="stmt" count="0"/>
11406
  <line num="272" type="stmt" count="0"/>
11407
+ <line num="274" type="stmt" count="0"/>
11408
  <line num="275" type="stmt" count="0"/>
11409
+ <line num="276" type="stmt" count="0"/>
11410
  <line num="277" type="stmt" count="0"/>
11411
+ <line num="278" type="stmt" count="0"/>
11412
  <line num="279" type="stmt" count="0"/>
11413
  <line num="280" type="stmt" count="0"/>
11414
  <line num="281" type="stmt" count="0"/>
11422
  <line num="289" type="stmt" count="0"/>
11423
  <line num="290" type="stmt" count="0"/>
11424
  <line num="291" type="stmt" count="0"/>
 
11425
  <line num="293" type="stmt" count="0"/>
11426
  <line num="294" type="stmt" count="0"/>
11427
  <line num="295" type="stmt" count="0"/>
11428
  <line num="296" type="stmt" count="0"/>
11429
+ <line num="297" type="stmt" count="0"/>
11430
  <line num="298" type="stmt" count="0"/>
11431
  <line num="299" type="stmt" count="0"/>
11432
  <line num="300" type="stmt" count="0"/>
11437
  <line num="305" type="stmt" count="0"/>
11438
  <line num="306" type="stmt" count="0"/>
11439
  <line num="307" type="stmt" count="0"/>
 
11440
  <line num="309" type="stmt" count="0"/>
11441
  <line num="310" type="stmt" count="0"/>
11442
  <line num="311" type="stmt" count="0"/>
11443
+ <line num="323" type="stmt" count="0"/>
11444
+ <line num="324" type="stmt" count="0"/>
11445
+ <line num="325" type="stmt" count="0"/>
11446
+ <line num="326" type="stmt" count="0"/>
11447
+ <line num="327" type="stmt" count="0"/>
11448
  <line num="328" type="stmt" count="0"/>
 
11449
  <line num="330" type="stmt" count="0"/>
11450
  <line num="331" type="stmt" count="0"/>
11451
  <line num="332" type="stmt" count="0"/>
11452
+ <line num="334" type="stmt" count="0"/>
11453
  <line num="335" type="stmt" count="0"/>
11454
  <line num="336" type="stmt" count="0"/>
11455
  <line num="337" type="stmt" count="0"/>
11456
+ <line num="338" type="stmt" count="0"/>
11457
  <line num="339" type="stmt" count="0"/>
 
11458
  <line num="341" type="stmt" count="0"/>
11459
  <line num="342" type="stmt" count="0"/>
11460
  <line num="343" type="stmt" count="0"/>
11463
  <line num="347" type="stmt" count="0"/>
11464
  <line num="348" type="stmt" count="0"/>
11465
  <line num="349" type="stmt" count="0"/>
11466
+ <line num="350" type="stmt" count="0"/>
11467
  <line num="351" type="stmt" count="0"/>
11468
  <line num="352" type="stmt" count="0"/>
11469
  <line num="353" type="stmt" count="0"/>
11483
  <line num="367" type="stmt" count="0"/>
11484
  <line num="368" type="stmt" count="0"/>
11485
  <line num="369" type="stmt" count="0"/>
 
11486
  <line num="371" type="stmt" count="0"/>
11487
  <line num="372" type="stmt" count="0"/>
 
11488
  <line num="374" type="stmt" count="0"/>
11489
+ <line num="375" type="stmt" count="0"/>
11490
  <line num="376" type="stmt" count="0"/>
11491
  <line num="377" type="stmt" count="0"/>
11492
+ <line num="378" type="stmt" count="0"/>
11493
  <line num="379" type="stmt" count="0"/>
11494
  <line num="380" type="stmt" count="0"/>
11495
  <line num="381" type="stmt" count="0"/>
11496
  <line num="382" type="stmt" count="0"/>
11497
  <line num="383" type="stmt" count="0"/>
 
11498
  <line num="385" type="stmt" count="0"/>
11499
  <line num="386" type="stmt" count="0"/>
11500
+ <line num="389" type="stmt" count="0"/>
 
11501
  <line num="390" type="stmt" count="0"/>
11502
+ <line num="392" type="stmt" count="0"/>
11503
+ <line num="393" type="stmt" count="0"/>
11504
  <line num="394" type="stmt" count="0"/>
11505
  <line num="395" type="stmt" count="0"/>
11506
+ <line num="396" type="stmt" count="0"/>
11507
  <line num="397" type="stmt" count="0"/>
11508
  <line num="398" type="stmt" count="0"/>
11509
  <line num="399" type="stmt" count="0"/>
11517
  <line num="407" type="stmt" count="0"/>
11518
  <line num="408" type="stmt" count="0"/>
11519
  <line num="409" type="stmt" count="0"/>
 
11520
  <line num="411" type="stmt" count="0"/>
 
11521
  <line num="413" type="stmt" count="0"/>
11522
  <line num="414" type="stmt" count="0"/>
11523
  <line num="416" type="stmt" count="0"/>
11524
  <line num="418" type="stmt" count="0"/>
11525
  <line num="419" type="stmt" count="0"/>
11526
+ <line num="420" type="stmt" count="0"/>
11527
  <line num="421" type="stmt" count="0"/>
11528
+ <line num="422" type="stmt" count="0"/>
11529
  <line num="423" type="stmt" count="0"/>
 
 
11530
  <line num="426" type="stmt" count="0"/>
11531
+ <line num="434" type="stmt" count="0"/>
 
 
 
 
 
11532
  <line num="435" type="stmt" count="0"/>
11533
+ <line num="436" type="stmt" count="0"/>
11534
+ <line num="437" type="stmt" count="0"/>
11535
+ <line num="438" type="stmt" count="0"/>
11536
+ <line num="439" type="stmt" count="0"/>
11537
+ <line num="440" type="stmt" count="0"/>
11538
+ <line num="441" type="stmt" count="0"/>
11539
+ <line num="442" type="stmt" count="0"/>
11540
+ <line num="443" type="stmt" count="0"/>
11541
+ <line num="444" type="stmt" count="0"/>
11542
+ <line num="445" type="stmt" count="0"/>
11543
+ <line num="446" type="stmt" count="0"/>
11544
+ <line num="447" type="stmt" count="0"/>
11545
+ <line num="448" type="stmt" count="0"/>
11546
+ <line num="449" type="stmt" count="0"/>
11547
+ <line num="450" type="stmt" count="0"/>
11548
+ <line num="451" type="stmt" count="0"/>
11549
+ <line num="453" type="stmt" count="0"/>
11550
+ <line num="454" type="stmt" count="0"/>
11551
+ <line num="455" type="stmt" count="0"/>
11552
+ <line num="456" type="stmt" count="0"/>
11553
+ <line num="458" type="stmt" count="0"/>
11554
+ <metrics loc="458" ncloc="376" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="347" coveredstatements="0" elements="347" coveredelements="0"/>
11555
  </file>
11556
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/settings/backup-directory.php">
11557
  <line num="17" type="stmt" count="0"/>
70983
  </file>
70984
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-auto-updates.php">
70985
  <class name="Test_Boldgrid_Backup_Admin_Auto_Updates" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Auto">
70986
+ <metrics complexity="19" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="182" coveredstatements="182" elements="192" coveredelements="192"/>
70987
  </class>
70988
  <line num="50" type="method" name="install_plugin" visibility="public" complexity="5" crap="5" count="2"/>
70989
  <line num="51" type="stmt" count="2"/>
71066
  <line num="179" type="stmt" count="1"/>
71067
  <line num="180" type="stmt" count="1"/>
71068
  <line num="181" type="stmt" count="1"/>
71069
+ <line num="182" type="stmt" count="1"/>
71070
+ <line num="189" type="method" name="test_maybe_update_theme" visibility="public" complexity="1" crap="1" count="1"/>
71071
  <line num="191" type="stmt" count="1"/>
71072
  <line num="192" type="stmt" count="1"/>
71073
  <line num="193" type="stmt" count="1"/>
71074
+ <line num="194" type="stmt" count="1"/>
71075
  <line num="197" type="stmt" count="1"/>
71076
  <line num="198" type="stmt" count="1"/>
71077
  <line num="199" type="stmt" count="1"/>
71078
+ <line num="200" type="stmt" count="1"/>
71079
  <line num="203" type="stmt" count="1"/>
71080
  <line num="204" type="stmt" count="1"/>
71081
  <line num="205" type="stmt" count="1"/>
71082
+ <line num="206" type="stmt" count="1"/>
71083
  <line num="208" type="stmt" count="1"/>
71084
  <line num="209" type="stmt" count="1"/>
71085
  <line num="210" type="stmt" count="1"/>
71086
+ <line num="211" type="stmt" count="1"/>
71087
  <line num="214" type="stmt" count="1"/>
71088
  <line num="215" type="stmt" count="1"/>
71089
  <line num="216" type="stmt" count="1"/>
71090
  <line num="217" type="stmt" count="1"/>
71091
  <line num="218" type="stmt" count="1"/>
71092
+ <line num="219" type="stmt" count="1"/>
71093
  <line num="222" type="stmt" count="1"/>
71094
  <line num="223" type="stmt" count="1"/>
71095
  <line num="224" type="stmt" count="1"/>
71096
  <line num="225" type="stmt" count="1"/>
71097
  <line num="226" type="stmt" count="1"/>
71098
+ <line num="227" type="stmt" count="1"/>
71099
  <line num="230" type="stmt" count="1"/>
71100
  <line num="231" type="stmt" count="1"/>
71101
  <line num="232" type="stmt" count="1"/>
71102
  <line num="233" type="stmt" count="1"/>
71103
+ <line num="234" type="stmt" count="1"/>
71104
+ <line num="235" type="stmt" count="1"/>
71105
+ <line num="242" type="method" name="test_auto_update_plugins" visibility="public" complexity="1" crap="1" count="1"/>
71106
+ <line num="243" type="stmt" count="1"/>
71107
  <line num="244" type="stmt" count="1"/>
 
71108
  <line num="246" type="stmt" count="1"/>
71109
  <line num="247" type="stmt" count="1"/>
71110
  <line num="248" type="stmt" count="1"/>
71111
  <line num="249" type="stmt" count="1"/>
71112
  <line num="250" type="stmt" count="1"/>
71113
  <line num="251" type="stmt" count="1"/>
71114
+ <line num="252" type="stmt" count="1"/>
71115
+ <line num="253" type="stmt" count="1"/>
71116
+ <line num="260" type="method" name="test_auto_update_themes" visibility="public" complexity="5" crap="5" count="1"/>
71117
  <line num="261" type="stmt" count="1"/>
71118
  <line num="262" type="stmt" count="1"/>
71119
  <line num="263" type="stmt" count="1"/>
71123
  <line num="267" type="stmt" count="1"/>
71124
  <line num="268" type="stmt" count="1"/>
71125
  <line num="269" type="stmt" count="1"/>
71126
+ <line num="270" type="stmt" count="1"/>
71127
  <line num="271" type="stmt" count="1"/>
 
71128
  <line num="273" type="stmt" count="1"/>
71129
  <line num="274" type="stmt" count="1"/>
71130
  <line num="275" type="stmt" count="1"/>
71135
  <line num="280" type="stmt" count="1"/>
71136
  <line num="281" type="stmt" count="1"/>
71137
  <line num="282" type="stmt" count="1"/>
71138
+ <line num="283" type="stmt" count="1"/>
71139
+ <line num="284" type="stmt" count="1"/>
71140
+ <line num="291" type="method" name="test_auto_update_core" visibility="public" complexity="1" crap="1" count="1"/>
71141
  <line num="292" type="stmt" count="1"/>
71142
+ <line num="293" type="stmt" count="1"/>
71143
  <line num="294" type="stmt" count="1"/>
71144
+ <line num="296" type="stmt" count="1"/>
71145
+ <line num="299" type="stmt" count="1"/>
71146
+ <line num="302" type="stmt" count="1"/>
71147
+ <line num="305" type="stmt" count="1"/>
71148
+ <line num="306" type="stmt" count="1"/>
71149
+ <line num="316" type="method" name="apply_wpcore_filters" visibility="public" complexity="2" crap="2" count="1"/>
71150
+ <line num="317" type="stmt" count="1"/>
71151
+ <line num="318" type="stmt" count="1"/>
 
71152
  <line num="321" type="stmt" count="1"/>
71153
  <line num="322" type="stmt" count="1"/>
71154
+ <line num="323" type="stmt" count="1"/>
71155
  <line num="324" type="stmt" count="1"/>
 
71156
  <line num="326" type="stmt" count="1"/>
71157
  <line num="327" type="stmt" count="1"/>
71158
  <line num="328" type="stmt" count="1"/>
71159
  <line num="329" type="stmt" count="1"/>
71160
  <line num="330" type="stmt" count="1"/>
71161
+ <line num="331" type="stmt" count="1"/>
71162
  <line num="332" type="stmt" count="1"/>
 
71163
  <line num="334" type="stmt" count="1"/>
71164
  <line num="335" type="stmt" count="1"/>
71165
  <line num="336" type="stmt" count="1"/>
71166
  <line num="337" type="stmt" count="1"/>
71167
+ <line num="338" type="stmt" count="1"/>
71168
+ <line num="339" type="stmt" count="1"/>
71169
+ <line num="342" type="stmt" count="1"/>
71170
  <line num="343" type="stmt" count="1"/>
71171
+ <line num="345" type="stmt" count="1"/>
71172
  <line num="346" type="stmt" count="1"/>
 
71173
  <line num="348" type="stmt" count="1"/>
71174
  <line num="349" type="stmt" count="1"/>
71175
  <line num="350" type="stmt" count="1"/>
71176
  <line num="351" type="stmt" count="1"/>
71177
  <line num="352" type="stmt" count="1"/>
71178
+ <line num="353" type="stmt" count="1"/>
71179
+ <line num="354" type="stmt" count="1"/>
71180
+ <metrics loc="355" ncloc="231" classes="1" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="182" coveredstatements="182" elements="192" coveredelements="192"/>
71181
  </file>
71182
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-compressor.php">
71183
  <class name="Test_Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
73650
  </file>
73651
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Theme/UpdateData.php">
73652
  <class name="UpdateData" namespace="Boldgrid\Library\Library\Theme">
73653
+ <metrics complexity="19" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="78" coveredstatements="52" elements="84" coveredelements="53"/>
73654
  </class>
73655
  <line num="112" type="method" name="__construct" visibility="public" complexity="5" crap="5.68" count="1"/>
73656
  <line num="114" type="stmt" count="1"/>
73675
  <line num="140" type="stmt" count="1"/>
73676
  <line num="149" type="method" name="getResponseData" visibility="public" complexity="1" crap="2" count="0"/>
73677
  <line num="150" type="stmt" count="0"/>
73678
+ <line num="160" type="method" name="fetchResponseData" visibility="public" complexity="3" crap="3.01" count="1"/>
73679
  <line num="161" type="stmt" count="1"/>
73680
  <line num="163" type="stmt" count="1"/>
73681
  <line num="165" type="stmt" count="1"/>
73682
+ <line num="166" type="stmt" count="1"/>
73683
+ <line num="167" type="stmt" count="1"/>
73684
+ <line num="169" type="stmt" count="1"/>
73685
+ <line num="171" type="stmt" count="1"/>
73686
+ <line num="172" type="stmt" count="1"/>
73687
+ <line num="173" type="stmt" count="1"/>
73688
+ <line num="174" type="stmt" count="1"/>
73689
+ <line num="176" type="stmt" count="1"/>
73690
+ <line num="178" type="stmt" count="1"/>
73691
+ <line num="179" type="stmt" count="1"/>
73692
  <line num="181" type="stmt" count="1"/>
73693
  <line num="182" type="stmt" count="1"/>
73694
  <line num="183" type="stmt" count="1"/>
73711
  <line num="219" type="stmt" count="0"/>
73712
  <line num="220" type="stmt" count="0"/>
73713
  <line num="222" type="stmt" count="0"/>
73714
+ <line num="230" type="method" name="setInformationTransient" visibility="public" complexity="3" crap="3" count="1"/>
73715
  <line num="231" type="stmt" count="1"/>
73716
  <line num="232" type="stmt" count="1"/>
73717
  <line num="233" type="stmt" count="1"/>
73722
  <line num="239" type="stmt" count="1"/>
73723
  <line num="240" type="stmt" count="1"/>
73724
  <line num="243" type="stmt" count="1"/>
73725
+ <line num="244" type="stmt" count="1"/>
73726
+ <line num="245" type="stmt" count="1"/>
73727
  <line num="246" type="stmt" count="1"/>
73728
  <line num="255" type="method" name="getGenericInfo" visibility="public" complexity="2" crap="6" count="0"/>
73729
  <line num="256" type="stmt" count="0"/>
73736
  <line num="265" type="stmt" count="0"/>
73737
  <line num="266" type="stmt" count="0"/>
73738
  <line num="268" type="stmt" count="0"/>
73739
+ <metrics loc="270" ncloc="146" classes="1" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="78" coveredstatements="52" elements="84" coveredelements="53"/>
73740
  </file>
73741
  </package>
73742
  <package name="Boldgrid\Library\Library\Ui">
76650
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
76651
  </file>
76652
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
76653
+ <class name="ComposerStaticInita32c5f131238a369e6609a18b4d2ae2e" namespace="Composer\Autoload">
76654
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
76655
  </class>
76656
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
76742
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
76743
  </file>
76744
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
76745
+ <class name="ComposerAutoloaderInita32c5f131238a369e6609a18b4d2ae2e" namespace="global">
76746
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
76747
  </class>
76748
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
95961
  <line num="16" type="stmt" count="0"/>
95962
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
95963
  </file>
95964
+ <metrics files="961" loc="192587" ncloc="117494" classes="870" methods="3581" coveredmethods="306" conditionals="0" coveredconditionals="0" statements="86472" coveredstatements="4536" elements="90053" coveredelements="4842"/>
95965
  </project>
95966
  </coverage>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit056520c573565a0522ae817d883b28d5::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInita32c5f131238a369e6609a18b4d2ae2e::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit056520c573565a0522ae817d883b28d5
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit056520c573565a0522ae817d883b28d5
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit056520c573565a0522ae817d883b28d5', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit056520c573565a0522ae817d883b28d5', '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\ComposerStaticInit056520c573565a0522ae817d883b28d5::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit056520c573565a0522ae817d883b28d5
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInit056520c573565a0522ae817d883b28d5::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequire056520c573565a0522ae817d883b28d5($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequire056520c573565a0522ae817d883b28d5($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInita32c5f131238a369e6609a18b4d2ae2e
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInita32c5f131238a369e6609a18b4d2ae2e', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInita32c5f131238a369e6609a18b4d2ae2e', '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\ComposerStaticInita32c5f131238a369e6609a18b4d2ae2e::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\ComposerStaticInita32c5f131238a369e6609a18b4d2ae2e::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequirea32c5f131238a369e6609a18b4d2ae2e($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequirea32c5f131238a369e6609a18b4d2ae2e($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 ComposerStaticInit056520c573565a0522ae817d883b28d5
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
@@ -91,9 +91,9 @@ class ComposerStaticInit056520c573565a0522ae817d883b28d5
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
- $loader->prefixLengthsPsr4 = ComposerStaticInit056520c573565a0522ae817d883b28d5::$prefixLengthsPsr4;
95
- $loader->prefixDirsPsr4 = ComposerStaticInit056520c573565a0522ae817d883b28d5::$prefixDirsPsr4;
96
- $loader->classMap = ComposerStaticInit056520c573565a0522ae817d883b28d5::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInita32c5f131238a369e6609a18b4d2ae2e
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 = ComposerStaticInita32c5f131238a369e6609a18b4d2ae2e::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInita32c5f131238a369e6609a18b4d2ae2e::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInita32c5f131238a369e6609a18b4d2ae2e::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }