Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/feedbackscout/includes/oauth/FBSOAuthClient.php+20
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.97MB] [CPU: ▼346.81ms] Passed 4 tests
Server-side resources used by FeedbackScout: The easiest way to collect, prioritise, manage and track customer feedback.
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.39 ▼1.12 | 7.84 ▼44.93 |
Dashboard /wp-admin | 2.42 ▼0.99 | 6.33 ▼25.89 |
Posts /wp-admin/edit.php | 2.42 ▼1.22 | 5.81 ▼46.65 |
Add New Post /wp-admin/post-new.php | 2.42 ▼4.55 | 5.68 ▼1,269.78 |
Media Library /wp-admin/upload.php | 2.42 ▼0.87 | 5.60 ▼20.52 |
Freemius Debug [v.2.4.0.1] /wp-admin/admin.php?page=freemius | 2.42 | 5.24 |
Settings /wp-admin/admin.php?page=feedbackscout-settings | 2.42 | 5.63 |
Boards /wp-admin/admin.php?page=sb-boards | 2.42 | 6.46 |
Feedback /wp-admin/admin.php?page=fbs-posts | 2.42 | 5.61 |
Board /wp-admin/admin.php?page=sb-board | 2.42 | 6.75 |
Products /wp-admin/admin.php?page=sb-products | 2.42 | 5.71 |
Post /wp-admin/admin.php?page=sb-post | 2.42 | 6.70 |
Add New Post /wp-admin/admin.php?page=fbs_add_post | 2.42 | 6.65 |
Server storage [IO: ▲7.94MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 451 new files
Database: 8 new tables, 14 new options
New tables |
---|
wp_fbs_products |
wp_fbs_images |
wp_fbs_likes |
wp_fbs_posts |
wp_fbs_post_2_images |
wp_fbs_status |
wp_fbs_boards |
wp_fbs_comments |
New WordPress options |
---|
fs_accounts |
wp_fbs_post_2_images_db_version |
myplugin_option_name |
fs_debug_mode |
wp_fbs_boards_db_version |
wp_fbs_comments_db_version |
wp_fbs_likes_db_version |
wp_fbs_status_db_version |
wp_fbs_products_db_version |
fs_gdpr |
... |
Browser metrics Passed 4 tests
FeedbackScout: The easiest way to collect, prioritise, manage and track customer feedback.: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,920 ▲166 | 16.01 ▲0.07 | 5.91 ▲0.14 | 2.64 ▲0.10 |
Dashboard /wp-admin | 3,026 ▲168 | 6.11 ▼0.06 | 118.07 ▼13.03 | 169.31 ▲13.80 |
Posts /wp-admin/edit.php | 2,826 ▲169 | 3.27 ▲0.04 | 65.24 ▲0.91 | 158.87 ▲13.15 |
Add New Post /wp-admin/post-new.php | 1,823 ▲50 | 22.76 ▲0.90 | 431.51 ▼17.91 | 160.10 ▲4.63 |
Media Library /wp-admin/upload.php | 1,836 ▲138 | 5.54 ▲0.06 | 148.95 ▲4.43 | 202.15 ▲14.15 |
Freemius Debug [v.2.4.0.1] /wp-admin/admin.php?page=freemius | 1,537 | 2.76 | 54.91 | 113.11 |
Settings /wp-admin/admin.php?page=feedbackscout-settings | 1,424 | 2.44 | 57.32 | 160.32 |
Boards /wp-admin/admin.php?page=sb-boards | 1,524 | 3.18 | 61.60 | 131.19 |
Feedback /wp-admin/admin.php?page=fbs-posts | 1,450 | 2.38 | 57.74 | 123.89 |
Board /wp-admin/admin.php?page=sb-board | 955 | 2.54 | 42.23 | 93.59 |
Products /wp-admin/admin.php?page=sb-products | 1,482 | 3.18 | 59.80 | 142.74 |
Post /wp-admin/admin.php?page=sb-post | 968 | 2.55 | 41.65 | 94.46 |
Add New Post /wp-admin/admin.php?page=fbs_add_post | 1,277 | 3.13 | 65.04 | 137.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/feedbackscout/includes/oauth/FBSOAuthClient.php+20
Trying to access array offset on value of type bool
- Zombie tables detected upon uninstall: 8 tables
- wp_fbs_products
- wp_fbs_likes
- wp_fbs_status
- wp_fbs_images
- wp_fbs_comments
- wp_fbs_boards
- wp_fbs_posts
- wp_fbs_post_2_images
- Zombie WordPress options detected upon uninstall: 14 options
- fs_active_plugins
- fs_gdpr
- wp_fbs_post_2_images_db_version
- wp_fbs_posts_db_version
- wp_fbs_comments_db_version
- wp_fbs_status_db_version
- wp_fbs_likes_db_version
- fs_debug_mode
- myplugin_option_name
- sb_db_version
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 16 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fbs_add_post
- > Notice in wp-content/plugins/feedbackscout/includes/oauth/FBSOAuthClient.php+21
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=fbs-posts
- > Notice in wp-content/plugins/feedbackscout/admin/class-fbs-posts-list-table.php+203
Undefined index: _wpnonce
- > GET request to /wp-admin/admin.php?page=fbs-posts
- > Notice in wp-content/plugins/feedbackscout/admin/class-fbs-posts-list-table.php+313
Undefined index: s
- > GET request to /wp-admin/admin.php?page=fbs-posts
- > User notice in wp-includes/functions.php+5768
wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- > GET request to /wp-admin/admin.php?page=fbs-posts
- > User notice in wp-includes/functions.php+5768
wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fbs_add_post
- > Notice in wp-content/plugins/feedbackscout/admin/partials/fbs-partial-create-post.php+45
Undefined index: board
- > GET request to /wp-admin/admin.php?page=sb-post
- > Notice in wp-content/plugins/feedbackscout/admin/partials/fbs-partial-post-page.php+4
Undefined index: id
- > GET request to /wp-admin/admin.php?page=sb-post
- > Notice in wp-content/plugins/feedbackscout/includes/class-fbs-post.php+49
Trying to get property 'board_id' of non-object
SRP 0% 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 fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/feedbackscout/templates/fbs-register.php
- > /wp-content/plugins/feedbackscout/templates/virtual-page-footer.php
- > /wp-content/plugins/feedbackscout/freemius/templates/ajax-loader.php
- 94× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FBS_Vendor\\GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/feedbackscout/vendor_prefixed/guzzlehttp/guzzle/src/Exception/ConnectException.php:12
- > PHP Fatal error
Uncaught Error: Class 'FBS_Vendor\\GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/feedbackscout/vendor_prefixed/guzzlehttp/promises/src/CancellationException.php:8
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/feedbackscout/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/feedbackscout/templates/fbs-filter-template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/feedbackscout/templates/fbs-upload-form.php:2
- > PHP Fatal error
Uncaught Error: Class 'Isolated\\Symfony\\Component\\Finder\\Finder' not found in wp-content/plugins/feedbackscout/config/php-scoper/oauth2-google.inc.php:17
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/feedbackscout/freemius/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Interface 'FBS_Vendor\\GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/feedbackscout/vendor_prefixed/guzzlehttp/promises/src/Promise.php:10
- > PHP Fatal error
Uncaught Error: Interface 'FBS_Vendor\\Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/feedbackscout/vendor_prefixed/guzzlehttp/psr7/src/LimitStream.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/feedbackscout/templates/fbs-header.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
feedbackscout/feedback-scout.php 85% from 13 tests
The main PHP script in "FeedbackScout: The easiest way to collect, prioritise, manage and track customer feedback." version 1.9.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("feedbackscout.php" instead of "feedback-scout.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin67,333 lines of code in 375 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 304 | 8,196 | 24,775 | 43,079 |
CSS | 21 | 1,674 | 88 | 14,699 |
Markdown | 18 | 1,456 | 0 | 4,427 |
JavaScript | 15 | 666 | 764 | 4,069 |
JSON | 7 | 0 | 0 | 867 |
Handlebars | 8 | 5 | 0 | 161 |
SVG | 1 | 0 | 1 | 22 |
make | 1 | 4 | 0 | 9 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please tend to the following items
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,885)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 28.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,885.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 23 | |
Traits | 10 | |
Classes | 167 | |
▷ Abstract classes | 5 | 2.99% |
▷ Concrete classes | 162 | 97.01% |
▷ Final classes | 10 | 6.17% |
Methods | 2,210 | |
▷ Static methods | 264 | 11.95% |
▷ Public methods | 1,675 | 75.79% |
▷ Protected methods | 80 | 3.62% |
▷ Private methods | 455 | 20.59% |
Functions | 274 | |
▷ Named functions | 183 | 66.79% |
▷ Anonymous functions | 91 | 33.21% |
Constants | 187 | |
▷ Global constants | 97 | 51.87% |
▷ Class constants | 90 | 48.13% |
▷ Public constants | 90 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
17 PNG files occupy 1.38MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fbs_admin.png | 0.75KB | 0.79KB | 0.00% |
assets/screenshot-6.png | 89.24KB | 92.13KB | 0.00% |
assets/banner-1544x500.png | 45.53KB | 14.04KB | ▼ 69.16% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/icon-128x128.png | 5.02KB | 2.24KB | ▼ 55.37% |