Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲3.24MB] [CPU: ▲13.32ms] Passed 4 tests
A check of server-side resources used by Finest Floating Cart for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.94 ▲4.48 | 58.24 ▲17.38 |
Dashboard /wp-admin | 6.53 ▲3.23 | 71.40 ▲18.50 |
Posts /wp-admin/edit.php | 6.58 ▲3.23 | 61.15 ▲11.71 |
Add New Post /wp-admin/post-new.php | 9.13 ▲3.24 | 101.14 ▲6.10 |
Media Library /wp-admin/upload.php | 6.50 ▲3.27 | 54.72 ▲18.08 |
Server storage [IO: ▲2.54MB] [DB: ▲0.18MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 291 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Finest Floating Cart for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲130 | 13.78 ▼0.50 | 7.36 ▲4.87 | 42.76 ▼8.63 |
Dashboard /wp-admin | 2,222 ▲54 | 5.63 ▲0.05 | 93.32 ▲5.44 | 42.75 ▼1.61 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.03 ▲0.01 | 34.85 ▼1.83 | 37.72 ▲0.67 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.01 ▼0.05 | 652.01 ▼16.56 | 72.03 ▲12.18 |
Media Library /wp-admin/upload.php | 1,424 ▲21 | 4.21 ▼0.01 | 102.69 ▲4.95 | 47.11 ▲1.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.18MB] 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
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 7× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/finest-mini-cart/lib/controls/views/generic.php
- > /wp-content/plugins/finest-mini-cart/lib/controls/views/select.php
- > /wp-content/plugins/finest-mini-cart/lib/controls/views/color.php
- > /wp-content/plugins/finest-mini-cart/lib/controls/views/textarea.php
- > /wp-content/plugins/finest-mini-cart/lib/controls/views/number.php
- > /wp-content/plugins/finest-mini-cart/lib/controls/views/code.php
- > /wp-content/plugins/finest-mini-cart/lib/controls/views/radio.php
- 85× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Kirki_Output' not found in wp-content/plugins/finest-mini-cart/lib/modules/css/field/class-kirki-output-field-typography.php:15
- > PHP Fatal error
Uncaught Error: Class 'Kirki_Output_Property' not found in wp-content/plugins/finest-mini-cart/lib/modules/css/property/class-kirki-output-property-background-image.php:15
- > PHP Fatal error
Uncaught Error: Class 'Kirki_Field' not found in wp-content/plugins/finest-mini-cart/lib/field/class-kirki-field-radio.php:15
- > PHP Fatal error
Uncaught Error: Class 'Kirki' not found in wp-content/plugins/finest-mini-cart/includes/customizer/cart-style.php:2
- > PHP Warning
Use of undefined constant FMC_INC - assumed 'FMC_INC' (this will throw an Error in a future version of PHP) in wp-content/plugins/finest-mini-cart/includes/base.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'Kirki_Output_Property' not found in wp-content/plugins/finest-mini-cart/lib/modules/css/property/class-kirki-output-property-font-family.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Cropped_Image_Control' not found in wp-content/plugins/finest-mini-cart/lib/controls/php/class-kirki-control-cropped-image.php:15
- > PHP Fatal error
Uncaught Error: Class 'Kirki_Field_Select' not found in wp-content/plugins/finest-mini-cart/lib/field/class-kirki-field-select2.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_normalize_path() in wp-content/plugins/finest-mini-cart/lib/deprecated/deprecated.php:17
- > PHP Fatal error
Uncaught Error: Class 'Kirki_Control_Base' not found in wp-content/plugins/finest-mini-cart/lib/controls/php/class-kirki-control-background.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
finest-mini-cart/finest-mini-cart.php 92% from 13 tests
Analyzing the main PHP file in "Finest Floating Cart for WooCommerce" version 1.0.4
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 189 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 detected35,143 lines of code in 271 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 92 | 3,651 | 2,510 | 14,154 |
PHP | 160 | 1,859 | 6,881 | 10,177 |
JSON | 4 | 0 | 0 | 8,318 |
CSS | 11 | 225 | 52 | 2,307 |
SVG | 3 | 0 | 0 | 160 |
YAML | 1 | 7 | 0 | 27 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 9.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 131 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 131 | 100.00% |
▷ Final classes | 8 | 6.11% |
Methods | 442 | |
▷ Static methods | 100 | 22.62% |
▷ Public methods | 241 | 54.52% |
▷ Protected methods | 182 | 41.18% |
▷ Private methods | 19 | 4.30% |
Functions | 45 | |
▷ Named functions | 22 | 48.89% |
▷ Anonymous functions | 23 | 51.11% |
Constants | 11 | |
▷ Global constants | 11 | 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
9 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/assets/images/jquery.fs.stepper-arrows.png | 0.30KB | 0.18KB | ▼ 40.52% |
lib/assets/images/kirki-bottom.png | 1.51KB | 1.09KB | ▼ 27.89% |
lib/assets/images/2cl.png | 0.85KB | 0.27KB | ▼ 68.48% |
assets/img/sunset-icon.png | 1.62KB | 0.89KB | ▼ 45.02% |
lib/assets/images/3cm.png | 0.91KB | 0.25KB | ▼ 72.00% |