Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.92ms] Passed 4 tests
A check of server-side resources used by Equalweb Accessibility
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.09 ▲4.20 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.03 ▼3.38 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.29 ▼0.99 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 87.31 ▼18.07 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 33.88 ▲2.77 |
EqualWeb /wp-admin/options-general.php?page=equalweb | 3.23 | 33.90 |
Server storage [IO: ▲4.81MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Equalweb Accessibility
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.66 ▼0.58 | 1.75 ▲0.02 | 44.69 ▲4.75 |
Dashboard /wp-admin | 2,210 ▲18 | 5.83 ▲0.92 | 96.92 ▼23.54 | 38.29 ▼3.72 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▲0.02 | 35.39 ▼1.39 | 31.65 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,536 ▲15 | 23.41 ▲0.15 | 666.69 ▲40.83 | 49.18 ▲6.09 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.15 ▼0.02 | 98.22 ▼5.39 | 41.07 ▼2.43 |
EqualWeb /wp-admin/options-general.php?page=equalweb | 1,175 | 2.03 | 23.75 | 70.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/equalweb/equalweb.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
equalweb/equalweb.php 92% from 13 tests
The main PHP script in "Equalweb Accessibility" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 144 characters long)
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
There were no executable files found in this plugin612 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 31 | 0 | 476 |
PHP | 2 | 22 | 64 | 136 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 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 | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 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 |
assets/img/wp-plugin-logo-small.png | 5.95KB | 3.56KB | ▼ 40.19% |
assets/img/wp-plugin-step-3.png | 5.45KB | 2.88KB | ▼ 47.07% |
assets/img/wp-plugin-logo.png | 13.12KB | 6.43KB | ▼ 51.03% |
assets/img/wp-plugin-step-1.png | 5.62KB | 3.06KB | ▼ 45.46% |
assets/img/wp-plugin-js-code.png | 2.40KB | 1.45KB | ▼ 39.81% |