84% jelly

Code Review | Jelly: A Simple Responsive Slideshow

WordPress plugin Jelly: A Simple Responsive Slideshow scored84%from 54 tests.

About plugin

  • Plugin page: jelly
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.8
  • WordPress version: 6.3.1
  • First release: May 26, 2015
  • Latest release: Aug 16, 2021
  • Number of updates: 13
  • Update frequency: every 175.7 days
  • Top authors: Lumne (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,326 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 gracefully, with no errors

Server metrics [RAM: ▲0.03MB] [CPU: ▼7.92ms] Passed 4 tests

Server-side resources used by Jelly: A Simple Responsive Slideshow
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0340.55 ▲1.62
Dashboard /wp-admin3.35 ▼0.0042.17 ▼19.18
Posts /wp-admin/edit.php3.40 ▲0.0444.78 ▼3.40
Add New Post /wp-admin/post-new.php5.93 ▲0.0480.82 ▼10.70
Media Library /wp-admin/upload.php3.27 ▲0.0435.93 ▲2.64
Jelly Settings /wp-admin/options-general.php?page=jelly_settings3.2734.98

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Jelly: A Simple Responsive Slideshow
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.40 ▼0.161.62 ▼0.0543.34 ▲1.87
Dashboard /wp-admin2,202 ▲255.64 ▲0.0890.52 ▲3.6240.56 ▼1.78
Posts /wp-admin/edit.php2,101 ▲11.96 ▼0.0438.93 ▲2.8936.05 ▼0.18
Add New Post /wp-admin/post-new.php1,540 ▲1218.36 ▼4.75614.82 ▼65.5264.69 ▼2.22
Media Library /wp-admin/upload.php1,407 ▲74.18 ▲0.02103.46 ▲2.8344.27 ▼2.99
Jelly Settings /wp-admin/options-general.php?page=jelly_settings1,0003.0238.4825.91

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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 take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/jelly/jelly.php:37

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: gallery, slide show, responsive, slideshow, javascript...

jelly/jelly.php Passed 13 tests

This is the main PHP file of "Jelly: A Simple Responsive Slideshow" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
42 characters long description:
Slideshow designed and developed by Lumne.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected286 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP13732136
JavaScript2501194
CSS211156

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.21
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/delete.png1.38KB0.71KB▼ 48.52%