Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼5.87ms] Passed 4 tests
A check of server-side resources used by Auth Armor – Passwordless Login
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 46.64 ▲6.93 |
Dashboard /wp-admin | 3.63 ▲0.29 | 54.59 ▼6.74 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 52.97 ▼1.21 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 93.01 ▼13.20 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 37.65 ▼2.34 |
Auth Armor Setting /wp-admin/admin.php?page=autharmor_setting | 3.43 | 32.58 |
Auth Armor Setup /wp-admin/admin.php?page=autharmor_setup_wizard | 3.53 | 35.13 |
Server storage [IO: ▲2.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
auth_armor_setup_wizard_confirm |
widget_recent-posts |
auth_armor_setup_wizard |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Auth Armor – Passwordless Login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲19 | 14.38 ▼0.34 | 1.98 ▲0.21 | 47.04 ▲0.96 |
Dashboard /wp-admin | 2,211 ▲34 | 5.59 ▲0.02 | 90.35 ▼0.81 | 41.59 ▼0.07 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 1.95 ▼0.07 | 39.04 ▲2.42 | 34.82 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.50 ▲0.05 | 610.00 ▼74.84 | 55.52 ▼6.65 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.31 ▲0.08 | 100.52 ▼8.57 | 46.83 ▲0.29 |
Auth Armor Setting /wp-admin/admin.php?page=autharmor_setting | 28 | 0.42 | 0.09 | 4.22 |
Auth Armor Setup /wp-admin/admin.php?page=autharmor_setup_wizard | 1,720 | 2.35 | 31.19 | 39.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-posts
- auth_armor_setup_wizard_confirm
- theysaidso_admin_options
- widget_theysaidso_widget
- auth_armor_setup_wizard
- widget_recent-comments
- can_compress_scripts
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=autharmor_setting
- > Network (severe)
wp-admin/admin.php?page=autharmor_setting - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: security, authentication, login, passwordless, faceid...
auth-armor-passwordless-login/auth-armor.php 69% from 13 tests
The main PHP file in "Auth Armor – Passwordless Login" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("auth-armor-passwordless-login.php" instead of "auth-armor.php")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
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 plugin3,362 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 192 | 308 | 1,462 |
CSS | 3 | 22 | 0 | 868 |
JavaScript | 4 | 62 | 101 | 791 |
SVG | 3 | 0 | 2 | 241 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 38.40 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 4.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 48 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.61MB with 0.45MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/api-step.png | 237.63KB | 63.30KB | ▼ 73.36% |
includes/images/project-step.png | 145.50KB | 30.21KB | ▼ 79.23% |
includes/images/dashboard-step.png | 226.45KB | 56.85KB | ▼ 74.90% |
includes/images/autharmor.png | 16.30KB | 5.55KB | ▼ 65.93% |