Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.43MB] [CPU: ▲1.84ms] Passed 4 tests
Server-side resources used by BWL Poll Manager Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 38.70 ▲1.90 |
Dashboard /wp-admin | 3.78 ▲0.43 | 49.32 ▼6.68 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 51.93 ▲4.65 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.48 | 98.13 ▲7.47 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 45.02 ▲13.73 |
Upgrade To Pro /wp-admin/edit.php?post_type=bwl_poll&page=bpm-welcome | 3.70 | 36.45 |
Add New Poll /wp-admin/post-new.php?post_type=bwl_poll | 3.74 | 46.17 |
All Poll /wp-admin/edit.php?post_type=bwl_poll | 3.75 | 39.35 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 81 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_bpm_vote_data |
New WordPress options |
---|
theysaidso_admin_options |
bpm_flash_rules_status |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
bpm_old_custom_slug |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for BWL Poll Manager Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲142 | 14.49 ▲0.12 | 1.92 ▲0.27 | 38.38 ▼4.00 |
Dashboard /wp-admin | 2,239 ▲58 | 4.92 ▼0.75 | 97.70 ▼7.16 | 76.82 ▲32.53 |
Posts /wp-admin/edit.php | 2,151 ▲51 | 2.39 ▲0.39 | 43.69 ▲8.99 | 37.38 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,738 ▲212 | 22.22 ▼0.62 | 651.31 ▼14.42 | 38.14 ▼17.68 |
Media Library /wp-admin/upload.php | 1,470 ▲70 | 4.53 ▲0.33 | 100.29 ▼0.29 | 85.18 ▲41.10 |
Upgrade To Pro /wp-admin/edit.php?post_type=bwl_poll&page=bpm-welcome | 1,323 | 2.09 | 29.26 | 49.13 |
Add New Poll /wp-admin/post-new.php?post_type=bwl_poll | 2,804 | 3.61 | 91.90 | 79.44 |
All Poll /wp-admin/edit.php?post_type=bwl_poll | 1,190 | 2.42 | 35.20 | 29.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_bpm_vote_data
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- bpm_flash_rules_status
- can_compress_scripts
- bpm_old_custom_slug
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bwl-poll-manager-lite/tinymce/bpm_shortcode_editor.php
- > /wp-content/plugins/bwl-poll-manager-lite/option-panel/welcome-page.php
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bwl-poll-manager-lite/shortcode/bpm-shortcodes.php:3
- > PHP Warning
Use of undefined constant BWL_PM_PLUGIN_TITLE - assumed 'BWL_PM_PLUGIN_TITLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/bwl-poll-manager-lite/option-panel/welcome-page.php on line 147
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bwl-poll-manager-lite/tinymce/bpm_tiny_mce_config.php:10
- > PHP Warning
Use of undefined constant BWL_PM_PLUGIN_DIR - assumed 'BWL_PM_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/bwl-poll-manager-lite/option-panel/welcome-page.php on line 126
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bwl-poll-manager-lite/includes/bpm-single-page.php:28
- > PHP Warning
Use of undefined constant BWL_PM_PLUGIN_DIR - assumed 'BWL_PM_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/bwl-poll-manager-lite/option-panel/welcome-page.php on line 127
- > PHP Warning
Use of undefined constant BWL_PM_PLUGIN_TITLE - assumed 'BWL_PM_PLUGIN_TITLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/bwl-poll-manager-lite/option-panel/welcome-page.php on line 319
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bwl-poll-manager-lite/includes/bpm-quick-edit.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bwl-poll-manager-lite/includes/bpm-vote-counter.php:62
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bwl-poll-manager-lite/option-panel/bpm-admin-settings.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: vote, opinion, poll, option
bwl-poll-manager-lite/bwl-poll-manager-lite.php 85% from 13 tests
This is the main PHP file of "BWL Poll Manager Lite" version 1.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 230 characters long)
- Requires at least: Required version number should only contain digits separated by dots (ex. "7.0" instead of "5.4+")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin11,192 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 1,219 | 398 | 7,872 |
JavaScript | 11 | 433 | 207 | 1,384 |
CSS | 9 | 246 | 78 | 1,339 |
SVG | 1 | 0 | 0 | 414 |
PO File | 1 | 83 | 94 | 183 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 6.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 36 | |
▷ Named functions | 35 | 97.22% |
▷ Anonymous functions | 1 | 2.78% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
26 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/bpm-cmb-framework/admin/images/colorpicker/colorpicker_rgb_r.png | 1.04KB | 0.77KB | ▼ 26.17% |
includes/bpm-cmb-framework/admin/images/colorpicker/colorpicker_hsb_s.png | 1.14KB | 0.80KB | ▼ 29.97% |
includes/bpm-cmb-framework/admin/images/colorpicker/colorpicker_overlay.png | 10.11KB | 8.24KB | ▼ 18.50% |
includes/bpm-cmb-framework/admin/images/colorpicker/colorpicker_rgb_b.png | 0.95KB | 0.76KB | ▼ 19.48% |
includes/bpm-cmb-framework/admin/images/colorpicker/custom_hsb_s.png | 1.14KB | 0.89KB | ▼ 21.75% |