Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼13.69ms] Passed 4 tests
Server-side resources used by Auto Login After Registration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.89 ▼2.07 |
Dashboard /wp-admin | 3.40 ▲0.05 | 43.02 ▼14.56 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 42.28 ▼1.39 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 71.31 ▼33.99 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 30.96 ▼4.12 |
Auto Login after Register /wp-admin/admin.php?page=auto_login_on_register_setting | 3.26 | 28.18 |
About Us /wp-admin/admin.php?page=about-us | 3.26 | 32.12 |
Server storage [IO: ▲0.06MB] [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: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Auto Login After Registration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 13.59 ▼1.14 | 2.43 ▼0.07 | 46.33 ▲4.38 |
Dashboard /wp-admin | 2,231 ▲43 | 4.86 ▼0.13 | 104.86 ▲6.06 | 38.70 ▲1.07 |
Posts /wp-admin/edit.php | 2,114 ▲22 | 2.04 ▲0.03 | 35.98 ▼6.33 | 35.32 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,549 ▲30 | 23.26 ▼0.02 | 640.52 ▲23.70 | 52.99 ▲4.59 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.20 ▼0.01 | 95.79 ▼6.28 | 42.43 ▼1.97 |
Auto Login after Register /wp-admin/admin.php?page=auto_login_on_register_setting | 838 | 2.03 | 24.58 | 30.79 |
About Us /wp-admin/admin.php?page=about-us | 824 | 2.03 | 29.47 | 30.96 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=auto_login_on_register_setting
- > Notice in wp-content/plugins/auto-login-after-registration/pages/auto_login_on_register_setting.php+8
Undefined index: add_opt_submit
- > GET request to /wp-admin/admin.php?page=auto_login_on_register_setting
- > Notice in wp-content/plugins/auto-login-after-registration/pages/auto_login_on_register_setting.php+29
Undefined variable: message
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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/auto-login-after-registration/auto-login-after-registration.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/auto-login-after-registration/pages/about-us.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/auto-login-after-registration/pages/auto_login_on_register_setting.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Back Auto Login After Registration setting), #2 (Front end registration form), #3 (Front end login form)
auto-login-after-registration/auto-login-after-registration.php Passed 13 tests
The entry point to "Auto Login After Registration" version 1.0.0 is a PHP file that has certain tags in its header comment area
133 characters long description:
This plugin allows users to easily add a simple user registration form and login form anywhere on their site using simple shortcode.
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
Success! There were no dangerous files found in this plugin312 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 53 | 25 | 217 |
CSS | 2 | 44 | 7 | 83 |
JavaScript | 1 | 0 | 1 | 12 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 29.68KB | 13.31KB | ▼ 55.14% |
screenshot-3.png | 6.37KB | 3.59KB | ▼ 43.66% |
screenshot-2.png | 12.92KB | 6.41KB | ▼ 50.40% |