Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲2.78MB] [CPU: ▲24.71ms] Passed 4 tests
Analyzing server-side resources used by LiquidPoll - Advanced Polls for Creators and Brands
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.38 ▲2.92 | 63.31 ▲25.57 |
Dashboard /wp-admin | 6.07 ▲2.77 | 70.76 ▲25.59 |
Posts /wp-admin/edit.php | 6.12 ▲2.77 | 68.90 ▲19.58 |
Add New Post /wp-admin/post-new.php | 8.69 ▲2.80 | 121.51 ▲29.73 |
Media Library /wp-admin/upload.php | 6.01 ▲2.78 | 64.94 ▲28.09 |
Settings /wp-admin/edit.php?post_type=poll&page=settings | 8.87 | 74.21 |
Poll Categories /wp-admin/edit-tags.php?taxonomy=poll_cat&post_type=poll | 6.00 | 59.78 |
All Polls /wp-admin/edit.php?post_type=poll | 8.94 | 72.82 |
Add Poll /wp-admin/post-new.php?post_type=poll | 8.92 | 85.15 |
Addons /wp-admin/edit.php?post_type=poll&page=addons | 8.87 | 66.17 |
Reports /wp-admin/edit.php?post_type=poll&page=reports | 8.87 | 66.94 |
Server storage [IO: ▲2.39MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 207 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_liquidpoll_results |
wp_liquidpoll_emails |
wp_liquidpoll_results_meta |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
wp_poll |
widget_liquidpoll_widget_poll |
Browser metrics Passed 4 tests
Checking browser requirements for LiquidPoll - Advanced Polls for Creators and Brands
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,071 ▲300 | 15.89 ▲1.51 | 20.56 ▲18.60 | 39.28 ▲0.48 |
Dashboard /wp-admin | 2,288 ▲97 | 6.20 ▲1.29 | 115.01 ▲12.08 | 38.45 ▼4.88 |
Posts /wp-admin/edit.php | 2,227 ▲141 | 3.00 ▲0.94 | 43.72 ▲4.34 | 32.61 ▼7.81 |
Add New Post /wp-admin/post-new.php | 1,585 ▲68 | 23.91 ▲6.22 | 653.75 ▼27.18 | 34.63 ▼25.39 |
Media Library /wp-admin/upload.php | 1,473 ▲82 | 5.44 ▲1.23 | 109.40 ▲7.92 | 44.44 ▼0.87 |
Settings /wp-admin/edit.php?post_type=poll&page=settings | 2,893 | 6.23 | 89.95 | 59.47 |
Poll Categories /wp-admin/edit-tags.php?taxonomy=poll_cat&post_type=poll | 1,357 | 3.05 | 36.25 | 26.79 |
All Polls /wp-admin/edit.php?post_type=poll | 1,556 | 5.91 | 71.69 | 27.01 |
Add Poll /wp-admin/post-new.php?post_type=poll | 5,661 | 9.74 | 199.96 | 134.50 |
Addons /wp-admin/edit.php?post_type=poll&page=addons | 1,287 | 5.68 | 67.41 | 31.37 |
Reports /wp-admin/edit.php?post_type=poll&page=reports | 1,540 | 5.89 | 66.61 | 27.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables were found after uninstall: 3 tables
- wp_liquidpoll_results_meta
- wp_liquidpoll_emails
- wp_liquidpoll_results
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- db_upgraded
- widget_liquidpoll_widget_poll
- theysaidso_admin_options
- wp_poll
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-poll/includes/classes/class-hooks.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function liquidpoll() in wp-content/plugins/wp-poll/includes/addons/class-addons.php:164
- > PHP Fatal error
Uncaught Error: Class 'WPDK_Settings_Abstract' not found in wp-content/plugins/wp-poll/includes/wpdk/settings/classes/admin-options.class.php:11
- > PHP Fatal error
Uncaught Error: Class 'LIQUIDPOLL_Widget_base' not found in wp-content/plugins/wp-poll/includes/elementor/widget-nps/widget.php:15
- > PHP Fatal error
Uncaught Error: Class 'WPDK_Settings_Abstract' not found in wp-content/plugins/wp-poll/includes/wpdk/settings/classes/fields.class.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function liquidpoll() in wp-content/plugins/wp-poll/includes/elementor/widget-reaction/views/template-1.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function liquidpoll() in wp-content/plugins/wp-poll/includes/admin-templates/reports.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function liquidpoll() in wp-content/plugins/wp-poll/includes/elementor/widget-poll/views/template-1.php:8
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/wp-poll/includes/admin-templates/results-edit.php:11
- > PHP Notice
Trying to get property 'post_type' of non-object in wp-content/plugins/wp-poll/includes/admin-templates/poll-submitbox.php on line 11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #7 (screenshot-7.png), #8 (screenshot-8.png), #9 (screenshot-9.png), #10 (screenshot-10.png), #11 (screenshot-11.png), #12 (screenshot-12.png), #13 (screenshot-13.png), #14 (screenshot-14.png), #15 (screenshot-15.png), #16 (screenshot-16.png), #17 (screenshot-17.png)
wp-poll/wp-poll.php Passed 13 tests
The main file in "LiquidPoll - Advanced Polls for Creators and Brands" v. 3.3.72 serves as a complement to information provided in readme.txt and as the entry point to the plugin
66 characters long description:
It allows user to poll in your website with many awesome features.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin32,923 lines of code in 182 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 127 | 4,896 | 3,247 | 15,277 |
CSS | 19 | 1,663 | 758 | 9,581 |
JavaScript | 17 | 1,561 | 555 | 7,480 |
SVG | 17 | 1 | 0 | 287 |
PO File | 1 | 125 | 133 | 285 |
Markdown | 1 | 8 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 28.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 299.00 |
Average method complexity | 5.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 84 | |
▷ Abstract classes | 2 | 2.38% |
▷ Concrete classes | 82 | 97.62% |
▷ Final classes | 0 | 0.00% |
Methods | 533 | |
▷ Static methods | 49 | 9.19% |
▷ Public methods | 489 | 91.74% |
▷ Protected methods | 12 | 2.25% |
▷ Private methods | 32 | 6.00% |
Functions | 87 | |
▷ Named functions | 73 | 83.91% |
▷ Anonymous functions | 14 | 16.09% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ui-icons_222222_256x240.png | 6.86KB | 4.18KB | ▼ 39.05% |
assets/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
assets/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.38KB | 0.12KB | ▼ 67.68% |
assets/images/author.png | 28.04KB | 10.77KB | ▼ 61.59% |
assets/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.32KB | 0.15KB | ▼ 53.40% |