Benchmarks
Plugin footprint 65% 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: ▲0.33MB] [CPU: ▼0.84ms] Passed 4 tests
Analyzing server-side resources used by Dynamic Widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.64 | 45.37 ▲6.12 |
Dashboard /wp-admin | 3.68 ▲0.34 | 55.52 ▼3.05 |
Posts /wp-admin/edit.php | 3.73 ▲0.38 | 50.48 ▲3.26 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 90.73 ▼9.71 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 40.83 ▲6.30 |
Dynamic Widgets /wp-admin/themes.php?page=dynwid-config | 3.56 | 42.25 |
Server storage [IO: ▲0.99MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 99 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_dynamic_widgets |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
dynwid_version |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
dynwid_housekeeping_lastrun |
Browser metrics Passed 4 tests
An overview of browser requirements for Dynamic Widgets
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.35 ▼0.24 | 1.76 ▲0.15 | 40.04 ▲1.34 |
Dashboard /wp-admin | 2,199 ▲25 | 5.49 ▼0.11 | 80.62 ▼2.37 | 39.75 ▼4.20 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.00 | 33.80 ▲0.78 | 35.08 ▲0.37 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 18.30 ▼4.34 | 594.43 ▼63.36 | 68.47 ▲18.11 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.24 ▲0.02 | 95.58 ▼15.23 | 44.47 ▼0.80 |
Dynamic Widgets /wp-admin/themes.php?page=dynwid-config | 1,126 | 1.86 | 24.53 | 30.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_dynamic_widgets
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-comments
- dynwid_version
- dynwid_housekeeping_lastrun
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 40× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/dynamic-widgets/mods/error_module.php
- > /wp-content/plugins/dynamic-widgets/dynamic-widgets.php
- > /wp-content/plugins/dynamic-widgets/classes/messagebox_class.php
- > /wp-content/plugins/dynamic-widgets/dynwid_admin.php
- > /wp-content/plugins/dynamic-widgets/classes/dynwid_class.php
- > /wp-content/plugins/dynamic-widgets/mods/pages_module.php
- > /wp-content/plugins/dynamic-widgets/mods/wpec_module.php
- > /wp-content/plugins/dynamic-widgets/mods/device_module.php
- > /wp-content/plugins/dynamic-widgets/mods/shortcode_module.php
- > /wp-content/plugins/dynamic-widgets/mods/day_module.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'DWModule' not found in wp-content/plugins/dynamic-widgets/mods/fimage_module.php:7
- > 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 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 delete some tags, you are using 11 tag instead of maximum 10
dynamic-widgets/dynamic-widgets.php 92% from 13 tests
The primary PHP file in "Dynamic Widgets" version 1.6.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 142 characters long)
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
Success! There were no dangerous files found in this plugin14,632 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 13 | 2,101 | 2,848 | 5,526 |
PHP | 41 | 1,045 | 1,175 | 4,797 |
JavaScript | 4 | 324 | 485 | 3,660 |
CSS | 2 | 49 | 126 | 584 |
Ant | 1 | 7 | 0 | 65 |
PHP code Passed 2 tests
Analyzing 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.48 |
Average class complexity | 13.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 4.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 1 | 2.94% |
▷ Concrete classes | 33 | 97.06% |
▷ Final classes | 0 | 0.00% |
Methods | 126 | |
▷ Static methods | 78 | 61.90% |
▷ Public methods | 114 | 90.48% |
▷ Protected methods | 6 | 4.76% |
▷ Private methods | 6 | 4.76% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
18 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
img/wpml_icon.png | 0.79KB | 0.82KB | 0.00% |
images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |