67% addon-elements-for-elementor-page-builder

Code Review | Elementor Addon Elements

WordPress plugin Elementor Addon Elements scored 67% from 54 tests.

About plugin

  • Plugin page: addon-elements-fo...
  • Plugin version: 1.11.15
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9.2
  • WordPress version: 5.9.2
  • First release: Oct 15, 2016
  • Latest release: Mar 23, 2022
  • Number of updates: 117
  • Update frequency: every 17.0 days
  • Top authors: wpvibes (65.81%)webtechstreet (35.04%)

Code review

54 tests

User reviews

122 reviews

Install metrics

100,000+ active / 1,550,301 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲4.55MB] [CPU: ▼268.09ms] Passed 4 tests

A check of server-side resources used by Elementor Addon Elements
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /8.33 ▲4.8277.01 ▲28.26
Dashboard /wp-admin8.35 ▲4.9562.14 ▲29.47
Posts /wp-admin/edit.php8.35 ▲4.7160.13 ▲20.92
Add New Post /wp-admin/post-new.php10.67 ▲3.70117.01 ▼1,149.80
Media Library /wp-admin/upload.php8.35 ▲5.0653.69 ▲28.26
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius8.3546.13

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 353 new files
Database: no new tables, 5 new options
New WordPress options
fs_accounts
fs_gdpr
eae_review
fs_debug_mode
fs_active_plugins

Browser metrics Passed 4 tests

Checking browser requirements for Elementor Addon Elements
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,986 ▲23316.23 ▲0.6611.01 ▲4.392.80 ▲0.46
Dashboard /wp-admin2,954 ▲936.14 ▼0.03115.62 ▼20.23170.44 ▲11.66
Posts /wp-admin/edit.php2,750 ▲623.37 ▲0.1364.88 ▲0.51150.18 ▲6.69
Add New Post /wp-admin/post-new.php1,750 ▲5422.14 ▲1.26429.08 ▲26.11159.55 ▲0.79
Media Library /wp-admin/upload.php1,757 ▲595.54 ▲0.07143.88 ▼1.06197.85 ▲8.44
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius1,4522.4555.29112.57

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Uninstall procedure validation failed for this plugin
    • > Notice in wp-content/plugins/addon-elements-for-elementor-page-builder/freemius/includes/class-freemius.php+8575
    Undefined property: stdClass::$plugins
  • Zombie WordPress options detected upon uninstall: 5 options
    • fs_active_plugins
    • eae_review
    • fs_gdpr
    • fs_accounts
    • fs_debug_mode

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 4× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/addon-elements-for-elementor-page-builder/modules/shape-separator/shapes/triangle-upper-left.php
    • > /wp-content/plugins/addon-elements-for-elementor-page-builder/modules/shape-separator/shapes/triangle-bottom-right.php
    • > /wp-content/plugins/addon-elements-for-elementor-page-builder/modules/shape-separator/shapes/triangle-upper-right.php
    • > /wp-content/plugins/addon-elements-for-elementor-page-builder/modules/shape-separator/shapes/triangle-bottom-left.php
  • 90× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'WPML_Elementor_Module_With_Items' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/wpml/modules/class-wpml-eae-filterable-gallery.php:7
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/shape-separator/shapes/triangle-upper-right.php on line 1
    • > PHP Fatal error
      Uncaught Error: Class 'WTS_EAE\\Modules\\ProgressBar\\Skins\\Skin_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/progress-bar/skins/skin-4.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'WTS_EAE\\Modules\\InfoCircle\\Skins\\Skin_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/info-circle/skins/skin-3.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'WTS_EAE\\Modules\\Timeline\\Skins\\Skin_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/timeline/skins/skin-2.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function WTS_EAE\\add_filter() in wp-content/plugins/addon-elements-for-elementor-page-builder/wpml/wpml-compatibility.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Skin_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/chart/skins/skin-base.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'WTS_EAE\\Modules\\Timeline\\Skins\\Skin_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/timeline/skins/skin-1.php:8
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/shape-separator/shapes/triangle-bottom-right.php on line 1
    • > PHP Fatal error
      Uncaught Error: Class 'WTS_EAE\\Base\\Module_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/post-list/module.php:7

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: elementor widget, addons, elements, elementor extensions, elementor addon...

addon-elements-for-elementor-page-builder/elementor-addon-elements.php 85% from 13 tests

"Elementor Addon Elements" version 1.11.15's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("addon-elements-for-elementor-page-builder.php" instead of "elementor-addon-elements.php")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis 97% from 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
No dangerous file extensions were detected119,680 lines of code in 284 files:
LanguageFilesBlank linesComment linesLines of code
PHP22411,16416,61764,106
JavaScript318,6055,63848,224
CSS186094676,839
Markdown1680214
Sass1152148
SVG802122
JSON10027

PHP code 50% from 2 tests

An overview of cyclomatic complexity and code structure
The following items need your attention
  • Class cyclomatic complexity should be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity33.29
▷ Minimum class complexity1.00
▷ Maximum class complexity2,910.00
Average method complexity3.88
▷ Minimum method complexity1.00
▷ Maximum method complexity91.00
Code structure
Namespaces67
Interfaces0
Traits0
Classes156
▷ Abstract classes106.41%
▷ Concrete classes14693.59%
▷ Final classes00.00%
Methods1,784
▷ Static methods20211.32%
▷ Public methods1,29472.53%
▷ Protected methods1267.06%
▷ Private methods36420.40%
Functions96
▷ Named functions96100.00%
▷ Anonymous functions00.00%
Constants131
▷ Global constants10378.63%
▷ Class constants2821.37%
▷ Public constants28100.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
24 PNG files occupy 1.45MB with 0.78MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
modules/screenshot-1.png34.11KB11.26KB▼ 66.98%
assets/lib/vegas/overlays/03.png0.20KB0.10KB▼ 53.11%
assets/lib/vegas/overlays/07.png0.21KB0.10KB▼ 51.63%
assets/lib/vegas/overlays/01.png0.21KB0.10KB▼ 52.61%
freemius/assets/img/form-vibes.png9.16KB5.26KB▼ 42.58%