Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.23MB] [CPU: ▼48.96ms] Passed 4 tests
A check of server-side resources used by Password only login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.71 | 14.26 ▼25.20 |
Dashboard /wp-admin | 2.79 ▼0.56 | 14.68 ▼52.41 |
Posts /wp-admin/edit.php | 2.79 ▼0.57 | 17.05 ▼36.34 |
Add New Post /wp-admin/post-new.php | 2.79 ▼3.10 | 15.16 ▼81.88 |
Media Library /wp-admin/upload.php | 2.79 ▼0.44 | 16.17 ▼16.93 |
Password only login /wp-admin/options-general.php?page=password-only-login/admin.php | 2.79 | 17.32 |
Server storage [IO: ▲0.01MB] [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: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Password only login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.17 ▼1.39 | 1.53 ▼0.25 | 40.67 ▲1.63 |
Dashboard /wp-admin | 2,207 ▲19 | 5.76 ▲0.86 | 97.07 ▼15.11 | 41.62 ▲0.82 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.00 ▼0.03 | 39.79 ▲2.68 | 39.17 ▲5.21 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.27 ▲5.76 | 606.68 ▼93.29 | 62.67 ▲3.49 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▼0.05 | 97.24 ▼13.51 | 43.65 ▼6.57 |
Password only login /wp-admin/options-general.php?page=password-only-login/admin.php | 783 | 2.05 | 27.14 | 26.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/password-only-login/index.php+21
Undefined index: a
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
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
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=password-only-login/admin.php
- > Notice in wp-content/plugins/password-only-login/index.php+21
Undefined index: a
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=password-only-login/admin.php
- > Notice in wp-content/plugins/password-only-login/admin.php+59
Trying to access array offset on value of type bool
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 items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/password-only-login/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/password-only-login/admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% 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
Attributes that require attention:
- Donate link: Invalid URI found ("")
password-only-login/index.php 85% from 13 tests
Analyzing the main PHP file in "Password only login" version 0.2
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 536 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("password-only-login.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin156 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 79 | 25 | 156 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin