67% everest-forms

Code Review | Everest Forms – Build Contact Forms, Surveys, Polls, Application Forms, and more with Ease!

WordPress plugin Everest Forms – Build Contact Forms, Surveys, Polls, Application Forms, and more with Ease! scored67%from 54 tests.

About plugin

  • Plugin page: everest-forms
  • Plugin version: 2.0.5
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.4
  • WordPress version: 6.3.1
  • First release: Feb 2, 2018
  • Latest release: Nov 9, 2023
  • Number of updates: 128
  • Update frequency: every 16.5 days
  • Top authors: everestforms (59.38%)wpeverest (41.41%)

Code review

54 tests

User reviews

326 reviews

Install metrics

100,000+ active /5,307,946 total downloads

Benchmarks

Plugin footprint 65% 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: ▲5.34MB] [CPU: ▲28.35ms] 75% from 4 tests

An overview of server-side resources used by Everest Forms – Build Contact Forms, Surveys, Polls, Application Forms, and more with Ease!
The following require your attention
  • Extra RAM: Extra memory usage should kept under 5MB (currently 5.34MB on /wp-admin/admin.php?page=everest-forms)
PageMemory (MB)CPU Time (ms)
Home /8.11 ▲4.6573.15 ▲36.89
Dashboard /wp-admin8.90 ▲5.5576.38 ▲14.53
Posts /wp-admin/edit.php8.97 ▲5.6283.98 ▲35.91
Add New Post /wp-admin/post-new.php11.43 ▲5.55126.59 ▲28.75
Media Library /wp-admin/upload.php8.91 ▲5.6870.65 ▲34.20
Tools /wp-admin/admin.php?page=evf-tools8.8862.90
Settings /wp-admin/admin.php?page=evf-settings9.1264.47
All Forms /wp-admin/admin.php?page=evf-builder9.2078.56
Entries /wp-admin/admin.php?page=evf-entries9.0066.99
Add New /wp-admin/admin.php?page=evf-builder&create-form=19.2166.38
Add-ons /wp-admin/admin.php?page=evf-addons8.88401.42
Everest Forms /wp-admin/admin.php?page=everest-forms8.0352.12

