Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/combined-search/includes/class-combined-search.php+77
Non-static method Combined_Search_Options::get_instance() should not be called statically
Server metrics [RAM: ▼1.97MB] [CPU: ▼52.40ms] Passed 4 tests
This is a short check of server-side resources used by Combined Search
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.50 ▼35.53 |
Dashboard /wp-admin | 2.05 ▼1.30 | 9.47 ▼49.13 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.39 ▼40.28 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 4.69 ▼84.67 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.20 ▼27.94 |
Combined Search /wp-admin/options-general.php?page=combined_search | 2.05 | 7.15 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Combined Search
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.35 ▲0.00 | 1.79 ▼0.07 | 40.16 ▲2.88 |
Dashboard /wp-admin | 2,199 ▲24 | 5.64 ▼0.01 | 93.06 ▼8.52 | 36.19 ▼3.68 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.02 | 33.85 ▼0.33 | 36.09 ▼3.94 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 18.04 ▼5.03 | 586.62 ▼16.98 | 69.49 ▲11.69 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.29 ▲0.09 | 92.06 ▼15.88 | 42.47 ▼4.79 |
Combined Search /wp-admin/options-general.php?page=combined_search | 1,047 | 2.00 | 22.13 | 28.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/combined-search/includes/class-combined-search.php+77
Non-static method Combined_Search_Options::get_instance() should not be called statically
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=combined_search
- > Deprecated in wp-content/plugins/combined-search/includes/class-combined-search-search-query.php+36
Non-static method Combined_Search_Options::get_instance() should not be called statically
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/combined-search/admin/partials/options-errors.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/combined-search/admin/partials/options-display.php:3
- > PHP Notice
Undefined variable: data in wp-content/plugins/combined-search/admin/partials/options-errors.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
combined-search/combined-search.php Passed 13 tests
"Combined Search" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
137 characters long description:
Forked from the popular Search Everywhere plugin, Combined Search allows you to search all available content types on your WordPress site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected6,353 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 5,252 |
PHP | 10 | 253 | 389 | 867 |
CSS | 2 | 13 | 1 | 78 |
Sass | 1 | 20 | 0 | 73 |
JavaScript | 1 | 24 | 8 | 67 |
Markdown | 1 | 6 | 0 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 23.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 3.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 66.67% |
▷ Protected methods | 12 | 22.22% |
▷ Private methods | 6 | 11.11% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
PNG images were not found in this plugin