Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.96ms] Passed 4 tests
A check of server-side resources used by Auto Search Suggestion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.09 | 42.96 ▲1.15 |
Dashboard /wp-admin | 3.44 ▲0.09 | 58.19 ▲6.23 |
Posts /wp-admin/edit.php | 3.55 ▲0.15 | 47.36 ▼3.44 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.09 | 88.82 ▼16.21 |
Media Library /wp-admin/upload.php | 3.36 ▲0.09 | 39.20 ▲2.66 |
Front Side Settings /wp-admin/admin.php?page=auto-suggest-front | 3.30 | 34.48 |
Admin Side Settings /wp-admin/admin.php?page=auto-suggest | 3.30 | 34.07 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Auto Search Suggestion
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.17 ▼0.32 | 1.73 ▼0.02 | 44.17 ▼0.06 |
Dashboard /wp-admin | 2,224 ▲56 | 5.63 ▼0.01 | 86.90 ▼5.16 | 39.45 ▼3.05 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.01 ▲0.02 | 38.90 ▲1.85 | 36.16 ▲1.94 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.02 ▼0.30 | 708.46 ▲85.78 | 53.28 ▼16.19 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.19 ▼0.06 | 104.03 ▼0.47 | 46.16 ▼1.01 |
Front Side Settings /wp-admin/admin.php?page=auto-suggest-front | 955 | 2.00 | 21.95 | 27.99 |
Admin Side Settings /wp-admin/admin.php?page=auto-suggest | 918 | 2.00 | 22.90 | 27.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 17 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=auto-suggest
- > Warning in wp-content/plugins/auto-search-suggestion/auto-search-suggestion.php+237
in_array() expects parameter 2 to be array, bool given
SRP 50% 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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/auto-search-suggestion/auto-search-suggestion.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png), #4 (screenshot-4.png), #5 (screenshot-5.png), #6 (screenshot-6.png)
auto-search-suggestion/auto-search-suggestion.php 85% from 13 tests
"Auto Search Suggestion" version 5.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected555 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 97 | 78 | 484 |
CSS | 2 | 13 | 12 | 71 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
7 PNG files occupy 0.21MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 6.50KB | 2.66KB | ▼ 59.09% |
screenshot-6.png | 67.86KB | 27.28KB | ▼ 59.80% |
screenshot-2.png | 28.12KB | 10.07KB | ▼ 64.18% |
screenshot-5.png | 44.33KB | 17.70KB | ▼ 60.06% |
screenshot-3.png | 62.74KB | 24.70KB | ▼ 60.64% |