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
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.40ms] Passed 4 tests
A check of server-side resources used by Authentiq
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.24 ▼4.57 |
Dashboard /wp-admin | 3.38 ▲0.07 | 44.44 ▼6.35 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.14 ▲1.95 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 94.43 ▲2.25 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.15 ▼4.61 |
Authentiq /wp-admin/options-general.php?page=authentiq | 3.49 | 32.77 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_wp_authentiq_widget |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Authentiq
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.75 ▼0.63 | 1.73 ▼0.23 | 41.73 ▼3.91 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.03 | 108.30 ▼6.73 | 42.54 ▼2.06 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.01 | 39.38 ▲2.33 | 34.64 ▲0.91 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 22.92 ▼0.39 | 584.56 ▼103.81 | 51.19 ▼7.68 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.18 ▼0.05 | 96.66 ▼2.31 | 43.35 ▼1.57 |
Authentiq /wp-admin/options-general.php?page=authentiq | 1,292 | 2.07 | 23.96 | 29.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- widget_wp_authentiq_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% 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 0% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/authentiq/admin/partials/authentiq-user-profile.php
- 24× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: button_color_scheme in wp-content/plugins/authentiq/public/partials/logged-in-state.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/authentiq/includes/personal-data-handler.php:7
- > PHP Warning
require(AUTHENTIQ_PLUGIN_DIRpublic/partials/authentiq-button.php): failed to open stream: No such file or directory in wp-content/plugins/authentiq/public/partials/woocommerce-checkout.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/authentiq/public/partials/logged-in-state.php:3
- > PHP Warning
Use of undefined constant AUTHENTIQ_PLUGIN_DIR - assumed 'AUTHENTIQ_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/authentiq/public/partials/woocommerce-checkout.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/authentiq/public/partials/authentiq-button.php:2
- > PHP Notice
Undefined variable: authorize_url in wp-content/plugins/authentiq/public/partials/authentiq-button.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/authentiq/includes/class-authentiq-widget.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_query_arg() in wp-content/plugins/authentiq/public/partials/render-back-to-authentiq.php:2
- > PHP Warning
require(AUTHENTIQ_PLUGIN_DIRpublic/partials/authentiq-button.php): failed to open stream: No such file or directory in wp-content/plugins/authentiq/public/partials/woocommerce-account.php on line 4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 38 tag instead of maximum 10
authentiq/authentiq.php Passed 13 tests
The main file in "Authentiq" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
114 characters long description:
Sign in (and sign up) to WordPress sites using the Authentiq ID app. Strong authentication, without the passwords.
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
There were no executable files found in this plugin3,066 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 708 | 1,026 | 2,469 |
PO File | 1 | 108 | 143 | 258 |
Sass | 2 | 32 | 28 | 156 |
CSS | 4 | 5 | 2 | 105 |
JSON | 1 | 0 | 0 | 41 |
JavaScript | 3 | 9 | 80 | 37 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 16.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 41 | 34.75% |
▷ Public methods | 103 | 87.29% |
▷ Protected methods | 2 | 1.69% |
▷ Private methods | 13 | 11.02% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 13 | 86.67% |
▷ Class constants | 2 | 13.33% |
▷ Public constants | 2 | 100.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
No PNG files were detected