10% rackforms-express

Code Review | RackForms Express Web Form Builder

WordPress plugin RackForms Express Web Form Builder scored10%from 54 tests.

About plugin

  • Plugin page: rackforms-express
  • Plugin version: 1.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.0
  • WordPress version: 6.3.1
  • First release: Mar 18, 2014
  • Latest release: Dec 9, 2018
  • Number of updates: 32
  • Update frequency: every 54.0 days
  • Top authors: rackforms (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

20+ active /2,388 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
  • The plugin did not install without errors
    • > User notice in wp-includes/functions.php+5905
    Function wp_deregister_script was called incorrectly. Do not deregister the jquery script in the administration area. To target the front-end theme, use the wp_enqueue_scripts hook. Please see Debugging in WordPress for more information. (This message was added in version 3.6.0.)

Server metrics [RAM: ▼1.73MB] [CPU: ▼55.57ms] Passed 4 tests

Server-side resources used by RackForms Express Web Form Builder
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.26 ▼1.205.62 ▼36.27
Dashboard /wp-admin2.28 ▼1.027.32 ▼47.05
Posts /wp-admin/edit.php2.28 ▼1.076.75 ▼46.34
Add New Post /wp-admin/post-new.php2.28 ▼3.606.36 ▼92.63
Media Library /wp-admin/upload.php2.28 ▼0.956.40 ▼27.30

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options
can_compress_scripts
hefo_version
widget_theysaidso_widget
hefo

Browser metrics Passed 4 tests

Checking browser requirements for RackForms Express Web Form Builder
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,866 ▲9513.80 ▼0.5818.59 ▲16.3344.42 ▼1.92
Dashboard /wp-admin2,219 ▲284.85 ▼1.05104.49 ▲0.3242.84 ▼5.99
Posts /wp-admin/edit.php2,108 ▲192.01 ▲0.0336.57 ▼3.6333.91 ▼1.61
Add New Post /wp-admin/post-new.php1,527 ▼617.55 ▼5.53664.31 ▼18.9359.43 ▼11.26
Media Library /wp-admin/upload.php1,404 ▲134.20 ▲0.0198.21 ▼3.3242.73 ▼3.06

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Uninstall procedure had uncaught errors
    • > User notice in wp-includes/functions.php+5905
    Function wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • This plugin does not fully uninstall, leaving 8 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • hefo_version
    • hefo

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
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please fix the following items
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_deregister_script() in wp-content/plugins/rackforms-express/rackforms-express.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/rackforms-express/post-integration/post-integration.php:33

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Tags: There are too many tags (11 tag instead of maximum 10)
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (RackForms Express For WordPress Can Build Any Form Type You Need.), #2 (Collect Entries In An Automated Entry Viewer, Or Send Emails.)
Please take inspiration from this readme.txt

rackforms-express/rackforms-express.php Passed 13 tests

Analyzing the main PHP file in "RackForms Express Web Form Builder" version 1.5
93 characters long description:
Install and Manage RackForms Express, A Powerful and Totally Free Form Builder For WordPress!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,712 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP25023191,371
JavaScript110373338
CSS1313

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions24
▷ Named functions24100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin