84% meta-store-elements

Code Review | Meta Store Elements

WordPress plugin Meta Store Elements scored 84% from 54 tests.

About plugin

  • Plugin page: meta-store-elements
  • Plugin version: 1.0.9
  • PHP compatiblity: 5.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9
  • WordPress version: 6.3.1
  • First release: Jun 24, 2020
  • Latest release: Jan 24, 2022
  • Number of updates: 12
  • Update frequency: every 48.7 days
  • Top authors: bnayawpguy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active / 10,153 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.08MB] [CPU: ▼1.08ms] Passed 4 tests

This is a short check of server-side resources used by Meta Store Elements
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0839.47 ▼3.78
Dashboard /wp-admin3.38 ▲0.0867.54 ▲21.58
Posts /wp-admin/edit.php3.50 ▲0.1447.36 ▲0.10
Add New Post /wp-admin/post-new.php5.97 ▲0.0886.11 ▼1.79
Media Library /wp-admin/upload.php3.31 ▲0.0835.97 ▲1.14

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Meta Store Elements
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,843 ▲10814.48 ▲0.191.92 ▼0.5144.61 ▼6.24
Dashboard /wp-admin2,224 ▲335.78 ▲0.88114.09 ▼0.2144.41 ▼0.53
Posts /wp-admin/edit.php2,106 ▲142.06 ▲0.0643.40 ▲2.6937.14 ▲0.19
Add New Post /wp-admin/post-new.php1,546 ▲3223.36 ▲5.82681.31 ▲65.7160.18 ▲11.14
Media Library /wp-admin/upload.php1,409 ▲184.26 ▲0.03102.42 ▼2.5543.24 ▼1.87

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

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
  • 14× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/meta-store-elements/widgets/product-category-grid.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/meta-store-elements/widgets/blog-grid2.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/meta-store-elements/widgets/product-list.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/meta-store-elements/widgets/countdown.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/meta-store-elements/widgets/slider.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/meta-store-elements/widgets/product-tabs-grid.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/meta-store-elements/widgets/product-category-block1.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/meta-store-elements/widgets/vertical-menu.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/meta-store-elements/widgets/testimonial-slider.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/meta-store-elements/widgets/cta.php:9

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: editor, elementor

meta-store-elements/meta-store-elements.php Passed 13 tests

The entry point to "Meta Store Elements" version 1.0.9 is a PHP file that has certain tags in its header comment area
39 characters long description:
Elementor blocks for Ecommerce Websites

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected17,705 lines of code in 40 files:
LanguageFilesBlank linesComment linesLines of code
PHP231,0713067,264
JavaScript109901,9185,211
CSS63541033,398
SVG1001,832

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.22
Average class complexity12.64
▷ Minimum class complexity1.00
▷ Maximum class complexity28.00
Average method complexity2.79
▷ Minimum method complexity1.00
▷ Maximum method complexity25.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes22
▷ Abstract classes00.00%
▷ Concrete classes22100.00%
▷ Final classes14.55%
Methods143
▷ Static methods85.59%
▷ Public methods8257.34%
▷ Protected methods5941.26%
▷ Private methods21.40%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants457.14%
▷ Class constants342.86%
▷ Public constants3100.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