Server storage [IO: ▲9.93MB] [DB: ▲0.17MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 431 new files
Database: 3 new tables, 39 new options
New tables
wp_evf_sessions
wp_evf_entrymeta
wp_evf_entries
New WordPress options
everest_forms_recaptcha_v2_secret_key
everest_forms_recaptcha_hcaptcha_site_key
everest_forms_load_fonts_locally
everest_forms_version
everest_forms_recaptcha_v3_secret_key
everest_forms_recaptcha_v2_invisible
widget_recent-posts
everest_forms_default_form_page_id
everest_forms_admin_notices
everest_forms_recaptcha_v2_invisible_site_key
...

Browser metrics Passed 4 tests

A check of browser resources used by Everest Forms – Build Contact Forms, Surveys, Polls, Application Forms, and more with Ease!
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,897 ▲13514.26 ▼0.171.79 ▲0.0639.58 ▼5.05
Dashboard /wp-admin2,295 ▲1175.58 ▼0.1399.31 ▼9.1243.87 ▲0.58
Posts /wp-admin/edit.php2,195 ▲921.98 ▲0.0440.66 ▼1.3334.73 ▼0.90
Add New Post /wp-admin/post-new.php1,590 ▲5523.45 ▼1.57586.07 ▼36.3461.01 ▲1.91
Media Library /wp-admin/upload.php1,496 ▲1024.19 ▲0.04102.28 ▼0.1243.35 ▼0.32
Tools /wp-admin/admin.php?page=evf-tools1,0262.2744.3865.21
Settings /wp-admin/admin.php?page=evf-settings1,0652.5548.5134.99
All Forms /wp-admin/admin.php?page=evf-builder1,5655.99111.5629.83
Entries /wp-admin/admin.php?page=evf-entries1,1212.4145.0227.43
Add New /wp-admin/admin.php?page=evf-builder&create-form=11,6285.31108.2196.52
Add-ons /wp-admin/admin.php?page=evf-addons2,3082.4138.7796.73
Everest Forms /wp-admin/admin.php?page=everest-forms280.410.074.12

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • The plugin did not uninstall successfully, leaving 3 tables in the database
    • wp_evf_entrymeta
    • wp_evf_entries
    • wp_evf_sessions
  • The uninstall procedure has failed, leaving 39 options in the database
    • everest_forms_recaptcha_v3_site_key
    • everest_forms_recaptcha_hcaptcha_secret_key
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • everest_forms_recaptcha_v2_invisible
    • everest_forms_disable_user_details
    • everest_forms_allow_usage_tracking
    • everest_forms_number_validation
    • everest_forms_check_limit_validation
    • ...

Smoke tests 50% 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
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/everest-forms/includes/elementor/class-evf-widget.php:18

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=evf-builder&create-form=1
    • > Console-api (warning) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload,wp-codemirror&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'value')" "TypeError: Cannot read properties of undefined (reading 'value')\n at Function.fg [as fromTextArea] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload,wp-codemirror&ver=6.3.1:32:31506)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/everest-forms/assets/js/admin/form-builder.min.js?ver=2.0.5:11:32573)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload,wp-codemirror&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload,wp-codemirror&ver=6.3.1:2:27292)" undefined
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=evf-builder&create-form=1
    • > Javascript (severe) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload,wp-codemirror&ver=6.3.1 31:31505 Uncaught TypeError: Cannot read properties of undefined (reading 'value')
    • > GET request to /wp-admin/admin.php?page=everest-forms
    • > Network (severe)
    wp-admin/admin.php?page=everest-forms - Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • Screenshots: No descriptions were found for these screenshots #1, #10, #11, #12, #2, #3, #4, #5, #6, #7, #8, #9 in everest-forms/assets to your readme.txt
Please take inspiration from this readme.txt

everest-forms/everest-forms.php 92% from 13 tests

Analyzing the main PHP file in "Everest Forms – Build Contact Forms, Surveys, Polls, Application Forms, and more with Ease!" version 2.0.5
The following require your attention:
  • Description: The description should be shorter than 140 characters (currently 144 characters long)

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin94,981 lines of code in 338 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1255,0503,15934,951
PHP1584,2999,73425,703
CSS191,5261,44722,660
Sass291,59713910,692
JSON300846
SVG302114
XML10015

PHP code 50% from 2 tests

This is a very shot review of cyclomatic complexity and code structure
These items need your attention
  • Cyclomatic complexity of methods should be reduced to less than 100 (currently 175)
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity27.41
▷ Minimum class complexity1.00
▷ Maximum class complexity444.00
Average method complexity4.69
▷ Minimum method complexity1.00
▷ Maximum method complexity175.00
Code structure
Namespaces0
Interfaces2
Traits0
Classes117
▷ Abstract classes1411.97%
▷ Concrete classes10388.03%
▷ Final classes10.97%
Methods859
▷ Static methods19522.70%
▷ Public methods72183.93%
▷ Protected methods819.43%
▷ Private methods576.64%
Functions206
▷ Named functions19695.15%
▷ Anonymous functions104.85%
Constants26
▷ Global constants1246.15%
▷ Class constants1453.85%
▷ Public constants14100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
69 PNG files occupy 0.50MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/extensions-json/sections/images/zoho.png7.50KB3.11KB▼ 58.48%
assets/css/jquery-ui/images/ui-icons_2e83ff_256x240.png4.57KB4.18KB▼ 8.43%
assets/extensions-json/sections/images/pipedrive.png1.50KB1.10KB▼ 26.50%
assets/extensions-json/sections/images/mailerlite.png3.01KB1.56KB▼ 48.00%
assets/images/templates/survey-form.png7.96KB3.30KB▼ 58.54%