84% ultimate-store-kit

Code Review | Ultimate Store Kit Elementor Addons, Woocommerce Builder, EDD Builder, Elementor Store Builder, Product Grid, Product Table, Woocommerce Slider

WordPress plugin Ultimate Store Kit Elementor Addons, Woocommerce Builder, EDD Builder, Elementor Store Builder, Product Grid, Product Table, Woocommerce Slider scored84%from 54 tests.

About plugin

  • Plugin page: ultimate-store-kit
  • Plugin version: 1.5.1
  • PHP compatiblity: 7.0.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-6.4.1
  • WordPress version: 6.3.1
  • First release: May 14, 2022
  • Latest release: Nov 22, 2023
  • Number of updates: 22
  • Update frequency: every 25.4 days
  • Top authors: bdthemes (90.91%)mohammaadfarid (13.64%)

Code review

54 tests

User reviews

3 reviews

Install metrics

500+ active /7,583 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by Ultimate Store Kit Elementor Addons, Woocommerce Builder, EDD Builder, Elementor Store Builder, Product Grid, Product Table, Woocommerce Slider
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1638.13 ▲1.18
Dashboard /wp-admin3.47 ▲0.1245.27 ▼16.41
Posts /wp-admin/edit.php3.59 ▲0.2350.08 ▲1.92
Add New Post /wp-admin/post-new.php6.05 ▲0.1693.28 ▼2.59
Media Library /wp-admin/upload.php3.40 ▲0.1638.05 ▲5.36

Server storage [IO: ▲5.95MB] [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, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Ultimate Store Kit Elementor Addons, Woocommerce Builder, EDD Builder, Elementor Store Builder, Product Grid, Product Table, Woocommerce Slider
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,796 ▲3414.54 ▼0.201.60 ▲0.1437.66 ▲1.69
Dashboard /wp-admin2,198 ▲185.61 ▼0.0395.56 ▼3.6542.76 ▼3.92
Posts /wp-admin/edit.php2,106 ▲32.02 ▼0.0540.29 ▼1.7136.70 ▼1.47
Add New Post /wp-admin/post-new.php1,532 ▼223.08 ▲0.23622.72 ▲13.1265.62 ▲11.76
Media Library /wp-admin/upload.php1,409 ▲64.16 ▼0.0694.93 ▼1.8342.68 ▼0.68

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 6× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function UltimateStoreKit\\add_action() in wp-content/plugins/ultimate-store-kit/includes/modal/modal-settings.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ultimate-store-kit/includes/builder/modal/modal.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'UltimateStoreKit_Settings_API' not found in wp-content/plugins/ultimate-store-kit/admin/admin-settings.php:33
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/ultimate-store-kit/ultimate-store-kit.php:21
    • > PHP Fatal error
      Trait 'UltimateStoreKit\\Base\\Singleton' not found in wp-content/plugins/ultimate-store-kit/includes/builder/builder-post-singleton.php on line 7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function UltimateStoreKit\\add_action() in wp-content/plugins/ultimate-store-kit/admin/admin-notice.php:20

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: easy digital download, download monitor, elementor addon, bdthemes, edd...

ultimate-store-kit/ultimate-store-kit.php 85% from 13 tests

"Ultimate Store Kit Elementor Addons, Woocommerce Builder, EDD Builder, Elementor Store Builder, Product Grid, Product Table, Woocommerce Slider" version 1.5.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 248 characters long)
  • Requires at least: Required version must match the one declared in readme.txt ("5.0.0" instead of "3.0.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin107,796 lines of code in 330 files:
LanguageFilesBlank linesComment linesLines of code
CSS1063,6445,89846,302
PHP1664,8822,53742,057
JavaScript505,1927,37518,097
SVG84131,340

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity13.21
▷ Minimum class complexity1.00
▷ Maximum class complexity122.00
Average method complexity2.30
▷ Minimum method complexity1.00
▷ Maximum method complexity30.00
Code structure
Namespaces94
Interfaces0
Traits6
Classes106
▷ Abstract classes32.83%
▷ Concrete classes10397.17%
▷ Final classes32.91%
Methods1,018
▷ Static methods605.89%
▷ Public methods86384.77%
▷ Protected methods14414.15%
▷ Private methods111.08%
Functions71
▷ Named functions6185.92%
▷ Anonymous functions1014.08%
Constants32
▷ Global constants2268.75%
▷ Class constants1031.25%
▷ Public constants10100.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 images were found in this plugin