73% all-embed-addons-for-elementor

Code Review | All Embed - Elementor Addons

WordPress plugin All Embed - Elementor Addons scored73%from 54 tests.

About plugin

  • Plugin page: all-embed-addons-...
  • Plugin version: 1.1.3
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Jun 13, 2021
  • Latest release: Sep 11, 2023
  • Number of updates: 28
  • Update frequency: every 29.4 days
  • Top authors: shehabulislam (57.14%)abuhayat (28.57%)russell010 (21.43%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /2,552 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼4.17ms] Passed 4 tests

An overview of server-side resources used by All Embed - Elementor Addons
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0240.52 ▼3.74
Dashboard /wp-admin3.32 ▲0.0245.91 ▼7.32
Posts /wp-admin/edit.php3.37 ▲0.0242.69 ▼1.61
Add New Post /wp-admin/post-new.php5.90 ▲0.0290.02 ▼4.01
Media Library /wp-admin/upload.php3.24 ▲0.0234.33 ▼0.33

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for All Embed - Elementor Addons
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲4813.64 ▼0.744.72 ▲2.6738.48 ▼4.01
Dashboard /wp-admin2,225 ▲345.87 ▲0.9997.41 ▼23.6641.39 ▼7.17
Posts /wp-admin/edit.php2,107 ▲182.04 ▲0.0135.98 ▼1.2134.45 ▼1.44
Add New Post /wp-admin/post-new.php1,547 ▲523.28 ▲5.02613.24 ▼6.0950.29 ▼3.88
Media Library /wp-admin/upload.php1,407 ▲194.31 ▲0.0899.00 ▲0.8941.62 ▼3.94

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget

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
Good news, no errors were detected

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 items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function AllEmebdAddon\\add_action() in wp-content/plugins/all-embed-addons-for-elementor/plugin.php:184

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes: You can take inspiration from this readme.txt

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

This is the main PHP file of "All Embed - Elementor Addons" version 1.1.3, 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:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("all-embed-addons-for-elementor.php" instead of "all-embed.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 5% from 3 tests

File types 0% from 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
It is important to fix the following items
  • Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
    • .url - Internet Shortcut in Firefox, IE, Chrome, Safari
      • wp-content/plugins/all-embed-addons-for-elementor/documentation/documentation.url
2,980 lines of code in 31 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.07
Average class complexity1.25
▷ Minimum class complexity1.00
▷ Maximum class complexity7.00
Average method complexity1.04
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes28100.00%
▷ Final classes13.57%
▷ Static methods10.59%
▷ Public methods11668.64%
▷ Protected methods5230.77%
▷ Private methods10.59%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.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
There were not PNG files found in your plugin