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
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.01ms] Passed 4 tests
An overview of server-side resources used by Autentify anti fraud for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.84 ▼4.15 |
Dashboard /wp-admin | 3.36 ▲0.06 | 51.27 ▼1.19 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 49.51 ▼4.94 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 85.69 ▼17.76 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 38.61 ▲0.83 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
autentify_api_token |
widget_recent-posts |
widget_recent-comments |
autentify_auto_order_check |
Browser metrics Passed 4 tests
Checking browser requirements for Autentify anti fraud for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 14.48 ▲0.10 | 1.96 ▲0.35 | 42.81 ▲2.25 |
Dashboard /wp-admin | 2,238 ▲47 | 4.87 ▼0.03 | 101.24 ▲0.83 | 43.12 ▲0.18 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 1.99 ▼0.00 | 35.22 ▼6.23 | 36.05 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 23.57 ▲6.04 | 663.07 ▲52.76 | 64.33 ▲2.16 |
Media Library /wp-admin/upload.php | 1,414 ▲29 | 4.21 ▲0.04 | 99.94 ▼0.92 | 46.49 ▲3.15 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autentify-anti-fraud-for-woocommerce/includes/admin-menu.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/autentify-anti-fraud-for-woocommerce/includes/user_roles.php on line 2
- > PHP Warning
require_once(ABSPATH/wp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/autentify-anti-fraud-for-woocommerce/includes/user_roles.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/autentify-anti-fraud-for-woocommerce/includes/autentify_activator.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/autentify-anti-fraud-for-woocommerce/includes/autentify_deactivator.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autentify-anti-fraud-for-woocommerce/app/actions/autentify_autenti_mail_actions.php:63
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-includes/pluggable.php' (include_path='.:/usr/share/php') in wp-content/plugins/autentify-anti-fraud-for-woocommerce/includes/user_roles.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autentify-anti-fraud-for-woocommerce/app/actions/autentify_user_checks_actions.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
7 plugin tags: antifraud, fraud, intelligence, analyze, safety...
autentify-anti-fraud-for-woocommerce/autentify.php 77% from 13 tests
This is the main PHP file of "Autentify anti fraud for WooCommerce" version 2.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 198 characters long)
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("autentify-anti-fraud-for-woocommerce.php" instead of "autentify.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,115 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 222 | 209 | 1,022 |
JavaScript | 1 | 6 | 0 | 43 |
CSS | 1 | 4 | 0 | 29 |
PO File | 1 | 0 | 2 | 21 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 11 | 17.19% |
▷ Public methods | 45 | 70.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 29.69% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
PNG images were not found in this plugin