Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.50MB] [CPU: ▼0.94ms] Passed 4 tests
An overview of server-side resources used by Ultra Companion – Companion plugin for WPoperation Themes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 40.32 ▼2.58 |
Dashboard /wp-admin | 3.88 ▲0.58 | 52.38 ▲0.69 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 45.93 ▼1.26 |
Add New Post /wp-admin/post-new.php | 6.67 ▲0.78 | 87.13 ▼0.59 |
Media Library /wp-admin/upload.php | 3.81 ▲0.57 | 37.89 ▲4.10 |
Server storage [IO: ▲1.43MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 121 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Ultra Companion – Companion plugin for WPoperation Themes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲184 | 13.66 ▼0.71 | 6.31 ▲4.53 | 40.45 ▼2.90 |
Dashboard /wp-admin | 2,242 ▲50 | 4.97 ▼0.13 | 100.82 ▼28.50 | 79.10 ▲34.49 |
Posts /wp-admin/edit.php | 2,160 ▲71 | 2.25 ▲0.28 | 41.69 ▲4.76 | 40.07 ▲5.72 |
Add New Post /wp-admin/post-new.php | 7,365 ▲5,846 | 22.08 ▼1.14 | 1,029.62 ▲342.30 | 55.75 ▲3.24 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.19 ▼0.01 | 102.64 ▲0.41 | 74.34 ▲30.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 33× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/ultra-companion/inc/metabox/butterbean/tmpl/control-select.php
- > /wp-content/plugins/ultra-companion/inc/metabox/butterbean/tmpl/section.php
- > /wp-content/plugins/ultra-companion/inc/metabox/butterbean/tmpl/control-checkbox.php
- > /wp-content/plugins/ultra-companion/inc/metabox/butterbean/tmpl/control-color.php
- > /wp-content/plugins/ultra-companion/inc/metabox/controls/range/template.php
- > /wp-content/plugins/ultra-companion/inc/metabox/butterbean/tmpl/control-palette.php
- > /wp-content/plugins/ultra-companion/inc/metabox/butterbean/tmpl/control-range.php
- > /wp-content/plugins/ultra-companion/inc/metabox/butterbean/tmpl/control-buttonset.php
- > /wp-content/plugins/ultra-companion/inc/metabox/controls/color/template.php
- > /wp-content/plugins/ultra-companion/ultra-companion.php
- 30× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/ultra-companion/inc/metabox/controls/editor/class-control-editor.php:17
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/ultra-companion/inc/metabox/butterbean/inc/controls/class-control-image.php:20
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/ultra-companion/inc/metabox/butterbean/inc/controls/class-control-color.php:20
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/ultra-companion/inc/metabox/butterbean/inc/controls/class-control-select-group.php:19
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/ultra-companion/inc/metabox/butterbean/inc/controls/class-control-radio.php:19
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Setting' not found in wp-content/plugins/ultra-companion/inc/metabox/butterbean/inc/settings/class-setting-array.php:18
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/ultra-companion/inc/metabox/controls/multiple-select/class-control-multiple-select.php:17
- > PHP Fatal error
Uncaught Error: Class 'Ultra_ButterBean_Control' not found in wp-content/plugins/ultra-companion/inc/metabox/butterbean/inc/controls/class-control-media.php:18
- > PHP Fatal error
Uncaught Error: Class 'Ultra_ButterBean_Control' not found in wp-content/plugins/ultra-companion/inc/metabox/butterbean/inc/controls/class-control-editor.php:18
- > PHP Fatal error
Uncaught Error: Class 'Ultra_ButterBean_Control' not found in wp-content/plugins/ultra-companion/inc/metabox/butterbean/inc/controls/class-control-buttonset.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ultra-companion/ultra-companion.php Passed 13 tests
The main file in "Ultra Companion – Companion plugin for WPoperation Themes" v. 1.1.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
49 characters long description:
This is a companion plugin for WPoperation themes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin25,694 lines of code in 107 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 23 | 5,395 | 2,429 | 20,312 |
PHP | 68 | 1,028 | 2,770 | 2,972 |
CSS | 12 | 224 | 62 | 2,009 |
Markdown | 4 | 126 | 0 | 401 |
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.35 |
Average class complexity | 8.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 33 | 100.00% |
▷ Final classes | 2 | 6.06% |
Methods | 178 | |
▷ Static methods | 4 | 2.25% |
▷ Public methods | 168 | 94.38% |
▷ Protected methods | 1 | 0.56% |
▷ Private methods | 9 | 5.06% |
Functions | 45 | |
▷ Named functions | 45 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
6 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ultra_eleven.png | 18.76KB | 1.36KB | ▼ 92.76% |
assets/images/sidebar-default.png | 1.49KB | 0.37KB | ▼ 75.38% |
assets/images/sale.png | 4.38KB | 0.67KB | ▼ 84.67% |
assets/images/sidebar-left.png | 0.99KB | 0.12KB | ▼ 88.31% |
assets/images/sidebar-no.png | 0.97KB | 0.11KB | ▼ 88.96% |