Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▲3.16ms] Passed 4 tests
An overview of server-side resources used by 301 Redirects - Easy Redirect Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.37 | 43.01 ▲4.47 |
Dashboard /wp-admin | 3.80 ▲0.50 | 49.24 ▲0.35 |
Posts /wp-admin/edit.php | 3.79 ▲0.44 | 50.15 ▲2.16 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.37 | 95.39 ▲11.62 |
Media Library /wp-admin/upload.php | 3.60 ▲0.37 | 39.55 ▲5.64 |
301 Redirects /wp-admin/options-general.php?page=eps_redirects | 3.56 | 37.17 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 45 new files
Database: 1 new table, 15 new options
New tables |
---|
wp_redirects |
New WordPress options |
---|
eps_redirects_import-export |
eps_redirects_support |
eps_redirects_redirects |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
eps_redirects_pro |
eps_pointers |
301-redirects-notices |
eps_redirects_404s |
... |
Browser metrics Passed 4 tests
301 Redirects - Easy Redirect Manager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲150 | 13.76 ▼0.65 | 1.76 ▲0.17 | 41.85 ▲2.15 |
Dashboard /wp-admin | 2,299 ▲113 | 5.07 ▼0.84 | 116.59 ▲14.52 | 50.86 ▲9.64 |
Posts /wp-admin/edit.php | 2,145 ▲56 | 2.31 ▲0.32 | 46.15 ▲10.87 | 37.28 ▲6.03 |
Add New Post /wp-admin/post-new.php | 1,532 ▲11 | 23.36 ▲0.19 | 610.94 ▼66.27 | 34.99 ▼26.50 |
Media Library /wp-admin/upload.php | 1,438 ▲50 | 4.37 ▲0.17 | 102.62 ▲0.30 | 47.41 ▲5.06 |
301 Redirects /wp-admin/options-general.php?page=eps_redirects | 1,521 | 2.68 | 53.01 | 76.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 12 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- eps_redirects_redirects
- widget_recent-posts
- db_upgraded
- eps_redirects_pro
- eps_redirects_import-export
- eps_redirects_404s
- eps_redirects_link-scanner
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=eps_redirects
- > Notice in wp-content/plugins/eps-301-redirects/libs/eps-plugin-options.php+319
Undefined index: class
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 16× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/eps-301-redirects/templates/template.redirect-entry-edit.php
- > /wp-content/plugins/eps-301-redirects/eps-301-redirects.php
- > /wp-content/plugins/eps-301-redirects/plugin.php
- > /wp-content/plugins/eps-301-redirects/templates/admin-panel-donate.php
- > /wp-content/plugins/eps-301-redirects/templates/template.redirect-entry.php
- > /wp-content/plugins/eps-301-redirects/templates/admin-tab-error.php
- > /wp-content/plugins/eps-301-redirects/templates/admin-tab-404s.php
- > /wp-content/plugins/eps-301-redirects/templates/admin-tab-support.php
- > /wp-content/plugins/eps-301-redirects/templates/admin-panel-cache.php
- > /wp-content/plugins/eps-301-redirects/templates/template.redirect-entry-edit-inline.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Interface 'epsdonatj\\UserAgent\\UserAgentInterface' not found in wp-content/plugins/eps-301-redirects/libs/UserAgent/UserAgent.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There are too many tags (13 tag instead of maximum 10)
eps-301-redirects/eps-301-redirects.php 92% from 13 tests
The entry point to "301 Redirects - Easy Redirect Manager" version 2.73 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "3.6")
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
No dangerous file extensions were detected3,415 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 514 | 725 | 2,474 |
CSS | 2 | 118 | 29 | 672 |
JavaScript | 3 | 46 | 59 | 269 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 18.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 95 | |
▷ Static methods | 41 | 43.16% |
▷ Public methods | 86 | 90.53% |
▷ Protected methods | 1 | 1.05% |
▷ Private methods | 8 | 8.42% |
Functions | 17 | |
▷ Named functions | 13 | 76.47% |
▷ Anonymous functions | 4 | 23.53% |
Constants | 77 | |
▷ Global constants | 4 | 5.19% |
▷ Class constants | 73 | 94.81% |
▷ Public constants | 73 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wp-301-logo-full.png | 1.57KB | 1.49KB | ▼ 4.68% |
images/wp-301-logo.png | 6.33KB | 3.09KB | ▼ 51.22% |
wf-flyout/icons/wp-reset.png | 3.11KB | 2.28KB | ▼ 26.85% |
wf-flyout/icons/301-logo.png | 6.33KB | 3.09KB | ▼ 51.22% |
images/icon-check.png | 2.30KB | 1.67KB | ▼ 27.44% |