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.03MB] [CPU: ▼4.63ms] Passed 4 tests
Server-side resources used by Suggestion Engine for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.27 ▼6.78 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.52 ▼4.30 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.43 ▼0.07 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 85.12 ▼5.46 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 35.26 ▼1.96 |
Server storage [IO: ▲2.73MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 85 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Suggestion Engine for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.58 ▲0.23 | 1.72 ▼0.07 | 43.58 ▼3.31 |
Dashboard /wp-admin | 2,199 ▲22 | 5.56 ▼0.11 | 86.77 ▼17.44 | 37.62 ▼4.69 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▼0.07 | 35.25 ▼2.93 | 33.86 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.10 ▼0.06 | 640.32 ▲46.69 | 61.53 ▲7.06 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.14 ▼0.13 | 100.64 ▼6.03 | 45.27 ▲0.41 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 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
6 plugin tags: woocommerce product suggestion, woo suggested product, search engine, search woocommerce, woo search...
woo-suggestion-engine/woo-suggestion-engine.php Passed 13 tests
The primary PHP file in "Suggestion Engine for WooCommerce" version 2.0.1 is used by WordPress to initiate all plugin functionality
112 characters long description:
The easiest way helps you sell more products by search engine and suggested product form your WooCommerce store.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected15,095 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 1,296 | 369 | 6,091 |
PHP | 14 | 325 | 450 | 4,522 |
SVG | 3 | 0 | 12 | 2,880 |
CSS | 26 | 54 | 141 | 874 |
Sass | 4 | 43 | 5 | 728 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 62.92 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 202.00 |
Average method complexity | 5.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 2 | 15.38% |
▷ Concrete classes | 11 | 84.62% |
▷ Final classes | 0 | 0.00% |
Methods | 164 | |
▷ Static methods | 52 | 31.71% |
▷ Public methods | 138 | 84.15% |
▷ Protected methods | 24 | 14.63% |
▷ Private methods | 2 | 1.22% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 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
No PNG files were detected