Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Error in wp-content/plugins/easy-poll/easy-poll.php+183
Uncaught Error: Class 'EasyPoll\ShortCodes\ShortCodes' not found in wp-content/plugins/easy-poll/easy-poll.php:183
Stack trace:
#0 wp-content/plugins/easy-poll/easy-poll.php(70): EasyPoll->load_packages()
#1 wp-content/plugins/easy-poll/easy-poll.php(119): EasyPoll->__construct()
#2 wp-content/plugins/easy-poll/easy-poll.php(189): EasyPoll::instance()
#3 wp-admin/includes/plugin.php(2318): include_once('/var/www/wordpr...')
#4 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.93ms] Passed 4 tests
A check of server-side resources used by Easy Poll - Best WordPress Poll System & Survey Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.75 ▲4.78 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.83 ▼2.76 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.96 ▼4.97 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.66 ▼6.92 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.55 ▼5.06 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 82 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Poll - Best WordPress Poll System & Survey Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.14 ▼1.24 | 1.89 ▼0.06 | 46.28 ▼0.43 |
Dashboard /wp-admin | 2,206 ▲15 | 5.90 ▼0.00 | 110.47 ▲5.70 | 41.61 ▲0.24 |
Posts /wp-admin/edit.php | 2,086 ▲15 | 2.14 ▲0.10 | 34.46 ▼2.81 | 29.64 ▼6.15 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.62 ▼0.00 | 627.64 ▼62.32 | 52.37 ▲2.07 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.24 ▼0.02 | 96.62 ▼8.03 | 41.43 ▼5.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- 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
Good news, no errors were detected
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
The following issues need your attention
- 32× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'EasyPoll\\FormBuilder\\FormField' not found in wp-content/plugins/easy-poll/views/metabox/poll-builder.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/easy-poll/templates/poll-form.php:16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-poll/templates/poll-parts/poll-active.php on line 11
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/easy-poll/views/report/progress-bar.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'EasyPoll' not found in wp-content/plugins/easy-poll/templates/poll-parts/poll-upcoming.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/easy-poll/views/components/notification.php:11
- > PHP Notice
Undefined variable: data in wp-content/plugins/easy-poll/templates/poll-parts/poll-active.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'EasyPoll\\Report\\Report' not found in wp-content/plugins/easy-poll/views/report/report-overview.php:12
- > PHP Fatal error
Uncaught Error: Class 'EasyPoll\\Utilities\\Utilities' not found in wp-content/plugins/easy-poll/views/report/poll-submission-lists.php:13
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-poll/templates/poll-parts/poll-active.php on line 12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: vote, feedback, contact-form, online-poll, form...
easy-poll/easy-poll.php Passed 13 tests
The principal PHP file in "Easy Poll - Best WordPress Poll System & Survey Plugin" v. 1.2.1 is loaded by WordPress automatically on each request
77 characters long description:
A simple plugin for creating polls, survey, user's feedback management system
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
There were no executable files found in this plugin4,818 lines of code in 79 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 72 | 736 | 2,402 | 3,949 |
CSS | 3 | 127 | 10 | 851 |
JavaScript | 4 | 0 | 37 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 6.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 2 | 4.76% |
▷ Concrete classes | 40 | 95.24% |
▷ Final classes | 1 | 2.50% |
Methods | 231 | |
▷ Static methods | 106 | 45.89% |
▷ Public methods | 227 | 98.27% |
▷ Protected methods | 1 | 0.43% |
▷ Private methods | 3 | 1.30% |
Functions | 11 | |
▷ Named functions | 1 | 9.09% |
▷ Anonymous functions | 10 | 90.91% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.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
There were not PNG files found in your plugin