Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version b-issue-306-2-2020.06.12.0826

Version Description

Download this release

Release Info

Developer boldgrid
Plugin Icon 128x128 Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
Version b-issue-306-2-2020.06.12.0826
Comparing to
See all releases

Code changes from version issue-306-2020.06.11.1520 to b-issue-306-2-2020.06.12.0826

admin/class-boldgrid-backup-admin-cron.php CHANGED
@@ -497,7 +497,6 @@ class Boldgrid_Backup_Admin_Cron {
497
  *
498
  * @since 1.2
499
  *
500
- * @see \Boldgrid\Backup\Admin\Cron\Crontab::read_crontab()
501
  * @see \Boldgrid_Backup_Admin_Cron::get_mode_pattern()
502
  * @see \Boldgrid_Backup_Admin_Cron::filter_crontab()
503
  * @see \Boldgrid\Backup\Admin\Cron\Crontab::write_crontab()
@@ -516,7 +515,7 @@ class Boldgrid_Backup_Admin_Cron {
516
 
517
  $crontab_helper = new \Boldgrid\Backup\Admin\Cron\Crontab();
518
 
519
- $crontab = $crontab_helper->read_crontab();
520
 
521
  if ( false === $crontab ) {
522
  return false;
@@ -631,6 +630,14 @@ class Boldgrid_Backup_Admin_Cron {
631
  /**
632
  * Get all entries in cron.
633
  *
 
 
 
 
 
 
 
 
634
  * @since 1.5.2
635
  *
636
  * @see Boldgrid_Backup_Admin_Core::execute_command()
497
  *
498
  * @since 1.2
499
  *
 
500
  * @see \Boldgrid_Backup_Admin_Cron::get_mode_pattern()
501
  * @see \Boldgrid_Backup_Admin_Cron::filter_crontab()
502
  * @see \Boldgrid\Backup\Admin\Cron\Crontab::write_crontab()
515
 
516
  $crontab_helper = new \Boldgrid\Backup\Admin\Cron\Crontab();
517
 
518
+ $crontab = $this->get_all( true );
519
 
520
  if ( false === $crontab ) {
521
  return false;
630
  /**
631
  * Get all entries in cron.
632
  *
633
+ * Prior to 1.13.9, the Boldgrid\Backup\Admin\Cron\Crontab class had a read_crontab() method that
634
+ * aimed to do the same thing as this method. However, it only executed "crontab -l" and returned
635
+ * the results. It did not take into account that not all lines of the crontab may be returned (this
636
+ * method does and has a conditional for it, so is better).
637
+ *
638
+ * @todo Migrate this method to the Boldgrid\Backup\Admin\Cron\Crontab. This method currently called
639
+ * 9+ times, and will need some good testing.
640
+ *
641
  * @since 1.5.2
642
  *
643
  * @see Boldgrid_Backup_Admin_Core::execute_command()
admin/cron/class-crontab.php CHANGED
@@ -74,24 +74,6 @@ class Crontab {
74
  return $matched_crons;
75
  }
76
 
77
- /**
78
- * Retrieve the system crontab entries.
79
- *
80
- * @since 1.11.1
81
- *
82
- * @return string|false
83
- */
84
- public function read_crontab() {
85
- if ( ! $this->core->test->is_crontab_available() ) {
86
- return false;
87
- }
88
-
89
- $command = 'crontab -l';
90
- $crontab = $this->core->execute_command( $command, $success );
91
-
92
- return $success ? $crontab : false;
93
- }
94
-
95
  /**
96
  * Write to the system crontab.
97
  *
74
  return $matched_crons;
75
  }
76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  /**
78
  * Write to the system crontab.
79
  *
coverage.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1591903331">
3
- <project timestamp="1591903331">
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">
@@ -2279,8 +2279,8 @@
2279
  <line num="231" type="stmt" count="0"/>
2280
  <line num="232" type="stmt" count="5"/>
2281
  <line num="236" type="stmt" count="5"/>
2282
- <line num="237" type="stmt" count="5"/>
2283
- <line num="238" type="stmt" count="5"/>
2284
  <line num="240" type="stmt" count="5"/>
2285
  <metrics loc="242" ncloc="140" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="94" coveredstatements="36" elements="96" coveredelements="36"/>
2286
  </file>
@@ -3993,140 +3993,133 @@
3993
  <line num="489" type="stmt" count="5"/>
3994
  <line num="490" type="stmt" count="5"/>
3995
  <line num="492" type="stmt" count="5"/>
3996
- <line num="508" type="method" name="delete_cron_entries" visibility="public" complexity="5" crap="6.42" count="1"/>
3997
- <line num="509" type="stmt" count="1"/>
3998
- <line num="510" type="stmt" count="0"/>
3999
- <line num="513" type="stmt" count="1"/>
4000
- <line num="514" type="stmt" count="0"/>
4001
- <line num="517" type="stmt" count="1"/>
4002
- <line num="519" type="stmt" count="1"/>
4003
- <line num="521" type="stmt" count="1"/>
4004
- <line num="522" type="stmt" count="0"/>
4005
- <line num="525" type="stmt" count="1"/>
 
4006
  <line num="528" type="stmt" count="1"/>
4007
- <line num="529" type="stmt" count="1"/>
4008
- <line num="532" type="stmt" count="0"/>
4009
- <line num="534" type="stmt" count="0"/>
4010
- <line num="548" type="method" name="entry_delete" visibility="public" complexity="4" crap="4.02" count="1"/>
4011
- <line num="549" type="stmt" count="1"/>
4012
- <line num="550" type="stmt" count="0"/>
4013
- <line num="553" type="stmt" count="1"/>
4014
- <line num="555" type="stmt" count="1"/>
4015
  <line num="557" type="stmt" count="1"/>
4016
  <line num="558" type="stmt" count="1"/>
4017
- <line num="559" type="stmt" count="1"/>
4018
  <line num="561" type="stmt" count="1"/>
4019
- <line num="562" type="stmt" count="1"/>
4020
- <line num="564" type="stmt" count="1"/>
4021
- <line num="574" type="method" name="entry_delete_contains" visibility="public" complexity="4" crap="20" count="0"/>
4022
- <line num="575" type="stmt" count="0"/>
4023
  <line num="577" type="stmt" count="0"/>
4024
- <line num="578" type="stmt" count="0"/>
4025
  <line num="581" type="stmt" count="0"/>
4026
  <line num="582" type="stmt" count="0"/>
4027
  <line num="583" type="stmt" count="0"/>
4028
  <line num="584" type="stmt" count="0"/>
4029
  <line num="585" type="stmt" count="0"/>
4030
- <line num="586" type="stmt" count="0"/>
4031
- <line num="596" type="method" name="entry_exists" visibility="public" complexity="2" crap="2.06" count="1"/>
4032
- <line num="597" type="stmt" count="1"/>
4033
- <line num="599" type="stmt" count="1"/>
4034
- <line num="600" type="stmt" count="0"/>
4035
- <line num="603" type="stmt" count="1"/>
4036
- <line num="614" type="method" name="entry_search" visibility="public" complexity="4" crap="20" count="0"/>
4037
  <line num="615" type="stmt" count="0"/>
4038
- <line num="616" type="stmt" count="0"/>
4039
  <line num="618" type="stmt" count="0"/>
4040
- <line num="619" type="stmt" count="0"/>
4041
  <line num="622" type="stmt" count="0"/>
4042
  <line num="623" type="stmt" count="0"/>
4043
  <line num="624" type="stmt" count="0"/>
4044
  <line num="625" type="stmt" count="0"/>
4045
- <line num="626" type="stmt" count="0"/>
4046
- <line num="628" type="stmt" count="0"/>
4047
- <line num="641" type="method" name="get_all" visibility="public" complexity="5" crap="5.47" count="1"/>
4048
- <line num="648" type="stmt" count="1"/>
4049
- <line num="649" type="stmt" count="0"/>
4050
- <line num="661" type="stmt" count="1"/>
4051
- <line num="662" type="stmt" count="1"/>
4052
- <line num="665" type="stmt" count="1"/>
4053
- <line num="666" type="stmt" count="1"/>
4054
  <line num="669" type="stmt" count="1"/>
4055
- <line num="670" type="stmt" count="1"/>
4056
  <line num="672" type="stmt" count="1"/>
4057
  <line num="673" type="stmt" count="1"/>
4058
- <line num="674" type="stmt" count="0"/>
4059
- <line num="675" type="stmt" count="0"/>
4060
- <line num="678" type="stmt" count="1"/>
4061
- <line num="679" type="stmt" count="0"/>
4062
- <line num="682" type="stmt" count="1"/>
4063
- <line num="695" type="method" name="get_our_crons" visibility="public" complexity="4" crap="20" count="0"/>
4064
- <line num="696" type="stmt" count="0"/>
4065
- <line num="697" type="stmt" count="0"/>
4066
- <line num="699" type="stmt" count="0"/>
4067
- <line num="700" type="stmt" count="0"/>
4068
  <line num="703" type="stmt" count="0"/>
4069
  <line num="704" type="stmt" count="0"/>
4070
- <line num="705" type="stmt" count="0"/>
4071
  <line num="706" type="stmt" count="0"/>
4072
  <line num="707" type="stmt" count="0"/>
4073
- <line num="709" type="stmt" count="0"/>
4074
- <line num="725" type="method" name="get_restore_command" visibility="public" complexity="3" crap="3.00" count="1"/>
4075
- <line num="726" type="stmt" count="1"/>
4076
- <line num="729" type="stmt" count="1"/>
4077
- <line num="730" type="stmt" count="0"/>
 
 
4078
  <line num="733" type="stmt" count="1"/>
4079
- <line num="734" type="stmt" count="1"/>
4080
- <line num="735" type="stmt" count="1"/>
4081
- <line num="738" type="stmt" count="1"/>
4082
- <line num="739" type="stmt" count="1"/>
4083
  <line num="740" type="stmt" count="1"/>
4084
- <line num="751" type="stmt" count="1"/>
4085
- <line num="752" type="stmt" count="1"/>
4086
- <line num="753" type="stmt" count="1"/>
4087
- <line num="754" type="stmt" count="1"/>
4088
- <line num="755" type="stmt" count="1"/>
4089
  <line num="758" type="stmt" count="1"/>
4090
  <line num="759" type="stmt" count="1"/>
4091
  <line num="760" type="stmt" count="1"/>
 
4092
  <line num="762" type="stmt" count="1"/>
4093
- <line num="764" type="stmt" count="1"/>
4094
- <line num="775" type="method" name="get_schedule" visibility="public" complexity="15" crap="240" count="0"/>
4095
- <line num="778" type="stmt" count="0"/>
4096
- <line num="779" type="stmt" count="0"/>
4097
- <line num="780" type="stmt" count="0"/>
4098
- <line num="781" type="stmt" count="0"/>
4099
- <line num="782" type="stmt" count="0"/>
4100
- <line num="783" type="stmt" count="0"/>
4101
- <line num="784" type="stmt" count="0"/>
4102
  <line num="785" type="stmt" count="0"/>
4103
  <line num="786" type="stmt" count="0"/>
4104
  <line num="787" type="stmt" count="0"/>
4105
  <line num="788" type="stmt" count="0"/>
 
4106
  <line num="790" type="stmt" count="0"/>
4107
  <line num="791" type="stmt" count="0"/>
 
 
 
4108
  <line num="795" type="stmt" count="0"/>
 
4109
  <line num="798" type="stmt" count="0"/>
4110
- <line num="799" type="stmt" count="0"/>
4111
- <line num="800" type="stmt" count="0"/>
4112
- <line num="801" type="stmt" count="0"/>
4113
  <line num="805" type="stmt" count="0"/>
4114
  <line num="806" type="stmt" count="0"/>
4115
  <line num="807" type="stmt" count="0"/>
4116
  <line num="808" type="stmt" count="0"/>
4117
  <line num="812" type="stmt" count="0"/>
 
4118
  <line num="814" type="stmt" count="0"/>
4119
  <line num="815" type="stmt" count="0"/>
4120
- <line num="818" type="stmt" count="0"/>
4121
  <line num="819" type="stmt" count="0"/>
4122
- <line num="820" type="stmt" count="0"/>
4123
  <line num="822" type="stmt" count="0"/>
4124
- <line num="823" type="stmt" count="0"/>
4125
- <line num="824" type="stmt" count="0"/>
4126
  <line num="825" type="stmt" count="0"/>
4127
  <line num="826" type="stmt" count="0"/>
4128
  <line num="827" type="stmt" count="0"/>
4129
- <line num="828" type="stmt" count="0"/>
4130
  <line num="829" type="stmt" count="0"/>
4131
  <line num="830" type="stmt" count="0"/>
4132
  <line num="831" type="stmt" count="0"/>
@@ -4146,143 +4139,150 @@
4146
  <line num="845" type="stmt" count="0"/>
4147
  <line num="846" type="stmt" count="0"/>
4148
  <line num="847" type="stmt" count="0"/>
 
4149
  <line num="849" type="stmt" count="0"/>
4150
- <line num="859" type="method" name="print_cron_report" visibility="public" complexity="16" crap="272" count="0"/>
4151
- <line num="861" type="stmt" count="0"/>
4152
- <line num="862" type="stmt" count="0"/>
4153
- <line num="863" type="stmt" count="0"/>
4154
- <line num="866" type="stmt" count="0"/>
4155
- <line num="867" type="stmt" count="0"/>
 
4156
  <line num="868" type="stmt" count="0"/>
 
4157
  <line num="870" type="stmt" count="0"/>
4158
- <line num="871" type="stmt" count="0"/>
4159
  <line num="873" type="stmt" count="0"/>
4160
  <line num="874" type="stmt" count="0"/>
4161
  <line num="875" type="stmt" count="0"/>
4162
- <line num="876" type="stmt" count="0"/>
4163
  <line num="877" type="stmt" count="0"/>
 
4164
  <line num="880" type="stmt" count="0"/>
4165
  <line num="881" type="stmt" count="0"/>
4166
  <line num="882" type="stmt" count="0"/>
4167
  <line num="883" type="stmt" count="0"/>
4168
- <line num="885" type="stmt" count="0"/>
4169
- <line num="886" type="stmt" count="0"/>
4170
  <line num="887" type="stmt" count="0"/>
 
4171
  <line num="889" type="stmt" count="0"/>
4172
  <line num="890" type="stmt" count="0"/>
4173
- <line num="891" type="stmt" count="0"/>
4174
  <line num="892" type="stmt" count="0"/>
4175
- <line num="895" type="stmt" count="0"/>
 
 
4176
  <line num="897" type="stmt" count="0"/>
4177
  <line num="898" type="stmt" count="0"/>
4178
- <line num="900" type="stmt" count="0"/>
4179
  <line num="902" type="stmt" count="0"/>
4180
  <line num="904" type="stmt" count="0"/>
4181
  <line num="905" type="stmt" count="0"/>
4182
- <line num="906" type="stmt" count="0"/>
4183
- <line num="908" type="stmt" count="0"/>
4184
  <line num="909" type="stmt" count="0"/>
4185
  <line num="911" type="stmt" count="0"/>
4186
  <line num="912" type="stmt" count="0"/>
4187
  <line num="913" type="stmt" count="0"/>
4188
- <line num="914" type="stmt" count="0"/>
4189
  <line num="916" type="stmt" count="0"/>
4190
- <line num="917" type="stmt" count="0"/>
4191
  <line num="918" type="stmt" count="0"/>
4192
  <line num="919" type="stmt" count="0"/>
4193
  <line num="920" type="stmt" count="0"/>
4194
  <line num="921" type="stmt" count="0"/>
4195
- <line num="922" type="stmt" count="0"/>
4196
  <line num="924" type="stmt" count="0"/>
4197
  <line num="925" type="stmt" count="0"/>
 
4198
  <line num="927" type="stmt" count="0"/>
4199
  <line num="928" type="stmt" count="0"/>
4200
  <line num="929" type="stmt" count="0"/>
4201
- <line num="930" type="stmt" count="0"/>
4202
  <line num="932" type="stmt" count="0"/>
4203
- <line num="933" type="stmt" count="0"/>
4204
  <line num="935" type="stmt" count="0"/>
4205
  <line num="936" type="stmt" count="0"/>
4206
  <line num="937" type="stmt" count="0"/>
4207
- <line num="938" type="stmt" count="0"/>
4208
  <line num="940" type="stmt" count="0"/>
4209
- <line num="941" type="stmt" count="0"/>
4210
  <line num="943" type="stmt" count="0"/>
4211
  <line num="944" type="stmt" count="0"/>
4212
  <line num="945" type="stmt" count="0"/>
4213
- <line num="946" type="stmt" count="0"/>
4214
  <line num="948" type="stmt" count="0"/>
4215
- <line num="949" type="stmt" count="0"/>
4216
  <line num="951" type="stmt" count="0"/>
4217
  <line num="952" type="stmt" count="0"/>
4218
  <line num="953" type="stmt" count="0"/>
4219
- <line num="954" type="stmt" count="0"/>
4220
- <line num="957" type="stmt" count="0"/>
4221
  <line num="958" type="stmt" count="0"/>
4222
  <line num="959" type="stmt" count="0"/>
4223
  <line num="960" type="stmt" count="0"/>
4224
  <line num="961" type="stmt" count="0"/>
4225
- <line num="962" type="stmt" count="0"/>
4226
  <line num="964" type="stmt" count="0"/>
4227
  <line num="965" type="stmt" count="0"/>
 
4228
  <line num="967" type="stmt" count="0"/>
4229
  <line num="968" type="stmt" count="0"/>
4230
  <line num="969" type="stmt" count="0"/>
4231
- <line num="970" type="stmt" count="0"/>
4232
  <line num="971" type="stmt" count="0"/>
4233
- <line num="973" type="stmt" count="0"/>
 
4234
  <line num="975" type="stmt" count="0"/>
4235
  <line num="976" type="stmt" count="0"/>
 
4236
  <line num="978" type="stmt" count="0"/>
4237
  <line num="980" type="stmt" count="0"/>
4238
  <line num="982" type="stmt" count="0"/>
4239
- <line num="993" type="method" name="get_cron_secret" visibility="public" complexity="3" crap="12" count="0"/>
4240
- <line num="994" type="stmt" count="0"/>
4241
- <line num="995" type="stmt" count="0"/>
4242
- <line num="997" type="stmt" count="0"/>
4243
- <line num="998" type="stmt" count="0"/>
4244
- <line num="1000" type="stmt" count="0"/>
4245
  <line num="1001" type="stmt" count="0"/>
4246
- <line num="1003" type="stmt" count="0"/>
4247
  <line num="1004" type="stmt" count="0"/>
4248
- <line num="1006" type="stmt" count="0"/>
4249
- <line num="1023" type="method" name="is_valid_call" visibility="public" complexity="5" crap="30" count="0"/>
4250
- <line num="1025" type="stmt" count="0"/>
4251
- <line num="1026" type="stmt" count="0"/>
4252
- <line num="1028" type="stmt" count="0"/>
4253
- <line num="1029" type="stmt" count="0"/>
 
 
4254
  <line num="1033" type="stmt" count="0"/>
4255
- <line num="1046" type="method" name="upgrade_crontab_entries" visibility="public" complexity="4" crap="20" count="0"/>
4256
- <line num="1047" type="stmt" count="0"/>
4257
- <line num="1048" type="stmt" count="0"/>
4258
- <line num="1050" type="stmt" count="0"/>
4259
- <line num="1051" type="stmt" count="0"/>
4260
- <line num="1053" type="stmt" count="0"/>
4261
  <line num="1055" type="stmt" count="0"/>
4262
- <line num="1063" type="stmt" count="0"/>
4263
- <line num="1064" type="stmt" count="0"/>
4264
- <line num="1065" type="stmt" count="0"/>
4265
- <line num="1066" type="stmt" count="0"/>
4266
- <line num="1067" type="stmt" count="0"/>
4267
- <line num="1068" type="stmt" count="0"/>
4268
  <line num="1070" type="stmt" count="0"/>
4269
- <line num="1082" type="method" name="backup" visibility="public" complexity="2" crap="6" count="0"/>
4270
- <line num="1083" type="stmt" count="0"/>
4271
- <line num="1084" type="stmt" count="0"/>
4272
- <line num="1085" type="stmt" count="0"/>
4273
- <line num="1087" type="stmt" count="0"/>
4274
- <line num="1089" type="stmt" count="0"/>
4275
- <line num="1101" type="method" name="restore" visibility="public" complexity="3" crap="12" count="0"/>
4276
- <line num="1102" type="stmt" count="0"/>
4277
- <line num="1103" type="stmt" count="0"/>
4278
- <line num="1104" type="stmt" count="0"/>
4279
- <line num="1107" type="stmt" count="0"/>
4280
- <line num="1108" type="stmt" count="0"/>
 
 
4281
  <line num="1110" type="stmt" count="0"/>
4282
  <line num="1111" type="stmt" count="0"/>
4283
- <line num="1112" type="stmt" count="0"/>
4284
  <line num="1114" type="stmt" count="0"/>
4285
- <metrics loc="1116" ncloc="609" classes="1" methods="26" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="434" coveredstatements="88" elements="460" coveredelements="90"/>
 
 
 
 
 
4286
  </file>
4287
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-crypt.php">
4288
  <class name="Boldgrid_Backup_Admin_Crypt" namespace="global" fullPackage="Boldgrid.Backup.Admin">
@@ -6517,7 +6517,7 @@
6517
  </file>
6518
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-test.php">
6519
  <class name="Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin">
6520
- <metrics complexity="97" methods="26" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="256" coveredstatements="109" elements="282" coveredelements="114"/>
6521
  </class>
6522
  <line num="122" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
6523
  <line num="124" type="stmt" count="20"/>
@@ -6622,9 +6622,9 @@
6622
  <line num="392" type="stmt" count="0"/>
6623
  <line num="394" type="stmt" count="0"/>
6624
  <line num="396" type="stmt" count="0"/>
6625
- <line num="408" type="method" name="is_crontab_available" visibility="public" complexity="4" crap="4.13" count="1"/>
6626
  <line num="410" type="stmt" count="1"/>
6627
- <line num="411" type="stmt" count="1"/>
6628
  <line num="414" type="stmt" count="1"/>
6629
  <line num="415" type="stmt" count="0"/>
6630
  <line num="416" type="stmt" count="0"/>
@@ -6801,7 +6801,7 @@
6801
  <line num="876" type="stmt" count="0"/>
6802
  <line num="877" type="stmt" count="0"/>
6803
  <line num="879" type="stmt" count="1"/>
6804
- <metrics loc="881" ncloc="438" classes="1" methods="26" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="256" coveredstatements="109" elements="282" coveredelements="114"/>
6805
  </file>
6806
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-time.php">
6807
  <class name="Boldgrid_Backup_Admin_Time" namespace="global" fullPackage="Boldgrid.Backup.Admin">
@@ -8514,7 +8514,7 @@
8514
  <package name="Boldgrid\Backup\Admin\Cron">
8515
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/cron/class-crontab.php">
8516
  <class name="Crontab" namespace="Boldgrid\Backup\Admin\Cron">
8517
- <metrics complexity="12" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="18" elements="39" coveredelements="19"/>
8518
  </class>
8519
  <line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
8520
  <line num="40" type="stmt" count="1"/>
@@ -8534,28 +8534,22 @@
8534
  <line num="71" type="stmt" count="0"/>
8535
  <line num="72" type="stmt" count="0"/>
8536
  <line num="74" type="stmt" count="0"/>
8537
- <line num="84" type="method" name="read_crontab" visibility="public" complexity="3" crap="3.07" count="1"/>
8538
- <line num="85" type="stmt" count="1"/>
8539
- <line num="86" type="stmt" count="0"/>
8540
- <line num="89" type="stmt" count="1"/>
8541
  <line num="90" type="stmt" count="1"/>
8542
- <line num="92" type="stmt" count="1"/>
8543
- <line num="105" type="method" name="write_crontab" visibility="public" complexity="3" crap="3.03" count="1"/>
8544
- <line num="106" type="stmt" count="1"/>
8545
- <line num="108" type="stmt" count="1"/>
8546
- <line num="109" type="stmt" count="0"/>
8547
- <line num="113" type="stmt" count="1"/>
8548
- <line num="116" type="stmt" count="1"/>
8549
- <line num="119" type="stmt" count="1"/>
 
 
 
8550
  <line num="122" type="stmt" count="1"/>
8551
- <line num="125" type="stmt" count="1"/>
8552
- <line num="128" type="stmt" count="1"/>
8553
- <line num="129" type="stmt" count="0"/>
8554
- <line num="133" type="stmt" count="1"/>
8555
- <line num="135" type="stmt" count="1"/>
8556
- <line num="138" type="stmt" count="1"/>
8557
- <line num="140" type="stmt" count="1"/>
8558
- <metrics loc="142" ncloc="66" classes="1" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="18" elements="39" coveredelements="19"/>
8559
  </file>
8560
  </package>
8561
  <package name="Boldgrid\Backup\Admin\Cron\Entry">
@@ -14026,54 +14020,56 @@
14026
  </file>
14027
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-activator.php">
14028
  <class name="Boldgrid_Backup_Activator" namespace="global" fullPackage="Boldgrid.Backup">
14029
- <metrics complexity="13" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="68" coveredstatements="0" elements="72" coveredelements="0"/>
14030
  </class>
14031
  <line num="59" type="method" name="activate" visibility="public" complexity="5" crap="30" count="0"/>
14032
- <line num="60" type="stmt" count="0"/>
14033
  <line num="61" type="stmt" count="0"/>
14034
- <line num="63" type="stmt" count="0"/>
14035
  <line num="64" type="stmt" count="0"/>
14036
  <line num="65" type="stmt" count="0"/>
14037
- <line num="68" type="stmt" count="0"/>
14038
- <line num="69" type="stmt" count="0"/>
14039
- <line num="71" type="stmt" count="0"/>
14040
- <line num="72" type="stmt" count="0"/>
14041
- <line num="73" type="stmt" count="0"/>
 
 
 
14042
  <line num="81" type="stmt" count="0"/>
14043
- <line num="82" type="stmt" count="0"/>
14044
- <line num="83" type="stmt" count="0"/>
14045
- <line num="84" type="stmt" count="0"/>
14046
- <line num="85" type="stmt" count="0"/>
14047
- <line num="86" type="stmt" count="0"/>
14048
- <line num="87" type="stmt" count="0"/>
14049
- <line num="88" type="stmt" count="0"/>
14050
- <line num="89" type="stmt" count="0"/>
14051
- <line num="100" type="method" name="on_post_activate" visibility="public" complexity="2" crap="6" count="0"/>
14052
- <line num="101" type="stmt" count="0"/>
14053
  <line num="102" type="stmt" count="0"/>
14054
- <line num="109" type="method" name="post_activate_notice" visibility="public" complexity="4" crap="20" count="0"/>
14055
- <line num="110" type="stmt" count="0"/>
14056
- <line num="112" type="stmt" count="0"/>
 
 
 
 
 
14057
  <line num="122" type="stmt" count="0"/>
14058
- <line num="123" type="stmt" count="0"/>
14059
  <line num="124" type="stmt" count="0"/>
14060
  <line num="125" type="stmt" count="0"/>
14061
  <line num="127" type="stmt" count="0"/>
14062
  <line num="128" type="stmt" count="0"/>
14063
  <line num="129" type="stmt" count="0"/>
14064
  <line num="130" type="stmt" count="0"/>
 
14065
  <line num="132" type="stmt" count="0"/>
14066
- <line num="133" type="stmt" count="0"/>
14067
  <line num="135" type="stmt" count="0"/>
14068
  <line num="136" type="stmt" count="0"/>
14069
- <line num="137" type="stmt" count="0"/>
14070
- <line num="138" type="stmt" count="0"/>
14071
- <line num="139" type="stmt" count="0"/>
14072
- <line num="140" type="stmt" count="0"/>
14073
- <line num="142" type="stmt" count="0"/>
14074
- <line num="143" type="stmt" count="0"/>
14075
- <line num="144" type="stmt" count="0"/>
14076
  <line num="155" type="stmt" count="0"/>
 
14077
  <line num="157" type="stmt" count="0"/>
14078
  <line num="158" type="stmt" count="0"/>
14079
  <line num="159" type="stmt" count="0"/>
@@ -14087,20 +14083,12 @@
14087
  <line num="167" type="stmt" count="0"/>
14088
  <line num="168" type="stmt" count="0"/>
14089
  <line num="169" type="stmt" count="0"/>
14090
- <line num="170" type="stmt" count="0"/>
14091
- <line num="171" type="stmt" count="0"/>
14092
- <line num="172" type="stmt" count="0"/>
14093
- <line num="173" type="stmt" count="0"/>
14094
- <line num="174" type="stmt" count="0"/>
14095
- <line num="175" type="stmt" count="0"/>
14096
- <line num="176" type="stmt" count="0"/>
14097
- <line num="177" type="stmt" count="0"/>
14098
- <line num="184" type="method" name="shutdown" visibility="public" complexity="2" crap="6" count="0"/>
14099
- <line num="186" type="stmt" count="0"/>
14100
- <line num="187" type="stmt" count="0"/>
14101
- <line num="188" type="stmt" count="0"/>
14102
- <line num="189" type="stmt" count="0"/>
14103
- <metrics loc="190" ncloc="87" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="68" coveredstatements="0" elements="72" coveredelements="0"/>
14104
  </file>
14105
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-authentication.php">
14106
  <class name="Boldgrid_Backup_Authentication" namespace="global" fullPackage="Boldgrid.Backup">
@@ -14136,21 +14124,14 @@
14136
  </file>
14137
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-deactivator.php">
14138
  <class name="Boldgrid_Backup_Deactivator" namespace="global" fullPackage="Boldgrid_Backup.Boldgrid_Backup" package="Boldgrid_Backup" subpackage="Boldgrid_Backup">
14139
- <metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="0" elements="12" coveredelements="0"/>
14140
  </class>
14141
  <line num="31" type="method" name="deactivate" visibility="public" complexity="1" crap="2" count="0"/>
14142
  <line num="32" type="stmt" count="0"/>
14143
- <line num="33" type="stmt" count="0"/>
14144
  <line num="35" type="stmt" count="0"/>
14145
  <line num="36" type="stmt" count="0"/>
14146
- <line num="37" type="stmt" count="0"/>
14147
- <line num="40" type="stmt" count="0"/>
14148
- <line num="41" type="stmt" count="0"/>
14149
- <line num="42" type="stmt" count="0"/>
14150
- <line num="43" type="stmt" count="0"/>
14151
- <line num="46" type="stmt" count="0"/>
14152
- <line num="47" type="stmt" count="0"/>
14153
- <metrics loc="48" ncloc="17" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="0" elements="12" coveredelements="0"/>
14154
  </file>
14155
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-download.php">
14156
  <class name="Boldgrid_Backup_Download" namespace="global" fullPackage="Boldgrid.Backup">
@@ -75149,7 +75130,7 @@
75149
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
75150
  </file>
75151
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
75152
- <class name="ComposerStaticInit9dbd2de62b6570f97c92a5ee35058c76" namespace="Composer\Autoload">
75153
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
75154
  </class>
75155
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
@@ -75241,7 +75222,7 @@
75241
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
75242
  </file>
75243
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
75244
- <class name="ComposerAutoloaderInit9dbd2de62b6570f97c92a5ee35058c76" namespace="global">
75245
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
75246
  </class>
75247
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
@@ -94460,6 +94441,6 @@
94460
  <line num="16" type="stmt" count="0"/>
94461
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
94462
  </file>
94463
- <metrics files="944" loc="189352" ncloc="115441" classes="854" methods="3513" coveredmethods="274" conditionals="0" coveredconditionals="0" statements="85140" coveredstatements="4002" elements="88653" coveredelements="4276"/>
94464
  </project>
94465
  </coverage>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1591964905">
3
+ <project timestamp="1591964905">
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">
2279
  <line num="231" type="stmt" count="0"/>
2280
  <line num="232" type="stmt" count="5"/>
2281
  <line num="236" type="stmt" count="5"/>
2282
+ <line num="237" type="stmt" count="4"/>
2283
+ <line num="238" type="stmt" count="4"/>
2284
  <line num="240" type="stmt" count="5"/>
2285
  <metrics loc="242" ncloc="140" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="94" coveredstatements="36" elements="96" coveredelements="36"/>
2286
  </file>
3993
  <line num="489" type="stmt" count="5"/>
3994
  <line num="490" type="stmt" count="5"/>
3995
  <line num="492" type="stmt" count="5"/>
3996
+ <line num="507" type="method" name="delete_cron_entries" visibility="public" complexity="5" crap="6.42" count="1"/>
3997
+ <line num="508" type="stmt" count="1"/>
3998
+ <line num="509" type="stmt" count="0"/>
3999
+ <line num="512" type="stmt" count="1"/>
4000
+ <line num="513" type="stmt" count="0"/>
4001
+ <line num="516" type="stmt" count="1"/>
4002
+ <line num="518" type="stmt" count="1"/>
4003
+ <line num="520" type="stmt" count="1"/>
4004
+ <line num="521" type="stmt" count="0"/>
4005
+ <line num="524" type="stmt" count="1"/>
4006
+ <line num="527" type="stmt" count="1"/>
4007
  <line num="528" type="stmt" count="1"/>
4008
+ <line num="531" type="stmt" count="0"/>
4009
+ <line num="533" type="stmt" count="0"/>
4010
+ <line num="547" type="method" name="entry_delete" visibility="public" complexity="4" crap="4.02" count="1"/>
4011
+ <line num="548" type="stmt" count="1"/>
4012
+ <line num="549" type="stmt" count="0"/>
4013
+ <line num="552" type="stmt" count="1"/>
4014
+ <line num="554" type="stmt" count="1"/>
4015
+ <line num="556" type="stmt" count="1"/>
4016
  <line num="557" type="stmt" count="1"/>
4017
  <line num="558" type="stmt" count="1"/>
4018
+ <line num="560" type="stmt" count="1"/>
4019
  <line num="561" type="stmt" count="1"/>
4020
+ <line num="563" type="stmt" count="1"/>
4021
+ <line num="573" type="method" name="entry_delete_contains" visibility="public" complexity="4" crap="20" count="0"/>
4022
+ <line num="574" type="stmt" count="0"/>
4023
+ <line num="576" type="stmt" count="0"/>
4024
  <line num="577" type="stmt" count="0"/>
4025
+ <line num="580" type="stmt" count="0"/>
4026
  <line num="581" type="stmt" count="0"/>
4027
  <line num="582" type="stmt" count="0"/>
4028
  <line num="583" type="stmt" count="0"/>
4029
  <line num="584" type="stmt" count="0"/>
4030
  <line num="585" type="stmt" count="0"/>
4031
+ <line num="595" type="method" name="entry_exists" visibility="public" complexity="2" crap="2.06" count="1"/>
4032
+ <line num="596" type="stmt" count="1"/>
4033
+ <line num="598" type="stmt" count="1"/>
4034
+ <line num="599" type="stmt" count="0"/>
4035
+ <line num="602" type="stmt" count="1"/>
4036
+ <line num="613" type="method" name="entry_search" visibility="public" complexity="4" crap="20" count="0"/>
4037
+ <line num="614" type="stmt" count="0"/>
4038
  <line num="615" type="stmt" count="0"/>
4039
+ <line num="617" type="stmt" count="0"/>
4040
  <line num="618" type="stmt" count="0"/>
4041
+ <line num="621" type="stmt" count="0"/>
4042
  <line num="622" type="stmt" count="0"/>
4043
  <line num="623" type="stmt" count="0"/>
4044
  <line num="624" type="stmt" count="0"/>
4045
  <line num="625" type="stmt" count="0"/>
4046
+ <line num="627" type="stmt" count="0"/>
4047
+ <line num="648" type="method" name="get_all" visibility="public" complexity="5" crap="5.47" count="1"/>
4048
+ <line num="655" type="stmt" count="1"/>
4049
+ <line num="656" type="stmt" count="0"/>
4050
+ <line num="668" type="stmt" count="1"/>
 
 
 
 
4051
  <line num="669" type="stmt" count="1"/>
 
4052
  <line num="672" type="stmt" count="1"/>
4053
  <line num="673" type="stmt" count="1"/>
4054
+ <line num="676" type="stmt" count="1"/>
4055
+ <line num="677" type="stmt" count="1"/>
4056
+ <line num="679" type="stmt" count="1"/>
4057
+ <line num="680" type="stmt" count="1"/>
4058
+ <line num="681" type="stmt" count="0"/>
4059
+ <line num="682" type="stmt" count="0"/>
4060
+ <line num="685" type="stmt" count="1"/>
4061
+ <line num="686" type="stmt" count="0"/>
4062
+ <line num="689" type="stmt" count="1"/>
4063
+ <line num="702" type="method" name="get_our_crons" visibility="public" complexity="4" crap="20" count="0"/>
4064
  <line num="703" type="stmt" count="0"/>
4065
  <line num="704" type="stmt" count="0"/>
 
4066
  <line num="706" type="stmt" count="0"/>
4067
  <line num="707" type="stmt" count="0"/>
4068
+ <line num="710" type="stmt" count="0"/>
4069
+ <line num="711" type="stmt" count="0"/>
4070
+ <line num="712" type="stmt" count="0"/>
4071
+ <line num="713" type="stmt" count="0"/>
4072
+ <line num="714" type="stmt" count="0"/>
4073
+ <line num="716" type="stmt" count="0"/>
4074
+ <line num="732" type="method" name="get_restore_command" visibility="public" complexity="3" crap="3.00" count="1"/>
4075
  <line num="733" type="stmt" count="1"/>
4076
+ <line num="736" type="stmt" count="1"/>
4077
+ <line num="737" type="stmt" count="0"/>
 
 
4078
  <line num="740" type="stmt" count="1"/>
4079
+ <line num="741" type="stmt" count="1"/>
4080
+ <line num="742" type="stmt" count="1"/>
4081
+ <line num="745" type="stmt" count="1"/>
4082
+ <line num="746" type="stmt" count="1"/>
4083
+ <line num="747" type="stmt" count="1"/>
4084
  <line num="758" type="stmt" count="1"/>
4085
  <line num="759" type="stmt" count="1"/>
4086
  <line num="760" type="stmt" count="1"/>
4087
+ <line num="761" type="stmt" count="1"/>
4088
  <line num="762" type="stmt" count="1"/>
4089
+ <line num="765" type="stmt" count="1"/>
4090
+ <line num="766" type="stmt" count="1"/>
4091
+ <line num="767" type="stmt" count="1"/>
4092
+ <line num="769" type="stmt" count="1"/>
4093
+ <line num="771" type="stmt" count="1"/>
4094
+ <line num="782" type="method" name="get_schedule" visibility="public" complexity="15" crap="240" count="0"/>
 
 
 
4095
  <line num="785" type="stmt" count="0"/>
4096
  <line num="786" type="stmt" count="0"/>
4097
  <line num="787" type="stmt" count="0"/>
4098
  <line num="788" type="stmt" count="0"/>
4099
+ <line num="789" type="stmt" count="0"/>
4100
  <line num="790" type="stmt" count="0"/>
4101
  <line num="791" type="stmt" count="0"/>
4102
+ <line num="792" type="stmt" count="0"/>
4103
+ <line num="793" type="stmt" count="0"/>
4104
+ <line num="794" type="stmt" count="0"/>
4105
  <line num="795" type="stmt" count="0"/>
4106
+ <line num="797" type="stmt" count="0"/>
4107
  <line num="798" type="stmt" count="0"/>
4108
+ <line num="802" type="stmt" count="0"/>
 
 
4109
  <line num="805" type="stmt" count="0"/>
4110
  <line num="806" type="stmt" count="0"/>
4111
  <line num="807" type="stmt" count="0"/>
4112
  <line num="808" type="stmt" count="0"/>
4113
  <line num="812" type="stmt" count="0"/>
4114
+ <line num="813" type="stmt" count="0"/>
4115
  <line num="814" type="stmt" count="0"/>
4116
  <line num="815" type="stmt" count="0"/>
 
4117
  <line num="819" type="stmt" count="0"/>
4118
+ <line num="821" type="stmt" count="0"/>
4119
  <line num="822" type="stmt" count="0"/>
 
 
4120
  <line num="825" type="stmt" count="0"/>
4121
  <line num="826" type="stmt" count="0"/>
4122
  <line num="827" type="stmt" count="0"/>
 
4123
  <line num="829" type="stmt" count="0"/>
4124
  <line num="830" type="stmt" count="0"/>
4125
  <line num="831" type="stmt" count="0"/>
4139
  <line num="845" type="stmt" count="0"/>
4140
  <line num="846" type="stmt" count="0"/>
4141
  <line num="847" type="stmt" count="0"/>
4142
+ <line num="848" type="stmt" count="0"/>
4143
  <line num="849" type="stmt" count="0"/>
4144
+ <line num="850" type="stmt" count="0"/>
4145
+ <line num="851" type="stmt" count="0"/>
4146
+ <line num="852" type="stmt" count="0"/>
4147
+ <line num="853" type="stmt" count="0"/>
4148
+ <line num="854" type="stmt" count="0"/>
4149
+ <line num="856" type="stmt" count="0"/>
4150
+ <line num="866" type="method" name="print_cron_report" visibility="public" complexity="16" crap="272" count="0"/>
4151
  <line num="868" type="stmt" count="0"/>
4152
+ <line num="869" type="stmt" count="0"/>
4153
  <line num="870" type="stmt" count="0"/>
 
4154
  <line num="873" type="stmt" count="0"/>
4155
  <line num="874" type="stmt" count="0"/>
4156
  <line num="875" type="stmt" count="0"/>
 
4157
  <line num="877" type="stmt" count="0"/>
4158
+ <line num="878" type="stmt" count="0"/>
4159
  <line num="880" type="stmt" count="0"/>
4160
  <line num="881" type="stmt" count="0"/>
4161
  <line num="882" type="stmt" count="0"/>
4162
  <line num="883" type="stmt" count="0"/>
4163
+ <line num="884" type="stmt" count="0"/>
 
4164
  <line num="887" type="stmt" count="0"/>
4165
+ <line num="888" type="stmt" count="0"/>
4166
  <line num="889" type="stmt" count="0"/>
4167
  <line num="890" type="stmt" count="0"/>
 
4168
  <line num="892" type="stmt" count="0"/>
4169
+ <line num="893" type="stmt" count="0"/>
4170
+ <line num="894" type="stmt" count="0"/>
4171
+ <line num="896" type="stmt" count="0"/>
4172
  <line num="897" type="stmt" count="0"/>
4173
  <line num="898" type="stmt" count="0"/>
4174
+ <line num="899" type="stmt" count="0"/>
4175
  <line num="902" type="stmt" count="0"/>
4176
  <line num="904" type="stmt" count="0"/>
4177
  <line num="905" type="stmt" count="0"/>
4178
+ <line num="907" type="stmt" count="0"/>
 
4179
  <line num="909" type="stmt" count="0"/>
4180
  <line num="911" type="stmt" count="0"/>
4181
  <line num="912" type="stmt" count="0"/>
4182
  <line num="913" type="stmt" count="0"/>
4183
+ <line num="915" type="stmt" count="0"/>
4184
  <line num="916" type="stmt" count="0"/>
 
4185
  <line num="918" type="stmt" count="0"/>
4186
  <line num="919" type="stmt" count="0"/>
4187
  <line num="920" type="stmt" count="0"/>
4188
  <line num="921" type="stmt" count="0"/>
4189
+ <line num="923" type="stmt" count="0"/>
4190
  <line num="924" type="stmt" count="0"/>
4191
  <line num="925" type="stmt" count="0"/>
4192
+ <line num="926" type="stmt" count="0"/>
4193
  <line num="927" type="stmt" count="0"/>
4194
  <line num="928" type="stmt" count="0"/>
4195
  <line num="929" type="stmt" count="0"/>
4196
+ <line num="931" type="stmt" count="0"/>
4197
  <line num="932" type="stmt" count="0"/>
4198
+ <line num="934" type="stmt" count="0"/>
4199
  <line num="935" type="stmt" count="0"/>
4200
  <line num="936" type="stmt" count="0"/>
4201
  <line num="937" type="stmt" count="0"/>
4202
+ <line num="939" type="stmt" count="0"/>
4203
  <line num="940" type="stmt" count="0"/>
4204
+ <line num="942" type="stmt" count="0"/>
4205
  <line num="943" type="stmt" count="0"/>
4206
  <line num="944" type="stmt" count="0"/>
4207
  <line num="945" type="stmt" count="0"/>
4208
+ <line num="947" type="stmt" count="0"/>
4209
  <line num="948" type="stmt" count="0"/>
4210
+ <line num="950" type="stmt" count="0"/>
4211
  <line num="951" type="stmt" count="0"/>
4212
  <line num="952" type="stmt" count="0"/>
4213
  <line num="953" type="stmt" count="0"/>
4214
+ <line num="955" type="stmt" count="0"/>
4215
+ <line num="956" type="stmt" count="0"/>
4216
  <line num="958" type="stmt" count="0"/>
4217
  <line num="959" type="stmt" count="0"/>
4218
  <line num="960" type="stmt" count="0"/>
4219
  <line num="961" type="stmt" count="0"/>
 
4220
  <line num="964" type="stmt" count="0"/>
4221
  <line num="965" type="stmt" count="0"/>
4222
+ <line num="966" type="stmt" count="0"/>
4223
  <line num="967" type="stmt" count="0"/>
4224
  <line num="968" type="stmt" count="0"/>
4225
  <line num="969" type="stmt" count="0"/>
 
4226
  <line num="971" type="stmt" count="0"/>
4227
+ <line num="972" type="stmt" count="0"/>
4228
+ <line num="974" type="stmt" count="0"/>
4229
  <line num="975" type="stmt" count="0"/>
4230
  <line num="976" type="stmt" count="0"/>
4231
+ <line num="977" type="stmt" count="0"/>
4232
  <line num="978" type="stmt" count="0"/>
4233
  <line num="980" type="stmt" count="0"/>
4234
  <line num="982" type="stmt" count="0"/>
4235
+ <line num="983" type="stmt" count="0"/>
4236
+ <line num="985" type="stmt" count="0"/>
4237
+ <line num="987" type="stmt" count="0"/>
4238
+ <line num="989" type="stmt" count="0"/>
4239
+ <line num="1000" type="method" name="get_cron_secret" visibility="public" complexity="3" crap="12" count="0"/>
 
4240
  <line num="1001" type="stmt" count="0"/>
4241
+ <line num="1002" type="stmt" count="0"/>
4242
  <line num="1004" type="stmt" count="0"/>
4243
+ <line num="1005" type="stmt" count="0"/>
4244
+ <line num="1007" type="stmt" count="0"/>
4245
+ <line num="1008" type="stmt" count="0"/>
4246
+ <line num="1010" type="stmt" count="0"/>
4247
+ <line num="1011" type="stmt" count="0"/>
4248
+ <line num="1013" type="stmt" count="0"/>
4249
+ <line num="1030" type="method" name="is_valid_call" visibility="public" complexity="5" crap="30" count="0"/>
4250
+ <line num="1032" type="stmt" count="0"/>
4251
  <line num="1033" type="stmt" count="0"/>
4252
+ <line num="1035" type="stmt" count="0"/>
4253
+ <line num="1036" type="stmt" count="0"/>
4254
+ <line num="1040" type="stmt" count="0"/>
4255
+ <line num="1053" type="method" name="upgrade_crontab_entries" visibility="public" complexity="4" crap="20" count="0"/>
4256
+ <line num="1054" type="stmt" count="0"/>
 
4257
  <line num="1055" type="stmt" count="0"/>
4258
+ <line num="1057" type="stmt" count="0"/>
4259
+ <line num="1058" type="stmt" count="0"/>
4260
+ <line num="1060" type="stmt" count="0"/>
4261
+ <line num="1062" type="stmt" count="0"/>
 
 
4262
  <line num="1070" type="stmt" count="0"/>
4263
+ <line num="1071" type="stmt" count="0"/>
4264
+ <line num="1072" type="stmt" count="0"/>
4265
+ <line num="1073" type="stmt" count="0"/>
4266
+ <line num="1074" type="stmt" count="0"/>
4267
+ <line num="1075" type="stmt" count="0"/>
4268
+ <line num="1077" type="stmt" count="0"/>
4269
+ <line num="1089" type="method" name="backup" visibility="public" complexity="2" crap="6" count="0"/>
4270
+ <line num="1090" type="stmt" count="0"/>
4271
+ <line num="1091" type="stmt" count="0"/>
4272
+ <line num="1092" type="stmt" count="0"/>
4273
+ <line num="1094" type="stmt" count="0"/>
4274
+ <line num="1096" type="stmt" count="0"/>
4275
+ <line num="1108" type="method" name="restore" visibility="public" complexity="3" crap="12" count="0"/>
4276
+ <line num="1109" type="stmt" count="0"/>
4277
  <line num="1110" type="stmt" count="0"/>
4278
  <line num="1111" type="stmt" count="0"/>
 
4279
  <line num="1114" type="stmt" count="0"/>
4280
+ <line num="1115" type="stmt" count="0"/>
4281
+ <line num="1117" type="stmt" count="0"/>
4282
+ <line num="1118" type="stmt" count="0"/>
4283
+ <line num="1119" type="stmt" count="0"/>
4284
+ <line num="1121" type="stmt" count="0"/>
4285
+ <metrics loc="1123" ncloc="609" classes="1" methods="26" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="434" coveredstatements="88" elements="460" coveredelements="90"/>
4286
  </file>
4287
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-crypt.php">
4288
  <class name="Boldgrid_Backup_Admin_Crypt" namespace="global" fullPackage="Boldgrid.Backup.Admin">
6517
  </file>
6518
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-test.php">
6519
  <class name="Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Boldgrid.Backup.Admin">
6520
+ <metrics complexity="97" methods="26" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="256" coveredstatements="108" elements="282" coveredelements="113"/>
6521
  </class>
6522
  <line num="122" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
6523
  <line num="124" type="stmt" count="20"/>
6622
  <line num="392" type="stmt" count="0"/>
6623
  <line num="394" type="stmt" count="0"/>
6624
  <line num="396" type="stmt" count="0"/>
6625
+ <line num="408" type="method" name="is_crontab_available" visibility="public" complexity="4" crap="4.43" count="1"/>
6626
  <line num="410" type="stmt" count="1"/>
6627
+ <line num="411" type="stmt" count="0"/>
6628
  <line num="414" type="stmt" count="1"/>
6629
  <line num="415" type="stmt" count="0"/>
6630
  <line num="416" type="stmt" count="0"/>
6801
  <line num="876" type="stmt" count="0"/>
6802
  <line num="877" type="stmt" count="0"/>
6803
  <line num="879" type="stmt" count="1"/>
6804
+ <metrics loc="881" ncloc="438" classes="1" methods="26" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="256" coveredstatements="108" elements="282" coveredelements="113"/>
6805
  </file>
6806
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-time.php">
6807
  <class name="Boldgrid_Backup_Admin_Time" namespace="global" fullPackage="Boldgrid.Backup.Admin">
8514
  <package name="Boldgrid\Backup\Admin\Cron">
8515
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/cron/class-crontab.php">
8516
  <class name="Crontab" namespace="Boldgrid\Backup\Admin\Cron">
8517
+ <metrics complexity="9" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="14" elements="33" coveredelements="15"/>
8518
  </class>
8519
  <line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
8520
  <line num="40" type="stmt" count="1"/>
8534
  <line num="71" type="stmt" count="0"/>
8535
  <line num="72" type="stmt" count="0"/>
8536
  <line num="74" type="stmt" count="0"/>
8537
+ <line num="87" type="method" name="write_crontab" visibility="public" complexity="3" crap="3.03" count="1"/>
8538
+ <line num="88" type="stmt" count="1"/>
 
 
8539
  <line num="90" type="stmt" count="1"/>
8540
+ <line num="91" type="stmt" count="0"/>
8541
+ <line num="95" type="stmt" count="1"/>
8542
+ <line num="98" type="stmt" count="1"/>
8543
+ <line num="101" type="stmt" count="1"/>
8544
+ <line num="104" type="stmt" count="1"/>
8545
+ <line num="107" type="stmt" count="1"/>
8546
+ <line num="110" type="stmt" count="1"/>
8547
+ <line num="111" type="stmt" count="0"/>
8548
+ <line num="115" type="stmt" count="1"/>
8549
+ <line num="117" type="stmt" count="1"/>
8550
+ <line num="120" type="stmt" count="1"/>
8551
  <line num="122" type="stmt" count="1"/>
8552
+ <metrics loc="124" ncloc="55" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="14" elements="33" coveredelements="15"/>
 
 
 
 
 
 
 
8553
  </file>
8554
  </package>
8555
  <package name="Boldgrid\Backup\Admin\Cron\Entry">
14020
  </file>
14021
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-activator.php">
14022
  <class name="Boldgrid_Backup_Activator" namespace="global" fullPackage="Boldgrid.Backup">
14023
+ <metrics complexity="13" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="62" coveredstatements="0" elements="66" coveredelements="0"/>
14024
  </class>
14025
  <line num="59" type="method" name="activate" visibility="public" complexity="5" crap="30" count="0"/>
 
14026
  <line num="61" type="stmt" count="0"/>
14027
+ <line num="62" type="stmt" count="0"/>
14028
  <line num="64" type="stmt" count="0"/>
14029
  <line num="65" type="stmt" count="0"/>
14030
+ <line num="66" type="stmt" count="0"/>
14031
+ <line num="67" type="stmt" count="0"/>
14032
+ <line num="75" type="stmt" count="0"/>
14033
+ <line num="76" type="stmt" count="0"/>
14034
+ <line num="77" type="stmt" count="0"/>
14035
+ <line num="78" type="stmt" count="0"/>
14036
+ <line num="79" type="stmt" count="0"/>
14037
+ <line num="80" type="stmt" count="0"/>
14038
  <line num="81" type="stmt" count="0"/>
14039
+ <line num="92" type="method" name="on_post_activate" visibility="public" complexity="2" crap="6" count="0"/>
14040
+ <line num="93" type="stmt" count="0"/>
14041
+ <line num="94" type="stmt" count="0"/>
14042
+ <line num="101" type="method" name="post_activate_notice" visibility="public" complexity="4" crap="20" count="0"/>
 
 
 
 
 
 
14043
  <line num="102" type="stmt" count="0"/>
14044
+ <line num="104" type="stmt" count="0"/>
14045
+ <line num="114" type="stmt" count="0"/>
14046
+ <line num="115" type="stmt" count="0"/>
14047
+ <line num="116" type="stmt" count="0"/>
14048
+ <line num="117" type="stmt" count="0"/>
14049
+ <line num="119" type="stmt" count="0"/>
14050
+ <line num="120" type="stmt" count="0"/>
14051
+ <line num="121" type="stmt" count="0"/>
14052
  <line num="122" type="stmt" count="0"/>
 
14053
  <line num="124" type="stmt" count="0"/>
14054
  <line num="125" type="stmt" count="0"/>
14055
  <line num="127" type="stmt" count="0"/>
14056
  <line num="128" type="stmt" count="0"/>
14057
  <line num="129" type="stmt" count="0"/>
14058
  <line num="130" type="stmt" count="0"/>
14059
+ <line num="131" type="stmt" count="0"/>
14060
  <line num="132" type="stmt" count="0"/>
14061
+ <line num="134" type="stmt" count="0"/>
14062
  <line num="135" type="stmt" count="0"/>
14063
  <line num="136" type="stmt" count="0"/>
14064
+ <line num="147" type="stmt" count="0"/>
14065
+ <line num="149" type="stmt" count="0"/>
14066
+ <line num="150" type="stmt" count="0"/>
14067
+ <line num="151" type="stmt" count="0"/>
14068
+ <line num="152" type="stmt" count="0"/>
14069
+ <line num="153" type="stmt" count="0"/>
14070
+ <line num="154" type="stmt" count="0"/>
14071
  <line num="155" type="stmt" count="0"/>
14072
+ <line num="156" type="stmt" count="0"/>
14073
  <line num="157" type="stmt" count="0"/>
14074
  <line num="158" type="stmt" count="0"/>
14075
  <line num="159" type="stmt" count="0"/>
14083
  <line num="167" type="stmt" count="0"/>
14084
  <line num="168" type="stmt" count="0"/>
14085
  <line num="169" type="stmt" count="0"/>
14086
+ <line num="176" type="method" name="shutdown" visibility="public" complexity="2" crap="6" count="0"/>
14087
+ <line num="178" type="stmt" count="0"/>
14088
+ <line num="179" type="stmt" count="0"/>
14089
+ <line num="180" type="stmt" count="0"/>
14090
+ <line num="181" type="stmt" count="0"/>
14091
+ <metrics loc="182" ncloc="79" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="62" coveredstatements="0" elements="66" coveredelements="0"/>
 
 
 
 
 
 
 
 
14092
  </file>
14093
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-authentication.php">
14094
  <class name="Boldgrid_Backup_Authentication" namespace="global" fullPackage="Boldgrid.Backup">
14124
  </file>
14125
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-deactivator.php">
14126
  <class name="Boldgrid_Backup_Deactivator" namespace="global" fullPackage="Boldgrid_Backup.Boldgrid_Backup" package="Boldgrid_Backup" subpackage="Boldgrid_Backup">
14127
+ <metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="0" elements="5" coveredelements="0"/>
14128
  </class>
14129
  <line num="31" type="method" name="deactivate" visibility="public" complexity="1" crap="2" count="0"/>
14130
  <line num="32" type="stmt" count="0"/>
14131
+ <line num="34" type="stmt" count="0"/>
14132
  <line num="35" type="stmt" count="0"/>
14133
  <line num="36" type="stmt" count="0"/>
14134
+ <metrics loc="37" ncloc="10" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="0" elements="5" coveredelements="0"/>
 
 
 
 
 
 
 
14135
  </file>
14136
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup-download.php">
14137
  <class name="Boldgrid_Backup_Download" namespace="global" fullPackage="Boldgrid.Backup">
75130
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
75131
  </file>
75132
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
75133
+ <class name="ComposerStaticInit02da5d410c7618e7bbd0688b4f607d05" namespace="Composer\Autoload">
75134
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
75135
  </class>
75136
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
75222
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
75223
  </file>
75224
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
75225
+ <class name="ComposerAutoloaderInit02da5d410c7618e7bbd0688b4f607d05" namespace="global">
75226
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
75227
  </class>
75228
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
94441
  <line num="16" type="stmt" count="0"/>
94442
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
94443
  </file>
94444
+ <metrics files="944" loc="189322" ncloc="115415" classes="854" methods="3512" coveredmethods="274" conditionals="0" coveredconditionals="0" statements="85122" coveredstatements="3997" elements="88634" coveredelements="4271"/>
94445
  </project>
94446
  </coverage>
includes/class-boldgrid-backup-activator.php CHANGED
@@ -57,18 +57,12 @@ class Boldgrid_Backup_Activator {
57
  * @see Boldgrid_Backup_Admin_Cron::add_all_crons()
58
  */
59
  public static function activate() {
60
- $core = new Boldgrid_Backup_Admin_Core();
61
- $logger = new Boldgrid_Backup_Admin_Log( $core );
62
-
63
- $logger->init( 'activation.log' );
64
- $logger->add_separator();
65
- $logger->add( 'Total Upkeep is being activated.' );
66
-
67
  // Flag that the plugin has just been activated.
68
  update_option( self::$option, 1 );
69
  self::$just_activated = true;
70
 
71
  if ( Boldgrid_Backup_Admin_Test::is_filesystem_supported() ) {
 
72
  $settings = $core->settings->get_settings();
73
  $scheduler = ! empty( $settings['scheduler'] ) ? $settings['scheduler'] : null;
74
 
@@ -78,13 +72,11 @@ class Boldgrid_Backup_Activator {
78
  * The add_all_crons methods called include proper checks to ensure
79
  * scheduler is available and $settings include a schedule.
80
  */
81
- $logger->add( 'Before crons:' . "\n" . $core->cron->get_all( true ) );
82
  if ( 'cron' === $scheduler ) {
83
  $core->cron->add_all_crons( $settings );
84
  } elseif ( 'wp-cron' === $scheduler ) {
85
  $core->wp_cron->add_all_crons( $settings );
86
  }
87
- $logger->add( 'After crons:' . "\n" . $core->cron->get_all( true ) );
88
  }
89
  }
90
 
57
  * @see Boldgrid_Backup_Admin_Cron::add_all_crons()
58
  */
59
  public static function activate() {
 
 
 
 
 
 
 
60
  // Flag that the plugin has just been activated.
61
  update_option( self::$option, 1 );
62
  self::$just_activated = true;
63
 
64
  if ( Boldgrid_Backup_Admin_Test::is_filesystem_supported() ) {
65
+ $core = new Boldgrid_Backup_Admin_Core();
66
  $settings = $core->settings->get_settings();
67
  $scheduler = ! empty( $settings['scheduler'] ) ? $settings['scheduler'] : null;
68
 
72
  * The add_all_crons methods called include proper checks to ensure
73
  * scheduler is available and $settings include a schedule.
74
  */
 
75
  if ( 'cron' === $scheduler ) {
76
  $core->cron->add_all_crons( $settings );
77
  } elseif ( 'wp-cron' === $scheduler ) {
78
  $core->wp_cron->add_all_crons( $settings );
79
  }
 
80
  }
81
  }
82
 
includes/class-boldgrid-backup-deactivator.php CHANGED
@@ -29,20 +29,9 @@ class Boldgrid_Backup_Deactivator {
29
  * @since 1.0
30
  */
31
  public static function deactivate() {
32
- $core = new Boldgrid_Backup_Admin_Core();
33
- $logger = new Boldgrid_Backup_Admin_Log( $core );
34
 
35
- $logger->init( 'activation.log' );
36
- $logger->add_separator();
37
- $logger->add( 'Total Upkeep is being deactivated.' );
38
-
39
- // Delete Crontab crons.
40
- $logger->add( 'Beginning process to delete all cron entries...' );
41
- $logger->add( 'Before crons:' . "\n" . $core->cron->get_all( true ) );
42
  $core->cron->delete_cron_entries( 'all' );
43
- $logger->add( 'After crons:' . "\n" . $core->cron->get_all( true ) );
44
-
45
- // Delete WP Cron crons.
46
  $core->wp_cron->clear_schedules();
47
  }
48
  }
29
  * @since 1.0
30
  */
31
  public static function deactivate() {
32
+ $core = new Boldgrid_Backup_Admin_Core();
 
33
 
 
 
 
 
 
 
 
34
  $core->cron->delete_cron_entries( 'all' );
 
 
 
35
  $core->wp_cron->clear_schedules();
36
  }
37
  }
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit9dbd2de62b6570f97c92a5ee35058c76::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit02da5d410c7618e7bbd0688b4f607d05::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit9dbd2de62b6570f97c92a5ee35058c76
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit9dbd2de62b6570f97c92a5ee35058c76
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit9dbd2de62b6570f97c92a5ee35058c76', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit9dbd2de62b6570f97c92a5ee35058c76', '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\ComposerStaticInit9dbd2de62b6570f97c92a5ee35058c76::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit9dbd2de62b6570f97c92a5ee35058c76
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInit9dbd2de62b6570f97c92a5ee35058c76::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequire9dbd2de62b6570f97c92a5ee35058c76($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequire9dbd2de62b6570f97c92a5ee35058c76($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 ComposerAutoloaderInit02da5d410c7618e7bbd0688b4f607d05
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit02da5d410c7618e7bbd0688b4f607d05', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit02da5d410c7618e7bbd0688b4f607d05', '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\ComposerStaticInit02da5d410c7618e7bbd0688b4f607d05::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\ComposerStaticInit02da5d410c7618e7bbd0688b4f607d05::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequire02da5d410c7618e7bbd0688b4f607d05($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequire02da5d410c7618e7bbd0688b4f607d05($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 ComposerStaticInit9dbd2de62b6570f97c92a5ee35058c76
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
@@ -91,9 +91,9 @@ class ComposerStaticInit9dbd2de62b6570f97c92a5ee35058c76
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
- $loader->prefixLengthsPsr4 = ComposerStaticInit9dbd2de62b6570f97c92a5ee35058c76::$prefixLengthsPsr4;
95
- $loader->prefixDirsPsr4 = ComposerStaticInit9dbd2de62b6570f97c92a5ee35058c76::$prefixDirsPsr4;
96
- $loader->classMap = ComposerStaticInit9dbd2de62b6570f97c92a5ee35058c76::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit02da5d410c7618e7bbd0688b4f607d05
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 = ComposerStaticInit02da5d410c7618e7bbd0688b4f607d05::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInit02da5d410c7618e7bbd0688b4f607d05::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInit02da5d410c7618e7bbd0688b4f607d05::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }