Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.32MB] [CPU: ▼3.90ms] 75% from 4 tests
This is a short check of server-side resources used by Page Builder by SiteOrigin
It is recommended to improve the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 4,569.44ms on /wp-admin/admin.php?page=siteorigin-installer)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 44.86 ▲4.28 |
Dashboard /wp-admin | 3.99 ▲0.69 | 60.86 ▲9.45 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 47.72 ▲0.71 |
Add New Post /wp-admin/post-new.php | 3.91 ▼1.98 | 68.81 ▼26.15 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 40.71 ▲5.56 |
Page Builder /wp-admin/options-general.php?page=siteorigin_panels | 3.51 | 34.48 |
Installer /wp-admin/admin.php?page=siteorigin-installer | 4.01 | 4,569.44 |
Server storage [IO: ▲1.58MB] [DB: ▲0.11MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 170 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_siteorigin-panels-builder |
siteorigin_panels_active_version |
can_compress_scripts |
widget_siteorigin-panels-postloop |
db_upgraded |
widget_siteorigin-panels-post-content |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Page Builder by SiteOrigin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲154 | 14.25 ▲0.09 | 1.77 ▲0.11 | 44.52 ▲0.99 |
Dashboard /wp-admin | 2,306 ▲132 | 5.67 ▲0.00 | 99.00 ▼0.25 | 47.05 ▲0.52 |
Posts /wp-admin/edit.php | 2,146 ▲46 | 2.05 ▲0.03 | 36.25 ▼4.37 | 33.65 ▼2.61 |
Add New Post /wp-admin/post-new.php | 3,520 ▲1,991 | 10.74 ▼12.56 | 260.46 ▼339.42 | 84.51 ▲33.75 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.22 ▲0.03 | 105.20 ▲7.67 | 45.50 ▲0.77 |
Page Builder /wp-admin/options-general.php?page=siteorigin_panels | 2,269 | 6.38 | 81.87 | 65.57 |
Installer /wp-admin/admin.php?page=siteorigin-installer | 1,315 | 2.22 | 28.44 | 40.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.10MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_siteorigin-panels-postloop
- siteorigin_panels_active_version
- theysaidso_admin_options
- widget_recent-posts
- widget_siteorigin-panels-post-content
- siteorigin_panels_settings
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please fix the following
- 42× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/siteorigin-panels/inc/data/widgets-bundle.php:7
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/siteorigin-panels/inc/widgets/post-loop-helper.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/siteorigin-panels/inc/installer/inc/admin.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/siteorigin-panels/compat/amp.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/siteorigin-panels/inc/widgets/post-loop.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/siteorigin-panels/widgets/widgets/animated-image/tpl/default.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/siteorigin-panels/settings/tpl/welcome.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/siteorigin-panels/inc/installer/tpl/action-btn.php:3
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Panels_Widget' not found in wp-content/plugins/siteorigin-panels/widgets/widgets/testimonial/testimonial.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/siteorigin-panels/widgets/widgets/list/tpl/simple.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
siteorigin-panels/siteorigin-panels.php Passed 13 tests
The main PHP script in "Page Builder by SiteOrigin" version 2.28.0 is automatically included on every request by WordPress
79 characters long description:
A drag and drop, responsive page builder that simplifies building your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin27,380 lines of code in 138 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 71 | 3,057 | 2,369 | 13,854 |
JavaScript | 34 | 1,757 | 1,773 | 7,608 |
CSS | 15 | 43 | 105 | 4,749 |
XML | 1 | 0 | 0 | 454 |
LESS | 6 | 75 | 32 | 346 |
JSON | 2 | 0 | 0 | 246 |
SVG | 6 | 12 | 1 | 80 |
Markdown | 3 | 25 | 0 | 43 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 51.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 328.00 |
Average method complexity | 5.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 46 | |
▷ Abstract classes | 1 | 2.17% |
▷ Concrete classes | 45 | 97.83% |
▷ Final classes | 0 | 0.00% |
Methods | 558 | |
▷ Static methods | 112 | 20.07% |
▷ Public methods | 366 | 65.59% |
▷ Protected methods | 171 | 30.65% |
▷ Private methods | 21 | 3.76% |
Functions | 39 | |
▷ Named functions | 38 | 97.44% |
▷ Anonymous functions | 1 | 2.56% |
Constants | 25 | |
▷ Global constants | 8 | 32.00% |
▷ Class constants | 17 | 68.00% |
▷ Public constants | 17 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
21 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
widgets/img/checks/purple.png | 0.21KB | 0.37KB | 0.00% |
widgets/img/checks/orange.png | 0.21KB | 0.37KB | 0.00% |
css/images/dropdown-pointer.png | 0.14KB | 0.20KB | 0.00% |
css/images/prebuilt-default.png | 0.11KB | 0.11KB | 0.00% |
widgets/img/checks/pink.png | 0.21KB | 0.37KB | 0.00% |