Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▲6.07ms] Passed 4 tests
An overview of server-side resources used by User Feedback - Create Interactive Feedback Form, User Surveys, and Polls in Seconds
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 44.74 ▲4.44 |
Dashboard /wp-admin | 3.59 ▲0.24 | 64.81 ▲1.94 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 64.89 ▲18.60 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.36 | 99.96 ▼0.72 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 65.01 ▲32.06 |
SMTP /wp-admin/admin.php?page=userfeedback_smtp | 3.41 | 47.14 |
Surveys /wp-admin/admin.php?page=userfeedback_surveys | 3.29 | 39.67 |
Results /wp-admin/admin.php?page=userfeedback_results | 3.41 | 45.72 |
Settings /wp-admin/admin.php?page=userfeedback_settings | 3.50 | 50.90 |
Server storage [IO: ▲3.93MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 189 new files
Database: 2 new tables, 11 new options
New tables |
---|
wp_userfeedback_survey_responses |
wp_userfeedback_surveys |
New WordPress options |
---|
can_compress_scripts |
userfeedback_current_version |
db_upgraded |
userfeedback_db_version |
theysaidso_admin_options |
userfeedback_settings |
userfeedback_usage_tracking_config |
userfeedback_parsed_addons |
widget_recent-comments |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by User Feedback - Create Interactive Feedback Form, User Surveys, and Polls in Seconds
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲236 | 18.01 ▲3.67 | 1.54 ▼0.36 | 29.41 ▼17.15 |
Dashboard /wp-admin | 2,373 ▲198 | 7.65 ▲1.94 | 129.84 ▲12.35 | 91.16 ▲48.39 |
Posts /wp-admin/edit.php | 2,201 ▲101 | 2.19 ▲0.18 | 38.87 ▼0.20 | 38.73 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,625 ▲99 | 23.17 ▲0.04 | 774.72 ▲164.43 | 87.70 ▲24.26 |
Media Library /wp-admin/upload.php | 1,494 ▲94 | 4.14 ▼0.07 | 102.73 ▲6.78 | 74.49 ▲33.13 |
SMTP /wp-admin/admin.php?page=userfeedback_smtp | 1,013 | 3.35 | 61.39 | 46.12 |
Surveys /wp-admin/admin.php?page=userfeedback_surveys | 286 | 2.37 | 42.72 | 29.86 |
Results /wp-admin/admin.php?page=userfeedback_results | 1,135 | 5.92 | 101.60 | 56.32 |
Settings /wp-admin/admin.php?page=userfeedback_settings | 1,399 | 6.20 | 110.96 | 102.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_userfeedback_survey_responses
- wp_userfeedback_surveys
- Zombie WordPress options were found after uninstall: 10 options
- can_compress_scripts
- db_upgraded
- userfeedback_settings
- widget_theysaidso_widget
- userfeedback_db_version
- theysaidso_admin_options
- userfeedback_current_version
- userfeedback_parsed_addons
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=userfeedback_settings
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 56× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'UserFeedback_Notification_Event' not found in wp-content/plugins/userfeedback-lite/includes/admin/notifications/class-userfeedback-notification-upgrade-after-14-days.php:12
- > PHP Fatal error
Uncaught Error: Class 'UserFeedback_Plugin_Integration' not found in wp-content/plugins/userfeedback-lite/includes/integrations/class-userfeedback-monsterinsights-integration.php:14
- > PHP Fatal error
Uncaught Error: Class 'UserFeedback_DB' not found in wp-content/plugins/userfeedback-lite/includes/db/class-userfeedback-survey.php:13
- > PHP Warning
Use of undefined constant USERFEEDBACK_PLUGIN_DIR - assumed 'USERFEEDBACK_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/userfeedback-lite/includes/db/class-userfeedback-db.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader.php' (include_path='.:/usr/share/php') in wp-content/plugins/userfeedback-lite/includes/admin/licensing/plugin-upgrader-legacy.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/userfeedback-lite/languages/vue-translations.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/userfeedback-lite/includes/admin/licensing/autoupdate.php:67
- > PHP Fatal error
Uncaught Error: Class 'UserFeedback_Survey_Template' not found in wp-content/plugins/userfeedback-lite/includes/survey-templates/class-userfeedback-survey-template-content-engagement.php:3
- > PHP Fatal error
Uncaught Error: Class 'UserFeedback_Notification_Event' not found in wp-content/plugins/userfeedback-lite/includes/admin/notifications/class-userfeedback-notification-monsterinsights.php:15
- > PHP Fatal error
Uncaught Error: Class 'UserFeedback_Survey_Template' not found in wp-content/plugins/userfeedback-lite/includes/survey-templates/class-userfeedback-survey-template-phone-lead.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=userfeedback_settings
- > Network (severe)
wp-admin/admin-ajax.php - Failed to load resource: the server responded with a status of 400 (Bad Request)
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
These attributes need to be fixed:
- Screenshots: Please describe screenshot #4 in userfeedback-lite/assets to your readme.txt
userfeedback-lite/userfeedback.php 85% from 13 tests
The main file in "User Feedback - Create Interactive Feedback Form, User Surveys, and Polls in Seconds" v. 1.0.12 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("userfeedback-lite.php" instead of "userfeedback.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin12,426 lines of code in 135 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 81 | 3,278 | 6,534 | 12,069 |
SVG | 32 | 1 | 1 | 186 |
JavaScript | 12 | 8 | 39 | 90 |
CSS | 10 | 11 | 0 | 81 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 20.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 65 | |
▷ Abstract classes | 5 | 7.69% |
▷ Concrete classes | 60 | 92.31% |
▷ Final classes | 3 | 5.00% |
Methods | 546 | |
▷ Static methods | 83 | 15.20% |
▷ Public methods | 500 | 91.58% |
▷ Protected methods | 15 | 2.75% |
▷ Private methods | 31 | 5.68% |
Functions | 127 | |
▷ Named functions | 106 | 83.46% |
▷ Anonymous functions | 21 | 16.54% |
Constants | 41 | |
▷ Global constants | 10 | 24.39% |
▷ Class constants | 31 | 75.61% |
▷ Public constants | 31 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
39 PNG files occupy 0.81MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/vue/img/onboarding/underline.png | 0.56KB | 0.41KB | ▼ 27.10% |
assets/img/plugins/plugin-edd.png | 3.36KB | 2.30KB | ▼ 31.56% |
assets/img/plugins/plugin-duplicator.png | 9.12KB | 4.89KB | ▼ 46.42% |
assets/vue/img/uf-upgrade-modal-features-bg.png | 12.52KB | 7.86KB | ▼ 37.18% |
assets/vue/img/userfeedback-smtp-thumb.png | 10.71KB | 11.19KB | 0.00% |