Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.59ms] Passed 4 tests
A check of server-side resources used by WS Redirect WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.10 ▼2.34 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.35 ▼5.50 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 43.15 ▼6.06 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 79.54 ▼16.47 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.68 ▲2.65 |
WS Redirect WP /wp-admin/options-general.php?page=ws-redirect-wp-settings | 3.22 | 32.71 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
wsredirect-wp-active-option |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WS Redirect WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▲0.02 | 1.75 ▲0.01 | 44.01 ▼0.97 |
Dashboard /wp-admin | 2,196 ▲16 | 5.51 ▼0.18 | 86.11 ▼14.77 | 37.40 ▼7.35 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.00 ▲0.00 | 34.45 ▼6.31 | 34.78 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.00 ▼0.22 | 678.18 ▲9.35 | 56.33 ▲2.86 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.22 ▲0.07 | 105.19 ▼5.72 | 46.68 ▼1.37 |
WS Redirect WP /wp-admin/options-general.php?page=ws-redirect-wp-settings | 834 | 2.03 | 28.22 | 28.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WS_Redirect_WP::ws_redirect_wp_plugin_deactivated() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
ws-redirect-wp/ws-redirect-wp.php Passed 13 tests
The entry point to "WS Redirect WP" version 1.0.7 is a PHP file that has certain tags in its header comment area
45 characters long description:
Redirecting web page visitor to external page
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
There were no executable files found in this plugin134 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 19 | 10 | 99 |
PO File | 1 | 10 | 12 | 33 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin