Benchmarks
Plugin footprint 82% 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: ▲0.85MB] [CPU: ▲1.07ms] 75% from 4 tests
An overview of server-side resources used by WP Poll Maker - Best WordPress Poll Plugin for Voting Contest
It is recommended to improve the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,387.27ms on /wp-admin/admin.php?page=epoll_docs)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.33 ▲0.87 | 49.17 ▲4.91 |
Dashboard /wp-admin | 4.18 ▲0.88 | 61.90 ▲10.71 |
Posts /wp-admin/edit.php | 4.22 ▲0.87 | 58.24 ▲12.67 |
Add New Post /wp-admin/post-new.php | 6.72 ▲0.84 | 108.64 ▼24.00 |
Media Library /wp-admin/upload.php | 4.04 ▲0.81 | 50.55 ▲16.01 |
Options /wp-admin/admin.php?page=epoll_options | 4.08 | 49.35 |
Voting /wp-admin/edit.php?post_type=it_epoll_poll | 4.14 | 46.78 |
Support & Faqs /wp-admin/admin.php?page=epoll_faq | 4.10 | 1,754.56 |
Templates /wp-admin/admin.php?page=epoll_templates | 4.11 | 1,685.28 |
Poll /wp-admin/edit.php?post_type=it_epoll_opinion | 4.14 | 44.81 |
Add-ons /wp-admin/admin.php?page=epoll_addons | 4.11 | 1,169.94 |
How To Guide /wp-admin/admin.php?page=epoll_docs | 4.10 | 1,387.27 |
Dashboard /wp-admin/admin.php?page=epoll_dashboard | 4.03 | 45.00 |
Server storage [IO: ▲2.02MB] [DB: ▲0.03MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 133 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Poll Maker - Best WordPress Poll Plugin for Voting Contest
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,009 ▲274 | 14.30 ▲0.05 | 7.12 ▲5.36 | 37.00 ▼10.06 |
Dashboard /wp-admin | 2,276 ▲87 | 5.32 ▲0.39 | 105.00 ▼17.29 | 69.62 ▲22.93 |
Posts /wp-admin/edit.php | 2,187 ▲119 | 2.43 ▲0.44 | 43.64 ▲9.01 | 59.51 ▲25.11 |
Add New Post /wp-admin/post-new.php | 6,274 ▲4,755 | 24.69 ▲1.54 | 892.80 ▲221.62 | 36.59 ▼15.49 |
Media Library /wp-admin/upload.php | 1,475 ▲87 | 4.55 ▲0.25 | 93.88 ▼13.36 | 78.47 ▲34.24 |
Options /wp-admin/admin.php?page=epoll_options | 1,596 | 2.22 | 40.25 | 43.93 |
Voting /wp-admin/edit.php?post_type=it_epoll_poll | 1,223 | 2.36 | 35.00 | 43.64 |
Support & Faqs /wp-admin/admin.php?page=epoll_faq | 1,014 | 2.15 | 29.12 | 34.22 |
Templates /wp-admin/admin.php?page=epoll_templates | 998 | 2.17 | 30.16 | 27.95 |
Poll /wp-admin/edit.php?post_type=it_epoll_opinion | 1,223 | 2.36 | 34.31 | 41.24 |
Add-ons /wp-admin/admin.php?page=epoll_addons | 1,118 | 2.30 | 30.48 | 27.21 |
How To Guide /wp-admin/admin.php?page=epoll_docs | 1,003 | 2.16 | 28.32 | 34.66 |
Dashboard /wp-admin/admin.php?page=epoll_dashboard | 969 | 2.15 | 26.44 | 31.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 take a closer look at the following
- 48× 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 _e() in wp-content/plugins/epoll-wp-voting/core/admin/addons.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/epoll-wp-voting/backend/addons/default/frontend/form_action.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/epoll-wp-voting/core/admin/dashboard/overview.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/epoll-wp-voting/backend/actions/it_epoll_poll.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/epoll-wp-voting/backend/addons/default/backend/results.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/epoll-wp-voting/backend/addons/default/backend/results/view_reports.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/epoll-wp-voting/backend/addons/poll-duplicator/backend/enque_scripts.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function it_epoll_init_unique_vote_session() in wp-content/plugins/epoll-wp-voting/frontend/templates/default/cpt/it_epoll_poll.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/epoll-wp-voting/backend/addons/google-analytics-poll/backend/option.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/epoll-wp-voting/core/admin/options.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=epoll_docs
- > Network (severe)
https://ps.w.org/epoll-wp-voting/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% 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 your attention:
- Screenshots: These screenshots lack descriptions #16, #17, #18 in epoll-wp-voting/assets to your readme.txt
- Tags: Please delete some tags, you are using 25 tag instead of maximum 10
epoll-wp-voting/it-epoll.php 77% from 13 tests
The main PHP file in "WP Poll Maker - Best WordPress Poll Plugin for Voting Contest" ver. 3.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 337 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("epoll-wp-voting.php" instead of "it-epoll.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
Success! There were no dangerous files found in this plugin28,788 lines of code in 92 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 26 | 6,968 | 9,308 | 15,548 |
PHP | 46 | 1,153 | 460 | 5,390 |
CSS | 8 | 435 | 16 | 3,830 |
SVG | 2 | 1 | 3 | 1,919 |
HTML | 1 | 290 | 4 | 1,441 |
JavaScript | 9 | 155 | 48 | 660 |
PHP code Passed 2 tests
An overview 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 | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 118 | |
▷ Named functions | 118 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
frontend/templates/default/icon.png | 10.99KB | 5.27KB | ▼ 52.08% |
backend/addons/default/backend/actions/mini_logo.png | 6.49KB | 2.40KB | ▼ 63.05% |
backend/addons/google-analytics-poll/icon.png | 19.59KB | 7.91KB | ▼ 59.65% |
backend/addons/poll-duplicator/icon.png | 14.19KB | 5.30KB | ▼ 62.65% |
backend/addons/default/icon.png | 7.45KB | 4.00KB | ▼ 46.26% |