Benchmarks
Plugin footprint 65% 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.21MB] [CPU: ▼11.28ms] 75% from 4 tests
Analyzing server-side resources used by Simile for WooCommerce
Please take the time to fix the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 908.80ms on /wp-admin/admin.php?page=simile-smart-bundles-config)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.51 | 44.15 ▲5.57 |
Dashboard /wp-admin | 3.80 ▲0.49 | 53.66 ▲0.14 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 59.22 ▲10.74 |
Add New Post /wp-admin/post-new.php | 3.63 ▼2.25 | 44.28 ▼58.53 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 43.73 ▲7.69 |
Customize Product /wp-admin/admin.php?page=simile-smart-bundles-customize | 3.62 | 40.97 |
Smart Config /wp-admin/admin.php?page=simile-smart-bundles-config | 3.70 | 908.80 |
Smile /wp-admin/admin.php?page=simile-for-woocommerce | 3.62 | 38.90 |
Server storage [IO: ▲0.23MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_similie_product_detail |
wp_postmeta_simile_backup |
New WordPress options |
---|
can_compress_scripts |
simile-for-woocommerce_shop_credentials |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Simile for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.24 ▼0.12 | 1.73 ▲0.05 | 42.22 ▲1.50 |
Dashboard /wp-admin | 2,225 ▲48 | 5.58 ▼0.08 | 92.87 ▲5.08 | 42.61 ▲2.57 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.98 ▼0.02 | 36.65 ▲0.83 | 42.79 ▲9.85 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 22.91 ▼0.22 | 683.12 ▼59.36 | 52.64 ▼10.78 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.23 ▲0.02 | 107.53 ▼1.19 | 47.84 ▲3.00 |
Customize Product /wp-admin/admin.php?page=simile-smart-bundles-customize | 822 | 1.81 | 28.04 | 27.32 |
Smart Config /wp-admin/admin.php?page=simile-smart-bundles-config | 1,127 | 2.05 | 24.53 | 28.93 |
Smile /wp-admin/admin.php?page=simile-for-woocommerce | 1,244 | 10.07 | 299.58 | 44.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie tables detected upon uninstall: 2 tables
- wp_similie_product_detail
- wp_postmeta_simile_backup
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- simile-for-woocommerce_shop_credentials
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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 following issues need your attention
- 11× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/simile-for-woocommerce/simile-for-woocommerce.php
- > /wp-content/plugins/simile-for-woocommerce/includes/simile-visual-search.php
- > /wp-content/plugins/simile-for-woocommerce/includes/simile-related-products.php
- > /wp-content/plugins/simile-for-woocommerce/includes/simile-smart-bundles-products-view.php
- > /wp-content/plugins/simile-for-woocommerce/includes/simile-smart-bundles-admin-iframe.php
- > /wp-content/plugins/simile-for-woocommerce/includes/simile-on-activation.php
- > /wp-content/plugins/simile-for-woocommerce/includes/simile-smart-bundles-admin-settings.php
- > /wp-content/plugins/simile-for-woocommerce/includes/simile-rest-api.php
- > /wp-content/plugins/simile-for-woocommerce/includes/simile-admin.php
- > /wp-content/plugins/simile-for-woocommerce/includes/simile-model.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=simile-smart-bundles-customize
- > Network (severe)
https://service.scopemedia.com/wp-bundle/admin/?shop=wp.com.22378-simile_wp×tamp=1697483173&signature=c05b0b743d30b2d9b6d37a0a490734b26dacff8d6650d84d39f4005c8cc5d359 - Failed to load resource: the server responded with a status of 502 (Bad Gateway)
Optimizations
Plugin configuration Passed 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
10 plugin tags: similar, cross, upsell, woocommerce, cross-sell...
simile-for-woocommerce/simile-for-woocommerce.php Passed 13 tests
The principal PHP file in "Simile for WooCommerce" v. 1.0.6 is loaded by WordPress automatically on each request
111 characters long description:
Simile applies Deep Learning AI technology to discover & recommend visually related products to your customers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected3,860 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 357 | 401 | 2,321 |
JavaScript | 4 | 145 | 86 | 794 |
CSS | 3 | 104 | 35 | 745 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 26.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 108 | |
▷ Static methods | 26 | 24.07% |
▷ Public methods | 84 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 22.22% |
Functions | 16 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 16 | 100.00% |
Constants | 12 | |
▷ Global constants | 12 | 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
PNG images were not found in this plugin