61% elementor

Code Review | Elementor Website Builder - More than Just a Page Builder

WordPress plugin Elementor Website Builder - More than Just a Page Builder scored61%from 54 tests.

About plugin

  • Plugin page: elementor
  • Plugin version: 3.17.3
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.4
  • WordPress version: 6.3.1
  • First release: May 30, 2016
  • Latest release: Nov 8, 2023
  • Number of updates: 1,497
  • Update frequency: every 1.8 days
  • Top authors: KingYes (100%)

Code review

54 tests

User reviews

6640 reviews

Install metrics

5,000,000+ active /351,301,069 total downloads

Benchmarks

Plugin footprint 64% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲7.30MB] [CPU: ▲58.26ms] 50% from 4 tests

This is a short check of server-side resources used by Elementor Website Builder - More than Just a Page Builder
The following require your attention
  • RAM: Total memory usage must be kept under 10MB (currently 10.24MB on /wp-admin/admin.php?page=elementor_custom_fonts)
  • Extra RAM: The extra memory usage must be under 5MB (currently 7.30MB on /wp-admin/admin.php?page=go_elementor_pro)
PageMemory (MB)CPU Time (ms)
Home /12.56 ▲9.09109.88 ▲73.06
Dashboard /wp-admin10.44 ▲7.09115.89 ▲49.84
Posts /wp-admin/edit.php10.51 ▲7.14121.34 ▲70.07
Add New Post /wp-admin/post-new.php13.69 ▲7.80144.07 ▲42.32
Media Library /wp-admin/upload.php10.39 ▲7.16103.64 ▲70.80
Getting Started /wp-admin/admin.php?page=elementor-getting-started10.2487.45
Apps /wp-admin/admin.php?page=elementor-apps10.36112.92
Connect /wp-admin/admin.php?page=elementor-connect13.9395.15
Landing Pages /wp-admin/edit.php?post_type=elementor_library&page=e-landing-page10.3789.67
Saved Templates /wp-admin/edit.php?post_type=elementor_library&tabs_group=library10.4894.44
Role Manager /wp-admin/admin.php?page=elementor-role-manager10.3890.72
Popups /wp-admin/edit.php?post_type=elementor_library&page=popup_templates10.2585.47
Custom Fonts /wp-admin/admin.php?page=elementor_custom_fonts10.2483.65
Get Help /wp-admin/admin.php?page=go_knowledge_base_site9.8377.10
Upgrade /wp-admin/admin.php?page=go_elementor_pro9.8383.10

Server storage [IO: ▲37.00MB] [DB: ▲0.63MB] 67% from 3 tests

A short overview of filesystem and database impact
Please fix the following
  • Total filesystem usage should be limited to 25MB (currently using 37.00MB)
