Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.90MB] [CPU: ▼33.83ms] Passed 4 tests
A check of server-side resources used by As woocomerce with owl carousel
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.55 ▼4.02 |
Dashboard /wp-admin | 3.04 ▼0.26 | 25.20 ▼27.03 |
Posts /wp-admin/edit.php | 3.04 ▼0.31 | 27.73 ▼25.52 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.85 | 26.86 ▼71.98 |
Media Library /wp-admin/upload.php | 3.04 ▼0.19 | 26.00 ▼10.77 |
As Short code /wp-admin/admin.php?page=as_options | 3.04 | 28.17 |
As option /wp-admin/admin.php?page=as_woo_options | 3.04 | 26.20 |
Server storage [IO: ▲0.45MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 84 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
as_woo_owl_all_opt_save |
as_woo_owl_all_settings_save |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by As woocomerce with owl carousel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,091 ▲330 | 15.28 ▲0.88 | 6.22 ▲4.30 | 42.50 ▼0.96 |
Dashboard /wp-admin | 2,380 ▲200 | 6.38 ▲0.70 | 115.95 ▲16.18 | 40.91 ▼4.14 |
Posts /wp-admin/edit.php | 2,311 ▲214 | 3.57 ▲1.60 | 58.24 ▲22.41 | 36.49 ▲3.58 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 23.43 ▲5.96 | 598.12 ▼98.95 | 34.18 ▼23.95 |
Media Library /wp-admin/upload.php | 1,445 ▲42 | 4.35 ▲0.21 | 86.22 ▼26.61 | 45.15 ▼1.87 |
As Short code /wp-admin/admin.php?page=as_options | 2,364 | 3.61 | 54.71 | 138.55 |
As option /wp-admin/admin.php?page=as_woo_options | 1,582 | 3.66 | 76.68 | 91.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/functions.php+837
Illegal string offset 'as_woo_checkbox'
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- db_upgraded
- as_woo_owl_all_opt_save
- widget_theysaidso_widget
- widget_recent-comments
- as_woo_owl_all_settings_save
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_woo_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_setting.php+77
Illegal string offset 'as_woo_checkbox'
- 105 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_woo_options
- > Notice in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_setting.php+84
Uninitialized string offset: 0
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+51
Illegal string offset 'carousel_name'
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+62
Illegal string offset 'as_woo_owl_product_type'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+67
Illegal string offset 'as_woo_owl_product_category'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+81
Illegal string offset 'items'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+87
Illegal string offset 'itemsDesktop'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+89
Illegal string offset 'itemsDesktop_two'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+95
Illegal string offset 'itemsDesktopSmall_one'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+97
Illegal string offset 'itemsDesktopSmall_two'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+104
Illegal string offset 'itemsTablet_one'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+105
Illegal string offset 'itemsTablet_two'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+114
Illegal string offset 'itemsTabletSmall'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+122
Illegal string offset 'itemsMobile_one'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+123
Illegal string offset 'itemsMobile_two'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+134
Illegal string offset 'singleItem'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+145
Illegal string offset 'itemsScaleUp'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+153
Illegal string offset 'slideSpeed'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+160
Illegal string offset 'paginationSpeed'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+166
Illegal string offset 'rewindSpeed'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+175
Illegal string offset 'autoPlay'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+185
Illegal string offset 'stopOnHover'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+195
Illegal string offset 'navigation'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+204
Illegal string offset 'navigationText_one'
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+206
Illegal string offset 'navigationText_two'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+215
Illegal string offset 'rewindNav'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+225
Illegal string offset 'scrollPerPage'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+235
Illegal string offset 'pagination'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+245
Illegal string offset 'paginationNumbers'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+256
Illegal string offset 'responsive'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+266
Illegal string offset 'lazyLoad'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+276
Illegal string offset 'lazyFollow'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+286
Illegal string offset 'lazyEffect'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+296
Illegal string offset 'mouseDrag'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+306
Illegal string offset 'touchDrag'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+316
Illegal string offset 'afterLazyLoad'
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+326
Illegal string offset 'as_woo_owl_add_to_cart'
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+371
Illegal string offset 'as_button'
- 13 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=as_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php+409
Illegal string offset 'as_select_icon'
- > GET request to /wp-admin/admin.php?page=as_woo_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_setting.php+38
Illegal string offset 'loader_gif'
- > GET request to /wp-admin/admin.php?page=as_woo_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_setting.php+44
Illegal string offset 'as_atc_loader_gif'
- > GET request to /wp-admin/admin.php?page=as_woo_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_setting.php+71
Illegal string offset 'as_woo_width'
- > GET request to /wp-admin/admin.php?page=as_woo_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_setting.php+73
Illegal string offset 'as_woo_height'
- > GET request to /wp-admin/admin.php?page=as_woo_options
- > Warning in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_setting.php+84
Illegal string offset 'as_woo_d_limit'
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
Please fix the following
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/functions.php:376
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/anu_ads.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/as-woocommerce-with-owl-carousel/as-owl-carousel.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_option.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_shortcode.php:295
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_opt_interface.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/as-woocommerce-with-owl-carousel/inc/as_woo_owl_opt/as_woo_owl_setting.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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
These attributes 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
as-woocommerce-with-owl-carousel/as-owl-carousel.php 92% from 13 tests
Analyzing the main PHP file in "As woocomerce with owl carousel" version 1.4
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("as-woocommerce-with-owl-carousel.php" instead of "as-owl-carousel.php")
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
No dangerous file extensions were detected3,439 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 245 | 21 | 1,582 |
PHP | 7 | 336 | 33 | 1,538 |
CSS | 5 | 18 | 29 | 319 |
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.43 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
64 PNG files occupy 0.20MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ico/right7.png | 0.53KB | 0.61KB | 0.00% |
ico/left14.png | 0.62KB | 0.63KB | 0.00% |
ico/left3.png | 0.46KB | 0.45KB | ▼ 2.75% |
inc/img/fiverr.png | 27.87KB | 5.27KB | ▼ 81.10% |
inc/img/github.png | 16.12KB | 2.46KB | ▼ 84.75% |