Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/gbo-modules-reviews/gbo-modules-reviews.php+412
Undefined property: stdClass::$success
Server metrics [RAM: ▼1.94MB] [CPU: ▼51.70ms] Passed 4 tests
Server-side resources used by Modules Reviews from WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.04 ▼1.42 | 5.99 ▼35.45 |
Dashboard /wp-admin | 2.06 ▼1.24 | 9.00 ▼39.56 |
Posts /wp-admin/edit.php | 2.06 ▼1.29 | 7.82 ▼44.98 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.82 | 6.81 ▼86.80 |
Media Library /wp-admin/upload.php | 2.06 ▼1.17 | 6.88 ▼31.39 |
Features /wp-admin/admin.php?page=gbo-modules-reviews&tab=features | 2.06 | 7.68 |
Modules Reviews from WordPress /wp-admin/admin.php?page=gbo-modules-reviews | 2.06 | 8.16 |
Documentation /wp-admin/admin.php?page=gbo-modules-reviews&tab=examples | 2.06 | 8.28 |
Configuration /wp-admin/admin.php?page=gbo-modules-reviews&tab=options | 2.06 | 8.58 |
Cache /wp-admin/admin.php?page=gbo-modules-reviews&tab=cache | 2.06 | 7.51 |
Server storage [IO: ▲2.54MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 34 new files
Database: 1 new table, 20 new options
New tables |
---|
wp_prgbo_cache |
New WordPress options |
---|
prgbo_css_custom |
db_upgraded |
prgbo_review_display |
prgbo_download_display |
widget_theysaidso_widget |
prgbo_author_display |
widget_recent-posts |
prgbo_name_display |
widget_recent-comments |
prgbo_use_cache |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Modules Reviews from WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲73 | 14.17 ▼0.16 | 1.63 ▼0.58 | 42.95 ▼4.55 |
Dashboard /wp-admin | 2,236 ▲56 | 5.52 ▼0.18 | 86.45 ▼4.36 | 45.90 ▲1.24 |
Posts /wp-admin/edit.php | 2,138 ▲41 | 1.99 ▲0.02 | 33.00 ▼3.15 | 31.47 ▼7.37 |
Add New Post /wp-admin/post-new.php | 1,556 ▲21 | 23.38 ▲5.19 | 624.37 ▼8.25 | 73.84 ▲11.89 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.16 ▼0.08 | 94.42 ▼11.38 | 42.67 ▼1.73 |
Features /wp-admin/admin.php?page=gbo-modules-reviews&tab=features | 1,281 | 2.25 | 28.36 | 56.85 |
Modules Reviews from WordPress /wp-admin/admin.php?page=gbo-modules-reviews | 1,273 | 2.25 | 28.37 | 29.82 |
Documentation /wp-admin/admin.php?page=gbo-modules-reviews&tab=examples | 1,268 | 2.25 | 27.49 | 37.59 |
Configuration /wp-admin/admin.php?page=gbo-modules-reviews&tab=options | 1,276 | 2.25 | 28.38 | 31.25 |
Cache /wp-admin/admin.php?page=gbo-modules-reviews&tab=cache | 1,271 | 2.25 | 30.35 | 26.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the prgbo_custom handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- prgbo_message
- prgbo_counter_freemium
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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)
These errors were triggered by the plugin
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gbo-modules-reviews&tab=cache
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the prgbo_custom handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gbo-modules-reviews&tab=cache
- > User notice in wp-includes/functions.php+5905
Function wp_add_inline_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the prgbo_custom handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gbo-modules-reviews&tab=cache
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the prgbo_custom handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gbo-modules-reviews&tab=cache
- > Notice in wp-content/plugins/gbo-modules-reviews/gbo-modules-reviews.php+412
Undefined property: stdClass::$success
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gbo-modules-reviews&tab=cache
- > User notice in wp-includes/functions.php+5905
Function 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.)
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/gbo-modules-reviews/includes/admin-footer.php
- 17× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: page in wp-content/plugins/gbo-modules-reviews/includes/tabs/examples.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/gbo-modules-reviews/includes/admin-header.php:2
- > PHP Notice
Undefined variable: page in wp-content/plugins/gbo-modules-reviews/includes/tabs/form-features.php on line 1
- > PHP Notice
Undefined variable: page in wp-content/plugins/gbo-modules-reviews/includes/tabs/form-options.php on line 1
- > PHP Notice
Undefined variable: page in wp-content/plugins/gbo-modules-reviews/includes/tabs/form-options.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/gbo-modules-reviews/includes/templates/plugin_informations.php:2
- > PHP Notice
Undefined variable: page in wp-content/plugins/gbo-modules-reviews/includes/tabs/404.php on line 1
- > PHP Notice
Undefined variable: message in wp-content/plugins/gbo-modules-reviews/includes/tabs/form-features.php on line 6
- > PHP Notice
Undefined variable: page in wp-content/plugins/gbo-modules-reviews/includes/tabs/form-features.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/gbo-modules-reviews/includes/tabs/examples.php:4
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=gbo-modules-reviews&tab=features
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'defaultPrevented')" "TypeError: Cannot read properties of null (reading 'defaultPrevented')\n at Mn.show (/wp-content/plugins/gbo-modules-reviews/assets/javascript/bootstrap-5.1.3.bundle.min.js?ver=1:6:75675)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/gbo-modules-reviews/assets/javascript/prgbo-admin.js?ver=1:9:64)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gbo-modules-reviews&tab=options
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of null (reading 'defaultPrevented')
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gbo-modules-reviews&tab=options
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'defaultPrevented')" "TypeError: Cannot read properties of null (reading 'defaultPrevented')\n at Mn.show (/wp-content/plugins/gbo-modules-reviews/assets/javascript/bootstrap-5.1.3.bundle.min.js?ver=1:6:75675)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/gbo-modules-reviews/assets/javascript/prgbo-admin.js?ver=1:6:63)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gbo-modules-reviews&tab=cache
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'className')" "TypeError: Cannot read properties of undefined (reading 'className')\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/gbo-modules-reviews/assets/javascript/prgbo-admin.js?ver=1:11:21)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gbo-modules-reviews&tab=cache
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'className')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: reviews, plugin, review, module, wordpress
gbo-modules-reviews/gbo-modules-reviews.php 85% from 13 tests
The principal PHP file in "Modules Reviews from WordPress" v. 1.0.2 is loaded by WordPress automatically on each request
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("4.7" instead of "5.2")
- Requires PHP: The required version number must match the one declared in readme.txt ("5.6" instead of "7.2")
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
There were no executable files found in this plugin1,518 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 162 | 105 | 849 |
PO File | 2 | 346 | 727 | 522 |
CSS | 2 | 14 | 6 | 104 |
JavaScript | 2 | 11 | 9 | 43 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 70.00 |
▷ Minimum class complexity | 70.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 5.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 PNG files occupy 2.19MB with 1.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 225.07KB | 81.16KB | ▼ 63.94% |
assets/screenshot-6.png | 169.71KB | 58.16KB | ▼ 65.73% |
assets/icon-128x128.png | 15.59KB | 6.56KB | ▼ 57.93% |
assets/images/product-template-2.png | 88.55KB | 94.28KB | 0.00% |
assets/screenshot-2.png | 409.36KB | 101.26KB | ▼ 75.26% |