Benchmarks
Plugin footprint 83% 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: ▲0.01MB] [CPU: ▼5.01ms] Passed 4 tests
Analyzing server-side resources used by User Meta Profile List
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.71 ▼6.94 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.31 ▼6.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.44 ▲1.96 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 83.18 ▼8.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.39 ▲5.67 |
User Meta Profile Options /wp-admin/options-general.php?page=user-meta-profile-list/admin.php | 3.24 | 31.68 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by User Meta Profile List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.28 ▼1.10 | 1.63 ▼0.15 | 40.57 ▼0.46 |
Dashboard /wp-admin | 2,211 ▲20 | 5.80 ▼0.08 | 94.82 ▼7.09 | 36.60 ▼12.72 |
Posts /wp-admin/edit.php | 2,100 ▲14 | 2.02 ▲0.03 | 37.22 ▲2.08 | 33.51 ▲2.49 |
Add New Post /wp-admin/post-new.php | 1,521 ▼1 | 23.04 ▼0.27 | 634.98 ▲3.28 | 55.34 ▲2.07 |
Media Library /wp-admin/upload.php | 1,393 ▲8 | 4.22 ▼0.04 | 112.78 ▲18.75 | 47.95 ▲6.38 |
User Meta Profile Options /wp-admin/options-general.php?page=user-meta-profile-list/admin.php | 1,168 | 2.03 | 34.75 | 32.29 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/user-meta-profile-list/list_user_meta.php:35
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/user-meta-profile-list/admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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
3 plugin tags: user meta, user list display, user
user-meta-profile-list/list_user_meta.php 85% from 13 tests
The main PHP file in "User Meta Profile List" ver. 0... adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("user-meta-profile-list.php" instead of "list_user_meta.php")
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "0...")
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
There were no executable files found in this plugin626 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 81 | 14 | 437 |
PHP | 2 | 17 | 7 | 106 |
CSS | 1 | 10 | 0 | 83 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
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 |
img/switch.png | 3.01KB | 0.64KB | ▼ 78.70% |