Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.95ms] 75% from 4 tests
A check of server-side resources used by Page Redirects - Redirect any Post, Page or Product
It is recommended to improve the following
- CPU: Total CPU usage must kept under 500.00ms (currently 1,474.36ms on /wp-admin/options-general.php?page=pluginsclub_redirect_url)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.72 ▼4.27 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.13 ▼6.00 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.72 ▼7.36 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 93.17 ▼14.16 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.46 ▼2.97 |
Redirects /wp-admin/options-general.php?page=pluginsclub_redirect_url | 3.23 | 1,474.36 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Page Redirects - Redirect any Post, Page or Product
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.30 ▼0.94 | 5.00 ▲3.18 | 46.60 ▲3.81 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.04 | 109.20 ▼0.75 | 41.83 ▼4.97 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.01 | 40.68 ▲0.96 | 36.24 ▲1.79 |
Add New Post /wp-admin/post-new.php | 6,233 ▲4,719 | 26.18 ▲8.63 | 926.51 ▲226.10 | 55.14 ▼15.18 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▲0.01 | 112.43 ▲3.42 | 48.23 ▲5.83 |
Redirects /wp-admin/options-general.php?page=pluginsclub_redirect_url | 876 | 2.02 | 25.22 | 25.14 |
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 were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 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
6 plugin tags: redirect, post redirect, 301, page redirects, page redirect...
page-redirects/page-redirects.php 92% from 13 tests
The main PHP script in "Page Redirects - Redirect any Post, Page or Product" version 1.2 is automatically included on every request by WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 141 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin663 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 12 | 3 | 488 |
PHP | 2 | 26 | 22 | 175 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 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.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/pluginsclub_logo_black.png | 22.36KB | 10.65KB | ▼ 52.36% |