Benchmarks
Plugin footprint 83% 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: ▲1.12MB] [CPU: ▼1.96ms] Passed 4 tests
Analyzing server-side resources used by Widgets for Ebay Reviews
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.59 ▲1.12 | 47.94 ▲3.89 |
Dashboard /wp-admin | 4.46 ▲1.11 | 53.26 ▼10.49 |
Posts /wp-admin/edit.php | 4.49 ▲1.13 | 58.70 ▲9.37 |
Add New Post /wp-admin/post-new.php | 7.10 ▲1.21 | 89.01 ▼7.64 |
Media Library /wp-admin/upload.php | 4.34 ▲1.10 | 43.28 ▲6.40 |
Server storage [IO: ▲3.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 131 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_trustindex_ebay_reviews |
New WordPress options |
---|
widget_recent-posts |
trustindex-ebay-version |
trustindex-ebay-active |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Widgets for Ebay Reviews
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲62 | 14.67 ▼0.05 | 1.52 ▼0.15 | 42.23 ▼0.85 |
Dashboard /wp-admin | 2,199 ▲22 | 5.60 ▼0.02 | 94.51 ▼1.82 | 84.23 ▲42.98 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 2.00 ▲0.03 | 37.50 ▼2.93 | 34.40 ▲1.86 |
Add New Post /wp-admin/post-new.php | 6,379 ▲4,836 | 27.80 ▲4.70 | 939.33 ▲324.17 | 39.81 ▼8.42 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.25 ▲0.07 | 96.34 ▲0.30 | 65.32 ▲24.61 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 11× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/widgets-for-ebay-reviews/tabs/setup_trustindex.php
- > /wp-content/plugins/widgets-for-ebay-reviews/tabs/get_reviews.php
- > /wp-content/plugins/widgets-for-ebay-reviews/tabs/setup_trustindex_join.php
- > /wp-content/plugins/widgets-for-ebay-reviews/trustindex-ebay-widget.class.php
- > /wp-content/plugins/widgets-for-ebay-reviews/tabs/rate.php
- > /wp-content/plugins/widgets-for-ebay-reviews/tabs/feature_request.php
- > /wp-content/plugins/widgets-for-ebay-reviews/tabs/setup_no_reg_header.php
- > /wp-content/plugins/widgets-for-ebay-reviews/tabs/advanced.php
- > /wp-content/plugins/widgets-for-ebay-reviews/tabs/my_reviews.php
- > /wp-content/plugins/widgets-for-ebay-reviews/settings.php
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugin_data() in wp-content/plugins/widgets-for-ebay-reviews/include/troubleshooting.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/widgets-for-ebay-reviews/include/schema.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/widgets-for-ebay-reviews/tabs/setup_no_reg.php:1
- > PHP Fatal error
Uncaught Error: Class 'TrustindexPlugin_ebay' not found in wp-content/plugins/widgets-for-ebay-reviews/tabs/_get_more_customers.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/widgets-for-ebay-reviews/include/uninstall.php:2
- > PHP Fatal error
Uncaught Error: Class 'TrustindexPlugin_ebay' not found in wp-content/plugins/widgets-for-ebay-reviews/tabs/setup_no_reg_platform.php:1
- > PHP Fatal error
Uncaught Error: Class 'TrustindexPlugin_ebay' not found in wp-content/plugins/widgets-for-ebay-reviews/tabs/_rate_us_feedback.php:2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/widgets-for-ebay-reviews/include/activate.php on line 2
- > PHP Warning
require_once(ABSPATHwp-admin/includes/upgrade.php): failed to open stream: No such file or directory in wp-content/plugins/widgets-for-ebay-reviews/include/activate.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'TrustindexPlugin_ebay' not found in wp-content/plugins/widgets-for-ebay-reviews/tabs/demo_widgets.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
widgets-for-ebay-reviews/widgets-for-ebay-reviews.php Passed 13 tests
The principal PHP file in "Widgets for Ebay Reviews" v. 11.1 is loaded by WordPress automatically on each request
110 characters long description:
Embed Ebay reviews fast and easily into your WordPress site. Increase SEO, trust and sales using Ebay reviews.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin10,477 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 43 | 38 | 9,284 |
JavaScript | 6 | 301 | 175 | 1,018 |
CSS | 4 | 13 | 0 | 63 |
SVG | 3 | 2 | 0 | 60 |
JSON | 1 | 0 | 0 | 52 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 127.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 348.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 6 | 6.12% |
▷ Public methods | 96 | 97.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.04% |
Functions | 17 | |
▷ Named functions | 8 | 47.06% |
▷ Anonymous functions | 9 | 52.94% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/img/yes.png | 1.91KB | 0.25KB | ▼ 87.08% |
static/img/platforms.png | 10.24KB | 4.08KB | ▼ 60.12% |
static/img/trustindex-sign-logo.png | 3.34KB | 0.59KB | ▼ 82.47% |
static/img/no.png | 1.92KB | 0.28KB | ▼ 85.53% |