Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.90MB] [CPU: ▼32.79ms] Passed 4 tests
A check of server-side resources used by WP login/out link with login popup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 24.17 ▼14.88 |
Dashboard /wp-admin | 3.04 ▼0.27 | 24.82 ▼26.14 |
Posts /wp-admin/edit.php | 3.04 ▼0.32 | 23.92 ▼19.46 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.85 | 22.16 ▼70.68 |
Media Library /wp-admin/upload.php | 3.04 ▼0.19 | 21.48 ▼14.64 |
Login/Logout settings /wp-admin/options-general.php?page=login-logout-settings | 3.04 | 24.22 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
WLOG_status |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP login/out link with login popup
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲223 | 13.61 ▼0.68 | 9.04 ▲6.81 | 38.89 ▼11.82 |
Dashboard /wp-admin | 2,208 ▲20 | 5.85 ▲0.92 | 98.82 ▼16.54 | 39.44 ▼5.86 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.04 ▲0.02 | 40.33 ▲4.93 | 35.12 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 23.35 ▲5.89 | 605.62 ▼69.23 | 67.90 ▲16.99 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.40 ▲0.19 | 102.00 ▲1.54 | 44.04 ▲2.54 |
Login/Logout settings /wp-admin/options-general.php?page=login-logout-settings | 981 | 1.70 | 26.34 | 27.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/wp-loginout-link-with-login-popup/includes/load-options.php+34
Undefined index: _update_sett_nonce
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=login-logout-settings
- > Notice in wp-content/plugins/wp-loginout-link-with-login-popup/includes/load-options.php+34
Undefined index: _update_sett_nonce
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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-loginout-link-with-login-popup/wlog-login.php:27
- > 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 issues were found
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
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (**Redirection Setting menu** - Redirection Setting menu.), #2 (**Redirection Setting page** - Setting page for redirection link.), #3 (**Login Link** - Duplicate page on click of duplicate link.), #4 (**Login Popup** - Open popup on click of login link.)
wp-loginout-link-with-login-popup/wlog-login.php 92% from 13 tests
Analyzing the main PHP file in "WP login/out link with login popup" version 1.0
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-loginout-link-with-login-popup.php" instead of "wlog-login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin560 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 10 | 355 |
JavaScript | 2 | 5 | 0 | 107 |
CSS | 2 | 6 | 3 | 98 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 33.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 5.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin