Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/shopcode-owl-carousel-woocommerce-widget/owl-carousel-woocommerce-widget.php+281
Function create_function() is deprecated
Server metrics [RAM: ▼1.70MB] [CPU: ▼54.17ms] Passed 4 tests
Server-side resources used by ShopCode Owl Carousel WooCommerce Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.29 ▼1.18 | 5.46 ▼39.43 |
Dashboard /wp-admin | 2.31 ▼1.00 | 6.65 ▼44.36 |
Posts /wp-admin/edit.php | 2.31 ▼1.05 | 6.40 ▼46.42 |
Add New Post /wp-admin/post-new.php | 2.31 ▼3.58 | 8.32 ▼86.47 |
Media Library /wp-admin/upload.php | 2.31 ▼0.92 | 6.48 ▼29.47 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_shopcode-owl-carousel-woocommerce-widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by ShopCode Owl Carousel WooCommerce Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.42 ▼1.14 | 10.66 ▲8.87 | 41.92 ▼5.96 |
Dashboard /wp-admin | 2,192 ▲15 | 5.67 ▲0.08 | 132.80 ▲39.84 | 47.09 ▲4.58 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.02 ▲0.05 | 38.50 ▼1.36 | 36.48 ▲1.70 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.09 ▼0.19 | 681.09 ▲31.59 | 62.58 ▲10.13 |
Media Library /wp-admin/upload.php | 1,397 ▲3 | 4.22 ▲0.08 | 98.73 ▼4.43 | 43.01 ▲1.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/shopcode-owl-carousel-woocommerce-widget/owl-carousel-woocommerce-widget.php+281
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_shopcode-owl-carousel-woocommerce-widget
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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
These attributes need your attention:
- Stable tag: No value
shopcode-owl-carousel-woocommerce-widget/owl-carousel-woocommerce-widget.php 92% from 13 tests
This is the main PHP file of "ShopCode Owl Carousel WooCommerce Widget" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("shopcode-owl-carousel-woocommerce-widget.php" instead of "owl-carousel-woocommerce-widget.php")
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
There were no executable files found in this plugin3,682 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 2 | 223 | 264 | 643 |
JavaScript | 2 | 42 | 5 | 191 |
CSS | 3 | 33 | 21 | 177 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 34.60 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 9.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 5 | 26.32% |
▷ Public methods | 17 | 89.47% |
▷ Protected methods | 2 | 10.53% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin