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.34MB] [CPU: ▲1.53ms] Passed 4 tests
Analyzing server-side resources used by Magic Emails & Autologin URLs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 38.28 ▼1.06 |
Dashboard /wp-admin | 3.68 ▲0.38 | 50.82 ▲2.75 |
Posts /wp-admin/edit.php | 3.73 ▲0.38 | 53.05 ▲5.61 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 87.54 ▼1.17 |
Media Library /wp-admin/upload.php | 3.54 ▲0.32 | 41.83 ▲7.25 |
Autologin URLs /wp-admin/options-general.php?page=bh-wp-autologin-urls | 3.54 | 36.73 |
Logs /wp-admin/admin.php?page=bh-wp-autologin-urls-logs | 3.59 | 36.80 |
Server storage [IO: ▲2.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 342 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_autologin_urls |
New WordPress options |
---|
bh_wp_autologin_urls_db_version |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
bh-wp-autologin-urls-last-logs-view-time |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Magic Emails & Autologin URLs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲51 | 14.64 ▲0.02 | 1.68 ▼0.20 | 37.37 ▼5.57 |
Dashboard /wp-admin | 2,218 ▲41 | 5.59 ▼0.01 | 85.91 ▼1.08 | 41.69 ▲2.58 |
Posts /wp-admin/edit.php | 2,126 ▲29 | 2.09 ▲0.07 | 37.76 ▲0.70 | 35.67 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.31 ▲0.38 | 668.15 ▲30.35 | 57.90 ▲5.82 |
Media Library /wp-admin/upload.php | 1,426 ▲23 | 4.23 ▲0.05 | 95.26 ▼0.48 | 43.58 ▲1.41 |
Autologin URLs /wp-admin/options-general.php?page=bh-wp-autologin-urls | 951 | 2.07 | 23.43 | 35.29 |
Logs /wp-admin/admin.php?page=bh-wp-autologin-urls-logs | 978 | 2.49 | 32.33 | 29.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- bh_wp_autologin_urls_db_version
- widget_recent-posts
- widget_recent-comments
- bh-wp-autologin-urls-last-logs-view-time
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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 following issues need your attention
- 179× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'BrianHenryIE\\WP_Autologin_URLs\\Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/bh-wp-autologin-urls/vendor-prefixed/guzzlehttp/psr7/src/Uri.php:23
- > PHP Fatal error
Uncaught Error: Interface 'BrianHenryIE\\WP_Autologin_URLs\\Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/bh-wp-autologin-urls/vendor-prefixed/psr/http-client/src/RequestExceptionInterface.php:20
- > PHP Fatal error
Uncaught Error: Class 'BrianHenryIE\\WP_Autologin_URLs\\WP_Private_Uploads\\API\\API' not found in wp-content/plugins/bh-wp-autologin-urls/vendor-prefixed/brianhenryie/bh-wp-private-uploads/src/class-private-uploads.php:25
- > PHP Fatal error
Uncaught Error: Class 'BrianHenryIE\\WP_Autologin_URLs\\GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/bh-wp-autologin-urls/vendor-prefixed/guzzlehttp/guzzle/src/Exception/ServerException.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Log\\LoggerInterface' not found in wp-content/plugins/bh-wp-autologin-urls/vendor-prefixed/brianhenryie/bh-wp-logger/src/woocommerce/class-wc-psr-logger.php:32
- > PHP Fatal error
Uncaught Error: Interface 'BrianHenryIE\\WP_Autologin_URLs\\Klaviyo\\Model\\ModelInterface' not found in wp-content/plugins/bh-wp-autologin-urls/vendor-prefixed/klaviyo/sdk/lib/Model/PrivacyEmail.php:49
- > PHP Fatal error
Uncaught Error: Interface 'BrianHenryIE\\WP_Autologin_URLs\\Klaviyo\\Model\\ModelInterface' not found in wp-content/plugins/bh-wp-autologin-urls/vendor-prefixed/klaviyo/sdk/lib/Model/TrackPayloadCustomerProperties.php:49
- > PHP Fatal error
Uncaught Error: Class 'BrianHenryIE\\WP_Autologin_URLs\\Spatie\\Backtrace\\Arguments\\ReducedArgument\\ReducedArgument' not found in wp-content/plugins/bh-wp-autologin-urls/vendor-prefixed/spatie/backtrace/src/Arguments/ReducedArgument/VariadicReducedArgument.php:13
- > PHP Fatal error
Uncaught Error: Interface 'BrianHenryIE\\WP_Autologin_URLs\\Spatie\\Backtrace\\Arguments\\ReducedArgument\\ReducedArgumentContract' not found in wp-content/plugins/bh-wp-autologin-urls/vendor-prefixed/spatie/backtrace/src/Arguments/ReducedArgument/UnReducedArgument.php:11
- > PHP Fatal error
Uncaught Error: Interface 'BrianHenryIE\\WP_Autologin_URLs\\Klaviyo\\Model\\ModelInterface' not found in wp-content/plugins/bh-wp-autologin-urls/vendor-prefixed/klaviyo/sdk/lib/Model/RenderedTemplate.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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 require attention:
- Screenshots: These screenshots lack descriptions #10, #3, #4, #5, #6, #7, #8, #9 in bh-wp-autologin-urls/assets to your readme.txt
bh-wp-autologin-urls/bh-wp-autologin-urls.php Passed 13 tests
The main PHP file in "Magic Emails & Autologin URLs" ver. 2.3.0 adds more information about the plugin and also serves as the entry point for this plugin
44 characters long description:
Log in users via emails sent from WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin36,495 lines of code in 338 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 324 | 8,795 | 27,985 | 35,697 |
JavaScript | 9 | 173 | 212 | 631 |
CSS | 4 | 28 | 7 | 98 |
Markdown | 1 | 32 | 0 | 69 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 13.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 460.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 50 | |
Interfaces | 48 | |
Traits | 7 | |
Classes | 254 | |
▷ Abstract classes | 4 | 1.57% |
▷ Concrete classes | 250 | 98.43% |
▷ Final classes | 42 | 16.80% |
Methods | 2,856 | |
▷ Static methods | 496 | 17.37% |
▷ Public methods | 2,603 | 91.14% |
▷ Protected methods | 112 | 3.92% |
▷ Private methods | 141 | 4.94% |
Functions | 281 | |
▷ Named functions | 21 | 7.47% |
▷ Anonymous functions | 260 | 92.53% |
Constants | 221 | |
▷ Global constants | 2 | 0.90% |
▷ Class constants | 219 | 99.10% |
▷ Public constants | 202 | 92.24% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin