Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼34.13ms] Passed 4 tests
An overview of server-side resources used by WP Search Suggest
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 34.10 ▼3.57 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.70 ▼35.62 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.55 ▼97.44 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.45 ▲8.61 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.78 ▲0.10 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
WP Search Suggest: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲160 | 13.76 ▼0.59 | 10.54 ▲8.84 | 45.50 ▲4.55 |
Dashboard /wp-admin | 2,192 ▲15 | 5.59 ▼0.08 | 91.93 ▼113.38 | 45.73 ▼40.73 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.96 ▼0.01 | 40.20 ▼53.12 | 35.53 ▼41.51 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.20 ▼0.42 | 608.60 ▼61.69 | 45.44 ▼3.54 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.03 | 99.62 ▼3.31 | 41.00 ▼1.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-search-suggest/wp-search-suggest.php:47
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: ajax, search, jquery
wp-search-suggest/wp-search-suggest.php 92% from 13 tests
Analyzing the main PHP file in "WP Search Suggest" version 8...
You should first fix the following items:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "8...")
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
No dangerous file extensions were detected208 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 15 | 40 | 80 |
PHP | 1 | 19 | 38 | 72 |
JavaScript | 2 | 1 | 0 | 32 |
CSS | 2 | 2 | 0 | 24 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin