78% elementor

Code Review | Elementor Website Builder

WordPress plugin Elementor Website Builder scored 78% from 53 tests.

About plugin

  • Plugin page: elementor
  • Plugin version: 3.4.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 5.8.1
  • First release: May 30, 2016
  • Latest release: Oct 19, 2021
  • Number of updates: 1,019
  • Update frequency: every 1.9 days
  • Top authors: KingYes (100%)

Code review

53 tests

User reviews

5967 reviews

Install metrics

5,000,000+ active / 136,946,892 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 gracefully, with no errors

Server metrics [RAM: ▲1.36MB] [CPU: ▼246.36ms] Passed 4 tests

This is a short check of server-side resources used by Elementor Website Builder
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /5.62 ▲2.9085.51 ▲55.56
Dashboard /wp-admin4.37 ▲1.3159.05 ▲7.81
Posts /wp-admin/edit.php4.50 ▲1.4060.45 ▲8.80
Add New Post /wp-admin/post-new.php6.87 ▲1.44116.67 ▼1,009.41
Media Library /wp-admin/upload.php4.32 ▲1.3149.94 ▲7.38
All Landing Pages /wp-admin/edit.php?post_type=e-landing-page4.4446.54
Go Pro /wp-admin/admin.php?page=go_elementor_pro4.0338.70
Saved Templates /wp-admin/edit.php?post_type=elementor_library&tabs_group=library4.4566.23
Categories /wp-admin/edit-tags.php?taxonomy=elementor_library_category&post_type=elementor_library4.3554.54
Submissions /wp-admin/admin.php?page=e-form-submissions4.2951.43
Settings /wp-admin/admin.php?page=elementor4.4352.75
Connect /wp-admin/admin.php?page=elementor-connect6.9852.71
Popups /wp-admin/edit.php?post_type=elementor_library&page=popup_templates4.3441.26
Role Manager /wp-admin/admin.php?page=elementor-role-manager4.3051.60
Get Help /wp-admin/admin.php?page=go_knowledge_base_site4.0333.30

Server storage [IO: ▲23.67MB] [DB: ▲0.58MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 723 new files
Database: no new tables, 4 new options
New WordPress options
elementor_version
elementor_install_history
elementor_active_kit
_elementor_installed_time

Browser metrics Passed 4 tests

This is an overview of browser requirements for Elementor Website Builder
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,385 ▲80320.39 ▲4.5227.41 ▲18.7450.81 ▲1.70
Dashboard /wp-admin3,439 ▲5868.40 ▲2.57179.00 ▲25.24152.66 ▲51.03
Posts /wp-admin/edit.php3,057 ▲3515.13 ▲2.4489.94 ▲28.21107.29 ▲8.67
Add New Post /wp-admin/post-new.php1,807 ▲32620.00 ▲1.78458.31 ▲107.09103.10 ▼13.97
Media Library /wp-admin/upload.php2,108 ▲3336.98 ▲1.98160.98 ▼25.20125.39 ▼1.36
All Landing Pages /wp-admin/edit.php?post_type=e-landing-page1,7675.21102.3482.57
Go Pro /wp-admin/admin.php?page=go_elementor_pro10,38118.97424.84166.73
Saved Templates /wp-admin/edit.php?post_type=elementor_library&tabs_group=library1,9615.56117.7694.40
Categories /wp-admin/edit-tags.php?taxonomy=elementor_library_category&post_type=elementor_library1,9724.8593.9485.35
Submissions /wp-admin/admin.php?page=e-form-submissions1,3724.6585.86111.84
Settings /wp-admin/admin.php?page=elementor2,3185.06101.43103.19
Connect /wp-admin/admin.php?page=elementor-connect1,3294.7096.1076.57
Popups /wp-admin/edit.php?post_type=elementor_library&page=popup_templates1,3704.7485.5498.10
Role Manager /wp-admin/admin.php?page=elementor-role-manager1,5544.9194.3296.64
Get Help /wp-admin/admin.php?page=go_knowledge_base_site4,44311.41359.5396.76

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 4 options
    • elementor_install_history
    • elementor_active_kit
    • elementor_version
    • _elementor_installed_time

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
  • 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Data\\Base\\Endpoint' not found in wp-content/plugins/elementor/data/base/sub-endpoint.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Core\\Debug\\Classes\\Inspection_Base' not found in wp-content/plugins/elementor/core/debug/classes/htaccess.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Data\\Base\\Processor' not found in wp-content/plugins/elementor/data/base/processor/before.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Data\\Base\\Controller' not found in wp-content/plugins/elementor/core/editor/data/globals/controller.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Data\\Base\\Endpoint' not found in wp-content/plugins/elementor/core/editor/data/globals/endpoints/base.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Core\\Editor\\Data\\Globals\\Endpoints\\Base' not found in wp-content/plugins/elementor/core/editor/data/globals/endpoints/colors.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/elementor/data/base/controller.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Data\\Base\\Processor' not found in wp-content/plugins/elementor/data/base/processor/after.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/elementor/core/kits/views/panel.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Core\\Editor\\Data\\Globals\\Endpoints\\Base' not found in wp-content/plugins/elementor/core/editor/data/globals/endpoints/typography.php:6

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
    • > GET request to /wp-admin/admin.php?page=go_elementor_pro
    • > Network (severe)
    https://elementor.com/pricing-arrow-svg/ - Failed to load resource: the server responded with a status of 404 ()

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
  • Tags: Please delete some tags, you are using 14 tag instead of maximum 10
The official readme.txt is a good inspiration

elementor/elementor.php 92% from 13 tests

This is the main PHP file of "Elementor Website Builder" version 3.4.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 145 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected292,156 lines of code in 678 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript11342,90225,532157,810
CSS1169,81052965,956
PHP38412,17328,82853,199
SVG61433013,513
JSON4701,678

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity11.96
▷ Minimum class complexity1.00
▷ Maximum class complexity194.00
Average method complexity2.29
▷ Minimum method complexity1.00
▷ Maximum method complexity93.00
Code structure
Namespaces95
Interfaces3
Traits1
Classes359
▷ Abstract classes6518.11%
▷ Concrete classes29481.89%
▷ Final classes10.34%
Methods3,077
▷ Static methods38512.51%
▷ Public methods2,14869.81%
▷ Protected methods54017.55%
▷ Private methods38912.64%
Functions168
▷ Named functions74.17%
▷ Anonymous functions16195.83%
Constants302
▷ Global constants196.29%
▷ Class constants28393.71%
▷ Public constants283100.00%

Plugin size Passed 1 test

Image compression Passed 1 test

Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.31MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/library-connect/left-2.png95.49KB103.39KB0.00%
assets/images/library-connect/right-2.png72.88KB78.71KB0.00%
assets/images/contrast.png1.19KB0.26KB▼ 78.33%
assets/images/library-connect/right-1.png81.98KB88.66KB0.00%
assets/images/logo-icon.png1.58KB1.25KB▼ 20.45%