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
Install script ran successfully
Server metrics [RAM: ▼13.63MB] [CPU: ▼3,046,707.89ms] Passed 4 tests
Server-side resources used by Dynamic User Directory
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 62.31 ▲58.80 | 12,194,891.41 ▲12,194,846.93 |
Dashboard /wp-admin | 4.44 ▼57.86 | 57.60 ▼12,186,864.11 |
Posts /wp-admin/edit.php | 4.55 ▲1.15 | 74.27 ▲19.34 |
Add New Post /wp-admin/post-new.php | 7.02 ▲1.09 | 101.56 ▼0.14 |
Media Library /wp-admin/upload.php | 4.36 ▲1.09 | 47.75 ▲13.34 |
Dynamic User Directory /wp-admin/options-general.php?page=user_directory | 4.44 | 110.29 |
Server storage [IO: ▲0.51MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
dud_plugin_settings |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dynamic User Directory
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.25 ▲0.07 | 1.55 ▼0.17 | 45.09 ▼0.51 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▼0.02 | 96.11 ▼8.13 | 40.02 ▼2.70 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.99 ▼0.01 | 39.56 ▲3.97 | 36.78 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.41 ▲5.35 | 681.67 ▲45.51 | 62.25 ▼7.05 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.17 ▼0.06 | 94.46 ▼15.40 | 43.04 ▼6.58 |
Dynamic User Directory /wp-admin/options-general.php?page=user_directory | 7,342 | 4.36 | 154.86 | 138.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- dud_plugin_settings
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=user_directory
- > Notice in wp-content/plugins/dynamic-user-directory/includes/admin.php+681
Undefined index: ud_srch_style
- > GET request to /wp-admin/options-general.php?page=user_directory
- > Notice in wp-content/plugins/dynamic-user-directory/includes/admin.php+1283
Undefined index: ud_target_window
- 14 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=user_directory
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 14 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=user_directory
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/dynamic-user-directory/dynamic-user-directory.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/dynamic-user-directory/includes/core.php:1834
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamic-user-directory/includes/admin.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
dynamic-user-directory/dynamic-user-directory.php Passed 13 tests
"Dynamic User Directory" version 1.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
135 characters long description:
Creates an alphabetically sorted user directory that will format and display specified user meta data such as name, address, and email.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin9,398 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 1,092 | 396 | 6,391 |
JavaScript | 2 | 395 | 22 | 2,047 |
CSS | 4 | 172 | 41 | 960 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.90 |
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 | 65 | |
▷ Named functions | 64 | 98.46% |
▷ Anonymous functions | 1 | 1.54% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
There were not PNG files found in your plugin