84% kaleidoscope-playlist

Code Review | Kaleidoscope Digital Marketing Platform

WordPress plugin Kaleidoscope Digital Marketing Platform scored84%from 54 tests.

About plugin

  • Plugin page: kaleidoscope-play...
  • Plugin version: 1.2.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.5.2
  • WordPress version: 6.3.1
  • First release: Feb 2, 2021
  • Latest release: Dec 1, 2021
  • Number of updates: 27
  • Update frequency: every 11.2 days
  • Top authors: sujayjaju (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /942 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▼0.64MB] [CPU: ▼21.78ms] Passed 4 tests

A check of server-side resources used by Kaleidoscope Digital Marketing Platform
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0536.20 ▼3.49
Dashboard /wp-admin3.35 ▲0.0144.94 ▼20.75
Posts /wp-admin/edit.php3.40 ▲0.0548.67 ▲6.07
Add New Post /wp-admin/post-new.php3.23 ▼2.6635.32 ▼65.38
Media Library /wp-admin/upload.php3.27 ▲0.0537.19 ▲2.51

Server storage [IO: ▲0.04MB] [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: 9 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Kaleidoscope Digital Marketing Platform
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,925 ▲16413.97 ▼0.6710.27 ▲8.6140.73 ▼4.07
Dashboard /wp-admin2,208 ▲315.56 ▼0.1084.23 ▼14.2039.60 ▼4.37
Posts /wp-admin/edit.php2,116 ▲161.98 ▼0.0235.80 ▼2.5232.99 ▼1.92
Add New Post /wp-admin/post-new.php1,543 ▲1522.98 ▲0.09695.97 ▲43.2257.65 ▲1.30
Media Library /wp-admin/upload.php1,416 ▲164.21 ▼0.0798.05 ▲5.0944.79 ▲4.60

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

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
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/kaleidoscope-playlist/kaleidoscope-clear-cache.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/kaleidoscope-playlist/includes/admin/kaleidoscope-admin-page.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/kaleidoscope-playlist/kaleidoscope-playlist.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: slider, carousel, slideshow, playlist

kaleidoscope-playlist/kaleidoscope-playlist.php 85% from 13 tests

The principal PHP file in "Kaleidoscope Digital Marketing Platform" v. 1.2.4 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 168 characters long)
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin914 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP48798407
CSS1499261
JavaScript34655246

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There were not PNG files found in your plugin