78% venby

Code Review | Ecommerce Automation, Made More Automated

WordPress plugin Ecommerce Automation, Made More Automated scored 78% from 54 tests.

About plugin

  • Plugin page: venby
  • Plugin version: 2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.1-6.1.1
  • WordPress version: 6.3.1
  • First release: Jun 17, 2019
  • Latest release: Jan 27, 2023
  • Number of updates: 32
  • Update frequency: every 41.4 days
  • Top authors: joeleem0n (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,085 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
This plugin's installer ran successfully

Server metrics [RAM: ▼0.67MB] [CPU: ▼14.79ms] Passed 4 tests

Server-side resources used by Ecommerce Automation, Made More Automated
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0345.12 ▲6.77
Dashboard /wp-admin3.34 ▲0.0346.85 ▼6.03
Posts /wp-admin/edit.php3.39 ▲0.0348.80 ▲2.88
Add New Post /wp-admin/post-new.php3.12 ▼2.7737.96 ▼57.49
Media Library /wp-admin/upload.php3.26 ▲0.0335.32 ▲1.50
Venby Products /wp-admin/options-general.php?page=venby3.2031.14

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Ecommerce Automation, Made More Automated
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲8513.31 ▼1.271.59 ▼0.1240.69 ▼5.23
Dashboard /wp-admin2,226 ▲385.84 ▲0.9298.32 ▼8.1640.53 ▼0.75
Posts /wp-admin/edit.php2,109 ▲202.04 ▼0.0242.60 ▲6.9836.19 ▲3.42
Add New Post /wp-admin/post-new.php1,528 ▲917.76 ▼5.35599.26 ▼71.1955.94 ▲3.71
Media Library /wp-admin/upload.php1,411 ▲204.28 ▲0.08106.05 ▲6.7245.14 ▲1.91
Venby Products /wp-admin/options-general.php?page=venby8342.0326.1026.12

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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=venby
    • > Notice in wp-content/plugins/venby/includes/settings.php+101
    Undefined variable: notice_class

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 fix the following
  • 4× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/venby/venby-tv.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/venby/includes/product-frontend.php:74
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/venby/includes/product-backend.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/venby/includes/settings.php:3

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 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: ecommerce automation, ecommerce, stripe, venby, woocommerce

venby/venby-tv.php 92% from 13 tests

This is the main PHP file of "Ecommerce Automation, Made More Automated" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("venby.php" instead of "venby-tv.php")

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
Good job! No executable or dangerous file extensions detected231 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP55613231

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin