89% gutenberg-block-for-slick-slider

Code Review | Gutenberg Block for Slick Slider

WordPress plugin Gutenberg Block for Slick Slider scored89%from 54 tests.

About plugin

  • Plugin page: gutenberg-block-f...
  • Plugin version: 1.0.8
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.1-6.4
  • WordPress version: 6.3.1
  • First release: Dec 23, 2022
  • Latest release: Nov 25, 2023
  • Number of updates: 22
  • Update frequency: every 15.3 days
  • Top authors: xideathemes (81.82%)arkenon (22.73%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /1,217 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▼6.69ms] Passed 4 tests

This is a short check of server-side resources used by Gutenberg Block for Slick Slider
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0537.91 ▼1.31
Dashboard /wp-admin3.34 ▲0.0445.69 ▼3.86
Posts /wp-admin/edit.php3.39 ▲0.0344.45 ▲0.17
Add New Post /wp-admin/post-new.php5.93 ▲0.0483.43 ▼10.37
Media Library /wp-admin/upload.php3.26 ▲0.0331.31 ▼11.21

Server storage [IO: ▲0.21MB] [DB: ▲0.07MB] Passed 3 tests

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Gutenberg Block for Slick Slider
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,910 ▲13813.42 ▼0.919.27 ▲7.3744.87 ▲1.01
Dashboard /wp-admin2,195 ▲205.65 ▼0.2495.57 ▼15.7043.25 ▼4.33
Posts /wp-admin/edit.php2,100 ▼02.00 ▼0.0239.51 ▲1.3436.18 ▼2.55
Add New Post /wp-admin/post-new.php6,204 ▲4,67818.97 ▼4.35881.69 ▲283.4439.92 ▼11.07
Media Library /wp-admin/upload.php1,400 ▼34.21 ▼0.00100.16 ▲2.0340.95 ▼3.65

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

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
The SRP test was a success

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed: The official readme.txt might help

gutenberg-block-for-slick-slider/plugin.php 85% from 13 tests

The entry point to "Gutenberg Block for Slick Slider" version 1.0.8 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("gutenberg-block-for-slick-slider.php" instead of "plugin.php")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin3,015 lines of code in 20 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript5850452,126
CSS6465290
Sass2275262
LESS1115152
JSON200142
PHP3133130
SVG11013

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions2
▷ Named functions2100.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
No PNG files were detected