Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▲1.26ms] Passed 4 tests
Analyzing server-side resources used by WP Full Screen Search
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 48.90 ▲3.54 |
Dashboard /wp-admin | 3.33 ▲0.03 | 52.83 ▼0.51 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 54.67 ▲0.57 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 104.85 ▲13.42 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 39.45 ▲1.45 |
WP Full Screen Search /wp-admin/options-general.php?page=wp-full-screen-search | 3.30 | 44.43 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP Full Screen Search
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,976 ▲187 | 13.98 ▲0.36 | 6.70 ▲4.73 | 63.87 ▲18.04 |
Dashboard /wp-admin | 2,253 ▲47 | 5.28 ▼0.57 | 112.66 ▲1.51 | 39.90 ▼3.01 |
Posts /wp-admin/edit.php | 2,140 ▲51 | 2.40 ▲0.37 | 47.06 ▲7.68 | 41.44 ▲2.97 |
Add New Post /wp-admin/post-new.php | 1,391 ▼143 | 17.74 ▼5.31 | 786.02 ▲24.13 | 27.74 ▼26.28 |
Media Library /wp-admin/upload.php | 1,438 ▲47 | 4.51 ▲0.29 | 100.00 ▼3.59 | 42.31 ▼1.49 |
WP Full Screen Search /wp-admin/options-general.php?page=wp-full-screen-search | 1,813 | 2.62 | 86.98 | 34.78 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-full-screen-search/admin/settings.php:6
- > PHP Warning
Use of undefined constant WPFSS_PLUGIN_URI - assumed 'WPFSS_PLUGIN_URI' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-full-screen-search/admin/settings.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-full-screen-search/admin/sidebar.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-full-screen-search/admin/dashboard-notices.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-full-screen-search
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-full-screen-search
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-full-screen-search
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultString is deprecated since version 5.5.0! Use wp.i18n instead.
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-full-screen-search
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration 93% 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
5 plugin tags: search, search form, ajax search, custom search, wordpress search
wp-full-screen-search/wp-full-screen-search.php 85% from 13 tests
The main file in "WP Full Screen Search" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
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 plugin657 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 51 | 105 | 407 |
CSS | 2 | 2 | 6 | 231 |
JavaScript | 3 | 7 | 22 | 19 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wp-full-screen-search-wordpress-plugin-thememantis.png | 6.19KB | 3.78KB | ▼ 38.88% |