Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version branch.issue-320.202007011400

Version Description

Download this release

Release Info

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

Code changes from version 1.13.11 to branch.issue-320.202007011400

admin/class-boldgrid-backup-admin-jobs.php CHANGED
@@ -41,6 +41,15 @@ class Boldgrid_Backup_Admin_Jobs {
41
  */
42
  private $core;
43
 
 
 
 
 
 
 
 
 
 
44
  /**
45
  * An array of jobs.
46
  *
@@ -78,6 +87,11 @@ class Boldgrid_Backup_Admin_Jobs {
78
  * this class for more information.
79
  */
80
  public function add( $args ) {
 
 
 
 
 
81
  if ( empty( $args['action'] ) ) {
82
  return false;
83
  }
@@ -87,6 +101,8 @@ class Boldgrid_Backup_Admin_Jobs {
87
  $this->set_jobs();
88
  $this->jobs[] = $args;
89
  $this->save_jobs();
 
 
90
  }
91
 
92
  /**
@@ -117,6 +133,18 @@ class Boldgrid_Backup_Admin_Jobs {
117
  $this->save_jobs();
118
  }
119
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  /**
121
  * Determine if we have any jobs currently running.
122
  *
@@ -241,16 +269,21 @@ class Boldgrid_Backup_Admin_Jobs {
241
  wp_die();
242
  }
243
 
 
 
 
244
  foreach ( $this->jobs as $key => &$job ) {
245
  if ( 'pending' !== $job['status'] ) {
246
  continue;
247
  }
248
 
 
249
  $job['start_time'] = time();
250
  $this->save_jobs();
251
 
252
  $status = apply_filters( $job['action'], $job['action_data'] );
253
 
 
254
  $job['end_time'] = time();
255
  $job['status'] = $status ? 'success' : 'fail';
256
  $this->save_jobs();
41
  */
42
  private $core;
43
 
44
+ /**
45
+ * An instance of our log class.
46
+ *
47
+ * @since 1.13.11
48
+ * @access private
49
+ * @var Boldgrid_Backup_Admin_Log
50
+ */
51
+ private $logger;
52
+
53
  /**
54
  * An array of jobs.
55
  *
87
  * this class for more information.
88
  */
89
  public function add( $args ) {
90
+ // Add info to our logs about this even we're adding.
91
+ $action = empty( $args['action'] ) ? 'Unknown action' : $args['action'];
92
+ $this->init_logger();
93
+ $this->logger->add( 'Adding job. Action = ' . $action );
94
+
95
  if ( empty( $args['action'] ) ) {
96
  return false;
97
  }
101
  $this->set_jobs();
102
  $this->jobs[] = $args;
103
  $this->save_jobs();
104
+
105
+ $this->logger->add( 'Job added. Total number of jobs: ' . count( $this->jobs ) );
106
  }
107
 
108
  /**
133
  $this->save_jobs();
134
  }
135
 
136
+ /**
137
+ * Setup our logger.
138
+ *
139
+ * @since 1.13.11
140
+ */
141
+ private function init_logger() {
142
+ if ( is_null( $this->logger ) ) {
143
+ $this->logger = new Boldgrid_Backup_Admin_Log( $this->core );
144
+ $this->logger->init( 'jobs.log' );
145
+ }
146
+ }
147
+
148
  /**
149
  * Determine if we have any jobs currently running.
150
  *
269
  wp_die();
270
  }
271
 
272
+ $this->init_logger();
273
+ $this->logger->add( 'Running the jobs queue. ' . count( $this->jobs ) . ' job(s) in the queue.' );
274
+
275
  foreach ( $this->jobs as $key => &$job ) {
276
  if ( 'pending' !== $job['status'] ) {
277
  continue;
278
  }
279
 
280
+ $this->logger->add( 'Running job: ' . $job['action'] );
281
  $job['start_time'] = time();
282
  $this->save_jobs();
283
 
284
  $status = apply_filters( $job['action'], $job['action_data'] );
285
 
286
+ $this->logger->add( 'Finished job: ' . $job['action'] );
287
  $job['end_time'] = time();
288
  $job['status'] = $status ? 'success' : 'fail';
289
  $this->save_jobs();
coverage.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1593619799">
3
- <project timestamp="1593619799">
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">
@@ -2234,8 +2234,8 @@
2234
  <line num="145" type="stmt" count="5"/>
2235
  <line num="146" type="stmt" count="5"/>
2236
  <line num="148" type="stmt" count="5"/>
2237
- <line num="150" type="stmt" count="2"/>
2238
- <line num="152" type="stmt" count="2"/>
2239
  <line num="154" type="stmt" count="0"/>
2240
  <line num="158" type="stmt" count="0"/>
2241
  <line num="159" type="stmt" count="0"/>
@@ -5296,111 +5296,125 @@
5296
  </file>
5297
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-jobs.php">
5298
  <class name="Boldgrid_Backup_Admin_Jobs" namespace="global" fullPackage="Boldgrid.Backup.Admin">
5299
- <metrics complexity="28" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="93" coveredstatements="2" elements="102" coveredelements="3"/>
5300
  </class>
5301
- <line num="68" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
5302
- <line num="69" type="stmt" count="20"/>
5303
- <line num="70" type="stmt" count="20"/>
5304
- <line num="80" type="method" name="add" visibility="public" complexity="2" crap="6" count="0"/>
5305
- <line num="81" type="stmt" count="0"/>
5306
- <line num="82" type="stmt" count="0"/>
5307
- <line num="85" type="stmt" count="0"/>
5308
- <line num="87" type="stmt" count="0"/>
5309
- <line num="88" type="stmt" count="0"/>
5310
- <line num="89" type="stmt" count="0"/>
5311
- <line num="90" type="stmt" count="0"/>
5312
- <line num="102" type="method" name="delete_all_prior" visibility="public" complexity="4" crap="20" count="0"/>
5313
- <line num="104" type="stmt" count="0"/>
5314
  <line num="105" type="stmt" count="0"/>
5315
- <line num="108" type="stmt" count="0"/>
5316
- <line num="110" type="stmt" count="0"/>
5317
- <line num="111" type="stmt" count="0"/>
5318
- <line num="112" type="stmt" count="0"/>
5319
- <line num="113" type="stmt" count="0"/>
5320
- <line num="114" type="stmt" count="0"/>
5321
- <line num="116" type="stmt" count="0"/>
5322
- <line num="117" type="stmt" count="0"/>
5323
- <line num="118" type="stmt" count="0"/>
5324
- <line num="127" type="method" name="is_running" visibility="public" complexity="3" crap="12" count="0"/>
5325
  <line num="128" type="stmt" count="0"/>
 
5326
  <line num="130" type="stmt" count="0"/>
5327
- <line num="131" type="stmt" count="0"/>
5328
  <line num="132" type="stmt" count="0"/>
 
5329
  <line num="134" type="stmt" count="0"/>
5330
- <line num="136" type="stmt" count="0"/>
5331
- <line num="150" type="method" name="post_archive_files" visibility="public" complexity="3" crap="12" count="0"/>
 
 
 
 
 
5332
  <line num="156" type="stmt" count="0"/>
5333
- <line num="157" type="stmt" count="0"/>
 
5334
  <line num="160" type="stmt" count="0"/>
5335
- <line num="161" type="stmt" count="0"/>
5336
- <line num="165" type="stmt" count="0"/>
5337
- <line num="166" type="stmt" count="0"/>
5338
- <line num="167" type="stmt" count="0"/>
5339
- <line num="168" type="stmt" count="0"/>
5340
- <line num="169" type="stmt" count="0"/>
5341
- <line num="171" type="stmt" count="0"/>
5342
- <line num="172" type="stmt" count="0"/>
5343
- <line num="181" type="method" name="post_jobs_email" visibility="public" complexity="4" crap="20" count="0"/>
5344
- <line num="182" type="stmt" count="0"/>
5345
  <line num="184" type="stmt" count="0"/>
5346
- <line num="186" type="stmt" count="0"/>
5347
  <line num="188" type="stmt" count="0"/>
5348
- <line num="190" type="stmt" count="0"/>
5349
- <line num="192" type="stmt" count="0"/>
5350
  <line num="194" type="stmt" count="0"/>
5351
  <line num="195" type="stmt" count="0"/>
5352
  <line num="196" type="stmt" count="0"/>
 
5353
  <line num="199" type="stmt" count="0"/>
5354
  <line num="200" type="stmt" count="0"/>
5355
- <line num="201" type="stmt" count="0"/>
5356
- <line num="202" type="stmt" count="0"/>
5357
- <line num="203" type="stmt" count="0"/>
5358
- <line num="204" type="stmt" count="0"/>
5359
- <line num="205" type="stmt" count="0"/>
5360
- <line num="206" type="stmt" count="0"/>
5361
- <line num="207" type="stmt" count="0"/>
5362
- <line num="208" type="stmt" count="0"/>
5363
- <line num="209" type="stmt" count="0"/>
5364
- <line num="211" type="stmt" count="0"/>
5365
  <line num="212" type="stmt" count="0"/>
5366
  <line num="214" type="stmt" count="0"/>
5367
- <line num="215" type="stmt" count="0"/>
5368
- <line num="217" type="stmt" count="0"/>
5369
- <line num="219" type="stmt" count="0"/>
5370
  <line num="220" type="stmt" count="0"/>
5371
- <line num="221" type="stmt" count="0"/>
5372
  <line num="223" type="stmt" count="0"/>
5373
- <line num="225" type="stmt" count="0"/>
5374
- <line num="236" type="method" name="run" visibility="public" complexity="8" crap="72" count="0"/>
 
 
 
 
 
 
 
 
 
5375
  <line num="237" type="stmt" count="0"/>
 
5376
  <line num="240" type="stmt" count="0"/>
5377
- <line num="241" type="stmt" count="0"/>
5378
  <line num="242" type="stmt" count="0"/>
5379
- <line num="244" type="stmt" count="0"/>
5380
  <line num="245" type="stmt" count="0"/>
5381
- <line num="246" type="stmt" count="0"/>
 
5382
  <line num="249" type="stmt" count="0"/>
5383
- <line num="250" type="stmt" count="0"/>
5384
- <line num="252" type="stmt" count="0"/>
5385
- <line num="254" type="stmt" count="0"/>
5386
- <line num="255" type="stmt" count="0"/>
5387
- <line num="256" type="stmt" count="0"/>
5388
- <line num="258" type="stmt" count="0"/>
5389
- <line num="259" type="stmt" count="0"/>
5390
- <line num="261" type="stmt" count="0"/>
5391
- <line num="262" type="stmt" count="0"/>
5392
- <line num="263" type="stmt" count="0"/>
5393
  <line num="265" type="stmt" count="0"/>
5394
- <line num="266" type="stmt" count="0"/>
5395
- <line num="273" type="method" name="save_jobs" visibility="public" complexity="1" crap="2" count="0"/>
5396
- <line num="274" type="stmt" count="0"/>
 
 
5397
  <line num="275" type="stmt" count="0"/>
5398
- <line num="282" type="method" name="set_jobs" visibility="public" complexity="2" crap="6" count="0"/>
5399
- <line num="283" type="stmt" count="0"/>
 
 
 
5400
  <line num="284" type="stmt" count="0"/>
 
5401
  <line num="287" type="stmt" count="0"/>
5402
  <line num="288" type="stmt" count="0"/>
5403
- <metrics loc="289" ncloc="163" classes="1" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="93" coveredstatements="2" elements="102" coveredelements="3"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5404
  </file>
5405
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log-page.php">
5406
  <class name="Boldgrid_Backup_Admin_Log_Page" namespace="global" fullPackage="Boldgrid.Backup.Admin.Log">
@@ -75149,7 +75163,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="ComposerStaticInitc0279d156a313ee697e0e0934d15e1d9" 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 +75255,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="ComposerAutoloaderInitc0279d156a313ee697e0e0934d15e1d9" 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 +94474,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="189393" ncloc="115444" classes="854" methods="3512" coveredmethods="274" conditionals="0" coveredconditionals="0" statements="85141" coveredstatements="3997" elements="88653" coveredelements="4271"/>
94464
  </project>
94465
  </coverage>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1593626596">
3
+ <project timestamp="1593626596">
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">
2234
  <line num="145" type="stmt" count="5"/>
2235
  <line num="146" type="stmt" count="5"/>
2236
  <line num="148" type="stmt" count="5"/>
2237
+ <line num="150" type="stmt" count="1"/>
2238
+ <line num="152" type="stmt" count="1"/>
2239
  <line num="154" type="stmt" count="0"/>
2240
  <line num="158" type="stmt" count="0"/>
2241
  <line num="159" type="stmt" count="0"/>
5296
  </file>
5297
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-jobs.php">
5298
  <class name="Boldgrid_Backup_Admin_Jobs" namespace="global" fullPackage="Boldgrid.Backup.Admin">
5299
+ <metrics complexity="31" methods="10" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="106" coveredstatements="2" elements="116" coveredelements="3"/>
5300
  </class>
5301
+ <line num="77" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
5302
+ <line num="78" type="stmt" count="20"/>
5303
+ <line num="79" type="stmt" count="20"/>
5304
+ <line num="89" type="method" name="add" visibility="public" complexity="3" crap="12" count="0"/>
5305
+ <line num="91" type="stmt" count="0"/>
5306
+ <line num="92" type="stmt" count="0"/>
5307
+ <line num="93" type="stmt" count="0"/>
5308
+ <line num="95" type="stmt" count="0"/>
5309
+ <line num="96" type="stmt" count="0"/>
5310
+ <line num="99" type="stmt" count="0"/>
5311
+ <line num="101" type="stmt" count="0"/>
5312
+ <line num="102" type="stmt" count="0"/>
5313
+ <line num="103" type="stmt" count="0"/>
5314
  <line num="105" type="stmt" count="0"/>
5315
+ <line num="106" type="stmt" count="0"/>
5316
+ <line num="118" type="method" name="delete_all_prior" visibility="public" complexity="4" crap="20" count="0"/>
5317
+ <line num="120" type="stmt" count="0"/>
5318
+ <line num="121" type="stmt" count="0"/>
5319
+ <line num="124" type="stmt" count="0"/>
5320
+ <line num="126" type="stmt" count="0"/>
5321
+ <line num="127" type="stmt" count="0"/>
 
 
 
5322
  <line num="128" type="stmt" count="0"/>
5323
+ <line num="129" type="stmt" count="0"/>
5324
  <line num="130" type="stmt" count="0"/>
 
5325
  <line num="132" type="stmt" count="0"/>
5326
+ <line num="133" type="stmt" count="0"/>
5327
  <line num="134" type="stmt" count="0"/>
5328
+ <line num="141" type="method" name="init_logger" visibility="private" complexity="2" crap="6" count="0"/>
5329
+ <line num="142" type="stmt" count="0"/>
5330
+ <line num="143" type="stmt" count="0"/>
5331
+ <line num="144" type="stmt" count="0"/>
5332
+ <line num="145" type="stmt" count="0"/>
5333
+ <line num="146" type="stmt" count="0"/>
5334
+ <line num="155" type="method" name="is_running" visibility="public" complexity="3" crap="12" count="0"/>
5335
  <line num="156" type="stmt" count="0"/>
5336
+ <line num="158" type="stmt" count="0"/>
5337
+ <line num="159" type="stmt" count="0"/>
5338
  <line num="160" type="stmt" count="0"/>
5339
+ <line num="162" type="stmt" count="0"/>
5340
+ <line num="164" type="stmt" count="0"/>
5341
+ <line num="178" type="method" name="post_archive_files" visibility="public" complexity="3" crap="12" count="0"/>
 
 
 
 
 
 
 
5342
  <line num="184" type="stmt" count="0"/>
5343
+ <line num="185" type="stmt" count="0"/>
5344
  <line num="188" type="stmt" count="0"/>
5345
+ <line num="189" type="stmt" count="0"/>
5346
+ <line num="193" type="stmt" count="0"/>
5347
  <line num="194" type="stmt" count="0"/>
5348
  <line num="195" type="stmt" count="0"/>
5349
  <line num="196" type="stmt" count="0"/>
5350
+ <line num="197" type="stmt" count="0"/>
5351
  <line num="199" type="stmt" count="0"/>
5352
  <line num="200" type="stmt" count="0"/>
5353
+ <line num="209" type="method" name="post_jobs_email" visibility="public" complexity="4" crap="20" count="0"/>
5354
+ <line num="210" type="stmt" count="0"/>
 
 
 
 
 
 
 
 
5355
  <line num="212" type="stmt" count="0"/>
5356
  <line num="214" type="stmt" count="0"/>
5357
+ <line num="216" type="stmt" count="0"/>
5358
+ <line num="218" type="stmt" count="0"/>
 
5359
  <line num="220" type="stmt" count="0"/>
5360
+ <line num="222" type="stmt" count="0"/>
5361
  <line num="223" type="stmt" count="0"/>
5362
+ <line num="224" type="stmt" count="0"/>
5363
+ <line num="227" type="stmt" count="0"/>
5364
+ <line num="228" type="stmt" count="0"/>
5365
+ <line num="229" type="stmt" count="0"/>
5366
+ <line num="230" type="stmt" count="0"/>
5367
+ <line num="231" type="stmt" count="0"/>
5368
+ <line num="232" type="stmt" count="0"/>
5369
+ <line num="233" type="stmt" count="0"/>
5370
+ <line num="234" type="stmt" count="0"/>
5371
+ <line num="235" type="stmt" count="0"/>
5372
+ <line num="236" type="stmt" count="0"/>
5373
  <line num="237" type="stmt" count="0"/>
5374
+ <line num="239" type="stmt" count="0"/>
5375
  <line num="240" type="stmt" count="0"/>
 
5376
  <line num="242" type="stmt" count="0"/>
5377
+ <line num="243" type="stmt" count="0"/>
5378
  <line num="245" type="stmt" count="0"/>
5379
+ <line num="247" type="stmt" count="0"/>
5380
+ <line num="248" type="stmt" count="0"/>
5381
  <line num="249" type="stmt" count="0"/>
5382
+ <line num="251" type="stmt" count="0"/>
5383
+ <line num="253" type="stmt" count="0"/>
5384
+ <line num="264" type="method" name="run" visibility="public" complexity="8" crap="72" count="0"/>
 
 
 
 
 
 
 
5385
  <line num="265" type="stmt" count="0"/>
5386
+ <line num="268" type="stmt" count="0"/>
5387
+ <line num="269" type="stmt" count="0"/>
5388
+ <line num="270" type="stmt" count="0"/>
5389
+ <line num="272" type="stmt" count="0"/>
5390
+ <line num="273" type="stmt" count="0"/>
5391
  <line num="275" type="stmt" count="0"/>
5392
+ <line num="276" type="stmt" count="0"/>
5393
+ <line num="277" type="stmt" count="0"/>
5394
+ <line num="280" type="stmt" count="0"/>
5395
+ <line num="281" type="stmt" count="0"/>
5396
+ <line num="282" type="stmt" count="0"/>
5397
  <line num="284" type="stmt" count="0"/>
5398
+ <line num="286" type="stmt" count="0"/>
5399
  <line num="287" type="stmt" count="0"/>
5400
  <line num="288" type="stmt" count="0"/>
5401
+ <line num="289" type="stmt" count="0"/>
5402
+ <line num="291" type="stmt" count="0"/>
5403
+ <line num="292" type="stmt" count="0"/>
5404
+ <line num="294" type="stmt" count="0"/>
5405
+ <line num="295" type="stmt" count="0"/>
5406
+ <line num="296" type="stmt" count="0"/>
5407
+ <line num="298" type="stmt" count="0"/>
5408
+ <line num="299" type="stmt" count="0"/>
5409
+ <line num="306" type="method" name="save_jobs" visibility="public" complexity="1" crap="2" count="0"/>
5410
+ <line num="307" type="stmt" count="0"/>
5411
+ <line num="308" type="stmt" count="0"/>
5412
+ <line num="315" type="method" name="set_jobs" visibility="public" complexity="2" crap="6" count="0"/>
5413
+ <line num="316" type="stmt" count="0"/>
5414
+ <line num="317" type="stmt" count="0"/>
5415
+ <line num="320" type="stmt" count="0"/>
5416
+ <line num="321" type="stmt" count="0"/>
5417
+ <metrics loc="322" ncloc="182" classes="1" methods="10" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="106" coveredstatements="2" elements="116" coveredelements="3"/>
5418
  </file>
5419
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log-page.php">
5420
  <class name="Boldgrid_Backup_Admin_Log_Page" namespace="global" fullPackage="Boldgrid.Backup.Admin.Log">
75163
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
75164
  </file>
75165
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
75166
+ <class name="ComposerStaticInit269441f548865f9f4144e1f5038f061b" namespace="Composer\Autoload">
75167
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
75168
  </class>
75169
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
75255
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
75256
  </file>
75257
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
75258
+ <class name="ComposerAutoloaderInit269441f548865f9f4144e1f5038f061b" namespace="global">
75259
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
75260
  </class>
75261
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
94474
  <line num="16" type="stmt" count="0"/>
94475
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
94476
  </file>
94477
+ <metrics files="944" loc="189426" ncloc="115463" classes="854" methods="3513" coveredmethods="274" conditionals="0" coveredconditionals="0" statements="85154" coveredstatements="3997" elements="88667" coveredelements="4271"/>
94478
  </project>
94479
  </coverage>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitc0279d156a313ee697e0e0934d15e1d9::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit269441f548865f9f4144e1f5038f061b::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitc0279d156a313ee697e0e0934d15e1d9
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitc0279d156a313ee697e0e0934d15e1d9
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitc0279d156a313ee697e0e0934d15e1d9', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInitc0279d156a313ee697e0e0934d15e1d9', '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\ComposerStaticInitc0279d156a313ee697e0e0934d15e1d9::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInitc0279d156a313ee697e0e0934d15e1d9
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInitc0279d156a313ee697e0e0934d15e1d9::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequirec0279d156a313ee697e0e0934d15e1d9($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequirec0279d156a313ee697e0e0934d15e1d9($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 ComposerAutoloaderInit269441f548865f9f4144e1f5038f061b
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit269441f548865f9f4144e1f5038f061b', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit269441f548865f9f4144e1f5038f061b', '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\ComposerStaticInit269441f548865f9f4144e1f5038f061b::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\ComposerStaticInit269441f548865f9f4144e1f5038f061b::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequire269441f548865f9f4144e1f5038f061b($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequire269441f548865f9f4144e1f5038f061b($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 ComposerStaticInitc0279d156a313ee697e0e0934d15e1d9
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
@@ -91,9 +91,9 @@ class ComposerStaticInitc0279d156a313ee697e0e0934d15e1d9
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
- $loader->prefixLengthsPsr4 = ComposerStaticInitc0279d156a313ee697e0e0934d15e1d9::$prefixLengthsPsr4;
95
- $loader->prefixDirsPsr4 = ComposerStaticInitc0279d156a313ee697e0e0934d15e1d9::$prefixDirsPsr4;
96
- $loader->classMap = ComposerStaticInitc0279d156a313ee697e0e0934d15e1d9::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit269441f548865f9f4144e1f5038f061b
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 = ComposerStaticInit269441f548865f9f4144e1f5038f061b::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInit269441f548865f9f4144e1f5038f061b::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInit269441f548865f9f4144e1f5038f061b::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }