89% codistoconnect

Code Review | Omnichannel for WooCommerce: Google, Amazon, eBay & Walmart Integration - Powered by Codisto

WordPress plugin Omnichannel for WooCommerce: Google, Amazon, eBay & Walmart Integration - Powered by Codisto scored 89% from 54 tests.

About plugin

  • Plugin page: codistoconnect
  • Plugin version: 1.3.65
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0.0-5.9.3
  • WordPress version: 6.3.1
  • First release: Mar 29, 2016
  • Latest release: May 11, 2022
  • Number of updates: 262
  • Update frequency: every 8.6 days
  • Top authors: codisto (100%)

Code review

54 tests

User reviews

32 reviews

Install metrics

30,000+ active / 237,774 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.43MB] [CPU: ▲2.78ms] Passed 4 tests

This is a short check of server-side resources used by Omnichannel for WooCommerce: Google, Amazon, eBay & Walmart Integration - Powered by Codisto
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.91 ▲0.4542.63 ▲2.90
Dashboard /wp-admin3.73 ▲0.4248.60 ▲1.59
Posts /wp-admin/edit.php3.84 ▲0.4853.09 ▲3.45
Add New Post /wp-admin/post-new.php6.31 ▲0.4298.81 ▲3.17
Media Library /wp-admin/upload.php3.65 ▲0.4241.23 ▲5.72

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

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

Browser metrics Passed 4 tests

Omnichannel for WooCommerce: Google, Amazon, eBay & Walmart Integration - Powered by Codisto: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,840 ▲10513.22 ▼1.031.88 ▼0.3140.66 ▼7.61
Dashboard /wp-admin2,221 ▲364.87 ▼0.05108.15 ▲4.8043.28 ▼3.77
Posts /wp-admin/edit.php2,103 ▲142.03 ▲0.0242.33 ▲5.0036.80 ▲2.95
Add New Post /wp-admin/post-new.php1,544 ▲2423.31 ▲0.31599.77 ▼58.9761.39 ▼12.63
Media Library /wp-admin/upload.php1,400 ▲94.22 ▲0.0197.33 ▼9.6443.68 ▼1.13

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 86% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: walmart, multichannel, ebay, amazon, marketplaces

codistoconnect/connect.php 69% from 13 tests

"Omnichannel for WooCommerce: Google, Amazon, eBay & Walmart Integration - Powered by Codisto" version 1.3.65's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "2.0.0")
  • Description: Please keep the plugin description shorter than 140 characters (currently 154 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("codistoconnect.php" instead of "connect.php")

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin2,729 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP37682652,429
CSS1282196
JavaScript1360104

PHP code 50% from 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
  • Cyclomatic complexity of methods should be reduced to less than 100 (currently 283)
Cyclomatic complexity
Average complexity per logical line of code0.45
Average class complexity378.00
▷ Minimum class complexity378.00
▷ Maximum class complexity378.00
Average method complexity9.43
▷ Minimum method complexity1.00
▷ Maximum method complexity283.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods45
▷ Static methods24.44%
▷ Public methods3884.44%
▷ Protected methods00.00%
▷ Private methods715.56%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin