84% elementor-caldera-forms

Code Review | Caldera Forms styler for Elementor Page Builder

WordPress plugin Caldera Forms styler for Elementor Page Builder scored84%from 54 tests.

About plugin

  • Plugin page: elementor-caldera...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.9.1
  • WordPress version: 6.3.1
  • First release: Dec 3, 2017
  • Latest release: Dec 3, 2017
  • Number of updates: 3
  • Update frequency: every 1.0 days
  • Top authors: re_enter_rupok (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

2,000+ active /31,044 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.10MB] [CPU: ▼5.67ms] Passed 4 tests

Analyzing server-side resources used by Caldera Forms styler for Elementor Page Builder
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1139.11 ▲1.67
Dashboard /wp-admin3.40 ▲0.1045.10 ▼3.24
Posts /wp-admin/edit.php3.51 ▲0.1642.75 ▼3.64
Add New Post /wp-admin/post-new.php5.98 ▲0.1083.69 ▼17.46
Media Library /wp-admin/upload.php3.32 ▲0.1039.39 ▲3.42

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Caldera Forms styler for Elementor Page Builder
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,866 ▲13113.67 ▼1.081.99 ▲0.1244.27 ▲5.41
Dashboard /wp-admin2,248 ▲625.86 ▲0.97103.82 ▼8.6178.73 ▲36.03
Posts /wp-admin/edit.php2,131 ▲392.03 ▼0.0236.43 ▼6.3533.76 ▼0.82
Add New Post /wp-admin/post-new.php1,703 ▲17022.61 ▼0.59711.61 ▲45.7446.19 ▼11.88
Media Library /wp-admin/upload.php1,424 ▲334.29 ▲0.0995.01 ▼3.8874.80 ▲31.90

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
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Elementor\\add_action() in wp-content/plugins/elementor-caldera-forms/includes/elementor-helper.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention: The official readme.txt might help

elementor-caldera-forms/elementor-caldera-forms.php Passed 13 tests

The primary PHP file in "Caldera Forms styler for Elementor Page Builder" version 1.0.0 is used by WordPress to initiate all plugin functionality
76 characters long description:
Caldera Forms styler for elementor. Design the form visually with elementor.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin7,468 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript39467495,935
PHP61891221,194
CSS32313339

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity14.67
▷ Minimum class complexity2.00
▷ Maximum class complexity31.00
Average method complexity3.16
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods19
▷ Static methods00.00%
▷ Public methods1684.21%
▷ Protected methods315.79%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
admin/assets/images/ea-icon.png1.15KB0.26KB▼ 77.51%