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: ▼0.79MB] [CPU: ▼37.69ms] Passed 4 tests
Server-side resources used by Reviewbucket Lite - Emoji reaction review and google place review WordPress Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.18 ▼0.29 | 17.63 ▼20.90 |
Dashboard /wp-admin | 3.23 ▼0.08 | 20.69 ▼27.16 |
Posts /wp-admin/edit.php | 3.23 ▼0.13 | 20.28 ▼27.15 |
Add New Post /wp-admin/post-new.php | 3.23 ▼2.66 | 20.02 ▼75.55 |
Media Library /wp-admin/upload.php | 3.23 ▼0.00 | 21.54 ▼8.56 |
Review Bucket Settings /wp-admin/admin.php?page=reviewbucketlite-setting-admin | 3.23 | 21.81 |
Emoji Reaction /wp-admin/edit.php?post_type=emoji_reaction | 3.23 | 19.58 |
Server storage [IO: ▲8.89MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 96 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Reviewbucket Lite - Emoji reaction review and google place review WordPress Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,125 ▲339 | 15.44 ▲1.07 | 8.90 ▲7.14 | 42.63 ▲0.04 |
Dashboard /wp-admin | 2,413 ▲233 | 6.39 ▲0.77 | 108.44 ▲20.06 | 41.68 ▼2.79 |
Posts /wp-admin/edit.php | 2,345 ▲245 | 3.65 ▲1.62 | 51.88 ▲17.44 | 31.71 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,755 ▲218 | 20.56 ▲2.11 | 642.06 ▲19.13 | 32.32 ▼35.37 |
Media Library /wp-admin/upload.php | 1,481 ▲81 | 4.34 ▲0.18 | 88.52 ▼4.79 | 47.94 ▲4.29 |
Review Bucket Settings /wp-admin/admin.php?page=reviewbucketlite-setting-admin | 1,556 | 3.85 | 67.34 | 76.20 |
Emoji Reaction /wp-admin/edit.php?post_type=emoji_reaction | 1,309 | 3.64 | 47.26 | 26.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/reviewbucket-lite/inc/functions.php+21
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 0% 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)
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=emoji_reaction
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/reviewbucket-lite/inc/functions.php+22
Trying to access array offset on value of type bool
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
- 20× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/reviewbucket-lite/inc/class-enqueue.php
- > /wp-content/plugins/reviewbucket-lite/inc/meta-fields/tatcmf-config.php
- > /wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/color-fields.php
- > /wp-content/plugins/reviewbucket-lite/inc/functions.php
- > /wp-content/plugins/reviewbucket-lite/reviewbucket-lite.php
- > /wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/select-field.php
- > /wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/date-fields.php
- > /wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/range-slider.php
- > /wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/media-fields.php
- > /wp-content/plugins/reviewbucket-lite/inc/meta-fields/main-meta.php
- 26× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant REVIEWBUCKETLITE_ALERT_MSG - assumed 'REVIEWBUCKETLITE_ALERT_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/checkbox-fields.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/reviewbucket-lite/view/google-shortcode.php:11
- > PHP Warning
Use of undefined constant REVIEWBUCKETLITE_ALERT_MSG - assumed 'REVIEWBUCKETLITE_ALERT_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/color-fields.php on line 13
- > PHP Warning
Use of undefined constant REVIEWBUCKETLITE_ALERT_MSG - assumed 'REVIEWBUCKETLITE_ALERT_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/text-fields.php on line 13
- > PHP Warning
Use of undefined constant REVIEWBUCKETLITE_ALERT_MSG - assumed 'REVIEWBUCKETLITE_ALERT_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/reviewbucket-lite/inc/class-enqueue.php on line 12
- > PHP Warning
Use of undefined constant REVIEWBUCKETLITE_ALERT_MSG - assumed 'REVIEWBUCKETLITE_ALERT_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/select-field.php on line 13
- > PHP Warning
Use of undefined constant REVIEWBUCKETLITE_ALERT_MSG - assumed 'REVIEWBUCKETLITE_ALERT_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/textarea-fields.php on line 13
- > PHP Warning
Use of undefined constant REVIEWBUCKETLITE_ALERT_MSG - assumed 'REVIEWBUCKETLITE_ALERT_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/number-fields.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function ReviewbucketLite\\is_admin() in wp-content/plugins/reviewbucket-lite/admin/admin.php:267
- > PHP Warning
Use of undefined constant REVIEWBUCKETLITE_ALERT_MSG - assumed 'REVIEWBUCKETLITE_ALERT_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/reviewbucket-lite/inc/meta-fields/fields/email-fields.php on line 13
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=emoji_reaction
- > Network (severe)
wp-content/plugins/reviewbucket-lite//admin/assets/js/wpac.js?ver=1.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=emoji_reaction
- > Network (severe)
wp-content/plugins/reviewbucket-lite//admin/assets/js/fbrev-connect.js?ver=1.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Requires at least: The plugin version is formatted incorrectly
- Requires php: The plugin version is formatted incorrectly
reviewbucket-lite/reviewbucket-lite.php 92% from 13 tests
The entry point to "Reviewbucket Lite - Emoji reaction review and google place review WordPress Plugin" version 1.3.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin19,103 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 7 | 0 | 12 | 10,990 |
CSS | 12 | 877 | 129 | 4,992 |
PHP | 32 | 773 | 580 | 2,403 |
JavaScript | 8 | 339 | 114 | 718 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 60 | |
▷ Static methods | 1 | 1.67% |
▷ Public methods | 55 | 91.67% |
▷ Protected methods | 2 | 3.33% |
▷ Private methods | 3 | 5.00% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
Constants | 11 | |
▷ Global constants | 8 | 72.73% |
▷ Class constants | 3 | 27.27% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.22MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/reactions_love.png | 24.11KB | 0.59KB | ▼ 97.57% |
assets/img/trust-logo.png | 19.81KB | 2.07KB | ▼ 89.55% |
view/elementor-widgets/assets/img/play.png | 2.00KB | 1.40KB | ▼ 29.99% |
assets/img/reactions_like.png | 24.11KB | 0.53KB | ▼ 97.79% |
assets/trustpilot-vector-logo.png | 19.81KB | 2.07KB | ▼ 89.55% |