Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.56MB] [CPU: ▲16.01ms] Passed 4 tests
A check of server-side resources used by Floating Cart Product For Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.53 | 54.61 ▲11.21 |
Dashboard /wp-admin | 3.88 ▲0.53 | 78.49 ▲12.69 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 80.21 ▲31.21 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.59 | 122.46 ▲8.92 |
Media Library /wp-admin/upload.php | 3.82 ▲0.59 | 72.19 ▲35.34 |
Floating Cart /wp-admin/admin.php?page=floating-cart | 3.79 | 64.39 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
These are issues you should consider
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/floating-cart-product-for-woocommerce/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 38 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 Floating Cart Product For Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,617 ▼144 | 14.00 ▼0.29 | 9.07 ▲7.19 | 14.54 ▼22.70 |
Dashboard /wp-admin | 2,250 ▲47 | 5.11 ▲0.23 | 116.14 ▲7.15 | 42.21 ▼2.82 |
Posts /wp-admin/edit.php | 2,134 ▲52 | 2.34 ▲0.30 | 44.39 ▲8.17 | 37.45 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,560 ▲20 | 18.82 ▲0.53 | 620.07 ▲7.56 | 44.50 ▼10.39 |
Media Library /wp-admin/upload.php | 1,432 ▲29 | 4.44 ▲0.16 | 103.86 ▼5.93 | 48.70 ▼3.07 |
Floating Cart /wp-admin/admin.php?page=floating-cart | 5,786 | 4.43 | 202.23 | 55.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
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 50% 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
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-cart-product-for-woocommerce/main/frontend/fcpfw_front.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-cart-product-for-woocommerce/main/resource/fcpfw_load_js_css.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/floating-cart-product-for-woocommerce/floating-cart-product-for-woocommerce.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-cart-product-for-woocommerce/main/resource/fcpfw-installation-require.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-cart-product-for-woocommerce/main/frontend/fcpfw_head_foot.php:221
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-cart-product-for-woocommerce/main/resource/fcpfw-language.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-cart-product-for-woocommerce/main/backend/fcpfw_svg.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-cart-product-for-woocommerce/main/backend/fcpfw_backend.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-cart-product-for-woocommerce/main/backend/fcpfw_comman.php:117
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=floating-cart
- > Network (severe)
wp-content/plugins/woocommerce/assets/css/admin.css?ver=1.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=floating-cart
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=floating-cart
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=floating-cart
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultString is deprecated since version 5.5.0! Use wp.i18n instead.
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=floating-cart
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Contributors: Plugin contributors not specified
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Floting Cart General Setting.), #2 (Floting Cart Custom Style Setting.), #3 (Floting Cart Translations Setting.), #4 (Show Cart Basket.), #5 (Show Floting Cart.)
floating-cart-product-for-woocommerce/floating-cart-product-for-woocommerce.php Passed 13 tests
"Floating Cart Product For Woocommerce" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
61 characters long description:
This plugin allows you to Create Sidebar cart in WooCommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected6,635 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 374 | 39 | 2,698 |
JavaScript | 5 | 628 | 1,114 | 2,640 |
CSS | 8 | 43 | 126 | 1,150 |
SVG | 6 | 0 | 3 | 147 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.10MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ShoppingCart2-512.png | 31.67KB | 11.09KB | ▼ 64.97% |
assets/images/support.png | 6.44KB | 5.59KB | ▼ 13.09% |
assets/images/review.png | 15.87KB | 11.90KB | ▼ 25.01% |
assets/images/star.png | 39.75KB | 10.35KB | ▼ 73.95% |
assets/images/cancel-music.png | 0.52KB | 0.37KB | ▼ 28.52% |