Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.11ms] Passed 4 tests
A check of server-side resources used by After Login Redirect
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.04 ▼13.15 |
Dashboard /wp-admin | 3.32 ▼0.03 | 54.17 ▼7.58 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.10 ▲7.00 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.85 ▼16.21 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.15 ▲4.50 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for After Login Redirect
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲56 | 14.39 ▲0.18 | 1.97 ▲0.39 | 37.50 ▼2.65 |
Dashboard /wp-admin | 2,223 ▲46 | 5.74 ▲0.15 | 84.87 ▼0.53 | 38.15 ▼3.57 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.44 ▲0.41 | 40.37 ▲6.06 | 36.06 ▼2.33 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.50 ▼0.19 | 605.36 ▼63.72 | 34.23 ▼18.96 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.55 ▲0.37 | 97.34 ▼9.61 | 43.24 ▼4.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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
Even though no errors were found, 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
- 10× 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/wp-after-login-redirect-advanced/includes/enqueue.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-after-login-redirect-advanced/includes/functions.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function get_users() in wp-content/plugins/wp-after-login-redirect-advanced/includes/templates/id.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_users() in wp-content/plugins/wp-after-login-redirect-advanced/includes/templates/username.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-after-login-redirect-advanced/includes/dashboard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_users() in wp-content/plugins/wp-after-login-redirect-advanced/includes/templates/lastname.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_users() in wp-content/plugins/wp-after-login-redirect-advanced/includes/templates/email.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_users() in wp-content/plugins/wp-after-login-redirect-advanced/includes/templates/firstname.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-after-login-redirect-advanced/public/redirect.php:94
- > PHP Fatal error
Uncaught Error: Call to undefined function get_editable_roles() in wp-content/plugins/wp-after-login-redirect-advanced/includes/templates/role.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
wp-after-login-redirect-advanced/wp-login-redirect-advanced.php 92% from 13 tests
The main PHP file in "After Login Redirect" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-after-login-redirect-advanced.php" instead of "wp-login-redirect-advanced.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected8,260 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 1,033 | 7 | 7,678 |
PHP | 12 | 111 | 27 | 471 |
JavaScript | 3 | 36 | 10 | 111 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
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 | 0 | |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected