Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼154.07ms] Passed 4 tests
This is a short check of server-side resources used by Simple Redirection
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 30.72 ▲8.23 |
Dashboard /wp-admin | 3.06 ▲0.00 | 31.68 ▼8.69 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 32.29 ▼5.01 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 68.22 ▼603.29 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 24.14 ▲0.72 |
Redirection /wp-admin/options-general.php?page=eelv_redirection | 2.98 | 19.85 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Simple Redirection
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,671 ▲70 | 15.59 ▼0.21 | 5.39 ▼3.02 | 78.51 ▲0.94 |
Dashboard /wp-admin | 2,938 ▲39 | 6.11 ▼0.01 | 115.37 ▼21.54 | 162.34 ▼11.27 |
Posts /wp-admin/edit.php | 2,748 ▲8 | 3.24 ▲0.02 | 63.12 ▼3.25 | 141.30 ▼0.70 |
Add New Post /wp-admin/post-new.php | 3,810 ▲111 | 18.52 ▲0.31 | 460.69 ▼2.09 | 164.31 ▼2.57 |
Media Library /wp-admin/upload.php | 1,757 ▲8 | 5.49 ▼0.02 | 140.86 ▼21.66 | 186.08 ▼15.80 |
Redirection /wp-admin/options-general.php?page=eelv_redirection | 1,132 | 2.37 | 54.72 | 119.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
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
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 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/eelv-redirection/eelv_redirection.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
Attributes that need to be fixed:
- Donate link: Invalid url: ""
eelv-redirection/eelv_redirection.php 92% from 13 tests
The primary PHP file in "Simple Redirection" version 1.5 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("eelv-redirection.php" instead of "eelv_redirection.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin880 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 2 | 2 | 711 |
PHP | 1 | 12 | 15 | 128 |
PO File | 1 | 13 | 15 | 41 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
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 | 1 | |
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 | 8 | |
▷ Named functions | 8 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-512x512.png | 23.78KB | 9.08KB | ▼ 61.81% |
assets/banner-1544x500.png | 29.15KB | 10.49KB | ▼ 64.02% |
assets/banner-772x250.png | 13.13KB | 5.73KB | ▼ 56.38% |
assets/icon-256x256.png | 11.94KB | 5.29KB | ▼ 55.67% |