84% wpzoom-elementor-addons

Code Review | WPZOOM Addons for Elementor (Templates, Widgets)

WordPress plugin WPZOOM Addons for Elementor (Templates, Widgets) scored84%from 54 tests.

About plugin

  • Plugin page: wpzoom-elementor-...
  • Plugin version: 1.1.32
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.4
  • WordPress version: 6.3.1
  • First release: Jul 21, 2021
  • Latest release: Nov 28, 2023
  • Number of updates: 54
  • Update frequency: every 15.9 days
  • Top authors: WPZOOM (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

20,000+ active /345,320 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.15MB] [CPU: ▲0.27ms] Passed 4 tests

Analyzing server-side resources used by WPZOOM Addons for Elementor (Templates, Widgets)
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.62 ▲0.1638.13 ▼1.35
Dashboard /wp-admin3.46 ▲0.1548.39 ▲1.25
Posts /wp-admin/edit.php3.57 ▲0.2148.60 ▲0.81
Add New Post /wp-admin/post-new.php6.04 ▲0.1593.07 ▲1.53
Media Library /wp-admin/upload.php3.38 ▲0.1534.70 ▲0.36

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 178 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
wpz_current_version
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

WPZOOM Addons for Elementor (Templates, Widgets): an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,811 ▲4914.22 ▼0.021.71 ▼0.0437.44 ▼9.34
Dashboard /wp-admin2,219 ▲415.60 ▼0.0694.71 ▼15.2542.74 ▼0.27
Posts /wp-admin/edit.php2,124 ▲242.03 ▲0.0040.09 ▲2.1936.78 ▲4.45
Add New Post /wp-admin/post-new.php1,542 ▲1623.45 ▲0.34647.82 ▲65.4952.33 ▲3.39
Media Library /wp-admin/upload.php1,415 ▲154.18 ▼0.0195.33 ▼0.5441.41 ▲0.15

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 7 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • wpz_current_version
    • theysaidso_admin_options
    • widget_recent-comments

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
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/wpzoom-elementor-addons/includes/widgets/posts-grid/layouts/layout-4.php:2
    • > PHP Notice
      Undefined variable: all_posts in wp-content/plugins/wpzoom-elementor-addons/includes/widgets/posts-grid/layouts/layout-3.php on line 2
    • > PHP Notice
      Undefined variable: all_posts in wp-content/plugins/wpzoom-elementor-addons/includes/widgets/posts-grid/layouts/layout-2.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/wpzoom-elementor-addons/includes/widgets/posts-grid/layouts/layout-3.php:2
    • > PHP Fatal error
      Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/wpzoom-elementor-addons/includes/widgets/posts-grid/layouts/layout-6.php:2
    • > PHP Notice
      Undefined variable: all_posts in wp-content/plugins/wpzoom-elementor-addons/includes/widgets/posts-grid/layouts/layout-1.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/wpzoom-elementor-addons/includes/widgets/posts-grid/layouts/layout-1.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_term_by() in wp-content/plugins/wpzoom-elementor-addons/includes/widgets/portfolio-showcase/view/filter.php:2
    • > PHP Notice
      Undefined variable: all_posts in wp-content/plugins/wpzoom-elementor-addons/includes/widgets/posts-grid/layouts/layout-4.php on line 2
    • > PHP Notice
      Undefined variable: all_posts in wp-content/plugins/wpzoom-elementor-addons/includes/widgets/posts-grid/layouts/layout-5.php on line 2

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: inspiro, elementor kits, templates, wpzoom, elementor...

wpzoom-elementor-addons/wpzoom-elementor-addons.php Passed 13 tests

This is the main PHP file of "WPZOOM Addons for Elementor (Templates, Widgets)" version 1.1.32, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
106 characters long description:
A plugin that provides a collection of Elementor Templates and advanced widgets created by the WPZOOM team

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected26,385 lines of code in 160 files:
LanguageFilesBlank linesComment linesLines of code
PHP302,3133,19514,783
JavaScript112,3134498,059
CSS17167132,004
JSON97101,102
Sass2275262
LESS1115152
SVG21023

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity30.95
▷ Minimum class complexity1.00
▷ Maximum class complexity138.00
Average method complexity3.49
▷ Minimum method complexity1.00
▷ Maximum method complexity84.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes22
▷ Abstract classes00.00%
▷ Concrete classes22100.00%
▷ Final classes14.55%
Methods265
▷ Static methods134.91%
▷ Public methods16863.40%
▷ Protected methods7227.17%
▷ Private methods259.43%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants675.00%
▷ Class constants225.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected