Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.26ms] Passed 4 tests
Server-side resources used by C4D Woo Category Carousel
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.11 ▼3.65 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.65 ▼10.91 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.88 ▼2.28 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.92 ▲0.49 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.60 ▼0.21 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for C4D Woo Category Carousel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲182 | 13.57 ▼0.82 | 8.95 ▲7.17 | 42.51 ▼8.26 |
Dashboard /wp-admin | 2,209 ▲54 | 6.01 ▲0.39 | 101.58 ▲0.01 | 40.71 ▼2.51 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.02 | 40.46 ▲0.97 | 36.49 ▲3.91 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.34 ▼0.05 | 664.14 ▼23.45 | 53.26 ▼2.73 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.18 ▼0.02 | 92.69 ▼6.18 | 45.97 ▲0.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/c4d-woo-category-carousel/c4d-woo-category-carousel.php:12
- > PHP Notice
Undefined variable: params in wp-content/plugins/c4d-woo-category-carousel/templates/default.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/c4d-woo-category-carousel/templates/default.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
c4d-woo-category-carousel/c4d-woo-category-carousel.php 92% from 13 tests
The main PHP file in "C4D Woo Category Carousel" ver. 2.0.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin1,790 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 214 | 22 | 1,324 |
CSS | 4 | 18 | 28 | 268 |
PHP | 2 | 14 | 10 | 96 |
Sass | 1 | 0 | 0 | 79 |
JSON | 1 | 0 | 0 | 23 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/owl-carousel/grabbing.png | 0.11KB | 0.14KB | 0.00% |