Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-content/plugins/polldeep/polldeep.php+271
include_once(wp-content/plugins/polldeep/upload.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼2.37MB] [CPU: ▼340.26ms] Passed 4 tests
Analyzing server-side resources used by PollDeep
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.00 ▼1.51 | 4.94 ▼47.79 |
Dashboard /wp-admin | 2.02 ▼1.39 | 4.14 ▼29.15 |
Posts /wp-admin/edit.php | 2.02 ▼1.62 | 5.07 ▼31.04 |
Add New Post /wp-admin/post-new.php | 2.02 ▼4.95 | 4.39 ▼1,253.04 |
Media Library /wp-admin/upload.php | 2.02 ▼1.28 | 4.58 ▼21.36 |
Expired Polls /wp-admin/admin.php?page=expired-polls | 2.02 | 4.77 |
Create Poll /wp-admin/admin.php?page=create-poll | 2.02 | 4.29 |
Dashboard /wp-admin/admin.php?page=polldeep-dash | 2.02 | 4.92 |
Active Polls /wp-admin/admin.php?page=active-polls | 2.02 | 4.86 |
Polldeep /wp-admin/admin.php?page=polldeep | 2.02 | 5.00 |
Server storage [IO: ▲3.98MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 107 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
PollDeep: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,809 ▲65 | 16.22 ▲0.94 | 5.98 ▲0.12 | 2.17 ▼0.50 |
Dashboard /wp-admin | 2,935 ▲74 | 6.12 ▲0.00 | 113.44 ▼22.57 | 155.86 ▼5.23 |
Posts /wp-admin/edit.php | 2,734 ▲40 | 3.24 ▲0.02 | 62.60 ▲2.20 | 137.03 ▼1.95 |
Add New Post /wp-admin/post-new.php | 1,782 ▲30 | 21.68 ▲0.71 | 429.47 ▼49.52 | 160.98 ▼0.51 |
Media Library /wp-admin/upload.php | 1,746 ▲48 | 5.41 ▼0.11 | 147.83 ▲7.07 | 191.68 ▲4.93 |
Expired Polls /wp-admin/admin.php?page=expired-polls | 1,243 | 4.50 | 95.39 | 95.82 |
Create Poll /wp-admin/admin.php?page=create-poll | 1,236 | 4.28 | 92.59 | 83.67 |
Dashboard /wp-admin/admin.php?page=polldeep-dash | 1,246 | 4.15 | 92.81 | 83.33 |
Active Polls /wp-admin/admin.php?page=active-polls | 1,242 | 4.16 | 90.13 | 83.97 |
Polldeep /wp-admin/admin.php?page=polldeep | 1,239 | 4.17 | 103.22 | 85.05 |
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
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/polldeep/polldeep.php+271
include_once(wp-content/plugins/polldeep/upload.php): failed to open stream: No such file or directory
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=polldeep
- > Warning in wp-content/plugins/polldeep/polldeep.php+271
include_once(wp-content/plugins/polldeep/upload.php): failed to open stream: No such file or directory
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=polldeep
- > Warning in wp-content/plugins/polldeep/polldeep.php+271
include_once(): Failed opening 'wp-content/plugins/polldeep/upload.php' for inclusion (include_path='.:/usr/share/php')
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=polldeep
- > Notice in wp-content/plugins/polldeep/polldeep.php+447
Undefined index: action
- > GET request to /wp-admin/admin.php?page=active-polls
- > Warning in wp-content/plugins/polldeep/activePoll.php+9
include_once(wp-content/plugins/polldeep/style.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=active-polls
- > Warning in wp-content/plugins/polldeep/activePoll.php+9
include_once(): Failed opening 'wp-content/plugins/polldeep/style.php' for inclusion (include_path='.:/usr/share/php')
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/polldeep/editPoll.php on line 246
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (polldeep/assets/authentication.png), #2 (polldeep/assets/create-poll.png), #3 (polldeep/assets/dashboard.png)
polldeep/polldeep.php 92% from 13 tests
The entry point to "PollDeep" version 1.3.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 206 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected28,631 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 0 | 12,510 |
CSS | 22 | 234 | 101 | 6,684 |
JavaScript | 13 | 495 | 406 | 4,811 |
PHP | 12 | 351 | 221 | 4,626 |
PHP code Passed 2 tests
Analyzing 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.79 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
30 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/form_title2.png | 0.53KB | 0.32KB | ▼ 38.63% |
flat/yellow.png | 1.48KB | 1.66KB | 0.00% |
css/images/select_bg.png | 0.32KB | 0.18KB | ▼ 44.04% |
css/images/for.png | 1.66KB | 1.42KB | ▼ 14.38% |
flat/orange.png | 1.48KB | 1.66KB | 0.00% |