Benchmarks
Plugin footprint 82% 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: ▲1.48MB] [CPU: ▲11.46ms] 75% from 4 tests
This is a short check of server-side resources used by SiteOrigin Widgets Bundle
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 4,769.71ms on /wp-admin/admin.php?page=siteorigin-installer)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.91 ▲1.44 | 58.26 ▲20.31 |
Dashboard /wp-admin | 4.78 ▲1.48 | 57.89 ▲3.62 |
Posts /wp-admin/edit.php | 4.90 ▲1.54 | 55.78 ▲8.25 |
Add New Post /wp-admin/post-new.php | 9.58 ▲3.69 | 142.48 ▲55.94 |
Media Library /wp-admin/upload.php | 4.70 ▲1.47 | 45.52 ▲13.66 |
SiteOrigin Widgets /wp-admin/plugins.php?page=so-widgets-plugins | 6.64 | 59.83 |
Installer /wp-admin/admin.php?page=siteorigin-installer | 5.24 | 4,769.71 |
Server storage [IO: ▲10.56MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 682 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_sow-image |
widget_sow-google-map |
widget_sow-post-carousel |
widget_recent-posts |
widget_sow-editor |
widget_sow-button |
siteorigin_widget_bundle_version |
theysaidso_admin_options |
widget_sow-slider |
db_upgraded |
... |
Browser metrics Passed 4 tests
SiteOrigin Widgets Bundle: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲49 | 14.34 ▲0.10 | 1.72 ▲0.01 | 42.60 ▼0.42 |
Dashboard /wp-admin | 2,213 ▲35 | 5.58 ▼0.07 | 84.20 ▼41.57 | 41.36 ▼2.29 |
Posts /wp-admin/edit.php | 2,122 ▲25 | 1.98 ▼0.01 | 39.26 ▲1.31 | 36.07 ▲2.34 |
Add New Post /wp-admin/post-new.php | 6,308 ▲4,782 | 19.17 ▼3.85 | 957.22 ▲355.37 | 37.57 ▼27.43 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.28 ▲0.04 | 98.11 ▼4.13 | 43.88 ▲4.03 |
SiteOrigin Widgets /wp-admin/plugins.php?page=so-widgets-plugins | 2,992 | 5.18 | 72.90 | 167.79 |
Installer /wp-admin/admin.php?page=siteorigin-installer | 1,315 | 2.27 | 26.41 | 40.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 14 options
- theysaidso_admin_options
- widget_sow-editor
- widget_sow-image
- siteorigin_widget_bundle_version
- widget_sow-button
- siteorigin_widgets_old_widgets
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_sow-post-carousel
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/so-widgets-bundle/widgets/social-media-buttons/tpl/default.php
- > /wp-content/plugins/so-widgets-bundle/widgets/editor/tpl/default.php
- > /wp-content/plugins/so-widgets-bundle/widgets/accordion/tpl/default.php
- > /wp-content/plugins/so-widgets-bundle/widgets/features/tpl/default.php
- > /wp-content/plugins/so-widgets-bundle/widgets/tabs/tpl/default.php
- > /wp-content/plugins/so-widgets-bundle/widgets/headline/tpl/default.php
- > /wp-content/plugins/so-widgets-bundle/widgets/price-table/tpl/atom.php
- 227× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/so-widgets-bundle/base/inc/widgets/base-slider.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'Less_Tree' not found in wp-content/plugins/so-widgets-bundle/base/inc/lib/Less/Tree/Value.php:9
- > PHP Fatal error
Uncaught Error: Class 'Less_Tree' not found in wp-content/plugins/so-widgets-bundle/base/inc/lib/Less/Tree/Import.php:18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/so-widgets-bundle/widgets/features/tpl/default.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget_Field_Base' not found in wp-content/plugins/so-widgets-bundle/base/inc/fields/media.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget_Field_Container_Base' not found in wp-content/plugins/so-widgets-bundle/base/inc/fields/section.class.php:6
- > PHP Fatal error
Uncaught Error: Class 'Less_Tree' not found in wp-content/plugins/so-widgets-bundle/base/inc/lib/Less/Tree/Alpha.php:9
- > PHP Fatal error
Uncaught Error: Class 'Less_Tree' not found in wp-content/plugins/so-widgets-bundle/base/inc/lib/Less/Tree/Rule.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/so-widgets-bundle/icons/typicons/filter.php:343
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/so-widgets-bundle/widgets/button/tpl/default.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
so-widgets-bundle/so-widgets-bundle.php Passed 13 tests
Analyzing the main PHP file in "SiteOrigin Widgets Bundle" version 1.57.0
108 characters long description:
A highly customizable collection of widgets, ready to be used anywhere, neatly bundled into a single plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin91,034 lines of code in 604 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 215 | 6,218 | 5,160 | 47,498 |
JavaScript | 246 | 5,646 | 5,106 | 24,261 |
SVG | 59 | 1 | 4 | 12,465 |
LESS | 36 | 912 | 168 | 4,583 |
CSS | 42 | 165 | 15 | 1,307 |
XML | 1 | 0 | 0 | 443 |
JSON | 2 | 0 | 0 | 434 |
Markdown | 3 | 25 | 0 | 43 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 28.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 442.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 158 | |
▷ Abstract classes | 8 | 5.06% |
▷ Concrete classes | 150 | 94.94% |
▷ Final classes | 0 | 0.00% |
Methods | 1,367 | |
▷ Static methods | 98 | 7.17% |
▷ Public methods | 1,014 | 74.18% |
▷ Protected methods | 215 | 15.73% |
▷ Private methods | 138 | 10.10% |
Functions | 58 | |
▷ Named functions | 56 | 96.55% |
▷ Anonymous functions | 2 | 3.45% |
Constants | 28 | |
▷ Global constants | 7 | 25.00% |
▷ Class constants | 21 | 75.00% |
▷ Public constants | 21 | 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.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
base/css/img/arrow-right.png | 0.14KB | 0.20KB | 0.00% |
base/css/img/order-asc.png | 0.29KB | 0.38KB | 0.00% |
base/css/img/close.png | 0.17KB | 0.27KB | 0.00% |
base/css/img/thumbnail-placeholder.png | 0.09KB | 0.09KB | 0.00% |
admin/images/icon-gear.png | 0.87KB | 1.23KB | 0.00% |