90% cryout-serious-slider

Code Review | Serious Slider

WordPress plugin Serious Slider scored90%from 54 tests.

About plugin

  • Plugin page: cryout-serious-sl...
  • Plugin version: 1.2.4
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.1
  • WordPress version: 6.3.1
  • First release: May 11, 2016
  • Latest release: Dec 9, 2022
  • Number of updates: 41
  • Update frequency: every 58.6 days
  • Top authors: Cryout Creations (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

30,000+ active /396,212 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

Analyzing server-side resources used by Serious Slider
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.76 ▲0.2949.31 ▼0.87
Dashboard /wp-admin3.61 ▲0.3150.64 ▼1.33
Posts /wp-admin/edit.php3.75 ▲0.4060.92 ▲12.29
Add New Post /wp-admin/post-new.php6.20 ▲0.3198.20 ▼2.14
Media Library /wp-admin/upload.php3.53 ▲0.3142.34 ▲5.58
All Slides /wp-admin/edit.php?post_type=cryout_serious_slide3.6143.38
Manage Sliders /wp-admin/edit-tags.php?taxonomy=cryout_serious_slider_category&post_type=cryout_serious_slide3.5839.69
About /wp-admin/edit.php?post_type=cryout_serious_slide&page=cryout-serious-slider-about3.5641.40
Add New Slide /wp-admin/post-new.php?post_type=cryout_serious_slide3.7054.77

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 7 new options
New WordPress options
widget_cryout_serious_slider_widget
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Serious Slider: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,947 ▲17614.19 ▼0.117.15 ▲4.9741.83 ▼5.34
Dashboard /wp-admin2,252 ▲645.20 ▲0.30102.55 ▼14.6280.83 ▲38.25
Posts /wp-admin/edit.php2,313 ▲2213.36 ▲1.3766.64 ▲28.3374.61 ▲38.85
Add New Post /wp-admin/post-new.php1,580 ▲4723.20 ▲0.10641.53 ▲3.0139.94 ▼10.60
Media Library /wp-admin/upload.php1,447 ▲564.54 ▲0.2886.72 ▼15.7476.69 ▲28.57
All Slides /wp-admin/edit.php?post_type=cryout_serious_slide1,3463.6746.8266.49
Manage Sliders /wp-admin/edit-tags.php?taxonomy=cryout_serious_slider_category&post_type=cryout_serious_slide2,0812.5150.2328.81
About /wp-admin/edit.php?post_type=cryout_serious_slide&page=cryout-serious-slider-about1,3173.6752.0469.62
Add New Slide /wp-admin/post-new.php?post_type=cryout_serious_slide2,4208.27168.57108.35

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_cryout_serious_slider_widget
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 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)
Good news, no errors were detected

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 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
5 plugin tags: wordpress slider, slider, responsive slider, slideshow, image slider

cryout-serious-slider/cryout-serious-slider.php Passed 13 tests

"Serious Slider" version 1.2.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
114 characters long description:
A highly efficient SEO friendly fully translatable accessibility ready free image slider for WordPress. Seriously!

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 plugin5,551 lines of code in 21 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript76826452,153
CSS33651851,799
PHP93161931,562
SVG20137

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity30.20
▷ Minimum class complexity3.00
▷ Maximum class complexity77.00
Average method complexity3.43
▷ Minimum method complexity1.00
▷ Maximum method complexity37.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods60
▷ Static methods00.00%
▷ Public methods60100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.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
5 PNG files occupy 0.14MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
resources/images/serious-slider-editor-icon.png0.42KB0.18KB▼ 57.28%
resources/images/serious-slider-128.png3.02KB1.89KB▼ 37.18%
resources/images/serious-slider-mce-icon.png0.45KB0.20KB▼ 54.57%
resources/images/serious-slider-icon.png0.33KB0.23KB▼ 31.47%
resources/images/serious-slider-header.png144.15KB46.68KB▼ 67.62%