Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/ellibot-woocommerce-slider/ellibot_engine.php+24
Undefined property: ellibot_woocommerce_slider_engine::$ellibot_e_pro
Server metrics [RAM: ▼1.50MB] [CPU: ▼49.09ms] Passed 4 tests
This is a short check of server-side resources used by Ellibot WooCommerce Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.48 ▼0.98 | 5.88 ▼30.60 |
Dashboard /wp-admin | 2.51 ▼0.80 | 7.31 ▼39.18 |
Posts /wp-admin/edit.php | 2.51 ▼0.85 | 6.85 ▼41.89 |
Add New Post /wp-admin/post-new.php | 2.51 ▼3.38 | 6.19 ▼84.67 |
Media Library /wp-admin/upload.php | 2.51 ▼0.72 | 8.12 ▼25.72 |
Server storage [IO: ▲0.31MB] [DB: ▲0.04MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 23 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_ellibot_woocommerce_slider_settings |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ellibot WooCommerce Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲166 | 13.59 ▼0.99 | 4.59 ▲2.74 | 43.29 ▲1.17 |
Dashboard /wp-admin | 2,225 ▲33 | 4.92 ▼0.03 | 114.18 ▲3.95 | 41.22 ▼3.26 |
Posts /wp-admin/edit.php | 2,111 ▲19 | 2.08 ▲0.06 | 37.73 ▼15.98 | 31.61 ▼12.57 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 23.41 ▲5.61 | 659.40 ▲10.64 | 52.36 ▼0.24 |
Media Library /wp-admin/upload.php | 1,407 ▲25 | 4.33 ▲0.06 | 113.05 ▲11.74 | 49.63 ▲4.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/ellibot-woocommerce-slider/ellibot_engine.php+24
Undefined property: ellibot_woocommerce_slider_engine::$ellibot_e_pro
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ellibot-woocommerce-slider/ellibot_index.php 85% from 13 tests
The main PHP file in "Ellibot WooCommerce Slider" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ellibot-woocommerce-slider.php" instead of "ellibot_index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin4,313 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 467 | 226 | 2,136 |
JavaScript | 4 | 519 | 978 | 1,377 |
CSS | 2 | 47 | 29 | 459 |
PO File | 1 | 225 | 384 | 261 |
Markdown | 1 | 20 | 0 | 71 |
JSON | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
gfx/ellibot-slider-arrow-right.png | 9.37KB | 3.83KB | ▼ 59.13% |
gfx/ellibot-slider-arrow-up.png | 9.63KB | 4.45KB | ▼ 53.75% |
gfx/ellibot-slider-arrow-left.png | 9.75KB | 3.83KB | ▼ 60.73% |
gfx/ellibot-slider-arrow-down.png | 8.96KB | 4.53KB | ▼ 49.42% |