Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲1.57MB] [CPU: ▲7.20ms] Passed 4 tests
Server-side resources used by Carousel, Slider, Gallery by WP Carousel - Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.02 ▲1.56 | 48.57 ▲5.72 |
Dashboard /wp-admin | 4.91 ▲1.61 | 57.95 ▲7.99 |
Posts /wp-admin/edit.php | 4.96 ▲1.60 | 59.68 ▲14.75 |
Add New Post /wp-admin/post-new.php | 7.46 ▲1.58 | 96.50 ▲0.32 |
Media Library /wp-admin/upload.php | 4.77 ▲1.54 | 49.45 ▲15.30 |
Add New /wp-admin/post-new.php?post_type=sp_wp_carousel | 4.94 | 75.90 |
All Carousels /wp-admin/edit.php?post_type=sp_wp_carousel | 4.93 | 58.32 |
Settings /wp-admin/edit.php?post_type=sp_wp_carousel&page=wpcp_settings | 4.78 | 46.02 |
Tools /wp-admin/edit.php?post_type=sp_wp_carousel&page=wpcf_tools | 4.78 | 52.12 |
Help /wp-admin/edit.php?post_type=sp_wp_carousel&page=wpcf_help | 4.78 | 51.73 |
Server storage [IO: ▲2.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 177 new files
Database: no new tables, 8 new options
New WordPress options |
---|
sp_wpcp_settings |
theysaidso_admin_options |
widget_recent-comments |
sp_wp_carousel_free_review_notice_dismiss |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Carousel, Slider, Gallery by WP Carousel - Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲153 | 14.33 ▼0.02 | 1.75 ▼0.03 | 27.39 ▼20.17 |
Dashboard /wp-admin | 2,317 ▲143 | 5.66 ▲0.09 | 85.04 ▼12.54 | 41.89 ▲1.36 |
Posts /wp-admin/edit.php | 2,229 ▲129 | 2.06 ▲0.04 | 41.39 ▲3.15 | 36.71 ▲0.47 |
Add New Post /wp-admin/post-new.php | 6,249 ▲4,723 | 19.04 ▼4.29 | 828.09 ▲162.66 | 34.64 ▼16.06 |
Media Library /wp-admin/upload.php | 1,528 ▲128 | 4.33 ▲0.17 | 98.80 ▼0.15 | 45.04 ▲1.01 |
Add New /wp-admin/post-new.php?post_type=sp_wp_carousel | 7,752 | 5.88 | 248.47 | 218.20 |
All Carousels /wp-admin/edit.php?post_type=sp_wp_carousel | 1,450 | 4.19 | 69.41 | 32.15 |
Settings /wp-admin/edit.php?post_type=sp_wp_carousel&page=wpcp_settings | 1,602 | 4.07 | 66.66 | 39.54 |
Tools /wp-admin/edit.php?post_type=sp_wp_carousel&page=wpcf_tools | 1,269 | 4.24 | 71.82 | 92.51 |
Help /wp-admin/edit.php?post_type=sp_wp_carousel&page=wpcf_help | 2,089 | 10.83 | 330.93 | 151.90 |
Uninstaller [IO: ▲2.32MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attentionThis plugin did not uninstall successfully, leaving 9 options in the database
- Uninstall procedure had uncaught errors
- > Compile error in wp-content/plugins/wp-carousel-free/wp-carousel-free.php+335
Cannot redeclare sp_wpcf() (previously declared in wp-content/plugins/wp-carousel-free/wp-carousel-free.php:336)
- The plugin did not uninstall correctly, leaving 177 files (2.32MB) in the plugin directory
- (new file) admin/ElementAddons/Wp_Carousel_Shortcode_Widget.php
- (new file) admin/css/fontello.css
- (new file) admin/class-wp-carousel-free-elementor-block.php
- (new file) admin/class-wp-carousel-free-admin.php
- (new file) admin/GutenbergBlock/build/index.asset.php
- (new file) admin/GutenbergBlock/assets/wp-carousel-icon.svg
- (new file) admin/GutenbergBlock/assets/wpc-block-preview.svg
- (new file) admin/class-wp-carousel-free-gutenberg-block.php
- (new file) admin/GutenbergBlock/build/index.js
- (new file) admin/GutenbergBlock/class-wp-carousel-free-gutenberg-block-init.php
- ...
- recovery_mode_email_last_sent
- widget_recent-posts
- sp_wp_carousel_free_review_notice_dismiss
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- sp_wpcp_settings
- widget_recent-comments
- can_compress_scripts
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 49× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/wp-carousel-free/public/dynamic-style.php on line 69
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/wp-carousel-free/public/templates/section-title.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-carousel-free/public/shortcode-deprecated.php:207
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/wp-carousel-free/public/dynamic-style.php on line 49
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-carousel-free/admin/views/notices/class-wp-carousel-free-promotion.php:24
- > PHP Notice
Undefined variable: product in wp-content/plugins/wp-carousel-free/public/templates/loop/product-type/price.php on line 12
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/wp-carousel-free/public/dynamic-style.php on line 168
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/wp-carousel-free/includes/updates/update-2.4.7.php:15
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/wp-carousel-free/public/dynamic-style.php on line 62
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/wp-carousel-free/public/dynamic-style.php on line 86
- > PHP Notice
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 90% 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
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 41 tag instead of maximum 10
wp-carousel-free/wp-carousel-free.php 85% from 13 tests
The primary PHP file in "Carousel, Slider, Gallery by WP Carousel - Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce" version 2.5.10 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 207 characters long)
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "4.0")
Code Analysis Passed 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 plugin19,430 lines of code in 156 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 87 | 1,656 | 3,368 | 8,164 |
CSS | 15 | 754 | 585 | 4,547 |
JavaScript | 17 | 957 | 349 | 3,609 |
SVG | 37 | 0 | 14 | 3,110 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 24.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 154.00 |
Average method complexity | 6.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 96.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 51 | |
▷ Abstract classes | 2 | 3.92% |
▷ Concrete classes | 49 | 96.08% |
▷ Final classes | 0 | 0.00% |
Methods | 211 | |
▷ Static methods | 37 | 17.54% |
▷ Public methods | 200 | 94.79% |
▷ Protected methods | 2 | 0.95% |
▷ Private methods | 9 | 4.27% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 compressed PNG files occupy 0.02MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/views/sp-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
admin/img/wpcp-icon-256.png | 5.64KB | 5.62KB | 0.33% |
admin/img/images/Joyce-van-den-Berg.png | 10.73KB | 10.72KB | 0.04% |