Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼256.46ms] Passed 4 tests
A check of server-side resources used by UseResponse Feedback Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 35.33 ▲14.06 |
Dashboard /wp-admin | 3.07 ▲0.01 | 46.73 ▲7.68 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 42.78 ▼2.67 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 89.02 ▼1,025.33 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 34.09 ▼5.53 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
UseResponse Feedback Widget: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,697 ▲92 | 15.94 ▼0.02 | 8.65 ▲1.26 | 50.53 ▲2.20 |
Dashboard /wp-admin | 2,971 ▲118 | 5.89 ▲0.03 | 137.80 ▲4.92 | 134.30 ▲34.95 |
Posts /wp-admin/edit.php | 2,740 ▲37 | 2.68 ▼0.00 | 59.71 ▼6.08 | 96.10 ▲9.13 |
Add New Post /wp-admin/post-new.php | 1,666 ▼187 | 18.69 ▼0.50 | 355.48 ▼20.92 | 113.43 ▲6.18 |
Media Library /wp-admin/upload.php | 1,735 ▼34 | 5.01 ▼0.01 | 126.29 ▼24.91 | 124.82 ▲7.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 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 no errors were found, this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/useresponse-feedback-widget/useresponse-feedback-widget.php:10
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 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
7 plugin tags: customer feedback, feedback widget for website, user feedback, website feedback, useresponse...
useresponse-feedback-widget/useresponse-feedback-widget.php Passed 13 tests
The main PHP script in "UseResponse Feedback Widget" version 1.0 is automatically included on every request by WordPress
23 characters long description:
Add chat widget to site
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 plugin70 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 7 | 70 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ur_ico.png | 2.62KB | 1.04KB | ▼ 60.33% |
sources.png | 9.59KB | 9.97KB | 0.00% |
ur_logo.png | 2.19KB | 2.25KB | 0.00% |