Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.27MB] [CPU: ▲9.12ms] Passed 4 tests
A check of server-side resources used by Organic Builder Widgets - Simple WordPress Page Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.71 ▲1.25 | 49.82 ▲9.80 |
Dashboard /wp-admin | 4.60 ▲1.29 | 58.84 ▲8.24 |
Posts /wp-admin/edit.php | 4.67 ▲1.31 | 66.36 ▲19.88 |
Add New Post /wp-admin/post-new.php | 7.14 ▲1.26 | 91.25 ▲3.94 |
Media Library /wp-admin/upload.php | 4.50 ▲1.27 | 48.42 ▲14.51 |
Organic Widgets /wp-admin/admin.php?page=organic-widgets | 4.61 | 49.42 |
Settings /wp-admin/admin.php?page=organic-widgets-settings | 4.50 | 47.17 |
Server storage [IO: ▲11.65MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 92 new files
Database: no new tables, 19 new options
New WordPress options |
---|
widget_organic_widgets_blog_posts_section |
widget_recent-comments |
widget_theysaidso_widget |
widget_organic_widgets_subpage_section |
widget_organic_widgets_profile |
organic_widgets_install_date |
widget_organic_widgets_featured_product_section |
widget_organic_widgets_featured_content |
widget_recent-posts |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Organic Builder Widgets - Simple WordPress Page Builder: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,281 ▲510 | 17.44 ▲2.69 | 12.05 ▲9.95 | 37.27 ▼6.54 |
Dashboard /wp-admin | 2,569 ▲381 | 7.89 ▲1.98 | 161.42 ▲58.81 | 44.04 ▲3.54 |
Posts /wp-admin/edit.php | 2,628 ▲539 | 5.39 ▲3.38 | 65.01 ▲22.86 | 32.17 ▼5.80 |
Add New Post /wp-admin/post-new.php | 6,357 ▲4,829 | 19.06 ▲0.75 | 885.20 ▲268.74 | 40.50 ▼7.05 |
Media Library /wp-admin/upload.php | 1,764 ▲379 | 5.65 ▲1.43 | 107.14 ▲8.40 | 46.11 ▲0.22 |
Organic Widgets /wp-admin/admin.php?page=organic-widgets | 2,349 | 8.26 | 181.36 | 158.42 |
Settings /wp-admin/admin.php?page=organic-widgets-settings | 1,470 | 5.19 | 58.31 | 25.25 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 20 options in the database
- organic_widgets_saved_widgets
- widget_organic_widgets_testimonial_section
- widget_organic_widgets_portfolio_section
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_organic_widgets_blog_posts_section
- widget_organic_widgets_featured_product_section
- theysaidso_admin_options
- widget_organic_widgets_feature_list_section
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 13× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/organic-customizer-widgets/admin/widgets/featured-content/featured-content-widget.php
- > /wp-content/plugins/organic-customizer-widgets/admin/widgets/testimonial-section/testimonial-section-widget.php
- > /wp-content/plugins/organic-customizer-widgets/admin/widgets/portfolio-section/portfolio-section-widget.php
- > /wp-content/plugins/organic-customizer-widgets/admin/widgets/subpage-section/subpage-section-widget.php
- > /wp-content/plugins/organic-customizer-widgets/admin/widgets/pricing-table/pricing-table-widget.php
- > /wp-content/plugins/organic-customizer-widgets/admin/widgets/profile-section/profile-widget.php
- > /wp-content/plugins/organic-customizer-widgets/admin/widgets/featured-product-section/featured-product-section-widget.php
- > /wp-content/plugins/organic-customizer-widgets/admin/widgets/team-section/team-section-widget.php
- > /wp-content/plugins/organic-customizer-widgets/admin/widgets/blog-posts-section/blog-posts-section-widget.php
- > /wp-content/plugins/organic-customizer-widgets/admin/widgets/feature-list-section/feature-list-section-widget.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function locate_template() in wp-content/plugins/organic-customizer-widgets/admin/templates/organic-custom-template.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/organic-customizer-widgets/admin/partials/organic-widgets-welcome-page.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/organic-customizer-widgets/includes/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/organic-customizer-widgets/admin/partials/organic-widgets-settings-page.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/organic-customizer-widgets/includes/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=organic-widgets-settings
- > Javascript (severe) in unknown
/wp-content/plugins/organic-customizer-widgets/admin/widgets/team-section/js/team-section-widgets.js?ver=6.3.1 14:45 Uncaught ReferenceError: Backbone is not defined
- > GET request to /wp-admin/admin.php?page=organic-widgets
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=organic-widgets 58:28 Uncaught TypeError: Cannot read properties of undefined (reading 'init')
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=organic-widgets-settings
- > Javascript (severe) in unknown
/wp-content/plugins/organic-customizer-widgets/admin/widgets/testimonial-section/js/testimonial-section-widgets.js?ver=6.3.1 14:52 Uncaught ReferenceError: Backbone is not defined
- > GET request to /wp-admin/admin.php?page=organic-widgets
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=organic-widgets 62:35 Uncaught TypeError: Cannot read properties of undefined (reading 'init')
- > GET request to /wp-admin/admin.php?page=organic-widgets-settings
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=organic-widgets-settings 58:28 Uncaught TypeError: Cannot read properties of undefined (reading 'init')
- > GET request to /wp-admin/admin.php?page=organic-widgets-settings
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=organic-widgets-settings 62:35 Uncaught TypeError: Cannot read properties of undefined (reading 'init')
Optimizations
Plugin configuration 86% 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 your attention:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
organic-customizer-widgets/organic-widgets.php 77% from 13 tests
"Organic Builder Widgets - Simple WordPress Page Builder" version 1.4.17's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("organic-customizer-widgets.php" instead of "organic-widgets.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 260 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin19,263 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 2,207 | 3,564 | 7,573 |
CSS | 5 | 115 | 166 | 4,673 |
JavaScript | 26 | 955 | 1,753 | 4,334 |
SVG | 2 | 0 | 1 | 2,683 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 38.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 272 | |
▷ Static methods | 14 | 5.15% |
▷ Public methods | 221 | 81.25% |
▷ Protected methods | 45 | 16.54% |
▷ Private methods | 6 | 2.21% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
Constants | 22 | |
▷ Global constants | 7 | 31.82% |
▷ Class constants | 15 | 68.18% |
▷ Public constants | 15 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 PNG files occupy 9.73MB with 6.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/startup-screenshot.png | 1,035.72KB | 394.37KB | ▼ 61.92% |
admin/img/widgets-compatibility-collage.png | 129.32KB | 41.65KB | ▼ 67.79% |
admin/img/nonprofit-screenshot.png | 22.93KB | 7.84KB | ▼ 65.79% |
admin/img/structure-lite-screenshot.png | 835.01KB | 293.12KB | ▼ 64.90% |
admin/img/min-screenshot.png | 15.19KB | 6.69KB | ▼ 55.93% |