Benchmarks
Plugin footprint 83% 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.13MB] [CPU: ▼6.46ms] Passed 4 tests
This is a short check of server-side resources used by Simply Polls
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 49.18 ▲6.16 |
Dashboard /wp-admin | 3.45 ▲0.10 | 48.97 ▼17.05 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 52.87 ▼0.87 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 93.54 ▼13.84 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.82 ▲5.94 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_plg_sp_answs |
wp_plg_sp_ip |
wp_plg_sp_polls |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simply Polls
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲97 | 13.30 ▼1.10 | 1.97 ▲0.26 | 41.24 ▼3.47 |
Dashboard /wp-admin | 2,237 ▲31 | 4.82 ▼0.07 | 103.89 ▼3.16 | 40.12 ▼5.97 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.05 ▲0.01 | 42.39 ▲2.97 | 34.51 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.14 ▲5.55 | 661.73 ▲10.25 | 58.58 ▼5.39 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.14 ▼0.14 | 100.97 ▼6.21 | 42.18 ▼6.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Admin - All Poll), #2 (Admin - Edit Poll), #3 (Admin - Results), #4 (Poll - Poll results on page and poll in sidebar), #5 (Poll - Poll in page)
simply-polls/alex-simply-polls.php 85% from 13 tests
The main file in "Simply Polls" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simply-polls.php" instead of "alex-simply-polls.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
Good job! No executable or dangerous file extensions detected932 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 119 | 66 | 588 |
PO File | 2 | 64 | 74 | 183 |
JavaScript | 2 | 17 | 22 | 88 |
CSS | 2 | 7 | 0 | 73 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 25 | |
▷ Named functions | 25 | 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
5 PNG files occupy 0.30MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 51.15KB | 15.70KB | ▼ 69.30% |
screenshot-3.png | 43.17KB | 11.86KB | ▼ 72.52% |
screenshot-4.png | 91.75KB | 26.95KB | ▼ 70.63% |
screenshot-1.png | 54.09KB | 17.74KB | ▼ 67.19% |
screenshot-5.png | 65.32KB | 20.63KB | ▼ 68.42% |