Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/trustspot-reviews-for-woocommerce/woocommerce-trustspot.php+149
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.95ms] Passed 4 tests
An overview of server-side resources used by TrustSpot Reviews For Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.01 ▼15.38 |
Dashboard /wp-admin | 3.31 ▲0.00 | 63.07 ▲5.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 63.12 ▲7.98 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 109.46 ▲5.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.68 ▼4.35 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for TrustSpot Reviews For Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▼0 | 13.21 ▼1.22 | 1.89 ▲0.14 | 44.76 ▲1.52 |
Dashboard /wp-admin | 2,203 ▼6 | 4.85 ▼0.00 | 114.51 ▲8.54 | 44.84 ▲6.29 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 41.40 ▲3.99 | 34.69 ▲0.86 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.77 ▼5.18 | 863.49 ▲237.50 | 59.68 ▲5.99 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.15 ▼0.13 | 102.57 ▼8.77 | 41.92 ▼2.04 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
7 plugin tags: video reviews, reviews, product reviews, woo reviews, photo reviews...
trustspot-reviews-for-woocommerce/woocommerce-trustspot.php 85% from 13 tests
Analyzing the main PHP file in "TrustSpot Reviews For Woocommerce" version 1.1
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("trustspot-reviews-for-woocommerce.php" instead of "woocommerce-trustspot.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin437 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 76 | 49 | 437 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon.png | 0.89KB | 0.78KB | ▼ 13.10% |
img/TS_Logo_Alternative_ForWhiteBG.png | 9.29KB | 4.54KB | ▼ 51.11% |