Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version 1.9.2

Version Description

Release date: Apr 16th, 2019

  • Bug fix: Prevent duplicate emails when backups are made before an auto update.
Download this release

Release Info

Developer boldgrid
Plugin Icon 128x128 Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
Version 1.9.2
Comparing to
See all releases

Code changes from version 1.9.1 to 1.9.2

admin/class-boldgrid-backup-admin-core.php CHANGED
@@ -82,8 +82,7 @@ class Boldgrid_Backup_Admin_Core {
82
  /**
83
  * Whether or not we're doing cron.
84
  *
85
- * When we're generating a backup, both via cron and wpcron, doing_cron is
86
- * true.
87
  *
88
  * @since 1.5.1
89
  * @var bool
@@ -503,7 +502,8 @@ class Boldgrid_Backup_Admin_Core {
503
  global $wp_filesystem;
504
  global $pagenow;
505
 
506
- $this->doing_cron = ( defined( 'DOING_CRON' ) && DOING_CRON ) || isset( $_GET['doing_wp_cron'] ); // phpcs:ignore WordPress.CSRF.NonceVerification.NoNonceVerification
 
507
  $this->doing_ajax = is_admin() && defined( 'DOING_AJAX' ) && DOING_AJAX;
508
  $this->doing_wp_cron = ! empty( $_SERVER['SCRIPT_FILENAME'] ) &&
509
  trailingslashit( ABSPATH ) . 'wp-cron.php' === $_SERVER['SCRIPT_FILENAME'];
@@ -1311,6 +1311,12 @@ class Boldgrid_Backup_Admin_Core {
1311
  public function archive_files( $save = false, $dryrun = false ) {
1312
  $this->pre_auto_update = 'pre_auto_update' === current_filter();
1313
 
 
 
 
 
 
 
1314
  $this->is_scheduled_backup = $this->doing_cron && ! $this->pre_auto_update;
1315
 
1316
  Boldgrid_Backup_Admin_In_Progress_Data::set_args(
@@ -2429,6 +2435,23 @@ class Boldgrid_Backup_Admin_Core {
2429
  include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-test.php';
2430
  }
2431
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2432
  /**
2433
  * Set lang strings.
2434
  *
82
  /**
83
  * Whether or not we're doing cron.
84
  *
85
+ * Please see $this->set_doing_cron() for further clarification.
 
86
  *
87
  * @since 1.5.1
88
  * @var bool
502
  global $wp_filesystem;
503
  global $pagenow;
504
 
505
+ $this->set_doing_cron();
506
+
507
  $this->doing_ajax = is_admin() && defined( 'DOING_AJAX' ) && DOING_AJAX;
508
  $this->doing_wp_cron = ! empty( $_SERVER['SCRIPT_FILENAME'] ) &&
509
  trailingslashit( ABSPATH ) . 'wp-cron.php' === $_SERVER['SCRIPT_FILENAME'];
1311
  public function archive_files( $save = false, $dryrun = false ) {
1312
  $this->pre_auto_update = 'pre_auto_update' === current_filter();
1313
 
1314
+ /*
1315
+ * A scheduled backup is a backup triggered by the user's BoldGrid Backup Settings,
1316
+ * specifically BoldGrid Backup > Settings > Backup Schedule. If the user clicked "Backup
1317
+ * Site Now" or this is a backup before an auto update occurs, this is not a scheduled
1318
+ * backup.
1319
+ */
1320
  $this->is_scheduled_backup = $this->doing_cron && ! $this->pre_auto_update;
1321
 
1322
  Boldgrid_Backup_Admin_In_Progress_Data::set_args(
2435
  include BOLDGRID_BACKUP_PATH . '/admin/partials/boldgrid-backup-admin-test.php';
2436
  }
2437
 
2438
+ /**
2439
+ * Set doing_cron.
2440
+ *
2441
+ * $this->doing_cron specifies whether or not we're doing cron.
2442
+ *
2443
+ * When we're generating a backup, both via cron and wpcron, doing_cron is true.
2444
+ *
2445
+ * $_GET['doing_wp_cron'] is the timestamp the cron has been triggered. Please see:
2446
+ * @link https://github.com/WordPress/WordPress/blob/5.1.1/wp-cron.php#L84-L96
2447
+ * @link https://github.com/WordPress/WordPress/blob/5.1.1/wp-includes/cron.php#L635-L639
2448
+ *
2449
+ * @since 1.9.2
2450
+ */
2451
+ public function set_doing_cron() {
2452
+ $this->doing_cron = ( defined( 'DOING_CRON' ) && DOING_CRON ) || isset( $_GET['doing_wp_cron'] ); // phpcs:ignore WordPress.CSRF.NonceVerification.NoNonceVerification
2453
+ }
2454
+
2455
  /**
2456
  * Set lang strings.
2457
  *
admin/class-boldgrid-backup-admin-jobs.php CHANGED
@@ -150,10 +150,10 @@ class Boldgrid_Backup_Admin_Jobs {
150
  public function post_archive_files( $info ) {
151
  /*
152
  * We only want to add this to the jobs queue if we're in the middle of
153
- * an automatic backup. If the user simply clicked on "Backup site now",
154
- * we don't want to email the user, we'll already be doing that.
155
  */
156
- if ( ! $this->core->doing_cron ) {
157
  return;
158
  }
159
 
150
  public function post_archive_files( $info ) {
151
  /*
152
  * We only want to add this to the jobs queue if we're in the middle of
153
+ * an automatic backup (one that has been scheduled). If the user simply clicked on
154
+ * "Backup site now", we don't want to email the user, we'll already be doing that.
155
  */
156
+ if ( ! $this->core->is_scheduled_backup ) {
157
  return;
158
  }
159
 
boldgrid-backup.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: BoldGrid Backup
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: BoldGrid Backup provides WordPress backup and restoration with update protection.
19
- * Version: 1.9.1
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
16
  * Plugin Name: BoldGrid Backup
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: BoldGrid Backup provides WordPress backup and restoration with update protection.
19
+ * Version: 1.9.2
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
coverage.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1554230971">
3
- <project timestamp="1554230971">
4
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-actions.php">
5
  <class name="Boldgrid_Backup_Admin_Archive_Actions" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
6
  <metrics complexity="15" methods="7" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="110" coveredstatements="2" elements="117" coveredelements="3"/>
@@ -1752,13 +1752,13 @@
1752
  </file>
1753
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
1754
  <class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
1755
- <metrics complexity="219" methods="27" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="914" coveredstatements="99" elements="941" coveredelements="101"/>
1756
  </class>
1757
- <line num="501" type="method" name="__construct" visibility="public" complexity="9" crap="9.06" count="12"/>
 
1758
  <line num="502" type="stmt" count="12"/>
1759
  <line num="503" type="stmt" count="12"/>
1760
- <line num="504" type="stmt" count="12"/>
1761
- <line num="506" type="stmt" count="12"/>
1762
  <line num="507" type="stmt" count="12"/>
1763
  <line num="508" type="stmt" count="12"/>
1764
  <line num="509" type="stmt" count="12"/>
@@ -2110,599 +2110,602 @@
2110
  <line num="1296" type="stmt" count="0"/>
2111
  <line num="1311" type="method" name="archive_files" visibility="public" complexity="45" crap="2070" count="0"/>
2112
  <line num="1312" type="stmt" count="0"/>
2113
- <line num="1314" type="stmt" count="0"/>
2114
- <line num="1316" type="stmt" count="0"/>
2115
- <line num="1318" type="stmt" count="0"/>
2116
  <line num="1320" type="stmt" count="0"/>
2117
- <line num="1327" type="stmt" count="0"/>
2118
- <line num="1329" type="stmt" count="0"/>
2119
- <line num="1330" type="stmt" count="0"/>
2120
- <line num="1331" type="stmt" count="0"/>
2121
- <line num="1342" type="stmt" count="0"/>
2122
- <line num="1343" type="stmt" count="0"/>
2123
- <line num="1344" type="stmt" count="0"/>
2124
- <line num="1346" type="stmt" count="0"/>
2125
- <line num="1347" type="stmt" count="0"/>
2126
- <line num="1351" type="stmt" count="0"/>
 
2127
  <line num="1353" type="stmt" count="0"/>
2128
- <line num="1355" type="stmt" count="0"/>
2129
- <line num="1356" type="stmt" count="0"/>
2130
  <line num="1359" type="stmt" count="0"/>
2131
- <line num="1360" type="stmt" count="0"/>
2132
- <line num="1364" type="stmt" count="0"/>
2133
- <line num="1373" type="stmt" count="0"/>
2134
- <line num="1374" type="stmt" count="0"/>
2135
- <line num="1375" type="stmt" count="0"/>
2136
- <line num="1376" type="stmt" count="0"/>
2137
- <line num="1377" type="stmt" count="0"/>
2138
- <line num="1378" type="stmt" count="0"/>
2139
  <line num="1379" type="stmt" count="0"/>
2140
  <line num="1380" type="stmt" count="0"/>
2141
  <line num="1381" type="stmt" count="0"/>
2142
  <line num="1382" type="stmt" count="0"/>
2143
  <line num="1383" type="stmt" count="0"/>
 
2144
  <line num="1385" type="stmt" count="0"/>
2145
  <line num="1386" type="stmt" count="0"/>
2146
  <line num="1387" type="stmt" count="0"/>
2147
  <line num="1388" type="stmt" count="0"/>
2148
- <line num="1390" type="stmt" count="0"/>
2149
  <line num="1391" type="stmt" count="0"/>
2150
  <line num="1392" type="stmt" count="0"/>
2151
  <line num="1393" type="stmt" count="0"/>
2152
  <line num="1394" type="stmt" count="0"/>
2153
- <line num="1395" type="stmt" count="0"/>
2154
  <line num="1396" type="stmt" count="0"/>
2155
  <line num="1397" type="stmt" count="0"/>
2156
  <line num="1398" type="stmt" count="0"/>
2157
  <line num="1399" type="stmt" count="0"/>
2158
  <line num="1400" type="stmt" count="0"/>
2159
  <line num="1401" type="stmt" count="0"/>
 
 
2160
  <line num="1404" type="stmt" count="0"/>
2161
  <line num="1405" type="stmt" count="0"/>
2162
  <line num="1406" type="stmt" count="0"/>
2163
  <line num="1407" type="stmt" count="0"/>
2164
- <line num="1408" type="stmt" count="0"/>
2165
- <line num="1409" type="stmt" count="0"/>
2166
  <line num="1410" type="stmt" count="0"/>
2167
  <line num="1411" type="stmt" count="0"/>
2168
  <line num="1412" type="stmt" count="0"/>
2169
  <line num="1413" type="stmt" count="0"/>
2170
  <line num="1414" type="stmt" count="0"/>
 
 
2171
  <line num="1417" type="stmt" count="0"/>
 
 
2172
  <line num="1420" type="stmt" count="0"/>
2173
- <line num="1422" type="stmt" count="0"/>
2174
  <line num="1423" type="stmt" count="0"/>
2175
- <line num="1427" type="stmt" count="0"/>
2176
- <line num="1430" type="stmt" count="0"/>
 
2177
  <line num="1433" type="stmt" count="0"/>
2178
  <line num="1436" type="stmt" count="0"/>
2179
- <line num="1437" type="stmt" count="0"/>
2180
  <line num="1439" type="stmt" count="0"/>
2181
- <line num="1441" type="stmt" count="0"/>
2182
  <line num="1442" type="stmt" count="0"/>
2183
- <line num="1444" type="stmt" count="0"/>
 
2184
  <line num="1447" type="stmt" count="0"/>
 
2185
  <line num="1450" type="stmt" count="0"/>
2186
  <line num="1453" type="stmt" count="0"/>
2187
  <line num="1456" type="stmt" count="0"/>
2188
- <line num="1457" type="stmt" count="0"/>
2189
  <line num="1459" type="stmt" count="0"/>
2190
- <line num="1460" type="stmt" count="0"/>
2191
  <line num="1462" type="stmt" count="0"/>
 
 
2192
  <line num="1466" type="stmt" count="0"/>
2193
- <line num="1469" type="stmt" count="0"/>
2194
- <line num="1470" type="stmt" count="0"/>
2195
- <line num="1474" type="stmt" count="0"/>
2196
  <line num="1476" type="stmt" count="0"/>
2197
- <line num="1477" type="stmt" count="0"/>
2198
- <line num="1478" type="stmt" count="0"/>
2199
- <line num="1479" type="stmt" count="0"/>
2200
- <line num="1481" type="stmt" count="0"/>
2201
  <line num="1482" type="stmt" count="0"/>
 
2202
  <line num="1484" type="stmt" count="0"/>
2203
- <line num="1493" type="stmt" count="0"/>
2204
- <line num="1495" type="stmt" count="0"/>
2205
- <line num="1497" type="stmt" count="0"/>
 
2206
  <line num="1499" type="stmt" count="0"/>
 
 
2207
  <line num="1505" type="stmt" count="0"/>
2208
- <line num="1506" type="stmt" count="0"/>
2209
- <line num="1507" type="stmt" count="0"/>
2210
- <line num="1508" type="stmt" count="0"/>
2211
- <line num="1509" type="stmt" count="0"/>
2212
- <line num="1510" type="stmt" count="0"/>
2213
  <line num="1511" type="stmt" count="0"/>
2214
  <line num="1512" type="stmt" count="0"/>
2215
  <line num="1513" type="stmt" count="0"/>
2216
  <line num="1514" type="stmt" count="0"/>
 
2217
  <line num="1516" type="stmt" count="0"/>
2218
  <line num="1517" type="stmt" count="0"/>
2219
  <line num="1518" type="stmt" count="0"/>
 
2220
  <line num="1520" type="stmt" count="0"/>
2221
- <line num="1521" type="stmt" count="0"/>
2222
  <line num="1522" type="stmt" count="0"/>
 
2223
  <line num="1524" type="stmt" count="0"/>
2224
- <line num="1525" type="stmt" count="0"/>
2225
  <line num="1526" type="stmt" count="0"/>
 
2226
  <line num="1528" type="stmt" count="0"/>
2227
- <line num="1529" type="stmt" count="0"/>
2228
  <line num="1530" type="stmt" count="0"/>
 
2229
  <line num="1532" type="stmt" count="0"/>
2230
- <line num="1533" type="stmt" count="0"/>
2231
  <line num="1534" type="stmt" count="0"/>
 
2232
  <line num="1536" type="stmt" count="0"/>
2233
- <line num="1537" type="stmt" count="0"/>
2234
  <line num="1538" type="stmt" count="0"/>
2235
  <line num="1539" type="stmt" count="0"/>
2236
- <line num="1541" type="stmt" count="0"/>
2237
  <line num="1542" type="stmt" count="0"/>
 
2238
  <line num="1544" type="stmt" count="0"/>
2239
- <line num="1546" type="stmt" count="0"/>
 
2240
  <line num="1548" type="stmt" count="0"/>
2241
- <line num="1549" type="stmt" count="0"/>
2242
  <line num="1550" type="stmt" count="0"/>
2243
  <line num="1552" type="stmt" count="0"/>
2244
- <line num="1553" type="stmt" count="0"/>
 
2245
  <line num="1556" type="stmt" count="0"/>
2246
  <line num="1558" type="stmt" count="0"/>
2247
- <line num="1560" type="stmt" count="0"/>
2248
- <line num="1563" type="stmt" count="0"/>
 
2249
  <line num="1566" type="stmt" count="0"/>
2250
- <line num="1567" type="stmt" count="0"/>
2251
- <line num="1570" type="stmt" count="0"/>
2252
  <line num="1573" type="stmt" count="0"/>
2253
- <line num="1574" type="stmt" count="0"/>
2254
- <line num="1575" type="stmt" count="0"/>
2255
- <line num="1604" type="stmt" count="0"/>
2256
- <line num="1615" type="stmt" count="0"/>
2257
- <line num="1616" type="stmt" count="0"/>
2258
- <line num="1617" type="stmt" count="0"/>
2259
- <line num="1618" type="stmt" count="0"/>
2260
- <line num="1619" type="stmt" count="0"/>
2261
  <line num="1622" type="stmt" count="0"/>
 
2262
  <line num="1624" type="stmt" count="0"/>
2263
- <line num="1626" type="stmt" count="0"/>
2264
- <line num="1629" type="stmt" count="0"/>
2265
- <line num="1631" type="stmt" count="0"/>
2266
  <line num="1632" type="stmt" count="0"/>
2267
  <line num="1635" type="stmt" count="0"/>
2268
- <line num="1636" type="stmt" count="0"/>
2269
  <line num="1637" type="stmt" count="0"/>
2270
- <line num="1639" type="stmt" count="0"/>
2271
  <line num="1641" type="stmt" count="0"/>
 
2272
  <line num="1643" type="stmt" count="0"/>
2273
  <line num="1645" type="stmt" count="0"/>
2274
- <line num="1646" type="stmt" count="0"/>
2275
  <line num="1647" type="stmt" count="0"/>
2276
- <line num="1650" type="stmt" count="0"/>
2277
- <line num="1671" type="method" name="get_archive_list" visibility="public" complexity="11" crap="132" count="0"/>
2278
- <line num="1673" type="stmt" count="0"/>
2279
- <line num="1676" type="stmt" count="0"/>
 
 
2280
  <line num="1679" type="stmt" count="0"/>
2281
- <line num="1680" type="stmt" count="0"/>
2282
- <line num="1681" type="stmt" count="0"/>
2283
- <line num="1684" type="stmt" count="0"/>
2284
  <line num="1685" type="stmt" count="0"/>
2285
- <line num="1689" type="stmt" count="0"/>
2286
- <line num="1692" type="stmt" count="0"/>
2287
- <line num="1693" type="stmt" count="0"/>
2288
- <line num="1697" type="stmt" count="0"/>
 
2289
  <line num="1698" type="stmt" count="0"/>
2290
- <line num="1700" type="stmt" count="0"/>
2291
- <line num="1701" type="stmt" count="0"/>
2292
  <line num="1704" type="stmt" count="0"/>
2293
- <line num="1705" type="stmt" count="0"/>
2294
- <line num="1708" type="stmt" count="0"/>
2295
  <line num="1710" type="stmt" count="0"/>
2296
- <line num="1713" type="stmt" count="0"/>
 
2297
  <line num="1716" type="stmt" count="0"/>
2298
- <line num="1717" type="stmt" count="0"/>
2299
  <line num="1719" type="stmt" count="0"/>
2300
  <line num="1722" type="stmt" count="0"/>
2301
  <line num="1723" type="stmt" count="0"/>
 
2302
  <line num="1728" type="stmt" count="0"/>
2303
  <line num="1729" type="stmt" count="0"/>
2304
- <line num="1730" type="stmt" count="0"/>
2305
- <line num="1731" type="stmt" count="0"/>
2306
- <line num="1732" type="stmt" count="0"/>
2307
- <line num="1733" type="stmt" count="0"/>
2308
  <line num="1734" type="stmt" count="0"/>
2309
  <line num="1735" type="stmt" count="0"/>
 
 
 
2310
  <line num="1739" type="stmt" count="0"/>
2311
  <line num="1740" type="stmt" count="0"/>
2312
- <line num="1742" type="stmt" count="0"/>
2313
- <line num="1743" type="stmt" count="0"/>
2314
  <line num="1746" type="stmt" count="0"/>
2315
- <line num="1757" type="method" name="delete_archive_file" visibility="public" complexity="11" crap="132" count="0"/>
2316
- <line num="1760" type="stmt" count="0"/>
2317
- <line num="1761" type="stmt" count="0"/>
2318
- <line num="1765" type="stmt" count="0"/>
2319
- <line num="1768" type="stmt" count="0"/>
 
2320
  <line num="1771" type="stmt" count="0"/>
2321
- <line num="1772" type="stmt" count="0"/>
2322
- <line num="1773" type="stmt" count="0"/>
2323
  <line num="1774" type="stmt" count="0"/>
2324
- <line num="1776" type="stmt" count="0"/>
2325
  <line num="1777" type="stmt" count="0"/>
2326
  <line num="1778" type="stmt" count="0"/>
 
2327
  <line num="1780" type="stmt" count="0"/>
2328
  <line num="1782" type="stmt" count="0"/>
 
 
2329
  <line num="1786" type="stmt" count="0"/>
2330
- <line num="1787" type="stmt" count="0"/>
2331
  <line num="1788" type="stmt" count="0"/>
2332
- <line num="1790" type="stmt" count="0"/>
2333
- <line num="1791" type="stmt" count="0"/>
2334
  <line num="1792" type="stmt" count="0"/>
 
2335
  <line num="1794" type="stmt" count="0"/>
2336
  <line num="1796" type="stmt" count="0"/>
 
 
2337
  <line num="1800" type="stmt" count="0"/>
2338
- <line num="1801" type="stmt" count="0"/>
2339
- <line num="1805" type="stmt" count="0"/>
2340
- <line num="1808" type="stmt" count="0"/>
2341
- <line num="1810" type="stmt" count="0"/>
2342
  <line num="1811" type="stmt" count="0"/>
2343
- <line num="1812" type="stmt" count="0"/>
2344
  <line num="1814" type="stmt" count="0"/>
2345
  <line num="1816" type="stmt" count="0"/>
2346
- <line num="1821" type="stmt" count="0"/>
 
 
2347
  <line num="1822" type="stmt" count="0"/>
2348
- <line num="1823" type="stmt" count="0"/>
2349
- <line num="1826" type="stmt" count="0"/>
2350
  <line num="1828" type="stmt" count="0"/>
2351
  <line num="1829" type="stmt" count="0"/>
2352
- <line num="1830" type="stmt" count="0"/>
2353
  <line num="1832" type="stmt" count="0"/>
2354
  <line num="1834" type="stmt" count="0"/>
2355
- <line num="1839" type="stmt" count="0"/>
 
 
2356
  <line num="1840" type="stmt" count="0"/>
2357
- <line num="1841" type="stmt" count="0"/>
2358
- <line num="1843" type="stmt" count="0"/>
2359
  <line num="1846" type="stmt" count="0"/>
2360
  <line num="1847" type="stmt" count="0"/>
2361
- <line num="1848" type="stmt" count="0"/>
2362
  <line num="1849" type="stmt" count="0"/>
2363
- <line num="1851" type="stmt" count="0"/>
2364
  <line num="1852" type="stmt" count="0"/>
2365
- <line num="1862" type="stmt" count="0"/>
2366
- <line num="1865" type="stmt" count="0"/>
2367
- <line num="1878" type="method" name="get_dump_file" visibility="public" complexity="9" crap="90" count="0"/>
2368
- <line num="1880" type="stmt" count="0"/>
2369
- <line num="1881" type="stmt" count="0"/>
2370
- <line num="1901" type="stmt" count="0"/>
2371
- <line num="1902" type="stmt" count="0"/>
2372
- <line num="1903" type="stmt" count="0"/>
2373
- <line num="1904" type="stmt" count="0"/>
 
 
2374
  <line num="1908" type="stmt" count="0"/>
2375
- <line num="1911" type="stmt" count="0"/>
 
2376
  <line num="1914" type="stmt" count="0"/>
2377
- <line num="1915" type="stmt" count="0"/>
2378
- <line num="1919" type="stmt" count="0"/>
2379
  <line num="1920" type="stmt" count="0"/>
2380
- <line num="1921" type="method" name="anonymous function" complexity="3" crap="12" count="0"/>
2381
- <line num="1922" type="stmt" count="0"/>
2382
- <line num="1923" type="stmt" count="0"/>
2383
  <line num="1926" type="stmt" count="0"/>
2384
- <line num="1927" type="stmt" count="0"/>
2385
- <line num="1930" type="stmt" count="0"/>
 
2386
  <line num="1932" type="stmt" count="0"/>
2387
- <line num="1939" type="stmt" count="0"/>
2388
- <line num="1940" type="stmt" count="0"/>
2389
- <line num="1941" type="stmt" count="0"/>
2390
- <line num="1942" type="stmt" count="0"/>
2391
- <line num="1944" type="stmt" count="0"/>
2392
  <line num="1947" type="stmt" count="0"/>
2393
- <line num="1960" type="method" name="restore_archive_file" visibility="public" complexity="24" crap="600" count="0"/>
2394
- <line num="1961" type="stmt" count="0"/>
2395
- <line num="1964" type="stmt" count="0"/>
2396
- <line num="1966" type="stmt" count="0"/>
2397
  <line num="1967" type="stmt" count="0"/>
2398
- <line num="1971" type="stmt" count="0"/>
 
2399
  <line num="1973" type="stmt" count="0"/>
2400
- <line num="1974" type="stmt" count="0"/>
2401
- <line num="1978" type="stmt" count="0"/>
2402
  <line num="1979" type="stmt" count="0"/>
2403
- <line num="1982" type="stmt" count="0"/>
2404
- <line num="1983" type="stmt" count="0"/>
2405
  <line num="1984" type="stmt" count="0"/>
2406
- <line num="1986" type="stmt" count="0"/>
2407
- <line num="1987" type="stmt" count="0"/>
2408
- <line num="1991" type="stmt" count="0"/>
 
2409
  <line num="1992" type="stmt" count="0"/>
2410
  <line num="1993" type="stmt" count="0"/>
2411
- <line num="1995" type="stmt" count="0"/>
2412
- <line num="1996" type="stmt" count="0"/>
2413
- <line num="2000" type="stmt" count="0"/>
 
2414
  <line num="2002" type="stmt" count="0"/>
2415
- <line num="2003" type="stmt" count="0"/>
2416
- <line num="2005" type="stmt" count="0"/>
2417
  <line num="2006" type="stmt" count="0"/>
 
2418
  <line num="2009" type="stmt" count="0"/>
2419
  <line num="2011" type="stmt" count="0"/>
2420
- <line num="2013" type="stmt" count="0"/>
2421
- <line num="2014" type="stmt" count="0"/>
2422
  <line num="2017" type="stmt" count="0"/>
2423
  <line num="2019" type="stmt" count="0"/>
2424
  <line num="2020" type="stmt" count="0"/>
2425
- <line num="2021" type="stmt" count="0"/>
2426
  <line num="2023" type="stmt" count="0"/>
2427
- <line num="2024" type="stmt" count="0"/>
 
 
2428
  <line num="2029" type="stmt" count="0"/>
2429
  <line num="2030" type="stmt" count="0"/>
2430
- <line num="2031" type="stmt" count="0"/>
2431
- <line num="2032" type="stmt" count="0"/>
2432
- <line num="2033" type="stmt" count="0"/>
2433
- <line num="2034" type="stmt" count="0"/>
2434
  <line num="2035" type="stmt" count="0"/>
2435
  <line num="2036" type="stmt" count="0"/>
 
 
2436
  <line num="2039" type="stmt" count="0"/>
 
2437
  <line num="2041" type="stmt" count="0"/>
2438
- <line num="2050" type="stmt" count="0"/>
2439
- <line num="2052" type="stmt" count="0"/>
2440
- <line num="2054" type="stmt" count="0"/>
2441
  <line num="2056" type="stmt" count="0"/>
2442
- <line num="2057" type="stmt" count="0"/>
2443
- <line num="2067" type="stmt" count="0"/>
2444
- <line num="2069" type="stmt" count="0"/>
2445
- <line num="2070" type="stmt" count="0"/>
2446
- <line num="2071" type="stmt" count="0"/>
2447
- <line num="2072" type="stmt" count="0"/>
2448
  <line num="2073" type="stmt" count="0"/>
 
2449
  <line num="2076" type="stmt" count="0"/>
2450
  <line num="2077" type="stmt" count="0"/>
2451
- <line num="2087" type="stmt" count="0"/>
2452
- <line num="2096" type="stmt" count="0"/>
2453
- <line num="2097" type="stmt" count="0"/>
2454
- <line num="2098" type="stmt" count="0"/>
2455
- <line num="2101" type="stmt" count="0"/>
2456
  <line num="2102" type="stmt" count="0"/>
2457
  <line num="2103" type="stmt" count="0"/>
2458
- <line num="2105" type="stmt" count="0"/>
2459
- <line num="2106" type="stmt" count="0"/>
2460
  <line num="2108" type="stmt" count="0"/>
2461
  <line num="2109" type="stmt" count="0"/>
2462
- <line num="2110" type="stmt" count="0"/>
2463
  <line num="2111" type="stmt" count="0"/>
 
2464
  <line num="2114" type="stmt" count="0"/>
2465
  <line num="2115" type="stmt" count="0"/>
2466
- <line num="2118" type="stmt" count="0"/>
 
2467
  <line num="2120" type="stmt" count="0"/>
2468
  <line num="2121" type="stmt" count="0"/>
2469
- <line num="2123" type="stmt" count="0"/>
2470
  <line num="2126" type="stmt" count="0"/>
 
2471
  <line num="2129" type="stmt" count="0"/>
2472
  <line num="2132" type="stmt" count="0"/>
2473
- <line num="2134" type="stmt" count="0"/>
2474
  <line num="2138" type="stmt" count="0"/>
2475
- <line num="2139" type="stmt" count="0"/>
2476
- <line num="2142" type="stmt" count="0"/>
2477
  <line num="2145" type="stmt" count="0"/>
2478
  <line num="2148" type="stmt" count="0"/>
2479
- <line num="2161" type="method" name="page_archives" visibility="public" complexity="5" crap="30" count="0"/>
2480
- <line num="2162" type="stmt" count="0"/>
2481
- <line num="2165" type="stmt" count="0"/>
2482
- <line num="2166" type="stmt" count="0"/>
2483
  <line num="2168" type="stmt" count="0"/>
2484
  <line num="2171" type="stmt" count="0"/>
 
2485
  <line num="2174" type="stmt" count="0"/>
2486
- <line num="2175" type="stmt" count="0"/>
2487
  <line num="2177" type="stmt" count="0"/>
2488
  <line num="2180" type="stmt" count="0"/>
2489
  <line num="2181" type="stmt" count="0"/>
2490
  <line num="2183" type="stmt" count="0"/>
2491
- <line num="2184" type="stmt" count="0"/>
2492
  <line num="2187" type="stmt" count="0"/>
2493
- <line num="2188" type="stmt" count="0"/>
2494
  <line num="2189" type="stmt" count="0"/>
2495
- <line num="2192" type="stmt" count="0"/>
 
 
2496
  <line num="2195" type="stmt" count="0"/>
2497
  <line num="2198" type="stmt" count="0"/>
2498
- <line num="2200" type="stmt" count="0"/>
2499
  <line num="2201" type="stmt" count="0"/>
2500
- <line num="2202" type="stmt" count="0"/>
2501
- <line num="2205" type="stmt" count="0"/>
2502
  <line num="2207" type="stmt" count="0"/>
2503
- <line num="2210" type="stmt" count="0"/>
2504
  <line num="2211" type="stmt" count="0"/>
2505
- <line num="2212" type="stmt" count="0"/>
2506
- <line num="2214" type="stmt" count="0"/>
2507
  <line num="2217" type="stmt" count="0"/>
2508
  <line num="2218" type="stmt" count="0"/>
2509
- <line num="2227" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="9" crap="90" count="0"/>
2510
- <line num="2230" type="stmt" count="0"/>
2511
- <line num="2231" type="stmt" count="0"/>
2512
- <line num="2232" type="stmt" count="0"/>
2513
- <line num="2234" type="stmt" count="0"/>
2514
- <line num="2235" type="stmt" count="0"/>
2515
  <line num="2236" type="stmt" count="0"/>
2516
- <line num="2239" type="stmt" count="0"/>
 
2517
  <line num="2240" type="stmt" count="0"/>
2518
  <line num="2241" type="stmt" count="0"/>
2519
- <line num="2243" type="stmt" count="0"/>
2520
- <line num="2244" type="stmt" count="0"/>
2521
  <line num="2245" type="stmt" count="0"/>
 
2522
  <line num="2247" type="stmt" count="0"/>
2523
  <line num="2249" type="stmt" count="0"/>
2524
  <line num="2250" type="stmt" count="0"/>
2525
  <line num="2251" type="stmt" count="0"/>
2526
  <line num="2253" type="stmt" count="0"/>
2527
- <line num="2254" type="stmt" count="0"/>
2528
  <line num="2256" type="stmt" count="0"/>
2529
- <line num="2258" type="stmt" count="0"/>
2530
  <line num="2259" type="stmt" count="0"/>
2531
  <line num="2260" type="stmt" count="0"/>
2532
- <line num="2261" type="stmt" count="0"/>
2533
- <line num="2263" type="stmt" count="0"/>
2534
  <line num="2265" type="stmt" count="0"/>
2535
  <line num="2266" type="stmt" count="0"/>
2536
  <line num="2267" type="stmt" count="0"/>
2537
- <line num="2268" type="stmt" count="0"/>
2538
- <line num="2270" type="stmt" count="0"/>
2539
  <line num="2272" type="stmt" count="0"/>
 
2540
  <line num="2274" type="stmt" count="0"/>
2541
- <line num="2286" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
2542
- <line num="2288" type="stmt" count="0"/>
2543
- <line num="2291" type="stmt" count="0"/>
2544
- <line num="2292" type="stmt" count="0"/>
2545
- <line num="2293" type="stmt" count="0"/>
2546
  <line num="2294" type="stmt" count="0"/>
2547
  <line num="2297" type="stmt" count="0"/>
2548
  <line num="2298" type="stmt" count="0"/>
2549
  <line num="2299" type="stmt" count="0"/>
2550
  <line num="2300" type="stmt" count="0"/>
2551
- <line num="2301" type="stmt" count="0"/>
 
2552
  <line num="2305" type="stmt" count="0"/>
2553
  <line num="2306" type="stmt" count="0"/>
2554
  <line num="2307" type="stmt" count="0"/>
2555
- <line num="2308" type="stmt" count="0"/>
2556
- <line num="2309" type="stmt" count="0"/>
2557
  <line num="2313" type="stmt" count="0"/>
2558
- <line num="2316" type="stmt" count="0"/>
2559
- <line num="2317" type="stmt" count="0"/>
2560
- <line num="2318" type="stmt" count="0"/>
2561
  <line num="2319" type="stmt" count="0"/>
2562
  <line num="2322" type="stmt" count="0"/>
 
 
2563
  <line num="2325" type="stmt" count="0"/>
2564
- <line num="2326" type="stmt" count="0"/>
2565
- <line num="2327" type="stmt" count="0"/>
2566
  <line num="2328" type="stmt" count="0"/>
 
2567
  <line num="2332" type="stmt" count="0"/>
2568
  <line num="2333" type="stmt" count="0"/>
2569
  <line num="2334" type="stmt" count="0"/>
2570
- <line num="2337" type="stmt" count="0"/>
2571
  <line num="2338" type="stmt" count="0"/>
2572
  <line num="2339" type="stmt" count="0"/>
2573
  <line num="2340" type="stmt" count="0"/>
2574
- <line num="2342" type="stmt" count="0"/>
2575
  <line num="2344" type="stmt" count="0"/>
 
2576
  <line num="2346" type="stmt" count="0"/>
2577
- <line num="2347" type="stmt" count="0"/>
2578
  <line num="2348" type="stmt" count="0"/>
2579
- <line num="2351" type="stmt" count="0"/>
2580
  <line num="2352" type="stmt" count="0"/>
2581
- <line num="2362" type="method" name="page_backup_test" visibility="public" complexity="6" crap="42" count="0"/>
2582
- <line num="2364" type="stmt" count="0"/>
2583
- <line num="2367" type="stmt" count="0"/>
 
 
2584
  <line num="2370" type="stmt" count="0"/>
2585
  <line num="2373" type="stmt" count="0"/>
2586
  <line num="2376" type="stmt" count="0"/>
2587
- <line num="2378" type="stmt" count="0"/>
2588
- <line num="2381" type="stmt" count="0"/>
2589
  <line num="2384" type="stmt" count="0"/>
2590
  <line num="2387" type="stmt" count="0"/>
2591
  <line num="2390" type="stmt" count="0"/>
2592
  <line num="2393" type="stmt" count="0"/>
2593
- <line num="2395" type="stmt" count="0"/>
2594
- <line num="2403" type="stmt" count="0"/>
2595
- <line num="2404" type="stmt" count="0"/>
2596
- <line num="2405" type="stmt" count="0"/>
2597
- <line num="2406" type="stmt" count="0"/>
2598
- <line num="2407" type="stmt" count="0"/>
2599
  <line num="2410" type="stmt" count="0"/>
2600
  <line num="2411" type="stmt" count="0"/>
2601
  <line num="2412" type="stmt" count="0"/>
2602
  <line num="2413" type="stmt" count="0"/>
2603
- <line num="2414" type="stmt" count="0"/>
2604
- <line num="2415" type="stmt" count="0"/>
2605
  <line num="2416" type="stmt" count="0"/>
2606
  <line num="2417" type="stmt" count="0"/>
 
2607
  <line num="2419" type="stmt" count="0"/>
 
 
2608
  <line num="2422" type="stmt" count="0"/>
2609
  <line num="2423" type="stmt" count="0"/>
2610
- <line num="2424" type="stmt" count="0"/>
2611
  <line num="2425" type="stmt" count="0"/>
2612
- <line num="2426" type="stmt" count="0"/>
2613
  <line num="2429" type="stmt" count="0"/>
2614
  <line num="2430" type="stmt" count="0"/>
2615
- <line num="2437" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="12"/>
2616
- <line num="2438" type="stmt" count="12"/>
2617
- <line num="2440" type="stmt" count="12"/>
2618
- <line num="2441" type="stmt" count="12"/>
2619
- <line num="2442" type="stmt" count="12"/>
2620
- <line num="2443" type="stmt" count="12"/>
2621
- <line num="2444" type="stmt" count="12"/>
2622
- <line num="2445" type="stmt" count="12"/>
2623
- <line num="2446" type="stmt" count="12"/>
2624
- <line num="2448" type="stmt" count="12"/>
2625
- <line num="2449" type="stmt" count="12"/>
2626
- <line num="2450" type="stmt" count="12"/>
2627
- <line num="2451" type="stmt" count="12"/>
2628
  <line num="2453" type="stmt" count="12"/>
2629
- <line num="2456" type="stmt" count="12"/>
2630
- <line num="2457" type="stmt" count="12"/>
2631
- <line num="2459" type="stmt" count="12"/>
2632
  <line num="2461" type="stmt" count="12"/>
2633
- <line num="2473" type="method" name="set_time_limit" visibility="public" complexity="2" crap="6" count="0"/>
2634
- <line num="2474" type="stmt" count="0"/>
2635
- <line num="2476" type="stmt" count="0"/>
2636
- <line num="2477" type="stmt" count="0"/>
2637
- <line num="2484" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
2638
- <line num="2485" type="stmt" count="0"/>
2639
- <line num="2486" type="stmt" count="0"/>
2640
- <line num="2489" type="stmt" count="0"/>
2641
- <line num="2490" type="stmt" count="0"/>
2642
- <line num="2491" type="stmt" count="0"/>
2643
- <line num="2493" type="stmt" count="0"/>
2644
- <line num="2494" type="stmt" count="0"/>
2645
- <line num="2495" type="stmt" count="0"/>
2646
- <line num="2498" type="stmt" count="0"/>
 
 
 
 
2647
  <line num="2499" type="stmt" count="0"/>
2648
  <line num="2500" type="stmt" count="0"/>
2649
- <line num="2502" type="stmt" count="0"/>
2650
- <line num="2503" type="stmt" count="0"/>
2651
- <line num="2504" type="stmt" count="0"/>
2652
- <line num="2506" type="stmt" count="0"/>
2653
- <line num="2519" type="stmt" count="0"/>
2654
- <line num="2520" type="stmt" count="0"/>
 
 
 
 
2655
  <line num="2522" type="stmt" count="0"/>
2656
  <line num="2523" type="stmt" count="0"/>
2657
- <line num="2524" type="stmt" count="0"/>
2658
  <line num="2525" type="stmt" count="0"/>
2659
  <line num="2526" type="stmt" count="0"/>
2660
- <line num="2528" type="stmt" count="0"/>
2661
  <line num="2529" type="stmt" count="0"/>
2662
- <line num="2530" type="stmt" count="0"/>
2663
- <line num="2531" type="stmt" count="0"/>
2664
- <line num="2533" type="stmt" count="0"/>
2665
- <line num="2535" type="stmt" count="0"/>
2666
- <line num="2537" type="stmt" count="0"/>
2667
- <line num="2539" type="stmt" count="0"/>
2668
- <line num="2540" type="stmt" count="0"/>
2669
- <line num="2556" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
 
 
 
 
2670
  <line num="2558" type="stmt" count="0"/>
2671
- <line num="2561" type="stmt" count="0"/>
2672
  <line num="2562" type="stmt" count="0"/>
2673
- <line num="2566" type="stmt" count="0"/>
2674
- <line num="2569" type="stmt" count="0"/>
2675
- <line num="2570" type="stmt" count="0"/>
2676
- <line num="2574" type="stmt" count="0"/>
2677
- <line num="2575" type="stmt" count="0"/>
2678
- <line num="2586" type="method" name="enforce_retention" visibility="public" complexity="8" crap="72" count="0"/>
2679
- <line num="2588" type="stmt" count="0"/>
2680
- <line num="2590" type="stmt" count="0"/>
2681
  <line num="2593" type="stmt" count="0"/>
2682
- <line num="2594" type="stmt" count="0"/>
2683
- <line num="2595" type="stmt" count="0"/>
2684
- <line num="2596" type="stmt" count="0"/>
2685
  <line num="2597" type="stmt" count="0"/>
2686
  <line num="2598" type="stmt" count="0"/>
2687
- <line num="2599" type="stmt" count="0"/>
2688
- <line num="2602" type="stmt" count="0"/>
2689
- <line num="2605" type="stmt" count="0"/>
2690
- <line num="2606" type="stmt" count="0"/>
2691
- <line num="2610" type="stmt" count="0"/>
2692
  <line num="2613" type="stmt" count="0"/>
2693
  <line num="2616" type="stmt" count="0"/>
 
 
2694
  <line num="2619" type="stmt" count="0"/>
2695
  <line num="2620" type="stmt" count="0"/>
2696
  <line num="2621" type="stmt" count="0"/>
2697
- <line num="2624" type="stmt" count="0"/>
2698
  <line num="2625" type="stmt" count="0"/>
2699
- <line num="2627" type="stmt" count="0"/>
2700
- <line num="2637" type="stmt" count="0"/>
2701
- <line num="2640" type="stmt" count="0"/>
 
 
 
2702
  <line num="2643" type="stmt" count="0"/>
2703
  <line num="2644" type="stmt" count="0"/>
2704
- <line num="2645" type="stmt" count="0"/>
2705
- <metrics loc="2646" ncloc="1350" classes="1" methods="27" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="921" coveredstatements="99" elements="948" coveredelements="101"/>
 
 
 
 
 
 
 
2706
  </file>
2707
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
2708
  <class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
@@ -67254,7 +67257,7 @@
67254
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
67255
  </file>
67256
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
67257
- <class name="ComposerStaticInitcca99f5ab3738b16ab0dfcf57cf8b87b" namespace="Composer\Autoload">
67258
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
67259
  </class>
67260
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
@@ -67346,7 +67349,7 @@
67346
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
67347
  </file>
67348
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
67349
- <class name="ComposerAutoloaderInitcca99f5ab3738b16ab0dfcf57cf8b87b" namespace="global">
67350
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
67351
  </class>
67352
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
@@ -86128,6 +86131,6 @@
86128
  <line num="16" type="stmt" count="0"/>
86129
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
86130
  </file>
86131
- <metrics files="818" loc="170548" ncloc="104692" classes="743" methods="3130" coveredmethods="97" conditionals="0" coveredconditionals="0" statements="77942" coveredstatements="871" elements="81072" coveredelements="968"/>
86132
  </project>
86133
  </coverage>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1555439548">
3
+ <project timestamp="1555439548">
4
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-actions.php">
5
  <class name="Boldgrid_Backup_Admin_Archive_Actions" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
6
  <metrics complexity="15" methods="7" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="110" coveredstatements="2" elements="117" coveredelements="3"/>
1752
  </file>
1753
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php">
1754
  <class name="Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Boldgrid.Backup.Admin">
1755
+ <metrics complexity="220" methods="28" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="916" coveredstatements="101" elements="944" coveredelements="104"/>
1756
  </class>
1757
+ <line num="500" type="method" name="__construct" visibility="public" complexity="7" crap="7.04" count="12"/>
1758
+ <line num="501" type="stmt" count="12"/>
1759
  <line num="502" type="stmt" count="12"/>
1760
  <line num="503" type="stmt" count="12"/>
1761
+ <line num="505" type="stmt" count="12"/>
 
1762
  <line num="507" type="stmt" count="12"/>
1763
  <line num="508" type="stmt" count="12"/>
1764
  <line num="509" type="stmt" count="12"/>
2110
  <line num="1296" type="stmt" count="0"/>
2111
  <line num="1311" type="method" name="archive_files" visibility="public" complexity="45" crap="2070" count="0"/>
2112
  <line num="1312" type="stmt" count="0"/>
 
 
 
2113
  <line num="1320" type="stmt" count="0"/>
2114
+ <line num="1322" type="stmt" count="0"/>
2115
+ <line num="1324" type="stmt" count="0"/>
2116
+ <line num="1326" type="stmt" count="0"/>
2117
+ <line num="1333" type="stmt" count="0"/>
2118
+ <line num="1335" type="stmt" count="0"/>
2119
+ <line num="1336" type="stmt" count="0"/>
2120
+ <line num="1337" type="stmt" count="0"/>
2121
+ <line num="1348" type="stmt" count="0"/>
2122
+ <line num="1349" type="stmt" count="0"/>
2123
+ <line num="1350" type="stmt" count="0"/>
2124
+ <line num="1352" type="stmt" count="0"/>
2125
  <line num="1353" type="stmt" count="0"/>
2126
+ <line num="1357" type="stmt" count="0"/>
 
2127
  <line num="1359" type="stmt" count="0"/>
2128
+ <line num="1361" type="stmt" count="0"/>
2129
+ <line num="1362" type="stmt" count="0"/>
2130
+ <line num="1365" type="stmt" count="0"/>
2131
+ <line num="1366" type="stmt" count="0"/>
2132
+ <line num="1370" type="stmt" count="0"/>
 
 
 
2133
  <line num="1379" type="stmt" count="0"/>
2134
  <line num="1380" type="stmt" count="0"/>
2135
  <line num="1381" type="stmt" count="0"/>
2136
  <line num="1382" type="stmt" count="0"/>
2137
  <line num="1383" type="stmt" count="0"/>
2138
+ <line num="1384" type="stmt" count="0"/>
2139
  <line num="1385" type="stmt" count="0"/>
2140
  <line num="1386" type="stmt" count="0"/>
2141
  <line num="1387" type="stmt" count="0"/>
2142
  <line num="1388" type="stmt" count="0"/>
2143
+ <line num="1389" type="stmt" count="0"/>
2144
  <line num="1391" type="stmt" count="0"/>
2145
  <line num="1392" type="stmt" count="0"/>
2146
  <line num="1393" type="stmt" count="0"/>
2147
  <line num="1394" type="stmt" count="0"/>
 
2148
  <line num="1396" type="stmt" count="0"/>
2149
  <line num="1397" type="stmt" count="0"/>
2150
  <line num="1398" type="stmt" count="0"/>
2151
  <line num="1399" type="stmt" count="0"/>
2152
  <line num="1400" type="stmt" count="0"/>
2153
  <line num="1401" type="stmt" count="0"/>
2154
+ <line num="1402" type="stmt" count="0"/>
2155
+ <line num="1403" type="stmt" count="0"/>
2156
  <line num="1404" type="stmt" count="0"/>
2157
  <line num="1405" type="stmt" count="0"/>
2158
  <line num="1406" type="stmt" count="0"/>
2159
  <line num="1407" type="stmt" count="0"/>
 
 
2160
  <line num="1410" type="stmt" count="0"/>
2161
  <line num="1411" type="stmt" count="0"/>
2162
  <line num="1412" type="stmt" count="0"/>
2163
  <line num="1413" type="stmt" count="0"/>
2164
  <line num="1414" type="stmt" count="0"/>
2165
+ <line num="1415" type="stmt" count="0"/>
2166
+ <line num="1416" type="stmt" count="0"/>
2167
  <line num="1417" type="stmt" count="0"/>
2168
+ <line num="1418" type="stmt" count="0"/>
2169
+ <line num="1419" type="stmt" count="0"/>
2170
  <line num="1420" type="stmt" count="0"/>
 
2171
  <line num="1423" type="stmt" count="0"/>
2172
+ <line num="1426" type="stmt" count="0"/>
2173
+ <line num="1428" type="stmt" count="0"/>
2174
+ <line num="1429" type="stmt" count="0"/>
2175
  <line num="1433" type="stmt" count="0"/>
2176
  <line num="1436" type="stmt" count="0"/>
 
2177
  <line num="1439" type="stmt" count="0"/>
 
2178
  <line num="1442" type="stmt" count="0"/>
2179
+ <line num="1443" type="stmt" count="0"/>
2180
+ <line num="1445" type="stmt" count="0"/>
2181
  <line num="1447" type="stmt" count="0"/>
2182
+ <line num="1448" type="stmt" count="0"/>
2183
  <line num="1450" type="stmt" count="0"/>
2184
  <line num="1453" type="stmt" count="0"/>
2185
  <line num="1456" type="stmt" count="0"/>
 
2186
  <line num="1459" type="stmt" count="0"/>
 
2187
  <line num="1462" type="stmt" count="0"/>
2188
+ <line num="1463" type="stmt" count="0"/>
2189
+ <line num="1465" type="stmt" count="0"/>
2190
  <line num="1466" type="stmt" count="0"/>
2191
+ <line num="1468" type="stmt" count="0"/>
2192
+ <line num="1472" type="stmt" count="0"/>
2193
+ <line num="1475" type="stmt" count="0"/>
2194
  <line num="1476" type="stmt" count="0"/>
2195
+ <line num="1480" type="stmt" count="0"/>
 
 
 
2196
  <line num="1482" type="stmt" count="0"/>
2197
+ <line num="1483" type="stmt" count="0"/>
2198
  <line num="1484" type="stmt" count="0"/>
2199
+ <line num="1485" type="stmt" count="0"/>
2200
+ <line num="1487" type="stmt" count="0"/>
2201
+ <line num="1488" type="stmt" count="0"/>
2202
+ <line num="1490" type="stmt" count="0"/>
2203
  <line num="1499" type="stmt" count="0"/>
2204
+ <line num="1501" type="stmt" count="0"/>
2205
+ <line num="1503" type="stmt" count="0"/>
2206
  <line num="1505" type="stmt" count="0"/>
 
 
 
 
 
2207
  <line num="1511" type="stmt" count="0"/>
2208
  <line num="1512" type="stmt" count="0"/>
2209
  <line num="1513" type="stmt" count="0"/>
2210
  <line num="1514" type="stmt" count="0"/>
2211
+ <line num="1515" type="stmt" count="0"/>
2212
  <line num="1516" type="stmt" count="0"/>
2213
  <line num="1517" type="stmt" count="0"/>
2214
  <line num="1518" type="stmt" count="0"/>
2215
+ <line num="1519" type="stmt" count="0"/>
2216
  <line num="1520" type="stmt" count="0"/>
 
2217
  <line num="1522" type="stmt" count="0"/>
2218
+ <line num="1523" type="stmt" count="0"/>
2219
  <line num="1524" type="stmt" count="0"/>
 
2220
  <line num="1526" type="stmt" count="0"/>
2221
+ <line num="1527" type="stmt" count="0"/>
2222
  <line num="1528" type="stmt" count="0"/>
 
2223
  <line num="1530" type="stmt" count="0"/>
2224
+ <line num="1531" type="stmt" count="0"/>
2225
  <line num="1532" type="stmt" count="0"/>
 
2226
  <line num="1534" type="stmt" count="0"/>
2227
+ <line num="1535" type="stmt" count="0"/>
2228
  <line num="1536" type="stmt" count="0"/>
 
2229
  <line num="1538" type="stmt" count="0"/>
2230
  <line num="1539" type="stmt" count="0"/>
2231
+ <line num="1540" type="stmt" count="0"/>
2232
  <line num="1542" type="stmt" count="0"/>
2233
+ <line num="1543" type="stmt" count="0"/>
2234
  <line num="1544" type="stmt" count="0"/>
2235
+ <line num="1545" type="stmt" count="0"/>
2236
+ <line num="1547" type="stmt" count="0"/>
2237
  <line num="1548" type="stmt" count="0"/>
 
2238
  <line num="1550" type="stmt" count="0"/>
2239
  <line num="1552" type="stmt" count="0"/>
2240
+ <line num="1554" type="stmt" count="0"/>
2241
+ <line num="1555" type="stmt" count="0"/>
2242
  <line num="1556" type="stmt" count="0"/>
2243
  <line num="1558" type="stmt" count="0"/>
2244
+ <line num="1559" type="stmt" count="0"/>
2245
+ <line num="1562" type="stmt" count="0"/>
2246
+ <line num="1564" type="stmt" count="0"/>
2247
  <line num="1566" type="stmt" count="0"/>
2248
+ <line num="1569" type="stmt" count="0"/>
2249
+ <line num="1572" type="stmt" count="0"/>
2250
  <line num="1573" type="stmt" count="0"/>
2251
+ <line num="1576" type="stmt" count="0"/>
2252
+ <line num="1579" type="stmt" count="0"/>
2253
+ <line num="1580" type="stmt" count="0"/>
2254
+ <line num="1581" type="stmt" count="0"/>
2255
+ <line num="1610" type="stmt" count="0"/>
2256
+ <line num="1621" type="stmt" count="0"/>
 
 
2257
  <line num="1622" type="stmt" count="0"/>
2258
+ <line num="1623" type="stmt" count="0"/>
2259
  <line num="1624" type="stmt" count="0"/>
2260
+ <line num="1625" type="stmt" count="0"/>
2261
+ <line num="1628" type="stmt" count="0"/>
2262
+ <line num="1630" type="stmt" count="0"/>
2263
  <line num="1632" type="stmt" count="0"/>
2264
  <line num="1635" type="stmt" count="0"/>
 
2265
  <line num="1637" type="stmt" count="0"/>
2266
+ <line num="1638" type="stmt" count="0"/>
2267
  <line num="1641" type="stmt" count="0"/>
2268
+ <line num="1642" type="stmt" count="0"/>
2269
  <line num="1643" type="stmt" count="0"/>
2270
  <line num="1645" type="stmt" count="0"/>
 
2271
  <line num="1647" type="stmt" count="0"/>
2272
+ <line num="1649" type="stmt" count="0"/>
2273
+ <line num="1651" type="stmt" count="0"/>
2274
+ <line num="1652" type="stmt" count="0"/>
2275
+ <line num="1653" type="stmt" count="0"/>
2276
+ <line num="1656" type="stmt" count="0"/>
2277
+ <line num="1677" type="method" name="get_archive_list" visibility="public" complexity="11" crap="132" count="0"/>
2278
  <line num="1679" type="stmt" count="0"/>
2279
+ <line num="1682" type="stmt" count="0"/>
 
 
2280
  <line num="1685" type="stmt" count="0"/>
2281
+ <line num="1686" type="stmt" count="0"/>
2282
+ <line num="1687" type="stmt" count="0"/>
2283
+ <line num="1690" type="stmt" count="0"/>
2284
+ <line num="1691" type="stmt" count="0"/>
2285
+ <line num="1695" type="stmt" count="0"/>
2286
  <line num="1698" type="stmt" count="0"/>
2287
+ <line num="1699" type="stmt" count="0"/>
2288
+ <line num="1703" type="stmt" count="0"/>
2289
  <line num="1704" type="stmt" count="0"/>
2290
+ <line num="1706" type="stmt" count="0"/>
2291
+ <line num="1707" type="stmt" count="0"/>
2292
  <line num="1710" type="stmt" count="0"/>
2293
+ <line num="1711" type="stmt" count="0"/>
2294
+ <line num="1714" type="stmt" count="0"/>
2295
  <line num="1716" type="stmt" count="0"/>
 
2296
  <line num="1719" type="stmt" count="0"/>
2297
  <line num="1722" type="stmt" count="0"/>
2298
  <line num="1723" type="stmt" count="0"/>
2299
+ <line num="1725" type="stmt" count="0"/>
2300
  <line num="1728" type="stmt" count="0"/>
2301
  <line num="1729" type="stmt" count="0"/>
 
 
 
 
2302
  <line num="1734" type="stmt" count="0"/>
2303
  <line num="1735" type="stmt" count="0"/>
2304
+ <line num="1736" type="stmt" count="0"/>
2305
+ <line num="1737" type="stmt" count="0"/>
2306
+ <line num="1738" type="stmt" count="0"/>
2307
  <line num="1739" type="stmt" count="0"/>
2308
  <line num="1740" type="stmt" count="0"/>
2309
+ <line num="1741" type="stmt" count="0"/>
2310
+ <line num="1745" type="stmt" count="0"/>
2311
  <line num="1746" type="stmt" count="0"/>
2312
+ <line num="1748" type="stmt" count="0"/>
2313
+ <line num="1749" type="stmt" count="0"/>
2314
+ <line num="1752" type="stmt" count="0"/>
2315
+ <line num="1763" type="method" name="delete_archive_file" visibility="public" complexity="11" crap="132" count="0"/>
2316
+ <line num="1766" type="stmt" count="0"/>
2317
+ <line num="1767" type="stmt" count="0"/>
2318
  <line num="1771" type="stmt" count="0"/>
 
 
2319
  <line num="1774" type="stmt" count="0"/>
 
2320
  <line num="1777" type="stmt" count="0"/>
2321
  <line num="1778" type="stmt" count="0"/>
2322
+ <line num="1779" type="stmt" count="0"/>
2323
  <line num="1780" type="stmt" count="0"/>
2324
  <line num="1782" type="stmt" count="0"/>
2325
+ <line num="1783" type="stmt" count="0"/>
2326
+ <line num="1784" type="stmt" count="0"/>
2327
  <line num="1786" type="stmt" count="0"/>
 
2328
  <line num="1788" type="stmt" count="0"/>
 
 
2329
  <line num="1792" type="stmt" count="0"/>
2330
+ <line num="1793" type="stmt" count="0"/>
2331
  <line num="1794" type="stmt" count="0"/>
2332
  <line num="1796" type="stmt" count="0"/>
2333
+ <line num="1797" type="stmt" count="0"/>
2334
+ <line num="1798" type="stmt" count="0"/>
2335
  <line num="1800" type="stmt" count="0"/>
2336
+ <line num="1802" type="stmt" count="0"/>
2337
+ <line num="1806" type="stmt" count="0"/>
2338
+ <line num="1807" type="stmt" count="0"/>
 
2339
  <line num="1811" type="stmt" count="0"/>
 
2340
  <line num="1814" type="stmt" count="0"/>
2341
  <line num="1816" type="stmt" count="0"/>
2342
+ <line num="1817" type="stmt" count="0"/>
2343
+ <line num="1818" type="stmt" count="0"/>
2344
+ <line num="1820" type="stmt" count="0"/>
2345
  <line num="1822" type="stmt" count="0"/>
2346
+ <line num="1827" type="stmt" count="0"/>
 
2347
  <line num="1828" type="stmt" count="0"/>
2348
  <line num="1829" type="stmt" count="0"/>
 
2349
  <line num="1832" type="stmt" count="0"/>
2350
  <line num="1834" type="stmt" count="0"/>
2351
+ <line num="1835" type="stmt" count="0"/>
2352
+ <line num="1836" type="stmt" count="0"/>
2353
+ <line num="1838" type="stmt" count="0"/>
2354
  <line num="1840" type="stmt" count="0"/>
2355
+ <line num="1845" type="stmt" count="0"/>
 
2356
  <line num="1846" type="stmt" count="0"/>
2357
  <line num="1847" type="stmt" count="0"/>
 
2358
  <line num="1849" type="stmt" count="0"/>
 
2359
  <line num="1852" type="stmt" count="0"/>
2360
+ <line num="1853" type="stmt" count="0"/>
2361
+ <line num="1854" type="stmt" count="0"/>
2362
+ <line num="1855" type="stmt" count="0"/>
2363
+ <line num="1857" type="stmt" count="0"/>
2364
+ <line num="1858" type="stmt" count="0"/>
2365
+ <line num="1868" type="stmt" count="0"/>
2366
+ <line num="1871" type="stmt" count="0"/>
2367
+ <line num="1884" type="method" name="get_dump_file" visibility="public" complexity="9" crap="90" count="0"/>
2368
+ <line num="1886" type="stmt" count="0"/>
2369
+ <line num="1887" type="stmt" count="0"/>
2370
+ <line num="1907" type="stmt" count="0"/>
2371
  <line num="1908" type="stmt" count="0"/>
2372
+ <line num="1909" type="stmt" count="0"/>
2373
+ <line num="1910" type="stmt" count="0"/>
2374
  <line num="1914" type="stmt" count="0"/>
2375
+ <line num="1917" type="stmt" count="0"/>
 
2376
  <line num="1920" type="stmt" count="0"/>
2377
+ <line num="1921" type="stmt" count="0"/>
2378
+ <line num="1925" type="stmt" count="0"/>
 
2379
  <line num="1926" type="stmt" count="0"/>
2380
+ <line num="1927" type="method" name="anonymous function" complexity="3" crap="12" count="0"/>
2381
+ <line num="1928" type="stmt" count="0"/>
2382
+ <line num="1929" type="stmt" count="0"/>
2383
  <line num="1932" type="stmt" count="0"/>
2384
+ <line num="1933" type="stmt" count="0"/>
2385
+ <line num="1936" type="stmt" count="0"/>
2386
+ <line num="1938" type="stmt" count="0"/>
2387
+ <line num="1945" type="stmt" count="0"/>
2388
+ <line num="1946" type="stmt" count="0"/>
2389
  <line num="1947" type="stmt" count="0"/>
2390
+ <line num="1948" type="stmt" count="0"/>
2391
+ <line num="1950" type="stmt" count="0"/>
2392
+ <line num="1953" type="stmt" count="0"/>
2393
+ <line num="1966" type="method" name="restore_archive_file" visibility="public" complexity="24" crap="600" count="0"/>
2394
  <line num="1967" type="stmt" count="0"/>
2395
+ <line num="1970" type="stmt" count="0"/>
2396
+ <line num="1972" type="stmt" count="0"/>
2397
  <line num="1973" type="stmt" count="0"/>
2398
+ <line num="1977" type="stmt" count="0"/>
 
2399
  <line num="1979" type="stmt" count="0"/>
2400
+ <line num="1980" type="stmt" count="0"/>
 
2401
  <line num="1984" type="stmt" count="0"/>
2402
+ <line num="1985" type="stmt" count="0"/>
2403
+ <line num="1988" type="stmt" count="0"/>
2404
+ <line num="1989" type="stmt" count="0"/>
2405
+ <line num="1990" type="stmt" count="0"/>
2406
  <line num="1992" type="stmt" count="0"/>
2407
  <line num="1993" type="stmt" count="0"/>
2408
+ <line num="1997" type="stmt" count="0"/>
2409
+ <line num="1998" type="stmt" count="0"/>
2410
+ <line num="1999" type="stmt" count="0"/>
2411
+ <line num="2001" type="stmt" count="0"/>
2412
  <line num="2002" type="stmt" count="0"/>
 
 
2413
  <line num="2006" type="stmt" count="0"/>
2414
+ <line num="2008" type="stmt" count="0"/>
2415
  <line num="2009" type="stmt" count="0"/>
2416
  <line num="2011" type="stmt" count="0"/>
2417
+ <line num="2012" type="stmt" count="0"/>
2418
+ <line num="2015" type="stmt" count="0"/>
2419
  <line num="2017" type="stmt" count="0"/>
2420
  <line num="2019" type="stmt" count="0"/>
2421
  <line num="2020" type="stmt" count="0"/>
 
2422
  <line num="2023" type="stmt" count="0"/>
2423
+ <line num="2025" type="stmt" count="0"/>
2424
+ <line num="2026" type="stmt" count="0"/>
2425
+ <line num="2027" type="stmt" count="0"/>
2426
  <line num="2029" type="stmt" count="0"/>
2427
  <line num="2030" type="stmt" count="0"/>
 
 
 
 
2428
  <line num="2035" type="stmt" count="0"/>
2429
  <line num="2036" type="stmt" count="0"/>
2430
+ <line num="2037" type="stmt" count="0"/>
2431
+ <line num="2038" type="stmt" count="0"/>
2432
  <line num="2039" type="stmt" count="0"/>
2433
+ <line num="2040" type="stmt" count="0"/>
2434
  <line num="2041" type="stmt" count="0"/>
2435
+ <line num="2042" type="stmt" count="0"/>
2436
+ <line num="2045" type="stmt" count="0"/>
2437
+ <line num="2047" type="stmt" count="0"/>
2438
  <line num="2056" type="stmt" count="0"/>
2439
+ <line num="2058" type="stmt" count="0"/>
2440
+ <line num="2060" type="stmt" count="0"/>
2441
+ <line num="2062" type="stmt" count="0"/>
2442
+ <line num="2063" type="stmt" count="0"/>
 
 
2443
  <line num="2073" type="stmt" count="0"/>
2444
+ <line num="2075" type="stmt" count="0"/>
2445
  <line num="2076" type="stmt" count="0"/>
2446
  <line num="2077" type="stmt" count="0"/>
2447
+ <line num="2078" type="stmt" count="0"/>
2448
+ <line num="2079" type="stmt" count="0"/>
2449
+ <line num="2082" type="stmt" count="0"/>
2450
+ <line num="2083" type="stmt" count="0"/>
2451
+ <line num="2093" type="stmt" count="0"/>
2452
  <line num="2102" type="stmt" count="0"/>
2453
  <line num="2103" type="stmt" count="0"/>
2454
+ <line num="2104" type="stmt" count="0"/>
2455
+ <line num="2107" type="stmt" count="0"/>
2456
  <line num="2108" type="stmt" count="0"/>
2457
  <line num="2109" type="stmt" count="0"/>
 
2458
  <line num="2111" type="stmt" count="0"/>
2459
+ <line num="2112" type="stmt" count="0"/>
2460
  <line num="2114" type="stmt" count="0"/>
2461
  <line num="2115" type="stmt" count="0"/>
2462
+ <line num="2116" type="stmt" count="0"/>
2463
+ <line num="2117" type="stmt" count="0"/>
2464
  <line num="2120" type="stmt" count="0"/>
2465
  <line num="2121" type="stmt" count="0"/>
2466
+ <line num="2124" type="stmt" count="0"/>
2467
  <line num="2126" type="stmt" count="0"/>
2468
+ <line num="2127" type="stmt" count="0"/>
2469
  <line num="2129" type="stmt" count="0"/>
2470
  <line num="2132" type="stmt" count="0"/>
2471
+ <line num="2135" type="stmt" count="0"/>
2472
  <line num="2138" type="stmt" count="0"/>
2473
+ <line num="2140" type="stmt" count="0"/>
2474
+ <line num="2144" type="stmt" count="0"/>
2475
  <line num="2145" type="stmt" count="0"/>
2476
  <line num="2148" type="stmt" count="0"/>
2477
+ <line num="2151" type="stmt" count="0"/>
2478
+ <line num="2154" type="stmt" count="0"/>
2479
+ <line num="2167" type="method" name="page_archives" visibility="public" complexity="5" crap="30" count="0"/>
 
2480
  <line num="2168" type="stmt" count="0"/>
2481
  <line num="2171" type="stmt" count="0"/>
2482
+ <line num="2172" type="stmt" count="0"/>
2483
  <line num="2174" type="stmt" count="0"/>
 
2484
  <line num="2177" type="stmt" count="0"/>
2485
  <line num="2180" type="stmt" count="0"/>
2486
  <line num="2181" type="stmt" count="0"/>
2487
  <line num="2183" type="stmt" count="0"/>
2488
+ <line num="2186" type="stmt" count="0"/>
2489
  <line num="2187" type="stmt" count="0"/>
 
2490
  <line num="2189" type="stmt" count="0"/>
2491
+ <line num="2190" type="stmt" count="0"/>
2492
+ <line num="2193" type="stmt" count="0"/>
2493
+ <line num="2194" type="stmt" count="0"/>
2494
  <line num="2195" type="stmt" count="0"/>
2495
  <line num="2198" type="stmt" count="0"/>
 
2496
  <line num="2201" type="stmt" count="0"/>
2497
+ <line num="2204" type="stmt" count="0"/>
2498
+ <line num="2206" type="stmt" count="0"/>
2499
  <line num="2207" type="stmt" count="0"/>
2500
+ <line num="2208" type="stmt" count="0"/>
2501
  <line num="2211" type="stmt" count="0"/>
2502
+ <line num="2213" type="stmt" count="0"/>
2503
+ <line num="2216" type="stmt" count="0"/>
2504
  <line num="2217" type="stmt" count="0"/>
2505
  <line num="2218" type="stmt" count="0"/>
2506
+ <line num="2220" type="stmt" count="0"/>
2507
+ <line num="2223" type="stmt" count="0"/>
2508
+ <line num="2224" type="stmt" count="0"/>
2509
+ <line num="2233" type="method" name="boldgrid_backup_now_callback" visibility="public" complexity="9" crap="90" count="0"/>
 
 
2510
  <line num="2236" type="stmt" count="0"/>
2511
+ <line num="2237" type="stmt" count="0"/>
2512
+ <line num="2238" type="stmt" count="0"/>
2513
  <line num="2240" type="stmt" count="0"/>
2514
  <line num="2241" type="stmt" count="0"/>
2515
+ <line num="2242" type="stmt" count="0"/>
 
2516
  <line num="2245" type="stmt" count="0"/>
2517
+ <line num="2246" type="stmt" count="0"/>
2518
  <line num="2247" type="stmt" count="0"/>
2519
  <line num="2249" type="stmt" count="0"/>
2520
  <line num="2250" type="stmt" count="0"/>
2521
  <line num="2251" type="stmt" count="0"/>
2522
  <line num="2253" type="stmt" count="0"/>
2523
+ <line num="2255" type="stmt" count="0"/>
2524
  <line num="2256" type="stmt" count="0"/>
2525
+ <line num="2257" type="stmt" count="0"/>
2526
  <line num="2259" type="stmt" count="0"/>
2527
  <line num="2260" type="stmt" count="0"/>
2528
+ <line num="2262" type="stmt" count="0"/>
2529
+ <line num="2264" type="stmt" count="0"/>
2530
  <line num="2265" type="stmt" count="0"/>
2531
  <line num="2266" type="stmt" count="0"/>
2532
  <line num="2267" type="stmt" count="0"/>
2533
+ <line num="2269" type="stmt" count="0"/>
2534
+ <line num="2271" type="stmt" count="0"/>
2535
  <line num="2272" type="stmt" count="0"/>
2536
+ <line num="2273" type="stmt" count="0"/>
2537
  <line num="2274" type="stmt" count="0"/>
2538
+ <line num="2276" type="stmt" count="0"/>
2539
+ <line num="2278" type="stmt" count="0"/>
2540
+ <line num="2280" type="stmt" count="0"/>
2541
+ <line num="2292" type="method" name="download_archive_file_callback" visibility="public" complexity="10" crap="110" count="0"/>
 
2542
  <line num="2294" type="stmt" count="0"/>
2543
  <line num="2297" type="stmt" count="0"/>
2544
  <line num="2298" type="stmt" count="0"/>
2545
  <line num="2299" type="stmt" count="0"/>
2546
  <line num="2300" type="stmt" count="0"/>
2547
+ <line num="2303" type="stmt" count="0"/>
2548
+ <line num="2304" type="stmt" count="0"/>
2549
  <line num="2305" type="stmt" count="0"/>
2550
  <line num="2306" type="stmt" count="0"/>
2551
  <line num="2307" type="stmt" count="0"/>
2552
+ <line num="2311" type="stmt" count="0"/>
2553
+ <line num="2312" type="stmt" count="0"/>
2554
  <line num="2313" type="stmt" count="0"/>
2555
+ <line num="2314" type="stmt" count="0"/>
2556
+ <line num="2315" type="stmt" count="0"/>
 
2557
  <line num="2319" type="stmt" count="0"/>
2558
  <line num="2322" type="stmt" count="0"/>
2559
+ <line num="2323" type="stmt" count="0"/>
2560
+ <line num="2324" type="stmt" count="0"/>
2561
  <line num="2325" type="stmt" count="0"/>
 
 
2562
  <line num="2328" type="stmt" count="0"/>
2563
+ <line num="2331" type="stmt" count="0"/>
2564
  <line num="2332" type="stmt" count="0"/>
2565
  <line num="2333" type="stmt" count="0"/>
2566
  <line num="2334" type="stmt" count="0"/>
 
2567
  <line num="2338" type="stmt" count="0"/>
2568
  <line num="2339" type="stmt" count="0"/>
2569
  <line num="2340" type="stmt" count="0"/>
2570
+ <line num="2343" type="stmt" count="0"/>
2571
  <line num="2344" type="stmt" count="0"/>
2572
+ <line num="2345" type="stmt" count="0"/>
2573
  <line num="2346" type="stmt" count="0"/>
 
2574
  <line num="2348" type="stmt" count="0"/>
2575
+ <line num="2350" type="stmt" count="0"/>
2576
  <line num="2352" type="stmt" count="0"/>
2577
+ <line num="2353" type="stmt" count="0"/>
2578
+ <line num="2354" type="stmt" count="0"/>
2579
+ <line num="2357" type="stmt" count="0"/>
2580
+ <line num="2358" type="stmt" count="0"/>
2581
+ <line num="2368" type="method" name="page_backup_test" visibility="public" complexity="6" crap="42" count="0"/>
2582
  <line num="2370" type="stmt" count="0"/>
2583
  <line num="2373" type="stmt" count="0"/>
2584
  <line num="2376" type="stmt" count="0"/>
2585
+ <line num="2379" type="stmt" count="0"/>
2586
+ <line num="2382" type="stmt" count="0"/>
2587
  <line num="2384" type="stmt" count="0"/>
2588
  <line num="2387" type="stmt" count="0"/>
2589
  <line num="2390" type="stmt" count="0"/>
2590
  <line num="2393" type="stmt" count="0"/>
2591
+ <line num="2396" type="stmt" count="0"/>
2592
+ <line num="2399" type="stmt" count="0"/>
2593
+ <line num="2401" type="stmt" count="0"/>
2594
+ <line num="2409" type="stmt" count="0"/>
 
 
2595
  <line num="2410" type="stmt" count="0"/>
2596
  <line num="2411" type="stmt" count="0"/>
2597
  <line num="2412" type="stmt" count="0"/>
2598
  <line num="2413" type="stmt" count="0"/>
 
 
2599
  <line num="2416" type="stmt" count="0"/>
2600
  <line num="2417" type="stmt" count="0"/>
2601
+ <line num="2418" type="stmt" count="0"/>
2602
  <line num="2419" type="stmt" count="0"/>
2603
+ <line num="2420" type="stmt" count="0"/>
2604
+ <line num="2421" type="stmt" count="0"/>
2605
  <line num="2422" type="stmt" count="0"/>
2606
  <line num="2423" type="stmt" count="0"/>
 
2607
  <line num="2425" type="stmt" count="0"/>
2608
+ <line num="2428" type="stmt" count="0"/>
2609
  <line num="2429" type="stmt" count="0"/>
2610
  <line num="2430" type="stmt" count="0"/>
2611
+ <line num="2431" type="stmt" count="0"/>
2612
+ <line num="2432" type="stmt" count="0"/>
2613
+ <line num="2435" type="stmt" count="0"/>
2614
+ <line num="2436" type="stmt" count="0"/>
2615
+ <line num="2451" type="method" name="set_doing_cron" visibility="public" complexity="3" crap="3" count="12"/>
2616
+ <line num="2452" type="stmt" count="12"/>
 
 
 
 
 
 
 
2617
  <line num="2453" type="stmt" count="12"/>
2618
+ <line num="2460" type="method" name="set_lang" visibility="public" complexity="1" crap="1" count="12"/>
 
 
2619
  <line num="2461" type="stmt" count="12"/>
2620
+ <line num="2463" type="stmt" count="12"/>
2621
+ <line num="2464" type="stmt" count="12"/>
2622
+ <line num="2465" type="stmt" count="12"/>
2623
+ <line num="2466" type="stmt" count="12"/>
2624
+ <line num="2467" type="stmt" count="12"/>
2625
+ <line num="2468" type="stmt" count="12"/>
2626
+ <line num="2469" type="stmt" count="12"/>
2627
+ <line num="2471" type="stmt" count="12"/>
2628
+ <line num="2472" type="stmt" count="12"/>
2629
+ <line num="2473" type="stmt" count="12"/>
2630
+ <line num="2474" type="stmt" count="12"/>
2631
+ <line num="2476" type="stmt" count="12"/>
2632
+ <line num="2479" type="stmt" count="12"/>
2633
+ <line num="2480" type="stmt" count="12"/>
2634
+ <line num="2482" type="stmt" count="12"/>
2635
+ <line num="2484" type="stmt" count="12"/>
2636
+ <line num="2496" type="method" name="set_time_limit" visibility="public" complexity="2" crap="6" count="0"/>
2637
+ <line num="2497" type="stmt" count="0"/>
2638
  <line num="2499" type="stmt" count="0"/>
2639
  <line num="2500" type="stmt" count="0"/>
2640
+ <line num="2507" type="method" name="wp_ajax_restore" visibility="public" complexity="6" crap="42" count="0"/>
2641
+ <line num="2508" type="stmt" count="0"/>
2642
+ <line num="2509" type="stmt" count="0"/>
2643
+ <line num="2512" type="stmt" count="0"/>
2644
+ <line num="2513" type="stmt" count="0"/>
2645
+ <line num="2514" type="stmt" count="0"/>
2646
+ <line num="2516" type="stmt" count="0"/>
2647
+ <line num="2517" type="stmt" count="0"/>
2648
+ <line num="2518" type="stmt" count="0"/>
2649
+ <line num="2521" type="stmt" count="0"/>
2650
  <line num="2522" type="stmt" count="0"/>
2651
  <line num="2523" type="stmt" count="0"/>
 
2652
  <line num="2525" type="stmt" count="0"/>
2653
  <line num="2526" type="stmt" count="0"/>
2654
+ <line num="2527" type="stmt" count="0"/>
2655
  <line num="2529" type="stmt" count="0"/>
2656
+ <line num="2542" type="stmt" count="0"/>
2657
+ <line num="2543" type="stmt" count="0"/>
2658
+ <line num="2545" type="stmt" count="0"/>
2659
+ <line num="2546" type="stmt" count="0"/>
2660
+ <line num="2547" type="stmt" count="0"/>
2661
+ <line num="2548" type="stmt" count="0"/>
2662
+ <line num="2549" type="stmt" count="0"/>
2663
+ <line num="2551" type="stmt" count="0"/>
2664
+ <line num="2552" type="stmt" count="0"/>
2665
+ <line num="2553" type="stmt" count="0"/>
2666
+ <line num="2554" type="stmt" count="0"/>
2667
+ <line num="2556" type="stmt" count="0"/>
2668
  <line num="2558" type="stmt" count="0"/>
2669
+ <line num="2560" type="stmt" count="0"/>
2670
  <line num="2562" type="stmt" count="0"/>
2671
+ <line num="2563" type="stmt" count="0"/>
2672
+ <line num="2579" type="method" name="boldgrid_backup_now_auto" visibility="public" complexity="4" crap="20" count="0"/>
2673
+ <line num="2581" type="stmt" count="0"/>
2674
+ <line num="2584" type="stmt" count="0"/>
2675
+ <line num="2585" type="stmt" count="0"/>
2676
+ <line num="2589" type="stmt" count="0"/>
2677
+ <line num="2592" type="stmt" count="0"/>
 
2678
  <line num="2593" type="stmt" count="0"/>
 
 
 
2679
  <line num="2597" type="stmt" count="0"/>
2680
  <line num="2598" type="stmt" count="0"/>
2681
+ <line num="2609" type="method" name="enforce_retention" visibility="public" complexity="8" crap="72" count="0"/>
2682
+ <line num="2611" type="stmt" count="0"/>
 
 
 
2683
  <line num="2613" type="stmt" count="0"/>
2684
  <line num="2616" type="stmt" count="0"/>
2685
+ <line num="2617" type="stmt" count="0"/>
2686
+ <line num="2618" type="stmt" count="0"/>
2687
  <line num="2619" type="stmt" count="0"/>
2688
  <line num="2620" type="stmt" count="0"/>
2689
  <line num="2621" type="stmt" count="0"/>
2690
+ <line num="2622" type="stmt" count="0"/>
2691
  <line num="2625" type="stmt" count="0"/>
2692
+ <line num="2628" type="stmt" count="0"/>
2693
+ <line num="2629" type="stmt" count="0"/>
2694
+ <line num="2633" type="stmt" count="0"/>
2695
+ <line num="2636" type="stmt" count="0"/>
2696
+ <line num="2639" type="stmt" count="0"/>
2697
+ <line num="2642" type="stmt" count="0"/>
2698
  <line num="2643" type="stmt" count="0"/>
2699
  <line num="2644" type="stmt" count="0"/>
2700
+ <line num="2647" type="stmt" count="0"/>
2701
+ <line num="2648" type="stmt" count="0"/>
2702
+ <line num="2650" type="stmt" count="0"/>
2703
+ <line num="2660" type="stmt" count="0"/>
2704
+ <line num="2663" type="stmt" count="0"/>
2705
+ <line num="2666" type="stmt" count="0"/>
2706
+ <line num="2667" type="stmt" count="0"/>
2707
+ <line num="2668" type="stmt" count="0"/>
2708
+ <metrics loc="2669" ncloc="1355" classes="1" methods="28" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="923" coveredstatements="101" elements="951" coveredelements="104"/>
2709
  </file>
2710
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-log.php">
2711
  <class name="Boldgrid_Backup_Admin_Cron_Log" namespace="global" fullPackage="Boldgrid.Backup.Admin.Cron">
67257
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
67258
  </file>
67259
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
67260
+ <class name="ComposerStaticInit4e4364d8de683c9782df8bf8f592dd34" namespace="Composer\Autoload">
67261
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
67262
  </class>
67263
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
67349
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
67350
  </file>
67351
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
67352
+ <class name="ComposerAutoloaderInit4e4364d8de683c9782df8bf8f592dd34" namespace="global">
67353
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
67354
  </class>
67355
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
86131
  <line num="16" type="stmt" count="0"/>
86132
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
86133
  </file>
86134
+ <metrics files="818" loc="170571" ncloc="104697" classes="743" methods="3131" coveredmethods="98" conditionals="0" coveredconditionals="0" statements="77944" coveredstatements="873" elements="81075" coveredelements="971"/>
86135
  </project>
86136
  </coverage>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: boldgrid, backup, restore, restoration, migrate, migration, update, update
4
  Requires at least: 4.4
5
  Tested up to: 5.1
6
  Requires PHP: 5.4
7
- Stable tag: 1.9.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -38,7 +38,9 @@ The following features are available, of which you can find additional info for
38
  * Protect important backups by excluding them from retention settings.
39
  * Download and Upload backups using protected links, which makes transferring a website from one host to another an much easier process.
40
 
41
- == Getting Started & Support ==
 
 
42
 
43
  If you have any questions on getting started with BoldGrid Backup, please visit our [Getting Started Guide](https://www.boldgrid.com/support/boldgrid-backup/).
44
  We also suggest joining our [Team Orange User Group community](https://www.facebook.com/groups/BGTeamOrange) for free support, tips and tricks.
@@ -81,6 +83,12 @@ We also suggest joining our [Team Orange User Group community](https://www.faceb
81
 
82
  == Changelog ==
83
 
 
 
 
 
 
 
84
  = 1.9.1 =
85
 
86
  Release date: Apr 2nd, 2019
4
  Requires at least: 4.4
5
  Tested up to: 5.1
6
  Requires PHP: 5.4
7
+ Stable tag: 1.9.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
38
  * Protect important backups by excluding them from retention settings.
39
  * Download and Upload backups using protected links, which makes transferring a website from one host to another an much easier process.
40
 
41
+ == Frequently Asked Questions ==
42
+
43
+ = Where can I find more help? =
44
 
45
  If you have any questions on getting started with BoldGrid Backup, please visit our [Getting Started Guide](https://www.boldgrid.com/support/boldgrid-backup/).
46
  We also suggest joining our [Team Orange User Group community](https://www.facebook.com/groups/BGTeamOrange) for free support, tips and tricks.
83
 
84
  == Changelog ==
85
 
86
+ = 1.9.2 =
87
+
88
+ Release date: Apr 16th, 2019
89
+
90
+ * Bug fix: Prevent duplicate emails when backups are made before an auto update.
91
+
92
  = 1.9.1 =
93
 
94
  Release date: Apr 2nd, 2019
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitcca99f5ab3738b16ab0dfcf57cf8b87b::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit4e4364d8de683c9782df8bf8f592dd34::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitcca99f5ab3738b16ab0dfcf57cf8b87b
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitcca99f5ab3738b16ab0dfcf57cf8b87b
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitcca99f5ab3738b16ab0dfcf57cf8b87b', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitcca99f5ab3738b16ab0dfcf57cf8b87b', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitcca99f5ab3738b16ab0dfcf57cf8b87b::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInitcca99f5ab3738b16ab0dfcf57cf8b87b
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInitcca99f5ab3738b16ab0dfcf57cf8b87b::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequirecca99f5ab3738b16ab0dfcf57cf8b87b($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequirecca99f5ab3738b16ab0dfcf57cf8b87b($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit4e4364d8de683c9782df8bf8f592dd34
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit4e4364d8de683c9782df8bf8f592dd34', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit4e4364d8de683c9782df8bf8f592dd34', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit4e4364d8de683c9782df8bf8f592dd34::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInit4e4364d8de683c9782df8bf8f592dd34::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire4e4364d8de683c9782df8bf8f592dd34($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire4e4364d8de683c9782df8bf8f592dd34($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitcca99f5ab3738b16ab0dfcf57cf8b87b
8
  {
9
  public static $files = array (
10
  'f15d016d70663d5e96ccd2b863511eb8' => __DIR__ . '/..' . '/cbschuld/browser.php/lib/Browser.php',
@@ -91,9 +91,9 @@ class ComposerStaticInitcca99f5ab3738b16ab0dfcf57cf8b87b
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
- $loader->prefixLengthsPsr4 = ComposerStaticInitcca99f5ab3738b16ab0dfcf57cf8b87b::$prefixLengthsPsr4;
95
- $loader->prefixDirsPsr4 = ComposerStaticInitcca99f5ab3738b16ab0dfcf57cf8b87b::$prefixDirsPsr4;
96
- $loader->classMap = ComposerStaticInitcca99f5ab3738b16ab0dfcf57cf8b87b::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit4e4364d8de683c9782df8bf8f592dd34
8
  {
9
  public static $files = array (
10
  'f15d016d70663d5e96ccd2b863511eb8' => __DIR__ . '/..' . '/cbschuld/browser.php/lib/Browser.php',
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
+ $loader->prefixLengthsPsr4 = ComposerStaticInit4e4364d8de683c9782df8bf8f592dd34::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInit4e4364d8de683c9782df8bf8f592dd34::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInit4e4364d8de683c9782df8bf8f592dd34::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }