Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.94MB] [CPU: ▼288.00ms] Passed 4 tests
This is a short check of server-side resources used by Get feedback from visitors - WP Feedback Suite Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.51 ▲2.00 | 88.06 ▲41.24 |
Dashboard /wp-admin | 5.32 ▲1.91 | 62.04 ▲28.28 |
Posts /wp-admin/edit.php | 5.57 ▲1.93 | 64.86 ▲25.53 |
Add New Post /wp-admin/post-new.php | 8.90 ▲1.93 | 126.75 ▼1,228.03 |
Media Library /wp-admin/upload.php | 5.27 ▲1.97 | 45.85 ▲22.24 |
Server storage [IO: ▲6.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 181 new files
Database: 1 new table, 4 new options
New tables |
---|
wp_feedback_suite_votes |
New WordPress options |
---|
fs_active_plugins |
fs_accounts |
fs_api_cache |
fs_debug_mode |
Browser metrics Passed 4 tests
An overview of browser requirements for Get feedback from visitors - WP Feedback Suite Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,808 ▲64 | 15.66 ▼0.00 | 5.63 ▼0.44 | 2.25 ▲0.05 |
Dashboard /wp-admin | 2,936 ▲78 | 6.20 ▲0.02 | 116.71 ▼17.74 | 189.70 ▲27.80 |
Posts /wp-admin/edit.php | 2,784 ▲96 | 3.11 ▼0.12 | 65.45 ▲2.62 | 187.89 ▲43.44 |
Add New Post /wp-admin/post-new.php | 1,726 ▲15 | 21.16 ▲0.12 | 496.98 ▲68.45 | 166.89 ▲7.86 |
Media Library /wp-admin/upload.php | 1,740 ▲42 | 5.53 ▲0.02 | 123.85 ▼12.26 | 227.83 ▲36.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_feedback_suite_votes
- Zombie WordPress options were found after uninstall: 4 options
- fs_active_plugins
- fs_accounts
- fs_api_cache
- fs_debug_mode
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/feedback-suite/freemius/templates/ajax-loader.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: dashboard, analytics, feedback, rating
feedback-suite/feedback-suite.php Passed 13 tests
"Get feedback from visitors - WP Feedback Suite Plugin" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
90 characters long description:
Set up a rating system for your articles and gather feedback - directly from your readers.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin103,600 lines of code in 147 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 5,270 | 42,159 | 79,556 |
PHP | 90 | 3,996 | 9,252 | 16,865 |
PO File | 5 | 2,095 | 2,118 | 4,740 |
Sass | 20 | 329 | 76 | 2,017 |
Markdown | 2 | 80 | 0 | 239 |
CSS | 19 | 16 | 523 | 143 |
JSON | 1 | 0 | 0 | 40 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 1,111)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 40.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,111.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 2 | 4.44% |
▷ Concrete classes | 43 | 95.56% |
▷ Final classes | 0 | 0.00% |
Methods | 761 | |
▷ Static methods | 158 | 20.76% |
▷ Public methods | 566 | 74.38% |
▷ Protected methods | 13 | 1.71% |
▷ Private methods | 182 | 23.92% |
Functions | 86 | |
▷ Named functions | 77 | 89.53% |
▷ Anonymous functions | 9 | 10.47% |
Constants | 101 | |
▷ Global constants | 83 | 82.18% |
▷ Class constants | 18 | 17.82% |
▷ Public constants | 18 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.21MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon-white.png | 12.25KB | 5.93KB | ▼ 51.61% |
img/icon-color-16.png | 1.12KB | 0.70KB | ▼ 37.87% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
img/icon-color.png | 11.07KB | 9.16KB | ▼ 17.25% |
img/icon-white-16.png | 0.58KB | 0.57KB | ▼ 1.52% |