Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼1.20MB] [CPU: ▼43.74ms] Passed 4 tests
Analyzing server-side resources used by Search Everything
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.76 ▼0.70 | 15.30 ▼24.99 |
Dashboard /wp-admin | 2.81 ▼0.49 | 16.45 ▼35.74 |
Posts /wp-admin/edit.php | 2.82 ▼0.54 | 18.02 ▼25.92 |
Add New Post /wp-admin/post-new.php | 2.81 ▼3.07 | 16.61 ▼88.31 |
Media Library /wp-admin/upload.php | 2.82 ▼0.41 | 18.38 ▼15.84 |
Search Everything /wp-admin/options-general.php?page=extend_search | 2.82 | 17.55 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 68 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
se_meta |
can_compress_scripts |
se_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Search Everything
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 14.48 ▲0.05 | 1.78 ▼0.05 | 42.52 ▼1.44 |
Dashboard /wp-admin | 2,236 ▲48 | 5.81 ▲0.73 | 103.07 ▼11.74 | 44.08 ▼0.27 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.04 ▼0.00 | 40.55 ▼1.45 | 34.34 ▼0.53 |
Add New Post /wp-admin/post-new.php | 6,470 ▲4,937 | 20.39 ▼2.75 | 934.06 ▲309.12 | 63.12 ▲8.87 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.21 ▼0.00 | 94.68 ▼7.20 | 44.58 ▲1.00 |
Search Everything /wp-admin/options-general.php?page=extend_search | 1,405 | 2.09 | 27.48 | 43.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/search-everything/config.php+29
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=extend_search
- > Notice in wp-content/plugins/search-everything/config.php+29
Trying to access array offset on value of type bool
SRP 0% 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 items
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/search-everything/views/options_page_errors.php
- > /wp-content/plugins/search-everything/views/options_page_notice.php
- > /wp-content/plugins/search-everything/views/admin_head.php
- > /wp-content/plugins/search-everything/views/global_notice.php
- > /wp-content/plugins/search-everything/views/global_head.php
- 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: close_url in wp-content/plugins/search-everything/views/options_page_notice.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/search-everything/views/options_page.php:2
- > PHP Notice
Undefined variable: notice in wp-content/plugins/search-everything/views/global_notice.php on line 3
- > PHP Warning
Use of undefined constant SE_VERSION - assumed 'SE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/search-everything/views/global_head.php on line 2
- > PHP Warning
Use of undefined constant SE_PREFS_STATE_NOT_ENGLISH - assumed 'SE_PREFS_STATE_NOT_ENGLISH' (this will throw an Error in a future version of PHP) in wp-content/plugins/search-everything/config.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/search-everything/views/global_notice.php on line 4
- > PHP Notice
Undefined variable: close_url in wp-content/plugins/search-everything/views/global_notice.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/search-everything/search-everything.php:16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/search-everything/views/admin_head.php on line 2
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/search-everything/views/options_page_errors.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Screenshot of the options panel), #2 (Screenshot of the writing helper Research Everything), #3 (Screenshot of a post with search results from the Research Everything writing helper)
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== search-everything ===
)
search-everything/search-everything.php 92% from 13 tests
The main file in "Search Everything" v. 8.1.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 325 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected4,251 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 21 | 910 | 1,304 | 2,131 |
PHP | 10 | 269 | 93 | 1,560 |
JavaScript | 1 | 30 | 2 | 241 |
HTML | 1 | 57 | 0 | 203 |
CSS | 3 | 13 | 0 | 116 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 104.00 |
▷ Minimum class complexity | 57.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 6.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.30MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/img/search.png | 0.33KB | 0.36KB | 0.00% |
static/img/zem-logo.png | 2.28KB | 1.27KB | ▼ 44.26% |
screenshot-1.png | 99.84KB | 29.63KB | ▼ 70.32% |
screenshot-3.png | 109.21KB | 40.46KB | ▼ 62.96% |
screenshot-2.png | 95.77KB | 32.14KB | ▼ 66.44% |