Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.01ms] Passed 4 tests
This is a short check of server-side resources used by Addonify Floating Cart For WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.26 ▼8.73 |
Dashboard /wp-admin | 3.42 ▲0.11 | 85.30 ▲36.09 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 41.36 ▼4.83 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 81.24 ▼7.81 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.32 ▲5.34 |
Server storage [IO: ▲1.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Addonify Floating Cart For WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲42 | 14.68 ▲0.33 | 1.90 ▼0.07 | 36.68 ▼7.57 |
Dashboard /wp-admin | 2,206 ▲26 | 5.67 ▲0.04 | 151.28 ▲58.19 | 73.02 ▲31.39 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.98 ▲0.03 | 36.63 ▼1.43 | 31.39 ▼2.96 |
Add New Post /wp-admin/post-new.php | 1,538 ▲11 | 23.37 ▲0.24 | 648.67 ▲21.11 | 52.94 ▼11.82 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.23 ▼0.08 | 105.20 ▲6.54 | 41.75 ▼3.06 |
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
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 fix the following items
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-floating-cart/includes/functions/fields/cart.php:93
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addonify-floating-cart/includes/template-functions.php:102
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-floating-cart/includes/functions/fields/cart-display.php:150
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/addonify-floating-cart/includes/udp/init.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-floating-cart/includes/functions/fields/coupon.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/addonify-floating-cart/includes/functions/settings.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-floating-cart/includes/functions/fields/custom-css.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-floating-cart/includes/functions/fields/toggle-button.php:101
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-floating-cart/includes/functions/fields/toast-notification.php:91
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: Please describe screenshot #5 in addonify-floating-cart/assets to your readme.txt
addonify-floating-cart/addonify-floating-cart.php 92% from 13 tests
The principal PHP file in "Addonify Floating Cart For WooCommerce" v. 1.2.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 190 characters long)
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
Good job! No executable or dangerous file extensions detected3,744 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 711 | 1,444 | 3,715 |
JavaScript | 6 | 0 | 10 | 18 |
JSON | 1 | 0 | 0 | 6 |
CSS | 4 | 0 | 2 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 15.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 2 | 3.03% |
▷ Public methods | 55 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 16.67% |
Functions | 69 | |
▷ Named functions | 59 | 85.51% |
▷ Anonymous functions | 10 | 14.49% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
There are no PNG files in this plugin