Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.76ms] Passed 4 tests
This is a short check of server-side resources used by Woocommerce Product RSS Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 33.60 ▼6.32 |
Dashboard /wp-admin | 3.39 ▲0.08 | 42.65 ▼2.57 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 46.37 ▲0.29 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 92.81 ▼6.04 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.39 ▼0.12 |
Sheeble Share Options /wp-admin/options-general.php?page=sheeble-share-widget/wcbfeed.php | 3.28 | 34.55 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_rfw_dock |
wcbfeed_rss_image_size |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Woocommerce Product RSS Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲172 | 13.95 ▼0.60 | 9.15 ▲7.56 | 40.57 ▼0.30 |
Dashboard /wp-admin | 2,212 ▲27 | 5.90 ▲0.83 | 108.56 ▲1.73 | 38.76 ▼1.04 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 1.99 ▼0.03 | 39.41 ▲4.28 | 36.19 ▲2.57 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 23.51 ▲5.88 | 651.12 ▲21.54 | 52.77 ▼1.08 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.02 | 101.37 ▲5.24 | 43.05 ▲1.44 |
Sheeble Share Options /wp-admin/options-general.php?page=sheeble-share-widget/wcbfeed.php | 974 | 2.03 | 22.49 | 26.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_rfw_dock
- wcbfeed_rss_image_size
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/sheeble-share-widget/includes/wcbfeed-header.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/upgrade.php): failed to open stream: No such file or directory in wp-content/plugins/sheeble-share-widget/index.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sheeble-share-widget/wcbfeed.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/sheeble-share-widget/functions.php:9
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/sheeble-share-widget/index.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sheeble-share-widget/includes/wcbfeed-option-page.php:4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/sheeble-share-widget/index.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/sheeble-share-widget/woocommerce-better-feeds.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sheeble-share-widget/includes/wcbfeed-footer.php:4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: These screenshots do not have images: #1 (Download the RSS Feed Widget installation package and extract the files on), #2 (Create a new directory named `RSS Feed Widget` in the `wp-content/plugins`), #3 (Log in to the WordPress Dashboard and activate the RSS Feed Widget plugin.), #4 (Once the plugin is activated, a new **RSS Feed Widget** will appear in your Wordpress admin -> appearance -> widgets.)
sheeble-share-widget/index.php 85% from 13 tests
The main PHP script in "Woocommerce Product RSS Widget" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("sheeble-share-widget.php" instead of "index.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 374 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,392 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 70 | 469 | 819 |
PHP | 7 | 123 | 22 | 335 |
CSS | 3 | 36 | 23 | 196 |
PO File | 1 | 11 | 11 | 42 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 6.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 10 | |
▷ Named functions | 10 | 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
3 PNG files occupy 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Backend.png | 79.36KB | 27.80KB | ▼ 64.97% |
images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
Product Output.png | 66.94KB | 24.86KB | ▼ 62.86% |