Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/cleverwise-redirect-it/ria.php+948
Undefined variable: sql
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.67ms] Passed 4 tests
An overview of server-side resources used by Cleverwise Redirect It
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.74 ▲3.97 |
Dashboard /wp-admin | 3.42 ▲0.08 | 50.05 ▼15.84 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 45.53 ▼4.49 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.11 | 82.26 ▼12.42 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 36.75 ▲2.07 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_redirect_it |
New WordPress options |
---|
redirect_it_version |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Cleverwise Redirect It: 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,812 ▲66 | 14.74 ▲0.36 | 1.75 ▲0.14 | 41.51 ▼0.13 |
Dashboard /wp-admin | 2,218 ▲30 | 5.87 ▼0.01 | 108.63 ▲4.80 | 42.08 ▲0.78 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.05 ▲0.02 | 36.13 ▲2.13 | 31.73 ▼2.62 |
Add New Post /wp-admin/post-new.php | 1,524 ▲5 | 17.68 ▼5.30 | 685.52 ▲105.77 | 56.63 ▲1.80 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.29 ▲0.09 | 94.97 ▼6.33 | 39.48 ▼3.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/cleverwise-redirect-it/index.php on line 32
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/cleverwise-redirect-it/ria.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/cleverwise-redirect-it/index.php:38
- > PHP Notice
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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Plugin Name: Please specify the plugin name on the first line (
=== cleverwise-redirect-it ===
)
cleverwise-redirect-it/index.php 85% from 13 tests
The primary PHP file in "Cleverwise Redirect It" version 2.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 719 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cleverwise-redirect-it.php" instead of "index.php")
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
No dangerous file extensions were detected906 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 174 | 205 | 906 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
There were not PNG files found in your plugin