Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.31ms] Passed 4 tests
A check of server-side resources used by Smart Search & Product Filter for WooCommerce - Searchanise
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.82 ▼5.54 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.26 ▼1.72 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.78 ▼2.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.81 ▼3.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.88 ▲3.90 |
Server storage [IO: ▲0.63MB] [DB: ▲0.05MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 170 new files
Database: 2 new tables, 22 new options
New tables |
---|
wp_wc_se_settings |
wp_wc_se_queue |
New WordPress options |
---|
se_resync_interval |
se_use_direct_image_links |
se_enabled_searchanise_search |
widget_recent-posts |
se_search_result_page |
theysaidso_admin_options |
se_search_input_selector |
se_sync_mode |
se_ajax_async_enabled |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Smart Search & Product Filter for WooCommerce - Searchanise
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.74 ▲0.49 | 1.80 ▼0.45 | 43.86 ▲4.40 |
Dashboard /wp-admin | 2,209 ▲18 | 5.92 ▲0.02 | 100.05 ▼3.85 | 44.15 ▲2.01 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.00 | 34.98 ▼0.60 | 34.07 ▲2.06 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 22.90 ▲5.45 | 569.90 ▼100.77 | 57.67 ▲2.46 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.20 ▲0.03 | 98.07 ▼5.01 | 41.35 ▼2.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables detected upon uninstall: 2 tables
- wp_wc_se_settings
- wp_wc_se_queue
- Zombie WordPress options were found after uninstall: 22 options
- widget_recent-posts
- se_use_direct_image_links
- se_need_reindexation
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- se_use_wp_jquery
- se_import_block_posts
- can_compress_scripts
- se_color_attribute
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 101× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/smart-search-for-woocommerce/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/smart-search-for-woocommerce/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/smart-search-for-woocommerce/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/smart-search-for-woocommerce/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/smart-search-for-woocommerce/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/smart-search-for-woocommerce/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Plugin\\PluginInterface' not found in wp-content/plugins/smart-search-for-woocommerce/vendor/composer/installers/src/Composer/Installers/Plugin.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/smart-search-for-woocommerce/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/smart-search-for-woocommerce/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/smart-search-for-woocommerce/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Use smart search with suggestions & spellcheck to guide shoppers.), #2 (Tweak our flexible filters for search results.), #3 (Ensure visitors see relevant results with our synonyms & redirects.), #4 (Increase order value with effective upsell & cross-sell features.), #5 (Leverage analytics to avoid giving no results to your customers.)
- Tags: You are using too many tags: 12 tag instead of maximum 10
smart-search-for-woocommerce/woocommerce-searchanise.php 85% from 13 tests
The primary PHP file in "Smart Search & Product Filter for WooCommerce - Searchanise" version 1.0.14 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("smart-search-for-woocommerce.php" instead of "woocommerce-searchanise.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin12,939 lines of code in 163 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 148 | 2,562 | 5,375 | 11,736 |
JavaScript | 4 | 93 | 32 | 415 |
JSON | 3 | 0 | 0 | 331 |
CSS | 3 | 60 | 9 | 323 |
YAML | 3 | 31 | 3 | 123 |
SVG | 2 | 0 | 0 | 11 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 12.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 287.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 135 | |
▷ Abstract classes | 2 | 1.48% |
▷ Concrete classes | 133 | 98.52% |
▷ Final classes | 0 | 0.00% |
Methods | 694 | |
▷ Static methods | 76 | 10.95% |
▷ Public methods | 556 | 80.12% |
▷ Protected methods | 44 | 6.34% |
▷ Private methods | 94 | 13.54% |
Functions | 38 | |
▷ Named functions | 4 | 10.53% |
▷ Anonymous functions | 34 | 89.47% |
Constants | 184 | |
▷ Global constants | 2 | 1.09% |
▷ Class constants | 182 | 98.91% |
▷ Public constants | 182 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected