Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼136.77ms] Passed 4 tests
Analyzing server-side resources used by WP Customer Feedback
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 33.34 ▲13.23 |
Dashboard /wp-admin | 3.09 ▲0.04 | 44.46 ▼0.98 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 44.06 ▼2.92 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 89.25 ▼556.42 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 46.24 ▲15.39 |
WP Customer Feedback /wp-admin/options-general.php?page=wp-customer-feedback-options | 3.01 | 28.99 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Customer Feedback
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,686 ▲90 | 15.73 ▲0.20 | 8.91 ▲0.03 | 49.30 ▲1.53 |
Dashboard /wp-admin | 2,972 ▲41 | 5.95 ▼0.13 | 155.19 ▲6.14 | 112.28 ▼1.59 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 66.46 ▼5.36 | 85.44 ▼8.47 |
Add New Post /wp-admin/post-new.php | 1,584 ▼99 | 18.10 ▼0.26 | 428.92 ▲20.60 | 129.46 ▲16.98 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▲0.00 | 153.27 ▲3.97 | 115.79 ▲6.62 |
WP Customer Feedback /wp-admin/options-general.php?page=wp-customer-feedback-options | 1,517 | 3.54 | 108.85 | 76.62 |
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
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-customer-feedback/admin-page.php
- > /wp-content/plugins/wp-customer-feedback/wp-customer-feedback.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=wp-customer-feedback-options
- > Network (severe)
http://embed-0.wistia.com/deliveries/938c57981edacf359a158b49b43f5bb1f664fda3.jpg?image_play_button=true&image_play_button_color=7b796ae0&image_crop_resized=150x99 - Failed to load resource: the server responded with a status of 500 (Domain Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: popup, review, user-feedback, marketing, feedback...
wp-customer-feedback/wp-customer-feedback.php Passed 13 tests
The entry point to "WP Customer Feedback" version 1.3.0 is a PHP file that has certain tags in its header comment area
45 characters long description:
Simple way to get user feedback for your site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin147 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 26 | 144 |
JavaScript | 2 | 0 | 0 | 2 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
4 compressed PNG files occupy 0.02MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 3.05KB | 3.27KB | 0.00% |
assets/screenshot-2.png | 3.51KB | 3.83KB | 0.00% |
assets/banner-772x250.png | 13.28KB | 14.47KB | 0.00% |
assets/screenshot-1.png | 2.80KB | 3.02KB | 0.00% |