Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/backup/com/core/backup/SGBackup.php+7
include_once(wp-content/plugins/backup/com/lib/SGMigrate.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.94MB] [CPU: ▼17.10ms] Passed 4 tests
A check of server-side resources used by JetBackup - WP Backup, Migrate & Restore
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 44.69 ▲2.57 |
Dashboard /wp-admin | 2.07 ▼1.27 | 39.75 ▼19.92 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 46.13 ▼0.19 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.81 | 41.67 ▼50.85 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 47.09 ▲13.82 |
System Info. /wp-admin/admin.php?page=backup_guard_system_info | 2.07 | 43.89 |
Backups /wp-admin/admin.php?page=backup_guard_backups | 2.07 | 43.51 |
Settings /wp-admin/admin.php?page=backup_guard_settings | 2.07 | 42.21 |
Server storage [IO: ▲3.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 296 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_sg_action |
wp_sg_config |
wp_sg_schedule |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for JetBackup - WP Backup, Migrate & Restore
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲142 | 14.02 ▼0.41 | 1.80 ▼0.30 | 36.45 ▼7.90 |
Dashboard /wp-admin | 2,282 ▲102 | 6.48 ▲0.87 | 136.60 ▲33.45 | 74.31 ▲26.54 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 1.95 ▲0.00 | 38.72 ▲1.87 | 35.48 ▼0.83 |
Add New Post /wp-admin/post-new.php | 1,581 ▲55 | 22.80 ▼0.51 | 707.85 ▲5.20 | 72.79 ▲20.91 |
Media Library /wp-admin/upload.php | 1,456 ▲56 | 4.10 ▼0.08 | 121.03 ▲19.14 | 45.25 ▲2.79 |
System Info. /wp-admin/admin.php?page=backup_guard_system_info | 4,477 | 4.45 | 89.92 | 176.50 |
Backups /wp-admin/admin.php?page=backup_guard_backups | 4,457 | 4.48 | 90.14 | 111.21 |
Settings /wp-admin/admin.php?page=backup_guard_settings | 4,493 | 4.52 | 72.15 | 122.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/backup/com/core/backup/SGBackup.php+7
include_once(wp-content/plugins/backup/com/lib/SGMigrate.php): failed to open stream: No such file or directory
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=backup_guard_settings
- > Warning in wp-content/plugins/backup/com/core/backup/SGBackup.php+7
include_once(wp-content/plugins/backup/com/lib/SGMigrate.php): failed to open stream: No such file or directory
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=backup_guard_settings
- > Warning in wp-content/plugins/backup/com/core/backup/SGBackup.php+7
include_once(): Failed opening 'wp-content/plugins/backup/com/lib/SGMigrate.php' for inclusion (include_path='.:/usr/share/php')
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=backup_guard_settings
- > Warning in wp-content/plugins/backup/com/core/backup/SGBackup.php+9
include_once(wp-content/plugins/backup/com/core/backup/SGBackupMailNotification.php): failed to open stream: No such file or directory
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=backup_guard_settings
- > Warning in wp-content/plugins/backup/com/core/backup/SGBackup.php+9
include_once(): Failed opening 'wp-content/plugins/backup/com/core/backup/SGBackupMailNotification.php' for inclusion (include_path='.:/usr/share/php')
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=backup_guard_settings
- > Notice in wp-content/plugins/backup/public/backups.php+8
date_default_timezone_set(): Timezone ID '+00:00' is invalid
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 130× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/backup/com/lib/BackupGuard/Core/ISGArchiveDelegate.php
- > /wp-content/plugins/backup/public/ajax/settings.php
- > /wp-content/plugins/backup/public/ajax/modalTerms.php
- > /wp-content/plugins/backup/public/ajax/getRunningActions.php
- > /wp-content/plugins/backup/com/lib/BackupGuard/Core/BGTask.php
- > /wp-content/plugins/backup/com/lib/BackupGuard/Core/SGBGStateFile.php
- > /wp-content/plugins/backup/com/core/restore/Restore.php
- > /wp-content/plugins/backup/public/videoTutorials.php
- > /wp-content/plugins/backup/com/core/backup/SGBackup.php
- > /wp-content/plugins/backup/public/support.php
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
require_once(SG_REQUEST_PATHSGRequest.php): failed to open stream: No such file or directory in wp-content/plugins/backup/com/lib/BackupGuard/Helper.php on line 15
- > PHP Warning
Use of undefined constant SG_REQUEST_PATH - assumed 'SG_REQUEST_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/backup/com/lib/Request/SGRequestAdapterWordpress.php on line 3
- > PHP Warning
include_once(Crypt/Random.php): failed to open stream: No such file or directory in wp-content/plugins/backup/com/lib/SGEncrypt.php on line 8
- > PHP Warning
include_once(): Failed opening 'Crypt/AES.php' for inclusion (include_path='SG_LIB_PATHphpseclib') in wp-content/plugins/backup/com/lib/SGEncrypt.php on line 5
- > PHP Warning
Use of undefined constant SG_REQUEST_PATH - assumed 'SG_REQUEST_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/backup/com/lib/BackupGuard/Helper.php on line 15
- > PHP Fatal error
require_once(): Failed opening required 'SG_REQUEST_PATHSGRequest.php' (include_path='.:/usr/share/php') in wp-content/plugins/backup/com/lib/BackupGuard/Helper.php on line 15
- > PHP Warning
include_once(): Failed opening 'Crypt/Random.php' for inclusion (include_path='SG_LIB_PATHphpseclib') in wp-content/plugins/backup/com/lib/SGEncrypt.php on line 8
- > PHP Fatal error
require_once(): Failed opening required 'SG_REQUEST_PATHSGIRequestAdapter.php' (include_path='.:/usr/share/php') in wp-content/plugins/backup/com/lib/Request/SGRequestAdapterWordpress.php on line 3
- > PHP Warning
Use of undefined constant SG_LIB_PATH - assumed 'SG_LIB_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/backup/com/lib/SGEncrypt.php on line 3
- > PHP Warning
include_once(Crypt/AES.php): failed to open stream: No such file or directory in wp-content/plugins/backup/com/lib/SGEncrypt.php on line 5
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: database backup, wordpress backup plugin, backup, back up, backup plugin...
backup/backup.php 92% from 13 tests
The main file in "JetBackup - WP Backup, Migrate & Restore" v. 2.0.8.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 183 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected36,757 lines of code in 204 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 159 | 3,720 | 1,444 | 15,305 |
CSS | 11 | 2,143 | 123 | 13,568 |
JavaScript | 22 | 868 | 960 | 6,584 |
SVG | 11 | 4 | 5 | 671 |
PO File | 1 | 249 | 276 | 629 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 12.49 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 282.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 8 | |
Traits | 1 | |
Classes | 90 | |
▷ Abstract classes | 7 | 7.78% |
▷ Concrete classes | 83 | 92.22% |
▷ Final classes | 0 | 0.00% |
Methods | 952 | |
▷ Static methods | 110 | 11.55% |
▷ Public methods | 762 | 80.04% |
▷ Protected methods | 10 | 1.05% |
▷ Private methods | 180 | 18.91% |
Functions | 150 | |
▷ Named functions | 145 | 96.67% |
▷ Anonymous functions | 5 | 3.33% |
Constants | 362 | |
▷ Global constants | 330 | 91.16% |
▷ Class constants | 32 | 8.84% |
▷ Public constants | 32 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
56 PNG files occupy 0.38MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/reviewBg.png | 6.34KB | 4.42KB | ▼ 30.25% |
public/img/backup-icons-old.png | 9.95KB | 5.43KB | ▼ 45.42% |
public/img/cloud-box.png | 1.34KB | 1.32KB | ▼ 1.17% |
public/img/2.png | 3.18KB | 1.35KB | ▼ 57.52% |
public/img/FAQ.png | 4.77KB | 1.03KB | ▼ 78.30% |