Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.34ms] Passed 4 tests
Server-side resources used by Quick Search WP & Woo-Admin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.97 ▼2.87 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.61 ▼3.75 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.11 ▼4.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.57 ▼13.98 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 32.79 ▼1.53 |
Quick Search /wp-admin/admin.php?page=search-items | 3.17 | 27.79 |
/wp-admin/admin.php?page=javascript:void(0) | 3.04 | 23.32 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Quick Search WP & Woo-Admin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲134 | 13.20 ▼1.17 | 4.63 ▲2.92 | 40.39 ▼3.48 |
Dashboard /wp-admin | 2,275 ▲84 | 4.88 ▼0.01 | 99.93 ▼12.56 | 40.77 ▼5.27 |
Posts /wp-admin/edit.php | 2,158 ▲69 | 2.00 ▲0.02 | 32.94 ▼5.75 | 32.55 ▼3.12 |
Add New Post /wp-admin/post-new.php | 1,589 ▲55 | 23.17 ▲0.00 | 655.81 ▲44.21 | 51.02 ▼6.82 |
Media Library /wp-admin/upload.php | 1,457 ▲66 | 4.25 ▼0.06 | 95.03 ▲0.97 | 41.75 ▼0.27 |
Quick Search /wp-admin/admin.php?page=search-items | 816 | 2.02 | 22.19 | 21.57 |
/wp-admin/admin.php?page=javascript:void(0) | 28 | 0.44 | 0.07 | 3.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=search-items
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'search_items' not found or invalid function name
SRP 50% 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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-search-wp-woo-admin/quick-search-wp-and-woo-admin.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=javascript:void(0)
- > Network (severe)
wp-admin/admin.php?page=javascript:void(0) - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
quick-search-wp-woo-admin/quick-search-wp-and-woo-admin.php 85% from 13 tests
The main PHP script in "Quick Search WP & Woo-Admin" version 1.0.2 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 145 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("quick-search-wp-woo-admin.php" instead of "quick-search-wp-and-woo-admin.php")
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 plugin79 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 16 | 58 |
CSS | 1 | 1 | 1 | 21 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin