Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/loginid-directweb/functions/directweb.php+183
Undefined index: enable_woo_integration
Server metrics [RAM: ▼1.95MB] [CPU: ▼50.15ms] Passed 4 tests
This is a short check of server-side resources used by FIDO-certified Passwordless biometric login
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.42 | 4.33 ▼36.54 |
Dashboard /wp-admin | 2.05 ▼1.25 | 5.78 ▼44.14 |
Posts /wp-admin/edit.php | 2.06 ▼1.30 | 5.55 ▼38.90 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.83 | 5.85 ▼81.02 |
Media Library /wp-admin/upload.php | 2.06 ▼1.17 | 5.79 ▼25.94 |
LoginID DirectWeb /wp-admin/options-general.php?page=loginid-directweb | 2.06 | 6.15 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
abl_loginid_dw_version |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by FIDO-certified Passwordless biometric login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲124 | 13.61 ▼0.39 | 16.87 ▲14.77 | 39.39 ▼6.62 |
Dashboard /wp-admin | 2,213 ▲25 | 5.91 ▲1.06 | 97.38 ▼10.93 | 39.70 ▼2.46 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.01 | 35.21 ▲1.65 | 32.51 ▼2.31 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.35 ▲0.65 | 611.01 ▼70.98 | 45.19 ▼9.14 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.36 ▲0.19 | 100.03 ▼6.49 | 41.04 ▼6.08 |
LoginID DirectWeb /wp-admin/options-general.php?page=loginid-directweb | 1,081 | 2.02 | 22.19 | 37.42 |
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
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/loginid-directweb/functions/directweb.php+183
Undefined index: enable_woo_integration
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=loginid-directweb
- > Notice in wp-content/plugins/loginid-directweb/admin/admin-ui-render.php+72
Undefined index: enable_woo_integration
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: fraud prevention, oauth 20, biometrics, psd2, fido...
loginid-directweb/loginid-directweb.php Passed 13 tests
Analyzing the main PHP file in "FIDO-certified Passwordless biometric login" version 1.1.0
56 characters long description:
Provides any user the option to login without a password
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
No dangerous file extensions were detected12,545 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 5 | 0 | 0 | 9,186 |
PHP | 28 | 587 | 1,270 | 2,523 |
Markdown | 2 | 129 | 0 | 400 |
JavaScript | 4 | 30 | 32 | 329 |
CSS | 3 | 13 | 1 | 98 |
YAML | 1 | 2 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 19.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 3.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 6 | 33.33% |
▷ Concrete classes | 12 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 38 | 34.23% |
▷ Public methods | 73 | 65.77% |
▷ Protected methods | 22 | 19.82% |
▷ Private methods | 16 | 14.41% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
Constants | 40 | |
▷ Global constants | 5 | 12.50% |
▷ Class constants | 35 | 87.50% |
▷ Public constants | 31 | 88.57% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.77MB with 0.49MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo2.png | 527.74KB | 121.86KB | ▼ 76.91% |
img/plugin-dashboard.png | 33.10KB | 10.50KB | ▼ 68.27% |
img/logo.png | 43.16KB | 21.85KB | ▼ 49.37% |
img/setup-wizard.png | 131.67KB | 49.38KB | ▼ 62.50% |
img/loginid-dashboard.png | 33.86KB | 12.15KB | ▼ 64.11% |