78% shopengine

Code Review | ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution

WordPress plugin ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution scored78%from 54 tests.

About plugin

  • Plugin page: shopengine
  • Plugin version: 4.6.0
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Mar 29, 2021
  • Latest release: Nov 5, 2023
  • Number of updates: 82
  • Update frequency: every 11.7 days
  • Top authors: ataurr (84.15%)xpeedstudio (10.98%)wpmet (7.32%)

Code review

54 tests

User reviews

131 reviews

Install metrics

30,000+ active /525,233 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▼6.58ms] Passed 4 tests

Analyzing server-side resources used by ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.70 ▼0.13
Dashboard /wp-admin3.39 ▲0.0944.67 ▼4.05
Posts /wp-admin/edit.php3.44 ▲0.0847.06 ▼5.59
Add New Post /wp-admin/post-new.php5.91 ▲0.0282.24 ▼15.13
Media Library /wp-admin/upload.php3.25 ▲0.0232.10 ▼1.55

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 568 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,833 ▲6114.33 ▲0.061.70 ▼0.0843.51 ▲1.94
Dashboard /wp-admin2,238 ▲615.57 ▼0.0187.58 ▲2.9940.48 ▼1.28
Posts /wp-admin/edit.php2,147 ▲472.14 ▲0.1936.73 ▼5.0634.32 ▼3.49
Add New Post /wp-admin/post-new.php1,559 ▲3323.27 ▲0.15618.02 ▼53.1449.81 ▼3.98
Media Library /wp-admin/upload.php1,440 ▲374.22 ▲0.0696.29 ▼9.8140.11 ▼6.78

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 0% 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
  • 2× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/shopengine/utils/notice.php
    • > /wp-content/plugins/shopengine/widgets/archive-result-count/screens/default.php
  • 21× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'ShopEngine\\Base\\Api' not found in wp-content/plugins/shopengine/libs/license/license-route.php:6
    • > PHP Fatal error
      Trait 'ShopEngine\\Traits\\Singleton' not found in wp-content/plugins/shopengine/compatibility/migrations/lang-migration.php on line 8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_is_block_theme() in wp-content/plugins/shopengine/core/page-templates/screens/gutenberg-shopengine_full_width_tpl.php:2
    • > PHP Fatal error
      Trait 'ShopEngine\\Traits\\Singleton' not found in wp-content/plugins/shopengine/compatibility/conflicts/theme-hooks.php on line 8
    • > PHP Fatal error
      Trait 'ShopEngine\\Traits\\Singleton' not found in wp-content/plugins/shopengine/modules/wishlist/wishlist.php on line 9
    • > PHP Fatal error
      Uncaught Error: Class 'ShopEngine\\Base\\Api' not found in wp-content/plugins/shopengine/modules/comparison/route.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'ShopEngine\\Base\\Api' not found in wp-content/plugins/shopengine/modules/wishlist/route.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/shopengine/core/page-templates/screens/gutenberg-shopengine_canvas_tpl.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'ShopEngine\\Core\\Builders\\Templates' not found in wp-content/plugins/shopengine/core/settings/screens/default.php:3
    • > PHP Fatal error
      Trait 'ShopEngine\\Traits\\Singleton' not found in wp-content/plugins/shopengine/modules/quick-view/quick-view.php on line 15

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Tags: There are too many tags (12 tag instead of maximum 10)
The official readme.txt is a good inspiration

shopengine/shopengine.php 92% from 13 tests

The principal PHP file in "ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution" v. 4.6.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 325 characters long)

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
No dangerous file extensions were detected55,315 lines of code in 424 files:
LanguageFilesBlank linesComment linesLines of code
PHP2548,1603,00946,956
PO File21,8755,2433,882
HTML405221,8212,137
JSON56001,103
SVG39221,039
JavaScript170181159
XML1144224
CSS150015

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity8.57
▷ Minimum class complexity1.00
▷ Maximum class complexity92.00
Average method complexity2.23
▷ Minimum method complexity1.00
▷ Maximum method complexity25.00
Code structure
Namespaces36
Interfaces0
Traits3
Classes186
▷ Abstract classes73.76%
▷ Concrete classes17996.24%
▷ Final classes21.12%
Methods1,113
▷ Static methods13211.86%
▷ Public methods92683.20%
▷ Protected methods13311.95%
▷ Private methods544.85%
Functions45
▷ Named functions511.11%
▷ Anonymous functions4088.89%
Constants27
▷ Global constants00.00%
▷ Class constants27100.00%
▷ Public constants27100.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
63 PNG files occupy 0.86MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/features/image_4.png12.52KB13.24KB0.00%
assets/images/onboarding/shape-18.png56.66KB11.75KB▼ 79.25%
utils/pro-awareness/assets/images/documentation.png2.31KB2.38KB0.00%
assets/images/tut-thumb-1.png7.64KB7.96KB0.00%
assets/images/onboarding/products/ultimate-review-logo.png4.23KB2.47KB▼ 41.68%