83% essential-addons-for-elementor-lite

Code Review | Essential Addons for Elementor - Best Elementor Widgets With Kits, Templates & WooCommerce Builders

WordPress plugin Essential Addons for Elementor - Best Elementor Widgets With Kits, Templates & WooCommerce Builders scored83%from 54 tests.

About plugin

  • Plugin page: essential-addons-...
  • Plugin version: 5.9
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: Jul 20, 2017
  • Latest release: Nov 27, 2023
  • Number of updates: 332
  • Update frequency: every 7.0 days
  • Top authors: re_enter_rupok (62.35%)wpdevteam (26.81%)codetic (6.02%)priyomukul (3.01%)Asif2BD (3.01%)

Code review

54 tests

User reviews

3299 reviews

Install metrics

1,000,000+ active /61,007,981 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲3.69MB] [CPU: ▲18.24ms] Passed 4 tests

This is a short check of server-side resources used by Essential Addons for Elementor - Best Elementor Widgets With Kits, Templates & WooCommerce Builders
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /7.07 ▲3.6055.40 ▲13.52
Dashboard /wp-admin7.08 ▲3.7266.50 ▲8.62
Posts /wp-admin/edit.php7.14 ▲3.7873.78 ▲28.30
Add New Post /wp-admin/post-new.php9.57 ▲3.68112.07 ▲22.53
Media Library /wp-admin/upload.php7.08 ▲3.8563.29 ▲29.29
Essential Addons /wp-admin/admin.php?page=eael-setup-wizard6.6453.86

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 521 new files
Database: no new tables, 9 new options
New WordPress options
can_compress_scripts
eael_version
widget_recent-posts
widget_recent-comments
eael_setup_wizard
eael_save_settings
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Essential Addons for Elementor - Best Elementor Widgets With Kits, Templates & WooCommerce Builders
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,847 ▲10014.34 ▲0.211.66 ▼0.0136.19 ▼5.53
Dashboard /wp-admin2,237 ▲705.58 ▼0.0793.25 ▼15.2187.94 ▲49.86
Posts /wp-admin/edit.php2,203 ▲1062.14 ▲0.1839.46 ▲5.1542.66 ▲9.34
Add New Post /wp-admin/post-new.php1,841 ▲31521.81 ▼1.35799.10 ▲114.6856.32 ▼13.29
Media Library /wp-admin/upload.php1,454 ▲604.21 ▲0.0497.94 ▼0.8572.05 ▲30.79
Essential Addons /wp-admin/admin.php?page=eael-setup-wizard3,0012.5461.9385.88

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 9 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • eael_save_settings
    • eael_version
    • widget_theysaidso_widget
    • eael_setup_wizard
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for 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 fix the following
  • 162× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Warning
      Use of undefined constant EAEL_PLUGIN_PATH - assumed 'EAEL_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/essential-addons-for-elementor-lite/config.php on line 232
    • > PHP Warning
      Use of undefined constant EAEL_PLUGIN_PATH - assumed 'EAEL_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/essential-addons-for-elementor-lite/config.php on line 1237
    • > PHP Notice
      Undefined variable: default_multiple_kb in wp-content/plugins/essential-addons-for-elementor-lite/includes/Template/Betterdocs-Category-Box/Layout_2.php on line 9
    • > PHP Warning
      Use of undefined constant EAEL_PLUGIN_PATH - assumed 'EAEL_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/essential-addons-for-elementor-lite/config.php on line 682
    • > PHP Warning
      Use of undefined constant EAEL_PLUGIN_PATH - assumed 'EAEL_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/essential-addons-for-elementor-lite/config.php on line 78
    • > PHP Warning
      Use of undefined constant EAEL_PLUGIN_PATH - assumed 'EAEL_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/essential-addons-for-elementor-lite/config.php on line 1140
    • > PHP Warning
      Use of undefined constant EAEL_PLUGIN_PATH - assumed 'EAEL_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/essential-addons-for-elementor-lite/config.php on line 663
    • > PHP Warning
      Use of undefined constant EAEL_PLUGIN_PATH - assumed 'EAEL_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/essential-addons-for-elementor-lite/config.php on line 517
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_term_link() in wp-content/plugins/essential-addons-for-elementor-lite/includes/Template/Betterdocs-Category-Box/Layout_2.php:16
    • > PHP Warning
      Use of undefined constant EAEL_PLUGIN_PATH - assumed 'EAEL_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/essential-addons-for-elementor-lite/config.php on line 627

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can take inspiration from this readme.txt

essential-addons-for-elementor-lite/essential_adons_elementor.php 85% from 13 tests

The main PHP file in "Essential Addons for Elementor - Best Elementor Widgets With Kits, Templates & WooCommerce Builders" ver. 5.9 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 183 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("essential-addons-for-elementor-lite.php" instead of "essential_adons_elementor.php")

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected209,659 lines of code in 470 files:
LanguageFilesBlank linesComment linesLines of code
PHP14111,7165,328104,079
JavaScript1355,6689,17458,799
CSS1402,01026143,448
JSON4001,665
SVG49451,183
XML100485

PHP code 50% from 2 tests

Analyzing cyclomatic complexity and code structure
Please tend to the following items
  • Cyclomatic complexity of methods has to be reduced to less than 100 (currently 139)
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity43.75
▷ Minimum class complexity1.00
▷ Maximum class complexity387.00
Average method complexity4.49
▷ Minimum method complexity1.00
▷ Maximum method complexity139.00
Code structure
Namespaces12
Interfaces0
Traits19
Classes89
▷ Abstract classes11.12%
▷ Concrete classes8898.88%
▷ Final classes11.14%
Methods1,293
▷ Static methods1189.13%
▷ Public methods94172.78%
▷ Protected methods31424.28%
▷ Private methods382.94%
Functions40
▷ Named functions00.00%
▷ Anonymous functions40100.00%
Constants17
▷ Global constants847.06%
▷ Class constants952.94%
▷ Public constants9100.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.56MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/admin/images/templately/login-bg.png81.21KB86.90KB0.00%
assets/front-end/img/play-icon.png3.75KB3.92KB0.00%
assets/admin/images/quick-setup/ep-logo.png1.47KB0.78KB▼ 47.18%
assets/admin/images/chat.png2.67KB1.17KB▼ 56.38%
assets/front-end/img/accordion.png6.02KB2.59KB▼ 56.92%