Filesystem: 1,083 new files
Database: 1 new table, 11 new options
New tables
wp_e_events
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
elementor_font_display
theysaidso_admin_options
elementor_active_kit
widget_recent-comments
_elementor_installed_time
widget_recent-posts
elementor_install_history
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Elementor Website Builder - More than Just a Page Builder
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,336 ▲58916.78 ▲2.4316.71 ▲15.1125.27 ▼14.70
Dashboard /wp-admin2,550 ▲3706.86 ▲1.22119.67 ▲30.94129.16 ▲91.83
Posts /wp-admin/edit.php2,397 ▲2944.00 ▲2.0657.51 ▲18.4770.09 ▲33.40
Add New Post /wp-admin/post-new.php1,780 ▲23623.44 ▼1.96727.08 ▲60.6039.48 ▼27.75
Media Library /wp-admin/upload.php1,683 ▲2866.36 ▲2.15115.91 ▲12.4479.35 ▲36.72
Getting Started /wp-admin/admin.php?page=elementor-getting-started1,61810.83288.11119.79
Apps /wp-admin/admin.php?page=elementor-apps1,8084.3754.1262.35
Connect /wp-admin/admin.php?page=elementor-connect1,1164.3055.9475.42
Landing Pages /wp-admin/edit.php?post_type=elementor_library&page=e-landing-page1,0614.3261.3478.96
Saved Templates /wp-admin/edit.php?post_type=elementor_library&tabs_group=library1,6134.6473.3093.27
Role Manager /wp-admin/admin.php?page=elementor-role-manager1,2244.4155.3888.80
Popups /wp-admin/edit.php?post_type=elementor_library&page=popup_templates1,1204.4557.7675.61
Custom Fonts /wp-admin/admin.php?page=elementor_custom_fonts1,1194.3252.8081.40
Get Help /wp-admin/admin.php?page=go_knowledge_base_site3,4738.17412.83129.22
Upgrade /wp-admin/admin.php?page=go_elementor_pro15,64723.23947.56407.02

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin does not fully uninstall, leaving 1 table in the database
    • wp_e_events
  • Zombie WordPress options detected upon uninstall: 11 options
    • elementor_active_kit
    • widget_recent-comments
    • elementor_version
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • elementor_install_history
    • elementor_font_display
    • _elementor_installed_time
    • can_compress_scripts
    • ...

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=go_elementor_pro
    • > request to
    • > Notice in wp-config.php+20
    Undefined index: REQUEST_METHOD

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 36× PHP files trigger server-side errors or warnings when accessed directly (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\\App\\Modules\\ImportExport\\Runners\\Import\\Import_Runner_Base' not found in wp-content/plugins/elementor/app/modules/import-export/runners/import/templates.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\App\\Modules\\ImportExport\\Runners\\Revert\\Revert_Runner_Base' not found in wp-content/plugins/elementor/app/modules/import-export/runners/revert/taxonomies.php:5
    • > 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
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Core\\Debug\\Classes\\Inspection_Base' not found in wp-content/plugins/elementor/core/debug/classes/theme-missing.php:6
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/plugin-install.php): failed to open stream: No such file or directory in wp-content/plugins/elementor/core/utils/plugins-manager.php on line 5
    • > PHP Fatal error
      Uncaught Error: Interface 'Elementor\\App\\Modules\\ImportExport\\Runners\\Runner_Interface' not found in wp-content/plugins/elementor/app/modules/import-export/runners/export/export-runner-base.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\App\\Modules\\ImportExport\\Runners\\Export\\Export_Runner_Base' not found in wp-content/plugins/elementor/app/modules/import-export/runners/export/elementor-content.php:8
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/elementor/core/utils/plugins-manager.php on line 5
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\App\\Modules\\ImportExport\\Runners\\Revert\\Revert_Runner_Base' not found in wp-content/plugins/elementor/app/modules/import-export/runners/revert/templates.php:5

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=elementor_library&page=popup_templates
    • > Console-api (warning) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&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 child.initTemplatesImport (/wp-content/plugins/elementor/assets/js/admin.min.js?ver=3.17.3:3:48026)\n at T.each.H.\u003Ccomputed> [as initTemplatesImport] (/wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.17.3:2:58333)\n at child.onInit (/wp-content/plugins/elementor/assets/js/admin.min.js?ver=3.17.3:3:46861)\n at T.each.H.\u003Ccomputed> [as onInit] (/wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.17.3:2:58333)\n at Module.trigger (/wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.17.3:2:58101)\n at T.each.H.\u003Ccomputed> [as trigger] (/wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.17.3:2:58333)\n at init (/wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.17.3:2:58445)\n at child.Module (/wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.17.3:2:58461)\n at child [as constructor] (/wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.17.3:2:58693)\n at new child (/wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.17.3:2:58693)" undefined
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=elementor_library&page=popup_templates
    • > Javascript (severe) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'value')
    • > GET request to /wp-admin/admin.php?page=go_elementor_pro
    • > Network (severe)
    https://elementor.com/wp-content/uploads/elementor/css/post-75570.css/?ver=1699262500 - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=go_elementor_pro
    • > Network (severe)
    https://elementor.com/wp-content/uploads/elementor/css/post-75628.css/?ver=1699262499 - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=go_elementor_pro
    • > Console-api (warning) in unknown
    https://static.hotjar.com/c/hotjar-1989247.js?sv=7 2:5946 "Hotjar not launching due to suspicious userAgent:" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/119.0.6045.105 Safari/537.36"

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Tags: You are using too many tags: 14 tag instead of maximum 10
Please take inspiration from this readme.txt

elementor/elementor.php 92% from 13 tests

"Elementor Website Builder - More than Just a Page Builder" version 3.17.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Description: The description should be shorter than 140 characters (currently 145 characters long)

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
Success! There were no dangerous files found in this plugin465,799 lines of code in 997 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript20541,46260,597290,710
CSS1636,78145588,225
PHP54416,15333,33971,164
SVG77455113,936
JSON6701,680
XML16045
Sass19139

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity11.09
▷ Minimum class complexity1.00
▷ Maximum class complexity195.00
Average method complexity2.20
▷ Minimum method complexity1.00
▷ Maximum method complexity93.00
Code structure
Namespaces165
Interfaces9
Traits2
Classes497
▷ Abstract classes7615.29%
▷ Concrete classes42184.71%
▷ Final classes20.48%
Methods4,239
▷ Static methods50311.87%
▷ Public methods2,94969.57%
▷ Protected methods64915.31%
▷ Private methods64115.12%
Functions293
▷ Named functions82.73%
▷ Anonymous functions28597.27%
Constants404
▷ Global constants174.21%
▷ Class constants38795.79%
▷ Public constants387100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 PNG files occupy 0.52MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/library-connect/right-1.png81.98KB88.66KB0.00%
assets/images/placeholder.png6.00KB5.03KB▼ 16.19%
modules/apps/images/activity-log.png6.79KB3.93KB▼ 42.12%
assets/images/contrast.png1.19KB0.26KB▼ 78.33%
assets/images/containers-announcement.png110.11KB30.55KB▼ 72.25%