Benchmarks
Plugin footprint 83% 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: ▲0.21MB] [CPU: ▼2.63ms] Passed 4 tests
Server-side resources used by The WP Remote WordPress Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 37.85 ▼5.29 |
Dashboard /wp-admin | 3.57 ▲0.22 | 47.04 ▼16.19 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 52.01 ▲4.87 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 97.88 ▲14.63 |
Media Library /wp-admin/upload.php | 3.43 ▲0.19 | 41.00 ▲6.10 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by The WP Remote WordPress Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲63 | 14.34 ▼0.37 | 1.57 ▼0.35 | 34.54 ▼13.21 |
Dashboard /wp-admin | 2,219 ▲42 | 5.55 ▼0.05 | 92.38 ▼11.08 | 85.68 ▲42.65 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.08 ▲0.13 | 39.42 ▼1.09 | 32.01 ▼4.72 |
Add New Post /wp-admin/post-new.php | 1,693 ▲167 | 22.35 ▼0.79 | 672.71 ▲17.46 | 53.23 ▼5.31 |
Media Library /wp-admin/upload.php | 1,418 ▲15 | 4.07 ▼0.13 | 98.07 ▼0.94 | 61.99 ▲21.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WPRAccount' not found in wp-content/plugins/wpremote/admin/components/list_accounts.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wpremote/admin/components/form.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wpremote/admin/components/header_top.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wpremote/admin/components/features_list.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wpremote/maintenance/template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wpremote/admin/components/header_top.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wpremote/admin/components/header_top.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wpremote/admin/components/footer.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wpremote/admin/components/testimony.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: wordpress backup, backup, remote administration, multiple wordpress, wpremote
wpremote/plugin.php 92% from 13 tests
The main file in "The WP Remote WordPress Plugin" v. 5.42 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wpremote.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin11,383 lines of code in 70 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 66 | 1,792 | 119 | 10,697 |
SVG | 2 | 0 | 1 | 684 |
CSS | 2 | 0 | 6 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 32.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 248.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 5 | |
Classes | 50 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 50 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 804 | |
▷ Static methods | 76 | 9.45% |
▷ Public methods | 600 | 74.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 204 | 25.37% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 123 | |
▷ Global constants | 3 | 2.44% |
▷ Class constants | 120 | 97.56% |
▷ Public constants | 120 | 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 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon.png | 0.34KB | 0.31KB | ▼ 10.29% |
img/gowp_new.png | 4.65KB | 2.58KB | ▼ 44.61% |
img/maintainn.png | 3.62KB | 1.99KB | ▼ 45.07% |
img/sitecare.png | 3.43KB | 2.10KB | ▼ 38.95% |
img/valet.png | 4.80KB | 2.18KB | ▼ 54.55% |