Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/formidable-honeypot/formidable-honeypot.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; WPBizFrmHoneypot has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼55.31ms] Passed 4 tests
A check of server-side resources used by Formidable Honeypot
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.66 ▼40.13 |
Dashboard /wp-admin | 2.08 ▼1.22 | 6.89 ▼45.66 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 5.59 ▼44.87 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 6.73 ▼90.59 |
Media Library /wp-admin/upload.php | 2.08 ▼1.14 | 6.48 ▼27.51 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Formidable Honeypot
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.16 ▼1.07 | 2.36 ▲0.27 | 44.51 ▼1.49 |
Dashboard /wp-admin | 2,206 ▲21 | 5.89 ▲0.99 | 95.50 ▼14.55 | 38.07 ▼6.44 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.06 | 35.17 ▼3.14 | 33.35 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.17 ▲0.07 | 611.03 ▼83.38 | 54.52 ▼5.09 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.02 | 98.39 ▼7.15 | 44.54 ▼1.84 |
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
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/formidable-honeypot/formidable-honeypot.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; WPBizFrmHoneypot has a deprecated constructor
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
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
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/formidable-honeypot/formidable-honeypot.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== formidable-honeypot ===
)
formidable-honeypot/formidable-honeypot.php Passed 13 tests
The entry point to "Formidable Honeypot" version 0.2 is a PHP file that has certain tags in its header comment area
55 characters long description:
Add invisible SPAM protection to your Formidable forms.
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
Good job! No executable or dangerous file extensions detected71 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 21 | 71 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.23 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 6.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin