83% exclusive-addons-for-elementor

Code Review | Exclusive Addons for Elementor

WordPress plugin Exclusive Addons for Elementor scored83%from 54 tests.

About plugin

  • Plugin page: exclusive-addons-...
  • Plugin version: 2.6.8
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3.1
  • WordPress version: 6.3.1
  • First release: Mar 27, 2019
  • Latest release: Sep 26, 2023
  • Number of updates: 214
  • Update frequency: every 7.7 days
  • Top authors: devscred (87.85%)mmaumio (9.35%)madjennsy (3.74%)

Code review

54 tests

User reviews

41 reviews

Install metrics

50,000+ active /638,676 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.19MB] [CPU: ▼0.25ms] Passed 4 tests

A check of server-side resources used by Exclusive Addons for Elementor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.2042.98 ▼0.36
Dashboard /wp-admin3.49 ▲0.1956.69 ▲1.09
Posts /wp-admin/edit.php3.61 ▲0.2554.15 ▲1.70
Add New Post /wp-admin/post-new.php6.07 ▲0.1999.89 ▲4.49
Media Library /wp-admin/upload.php3.42 ▲0.1937.36 ▼3.41

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 316 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
db_upgraded
exad_do_update_redirect
widget_recent-posts
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Exclusive Addons for Elementor
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,807 ▲4614.73 ▲0.371.71 ▼0.1841.01 ▼3.07
Dashboard /wp-admin2,210 ▲335.49 ▼0.1883.22 ▼13.1342.36 ▲4.72
Posts /wp-admin/edit.php2,118 ▲181.98 ▼0.0341.24 ▲6.3139.07 ▲1.28
Add New Post /wp-admin/post-new.php1,541 ▲1523.18 ▼0.41657.76 ▼18.2854.54 ▼8.58
Media Library /wp-admin/upload.php1,421 ▲214.15 ▼0.0196.05 ▼6.4944.86 ▲0.52

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • The uninstall procedure has failed, leaving 7 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • exad_do_update_redirect
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 25× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/exclusive-addons-for-elementor/includes/template-parts/tmpl-post-grid.php on line 6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/exclusive-addons-for-elementor/admin/templates/api-keys.php:8
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/exclusive-addons-for-elementor/includes/template-parts/tmpl-post-grid.php on line 14
    • > PHP Fatal error
      Uncaught Error: Class 'ExclusiveAddons\\Elementor\\Addons_Manager' not found in wp-content/plugins/exclusive-addons-for-elementor/admin/templates/extensions.php:13
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/exclusive-addons-for-elementor/includes/template-parts/tmpl-load-more-post.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function ExclusiveAddons\\Elementor\\add_action() in wp-content/plugins/exclusive-addons-for-elementor/extensions/sticky.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/exclusive-addons-for-elementor/elements/progress-bar/progress-bar.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/exclusive-addons-for-elementor/admin/templates/style-settings.php:6
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/exclusive-addons-for-elementor/includes/template-parts/tmpl-post-grid.php on line 5
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/exclusive-addons-for-elementor/elements/tooltip/tooltip.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 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
Attributes that require attention:
  • Tags: You are using too many tags: 11 tag instead of maximum 10
The official readme.txt might help

exclusive-addons-for-elementor/exclusive-addons-elementor.php 85% from 13 tests

Analyzing the main PHP file in "Exclusive Addons for Elementor" version 2.6.8
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("exclusive-addons-for-elementor.php" instead of "exclusive-addons-elementor.php")
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin84,997 lines of code in 285 files:
LanguageFilesBlank linesComment linesLines of code
PHP745,2742,34741,563
SVG1025562320,965
CSS592,29468015,831
JavaScript474743116,131
XML100357
Markdown1570149
JSON1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity16.49
▷ Minimum class complexity1.00
▷ Maximum class complexity86.00
Average method complexity2.62
▷ Minimum method complexity1.00
▷ Maximum method complexity57.00
Code structure
Namespaces5
Interfaces0
Traits0
Classes63
▷ Abstract classes00.00%
▷ Concrete classes63100.00%
▷ Final classes11.59%
Methods544
▷ Static methods6311.58%
▷ Public methods37869.49%
▷ Protected methods11921.88%
▷ Private methods478.64%
Functions15
▷ Named functions640.00%
▷ Anonymous functions960.00%
Constants16
▷ Global constants1275.00%
▷ Class constants425.00%
▷ Public constants4100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.18MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/assets/img/ex-logo.png2.24KB1.59KB▼ 28.75%
assets/img/main-logo.png30.30KB14.47KB▼ 52.26%
admin/assets/img/lock-icon.png1.22KB1.21KB▼ 0.64%
admin/assets/img/settings-banner-bg.png116.30KB66.86KB▼ 42.51%
assets/img/placeholder.png9.85KB10.83KB0.00%