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.01MB] [CPU: ▼4.21ms] Passed 4 tests
Analyzing server-side resources used by Ultimate Addons for SiteOrigin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.65 ▼8.01 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.26 ▼3.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.42 ▼1.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.65 ▼4.32 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.32 ▲3.74 |
Server storage [IO: ▲3.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 408 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Addons for SiteOrigin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲40 | 13.25 ▼1.10 | 3.33 ▲1.50 | 45.86 ▲5.22 |
Dashboard /wp-admin | 2,206 ▲21 | 5.85 ▼0.05 | 97.19 ▼6.97 | 45.86 ▲3.91 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▼0.01 | 37.26 ▼5.33 | 32.28 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,514 ▼22 | 17.71 ▼5.25 | 682.36 ▲17.92 | 52.03 ▼5.45 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.24 ▼0.00 | 101.63 ▲2.61 | 46.63 ▲0.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Almost there! Just fix the following items
- 61× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/CMB2.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addon-so-widgets-bundle/cmb-functions.php:11
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/types/CMB2_Type_File.php:13
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/addon-so-widgets-bundle/extra-widgets/spacer/spacer.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/addon-so-widgets-bundle/extra-widgets/faqs/tpl/faqs-template.php:2
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/types/CMB2_Type_Counter_Base.php:13
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: You are using too many tags: 19 tag instead of maximum 10
addon-so-widgets-bundle/addon-so-widgets-bundle.php Passed 13 tests
The primary PHP file in "Ultimate Addons for SiteOrigin" version 2.4.2 is used by WordPress to initiate all plugin functionality
87 characters long description:
An ultimate collection of addons for SiteOrigin. SiteOrigin Widgets Bundle is required.
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
There were no executable files found in this plugin54,578 lines of code in 262 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 78 | 2,685 | 6,385 | 9,085 |
CSS | 14 | 284 | 1,232 | 4,673 |
JSON | 2 | 0 | 0 | 4,264 |
JavaScript | 9 | 361 | 591 | 1,525 |
Sass | 17 | 305 | 25 | 1,408 |
Markdown | 2 | 217 | 0 | 652 |
LESS | 10 | 105 | 4 | 390 |
SVG | 10 | 0 | 10 | 258 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 16.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 78 | |
▷ Abstract classes | 9 | 11.54% |
▷ Concrete classes | 69 | 88.46% |
▷ Final classes | 0 | 0.00% |
Methods | 571 | |
▷ Static methods | 86 | 15.06% |
▷ Public methods | 478 | 83.71% |
▷ Protected methods | 90 | 15.76% |
▷ Private methods | 3 | 0.53% |
Functions | 44 | |
▷ Named functions | 44 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cmb/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
cmb/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
cmb/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
cmb/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
cmb/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |