Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.62MB] [CPU: ▼14.61ms] Passed 4 tests
This is a short check of server-side resources used by Passwordless Login
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.03 ▼4.45 |
Dashboard /wp-admin | 3.36 ▲0.05 | 52.29 ▼0.35 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 51.68 ▲6.57 |
Add New Post /wp-admin/post-new.php | 3.23 ▼2.66 | 38.41 ▼53.45 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.48 ▼0.17 |
Heslo Login /wp-admin/options-general.php?page=heslo-login-settings | 3.25 | 32.29 |
Server storage [IO: ▲1.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
abl_heslo_login_version |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Passwordless Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲65 | 13.94 ▼0.44 | 1.87 ▲0.08 | 44.32 ▼0.92 |
Dashboard /wp-admin | 2,199 ▲25 | 5.57 ▼0.04 | 131.87 ▲28.06 | 38.63 ▼6.13 |
Posts /wp-admin/edit.php | 2,104 ▲22 | 2.01 ▲0.00 | 41.80 ▲7.33 | 34.24 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.49 ▲0.45 | 684.17 ▼6.53 | 59.93 ▼3.50 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.29 ▲0.10 | 100.24 ▼3.03 | 44.91 ▼2.25 |
Heslo Login /wp-admin/options-general.php?page=heslo-login-settings | 846 | 2.59 | 63.76 | 27.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/heslo-login/heslo-login.php:22
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: security, identity, fido, authentication, login
heslo-login/heslo-login.php Passed 13 tests
The entry point to "Passwordless Login" version 1.0.2 is a PHP file that has certain tags in its header comment area
57 characters long description:
Passwordless login for your users using Touch and Face ID
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin557 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 57 | 48 | 247 |
JavaScript | 5 | 28 | 40 | 174 |
Markdown | 1 | 45 | 0 | 73 |
HTML | 2 | 0 | 0 | 32 |
JSON | 1 | 0 | 0 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 20 | |
▷ Named functions | 16 | 80.00% |
▷ Anonymous functions | 4 | 20.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.46MB with 0.33MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/settings.png | 159.57KB | 43.28KB | ▼ 72.88% |
img/header.png | 313.62KB | 93.39KB | ▼ 70.22% |