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: ▲0.12MB] [CPU: ▼7.59ms] Passed 4 tests
Server-side resources used by User Taxonomy & Directory
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 31.04 ▲0.01 | 5,626,616.06 ▲8,211.92 |
Dashboard /wp-admin | 3.51 ▲0.12 | 55.33 ▼8.94 |
Posts /wp-admin/edit.php | 3.62 ▲0.22 | 52.35 ▲0.24 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.18 | 89.45 ▼26.77 |
Media Library /wp-admin/upload.php | 3.43 ▲0.16 | 45.80 ▲5.13 |
Taxonomies /wp-admin/users.php?page=user-taxonomies | 3.40 | 36.43 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
ut_version |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
User Taxonomy & Directory: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 14.15 ▼0.40 | 1.95 ▲0.39 | 44.81 ▲4.96 |
Dashboard /wp-admin | 2,199 ▲25 | 5.61 ▲0.04 | 98.10 ▲13.54 | 44.12 ▼0.84 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▼0.01 | 35.81 ▼4.82 | 37.18 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,694 ▲168 | 21.97 ▼1.18 | 643.49 ▼38.72 | 46.36 ▼14.47 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.21 ▼0.05 | 107.77 ▼11.19 | 45.53 ▼2.91 |
Taxonomies /wp-admin/users.php?page=user-taxonomies | 932 | 2.01 | 26.18 | 29.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- ut_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 11 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=user-taxonomies
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > 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
- 11 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=user-taxonomies
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > 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 0% 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/user-tags/user-directory/template-parts/directory-content.php
- 20× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/user-tags/admin/taxonomies/class-user-tags-taxonomy-list.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/user-tags/user-directory/class-user-tags-user-directory.php:19
- > PHP Notice
Undefined variable: users_per_page in wp-content/plugins/user-tags/user-directory/template-parts/directory-after.php on line 6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/user-tags/admin/taxonomies/class-user-tags-taxonomy-list.php on line 11
- > PHP Fatal error
require_once(): Failed opening required 'UT_DIRuser-directory/inc/helpers.php' (include_path='.:/usr/share/php') in wp-content/plugins/user-tags/user-directory/block/build/user-directory.php on line 7
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/user-tags/admin/taxonomies/class-user-tags-taxonomy-list.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/user-tags/admin/user-profile/class-user-tags-profile.php:17
- > PHP Warning
Use of undefined constant UT_DIR - assumed 'UT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/user-tags/user-directory/block/build/user-directory.php on line 7
- > PHP Notice
Undefined variable: filters in wp-content/plugins/user-tags/user-directory/template-parts/directory-filters.php on line 42
- > PHP Notice
Undefined variable: entries in wp-content/plugins/user-tags/user-directory/template-parts/directory-content.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: user taxonomy, user directory, directory, staff directory, user tags...
user-tags/user-tags.php 92% from 13 tests
The main file in "User Taxonomy & Directory" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,995 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 268 | 509 | 1,330 |
JavaScript | 4 | 74 | 93 | 418 |
CSS | 4 | 27 | 24 | 168 |
JSON | 1 | 0 | 0 | 48 |
Markdown | 1 | 17 | 0 | 31 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 3 | 5.77% |
▷ Public methods | 49 | 94.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.77% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected