Benchmarks
Plugin footprint 65% 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.00MB] [CPU: ▼13.21ms] Passed 4 tests
An overview of server-side resources used by ezRedirect
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.98 ▼7.87 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.05 ▼20.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.99 ▲1.69 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.08 ▼22.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.76 ▼1.82 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ezredirect |
New WordPress options |
---|
ezredirect-dbversion |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
ezRedirect: 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,818 ▲32 | 14.35 ▼0.04 | 2.05 ▲0.26 | 42.99 ▲0.15 |
Dashboard /wp-admin | 2,202 ▲28 | 5.63 ▼0.01 | 97.04 ▲2.54 | 42.08 ▼0.47 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▲0.03 | 38.38 ▲1.51 | 36.89 ▲4.24 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 18.17 ▼4.96 | 620.02 ▼82.58 | 61.03 ▼7.79 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.23 ▲0.03 | 98.34 ▲1.72 | 42.27 ▲1.44 |
ezRedirect /wp-admin/ezredirect.php | 26 | 0.42 | 0.08 | 18.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_ezredirect
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- ezredirect-dbversion
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ezredirect/ezredirect.php:50
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/ezredirect.php
- > Network (severe)
wp-admin/ezredirect.php - Failed to load resource: the server responded with a status of 404 (Not 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 (The redirection management screen)
ezredirect/ezredirect.php Passed 13 tests
The entry point to "ezRedirect" version 1.0.1 is a PHP file that has certain tags in its header comment area
60 characters long description:
Allows creation of URL that redirects to pages or other URLs
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected349 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 60 | 75 | 282 |
PO File | 1 | 24 | 29 | 67 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 7.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 5 | 71.43% |
▷ Protected methods | 1 | 14.29% |
▷ Private methods | 1 | 14.29% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 29.96KB | 12.28KB | ▼ 59.03% |