72% carousel

Code Review | Carousel Ultimate

WordPress plugin Carousel Ultimate scored72%from 54 tests.

About plugin

  • Plugin page: carousel
  • Plugin version: 1.8
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.9.1
  • WordPress version: 6.3.1
  • First release: Mar 14, 2015
  • Latest release: Jan 3, 2018
  • Number of updates: 52
  • Update frequency: every 19.8 days
  • Top authors: themepoints (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

1,000+ active /53,125 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.30MB] [CPU: ▼3.90ms] Passed 4 tests

An overview of server-side resources used by Carousel Ultimate
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.78 ▲0.3139.64 ▼4.36
Dashboard /wp-admin3.61 ▲0.2649.55 ▼12.83
Posts /wp-admin/edit.php3.73 ▲0.3757.37 ▲8.67
Add New Post /wp-admin/post-new.php6.22 ▲0.33108.57 ▲3.43
Media Library /wp-admin/upload.php3.53 ▲0.3036.56 ▼1.84
Carousel Categories /wp-admin/edit-tags.php?taxonomy=tpmfcarouselcat&post_type=tpmfcarousel3.5339.46
Generate Shortcode /wp-admin/post-new.php?post_type=carousel_shortcode3.5849.87
All Carousels /wp-admin/edit.php?post_type=tpmfcarousel3.5438.17
Add New Image /wp-admin/post-new.php?post_type=tpmfcarousel3.6358.89
All Shortcodes /wp-admin/edit.php?post_type=carousel_shortcode3.5842.60

Server storage [IO: ▲1.41MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

Carousel Ultimate: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,047 ▲26113.83 ▼0.746.31 ▲4.5236.11 ▼5.15
Dashboard /wp-admin2,277 ▲1064.95 ▼0.5894.73 ▲2.3939.36 ▼1.22
Posts /wp-admin/edit.php2,169 ▲722.54 ▲0.5344.88 ▲3.8735.26 ▼2.69
Add New Post /wp-admin/post-new.php1,601 ▲7523.48 ▲0.61636.43 ▼1.9835.38 ▼16.62
Media Library /wp-admin/upload.php1,483 ▲864.50 ▲0.2792.61 ▼8.8143.87 ▲0.76
Carousel Categories /wp-admin/edit-tags.php?taxonomy=tpmfcarouselcat&post_type=tpmfcarousel1,3642.2330.9531.63
Generate Shortcode /wp-admin/post-new.php?post_type=carousel_shortcode4,2404.2997.4139.28
All Carousels /wp-admin/edit.php?post_type=tpmfcarousel1,1582.4034.5229.47
Add New Image /wp-admin/post-new.php?post_type=tpmfcarousel1,8894.0467.9236.25
All Shortcodes /wp-admin/edit.php?post_type=carousel_shortcode1,1622.3534.5530.07

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
    • > GET request to /wp-admin/edit.php?post_type=tpmfcarousel
    • > Notice in wp-content/plugins/carousel/lib/post-type/caropro-slider-post-type.php+72
    Undefined index: order

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
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/carousel/lib/core/caropro-slider-post-core.php:85

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=carousel_shortcode
    • > Javascript (severe) in unknown
    /wp-content/plugins/carousel/assets/js/wp-color-picker-alpha.js?ver=6.3.1 23:16 Uncaught ReferenceError: wpColorPickerL10n is not defined

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: client carousel, carousel, image carousel, wordpress carousel, carousel shortcode...

carousel/carousel-shortcodes.php 92% from 13 tests

The main file in "Carousel Ultimate" v. 1.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("carousel.php" instead of "carousel-shortcodes.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin11,596 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript61,0129953,676
CSS6563453,442
SVG1002,671
PHP102731111,807

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions21
▷ Named functions21100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin