Benchmarks
Plugin footprint 65% 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: ▼1.64MB] [CPU: ▼46.93ms] Passed 4 tests
An overview of server-side resources used by Feedaty Rating for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.35 ▼1.12 | 9.49 ▼25.54 |
Dashboard /wp-admin | 2.37 ▼0.93 | 12.02 ▼38.59 |
Posts /wp-admin/edit.php | 2.37 ▼0.99 | 10.70 ▼37.04 |
Add New Post /wp-admin/post-new.php | 2.37 ▼3.52 | 11.11 ▼86.54 |
Media Library /wp-admin/upload.php | 2.37 ▼0.86 | 12.57 ▼22.81 |
Product Carousel /wp-admin/admin.php?page=feedaty_fwr_product_carousel | 2.37 | 11.57 |
Product Badge /wp-admin/admin.php?page=feedaty_fwr_product_badge | 2.37 | 11.24 |
Export /wp-admin/admin.php?page=feedaty_fwr_export | 2.37 | 11.52 |
Global Settings /wp-admin/admin.php?page=feedaty_fwr_main_options | 2.37 | 10.89 |
Store Carousel /wp-admin/admin.php?page=feedaty_fwr_store_carousel | 2.37 | 10.75 |
Store Badge /wp-admin/admin.php?page=feedaty_fwr_store_badge | 2.37 | 10.94 |
Server storage [IO: ▲0.22MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 41 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_feedaty_woocommerce_rating_widget_carousel |
widget_recent-posts |
feedaty-rating-for-woocommerce |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_feedaty_woocommerce_rating_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Feedaty Rating for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲60 | 14.49 ▲0.14 | 1.61 ▼0.45 | 44.16 ▲3.53 |
Dashboard /wp-admin | 2,235 ▲60 | 5.62 ▼0.10 | 85.60 ▼13.80 | 79.50 ▲37.68 |
Posts /wp-admin/edit.php | 2,158 ▲55 | 2.08 ▲0.06 | 37.82 ▼2.07 | 30.20 ▼5.73 |
Add New Post /wp-admin/post-new.php | 1,573 ▲47 | 22.98 ▲0.05 | 672.23 ▼2.80 | 114.34 ▲51.05 |
Media Library /wp-admin/upload.php | 1,455 ▲61 | 4.27 ▲0.05 | 112.35 ▲16.06 | 74.32 ▲29.73 |
Product Carousel /wp-admin/admin.php?page=feedaty_fwr_product_carousel | 900 | 1.77 | 26.96 | 29.77 |
Product Badge /wp-admin/admin.php?page=feedaty_fwr_product_badge | 903 | 1.77 | 24.33 | 29.38 |
Export /wp-admin/admin.php?page=feedaty_fwr_export | 906 | 1.99 | 24.64 | 25.19 |
Global Settings /wp-admin/admin.php?page=feedaty_fwr_main_options | 906 | 1.74 | 24.22 | 26.33 |
Store Carousel /wp-admin/admin.php?page=feedaty_fwr_store_carousel | 906 | 1.74 | 26.71 | 26.83 |
Store Badge /wp-admin/admin.php?page=feedaty_fwr_store_badge | 903 | 1.77 | 27.63 | 30.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/feedaty-rating-for-woocommerce/admin/class-feedaty-rating-for-woocommerce-widget.php+12
Undefined index: version
- The uninstall procedure has failed, leaving 8 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_feedaty_woocommerce_rating_widget
- widget_recent-posts
- widget_recent-comments
- widget_feedaty_woocommerce_rating_widget_carousel
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=feedaty_fwr_store_badge
- > Notice in wp-content/plugins/feedaty-rating-for-woocommerce/admin/class-feedaty-rating-for-woocommerce-widget-carousel.php+12
Undefined index: version
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/feedaty-rating-for-woocommerce/public/partials/feedaty-rating-for-woocommerce-public-display.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/feedaty-rating-for-woocommerce/admin/partials/feedaty-rating-for-woocommerce-admin-display.php:1
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/feedaty-rating-for-woocommerce/admin/class-feedaty-rating-for-woocommerce-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/feedaty-rating-for-woocommerce/includes/acme_form_builder.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/feedaty-rating-for-woocommerce/admin/class-feedaty-rating-for-woocommerce-widget-carousel.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/feedaty-rating-for-woocommerce/admin/partials/feedaty-rating-for-woocommerce-product_badge.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/feedaty-rating-for-woocommerce/admin/partials/feedaty-rating-for-woocommerce-export.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/feedaty-rating-for-woocommerce/admin/partials/feedaty-rating-for-woocommerce-store_badge.php:1
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (This screenshot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screenshot)
feedaty-rating-for-woocommerce/feedaty-rating-for-woocommerce.php Passed 13 tests
The main file in "Feedaty Rating for WooCommerce" v. 1.0.16 serves as a complement to information provided in readme.txt and as the entry point to the plugin
87 characters long description:
The new Feedaty Rating for WooCommerce will let you easily connect your shop to Feedaty
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 plugin2,468 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 356 | 953 | 2,089 |
CSS | 3 | 40 | 14 | 157 |
PO File | 1 | 58 | 72 | 130 |
JavaScript | 3 | 12 | 62 | 61 |
SVG | 2 | 0 | 0 | 31 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 19.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 3.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 102 | |
▷ Static methods | 2 | 1.96% |
▷ Public methods | 90 | 88.24% |
▷ Protected methods | 1 | 0.98% |
▷ Private methods | 11 | 10.78% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/feedaty.png | 0.59KB | 0.46KB | ▼ 21.85% |
assets/feedaty_logo.png | 16.61KB | 6.32KB | ▼ 61.96% |