Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼11.82ms] Passed 4 tests
A check of server-side resources used by Doofinder WP & WooCommerce Search
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.62 | 47.94 ▼0.90 |
Dashboard /wp-admin | 4.02 ▲0.72 | 46.10 ▼8.18 |
Posts /wp-admin/edit.php | 4.13 ▲0.77 | 52.39 ▲8.45 |
Add New Post /wp-admin/post-new.php | 4.15 ▼1.74 | 53.37 ▼46.66 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 44.86 ▲12.76 |
/wp-admin/index.php?page=df-setup | 3.93 | 44.30 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 63 new files
Database: 1 new table, 19 new options
New tables |
---|
wp_doofinder_update_on_save |
New WordPress options |
---|
doofinder_for_wp_custom_attributes |
doofinder_setup_wizard_active |
doofinder_for_wp_notices |
doofinder_setup_wizard_token |
doofinder_for_wp_show_once_notices |
widget_theysaidso_widget |
doofinder_setup_wizard_status |
widget_recent-posts |
can_compress_scripts |
doofinder_for_wp_token |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Doofinder WP & WooCommerce Search
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,960 ▲198 | 14.28 ▼0.07 | 1.76 ▲0.13 | 45.17 ▲1.49 |
Dashboard /wp-admin | 2,324 ▲153 | 4.91 ▼0.73 | 90.12 ▼13.12 | 85.39 ▲39.71 |
Posts /wp-admin/edit.php | 2,245 ▲142 | 2.39 ▲0.44 | 38.61 ▼0.99 | 35.80 ▼1.24 |
Add New Post /wp-admin/post-new.php | 6,552 ▲5,026 | 27.84 ▲4.83 | 944.28 ▲285.07 | 40.63 ▼17.58 |
Media Library /wp-admin/upload.php | 1,547 ▲147 | 4.39 ▲0.23 | 97.77 ▼1.69 | 68.51 ▲24.93 |
/wp-admin/index.php?page=df-setup | 280 | 1.29 | 12.20 | 32.22 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 19 options in the database
- widget_recent-comments
- doofinder_for_wp_notices
- doofinder_for_wp_plugin_version
- widget_theysaidso_widget
- db_upgraded
- doofinder_update_on_save_last_exec
- widget_recent-posts
- can_compress_scripts
- doofinder_for_wp_dooplugins_host
- doofinder_for_wp_token
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/doofinder-for-woocommerce/views/landing.php
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Doofinder\\WP\\Multilanguage\\Language_Plugin' not found in wp-content/plugins/doofinder-for-woocommerce/includes/multilanguage/class-no-language-plugin.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/doofinder-for-woocommerce/views/wizard-step-all-in-one.php:16
- > PHP Fatal error
Uncaught Error: Class 'Doofinder\\WP\\Settings' not found in wp-content/plugins/doofinder-for-woocommerce/views/wizard-step-1.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/doofinder-for-woocommerce/includes/settings/attributes.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function Doofinder\\WP\\wp_scripts() in wp-content/plugins/doofinder-for-woocommerce/views/wizard.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function Doofinder\\WP\\_e() in wp-content/plugins/doofinder-for-woocommerce/views/wizard-step-2.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function Doofinder\\WP\\_e() in wp-content/plugins/doofinder-for-woocommerce/views/wizard-step-3.php:14
- > PHP Fatal error
Uncaught Error: Class 'Doofinder\\WP\\Setup_Wizard' not found in wp-content/plugins/doofinder-for-woocommerce/views/wizard-step.php:5
- > PHP Notice
Undefined variable: no_steps in wp-content/plugins/doofinder-for-woocommerce/views/wizard-step-3.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'Doofinder\\WP\\Multilanguage\\Language_Plugin' not found in wp-content/plugins/doofinder-for-woocommerce/includes/multilanguage/class-polylang.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7, #8 in doofinder-for-woocommerce/assets to your readme.txt
doofinder-for-woocommerce/doofinder-for-woocommerce.php Passed 13 tests
The main file in "Doofinder WP & WooCommerce Search" v. 2.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
70 characters long description:
Integrate Doofinder Search in your WordPress site or WooCommerce shop.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin6,694 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 53 | 1,514 | 3,247 | 5,909 |
CSS | 3 | 153 | 10 | 388 |
JavaScript | 3 | 36 | 24 | 360 |
SVG | 1 | 0 | 0 | 37 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 14.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 4 | |
Classes | 40 | |
▷ Abstract classes | 1 | 2.50% |
▷ Concrete classes | 39 | 97.50% |
▷ Final classes | 0 | 0.00% |
Methods | 442 | |
▷ Static methods | 242 | 54.75% |
▷ Public methods | 285 | 64.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 157 | 35.52% |
Functions | 54 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 54 | 100.00% |
Constants | 24 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 24 | 100.00% |
▷ Public constants | 24 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/green_checkmark.png | 1.69KB | 1.49KB | ▼ 11.80% |