Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.23ms] Passed 4 tests
A check of server-side resources used by Real-Time Feedback - Collect feedback exactly when issues happen
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.81 ▼9.71 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.66 ▼5.69 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.14 ▼2.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.85 ▼7.36 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.93 ▼1.27 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_realTimeFeedback_insights |
wp_realTimeFeedback_insights_data |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
realTimeFeedback_version |
Browser metrics Passed 4 tests
A check of browser resources used by Real-Time Feedback - Collect feedback exactly when issues happen
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,873 ▲138 | 13.35 ▼1.21 | 10.52 ▲8.40 | 44.03 ▲1.80 |
Dashboard /wp-admin | 2,221 ▲33 | 5.85 ▲0.94 | 98.45 ▼11.35 | 68.83 ▲25.53 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.02 ▲0.03 | 36.00 ▲2.58 | 33.87 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.22 ▼0.11 | 702.47 ▲48.58 | 54.86 ▲4.14 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.24 ▲0.10 | 95.70 ▲1.35 | 74.92 ▲32.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
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 everything seems fine, this is not 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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/usability-feedback/admin/RealTimeFeedbackWPAdmin.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
7 plugin tags: convert, real-time, retention, engage, confusion...
usability-feedback/realTimeFeedback.php 85% from 13 tests
"Real-Time Feedback - Collect feedback exactly when issues happen" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("usability-feedback.php" instead of "realTimeFeedback.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin4,544 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 673 | 293 | 3,333 |
CSS | 2 | 122 | 29 | 695 |
PHP | 7 | 70 | 22 | 513 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 1 | 12.50% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 1.57KB | 0.75KB | ▼ 52.08% |
admin/img/preview-bg.png | 0.08KB | 0.09KB | 0.00% |