Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼0.38ms] Passed 4 tests
Server-side resources used by Carousel Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 39.52 ▲4.32 |
Dashboard /wp-admin | 3.50 ▲0.20 | 47.90 ▼5.46 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 52.44 ▲8.71 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 88.42 ▼5.12 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 36.65 ▲4.76 |
Settings /wp-admin/edit.php?post_type=carousels&page=settings | 3.51 | 39.02 |
All Sliders /wp-admin/edit.php?post_type=carousels | 3.47 | 35.82 |
Documentation /wp-admin/edit.php?post_type=carousels&page=carousel-slider-documentation | 3.42 | 32.77 |
Add New /wp-admin/post-new.php?post_type=carousels | 3.48 | 63.62 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 132 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_widget_carousel_slider |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics 75% from 4 tests
An overview of browser requirements for Carousel Slider
Having an awesome user experience is important, so please improve the following
- Script duration: Try to keep JavaScript execution under 1,500.00ms (currently 1,939.93ms on /wp-admin/edit.php?post_type=carousels&page=carousel-slider-documentation)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲211 | 14.36 ▼0.01 | 1.69 ▼0.01 | 44.83 ▲1.77 |
Dashboard /wp-admin | 2,381 ▲201 | 5.69 ▲0.14 | 90.06 ▼14.71 | 41.44 ▼3.22 |
Posts /wp-admin/edit.php | 2,287 ▲187 | 2.17 ▲0.17 | 42.85 ▲4.88 | 36.20 ▲1.95 |
Add New Post /wp-admin/post-new.php | 6,338 ▲4,812 | 18.90 ▼4.25 | 961.25 ▲284.03 | 52.02 ▼7.34 |
Media Library /wp-admin/upload.php | 1,586 ▲192 | 4.31 ▲0.10 | 102.98 ▲4.21 | 46.26 ▲4.81 |
Settings /wp-admin/edit.php?post_type=carousels&page=settings | 1,271 | 3.82 | 59.81 | 29.00 |
All Sliders /wp-admin/edit.php?post_type=carousels | 1,239 | 1.99 | 35.39 | 31.68 |
Documentation /wp-admin/edit.php?post_type=carousels&page=carousel-slider-documentation | 6,125 | 74.22 | 1,939.93 | 76.46 |
Add New /wp-admin/post-new.php?post_type=carousels | 1,843 | 4.28 | 105.62 | 57.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_widget_carousel_slider
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 fix the following items
- 29× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CarouselSlider\\REST\\ApiController' not found in wp-content/plugins/carousel-slider/modules/HeroCarousel/Controller.php:16
- > PHP Fatal error
Uncaught Error: Class 'CarouselSlider\\Supports\\FormFields\\BaseField' not found in wp-content/plugins/carousel-slider/includes/Supports/FormFields/Select.php:10
- > PHP Fatal error
Uncaught Error: Class 'CarouselSlider\\Supports\\FormFields\\BaseField' not found in wp-content/plugins/carousel-slider/includes/Supports/FormFields/Color.php:8
- > PHP Fatal error
Uncaught Error: Class 'CarouselSlider\\Supports\\FormFields\\BaseField' not found in wp-content/plugins/carousel-slider/includes/Supports/FormFields/ImagesGallery.php:8
- > PHP Fatal error
Uncaught Error: Interface 'CarouselSlider\\Interfaces\\TemplateParserInterface' not found in wp-content/plugins/carousel-slider/includes/TemplateParserBase.php:12
- > PHP Fatal error
Uncaught Error: Class 'CarouselSlider\\Supports\\FormFields\\BaseField' not found in wp-content/plugins/carousel-slider/includes/Supports/FormFields/ImageUploader.php:10
- > PHP Fatal error
Uncaught Error: Class 'CarouselSlider\\Supports\\FormFields\\BaseField' not found in wp-content/plugins/carousel-slider/includes/Supports/FormFields/Breakpoint.php:8
- > PHP Fatal error
Uncaught Error: Class 'CarouselSlider\\Supports\\FormFields\\Select' not found in wp-content/plugins/carousel-slider/includes/Supports/FormFields/SelectTerms.php:8
- > PHP Fatal error
Uncaught Error: Class 'CarouselSlider\\Supports\\FormFields\\BaseField' not found in wp-content/plugins/carousel-slider/includes/Supports/FormFields/Html.php:8
- > PHP Fatal error
Uncaught Error: Class 'CarouselSlider\\Supports\\FormFields\\BaseField' not found in wp-content/plugins/carousel-slider/includes/Supports/FormFields/Radio.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: slider, image carousel, carousel slider, woocommerce, product carousel...
carousel-slider/carousel-slider.php 92% from 13 tests
Analyzing the main PHP file in "Carousel Slider" version 2.2.5
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 331 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected10,717 lines of code in 127 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 111 | 2,061 | 5,163 | 10,598 |
SVG | 2 | 0 | 0 | 105 |
JavaScript | 8 | 0 | 2 | 8 |
CSS | 6 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 20 | |
Interfaces | 5 | |
Traits | 1 | |
Classes | 96 | |
▷ Abstract classes | 3 | 3.12% |
▷ Concrete classes | 93 | 96.88% |
▷ Final classes | 1 | 1.08% |
Methods | 655 | |
▷ Static methods | 189 | 28.85% |
▷ Public methods | 575 | 87.79% |
▷ Protected methods | 34 | 5.19% |
▷ Private methods | 46 | 7.02% |
Functions | 10 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 10 | 100.00% |
Constants | 14 | |
▷ Global constants | 8 | 57.14% |
▷ Class constants | 6 | 42.86% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin