89% sparkle-elementor-kit

Code Review | Sparkle Elementor Kit

WordPress plugin Sparkle Elementor Kit scored89%from 54 tests.

About plugin

  • Plugin page: sparkle-elementor...
  • Plugin version: 1.0.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: Dec 11, 2020
  • Latest release: Apr 2, 2023
  • Number of updates: 12
  • Update frequency: every 70.4 days
  • Top authors: sparklewpthemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /818 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼9.69ms] Passed 4 tests

This is a short check of server-side resources used by Sparkle Elementor Kit
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.51 ▼4.18
Dashboard /wp-admin3.33 ▼0.0251.19 ▼11.07
Posts /wp-admin/edit.php3.38 ▲0.0253.54 ▲0.67
Add New Post /wp-admin/post-new.php5.91 ▲0.0287.64 ▼23.91
Media Library /wp-admin/upload.php3.25 ▲0.0238.78 ▲0.39

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Sparkle Elementor Kit
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.72 ▲0.191.72 ▲0.0942.96 ▼0.46
Dashboard /wp-admin2,206 ▲295.67 ▲0.0985.52 ▼12.4341.24 ▼1.32
Posts /wp-admin/edit.php2,111 ▲112.14 ▲0.1537.39 ▼3.5540.41 ▲2.18
Add New Post /wp-admin/post-new.php1,547 ▲1918.32 ▼4.70652.65 ▲57.6370.70 ▲15.43
Media Library /wp-admin/upload.php1,405 ▲54.20 ▼0.07101.30 ▼5.9447.25 ▼0.82

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

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)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Screenshots: Please add images for these screenshots: #1 (Available Demo List), #2 (Confirmation Screen - Sparle Demo Importer)
The official readme.txt is a good inspiration

sparkle-elementor-kit/sparkle-elementor-kit.php 92% from 13 tests

"Sparkle Elementor Kit" version 1.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Domain Path: The domain path folder was not found ("/languages")

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 plugin603 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP294125507
CSS18081
JavaScript16615

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity9.00
▷ Minimum class complexity4.00
▷ Maximum class complexity14.00
Average method complexity1.94
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods17
▷ Static methods15.88%
▷ Public methods1376.47%
▷ Protected methods423.53%
▷ Private methods00.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants5
▷ Global constants5100.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
No PNG images were found in this plugin