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.03MB] [CPU: ▼4.76ms] Passed 4 tests
An overview of server-side resources used by Woocommerce Dropdown Cart
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.27 ▲0.11 |
Dashboard /wp-admin | 3.35 ▼0.00 | 47.98 ▼11.41 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.68 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 94.20 ▼4.43 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.22 ▼2.34 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Woocommerce Dropdown Cart
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.15 ▼1.23 | 1.86 ▲0.26 | 45.82 ▲7.61 |
Dashboard /wp-admin | 2,209 ▲18 | 4.86 ▼1.02 | 100.16 ▲1.86 | 36.99 ▼7.58 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.03 | 39.20 ▲2.77 | 34.96 ▲0.65 |
Add New Post /wp-admin/post-new.php | 1,531 ▼1 | 18.22 ▼5.22 | 645.37 ▼42.22 | 76.44 ▲20.97 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▲0.03 | 96.77 ▼13.28 | 43.52 ▼2.90 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/woocommerce-dropdown-cart/woocommerce-dropdown-cart.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Dropdown cart content) image missing
woocommerce-dropdown-cart/woocommerce-dropdown-cart.php Passed 13 tests
The main PHP script in "Woocommerce Dropdown Cart" version 2.1.1 is automatically included on every request by WordPress
66 characters long description:
A widget plugin for WooCommerce to display the cart at top of page
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin443 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 1 | 20 | 0 | 116 |
PHP | 1 | 40 | 27 | 105 |
CSS | 2 | 1 | 1 | 96 |
PO File | 2 | 20 | 20 | 72 |
JavaScript | 2 | 15 | 1 | 54 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cart.png | 1.98KB | 1.30KB | ▼ 34.25% |