Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲5.07MB] [CPU: ▲18.89ms] 50% from 4 tests
An overview of server-side resources used by Admin User Search
Please take the time to fix the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,107.23ms on /wp-admin/users.php?page=search-users)
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.07MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.97 ▲5.51 | 63.17 ▲23.09 |
Dashboard /wp-admin | 8.99 ▲5.69 | 69.39 ▲20.45 |
Posts /wp-admin/edit.php | 8.99 ▲5.63 | 71.82 ▲25.44 |
Add New Post /wp-admin/post-new.php | 9.34 ▲3.45 | 108.07 ▲6.56 |
Media Library /wp-admin/upload.php | 8.99 ▲5.76 | 72.36 ▲34.95 |
Search Users /wp-admin/users.php?page=search-users | 9.00 | 1,107.23 |
Freemius Debug [v.2.5.2] /wp-admin/admin.php?page=freemius | 8.99 | 59.80 |
Server storage [IO: ▲4.66MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 214 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_admin_user_search_logs |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
fs_debug_mode |
fs_active_plugins |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
fs_gdpr |
fs_accounts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Admin User Search
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 14.56 ▼0.18 | 1.59 ▼0.42 | 28.26 ▼23.15 |
Dashboard /wp-admin | 2,222 ▲34 | 4.84 ▼1.17 | 108.78 ▲4.81 | 85.19 ▲46.92 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.02 ▲0.01 | 35.07 ▼5.33 | 34.39 ▲0.11 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.20 ▲0.14 | 676.09 ▲61.63 | 62.85 ▲9.79 |
Media Library /wp-admin/upload.php | 1,419 ▲40 | 4.20 ▼0.06 | 94.04 ▼4.99 | 77.32 ▲36.28 |
Search Users /wp-admin/users.php?page=search-users | 1,036 | 3.01 | 45.09 | 47.29 |
Freemius Debug [v.2.5.2] /wp-admin/admin.php?page=freemius | 1,081 | 1.81 | 25.85 | 28.43 |
Uninstaller [IO: ▲4.66MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attentionZombie WordPress options detected upon uninstall: 11 options
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/admin-user-search/freemius/includes/class-freemius.php+8772
Undefined property: stdClass::$plugins
- The plugin did not uninstall correctly, leaving 214 files (4.66MB) in the plugin directory
- (new file) admin/assets/angular-animate.js
- (new file) .gitignore
- (new file) admin-user-search.php
- (new file) README.md
- (new file) LICENSE.txt
- (new file) admin/assets/angular-sanitize.js
- (new file) admin/assets/angular_datatables.css
- (new file) admin/assets/angular_datatables.js
- (new file) admin/assets/angular.min.js
- (new file) README.txt
- ...
- widget_recent-comments
- admin_user_search_db_version
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- fs_debug_mode
- fs_active_plugins
- fs_gdpr
- fs_accounts
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/admin-user-search/admin/partials/admin-user-search-admin.php
- > /wp-content/plugins/admin-user-search/includes/class-admin-user-search-ajax.php
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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: users
admin-user-search/admin-user-search.php 85% from 13 tests
Analyzing the main PHP file in "Admin User Search" version 1.0.2
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin37,711 lines of code in 160 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 126 | 8,097 | 17,437 | 33,406 |
JavaScript | 14 | 1,171 | 9,365 | 4,108 |
CSS | 19 | 24 | 41 | 171 |
Markdown | 1 | 12 | 0 | 26 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,089)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 81.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,089.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 2 | 3.64% |
▷ Concrete classes | 53 | 96.36% |
▷ Final classes | 0 | 0.00% |
Methods | 1,282 | |
▷ Static methods | 194 | 15.13% |
▷ Public methods | 895 | 69.81% |
▷ Protected methods | 17 | 1.33% |
▷ Private methods | 370 | 28.86% |
Functions | 96 | |
▷ Named functions | 96 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 146 | |
▷ Global constants | 99 | 67.81% |
▷ Class constants | 47 | 32.19% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.17MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 7.53KB | 3.73KB | ▼ 50.49% |
admin/img/Transparent-logo.png | 12.86KB | 7.30KB | ▼ 43.19% |
assets/banner-772x250.png | 9.33KB | 4.14KB | ▼ 55.57% |
assets/screenshot-1.png | 44.44KB | 9.27KB | ▼ 79.13% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |