Benchmarks
Plugin footprint 83% from 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.01MB] [CPU: ▼9.24ms] Passed 4 tests
This is a short check of server-side resources used by WP Plugin QuickSearch
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.68 ▼2.96 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.91 ▼26.69 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.59 ▲5.15 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.24 ▼2.36 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 31.79 ▼4.93 |
Quick Search for Wordpress /wp-admin/options-general.php?page=quicksearch-site-search/wp-plugin-quicksearch.php | 3.22 | 31.11 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Plugin QuickSearch
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.21 ▼1.19 | 4.66 ▲2.42 | 43.83 ▼6.43 |
Dashboard /wp-admin | 2,207 ▲28 | 5.80 ▲0.95 | 106.34 ▼11.20 | 42.11 ▼4.22 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.01 | 40.86 ▲5.03 | 35.04 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.52 ▼5.80 | 663.37 ▼26.42 | 53.01 ▼7.39 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.24 ▲0.04 | 95.81 ▼8.30 | 40.92 ▼5.35 |
Quick Search for Wordpress /wp-admin/options-general.php?page=quicksearch-site-search/wp-plugin-quicksearch.php | 780 | 2.06 | 27.55 | 28.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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 errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/quicksearch-site-search/wp-plugin-quicksearch.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
1 plugin tags: search
quicksearch-site-search/wp-plugin-quicksearch.php 92% from 13 tests
The main PHP file in "WP Plugin QuickSearch" ver. 1.01 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("quicksearch-site-search.php" instead of "wp-plugin-quicksearch.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
No dangerous file extensions were detected109 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 27 | 109 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin