Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼17.25ms] Passed 4 tests
A check of server-side resources used by Woo Product Carousel and Zoom
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 24.27 ▼16.07 |
Dashboard /wp-admin | 3.35 ▲0.01 | 49.92 ▼15.99 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 52.04 ▼1.78 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 86.68 ▼30.83 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 32.19 ▼6.12 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
woocz-display-activation-message |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Woo Product Carousel and Zoom: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲163 | 13.57 ▼0.85 | 9.67 ▲8.02 | 37.57 ▼2.02 |
Dashboard /wp-admin | 2,211 ▲34 | 5.62 ▼0.03 | 93.77 ▼0.81 | 42.55 ▲0.29 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.00 ▲0.00 | 37.20 ▲2.69 | 35.57 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 18.37 ▼4.72 | 616.41 ▼60.65 | 72.98 ▲20.85 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.18 ▲0.01 | 98.57 ▼13.28 | 45.49 ▼2.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Woo_Product_Carousel_Zoom' not found in wp-content/plugins/woo-product-carousel-and-zoom/admin/includes/settings.php:67
- > PHP Fatal error
Uncaught Error: Class 'Woo_Product_Carousel_Zoom' not found in wp-content/plugins/woo-product-carousel-and-zoom/admin/views/admin.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #3 (Carousel with navigation and pagination activated. Featured image changes by clicking thumbnails.) image required
woo-product-carousel-and-zoom/woo-product-carousel-and-zoom.php Passed 13 tests
This is the main PHP file of "Woo Product Carousel and Zoom" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
68 characters long description:
Add an easy product carousel and zoom to product page on WooCommerce
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,475 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 90 | 36 | 631 |
PHP | 9 | 297 | 415 | 575 |
PO File | 2 | 92 | 94 | 255 |
JavaScript | 4 | 3 | 11 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 9 | 23.08% |
▷ Public methods | 30 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 23.08% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin