Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.27ms] Passed 4 tests
This is a short check of server-side resources used by Product Category Slider for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.81 ▼6.85 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.71 ▼0.36 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 50.98 ▲4.28 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.28 ▲0.14 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.20 ▲2.00 |
Server storage [IO: ▲2.36MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 54 new files
Database: no new tables, 8 new options
New WordPress options |
---|
woocs_version |
woocs_install_date |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Product Category Slider for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲38 | 13.26 ▼1.14 | 4.48 ▲2.40 | 37.40 ▼5.55 |
Dashboard /wp-admin | 2,218 ▲39 | 4.85 ▼1.01 | 107.93 ▼5.62 | 43.69 ▲2.71 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 1.98 ▼0.03 | 39.50 ▲3.80 | 35.53 ▲4.53 |
Add New Post /wp-admin/post-new.php | 1,551 ▲8 | 18.25 ▲0.02 | 622.85 ▲5.47 | 51.40 ▼9.36 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.30 ▼0.01 | 94.96 ▼3.13 | 42.91 ▼0.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- woocs_version
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- woocs_install_date
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/woo-category-slider-by-pluginever/src/fonts.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please add descriptions for these screenshots #1, #10, #11, #12, #13, #14, #15, #16, #2, #3, #4, #5, #6, #7, #8, #9 in woo-category-slider-by-pluginever/assets to your readme.txt
woo-category-slider-by-pluginever/woo-category-slider-by-pluginever.php Passed 13 tests
The entry point to "Product Category Slider for WooCommerce" version 4.1.6 is a PHP file that has certain tags in its header comment area
113 characters long description:
Showcase product categories in the most appealing way. Create an instant impression & trigger purchase intention.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin41,519 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 631 | 1,338 | 22,485 |
JSON | 1 | 0 | 0 | 19,023 |
JavaScript | 7 | 0 | 0 | 7 |
CSS | 5 | 1 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 31.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 138 | |
▷ Static methods | 12 | 8.70% |
▷ Public methods | 132 | 95.65% |
▷ Protected methods | 6 | 4.35% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
2 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/dist/images/owl.video.play.7f01b071.png | 4.86KB | 2.74KB | ▼ 43.61% |
assets/dist/images/placeholder.png | 11.31KB | 11.42KB | 0.00% |