Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/all-in-one-redirection/includes/class-all-in-one-redirection.php+115
Trying to get property 'host' of non-object
Server metrics [RAM: ▼0.79MB] [CPU: ▼33.50ms] Passed 4 tests
Analyzing server-side resources used by All In One Redirection
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.01 ▼0.46 | 16.45 ▼25.68 |
Dashboard /wp-admin | 3.28 ▼0.03 | 26.41 ▼23.30 |
Posts /wp-admin/edit.php | 3.28 ▼0.08 | 27.36 ▼22.42 |
Add New Post /wp-admin/post-new.php | 3.28 ▼2.61 | 25.04 ▼62.58 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 26.77 ▼11.10 |
404 Pages List /wp-admin/admin.php?page=all-in-one-redirection-404-pages-list | 3.28 | 29.20 |
Redirection Setting /wp-admin/admin.php?page=all-in-one-redirection-setting | 3.28 | 25.58 |
Redirection /wp-admin/admin.php?page=all-in-one-redirection | 3.28 | 27.72 |
Tool /wp-admin/admin.php?page=all-in-one-redirection-tool | 3.28 | 28.66 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_all_in_one_redirection |
New WordPress options |
---|
theysaidso_admin_options |
all-in-one-redirection-setting |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
All In One Redirection: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.26 ▼0.09 | 2.05 ▼0.06 | 42.77 ▼2.62 |
Dashboard /wp-admin | 2,224 ▲47 | 5.63 ▼0.04 | 91.81 ▲1.86 | 40.44 ▼4.77 |
Posts /wp-admin/edit.php | 2,138 ▲35 | 2.03 ▲0.00 | 43.19 ▲7.37 | 36.23 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.09 ▲0.05 | 689.06 ▼5.06 | 62.92 ▲12.89 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.18 ▼0.01 | 98.83 ▼4.39 | 42.02 ▼3.98 |
404 Pages List /wp-admin/admin.php?page=all-in-one-redirection-404-pages-list | 814 | 2.16 | 25.63 | 28.43 |
Redirection Setting /wp-admin/admin.php?page=all-in-one-redirection-setting | 890 | 2.05 | 24.01 | 29.48 |
Redirection /wp-admin/admin.php?page=all-in-one-redirection | 967 | 2.00 | 23.30 | 33.00 |
Tool /wp-admin/admin.php?page=all-in-one-redirection-tool | 824 | 2.01 | 25.43 | 32.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_all_in_one_redirection
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- all-in-one-redirection-setting
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=all-in-one-redirection-tool
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=all-in-one-redirection
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: seo, all in one redirection, detect 404 page, 301 redirection, redirection...
all-in-one-redirection/all-in-one-redirection.php 92% from 13 tests
The primary PHP file in "All In One Redirection" version 2.2.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 199 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,176 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 381 | 688 | 1,651 |
CSS | 1 | 0 | 5 | 420 |
JavaScript | 1 | 15 | 27 | 105 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 39.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 199.00 |
Average method complexity | 8.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 93.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 39 | 90.70% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 9.30% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/add-icon.png | 1.30KB | 0.46KB | ▼ 64.49% |
admin/css/setting-icon.png | 2.34KB | 0.97KB | ▼ 58.42% |