Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/th23-user-management/th23-user-management.php+1169
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼51.88ms] Passed 4 tests
A check of server-side resources used by th23 User Management
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.10 ▼45.01 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.78 ▼40.52 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.46 ▼39.84 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.01 ▼82.13 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.42 ▼31.68 |
th23 User Management /wp-admin/options-general.php?page=th23-user-management | 2.05 | 5.63 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_th23_user_management_widget |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
th23_user_management_options |
widget_recent-posts |
Browser metrics Passed 4 tests
th23 User Management: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲180 | 14.05 ▼0.62 | 5.52 ▲3.09 | 40.35 ▼19.28 |
Dashboard /wp-admin | 2,213 ▲28 | 4.88 ▼1.13 | 112.29 ▲11.16 | 44.45 ▼1.77 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▲0.00 | 38.18 ▼1.62 | 34.72 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,537 ▲17 | 23.41 ▲0.38 | 706.57 ▲77.05 | 62.19 ▲9.43 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.31 ▲0.13 | 93.74 ▼19.91 | 42.53 ▼6.29 |
th23 User Management /wp-admin/options-general.php?page=th23-user-management | 1,225 | 2.08 | 29.00 | 77.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/th23-user-management/th23-user-management.php+1169
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_th23_user_management_widget
- th23_user_management_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=th23-user-management
- > Deprecated in wp-content/plugins/th23-user-management/th23-user-management.php+1169
Function create_function() is deprecated
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'th23_user_management_pro' not found in wp-content/plugins/th23-user-management/th23-user-management-admin.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/th23-user-management/th23-user-management.php:1088
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== th23-user-management ===
) - Tags: Please reduce the number of tags, currently 22 tag instead of maximum 10
th23-user-management/th23-user-management.php 92% from 13 tests
This is the main PHP file of "th23 User Management" version 2.4.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 624 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected2,988 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 271 | 287 | 1,483 |
PO File | 1 | 274 | 382 | 1,175 |
CSS | 2 | 14 | 17 | 233 |
JavaScript | 3 | 8 | 8 | 97 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 56.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 141.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 72 | 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 | 2 | |
▷ Global constants | 2 | 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
5 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/admin-about-upgrade-275x70.png | 17.89KB | 6.38KB | ▼ 64.32% |
img/admin-icon-48x41.png | 4.22KB | 2.01KB | ▼ 52.49% |
img/admin-notice-upgrade-450x150.png | 27.42KB | 11.69KB | ▼ 57.35% |
img/admin-about-feedback-309x100.png | 17.81KB | 6.94KB | ▼ 61.04% |
img/close-16x16.png | 0.58KB | 0.41KB | ▼ 29.15% |