Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲6.48MB] [CPU: ▲57.84ms] 25% from 4 tests
Analyzing server-side resources used by Site Reviews
Please have a look at the following items
- RAM: You should keep total memory usage under 10MB (currently 15.31MB on /wp-admin/edit.php?post_type=site-review&page=glsr-settings)
- CPU: The total CPU usage must kept under 500.00ms (currently 536.59ms on /wp-admin/edit.php?post_type=site-review&page=glsr-addons)
- Extra RAM: Extra memory usage should kept under 5MB (currently 6.48MB on /wp-admin/edit.php?post_type=site-review&page=glsr-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.83 ▲6.36 | 98.85 ▲56.05 |
Dashboard /wp-admin | 9.87 ▲6.56 | 99.53 ▲49.95 |
Posts /wp-admin/edit.php | 9.89 ▲6.53 | 109.42 ▲62.94 |
Add New Post /wp-admin/post-new.php | 12.89 ▲7.00 | 143.90 ▲62.42 |
Media Library /wp-admin/upload.php | 9.69 ▲6.46 | 108.97 ▲70.63 |
Categories /wp-admin/edit-tags.php?taxonomy=site-review-category&post_type=site-review | 9.69 | 98.50 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 9.88 | 91.43 |
Help & Support /wp-admin/edit.php?post_type=site-review&page=glsr-documentation | 10.03 | 108.64 |
Tools /wp-admin/edit.php?post_type=site-review&page=glsr-tools | 11.51 | 1,897.36 |
All Reviews /wp-admin/edit.php?post_type=site-review | 10.32 | 116.04 |
Addons /wp-admin/edit.php?post_type=site-review&page=glsr-addons | 10.06 | 536.59 |
Settings /wp-admin/edit.php?post_type=site-review&page=glsr-settings | 15.31 | 462.03 |
Server storage [IO: ▲6.12MB] [DB: ▲0.04MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 1,186 new files
Database: 8 new tables, 25 new options
New tables |
---|
wp_glsr_assigned_users |
wp_glsr_assigned_terms |
wp_actionscheduler_logs |
wp_actionscheduler_claims |
wp_glsr_assigned_posts |
wp_glsr_ratings |
wp_actionscheduler_groups |
wp_actionscheduler_actions |
New WordPress options |
---|
widget_glsr_site-reviews-summary |
widget_theysaidso_widget |
glsr_engine_wp_users |
glsr_db_version |
theysaidso_admin_options |
glsr_engine_wp_postmeta |
glsr_engine_wp_glsr_assigned_users |
db_upgraded |
glsr_engine_wp_glsr_assigned_posts |
glsr_migrations |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Site Reviews
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,088 ▲327 | 13.75 ▼0.65 | 5.47 ▲3.75 | 35.71 ▼8.22 |
Dashboard /wp-admin | 2,472 ▲295 | 5.48 ▼0.14 | 108.31 ▲8.49 | 48.66 ▲5.16 |
Posts /wp-admin/edit.php | 2,155 ▲52 | 2.07 ▲0.11 | 53.77 ▲14.72 | 38.06 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,753 ▲227 | 24.75 ▲1.60 | 718.08 ▲43.53 | 41.51 ▼16.67 |
Media Library /wp-admin/upload.php | 1,455 ▲52 | 4.24 ▲0.05 | 145.57 ▲48.61 | 54.92 ▲12.84 |
Categories /wp-admin/edit-tags.php?taxonomy=site-review-category&post_type=site-review | 1,379 | 2.28 | 32.50 | 30.25 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,300 | 1.81 | 25.61 | 29.24 |
Help & Support /wp-admin/edit.php?post_type=site-review&page=glsr-documentation | 22,085 | 3.43 | 110.87 | 44.15 |
Tools /wp-admin/edit.php?post_type=site-review&page=glsr-tools | 2,719 | 2.57 | 41.44 | 39.76 |
All Reviews /wp-admin/edit.php?post_type=site-review | 1,998 | 2.75 | 45.36 | 59.18 |
Addons /wp-admin/edit.php?post_type=site-review&page=glsr-addons | 2,351 | 2.39 | 34.51 | 56.83 |
Settings /wp-admin/edit.php?post_type=site-review&page=glsr-settings | 4,469 | 3.82 | 64.62 | 48.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie tables were found after uninstall: 8 tables
- wp_glsr_assigned_posts
- wp_glsr_assigned_terms
- wp_actionscheduler_claims
- wp_actionscheduler_groups
- wp_glsr_ratings
- wp_glsr_assigned_users
- wp_actionscheduler_actions
- wp_actionscheduler_logs
- The uninstall procedure has failed, leaving 24 options in the database
- widget_recent-comments
- glsr_migrations
- action_scheduler_hybrid_store_demarkation
- glsr_db_version
- theysaidso_admin_options
- glsr_engine_wp_posts
- glsr_engine_wp_users
- widget_glsr_site-reviews-form
- widget_theysaidso_widget
- schema-ActionScheduler_LoggerSchema
- ...
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 no errors were found, this is by no means 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
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/site-reviews/templates/rating/half-star.php
- > /wp-content/plugins/site-reviews/templates/rating/full-star.php
- > /wp-content/plugins/site-reviews/templates/rating/stars.php
- > /wp-content/plugins/site-reviews/templates/rating/empty-star.php
- 472× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GeminiLabs\\SiteReviews\\Modules\\Schema\\BaseType' not found in wp-content/plugins/site-reviews/plugin/Modules/Schema/AggregateOffer.php:14
- > PHP Fatal error
Uncaught Error: Class 'GeminiLabs\\SiteReviews\\Modules\\Html\\Fields\\Checkbox' not found in wp-content/plugins/site-reviews/plugin/Modules/Html/Fields/Toggle.php:5
- > PHP Fatal error
Uncaught Error: Interface 'GeminiLabs\\SiteReviews\\Contracts\\CommandContract' not found in wp-content/plugins/site-reviews/plugin/Commands/EnqueueAdminAssets.php:16
- > PHP Fatal error
Uncaught Error: Class 'GeminiLabs\\SiteReviews\\Defaults\\DefaultsAbstract' not found in wp-content/plugins/site-reviews/plugin/Defaults/TaxonomyDefaults.php:8
- > PHP Fatal error
Uncaught Error: Class 'GeminiLabs\\SiteReviews\otices\\AbstractNotice' not found in wp-content/plugins/site-reviews/plugin/Notices/FooterNotice.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_x() in wp-content/plugins/site-reviews/config/forms/metabox-fields.php:5
- > PHP Fatal error
Uncaught Error: Class 'GeminiLabs\\SiteReviews\\Hooks\\AbstractHooks' not found in wp-content/plugins/site-reviews/plugin/Hooks/RevisionHooks.php:7
- > PHP Fatal error
Uncaught Error: Class 'GeminiLabs\\SiteReviews\\Modules\\Html\\Field' not found in wp-content/plugins/site-reviews/plugin/Modules/Html/SettingField.php:7
- > PHP Fatal error
Uncaught Error: Interface 'GeminiLabs\\SiteReviews\\Contracts\\MetaboxContract' not found in wp-content/plugins/site-reviews/plugin/Metaboxes/AuthorMetabox.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Stringable' not found in wp-content/plugins/site-reviews/vendors/symfony/polyfill-php80/PhpToken.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: testimonials, product reviews, reviews, woocommerce, stars...
site-reviews/site-reviews.php 85% from 13 tests
"Site Reviews" version 6.11.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
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 plugin81,888 lines of code in 1,087 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,013 | 7,772 | 19,774 | 77,316 |
PO File | 1 | 1,185 | 1,189 | 4,199 |
SVG | 31 | 0 | 0 | 147 |
Markdown | 3 | 39 | 0 | 109 |
XML | 2 | 0 | 0 | 76 |
CSS | 29 | 0 | 0 | 29 |
JavaScript | 7 | 0 | 2 | 7 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 80 | |
Interfaces | 25 | |
Traits | 6 | |
Classes | 616 | |
▷ Abstract classes | 43 | 6.98% |
▷ Concrete classes | 573 | 93.02% |
▷ Final classes | 11 | 1.92% |
Methods | 3,818 | |
▷ Static methods | 414 | 10.84% |
▷ Public methods | 2,591 | 67.86% |
▷ Protected methods | 1,159 | 30.36% |
▷ Private methods | 68 | 1.78% |
Functions | 361 | |
▷ Named functions | 187 | 51.80% |
▷ Anonymous functions | 174 | 48.20% |
Constants | 233 | |
▷ Global constants | 17 | 7.30% |
▷ Class constants | 216 | 92.70% |
▷ Public constants | 214 | 99.07% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 compressed PNG files occupy 0.15MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/video-cover.png | 66.98KB | 72.79KB | 0.00% |
assets/images/about/reviews.png | 34.00KB | 37.02KB | 0.00% |
assets/images/about/blocks.png | 12.77KB | 13.72KB | 0.00% |
assets/images/about/form.png | 24.53KB | 26.24KB | 0.00% |
assets/images/about/summary.png | 12.27KB | 13.68KB | 0.00% |