Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.18MB] [CPU: ▲858.76ms] 75% from 4 tests
An overview of server-side resources used by Zen Addons for SiteOrigin Page Builder
The following require your attention
- Extra CPU: Extra CPU usage must be kept under 200.00ms (currently 858.76ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 37.28 ▲0.90 |
Dashboard /wp-admin | 5.01 ▲1.66 | 1,134.79 ▲1,074.18 |
Posts /wp-admin/edit.php | 5.03 ▲1.67 | 1,140.81 ▲1,088.76 |
Add New Post /wp-admin/post-new.php | 7.09 ▲1.20 | 1,621.48 ▲1,526.91 |
Media Library /wp-admin/upload.php | 4.87 ▲1.63 | 1,307.23 ▲1,271.19 |
Server storage [IO: ▲1.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 107 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Zen Addons for SiteOrigin Page Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 14.23 ▼0.30 | 1.58 ▲0.11 | 39.32 ▼1.34 |
Dashboard /wp-admin | 2,219 ▲45 | 5.64 ▼0.07 | 92.88 ▲6.05 | 43.28 ▲5.95 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.02 | 37.92 ▼6.60 | 35.46 ▼2.68 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 18.01 ▼5.58 | 612.43 ▼74.92 | 67.53 ▲18.31 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.18 ▼0.04 | 97.56 ▼8.82 | 43.72 ▼1.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
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
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 40× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/zen-addons-for-siteorigin-page-builder/core/basic/zaso-vimeo-lightbox-widgets/tpl/default.php:8
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/zen-addons-for-siteorigin-page-builder/core/basic/zaso-contact-form-7-widgets/zaso-contact-form-7-widgets.php:13
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/zen-addons-for-siteorigin-page-builder/core/basic/zaso-bbpress-topic-index-widgets/zaso-bbpress-topic-index-widgets.php:13
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/zen-addons-for-siteorigin-page-builder/core/basic/zaso-icon-widgets/zaso-icon-widgets.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function zaso_format_field_extra_id() in wp-content/plugins/zen-addons-for-siteorigin-page-builder/core/basic/zaso-bbpress-registration-widgets/tpl/default.php:10
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/zen-addons-for-siteorigin-page-builder/core/basic/zaso-spacer-widgets/zaso-spacer-widgets.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/zen-addons-for-siteorigin-page-builder/core/basic/zaso-youtube-lightbox-widgets/tpl/default.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function zaso_format_field_extra_id() in wp-content/plugins/zen-addons-for-siteorigin-page-builder/core/basic/zaso-alert-box-widgets/tpl/default.php:10
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/zen-addons-for-siteorigin-page-builder/core/basic/zaso-bbpress-registration-widgets/zaso-bbpress-registration-widgets.php:13
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/zen-addons-for-siteorigin-page-builder/core/basic/zaso-simple-accordion-widgets/zaso-simple-accordion-widgets.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
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: widgets, addons, zaso, siteorigin, page builder
zen-addons-for-siteorigin-page-builder/zen-addons-siteorigin.php 85% from 13 tests
The main PHP script in "Zen Addons for SiteOrigin Page Builder" version 1.0.18 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("zen-addons-for-siteorigin-page-builder.php" instead of "zen-addons-siteorigin.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected6,052 lines of code in 94 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 425 | 559 | 2,929 |
PO File | 2 | 6,263 | 17,372 | 1,589 |
JavaScript | 7 | 147 | 25 | 561 |
LESS | 14 | 80 | 3 | 485 |
CSS | 6 | 6 | 11 | 306 |
Sass | 3 | 19 | 0 | 114 |
Markdown | 1 | 20 | 0 | 50 |
SVG | 18 | 0 | 0 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 2.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 61 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
There were not PNG files found in your plugin