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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▲3.17ms] Passed 4 tests
A check of server-side resources used by Improved Quick Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 44.04 ▲4.60 |
Dashboard /wp-admin | 3.44 ▲0.13 | 52.51 ▲1.44 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.74 ▲3.12 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 95.25 ▲8.90 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.35 ▲3.50 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 8 new options
New WordPress options |
---|
mbis-version |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_improved_search_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Improved Quick Search
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲185 | 14.01 ▼0.42 | 9.82 ▲7.20 | 99.20 ▲56.28 |
Dashboard /wp-admin | 2,222 ▲34 | 4.82 ▼1.04 | 106.01 ▲1.98 | 38.54 ▼3.37 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.00 ▼0.03 | 45.39 ▲5.47 | 36.97 ▲1.90 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.07 ▼0.09 | 605.45 ▼60.65 | 53.86 ▼17.89 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.29 ▲0.07 | 117.48 ▲11.16 | 46.18 ▲1.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- widget_theysaidso_widget
- mbis-version
- can_compress_scripts
- widget_improved_search_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 8× PHP files output text when accessed directly:
- > /wp-content/plugins/improved-search/includes/class-template-builder.php
- > /wp-content/plugins/improved-search/includes/class-search.php
- > /wp-content/plugins/improved-search/includes/class-base.php
- > /wp-content/plugins/improved-search/includes/class-settings-menu.php
- > /wp-content/plugins/improved-search/includes/template-search.php
- > /wp-content/plugins/improved-search/improved-search.php
- > /wp-content/plugins/improved-search/includes/class-widget.php
- > /wp-content/plugins/improved-search/includes/class-shortcode.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to a member function create_section() on null in wp-content/plugins/improved-search/includes/template-settings-menu.php:16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/improved-search/includes/template-search.php on line 2
- > PHP Notice
Undefined variable: settings in wp-content/plugins/improved-search/includes/template-search.php on line 2
- > PHP Notice
Trying to get property 'Builder' of non-object in wp-content/plugins/improved-search/includes/template-settings-menu.php on line 16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: search, ajax
improved-search/improved-search.php 85% from 13 tests
The primary PHP file in "Improved Quick Search" version 1.1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,196 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 136 | 27 | 612 |
CSS | 5 | 86 | 26 | 377 |
JavaScript | 2 | 13 | 7 | 207 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 5.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.88% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin