62% continuous-image-carousel-with-lightbox

Code Review | Continuous Image Carousel With Lightbox

WordPress plugin Continuous Image Carousel With Lightbox scored62%from 54 tests.

About plugin

  • Plugin page: continuous-image-...
  • Plugin version: 1.0.18
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.3
  • WordPress version: 6.3.1
  • First release: Jan 25, 2015
  • Latest release: Aug 30, 2023
  • Number of updates: 50
  • Update frequency: every 62.9 days
  • Top authors: nik00726 (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

2,000+ active /37,954 total downloads


Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.36MB] [CPU: ▼4.01ms] Passed 4 tests

An overview of server-side resources used by Continuous Image Carousel With Lightbox
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.82 ▲0.3539.88 ▲1.21
Dashboard /wp-admin3.66 ▲0.3643.96 ▼6.97
Posts /wp-admin/edit.php3.78 ▲0.4252.73 ▲2.63
Add New Post /wp-admin/post-new.php6.24 ▲0.3685.39 ▼8.57
Media Library /wp-admin/upload.php3.58 ▲0.3534.10 ▼1.72
Manage Images /wp-admin/admin.php?page=continuous_thumbnail_slider_with_lightbox_image_management3.5841.40
Slider Settings /wp-admin/admin.php?page=continuous_thumbnail_slider_with_lightbox3.5837.78
Preview Slider /wp-admin/admin.php?page=continuous_thumbnail_slider_with_lightbox_preview3.5534.86

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 35 new files
Database: 1 new table, 8 new options
New tables
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Continuous Image Carousel With Lightbox
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲8513.58 ▼0.611.73 ▼0.0443.58 ▲0.01
Dashboard /wp-admin2,231 ▲495.83 ▲0.01106.31 ▲3.0936.32 ▼7.99
Posts /wp-admin/edit.php2,120 ▲341.97 ▼0.0939.89 ▲0.4235.25 ▲0.21
Add New Post /wp-admin/post-new.php1,571 ▲5123.45 ▲0.27649.34 ▼23.1050.97 ▼8.71
Media Library /wp-admin/upload.php1,419 ▲314.23 ▲0.0797.59 ▼13.9542.82 ▼3.94
Manage Images /wp-admin/admin.php?page=continuous_thumbnail_slider_with_lightbox_image_management1,3474.4488.5376.23
Slider Settings /wp-admin/admin.php?page=continuous_thumbnail_slider_with_lightbox1,6134.98107.7172.62
Preview Slider /wp-admin/admin.php?page=continuous_thumbnail_slider_with_lightbox_preview1,1343.5951.0226.72

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
These items require your attention
  • Zombie tables were found after uninstall: 1 table
    • wp_continuous_image_carousel
  • Zombie WordPress options were found after uninstall: 8 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • continuous_thumbnail_slider_plus_lightbox_messages
    • widget_theysaidso_widget
    • continuous_thumbnail_slider_plus_lightbox_settings

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/admin.php?page=continuous_thumbnail_slider_with_lightbox_preview
    • > Notice in wp-content/plugins/continuous-image-carousel-with-lightbox/continuous-image-carousel-with-lightbox.php+1947
    Undefined index: lightbox

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/continuous-image-carousel-with-lightbox/continuous-image-carousel-with-lightbox.php:13

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
    • > GET request to /wp-admin/admin.php?page=continuous_thumbnail_slider_with_lightbox_preview
    • > Console-api (warning) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'left')" "TypeError: Cannot read properties of undefined (reading 'left')\n at tickerLoop (/wp-content/plugins/continuous-image-carousel-with-lightbox/js/images-continuous-thumbnail-slider-plus-lightbox-jc.js?ver=6.3.1:1086:75)\n at initTicker (/wp-content/plugins/continuous-image-carousel-with-lightbox/js/images-continuous-thumbnail-slider-plus-lightbox-jc.js?ver=6.3.1:1067:7)\n at start (/wp-content/plugins/continuous-image-carousel-with-lightbox/js/images-continuous-thumbnail-slider-plus-lightbox-jc.js?ver=6.3.1:398:37)\n at loadElements (/wp-content/plugins/continuous-image-carousel-with-lightbox/js/images-continuous-thumbnail-slider-plus-lightbox-jc.js?ver=6.3.1:352:9)\n at setup (/wp-content/plugins/continuous-image-carousel-with-lightbox/js/images-continuous-thumbnail-slider-plus-lightbox-jc.js?ver=6.3.1:345:7)\n at init (/wp-content/plugins/continuous-image-carousel-with-lightbox/js/images-continuous-thumbnail-slider-plus-lightbox-jc.js?ver=6.3.1:252:7)\n at $.fn.bxSlider (/wp-content/plugins/continuous-image-carousel-with-lightbox/js/images-continuous-thumbnail-slider-plus-lightbox-jc.js?ver=6.3.1:1704:5)\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=continuous_thumbnail_slider_with_lightbox_preview:187:81)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
    • > GET request to /wp-admin/admin.php?page=continuous_thumbnail_slider_with_lightbox_preview
    • > Javascript (severe) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'left')


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Screenshots: These screenshots do not have images: #10 (Pro version add/edit image.), #11 (Pro version add featured image to slider.)
Please take inspiration from this readme.txt

continuous-image-carousel-with-lightbox/continuous-image-carousel-with-lightbox.php 92% from 13 tests

Analyzing the main PHP file in "Continuous Image Carousel With Lightbox" version 1.0.18
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 165 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin5,445 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.24
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions2095.24%
▷ Anonymous functions14.76%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
16 PNG files occupy 0.15MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/asc.png0.14KB0.12KB▼ 13.79%
images/300x250-wp-eng.png34.77KB13.75KB▼ 60.46%
images/g-suite-promo-code-4.png59.03KB17.19KB▼ 70.88%