Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.70MB] [CPU: ▼3.76ms] Passed 4 tests
An overview of server-side resources used by Better Admin Users Search
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 36.27 ▲0.95 |
Dashboard /wp-admin | 4.10 ▲0.79 | 50.92 ▼0.18 |
Posts /wp-admin/edit.php | 4.18 ▲0.82 | 52.09 ▲6.68 |
Add New Post /wp-admin/post-new.php | 6.68 ▲0.79 | 85.93 ▼22.47 |
Media Library /wp-admin/upload.php | 4.02 ▲0.79 | 43.71 ▲13.49 |
Better Admin Users Search /wp-admin/options-general.php?page=baus_options | 4.40 | 39.95 |
Server storage [IO: ▲3.29MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 456 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
baus_options |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Better Admin Users Search
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.42 ▼0.13 | 1.92 ▲0.44 | 41.24 ▲5.25 |
Dashboard /wp-admin | 2,207 ▲36 | 5.62 ▲0.06 | 83.61 ▼6.01 | 39.21 ▲2.77 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 2.07 ▲0.05 | 40.17 ▼2.23 | 35.86 ▼3.58 |
Add New Post /wp-admin/post-new.php | 1,536 ▼1 | 23.11 ▲4.92 | 686.87 ▲78.57 | 51.70 ▼15.34 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.31 ▲0.17 | 114.50 ▲17.77 | 48.17 ▲6.25 |
Better Admin Users Search /wp-admin/options-general.php?page=baus_options | 1,017 | 2.51 | 41.57 | 32.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 41× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/better-admin-users-search/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/better-admin-users-search/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/better-admin-users-search/vendor/cmb2/cmb2/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/better-admin-users-search/vendor/cmb2/cmb2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/better-admin-users-search/vendor/cmb2/cmb2/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup' not found in wp-content/plugins/better-admin-users-search/vendor/cmb2/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/better-admin-users-search/vendor/cmb2/cmb2/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Select' not found in wp-content/plugins/better-admin-users-search/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Select_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/better-admin-users-search/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/better-admin-users-search/vendor/cmb2/cmb2/example-functions.php:105
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
6 plugin tags: admin, users, meta, search, usermeta...
better-admin-users-search/better-admin-users-search.php 77% from 13 tests
The main file in "Better Admin Users Search" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("i18n")
- Domain Path: The domain path must begin with a forward slash character ("/i18n")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin52,996 lines of code in 293 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 121 | 14,329 | 18,523 | 32,363 |
PHP | 76 | 2,363 | 6,672 | 8,180 |
CSS | 15 | 387 | 1,209 | 5,244 |
JavaScript | 56 | 1,026 | 1,198 | 4,772 |
Sass | 17 | 306 | 29 | 1,411 |
Markdown | 3 | 244 | 0 | 755 |
JSON | 4 | 0 | 0 | 216 |
Bourne Shell | 1 | 24 | 0 | 55 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 18.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 75 | |
▷ Abstract classes | 9 | 12.00% |
▷ Concrete classes | 66 | 88.00% |
▷ Final classes | 0 | 0.00% |
Methods | 587 | |
▷ Static methods | 107 | 18.23% |
▷ Public methods | 489 | 83.30% |
▷ Protected methods | 89 | 15.16% |
▷ Private methods | 9 | 1.53% |
Functions | 45 | |
▷ Named functions | 40 | 88.89% |
▷ Anonymous functions | 5 | 11.11% |
Constants | 13 | |
▷ Global constants | 7 | 53.85% |
▷ Class constants | 6 | 46.15% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
20 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/cmb2/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
vendor/podkot/cmb-field-select2/js/select2/select2x2.png | 0.83KB | 0.77KB | ▼ 6.15% |
vendor/cmb2/cmb2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
vendor/cmb2/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
vendor/cmb2/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |