83% jquery-slider-carsousel

Code Review | jQuery Slider Carsousel

WordPress plugin jQuery Slider Carsousel scored83%from 54 tests.

About plugin

  • Plugin page: jquery-slider-car...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.9.2-3.6
  • WordPress version: 6.3.1
  • First release: Oct 4, 2013
  • Latest release: Oct 24, 2013
  • Number of updates: 15
  • Update frequency: every 1.3 days
  • Top authors: Indrajeetpal (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active /7,982 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
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼6.36ms] Passed 4 tests

Analyzing server-side resources used by jQuery Slider Carsousel
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.64 ▼3.24
Dashboard /wp-admin3.34 ▼0.0147.62 ▼16.99
Posts /wp-admin/edit.php3.39 ▲0.0352.89 ▲2.09
Add New Post /wp-admin/post-new.php5.92 ▲0.0387.19 ▼7.31
Media Library /wp-admin/upload.php3.26 ▲0.0340.28 ▲3.18
jQuery Slider Carousel /wp-admin/options-general.php?page=jquery-slider-menu3.2333.76

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for jQuery Slider Carsousel
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,929 ▲16813.62 ▼0.696.25 ▲3.9939.59 ▼1.44
Dashboard /wp-admin2,228 ▲225.86 ▲0.9498.00 ▼8.1536.75 ▼3.75
Posts /wp-admin/edit.php2,107 ▲102.04 ▲0.0338.26 ▲0.7937.68 ▲0.28
Add New Post /wp-admin/post-new.php1,534 ▲323.08 ▼0.22636.46 ▼1.9557.60 ▲9.42
Media Library /wp-admin/upload.php1,407 ▲104.20 ▲0.06101.88 ▼27.5044.93 ▼5.64
jQuery Slider Carousel /wp-admin/options-general.php?page=jquery-slider-menu9682.0525.9030.80

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jquery-slider-carsousel/jquery-slider-carousel.php:25

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Tags: There are too many tags (11 tag instead of maximum 10)
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Screenshot 1), #2 (Screenshot 2), #3 (Screenshot 3), #4 (Screenshot 4)
You can look at the official readme.txt

jquery-slider-carsousel/jquery-slider-carousel.php 85% from 13 tests

This is the main PHP file of "jQuery Slider Carsousel" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 171 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("jquery-slider-carsousel.php" instead of "jquery-slider-carousel.php")

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
There were no executable files found in this plugin1,571 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript21571221,394
PHP12511159
CSS112018

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were 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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/arrow.png0.27KB0.24KB▼ 11.72%
images/arrow_o.png0.25KB0.20KB▼ 19.38%
images/transparent_black.png0.17KB0.10KB▼ 44.00%