Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲5.08MB] [CPU: ▲27.38ms] 75% from 4 tests
An overview of server-side resources used by Product Carousel For WooCommerce - WoorouSell
The following require your attention
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.08MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.88 ▲5.41 | 74.00 ▲32.06 |
Dashboard /wp-admin | 8.90 ▲5.55 | 88.11 ▲26.11 |
Posts /wp-admin/edit.php | 8.90 ▲5.54 | 82.15 ▲32.68 |
Add New Post /wp-admin/post-new.php | 9.69 ▲3.79 | 114.18 ▲18.66 |
Media Library /wp-admin/upload.php | 8.90 ▲5.67 | 74.81 ▲38.27 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.90 | 67.26 |
Server storage [IO: ▲5.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 239 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_debug_mode |
fs_accounts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
fs_active_plugins |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Product Carousel For WooCommerce - WoorouSell
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,175 ▲414 | 14.76 ▲0.40 | 1.63 ▼0.03 | 35.39 ▼9.08 |
Dashboard /wp-admin | 2,577 ▲397 | 6.45 ▲0.87 | 119.71 ▲16.91 | 42.73 ▼0.74 |
Posts /wp-admin/edit.php | 2,481 ▲381 | 3.26 ▲1.31 | 49.70 ▲13.75 | 31.45 ▼2.76 |
Add New Post /wp-admin/post-new.php | 1,627 ▲99 | 24.33 ▲1.27 | 586.07 ▼85.57 | 31.63 ▼17.56 |
Media Library /wp-admin/upload.php | 1,750 ▲350 | 4.35 ▲0.21 | 97.91 ▼13.04 | 51.42 ▲4.32 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,445 | 3.34 | 46.56 | 26.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/woorousell/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-comments
- fs_accounts
- fs_active_plugins
- theysaidso_admin_options
- fs_debug_mode
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Please take a closer look at the following
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wrsl() in wp-content/plugins/woorousell/builder/builder/controller.php:67
- > PHP Warning
require_once(WRSL_PATH/freemius/start.php): failed to open stream: No such file or directory in wp-content/plugins/woorousell/includes/freemius.php on line 21
- > PHP Warning
Use of undefined constant WRSL_PATH - assumed 'WRSL_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/woorousell/includes/freemius.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function wrsl() in wp-content/plugins/woorousell/includes/help/free_version.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woorousell/includes/help.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woorousell/builder/settings-page/views/form.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function wrsl() in wp-content/plugins/woorousell/builder/settings-page/controller.php:68
- > PHP Fatal error
require_once(): Failed opening required 'WRSL_PATH/freemius/start.php' (include_path='.:/usr/share/php') in wp-content/plugins/woorousell/includes/freemius.php on line 21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: woocommerce, ecommerce, autoplay, shortcode, woocommerce slider...
woorousell/functions.php 85% from 13 tests
The principal PHP file in "Product Carousel For WooCommerce - WoorouSell" v. 1.1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woorousell.php" instead of "functions.php")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("/langCopyright 2012 - 2019 Smashing Advantage Enterprise.")
Code Analysis 97% from 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 plugin46,855 lines of code in 173 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 137 | 8,598 | 18,238 | 36,376 |
CSS | 21 | 140 | 52 | 4,168 |
JavaScript | 12 | 768 | 812 | 3,325 |
SVG | 1 | 0 | 0 | 2,671 |
PO File | 1 | 137 | 236 | 293 |
JSON | 1 | 0 | 0 | 22 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 82.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 2 | 3.45% |
▷ Concrete classes | 56 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 1,341 | |
▷ Static methods | 200 | 14.91% |
▷ Public methods | 952 | 70.99% |
▷ Protected methods | 17 | 1.27% |
▷ Private methods | 372 | 27.74% |
Functions | 115 | |
▷ Named functions | 115 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 150 | |
▷ Global constants | 103 | 68.67% |
▷ Class constants | 47 | 31.33% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/star.png | 1.14KB | 1.47KB | 0.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/img/logo.png | 12.80KB | 4.82KB | ▼ 62.37% |