Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.33MB] [CPU: ▼140.71ms] Passed 4 tests
Server-side resources used by Ultimate WP Query Search Filter
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.14 ▲0.31 | 31.48 ▼4.02 |
Dashboard /wp-admin | 3.44 ▲0.38 | 46.67 ▲5.60 |
Posts /wp-admin/edit.php | 3.49 ▲0.38 | 47.46 ▲9.27 |
Add New Post /wp-admin/post-new.php | 5.73 ▲0.30 | 90.84 ▼569.46 |
Media Library /wp-admin/upload.php | 3.32 ▲0.32 | 35.80 ▲5.04 |
Add Form /wp-admin/admin.php?page=uwpqsfform | 3.36 | 27.85 |
Ulitmate WPQSF /wp-admin/admin.php?page=ultimatewpqsf | 3.29 | 28.96 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate WP Query Search Filter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,713 ▲117 | 15.88 ▲0.37 | 8.02 ▼0.23 | 44.93 ▼3.44 |
Dashboard /wp-admin | 3,007 ▲76 | 5.92 ▼0.06 | 145.64 ▲7.63 | 113.84 ▲9.15 |
Posts /wp-admin/edit.php | 2,773 ▲37 | 2.71 ▲0.02 | 65.47 ▼7.02 | 89.88 ▼7.19 |
Add New Post /wp-admin/post-new.php | 1,894 ▲222 | 19.20 ▲0.12 | 365.67 ▼14.82 | 106.59 ▲2.56 |
Media Library /wp-admin/upload.php | 1,859 ▲52 | 5.00 ▼0.03 | 146.95 ▼5.98 | 121.73 ▼1.31 |
Add Form /wp-admin/admin.php?page=uwpqsfform | 2,117 | 2.62 | 57.88 | 95.10 |
Ulitmate WPQSF /wp-admin/admin.php?page=ultimatewpqsf | 1,201 | 2.09 | 54.96 | 77.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ultimate-wp-query-search-filter/admin/forms.php
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/ultimate-wp-query-search-filter/ultimate-wpqsf.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-wp-query-search-filter/classes/uwpqsf-process-class.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_thickbox() in wp-content/plugins/ultimate-wp-query-search-filter/admin/fields/themeoption.php:2
- > PHP Warning
Use of undefined constant UWPQSFBASE - assumed 'UWPQSFBASE' (this will throw an Error in a future version of PHP) in wp-content/plugins/ultimate-wp-query-search-filter/admin/list-from-class.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'uwpqsfclass' not found in wp-content/plugins/ultimate-wp-query-search-filter/admin/ajax-add-cmf.php:4
- > PHP Fatal error
require_once(): Failed opening required 'UWPQSFBASE/admin/class-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/ultimate-wp-query-search-filter/admin/list-from-class.php on line 3
- > PHP Notice
Undefined index: gettaxodata in wp-content/plugins/ultimate-wp-query-search-filter/admin/ajax-add-taxo.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/ultimate-wp-query-search-filter/admin/ajax-add-taxo.php:6
- > PHP Notice
Undefined index: type in wp-content/plugins/ultimate-wp-query-search-filter/admin/ajax-add-cmf.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ultimate-wp-query-search-filter/admin/fields/misc.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 require attention:
- Screenshots: Add images for these screenshots: #1 (Ultimate WP Query Search Filter setting page 1), #2 (Ultimate WP Query Search Filter setting page 3), #4 (Ultimate WP Query Search Filter setting page 4), #5 (Ultimate WP Query Search Filter search form in the content and sidebar)
ultimate-wp-query-search-filter/ultimate-wpqsf.php 92% from 13 tests
The principal PHP file in "Ultimate WP Query Search Filter" v. 1.0.10 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ultimate-wp-query-search-filter.php" instead of "ultimate-wpqsf.php")
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
There were no executable files found in this plugin2,378 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 463 | 387 | 2,108 |
JavaScript | 2 | 56 | 11 | 206 |
CSS | 2 | 4 | 11 | 64 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 52.67 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 5.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.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 | 77 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 77 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.30MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 56.45KB | 19.90KB | ▼ 64.75% |
screenshot-1.png | 35.42KB | 12.34KB | ▼ 65.16% |
screenshot-3.png | 77.91KB | 26.59KB | ▼ 65.87% |
admin/scripts/images/arrow-down.png | 1.23KB | 1.14KB | ▼ 6.92% |
themes/default.png | 51.97KB | 17.91KB | ▼ 65.54% |