Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.29MB] [CPU: ▼21.89ms] Passed 4 tests
An overview of server-side resources used by WooCommerce Login Redirect
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▼0.56 | 20.83 ▼22.60 |
Dashboard /wp-admin | 3.20 ▼0.15 | 36.05 ▼25.67 |
Posts /wp-admin/edit.php | 3.28 ▼0.08 | 37.85 ▼20.99 |
Add New Post /wp-admin/post-new.php | 5.52 ▼0.37 | 83.51 ▼18.29 |
Media Library /wp-admin/upload.php | 3.22 ▼0.01 | 26.35 ▼9.93 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wlr_version |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
wlr_installed |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Login Redirect
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.21 ▼0.15 | 1.69 ▼0.06 | 42.50 ▼3.67 |
Dashboard /wp-admin | 2,214 ▲34 | 5.65 ▼0.00 | 85.96 ▼3.39 | 39.11 ▼2.72 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 1.97 ▲0.01 | 36.98 ▼1.54 | 35.82 ▲2.66 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.25 ▲0.29 | 654.94 ▼34.74 | 54.85 ▲1.75 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.18 ▼0.01 | 94.20 ▼19.40 | 41.78 ▼6.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- wlr_version
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- wlr_installed
Smoke tests Passed 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 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
The SRP test was a success
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 93% 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
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #2 in woo-login-redirect/assets to your readme.txt
woo-login-redirect/woo-login-redirect.php 92% from 13 tests
The principal PHP file in "WooCommerce Login Redirect" v. 2.2.4 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected374 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 134 | 201 | 365 |
JavaScript | 4 | 4 | 1 | 8 |
CSS | 2 | 1 | 2 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 11.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 43 | |
▷ Static methods | 8 | 18.60% |
▷ Public methods | 41 | 95.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.65% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
There are no PNG files in this plugin