90% honeypot-for-forminator-form

Code Review | Honeypot Anti Spam for Forminator Forms

WordPress plugin Honeypot Anti Spam for Forminator Forms scored90%from 54 tests.

About plugin

  • Plugin page: honeypot-for-form...
  • Plugin version: 0.2.1
  • PHP compatiblity: 5.6.20+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.4
  • WordPress version: 6.3.1
  • First release: Apr 25, 2023
  • Latest release: Nov 1, 2023
  • Number of updates: 11
  • Update frequency: every 17.3 days
  • Top authors: kgmservizi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /540 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼9.96ms] Passed 4 tests

This is a short check of server-side resources used by Honeypot Anti Spam for Forminator Forms
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.95 ▼12.58
Dashboard /wp-admin3.34 ▲0.0346.68 ▼4.95
Posts /wp-admin/edit.php3.39 ▲0.0348.37 ▼4.14
Add New Post /wp-admin/post-new.php5.92 ▲0.0381.84 ▼18.18
Media Library /wp-admin/upload.php3.26 ▲0.0335.80 ▼1.48
Honeypot for Forminator /wp-admin/tools.php?page=hfff-plugin3.2332.21

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 8 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
db_upgraded
hfff_log
hfff_field_name
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Honeypot Anti Spam for Forminator Forms
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,902 ▲15613.45 ▼1.108.13 ▲6.2537.80 ▼6.96
Dashboard /wp-admin2,202 ▲255.62 ▲0.1195.38 ▲6.0938.75 ▲0.57
Posts /wp-admin/edit.php2,107 ▲102.01 ▼0.0142.87 ▲7.9134.64 ▼2.05
Add New Post /wp-admin/post-new.php1,534 ▼123.35 ▲4.81650.32 ▲32.0554.04 ▼18.59
Media Library /wp-admin/upload.php1,404 ▲134.13 ▼0.0194.92 ▼4.0143.71 ▲1.54
Honeypot for Forminator /wp-admin/tools.php?page=hfff-plugin8211.9924.8129.72

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
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

Smoke tests Passed 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: honeypot, spam, antispam, forminator

honeypot-for-forminator-form/honeypot-for-forminator-form.php Passed 13 tests

The main PHP file in "Honeypot Anti Spam for Forminator Forms" ver. 0.2.1 adds more information about the plugin and also serves as the entry point for this plugin
52 characters long description:
New type of honeypot anti spam for Forminator 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
Everything looks great! No dangerous files found in this plugin144 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP32029139
JavaScript1005

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected