Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/awebsome-online-registered-users-widget/awebsome-oruw.php+17
Function create_function() is deprecated
Server metrics [RAM: ▼1.82MB] [CPU: ▼58.72ms] Passed 4 tests
A check of server-side resources used by Awebsome! Online Registered Users Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 4.81 ▼46.50 |
Dashboard /wp-admin | 2.18 ▼1.12 | 6.58 ▼45.36 |
Posts /wp-admin/edit.php | 2.18 ▼1.17 | 5.78 ▼41.25 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.70 | 6.18 ▼101.77 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 7.05 ▼30.86 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_awebsome_oruw |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Awebsome! Online Registered Users Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲74 | 14.35 ▼0.00 | 1.67 ▼0.31 | 43.55 ▲0.51 |
Dashboard /wp-admin | 2,246 ▲72 | 5.57 ▼0.10 | 90.91 ▼7.67 | 37.83 ▼4.01 |
Posts /wp-admin/edit.php | 2,079 ▼24 | 1.98 ▲0.02 | 38.23 ▲3.85 | 35.60 ▼2.57 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.11 ▲0.07 | 671.62 ▲20.86 | 60.19 ▲9.65 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.11 ▲0.00 | 109.74 ▲6.68 | 47.81 ▲5.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/awebsome-online-registered-users-widget/awebsome-oruw.php+17
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_awebsome_oruw
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/awebsome-online-registered-users-widget/awebsome-oruw.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Show gravatars, show links, show categorization), #2 (No gravatars, no links, no categorization), #3 (Show gravatars, no links, no categorization), #4 (Show gravatars, no links, show categorization), #5 (Show gravatars, show links, no categorization), #6 (No gravatars, show links, no categorization), #7 (No gravatars, no links, show categorization), #8 (No gravatar, show links, show categorization), #9 (Dashboard widget)
awebsome-online-registered-users-widget/awebsome-oruw.php 92% from 13 tests
The entry point to "Awebsome! Online Registered Users Widget" version 2.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("awebsome-online-registered-users-widget.php" instead of "awebsome-oruw.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected259 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 63 | 168 | 220 |
CSS | 2 | 22 | 10 | 39 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 40.00 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.26MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-8.png | 14.92KB | 5.09KB | ▼ 65.91% |
screenshot-5.png | 23.38KB | 6.25KB | ▼ 73.28% |
screenshot-1.png | 27.32KB | 7.46KB | ▼ 72.68% |
screenshot-4.png | 27.00KB | 7.44KB | ▼ 72.45% |
screenshot-7.png | 14.52KB | 5.03KB | ▼ 65.38% |