Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼121.94ms] Passed 4 tests
Analyzing server-side resources used by Honeypot WooCommerce - WordPress AntiSpam
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 37.33 ▲8.66 |
Dashboard /wp-admin | 3.07 ▲0.02 | 60.70 ▲17.99 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 64.81 ▲17.00 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 118.78 ▼519.61 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 37.36 ▲6.19 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Honeypot WooCommerce - WordPress AntiSpam
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,696 ▲83 | 16.00 ▲0.68 | 10.40 ▲1.65 | 49.66 ▼15.63 |
Dashboard /wp-admin | 2,986 ▲55 | 5.91 ▼0.18 | 206.70 ▲47.57 | 138.26 ▲21.78 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.70 ▲0.00 | 99.56 ▲37.47 | 117.44 ▲30.47 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.28 ▼0.48 | 409.84 ▲44.00 | 130.45 ▲17.01 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▲0.02 | 208.68 ▲49.38 | 145.84 ▲24.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: antispam wordpress, security woocommerce, antispam woocommerce, seguridad, honeypot wordpress...
honeypot-woocommerce-wp-antispam/honeypot-woocommerce-wordpress-antispam.php 85% from 13 tests
The main file in "Honeypot WooCommerce - WordPress AntiSpam" v. 1.3.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("honeypot-woocommerce-wp-antispam.php" instead of "honeypot-woocommerce-wordpress-antispam.php")
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
Good job! No executable or dangerous file extensions detected167 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 45 | 127 |
PO File | 1 | 6 | 12 | 40 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin