Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.15ms] Passed 4 tests
A check of server-side resources used by Ublux wspp
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.40 ▲3.59 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.41 ▲4.68 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.18 ▼0.80 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.97 ▼20.19 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.19 ▲0.81 |
Ublux wspp settings /wp-admin/options-general.php?page=ublux_wspp | 3.21 | 31.26 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- Illegal file modification found: 2 files (0.00KB) outside of "wp-content/plugins/ublux-wsp/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/ublux-wsp/assets/banner-1544\303\227500.png"
- (new file) "wp-content/plugins/ublux-wsp/assets/icon-256\303\227256.png"
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ublux wspp
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲132 | 13.44 ▼0.84 | 8.45 ▲6.69 | 47.19 ▲7.77 |
Dashboard /wp-admin | 2,206 ▲32 | 5.53 ▼0.09 | 82.53 ▼5.07 | 38.05 ▼3.99 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.03 ▼0.01 | 36.25 ▲0.11 | 32.88 ▲1.34 |
Add New Post /wp-admin/post-new.php | 1,545 ▲8 | 18.25 ▼0.01 | 609.45 ▼47.32 | 64.24 ▲0.87 |
Media Library /wp-admin/upload.php | 1,405 ▲8 | 4.22 ▲0.03 | 94.44 ▼23.60 | 41.30 ▼7.48 |
Ublux wspp settings /wp-admin/options-general.php?page=ublux_wspp | 916 | 1.67 | 22.33 | 23.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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
Please fix the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/ublux-wsp/settings_form.php
- > /wp-content/plugins/ublux-wsp/index.php
- > /wp-content/plugins/ublux-wsp/wspp_widget.php
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (Bubble: screenshot-1)
ublux-wsp/index.php 92% from 13 tests
The main PHP script in "Ublux wspp" version 1.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("ublux-wsp.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin321 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 31 | 9 | 175 |
CSS | 1 | 22 | 0 | 116 |
JavaScript | 1 | 7 | 0 | 30 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 6 | |
▷ Named functions | 6 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.14MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544×500.png | 62.09KB | 16.41KB | ▼ 73.57% |
(invalid) assets/wspp_logo.png | 34.95KB | 0.00KB | ▼ 100.00% |
assets/wspp_close.png | 0.80KB | 0.90KB | 0.00% |
assets/icon-256×256.png | 34.59KB | 14.09KB | ▼ 59.27% |
assets/wspp_send.png | 15.90KB | 6.52KB | ▼ 59.01% |