Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.21MB] [CPU: ▲3.79ms] Passed 4 tests
Analyzing server-side resources used by BeautifulmultiselectsearchLite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 44.15 ▲7.55 |
Dashboard /wp-admin | 3.52 ▲0.21 | 50.65 ▲1.00 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 50.07 ▲6.94 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 92.40 ▲8.01 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.53 ▼0.33 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 59 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
cpc_bms_admin_text_mod |
theysaidso_admin_options |
cpc_bms_advanced_admin_options |
widget_recent-posts |
cpc_bms_admin_options |
widget_beautiful-multiselect-search-lite |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BeautifulmultiselectsearchLite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 13.67 ▼0.79 | 1.81 ▲0.02 | 42.70 ▲1.66 |
Dashboard /wp-admin | 2,243 ▲55 | 5.04 ▼0.84 | 99.50 ▲1.07 | 84.01 ▲41.93 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.29 ▲0.30 | 35.57 ▼0.50 | 33.92 ▼0.49 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 17.73 ▲0.17 | 718.82 ▲35.92 | 37.20 ▼24.21 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.33 ▲0.15 | 101.51 ▲2.88 | 49.10 ▲4.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 10 options
- cpc_bms_admin_text_mod
- cpc_bms_advanced_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- cpc_bms_admin_options
- widget_beautiful-multiselect-search-lite
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/beautiful-multiselect-search-lite/class.beautiful-multiselect-search-widget.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/beautiful-multiselect-search-lite/admintemplate/admin-page-template-faq.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/beautiful-multiselect-search-lite/admintemplate/admin-page-template-default.php:8
- > PHP Fatal error
Uncaught Error: Class 'cpc_bms_PageTemplater' not found in wp-content/plugins/beautiful-multiselect-search-lite/class.beautiful-multiselect-search-admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/beautiful-multiselect-search-lite/admintemplate/admin-page-template-options.php:325
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/beautiful-multiselect-search-lite/admintemplate/advancedadmin-page-template-options.php:201
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/beautiful-multiselect-search-lite/admintemplate/admin-page-template-text.php:73
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beautiful-multiselect-search-lite/css/bms-admin-options-head.php:119
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/beautiful-multiselect-search-lite/template-beautiful-multiselect-search1.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/beautiful-multiselect-search-lite/beautiful-multiselect-search.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: search, faceted, category, filter, post...
beautiful-multiselect-search-lite/beautiful-multiselect-search.php 85% from 13 tests
The entry point to "BeautifulmultiselectsearchLite" version 1.5.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 407 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("beautiful-multiselect-search-lite.php" instead of "beautiful-multiselect-search.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
Good job! No executable or dangerous file extensions detected3,753 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 118 | 267 | 2,328 |
PO File | 4 | 372 | 542 | 864 |
CSS | 2 | 41 | 42 | 302 |
JavaScript | 3 | 17 | 79 | 259 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 40.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 6.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 6 | 28.57% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
29 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/point-interrogationx2.png | 1.57KB | 0.79KB | ▼ 50.06% |
images/point-interrogation-yellow.png | 0.83KB | 0.48KB | ▼ 42.32% |
images/point-interrogation-purple.png | 0.86KB | 0.48KB | ▼ 43.96% |
images/point-interrogationx2black.png | 1.60KB | 0.79KB | ▼ 50.97% |
images/point-interrogation-red.png | 0.78KB | 0.46KB | ▼ 41.72% |