Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.66ms] Passed 4 tests
An overview of server-side resources used by User Shortcodes Plus
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.64 ▼2.36 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.93 ▼3.14 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.28 ▼4.32 |
Add New Post /wp-admin/post-new.php | 5.87 ▼0.01 | 87.90 ▼8.80 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.85 ▲3.10 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for User Shortcodes Plus
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.19 ▼0.98 | 1.82 ▼0.07 | 43.55 ▼1.83 |
Dashboard /wp-admin | 2,210 ▲22 | 4.88 ▲0.01 | 97.87 ▼15.31 | 38.75 ▼2.43 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.03 ▲0.03 | 41.25 ▼0.18 | 34.90 ▼1.34 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 18.67 ▲0.51 | 629.42 ▼47.20 | 35.08 ▼22.36 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.01 | 95.23 ▼10.96 | 41.57 ▼1.60 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: users in wp-content/plugins/user-shortcodes-plus/includes/Templates/admin-tinymce-modal.html.php on line 13
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/user-shortcodes-plus/includes/Templates/admin-tinymce-modal.html.php on line 13
- > PHP Notice
Undefined variable: shortcodes in wp-content/plugins/user-shortcodes-plus/includes/Templates/admin-tinymce-modal.html.php on line 22
- > PHP Notice
Undefined variable: button_text in wp-content/plugins/user-shortcodes-plus/includes/Templates/admin-tinymce-modal.html.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/user-shortcodes-plus/user-shortcodes-plus.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/user-shortcodes-plus/includes/Config/Shortcodes.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/user-shortcodes-plus/includes/Templates/admin-tinymce-modal.html.php:26
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/user-shortcodes-plus/includes/Templates/admin-tinymce-modal.html.php on line 22
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
3 plugin tags: meta, user, shortcodes
user-shortcodes-plus/user-shortcodes-plus.php 92% from 13 tests
"User Shortcodes Plus" version 2.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
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
Everything looks great! No dangerous files found in this plugin365 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 74 | 13 | 300 |
JavaScript | 2 | 12 | 0 | 47 |
CSS | 1 | 2 | 0 | 18 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 5 | 100.00% |
Methods | 23 | |
▷ Static methods | 6 | 26.09% |
▷ Public methods | 21 | 91.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.70% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin