Benchmarks
Plugin footprint 40% 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
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/wurdey/class/WurdeyChild.class.php+85
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼47.97ms] Passed 4 tests
This is a short check of server-side resources used by Wurdey
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.94 ▼33.07 |
Dashboard /wp-admin | 2.05 ▼1.26 | 10.69 ▼38.02 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 8.12 ▼41.62 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.27 ▼79.17 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.76 ▼26.76 |
wurdey Server Information /wp-admin/options-general.php?page=WurdeyChildServerInformation | 2.05 | 5.61 |
wurdey Restore /wp-admin/import.php?page=wurdey-child-restore | 2.05 | 8.03 |
wurdey Restore /wp-admin/options-general.php?page=WurdeyRestore | 2.05 | 6.11 |
wurdey Settings /wp-admin/options-general.php?page=WurdeySettings | 2.05 | 6.82 |
Server storage [IO: ▲0.81MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 72 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Wurdey
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲206 | 14.04 ▼0.64 | 6.32 ▲4.60 | 31.53 ▼9.82 |
Dashboard /wp-admin | 2,220 ▲32 | 5.88 ▲1.01 | 107.94 ▼2.74 | 84.95 ▲42.73 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 1.98 ▼0.04 | 38.73 ▼1.68 | 40.08 ▲3.20 |
Add New Post /wp-admin/post-new.php | 1,554 ▲25 | 23.18 ▲4.62 | 687.39 ▲48.15 | 48.94 ▼6.97 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.23 ▲0.07 | 94.60 ▼4.38 | 82.28 ▲39.30 |
wurdey Server Information /wp-admin/options-general.php?page=WurdeyChildServerInformation | 1,399 | 2.02 | 23.74 | 33.73 |
wurdey Restore /wp-admin/import.php?page=wurdey-child-restore | 28 | 0.44 | 0.07 | 3.78 |
wurdey Restore /wp-admin/options-general.php?page=WurdeyRestore | 963 | 2.25 | 28.72 | 37.63 |
wurdey Settings /wp-admin/options-general.php?page=WurdeySettings | 837 | 2.01 | 24.51 | 33.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/wurdey/class/WurdeyChild.class.php+85
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=WurdeySettings
- > Deprecated in wp-content/plugins/wurdey/class/WurdeyChild.class.php+85
Function create_function() is deprecated
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=WurdeySettings
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wurdey handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=WurdeyChildServerInformation
- > Notice in wp-content/plugins/wurdey/class/WurdeyChildServerInformation.class.php+640
Undefined index: HTTP_REFERER
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=WurdeyRestore
- > Notice in wp-content/plugins/wurdey/class/WurdeyHelper.class.php+669
A non well formed numeric value encountered
SRP 50% 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
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
include_once(): Failed opening 'ABSPATH/wp-admin/includes/file.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wurdey/class/WurdeyChild.class.php on line 6
- > PHP Warning
include_once(): Failed opening 'ABSPATH/wp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wurdey/class/WurdeyChild.class.php on line 7
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wurdey/wurdey-helper.php on line 12
- > PHP Warning
include_once(ABSPATHwp-includes/version.php): failed to open stream: No such file or directory in wp-content/plugins/wurdey/wurdey-helper.php on line 12
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-includes/version.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wurdey/wurdey-helper.php on line 12
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wurdey/class/WurdeyChild.class.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wurdey/wurdey-helper.php:14
- > PHP Warning
include_once(ABSPATH/wp-admin/includes/file.php): failed to open stream: No such file or directory in wp-content/plugins/wurdey/class/WurdeyChild.class.php on line 6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wurdey/class/WurdeyChild.class.php on line 6
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wurdey/wurdey-helper.php on line 14
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/import.php?page=wurdey-child-restore
- > Network (severe)
wp-admin/import.php?page=wurdey-child-restore - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 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
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (Detailed Reporting)
- Donate link: Please fix this invalid URI: ""
wurdey/wurdey-helper.php 85% from 13 tests
The entry point to "Wurdey" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wurdey.php" instead of "wurdey-helper.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 166 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin12,457 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 1,646 | 1,462 | 11,011 |
PO File | 5 | 456 | 999 | 1,037 |
JavaScript | 4 | 47 | 72 | 368 |
CSS | 3 | 7 | 10 | 41 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 124.26 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 744.00 |
Average method complexity | 5.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 482 | |
▷ Static methods | 182 | 37.76% |
▷ Public methods | 421 | 87.34% |
▷ Protected methods | 54 | 11.20% |
▷ Private methods | 7 | 1.45% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
30 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/1.10.4/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
images/wurdey-activation.png | 5.85KB | 2.92KB | ▼ 50.06% |
css/1.11.1/images/ui-bg_gloss-wave_35_f6a828_500x100.png | 5.72KB | 1.83KB | ▼ 67.99% |
css/1.10.4/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
css/1.10.4/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.26KB | 0.15KB | ▼ 42.37% |