Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.98ms] Passed 4 tests
A check of server-side resources used by Extended Shortcodes for Ultimate Membership Pro
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.68 ▼8.74 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.81 ▼4.11 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.11 ▼4.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.69 ▼14.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.12 ▼2.97 |
Server storage [IO: ▲4.06MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Extended Shortcodes for Ultimate Membership Pro: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.22 ▼1.14 | 1.66 ▼0.50 | 44.14 ▼1.03 |
Dashboard /wp-admin | 2,210 ▲24 | 5.83 ▲0.90 | 97.56 ▼13.47 | 39.70 ▼2.62 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.98 ▼0.03 | 35.38 ▼4.98 | 35.67 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,518 ▼2 | 17.69 ▼5.45 | 672.17 ▼25.37 | 53.70 ▼4.67 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.24 ▲0.02 | 94.75 ▼12.56 | 42.67 ▼5.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× 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/extended-shortcodes-for-ultimate-membership-pro/extended-shortcodes-for-ultimate-membership-pro.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/extended-shortcodes-for-ultimate-membership-pro/views/admin.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: customize memberships, ultimate membership pro, registration, login, extend...
extended-shortcodes-for-ultimate-membership-pro/extended-shortcodes-for-ultimate-membership-pro.php 92% from 13 tests
Analyzing the main PHP file in "Extended Shortcodes for Ultimate Membership Pro" version 1.6
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 199 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin10,521 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,552 |
PHP | 15 | 157 | 365 | 951 |
JSON | 1 | 0 | 0 | 11 |
CSS | 2 | 2 | 8 | 6 |
JavaScript | 1 | 0 | 4 | 1 |
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.34 |
Average class complexity | 13.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 9 | 16.07% |
▷ Public methods | 53 | 94.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.36% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin