Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲5.43MB] [CPU: ▲23.96ms] 75% from 4 tests
Analyzing server-side resources used by Divi Carousel Lite - 17+ Carousel Module
Please have a look at the following items
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.43MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.29 ▲5.82 | 70.02 ▲27.52 |
Dashboard /wp-admin | 9.31 ▲6.00 | 69.50 ▲19.23 |
Posts /wp-admin/edit.php | 9.31 ▲5.95 | 68.86 ▲21.95 |
Add New Post /wp-admin/post-new.php | 9.85 ▲3.96 | 118.14 ▲27.13 |
Media Library /wp-admin/upload.php | 9.31 ▲6.08 | 67.30 ▲36.48 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 9.31 | 56.48 |
Server storage [IO: ▲4.86MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 263 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_active_plugins |
fs_debug_mode |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
fs_gdpr |
can_compress_scripts |
widget_theysaidso_widget |
fs_accounts |
Browser metrics Passed 4 tests
Divi Carousel Lite - 17+ Carousel Module: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲174 | 13.87 ▼0.83 | 9.55 ▲7.82 | 46.67 ▲2.57 |
Dashboard /wp-admin | 2,222 ▲41 | 5.52 ▼0.17 | 83.76 ▼19.47 | 59.84 ▲22.94 |
Posts /wp-admin/edit.php | 2,140 ▲37 | 1.97 ▼0.03 | 39.64 ▼5.95 | 32.18 ▼2.55 |
Add New Post /wp-admin/post-new.php | 1,701 ▲175 | 21.13 ▼2.01 | 784.55 ▲156.22 | 54.23 ▲2.73 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.22 ▼0.01 | 97.28 ▼5.56 | 62.18 ▲16.25 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 1,091 | 1.65 | 28.24 | 33.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/carousels-slider-for-divi/freemius/includes/class-freemius.php+8772
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 10 options in the database
- can_compress_scripts
- fs_accounts
- widget_recent-comments
- widget_recent-posts
- fs_debug_mode
- widget_theysaidso_widget
- fs_active_plugins
- fs_gdpr
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/carousels-slider-for-divi/admin/partials/divicarousel8-admin-display.php
- > /wp-content/plugins/carousels-slider-for-divi/public/partials/divicarousel8-public-display.php
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant DCS_DIVICAROUSEL_PATH - assumed 'DCS_DIVICAROUSEL_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/carousels-slider-for-divi/includes/modules/ImageCarouselItem/ImageCarouselItem.php on line 2
- > PHP Warning
Use of undefined constant DCS_DIVICAROUSEL_PATH - assumed 'DCS_DIVICAROUSEL_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/carousels-slider-for-divi/includes/modules/LogoCarousel/LogoCarousel.php on line 3
- > PHP Warning
Use of undefined constant DCS_DIVICAROUSEL_PATH - assumed 'DCS_DIVICAROUSEL_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/carousels-slider-for-divi/includes/modules/LogoCarousel/LogoCarousel.php on line 2
- > PHP Warning
include_once(): Failed opening 'DCS_DIVICAROUSEL_PATH/includes/modules/base/base.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/carousels-slider-for-divi/includes/modules/LogoCarouselItem/LogoCarouselItem.php on line 2
- > PHP Warning
include_once(DCS_DIVICAROUSEL_PATH/includes/modules/base/base.php): failed to open stream: No such file or directory in wp-content/plugins/carousels-slider-for-divi/includes/modules/ImageCarousel/ImageCarousel.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/carousels-slider-for-divi/includes/modules/LogoCarouselItem/LogoCarouselItem.php:3
- > PHP Warning
include_once(): Failed opening 'DCS_DIVICAROUSEL_PATH/includes/modules/base/base.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/carousels-slider-for-divi/includes/modules/ImageCarousel/ImageCarousel.php on line 2
- > PHP Warning
include_once(DCS_DIVICAROUSEL_PATH/includes/modules/base/utils.php): failed to open stream: No such file or directory in wp-content/plugins/carousels-slider-for-divi/includes/modules/ImageCarousel/ImageCarousel.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/carousels-slider-for-divi/includes/modules/TestimonialCarouselItemDivi8/TestimonialCarouselItemDivi8.php:3
- > PHP Warning
Use of undefined constant DCS_DIVICAROUSEL_PATH - assumed 'DCS_DIVICAROUSEL_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/carousels-slider-for-divi/includes/modules/LogoCarouselItem/LogoCarouselItem.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
8 plugin tags: testimonial carousel, logo carousel, divi builder, divi, divi carousel...
carousels-slider-for-divi/csfd-carousels-slider-for-divi.php 85% from 13 tests
"Divi Carousel Lite - 17+ Carousel Module" version 1.6.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("carousels-slider-for-divi.php" instead of "csfd-carousels-slider-for-divi.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin43,618 lines of code in 191 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 138 | 8,275 | 17,757 | 37,222 |
CSS | 22 | 680 | 215 | 5,485 |
SVG | 18 | 0 | 0 | 422 |
JavaScript | 11 | 53 | 131 | 251 |
JSX | 2 | 37 | 8 | 238 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,089)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 71.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,089.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 63 | |
▷ Abstract classes | 2 | 3.17% |
▷ Concrete classes | 61 | 96.83% |
▷ Final classes | 0 | 0.00% |
Methods | 1,323 | |
▷ Static methods | 201 | 15.19% |
▷ Public methods | 935 | 70.67% |
▷ Protected methods | 17 | 1.28% |
▷ Private methods | 371 | 28.04% |
Functions | 97 | |
▷ Named functions | 97 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 152 | |
▷ Global constants | 105 | 69.08% |
▷ Class constants | 47 | 30.92% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
20 PNG files occupy 0.15MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/team-carousel-icon.png | 5.40KB | 3.62KB | ▼ 32.89% |
admin/img/icon.png | 1.42KB | 1.65KB | 0.00% |
admin/img/facebook-carousel-icon.png | 5.44KB | 3.18KB | ▼ 41.64% |
admin/img/instagram-facebook-icon.png | 5.97KB | 3.34KB | ▼ 44.02% |
admin/img/image-carousel-icon.png | 5.31KB | 3.38KB | ▼ 36.40% |