Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼13.24ms] Passed 4 tests
An overview of server-side resources used by Enable/Disable Auto Login when Register
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.16 ▼1.51 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.43 ▼9.36 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.99 ▼0.92 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 83.86 ▼22.61 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.15 ▼19.46 |
Auto Login when Resister /wp-admin/options-general.php?page=auto_login_when_register_setting | 3.26 | 32.46 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Enable/Disable Auto Login when Register: 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,793 ▲32 | 14.35 ▼0.38 | 1.64 ▼0.37 | 37.93 ▼10.30 |
Dashboard /wp-admin | 2,199 ▲25 | 5.57 ▲0.03 | 90.56 ▲0.82 | 44.96 ▲0.82 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.02 | 38.85 ▼0.23 | 38.51 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 18.37 ▼4.60 | 614.36 ▼63.91 | 69.22 ▲4.31 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.28 ▲0.12 | 95.89 ▼23.03 | 43.18 ▼7.69 |
Auto Login when Resister /wp-admin/options-general.php?page=auto_login_when_register_setting | 829 | 2.00 | 24.17 | 29.44 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=auto_login_when_register_setting
- > Notice in wp-content/plugins/auto-login-when-resister/pages/auto_login_when_register_setting.php+8
Undefined index: add_opt_submit
- > GET request to /wp-admin/options-general.php?page=auto_login_when_register_setting
- > Notice in wp-content/plugins/auto-login-when-resister/pages/auto_login_when_register_setting.php+27
Undefined variable: message
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/auto-login-when-resister/auto-login-when-resister.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/auto-login-when-resister/pages/auto_login_when_register_setting.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% 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: Screenshot #1 (Back End Auto Login when Resister setting) image not found
auto-login-when-resister/auto-login-when-resister.php Passed 13 tests
Analyzing the main PHP file in "Enable/Disable Auto Login when Register" version 1.0.0
76 characters long description:
The plugin provides feature to enable/disable auto login when user register
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
Everything looks great! No dangerous files found in this plugin77 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 16 | 77 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 19.59KB | 11.70KB | ▼ 40.31% |