78% wp-responsive-jquery-slider

Code Review | WP Responsive Jquery Slider

WordPress plugin WP Responsive Jquery Slider scored78%from 54 tests.

About plugin

  • Plugin page: wp-responsive-jqu...
  • Plugin version: 1.7
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.2.1
  • WordPress version: 6.3.1
  • First release: Apr 22, 2014
  • Latest release: Jun 18, 2019
  • Number of updates: 39
  • Update frequency: every 48.3 days
  • Top authors: vivacityinfotech.jaipur (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /6,812 total downloads

Benchmarks

Plugin footprint 83% 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: ▲0.15MB] [CPU: ▼2.29ms] Passed 4 tests

This is a short check of server-side resources used by WP Responsive Jquery Slider
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1640.49 ▼5.15
Dashboard /wp-admin3.45 ▲0.1555.35 ▲4.86
Posts /wp-admin/edit.php3.57 ▲0.2152.00 ▲1.32
Add New Post /wp-admin/post-new.php6.04 ▲0.1591.41 ▼6.29
Media Library /wp-admin/upload.php3.37 ▲0.1436.68 ▲0.97
All Vslides /wp-admin/edit.php?post_type=vslides3.4236.70
Settings /wp-admin/edit.php?post_type=vslides&page=settings_section_slider3.3233.03
Add New Vslide /wp-admin/post-new.php?post_type=vslides3.4657.56
Create new slider /wp-admin/edit-tags.php?taxonomy=multiple_slider&post_type=vslides3.3231.75

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
db_upgraded
get_settings_option
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Responsive Jquery Slider
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,913 ▲15213.43 ▼0.959.63 ▲7.9145.69 ▲1.08
Dashboard /wp-admin2,227 ▲475.60 ▼0.1088.54 ▼11.7639.35 ▼7.41
Posts /wp-admin/edit.php2,135 ▲561.99 ▼0.0238.50 ▲2.7134.40 ▲0.18
Add New Post /wp-admin/post-new.php1,402 ▼13416.58 ▼6.37577.15 ▼34.5056.03 ▲7.94
Media Library /wp-admin/upload.php1,435 ▲354.22 ▼0.01102.36 ▼0.0645.07 ▼5.75
All Vslides /wp-admin/edit.php?post_type=vslides1,1081.9730.2730.90
Settings /wp-admin/edit.php?post_type=vslides&page=settings_section_slider9902.1723.7227.91
Add New Vslide /wp-admin/post-new.php?post_type=vslides1,8263.8962.3933.53
Create new slider /wp-admin/edit-tags.php?taxonomy=multiple_slider&post_type=vslides1,3092.1426.3928.95

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/edit.php?post_type=vslides&page=settings_section_slider
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/edit.php?post_type=vslides&page=settings_section_slider
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/edit-tags.php?taxonomy=multiple_slider&post_type=vslides
    • > Notice in wp-content/plugins/wp-responsive-jquery-slider/wp-responsive-jquery-slider.php+141
    Undefined index: post_type

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
Almost there! Just 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_filter() in wp-content/plugins/wp-responsive-jquery-slider/wp-responsive-jquery-slider.php:33

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Tags: There are too many tags (17 tag instead of maximum 10)
You can look at the official readme.txt

wp-responsive-jquery-slider/wp-responsive-jquery-slider.php 92% from 13 tests

The entry point to "WP Responsive Jquery Slider" version 1.7 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 472 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin662 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP15846401
CSS2154138
PO File1293386
JavaScript17937

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.15
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%
Functions35
▷ Named functions35100.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
4 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/sprite_prev.png1.34KB0.38KB▼ 71.73%
screenshot-1.png26.80KB9.71KB▼ 63.78%
images/sprite_next.png1.33KB0.39KB▼ 70.69%
screenshot-2.png13.09KB5.84KB▼ 55.34%