Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.48MB] [CPU: ▼5.97ms] Passed 4 tests
Server-side resources used by Widget Options - The #1 WordPress Widget Control Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.27 | 39.64 ▲1.13 |
Dashboard /wp-admin | 3.87 ▲0.52 | 56.16 ▼7.36 |
Posts /wp-admin/edit.php | 3.98 ▲0.62 | 46.42 ▲6.96 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.58 | 83.96 ▼14.07 |
Media Library /wp-admin/upload.php | 3.79 ▲0.56 | 36.45 ▼3.59 |
Widget Options /wp-admin/options-general.php?page=widgetopts_plugin_settings | 3.99 | 37.19 |
Getting started with Widget Options /wp-admin/index.php?page=widget-opts-getting-started | 3.76 | 33.25 |
Server storage [IO: ▲2.35MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 104 new files
Database: no new tables, 22 new options
New WordPress options |
---|
widgetopts_tabmodule-visibility |
widget_recent-posts |
widget_recent-comments |
widgetopts_tabmodule-settings |
widget_theysaidso_widget |
_widgetopts_default_registered_ |
widgetopts_global_all_pages |
widgetopts_tabmodule-hide_title |
widgetopts_removed_global_pages |
widgetopts_tabmodule-devices |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Widget Options - The #1 WordPress Widget Control Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲56 | 13.32 ▼1.15 | 1.77 ▲0.08 | 45.96 ▲2.12 |
Dashboard /wp-admin | 2,221 ▲44 | 5.08 ▼0.58 | 93.50 ▼2.80 | 48.49 ▲4.73 |
Posts /wp-admin/edit.php | 2,126 ▲29 | 2.39 ▲0.37 | 36.84 ▼0.79 | 32.69 ▼7.68 |
Add New Post /wp-admin/post-new.php | 1,549 ▲14 | 23.28 ▲5.13 | 669.32 ▲31.88 | 37.81 ▼23.65 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.61 ▲0.49 | 101.06 ▼10.59 | 42.97 ▼1.06 |
Widget Options /wp-admin/options-general.php?page=widgetopts_plugin_settings | 2,559 | 2.15 | 28.86 | 44.08 |
Getting started with Widget Options /wp-admin/index.php?page=widget-opts-getting-started | 1,371 | 6.45 | 59.16 | 52.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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
- This plugin did not uninstall successfully, leaving 22 options in the database
- theysaidso_admin_options
- widgetopts_installDate
- widgetopts_tabmodule-hide_title
- _widgetopts_default_registered_
- widgetopts_tabmodule-settings
- widgetopts_global_categories
- widgetopts_removed_global_pages
- widgetopts_tabmodule-devices
- widgetopts_tabmodule-classic_widgets_screen
- widgetopts_tabmodule-visibility
- ...
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Walker_Page' not found in wp-content/plugins/widget-options/includes/extras.php:139
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widget-options/includes/widgets/extras.php:100
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widget-options/includes/admin/globals.php:11
- > 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 79% from 29 tests
readme.txt 88% 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 require attention:
- Screenshots: These screenshots do not have images: #1 (Widgets Visibility Options), #2 (Device Visibility Options), #3 (Widgets Custom Alignment), #4 (Widget CSS ID & Classes), #5 (Display Widget Logic), #6 (Pagebuilder by SiteOrigin Plugin Widget Options), #7 (Widget Importer & Exporter Feature), #8 (Beaver Builder Integration), #9 (Elementor Pagebuilder Integration), #10 (Advanced Custom Fields ( ACF ) Support)
- Tags: Too many tags (28 tag instead of maximum 10); only the first 5 tags are used in your directory listing
widget-options/plugin.php 69% from 13 tests
The main PHP script in "Widget Options - The #1 WordPress Widget Control Plugin" version 3.9.6 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 237 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("widget-options.php" instead of "plugin.php")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected9,087 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 62 | 918 | 1,461 | 5,895 |
CSS | 7 | 65 | 87 | 2,135 |
JavaScript | 13 | 191 | 95 | 934 |
Sass | 2 | 3 | 1 | 106 |
Markdown | 1 | 10 | 0 | 17 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 86.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 302.00 |
Average method complexity | 6.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 35 | 94.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.41% |
Functions | 103 | |
▷ Named functions | 99 | 96.12% |
▷ Anonymous functions | 4 | 3.88% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
13 PNG files occupy 0.80MB with 0.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 82.92KB | 41.30KB | ▼ 50.20% |
assets/css/jqueryui/1.11.4/themes/ui-lightness/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
screenshot-7.png | 49.61KB | 19.80KB | ▼ 60.09% |
screenshot-3.png | 70.00KB | 35.99KB | ▼ 48.59% |
screenshot-8.png | 51.34KB | 23.38KB | ▼ 54.45% |