Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.20ms] Passed 4 tests
Server-side resources used by Combine Reviews for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.75 ▼8.04 |
Dashboard /wp-admin | 3.32 ▲0.01 | 55.17 ▲3.02 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.69 ▲1.69 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 96.86 ▲1.27 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.07 ▲0.27 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
wcr_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Combine Reviews for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.19 ▼1.39 | 1.77 ▼0.58 | 41.27 ▼12.21 |
Dashboard /wp-admin | 2,212 ▲24 | 4.88 ▼0.98 | 108.36 ▼10.74 | 41.61 ▼2.72 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.03 ▲0.00 | 39.81 ▲5.24 | 36.54 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,520 ▼22 | 17.68 ▼0.78 | 644.66 ▲18.65 | 57.53 ▲4.68 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.20 ▲0.02 | 98.01 ▼4.20 | 41.90 ▼3.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- wcr_options
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_comments() in wp-content/plugins/woo-combined-reviews/frontend/wcr-single-product-reviews-tab-content.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-combined-reviews/frontend/wcr-combine-reviews.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: woocommerce reviews, woocommerce, reviews
woo-combined-reviews/woo-combined-reviews.php Passed 13 tests
The entry point to "Combine Reviews for WooCommerce" version 1.0.0 is a PHP file that has certain tags in its header comment area
133 characters long description:
The simple plugin that combine reviews of all products on your WooCommerce website and display all combined reviews for each product.
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 plugin391 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 70 | 43 | 304 |
CSS | 1 | 16 | 0 | 87 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin