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.09MB] [CPU: ▼3.74ms] Passed 4 tests
An overview of server-side resources used by Easy User Tags
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 34.62 ▼2.81 |
Dashboard /wp-admin | 3.39 ▲0.09 | 44.11 ▼7.92 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 48.25 ▲1.08 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 95.84 ▼5.31 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 34.85 ▲2.39 |
Tags /wp-admin/edit-tags.php?taxonomy=user_tag | 3.31 | 32.41 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy User Tags
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.24 ▼1.12 | 1.79 ▼0.01 | 40.02 ▼3.86 |
Dashboard /wp-admin | 2,210 ▲19 | 4.87 ▼0.17 | 107.79 ▼6.51 | 44.47 ▼1.47 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.00 | 39.36 ▲1.47 | 34.09 ▲0.47 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.37 ▲0.07 | 595.01 ▲12.28 | 50.98 ▼5.28 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.15 ▼0.07 | 96.10 ▼4.30 | 43.15 ▲0.09 |
Tags /wp-admin/edit-tags.php?taxonomy=user_tag | 1,226 | 2.13 | 29.68 | 34.10 |
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 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-user-tags/easy-user-tags.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: profile, users, user, admin, eccommerce
easy-user-tags/easy-user-tags.php Passed 13 tests
The principal PHP file in "Easy User Tags" v. 1.2 is loaded by WordPress automatically on each request
29 characters long description:
Adds a tag taxonomy to users.
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
No dangerous file extensions were detected351 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 124 | 141 | 351 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 26.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected