Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲4.37MB] [CPU: ▲27.31ms] 75% from 4 tests
Server-side resources used by Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
Please fix the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,071.27ms on /wp-admin/admin.php?page=boldgrid-backup-test)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.41 ▼7.02 |
Dashboard /wp-admin | 9.51 ▲6.17 | 3,145.89 ▲3,083.98 |
Posts /wp-admin/edit.php | 9.20 ▲5.84 | 99.70 ▲52.32 |
Add New Post /wp-admin/post-new.php | 11.70 ▲5.82 | 122.80 ▲10.07 |
Media Library /wp-admin/upload.php | 9.02 ▲5.80 | 86.52 ▲53.86 |
Web Server /wp-admin/admin.php?page=boldgrid-backup-web-server | 9.00 | 74.32 |
Premium Features /wp-admin/admin.php?page=boldgrid-backup-premium-features | 9.07 | 82.32 |
Dashboard /wp-admin/admin.php?page=boldgrid-backup-dashboard | 9.07 | 127.49 |
Preflight Check /wp-admin/admin.php?page=boldgrid-backup-test | 9.70 | 1,071.27 |
FTP Settings /wp-admin/admin.php?page=boldgrid-backup-ftp | 9.05 | 74.82 |
Tools /wp-admin/admin.php?page=boldgrid-backup-tools | 9.14 | 79.68 |
Backup Archives /wp-admin/admin.php?page=boldgrid-backup | 9.11 | 77.89 |
Transfers /wp-admin/admin.php?page=boldgrid-backup-transfers | 9.12 | 76.43 |
Support /wp-admin/admin.php?page=boldgrid-backup-support | 9.11 | 78.12 |
Server storage [IO: ▲3.51MB] [DB: ▲0.04MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 430 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
boldgrid_backup_environment |
can_compress_scripts |
boldgrid_settings |
db_upgraded |
boldgrid_plugin_page_notices |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,217 ▲471 | 13.50 ▼0.87 | 1.56 ▼0.19 | 39.68 ▼5.47 |
Dashboard /wp-admin | 2,605 ▲414 | 5.42 ▲0.50 | 113.88 ▲13.02 | 90.18 ▲48.66 |
Posts /wp-admin/edit.php | 2,386 ▲294 | 2.44 ▲0.42 | 43.47 ▲7.18 | 35.25 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,634 ▲101 | 21.95 ▼1.03 | 675.03 ▲1.25 | 38.47 ▼11.46 |
Media Library /wp-admin/upload.php | 1,703 ▲315 | 4.49 ▲0.28 | 98.25 ▼2.31 | 49.00 ▲5.54 |
Web Server /wp-admin/admin.php?page=boldgrid-backup-web-server | 1,076 | 2.18 | 39.77 | 21.03 |
Premium Features /wp-admin/admin.php?page=boldgrid-backup-premium-features | 1,895 | 2.46 | 39.28 | 68.95 |
Dashboard /wp-admin/admin.php?page=boldgrid-backup-dashboard | 1,910 | 2.49 | 42.53 | 61.57 |
BoldGrid Connect /wp-admin/boldgrid-connect.php | 26 | 0.44 | 0.08 | 13.63 |
Preflight Check /wp-admin/admin.php?page=boldgrid-backup-test | 2,035 | 2.48 | 36.94 | 34.18 |
FTP Settings /wp-admin/admin.php?page=boldgrid-backup-ftp | 1,176 | 2.14 | 32.94 | 19.92 |
Tools /wp-admin/admin.php?page=boldgrid-backup-tools | 1,878 | 2.31 | 40.52 | 35.72 |
Backup Archives /wp-admin/admin.php?page=boldgrid-backup | 1,721 | 2.49 | 36.46 | 31.23 |
Transfers /wp-admin/admin.php?page=boldgrid-backup-transfers | 1,840 | 2.60 | 39.97 | 31.93 |
Support /wp-admin/admin.php?page=boldgrid-backup-support | 1,744 | 2.48 | 36.32 | 33.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- can_compress_scripts
- boldgrid_backup_environment
- boldgrid_plugin_page_notices
- widget_theysaidso_widget
- boldgrid_settings
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=boldgrid-backup-test
- > Warning in wp-admin/includes/class-wp-filesystem-direct.php+503
filesize(): stat failed for .htaccess.bgb
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=boldgrid-backup-test
- > Warning in wp-admin/includes/class-wp-filesystem-direct.php+39
file_get_contents(wp-content/plugins/boldgrid-backup/cron/cron-test.result): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=boldgrid-backup-test
- > Warning in wp-includes/functions.php+7434
unlink(wp-content/plugins/boldgrid-backup/cron/cron-test.config): No such file or directory
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
Please fix the following items
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/boldgrid-backup/cron/cli-support.php
- > /wp-content/plugins/boldgrid-backup/vendor/boldgrid/tdcron/test.php
- > /wp-content/plugins/boldgrid-backup/cron/run-jobs.php
- > /wp-content/plugins/boldgrid-backup/boldgrid-backup-cron.php
- > /wp-content/plugins/boldgrid-backup/cli/wp-test.php
- 91× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Boldgrid\\Library\\Library\\Ui\\Card' not found in wp-content/plugins/boldgrid-backup/admin/card/class-plugin-editor-tools.php:24
- > PHP Fatal error
Uncaught Error: Class 'Boldgrid\\Library\\Library\\Ui\\Feature' not found in wp-content/plugins/boldgrid-backup/admin/card/feature/class-speed-coach.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Boldgrid\\Backup\\Admin\\Cron\\Entry\\Entry' not found in wp-content/plugins/boldgrid-backup/admin/cron/entry/class-base.php:25
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/boldgrid-backup/admin/partials/remote/ftp.php on line 21
- > PHP Fatal error
Uncaught Error: Class 'Boldgrid\\Library\\Library\\Ui\\Feature' not found in wp-content/plugins/boldgrid-backup/admin/card/feature/class-versions.php:21
- > PHP Fatal error
Uncaught Error: Class 'Boldgrid\\Library\\Library\\Ui\\Feature' not found in wp-content/plugins/boldgrid-backup/admin/card/feature/class-more-central.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/boldgrid-backup/vendor/boldgrid/library/src/Library/Views/InvalidLicense.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/boldgrid-backup/admin/partials/remote/ftp.php on line 26
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/boldgrid-backup/vendor/boldgrid/library/tests/Library/Library/test-activity.php:21
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/boldgrid-backup/vendor/boldgrid/library/tests/Util/test-option.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/boldgrid-connect.php
- > Network (severe)
wp-admin/boldgrid-connect.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=boldgrid-backup-ftp
- > Rendering (severe) in unknown
/wp-admin/admin.php?page=boldgrid-backup-ftp 383 Pattern attribute value [A-Za-z0-9-_]+ is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /[A-Za-z0-9-_]+/v: Invalid character class
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: cloud backup, database backup, restore, backup, wordpress backup
boldgrid-backup/boldgrid-backup.php 92% from 13 tests
The principal PHP file in "Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid" v. 1.15.7 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 159 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected55,135 lines of code in 395 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 323 | 10,761 | 35,671 | 48,734 |
JavaScript | 29 | 916 | 1,818 | 3,148 |
CSS | 22 | 312 | 198 | 1,657 |
Markdown | 8 | 327 | 0 | 777 |
JSON | 6 | 0 | 0 | 413 |
PO File | 1 | 80 | 105 | 247 |
Bourne Shell | 1 | 15 | 7 | 59 |
YAML | 2 | 10 | 11 | 54 |
SVG | 2 | 0 | 0 | 27 |
XML | 1 | 0 | 0 | 19 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 109)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 27.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 634.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 109.00 |
Code structure | ||
---|---|---|
Namespaces | 35 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 249 | |
▷ Abstract classes | 5 | 2.01% |
▷ Concrete classes | 244 | 97.99% |
▷ Final classes | 0 | 0.00% |
Methods | 2,077 | |
▷ Static methods | 183 | 8.81% |
▷ Public methods | 1,942 | 93.50% |
▷ Protected methods | 22 | 1.06% |
▷ Private methods | 113 | 5.44% |
Functions | 40 | |
▷ Named functions | 17 | 42.50% |
▷ Anonymous functions | 23 | 57.50% |
Constants | 214 | |
▷ Global constants | 39 | 18.22% |
▷ Class constants | 175 | 81.78% |
▷ Public constants | 175 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/image/remote/google-drive-logo.png | 2.06KB | 2.06KB | 0.00% |
admin/image/remote/dreamhost-logo.png | 3.03KB | 3.03KB | 0.00% |
admin/image/icon-128x128.png | 1.50KB | 1.29KB | ▼ 14.05% |
admin/image/remote/google-drive.png | 5.13KB | 5.13KB | 0.00% |
admin/image/remote/amazon-s3-logo.png | 4.87KB | 4.96KB | 0.00% |