Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/wp-dump/wp-dump.php+73
mkdir(): File exists
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.58ms] Passed 4 tests
An overview of server-side resources used by WP-Dump
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 43.51 ▼6.61 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.00 ▼1.52 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 55.95 ▲5.45 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 98.78 ▼2.14 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 39.42 ▲3.96 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP-Dump
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.35 ▼0.85 | 1.78 ▼0.46 | 49.41 ▲1.41 |
Dashboard /wp-admin | 2,221 ▲33 | 5.84 ▼0.22 | 106.24 ▼2.85 | 71.36 ▲30.89 |
Posts /wp-admin/edit.php | 2,110 ▲42 | 2.02 ▲0.02 | 39.95 ▼2.06 | 38.09 ▲1.98 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.31 ▲0.34 | 811.64 ▲124.94 | 101.86 ▲25.69 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.22 ▼0.02 | 104.05 ▼2.53 | 107.48 ▲61.25 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-dump/list.inc.php
- > /wp-content/plugins/wp-dump/wp-dump.php
- > /wp-content/plugins/wp-dump/dump.inc.php
- 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-dump/dump.inc.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function mysql_connect() in wp-content/plugins/wp-dump/dump.inc.php:110
- > PHP Warning
Use of undefined constant DB_USER - assumed 'DB_USER' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-dump/dump.inc.php on line 105
- > PHP Warning
Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-dump/dump.inc.php on line 107
- > PHP Warning
Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-dump/dump.inc.php on line 104
- > PHP Warning
Use of undefined constant WP_DUMP_DATA_DIR - assumed 'WP_DUMP_DATA_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-dump/list.inc.php on line 3
- > PHP Warning
Use of undefined constant WP_DUMP_DATA_DUMP_DB - assumed 'WP_DUMP_DATA_DUMP_DB' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-dump/dump.inc.php on line 25
- > PHP Warning
Use of undefined constant WP_DUMP_DATA_DUMP_ZIP - assumed 'WP_DUMP_DATA_DUMP_ZIP' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-dump/dump.inc.php on line 26
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-dump/dump.inc.php on line 17
- > PHP Warning
file_put_contents(ABSPATHwp-content/maintenance.php): failed to open stream: No such file or directory in wp-content/plugins/wp-dump/dump.inc.php on line 15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Screenshot #1 (Screenshot UI) image required
wp-dump/wp-dump.php Passed 13 tests
The principal PHP file in "WP-Dump" v. 1.0 is loaded by WordPress automatically on each request
33 characters long description:
dump your WordPress installation.
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
Good job! No executable or dangerous file extensions detected260 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 59 | 80 | 260 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wp-dump_128.png | 15.39KB | 6.07KB | ▼ 60.58% |
wp-dump_64.png | 6.54KB | 2.91KB | ▼ 55.43% |
wp-dump_16.png | 1.63KB | 0.80KB | ▼ 50.96% |
screenshot-1.png | 17.41KB | 7.57KB | ▼ 56.51% |
wp-dump_32.png | 3.02KB | 1.57KB | ▼ 48.09% |