Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.70MB] [CPU: ▲1.74ms] Passed 4 tests
A check of server-side resources used by Temporary Login Without Password
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.70 | 49.00 ▲7.43 |
Dashboard /wp-admin | 4.01 ▲0.70 | 48.32 ▲2.52 |
Posts /wp-admin/edit.php | 4.06 ▲0.70 | 50.23 ▼0.07 |
Add New Post /wp-admin/post-new.php | 6.61 ▲0.72 | 84.54 ▼1.88 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 38.79 ▲6.40 |
Temporary Logins /wp-admin/users.php?page=wp-temporary-login-without-password | 4.51 | 493.29 |
Server storage [IO: ▲0.61MB] [DB: ▲0.05MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
tlwp_plugin_version |
db_upgraded |
widget_theysaidso_widget |
tlwp_plugin_activation_time |
widget_recent-posts |
can_compress_scripts |
temporary_logins_data |
Browser metrics Passed 4 tests
Temporary Login Without Password: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.30 ▼0.99 | 1.78 ▼0.16 | 37.05 ▼8.69 |
Dashboard /wp-admin | 2,215 ▲30 | 4.86 ▼0.95 | 110.24 ▼9.44 | 39.01 ▼3.76 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.04 ▲0.04 | 34.79 ▼6.18 | 33.52 ▼0.36 |
Add New Post /wp-admin/post-new.php | 1,536 ▲13 | 23.31 ▲0.02 | 681.88 ▲13.36 | 63.01 ▲5.87 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.31 ▲0.11 | 97.88 ▲0.74 | 41.11 ▼3.43 |
Temporary Logins /wp-admin/users.php?page=wp-temporary-login-without-password | 1,909 | 2.10 | 29.41 | 42.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 9 options in the database
- theysaidso_admin_options
- tlwp_plugin_activation_time
- widget_theysaidso_widget
- db_upgraded
- tlwp_plugin_version
- can_compress_scripts
- temporary_logins_data
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/temporary-login-without-password/templates/new-login.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/temporary-login-without-password/templates/temporary-logins-settings.php:9
- > PHP Notice
Undefined variable: is_temporary_login in wp-content/plugins/temporary-login-without-password/templates/admin-settings.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'Wp_Temporary_Login_Without_Password_Layout' not found in wp-content/plugins/temporary-login-without-password/templates/list-temporary-logins.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/temporary-login-without-password/templates/update-login.php:9
- > PHP Fatal error
Uncaught Error: Class 'Wtlwp_Sytem_Info' not found in wp-content/plugins/temporary-login-without-password/templates/system-info.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/temporary-login-without-password/includes/feedback.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/temporary-login-without-password/templates/admin-settings.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/temporary-login-without-password/templates/other-plugins.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
5 plugin tags: passwordless login, magic pin, developer access, secure login, temporary access
temporary-login-without-password/temporary-login-without-password.php 92% from 13 tests
"Temporary Login Without Password" version 1.8.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 142 characters long)
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
Success! There were no dangerous files found in this plugin8,976 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 1,102 | 1,519 | 4,139 |
JavaScript | 7 | 657 | 367 | 2,681 |
CSS | 7 | 87 | 30 | 1,625 |
PO File | 3 | 229 | 270 | 531 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 41.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 154.00 |
Average method complexity | 4.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 132 | |
▷ Static methods | 53 | 40.15% |
▷ Public methods | 127 | 96.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.79% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/sa-includes/images/ig_bfcm2022.png | 47.24KB | 50.32KB | 0.00% |
admin/assets/images/icon-64.png | 4.74KB | 2.31KB | ▼ 51.27% |