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.16MB] [CPU: ▼1.46ms] Passed 4 tests
Server-side resources used by Robust User Search
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 36.42 ▼3.20 |
Dashboard /wp-admin | 3.46 ▲0.16 | 52.14 ▲5.50 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 49.80 ▲3.49 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 88.64 ▼2.54 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 32.89 ▼3.58 |
Robust search /wp-admin/admin.php?page=rus | 3.35 | 30.91 |
Settings /wp-admin/admin.php?page=rus-settings | 3.35 | 29.86 |
Server storage [IO: ▲3.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 280 new files
Database: no new tables, 7 new options
New WordPress options |
---|
rus_allowed_roles |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Robust User Search
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲61 | 14.33 ▼0.06 | 1.82 ▼0.09 | 38.82 ▼1.25 |
Dashboard /wp-admin | 2,225 ▲48 | 5.56 ▼0.09 | 87.36 ▲1.59 | 75.00 ▲30.78 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 1.98 ▲0.00 | 38.52 ▲2.49 | 34.52 ▼1.16 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.13 ▼0.07 | 594.24 ▼40.64 | 181.15 ▲132.30 |
Media Library /wp-admin/upload.php | 1,433 ▲30 | 4.22 ▼0.09 | 96.21 ▼2.68 | 69.82 ▲25.67 |
Robust search /wp-admin/admin.php?page=rus | 1,292 | 4.36 | 112.97 | 54.97 |
Settings /wp-admin/admin.php?page=rus-settings | 881 | 2.04 | 24.07 | 56.46 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- rus_allowed_roles
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
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
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/robust-user-search/robust-user-search.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=rus
- > Console-api (severe) in unknown
/wp-content/plugins/robust-user-search/dist/assets/index.js 0:14790 RangeError: Invalid array lengthat Vo.fn (/wp-content/plugins/robust-user-search/dist/assets/index.js:15:15830)at Vo.run (/wp-content/plugins/robust-user-search/dist/assets/index.js:1:5553)at get value [as value] (/wp-content/plugins/robust-user-search/dist/assets/index.js:1:14102)at Proxy. (/wp-content/plugins/robust-user-search/dist/assets/index.js:15:16662)at Fi (/wp-content/plugins/robust-user-search/dist/assets/index.js:1:17505)at Vo.B [as fn] (/wp-content/plugins/robust-user-search/dist/assets/index.js:1:41480)at Vo.run (/wp-content/plugins/robust-user-search/dist/assets/index.js:1:5553)at h.update (/wp-content/plugins/robust-user-search/dist/assets/index.js:1:41751)at le (/wp-content/plugins/robust-user-search/dist/assets/index.js:1:41777)at ie (/wp-content/plugins/robust-user-search/dist/assets/index.js:1:40617)
- > GET request to /wp-admin/admin.php?page=rus
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'init')" "TypeError: Cannot read properties of undefined (reading 'init')\n at HTMLDocument.\u003Canonymous> (/wp-admin/js/svg-painter.js?ver=6.3.1:19:18)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=rus
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'init')
- > GET request to /wp-admin/admin.php?page=rus-settings
- > Network (severe)
assets/Inter-roman-latin-1b58736b.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: user management, ajax, update, vue, edit user...
robust-user-search/robust-user-search.php Passed 13 tests
"Robust User Search" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
50 characters long description:
Search users easily with this supercharged plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,074 lines of code in 270 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 136 | 412 | 724 |
SVG | 253 | 0 | 0 | 287 |
Markdown | 1 | 15 | 0 | 49 |
JavaScript | 1 | 0 | 6 | 13 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 11 | 22.92% |
▷ Public methods | 33 | 68.75% |
▷ Protected methods | 9 | 18.75% |
▷ Private methods | 6 | 12.50% |
Functions | 9 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 9 | 100.00% |
Constants | 9 | |
▷ Global constants | 9 | 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.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/robust_teal.png | 0.70KB | 0.45KB | ▼ 36.62% |