Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.57MB] [CPU: ▲1.93ms] Passed 4 tests
A check of server-side resources used by Backup and Restore WordPress - Backup Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 44.86 ▼2.47 |
Dashboard /wp-admin | 5.39 ▲2.05 | 62.16 ▼10.51 |
Posts /wp-admin/edit.php | 5.44 ▲2.09 | 66.82 ▲5.67 |
Add New Post /wp-admin/post-new.php | 7.95 ▲2.07 | 116.89 ▲15.01 |
Media Library /wp-admin/upload.php | 5.25 ▲2.02 | 52.95 ▲15.20 |
Settings /wp-admin/admin.php?page=wp-backitup-settings | 5.30 | 50.41 |
Backup /wp-admin/admin.php?page=wp-backitup-backup | 5.54 | 56.95 |
Get Premium /wp-admin/admin.php?page=wp-backitup-about&tab=premium | 5.37 | 46.73 |
Support /wp-admin/admin.php?page=wp-backitup-support | 6.10 | 51.86 |
About /wp-admin/admin.php?page=wp-backitup-about | 5.37 | 47.21 |
Server storage [IO: ▲2.62MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- Illegal file modification detected: 6 files (0.49KB) outside of "wp-content/plugins/wp-backitup/" and "wp-content/uploads/"
- (new file) wp-content/wpbackitup_restore/index.html
- (new file) wp-content/wpbackitup_backups/index.html
- (new file) wp-content/wpbackitup_backups/.htaccess
- (new file) wp-content/wpbackitup_restore/web.config
- (new file) wp-content/wpbackitup_backups/web.config
- (new file) wp-content/wpbackitup_restore/.htaccess
Filesystem: 115 new files
Database: 3 new tables, 12 new options
New tables |
---|
wp_wpbackitup_job_items |
wp_wpbackitup_job_control |
wp_wpbackitup_job_tasks |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
wp-backitup_major_version |
widget_recent-posts |
wp-backitup_logging |
can_compress_scripts |
theysaidso_admin_options |
wp-backitup_db_version |
wp-backitup_site_id |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Backup and Restore WordPress - Backup Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲82 | 14.29 ▼0.32 | 1.87 ▲0.42 | 43.71 ▼1.75 |
Dashboard /wp-admin | 2,252 ▲72 | 5.58 ▼0.05 | 92.61 ▲0.09 | 40.34 ▼9.06 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 2.03 ▲0.00 | 39.11 ▼1.90 | 37.96 ▼2.75 |
Add New Post /wp-admin/post-new.php | 1,565 ▲38 | 22.97 ▼0.13 | 662.32 ▼41.55 | 55.16 ▼3.60 |
Media Library /wp-admin/upload.php | 1,454 ▲54 | 4.15 ▼0.03 | 97.49 ▼14.46 | 44.24 ▼3.30 |
Settings /wp-admin/admin.php?page=wp-backitup-settings | 2,054 | 6.25 | 92.06 | 53.59 |
Backup /wp-admin/admin.php?page=wp-backitup-backup | 1,951 | 5.64 | 98.12 | 58.68 |
Get Premium /wp-admin/admin.php?page=wp-backitup-about&tab=premium | 1,364 | 4.46 | 49.70 | 105.40 |
Support /wp-admin/admin.php?page=wp-backitup-support | 1,140 | 4.64 | 45.22 | 65.92 |
About /wp-admin/admin.php?page=wp-backitup-about | 1,312 | 4.45 | 45.39 | 87.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure failed, leaving 3 tables in the database
- wp_wpbackitup_job_tasks
- wp_wpbackitup_job_items
- wp_wpbackitup_job_control
- This plugin does not fully uninstall, leaving 12 options in the database
- wp-backitup_major_version
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- wp-backitup_site_id
- wp-backitup_db_version
- theysaidso_admin_options
- wp-backitup_logging
- db_upgraded
- wp-backitup_minor_version
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 33× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/wp-backitup/lib/includes/class-encryption.php
- > /wp-content/plugins/wp-backitup/lib/includes/class-job-scheduler.php
- > /wp-content/plugins/wp-backitup/lib/includes/class-backup.php
- > /wp-content/plugins/wp-backitup/lib/includes/class-license.php
- > /wp-content/plugins/wp-backitup/lib/includes/class-database.php
- > /wp-content/plugins/wp-backitup/lib/includes/class-job.php
- > /wp-content/plugins/wp-backitup/lib/includes/class-api.php
- > /wp-content/plugins/wp-backitup/lib/includes/class-loggerV2.php
- > /wp-content/plugins/wp-backitup/wp-backitup.php
- > /wp-content/plugins/wp-backitup/lib/includes/class-cleanup.php
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
include_once(WPBACKITUP__PLUGIN_PATH/lib/includes/class-filesystem.php): failed to open stream: No such file or directory in wp-content/plugins/wp-backitup/lib/background-processing/class-directory-cleanup-processor.php on line 4
- > PHP Warning
include_once(): Failed opening 'WPBACKITUP__PLUGIN_PATH/lib/includes/class-filesystem.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-backitup/lib/background-processing/class-file-cleanup-processor.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WPBackItUp_Background_Process' not found in wp-content/plugins/wp-backitup/lib/background-processing/class-task-processor.php:15
- > PHP Warning
Use of undefined constant WPBACKITUP__PLUGIN_PATH - assumed 'WPBACKITUP__PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-backitup/lib/background-processing/class-cleanup-processor.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WPBackItUp_Background_Process' not found in wp-content/plugins/wp-backitup/lib/background-processing/class-cleanup-processor.php:18
- > PHP Warning
include_once(): Failed opening 'WPBACKITUP__PLUGIN_PATH/lib/includes/class-filesystem.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-backitup/lib/background-processing/class-cleanup-processor.php on line 4
- > PHP Warning
Use of undefined constant WPBACKITUP__PLUGIN_PATH - assumed 'WPBACKITUP__PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-backitup/lib/background-processing/class-directory-cleanup-processor.php on line 4
- > PHP Warning
include_once(): Failed opening 'WPBACKITUP__PLUGIN_PATH/lib/includes/class-filesystem.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-backitup/lib/background-processing/class-directory-cleanup-processor.php on line 4
- > PHP Warning
Use of undefined constant WPBACKITUP__PLUGIN_PATH - assumed 'WPBACKITUP__PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-backitup/lib/background-processing/class-file-cleanup-processor.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WPBackItUp_Background_Process' not found in wp-content/plugins/wp-backitup/lib/background-processing/class-file-cleanup-processor.php:18
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-backitup/wp-backitup.php Passed 13 tests
"Backup and Restore WordPress - Backup Plugin" version 1.43's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
85 characters long description:
Backup your content, settings, themes, plugins and media in just a few simple clicks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin14,966 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 4,793 | 7,163 | 14,943 |
JavaScript | 8 | 0 | 19 | 17 |
CSS | 6 | 2 | 24 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 43.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 351.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 2 | 5.13% |
▷ Concrete classes | 37 | 94.87% |
▷ Final classes | 0 | 0.00% |
Methods | 731 | |
▷ Static methods | 88 | 12.04% |
▷ Public methods | 588 | 80.44% |
▷ Protected methods | 55 | 7.52% |
▷ Private methods | 88 | 12.04% |
Functions | 44 | |
▷ Named functions | 44 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 110 | |
▷ Global constants | 50 | 45.45% |
▷ Class constants | 60 | 54.55% |
▷ Public constants | 60 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
31 PNG files occupy 0.49MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/support_page.png | 64.57KB | 67.53KB | 0.00% |
images/success.png | 0.82KB | 0.83KB | 0.00% |
images/support_portal.png | 105.00KB | 50.66KB | ▼ 51.75% |
css/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
images/active_plugins_1.14.png | 17.57KB | 18.46KB | 0.00% |