84% slick-engagement

Code Review | Slickstream: Engagement and Conversions

WordPress plugin Slickstream: Engagement and Conversions scored84%from 54 tests.

About plugin

  • Plugin page: slick-engagement
  • Plugin version: 1.4.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2
  • WordPress version: 6.3.1
  • First release: Oct 3, 2018
  • Latest release: Nov 2, 2023
  • Number of updates: 92
  • Update frequency: every 20.2 days
  • Top authors: kduffie (92.39%)wpslickstream (8.7%)

Code review

54 tests

User reviews

11 reviews

Install metrics

2,000+ active /35,417 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.33MB] [CPU: ▼6.57ms] Passed 4 tests

Analyzing server-side resources used by Slickstream: Engagement and Conversions
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.86 ▲0.3938.51 ▼0.88
Dashboard /wp-admin3.68 ▲0.3347.45 ▼10.71
Posts /wp-admin/edit.php3.73 ▲0.3750.30 ▲5.92
Add New Post /wp-admin/post-new.php6.21 ▲0.3285.07 ▼16.06
Media Library /wp-admin/upload.php3.54 ▲0.3036.56 ▲1.38
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page3.5338.64
Slickstream Engagement /wp-admin/options-general.php?page=SlickEngagement_PluginSettings3.5034.35
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page3.5333.95

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 15 new options
New WordPress options
widget_slick_story_carousel_widget
widget_slick_filmstrip_widget
widget_recent-comments
widget_recent-posts
widget_slick_game_widget
db_upgraded
SlickEngagement_Plugin__version
widget_theysaidso_widget
SlickEngagement_Plugin__installed
theysaidso_admin_options
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Slickstream: Engagement and Conversions
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,843 ▲8214.35 ▼0.031.74 ▲0.0839.98 ▼3.19
Dashboard /wp-admin2,210 ▲325.65 ▼0.0785.56 ▼19.3536.24 ▼6.45
Posts /wp-admin/edit.php2,112 ▲121.95 ▼0.0538.97 ▲5.3335.11 ▼0.60
Add New Post /wp-admin/post-new.php1,540 ▲1422.85 ▼0.01674.00 ▲58.6169.44 ▲11.20
Media Library /wp-admin/upload.php1,406 ▲64.20 ▲0.0294.70 ▼13.4040.19 ▼5.41
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page1,4672.1227.4335.61
Slickstream Engagement /wp-admin/options-general.php?page=SlickEngagement_PluginSettings8502.0024.2528.46
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page1,3282.1126.7025.28

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 15 options
    • category_children
    • widget_slick_game_widget
    • SlickEngagement_Plugin__installed
    • widget_recent-posts
    • widget_slick_filmstrip_widget
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_slick_story_explorer_widget
    • widget_slick_story_carousel_widget
    • ...

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 3× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slick-engagement/slick-engagement.php:58
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/slick-engagement/SlickEngagement_Widgets.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/slick-engagement/SlickEngagement_Widgets.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% 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:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
You can take inspiration from this readme.txt

slick-engagement/slick-engagement.php Passed 13 tests

The primary PHP file in "Slickstream: Engagement and Conversions" version 1.4.3 is used by WordPress to initiate all plugin functionality
75 characters long description:
Use Slickstreams's cloud service and widgets to increase visitor engagement

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,543 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP92544771,543

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity15.92
▷ Minimum class complexity2.00
▷ Maximum class complexity110.00
Average method complexity2.36
▷ Minimum method complexity1.00
▷ Maximum method complexity50.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes12
▷ Abstract classes216.67%
▷ Concrete classes1083.33%
▷ Final classes00.00%
Methods134
▷ Static methods00.00%
▷ Public methods8563.43%
▷ Protected methods2921.64%
▷ Private methods2014.93%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants562.50%
▷ Class constants337.50%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin