Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/ultimate-team-showcase/includes/template.php+226
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.86MB] [CPU: ▼55.48ms] Passed 4 tests
This is a short check of server-side resources used by WP Ultimate Team Showcase Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.33 | 6.06 ▼39.99 |
Dashboard /wp-admin | 2.15 ▼1.16 | 7.24 ▼46.78 |
Posts /wp-admin/edit.php | 2.15 ▼1.21 | 7.33 ▼43.45 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.74 | 6.30 ▼91.71 |
Media Library /wp-admin/upload.php | 2.15 ▼1.08 | 6.35 ▼29.41 |
Settings /wp-admin/edit.php?post_type=wp_uteam&page=uteamsettings | 2.15 | 7.14 |
All Teams /wp-admin/edit.php?post_type=wp_uteam | 2.15 | 8.32 |
All Shortcodes /wp-admin/edit.php?post_type=wp_uteam_settings | 2.15 | 7.71 |
Team Categories /wp-admin/edit-tags.php?taxonomy=wp-uteam-category&post_type=wp_uteam | 2.16 | 7.38 |
Add New Team /wp-admin/post-new.php?post_type=wp_uteam | 2.15 | 7.55 |
Create Shortcode /wp-admin/post-new.php?post_type=wp_uteam_settings | 2.15 | 8.50 |
Server storage [IO: ▲3.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 158 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Ultimate Team Showcase Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,012 ▲277 | 14.13 ▼0.63 | 10.14 ▲7.88 | 43.65 ▼0.18 |
Dashboard /wp-admin | 2,272 ▲84 | 5.25 ▲0.31 | 121.35 ▲8.45 | 105.31 ▲63.00 |
Posts /wp-admin/edit.php | 2,175 ▲89 | 2.42 ▲0.40 | 38.48 ▲0.19 | 34.07 ▼0.14 |
Add New Post /wp-admin/post-new.php | 1,743 ▲205 | 22.79 ▼0.59 | 725.45 ▲77.74 | 34.26 ▼47.31 |
Media Library /wp-admin/upload.php | 1,457 ▲66 | 4.63 ▲0.38 | 105.30 ▼3.25 | 101.01 ▲54.63 |
Settings /wp-admin/edit.php?post_type=wp_uteam&page=uteamsettings | 1,729 | 2.74 | 81.04 | 139.47 |
All Teams /wp-admin/edit.php?post_type=wp_uteam | 1,145 | 2.53 | 41.80 | 41.20 |
All Shortcodes /wp-admin/edit.php?post_type=wp_uteam_settings | 1,123 | 2.50 | 53.22 | 33.92 |
Team Categories /wp-admin/edit-tags.php?taxonomy=wp-uteam-category&post_type=wp_uteam | 1,350 | 2.15 | 37.34 | 33.53 |
Add New Team /wp-admin/post-new.php?post_type=wp_uteam | 2,662 | 8.09 | 197.73 | 155.19 |
Create Shortcode /wp-admin/post-new.php?post_type=wp_uteam_settings | 4,658 | 3.66 | 228.51 | 96.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/ultimate-team-showcase/includes/template.php+226
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wp_uteam_settings
- > Notice in wp-content/plugins/ultimate-team-showcase/includes/template.php+226
Trying to access array offset on value of type bool
- 25 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wp_uteam_settings
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 25 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wp_uteam_settings
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 100 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wp_uteam_settings
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 25 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wp_uteam_settings
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=wp-uteam-category&post_type=wp_uteam
- > Notice in wp-content/plugins/ultimate-team-showcase/includes/metabox/custom/includes/RSTHEME.php+992
Undefined index: tag_ID
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
Almost there! Just fix the following items
- 67× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RSTHEME_Base' not found in wp-content/plugins/ultimate-team-showcase/includes/metabox/custom/includes/RSTHEME_Field.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ultimate-team-showcase/includes/view/slider2.php:6
- > PHP Fatal error
Uncaught Error: Class 'RSTHEME_Type_Taxonomy_Base' not found in wp-content/plugins/ultimate-team-showcase/includes/metabox/custom/includes/types/RSTHEME_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'RSTHEME_Type_Text' not found in wp-content/plugins/ultimate-team-showcase/includes/metabox/custom/includes/types/RSTHEME_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'RSTHEME_Hookup_Base' not found in wp-content/plugins/ultimate-team-showcase/includes/metabox/custom/includes/rest-api/RSTHEME_REST.php:19
- > PHP Fatal error
Uncaught Error: Class 'RSTHEME_Type_Multi_Base' not found in wp-content/plugins/ultimate-team-showcase/includes/metabox/custom/includes/types/RSTHEME_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'RSTHEME_Type_Text' not found in wp-content/plugins/ultimate-team-showcase/includes/metabox/custom/includes/types/RSTHEME_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'RSTHEME_Type_Textarea' not found in wp-content/plugins/ultimate-team-showcase/includes/metabox/custom/includes/types/RSTHEME_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ultimate-team-showcase/includes/single_team.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ultimate-team-showcase/includes/view/slider4.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 18 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wp_uteam_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 18 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wp_uteam_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 18 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wp_uteam_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clear is deprecated since version 5.5.0! Use wp.i18n instead.
- 18 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wp_uteam_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clearAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ultimate-team-showcase/wp_ultimate_team.php 85% from 13 tests
The primary PHP file in "WP Ultimate Team Showcase Plugin" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("ultimate-team-showcase.php" instead of "wp_ultimate_team.php")
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
Success! There were no dangerous files found in this plugin28,605 lines of code in 114 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 21 | 1,324 | 1,306 | 13,092 |
PHP | 79 | 2,388 | 5,872 | 10,449 |
SVG | 2 | 0 | 0 | 2,690 |
JavaScript | 12 | 569 | 658 | 2,374 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 18.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 180.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 67 | |
▷ Abstract classes | 8 | 11.94% |
▷ Concrete classes | 59 | 88.06% |
▷ Final classes | 0 | 0.00% |
Methods | 522 | |
▷ Static methods | 86 | 16.48% |
▷ Public methods | 430 | 82.38% |
▷ Protected methods | 89 | 17.05% |
▷ Private methods | 3 | 0.57% |
Functions | 79 | |
▷ Named functions | 79 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 8 | 53.33% |
▷ Class constants | 7 | 46.67% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
20 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/metabox/custom/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
includes/metabox/custom/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
includes/metabox/custom/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/metabox/custom/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
includes/metabox/custom/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |