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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.45 | 42.63 ▲2.90 |
Dashboard /wp-admin | 3.73 ▲0.42 | 48.60 ▲1.59 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 53.09 ▲3.45 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.42 | 98.81 ▲3.17 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 41.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲105 | 13.22 ▼1.03 | 1.88 ▼0.31 | 40.66 ▼7.61 |
Dashboard /wp-admin | 2,221 ▲36 | 4.87 ▼0.05 | 108.15 ▲4.80 | 43.28 ▼3.77 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.03 ▲0.02 | 42.33 ▲5.00 | 36.80 ▲2.95 |
Add New Post /wp-admin/post-new.php | 1,544 ▲24 | 23.31 ▲0.31 | 599.77 ▼58.97 | 61.39 ▼12.63 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.22 ▲0.01 | 97.33 ▼9.64 | 43.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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 768 | 265 | 2,429 |
CSS | 1 | 28 | 2 | 196 |
JavaScript | 1 | 36 | 0 | 104 |
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 code | 0.45 |
Average class complexity | 378.00 |
▷ Minimum class complexity | 378.00 |
▷ Maximum class complexity | 378.00 |
Average method complexity | 9.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 283.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 45 | |
▷ Static methods | 2 | 4.44% |
▷ Public methods | 38 | 84.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 15.56% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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