Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/wow-server-status-widget/wow-server-status-widget.php+76
Methods with the same name as their class will not be constructors in a future version of PHP; Wow_SS_Widget has a deprecated constructor
Server metrics [RAM: ▼1.90MB] [CPU: ▼53.22ms] Passed 4 tests
Analyzing server-side resources used by WOW Server Status Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.75 ▼38.69 |
Dashboard /wp-admin | 2.11 ▼1.20 | 5.89 ▼42.23 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 5.91 ▼39.02 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 7.33 ▼92.94 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 6.79 ▼24.55 |
WOW Server Status Widget /wp-admin/options-general.php?page=wow_ss_options | 2.11 | 5.47 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 68 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_wow-ss-widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WOW Server Status Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.51 ▲0.08 | 1.89 ▲0.22 | 45.68 ▲3.81 |
Dashboard /wp-admin | 2,210 ▲19 | 5.79 ▼0.11 | 94.40 ▼4.44 | 38.53 ▼2.21 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.03 | 35.72 ▲0.22 | 31.54 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.32 ▼0.01 | 662.93 ▼62.55 | 52.96 ▲6.63 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.23 ▼0.02 | 105.71 ▲8.97 | 46.86 ▲3.44 |
WOW Server Status Widget /wp-admin/options-general.php?page=wow_ss_options | 830 | 2.05 | 23.73 | 26.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/wow-server-status-widget/wow-server-status-widget.php+76
Methods with the same name as their class will not be constructors in a future version of PHP; Wow_SS_Widget has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- widget_wow-ss-widget
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wow_ss_options
- > Deprecated in wp-content/plugins/wow-server-status-widget/wow-server-status-widget.php+76
Methods with the same name as their class will not be constructors in a future version of PHP; Wow_SS_Widget has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wow_ss_options
- > Notice in wp-content/plugins/wow-server-status-widget/inc/admin.php+46
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=wow_ss_options
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in Wow_SS_Widget is deprecated since version 4.3.0! Use __construct() instead.
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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wow-server-status-widget/wow_ss.php
- 19× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined index: realm in wp-content/plugins/wow-server-status-widget/wow_ss.php on line 64
- > PHP Notice
Undefined index: update_timer in wp-content/plugins/wow-server-status-widget/lib/wow_ss.php on line 66
- > PHP Notice
Undefined index: region in wp-content/plugins/wow-server-status-widget/wow_ss.php on line 64
- > PHP Notice
Undefined index: update_timer in wp-content/plugins/wow-server-status-widget/wow_ss.php on line 64
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wow-server-status-widget/inc/admin.php:5
- > PHP Notice
Undefined index: display in wp-content/plugins/wow-server-status-widget/wow_ss.php on line 64
- > PHP Notice
Undefined index: data_path in wp-content/plugins/wow-server-status-widget/wow_ss.php on line 64
- > PHP Notice
Undefined index: data_path in wp-content/plugins/wow-server-status-widget/lib/wow_ss.php on line 66
- > PHP Notice
Undefined index: xml in wp-content/plugins/wow-server-status-widget/lib/wow_ss.php on line 112
- > PHP Notice
Undefined index: apikey in wp-content/plugins/wow-server-status-widget/lib/wow_ss.php on line 66
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (Here is how it looks)
wow-server-status-widget/wow-server-status-widget.php Passed 13 tests
"WOW Server Status Widget" version 1.0.13's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
61 characters long description:
Add WOW Server Status 4.1 badge to your site by a few clicks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,220 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 302 | 460 | 1,206 |
SVG | 2 | 0 | 0 | 8 |
Markdown | 1 | 2 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 35.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 11.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 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
26 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wowss/high.png | 1.00KB | 0.80KB | ▼ 19.86% |
wowss/low.png | 0.92KB | 0.77KB | ▼ 15.64% |
wowss/down2.png | 3.07KB | 2.94KB | ▼ 4.33% |
wowss/up2.png | 3.14KB | 3.00KB | ▼ 4.32% |
wowss/error.png | 1.82KB | 1.59KB | ▼ 12.82% |