Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼7.65ms] Passed 4 tests
Server-side resources used by UPD8 Feedback
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 40.23 ▲0.94 |
Dashboard /wp-admin | 3.42 ▲0.08 | 47.54 ▼13.92 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 44.30 ▼4.72 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 83.69 ▼10.40 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.48 ▼1.56 |
Feedback /wp-admin/edit.php?post_type=upd8_feedback | 3.39 | 35.35 |
Add new /wp-admin/post-new.php?post_type=upd8_feedback | 3.37 | 42.09 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=upd8_feedback | 3.34 | 33.76 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 16 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_upd8_feedback_form_fills |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for UPD8 Feedback
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.72 ▲0.50 | 2.39 ▲0.78 | 44.09 ▲1.06 |
Dashboard /wp-admin | 2,229 ▲58 | 5.58 ▼0.04 | 94.79 ▲7.80 | 49.86 ▲5.37 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.95 ▼0.03 | 35.73 ▼1.70 | 30.83 ▼9.03 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.13 ▼0.45 | 691.63 ▲36.57 | 53.09 ▼1.01 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.19 ▲0.06 | 94.00 ▼13.85 | 41.83 ▼7.54 |
Feedback /wp-admin/edit.php?post_type=upd8_feedback | 1,111 | 1.94 | 30.70 | 29.23 |
Add new /wp-admin/post-new.php?post_type=upd8_feedback | 2,720 | 7.34 | 172.73 | 70.59 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=upd8_feedback | 1,350 | 2.12 | 26.32 | 29.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_upd8_feedback_form_fills
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=upd8_feedback
- > Notice in wp-content/plugins/upd8-feedback/includes/UPD8FeedbackCPT.class.php+23
Undefined property: UPD8FeedbackCPT::$pluginVersion
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 fix the following items
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/upd8-feedback/includes/UPD8Shortcodes.class.php
- > /wp-content/plugins/upd8-feedback/includes/UPD8FeedbackCPT.class.php
- > /wp-content/plugins/upd8-feedback/includes/UPD8Feedback.class.php
- > /wp-content/plugins/upd8-feedback/upd8-feedback.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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 your attention:
- Screenshots: These screenshots require images: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png)
upd8-feedback/upd8-feedback.php Passed 13 tests
"UPD8 Feedback" version 0.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
30 characters long description:
A Fedback plugin for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin797 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 113 | 41 | 438 |
CSS | 2 | 29 | 0 | 128 |
JavaScript | 2 | 20 | 0 | 126 |
PO File | 1 | 37 | 38 | 94 |
Markdown | 1 | 3 | 0 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 20.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 17 | 58.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 41.38% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
3 PNG files occupy 0.16MB with 0.12MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 22.97KB | 6.72KB | ▼ 70.76% |
assets/screenshot-3.png | 40.96KB | 8.45KB | ▼ 79.36% |
assets/screenshot-2.png | 95.05KB | 24.10KB | ▼ 74.64% |