Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.41ms] Passed 4 tests
This is a short check of server-side resources used by Guest Suite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 41.55 ▼0.06 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.13 ▼7.80 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.05 ▼0.11 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 87.70 ▼0.94 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.32 ▼0.78 |
Server storage [IO: ▲1.56MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 85 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
guestapp_review_error_data |
widget_guestapp_widget |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Guest Suite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲219 | 13.89 ▼0.41 | 6.57 ▲4.86 | 42.58 ▼6.06 |
Dashboard /wp-admin | 2,226 ▲35 | 5.07 ▼0.84 | 111.13 ▲12.62 | 105.37 ▲64.12 |
Posts /wp-admin/edit.php | 2,127 ▲41 | 2.22 ▲0.20 | 33.10 ▼4.26 | 33.20 ▼0.33 |
Add New Post /wp-admin/post-new.php | 6,228 ▲4,695 | 19.15 ▼3.96 | 933.05 ▲253.72 | 42.07 ▼4.61 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.32 ▲0.09 | 98.88 ▼8.23 | 76.93 ▲30.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- guestapp_review_error_data
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_guestapp_widget
- theysaidso_admin_options
Smoke tests 50% 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 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/guestapp/templates/before_widget.php
- 24× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: note in wp-content/plugins/guestapp/templates/widget-overview.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/guestapp/templates/modal_selector.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/guestapp/templates/widget_settings.php:3
- > PHP Notice
Undefined variable: compact in wp-content/plugins/guestapp/templates/after_widget.php on line 8
- > PHP Notice
Undefined variable: color in wp-content/plugins/guestapp/templates/before_widget.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/guestapp/templates/error_generic.php:2
- > PHP Notice
Undefined variable: id in wp-content/plugins/guestapp/templates/before_widget.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function do_settings_fields() in wp-content/plugins/guestapp/templates/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/guestapp/templates/widget-overview.php:61
- > PHP Notice
Undefined variable: count in wp-content/plugins/guestapp/templates/before_widget.php on line 4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: tourism, hospitality, reviews, restaurant, reputation...
guestapp/guestapp.php Passed 13 tests
"Guest Suite" version 1.4.28's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
18 characters long description:
Guest Suite Plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin3,235 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 222 | 270 | 1,072 |
CSS | 4 | 165 | 68 | 815 |
PO File | 4 | 338 | 35 | 756 |
JavaScript | 4 | 36 | 30 | 406 |
SVG | 1 | 0 | 0 | 151 |
Bourne Shell | 1 | 5 | 0 | 35 |
PHP code Passed 2 tests
A brief analysis 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.40 |
Average class complexity | 41.50 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 5.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 15 | 75.00% |
▷ Protected methods | 1 | 5.00% |
▷ Private methods | 4 | 20.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.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
44 PNG files occupy 1.20MB with 0.63MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo-dark.png | 224.42KB | 65.55KB | ▼ 70.79% |
images/preview-compact-note-light.png | 29.67KB | 10.50KB | ▼ 64.63% |
images/questionmark.png | 0.40KB | 0.57KB | 0.00% |
images/preview-compact-stars-light.png | 27.87KB | 9.57KB | ▼ 65.67% |
images/seal.png | 35.06KB | 14.17KB | ▼ 59.58% |