89% hizzle-forms

Code Review | Hizzle Forms

WordPress plugin Hizzle Forms scored89%from 54 tests.

About plugin

  • Plugin page: hizzle-forms
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.2
  • WordPress version: 6.3.1
  • First release: May 16, 2023
  • Latest release: May 16, 2023
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: hizzlewp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /382 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.31MB] [CPU: ▼6.07ms] Passed 4 tests

A check of server-side resources used by Hizzle Forms
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.80 ▲0.3342.46 ▲0.96
Dashboard /wp-admin3.60 ▲0.2553.01 ▼12.12
Posts /wp-admin/edit.php3.71 ▲0.3654.58 ▼9.49
Add New Post /wp-admin/post-new.php6.66 ▲0.77101.53 ▲1.13
Media Library /wp-admin/upload.php3.52 ▲0.2938.10 ▼3.63

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Hizzle Forms
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,841 ▲7013.17 ▼1.218.04 ▲5.9245.54 ▲1.17
Dashboard /wp-admin2,192 ▲125.67 ▼0.0196.32 ▲5.4544.40 ▲0.28
Posts /wp-admin/edit.php2,100 ▼32.01 ▲0.0140.77 ▼0.2538.85 ▲0.54
Add New Post /wp-admin/post-new.php6,376 ▲4,85028.36 ▲10.47946.45 ▲333.5941.10 ▼8.60
Media Library /wp-admin/upload.php1,397 ▼04.15 ▼0.0997.70 ▼4.5141.65 ▼4.25

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: contact, feedback, newsletter, form, appointment

hizzle-forms/hizzle-forms.php 85% from 13 tests

Analyzing the main PHP file in "Hizzle Forms" version 1.0.0
The following require your attention:
  • Requires at least: Required version must match the one declared in readme.txt ("6.0" instead of "5.5")
  • Domain Path: The domain path points to an invalid folder, "/languages/" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected2,588 lines of code in 42 files:
LanguageFilesBlank linesComment linesLines of code
PHP275881,1771,889
JSON700691
JavaScript7007
CSS1001

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.51
Average class complexity25.67
▷ Minimum class complexity1.00
▷ Maximum class complexity69.00
Average method complexity3.49
▷ Minimum method complexity1.00
▷ Maximum method complexity27.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes12
▷ Abstract classes00.00%
▷ Concrete classes12100.00%
▷ Final classes00.00%
Methods120
▷ Static methods2016.67%
▷ Public methods9780.83%
▷ Protected methods1310.83%
▷ Private methods108.33%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.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