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.10MB] [CPU: ▼1.90ms] Passed 4 tests
Server-side resources used by Dimbal Poll Manager - Professional Version
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 42.52 ▲7.34 |
Dashboard /wp-admin | 3.43 ▲0.13 | 46.57 ▼5.76 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.09 ▼4.84 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 85.09 ▲0.95 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.14 ▲2.04 |
Reports /wp-admin/admin.php?page=dimbal-dpm-pro-reports | 3.30 | 32.82 |
Settings & Tools /wp-admin/admin.php?page=dimbal-dpm-pro-settings | 3.32 | 38.79 |
Help & Support /wp-admin/admin.php?page=dimbal-dpm-pro-support | 3.32 | 31.50 |
Poll Manager /wp-admin/admin.php?page=dimbal-dpm-pro-polls | 3.30 | 28.45 |
Preview /wp-admin/admin.php?page=dimbal-dpm-pro-preview | 3.30 | 29.19 |
Dimbal Polls /wp-admin/admin.php?page=dimbal-dpm-pro-home | 3.32 | 30.47 |
Zone Manager /wp-admin/admin.php?page=dimbal-dpm-pro-zones | 3.30 | 32.46 |
Server storage [IO: ▲0.47MB] [DB: ▲0.10MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 75 new files
Database: 5 new tables, 9 new options
New tables |
---|
wp_dimbal_poll_manager_zone |
wp_dimbal_poll_manager_zone_item |
wp_dimbal_poll_manager_poll_response |
wp_dimbal_poll_manager_settings |
wp_dimbal_poll_manager_poll_question |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
dimbal-poll-manager-version |
widget_dimbal-poll-manager |
widget_recent-posts |
widget_recent-comments |
recovery_mode_email_last_sent |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Dimbal Poll Manager - Professional Version
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲63 | 13.23 ▲0.04 | 1.71 ▼0.07 | 43.69 ▼0.17 |
Dashboard /wp-admin | 2,255 ▲49 | 5.88 ▲0.06 | 100.99 ▲2.87 | 39.34 ▲0.33 |
Posts /wp-admin/edit.php | 2,141 ▲52 | 2.15 ▲0.11 | 36.97 ▼1.40 | 32.20 ▼3.77 |
Add New Post /wp-admin/post-new.php | 1,556 ▲42 | 23.39 ▲5.88 | 700.04 ▲11.84 | 65.76 ▲10.53 |
Media Library /wp-admin/upload.php | 1,443 ▲52 | 4.16 ▼0.04 | 107.50 ▲3.50 | 45.17 ▼0.96 |
Reports /wp-admin/admin.php?page=dimbal-dpm-pro-reports | 915 | 2.07 | 27.65 | 29.98 |
Settings & Tools /wp-admin/admin.php?page=dimbal-dpm-pro-settings | 1,025 | 1.71 | 28.66 | 35.64 |
Help & Support /wp-admin/admin.php?page=dimbal-dpm-pro-support | 1,048 | 2.88 | 68.53 | 32.54 |
Poll Manager /wp-admin/admin.php?page=dimbal-dpm-pro-polls | 986 | 1.71 | 27.01 | 26.83 |
Preview /wp-admin/admin.php?page=dimbal-dpm-pro-preview | 725 | 1.55 | 7.32 | 17.50 |
Dimbal Polls /wp-admin/admin.php?page=dimbal-dpm-pro-home | 1,027 | 1.70 | 27.96 | 24.82 |
Zone Manager /wp-admin/admin.php?page=dimbal-dpm-pro-zones | 914 | 2.04 | 24.39 | 30.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.10MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall successfully, leaving 5 tables in the database
- wp_dimbal_poll_manager_zone_item
- wp_dimbal_poll_manager_zone
- wp_dimbal_poll_manager_settings
- wp_dimbal_poll_manager_poll_question
- wp_dimbal_poll_manager_poll_response
- This plugin does not fully uninstall, leaving 9 options in the database
- can_compress_scripts
- dimbal-poll-manager-version
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_dimbal-poll-manager
- recovery_mode_email_last_sent
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=dimbal-dpm-pro-preview
- > Error in wp-content/plugins/dimbal-poll-manager/pages/dimbal-dpm-preview.php+16
Uncaught Error: Undefined class constant 'PAGE_HOME' in wp-content/plugins/dimbal-poll-manager/pages/dimbal-dpm-preview.php:16
Stack trace:
#0 wp-content/plugins/dimbal-poll-manager/classes/class.Dimbal_DPM_PRO.php(60): include()
#1 wp-includes/class-wp-hook.php(310): Dimbal_DPM_PRO::renderPage()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown
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
Please fix the following items
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Dimbal_DPM_PRO' not found in wp-content/plugins/dimbal-poll-manager/pages/dimbal-dpm-settings.php:10
- > PHP Fatal error
Uncaught Error: Class 'Dimbal_DPM_PRO' not found in wp-content/plugins/dimbal-poll-manager/pages/dimbal-preview.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/dimbal-poll-manager/classes/class.DimbalPollWidget_DPM_PRO.php:11
- > PHP Fatal error
Uncaught Error: Class 'Dimbal_DPM_PRO' not found in wp-content/plugins/dimbal-poll-manager/pages/dimbal-dpm-zones.php:11
- > PHP Fatal error
Uncaught Error: Class 'Dimbal_DPM_PRO' not found in wp-content/plugins/dimbal-poll-manager/pages/dimbal-dpm-support.php:11
- > PHP Fatal error
Uncaught Error: Class 'Dimbal_DPM_PRO' not found in wp-content/plugins/dimbal-poll-manager/pages/dimbal-dpm-polls.php:11
- > PHP Fatal error
Uncaught Error: Class 'DimbalStandardLinkRecord_DPM_PRO' not found in wp-content/plugins/dimbal-poll-manager/classes/class.DimbalZoneItem_DPM_PRO.php:9
- > PHP Fatal error
Uncaught Error: Class 'Dimbal_DPM_PRO' not found in wp-content/plugins/dimbal-poll-manager/pages/dimbal-dpm-preview.php:11
- > PHP Fatal error
Uncaught Error: Class 'Dimbal_DPM_PRO' not found in wp-content/plugins/dimbal-poll-manager/pages/dimbal-dtm-support.php:11
- > PHP Fatal error
Uncaught Error: Class 'Dimbal_DPM_PRO' not found in wp-content/plugins/dimbal-poll-manager/pages/dimbal-tools.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 96% 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
1 plugin tags: polls
dimbal-poll-manager/index.php 92% from 13 tests
"Dimbal Poll Manager - Professional Version" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("dimbal-poll-manager.php" instead of "index.php")
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
There were no executable files found in this plugin4,802 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 753 | 958 | 4,028 |
JavaScript | 2 | 178 | 158 | 515 |
CSS | 2 | 54 | 12 | 259 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 31.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 169.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 192 | |
▷ Static methods | 141 | 73.44% |
▷ Public methods | 192 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 89 | |
▷ Global constants | 20 | 22.47% |
▷ Class constants | 69 | 77.53% |
▷ Public constants | 69 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
39 PNG files occupy 0.19MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/feed.png | 1.31KB | 1.41KB | 0.00% |
images/information.png | 2.06KB | 1.65KB | ▼ 20.07% |
images/server_components.png | 2.26KB | 1.64KB | ▼ 27.19% |
images/comment.png | 1.16KB | 1.10KB | ▼ 4.72% |
images/tick_grey.png | 1.57KB | 0.55KB | ▼ 64.74% |