Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.69MB] [CPU: ▲10.93ms] Passed 4 tests
An overview of server-side resources used by AI Search: Optimize SEO & MRKT
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.18 ▲1.72 | 54.16 ▲8.79 |
Dashboard /wp-admin | 4.99 ▲1.69 | 62.66 ▲15.17 |
Posts /wp-admin/edit.php | 5.04 ▲1.69 | 59.19 ▲5.85 |
Add New Post /wp-admin/post-new.php | 7.59 ▲1.71 | 109.33 ▲13.89 |
Media Library /wp-admin/upload.php | 4.92 ▲1.69 | 51.91 ▲16.51 |
Server storage [IO: ▲4.75MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 1,321 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
see_wccs_entered_before |
widget_theysaidso_widget |
see_wccs_store_catalog_code_ |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for AI Search: Optimize SEO & MRKT
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲87 | 14.80 ▲0.42 | 1.74 ▼0.08 | 44.08 ▲2.03 |
Dashboard /wp-admin | 2,213 ▲25 | 4.85 ▼1.05 | 110.13 ▲9.49 | 42.19 ▼1.12 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 1.99 ▼0.03 | 33.97 ▼6.58 | 32.44 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 23.60 ▲0.28 | 647.67 ▲12.43 | 56.38 ▲4.15 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.23 ▲0.03 | 97.82 ▼5.98 | 43.23 ▲1.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following items
- 9× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/visual-search/vendor/nikic/php-parser/test_old/run.php
- > /wp-content/plugins/visual-search/vendor/nikic/php-parser/grammar/rebuildParsers.php
- > /wp-content/plugins/visual-search/impresee-creativesearch/includes/Presentation/Settings/SearchButtons/wc-creative-search-buttons-shortcode-section.php
- > /wp-content/plugins/visual-search/impresee-creativesearch/includes/Presentation/Settings/SearchButtons/wc-creative-general-shortcode-section.php
- > /wp-content/plugins/visual-search/impresee-creativesearch/includes/Presentation/Errors/InvalidHostError/wc-error-screen.php
- > /wp-content/plugins/visual-search/impresee-creativesearch/includes/Presentation/Errors/GenericError/wc-error-screen.php
- > /wp-content/plugins/visual-search/impresee-creativesearch/includes/Presentation/Settings/SearchButtons/wc-creative-searchbar-shortcode-section.php
- > /wp-content/plugins/visual-search/impresee-creativesearch/includes/Presentation/Onboarding/Processing/wc-processing-screen-onboarding.php
- > /wp-content/plugins/visual-search/impresee-creativesearch/includes/Presentation/Onboarding/WelcomeScreen/wc-welcome-screen-onboarding.php
- 664× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Impresee\\CreativeSearchBar\\Core\\Errors\\Failure' not found in wp-content/plugins/visual-search/vendor/impresee/impresee-creative-search-bar-php-base/src/Core/Errors/FailureInvalidError.php:4
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/visual-search/vendor/impresee/impresee-creative-search-bar-php-base/tests/Data/Models/IndexationConfigurationModelTest.php:6
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Stmt' not found in wp-content/plugins/visual-search/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Property.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/visual-search/vendor/impresee/impresee-creative-search-bar-php-base/tests/Domain/UseCases/GetInstalledPluginVersionInformationTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Expr\\BinaryOp' not found in wp-content/plugins/visual-search/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Mul.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/visual-search/vendor/impresee/impresee-creative-search-bar-php-base/tests/Domain/UseCases/GetCreateImpreseeAccountUrlTest.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerInterface' not found in wp-content/plugins/visual-search/vendor/php-di/php-di/src/Container.php:38
- > PHP Fatal error
Uncaught Error: Interface 'Impresee\\CreativeSearchBar\\Domain\\Entities\\ImpreseeCatalogStatus' not found in wp-content/plugins/visual-search/vendor/impresee/impresee-creative-search-bar-php-base/src/Domain/Entities/CatalogIsProcessingStatus.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Impresee\\CreativeSearchBar\\Core\\Errors\\Failure' not found in wp-content/plugins/visual-search/vendor/impresee/impresee-creative-search-bar-php-base/src/Core/Errors/FailureStoreImpreseeData.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/visual-search/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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
6 plugin tags: search bar, product search, visual search, creative search, woocommerce...
visual-search/impresee-creativesearch.php 85% from 13 tests
"AI Search: Optimize SEO & MRKT" version 5.2.15's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.5" instead of "2.2")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("visual-search.php" instead of "impresee-creativesearch.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin86,521 lines of code in 1,094 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 902 | 9,053 | 15,312 | 65,049 |
JavaScript | 73 | 2,574 | 5,680 | 7,773 |
Markdown | 47 | 2,153 | 0 | 6,496 |
JSON | 25 | 0 | 0 | 2,837 |
yacc | 3 | 284 | 12 | 1,791 |
SVG | 8 | 24 | 8 | 1,550 |
YAML | 17 | 78 | 6 | 455 |
CSS | 10 | 7 | 0 | 345 |
Sass | 3 | 26 | 0 | 140 |
XML | 3 | 5 | 3 | 68 |
Dockerfile | 1 | 8 | 0 | 10 |
Bourne Shell | 2 | 2 | 0 | 7 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 5.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 109 | |
Interfaces | 80 | |
Traits | 2 | |
Classes | 772 | |
▷ Abstract classes | 24 | 3.11% |
▷ Concrete classes | 748 | 96.89% |
▷ Final classes | 59 | 7.89% |
Methods | 4,313 | |
▷ Static methods | 249 | 5.77% |
▷ Public methods | 2,607 | 60.45% |
▷ Protected methods | 1,429 | 33.13% |
▷ Private methods | 277 | 6.42% |
Functions | 530 | |
▷ Named functions | 145 | 27.36% |
▷ Anonymous functions | 385 | 72.64% |
Constants | 437 | |
▷ Global constants | 56 | 12.81% |
▷ Class constants | 381 | 87.19% |
▷ Public constants | 381 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
impresee-creativesearch/includes/assets/icons/impresee_icon_pluginx20.png | 0.88KB | 0.92KB | 0.00% |
impresee-creativesearch/includes/assets/icons/impresee_icon_plugin.png | 6.45KB | 4.06KB | ▼ 37.02% |
impresee-creativesearch/includes/assets/icons/image1.png | 0.63KB | 0.41KB | ▼ 34.57% |
impresee-creativesearch/includes/assets/impresee-widget/pencil-icon.png | 0.34KB | 0.28KB | ▼ 17.63% |
impresee-creativesearch/includes/assets/impresee-widget/camera-icon.png | 0.45KB | 0.31KB | ▼ 31.36% |