83% skt-addons-for-elementor

Code Review | SKT Addons for Elementor

WordPress plugin SKT Addons for Elementor scored83%from 54 tests.

About plugin

  • Plugin page: skt-addons-for-el...
  • Plugin version: 1.6
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: Apr 22, 2022
  • Latest release: Nov 24, 2023
  • Number of updates: 7
  • Update frequency: every 83.0 days
  • Top authors: sonalsinha21 (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

900+ active /4,091 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.14MB] [CPU: ▼3.64ms] Passed 4 tests

An overview of server-side resources used by SKT Addons for Elementor
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1436.93 ▼0.24
Dashboard /wp-admin3.44 ▲0.1446.42 ▼5.56
Posts /wp-admin/edit.php3.56 ▲0.2048.74 ▼1.47
Add New Post /wp-admin/post-new.php6.03 ▲0.1484.03 ▼7.27
Media Library /wp-admin/upload.php3.37 ▲0.1437.18 ▲5.15

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for SKT Addons for Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲4614.68 ▲0.601.75 ▼0.1439.14 ▲2.40
Dashboard /wp-admin2,213 ▲355.54 ▼0.1390.09 ▼23.2640.31 ▼6.48
Posts /wp-admin/edit.php2,118 ▲182.01 ▲0.0640.50 ▼2.0536.78 ▼2.85
Add New Post /wp-admin/post-new.php1,539 ▲1323.33 ▲0.14604.37 ▼91.4749.16 ▲0.60
Media Library /wp-admin/upload.php1,415 ▲154.32 ▲0.0997.07 ▼11.4142.67 ▼1.18

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 8 options
    • skt_addons_elementor_addons_activation_time
    • sktaddonselementor_do_activation_direct
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Base_Data_Control' not found in wp-content/plugins/skt-addons-for-elementor/controls/indicator-selector.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Skt_Addons_Elementor\\Elementor\\Widget\\Base' not found in wp-content/plugins/skt-addons-for-elementor/widgets/link-hover/widget.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Base_Data_Control' not found in wp-content/plugins/skt-addons-for-elementor/controls/image-selector.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • Contributors: Contributors not specified
The official readme.txt might help

skt-addons-for-elementor/plugin.php 69% from 13 tests

This is the main PHP file of "SKT Addons for Elementor" version 1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Domain Path: The domain path points to a folder that does not exist ("/languages/")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 231 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("skt-addons-for-elementor.php" instead of "plugin.php")

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
There were no executable files found in this plugin181,074 lines of code in 451 files:
LanguageFilesBlank linesComment linesLines of code
PHP18012,2456,031100,837
JavaScript538,7089,97554,906
SVG9485216,137
CSS1185712558,607
Sass2275262
LESS2236239
Markdown232086

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity15.81
▷ Minimum class complexity1.00
▷ Maximum class complexity165.00
Average method complexity2.47
▷ Minimum method complexity1.00
▷ Maximum method complexity63.00
Code structure
Namespaces16
Interfaces0
Traits6
Classes164
▷ Abstract classes31.83%
▷ Concrete classes16198.17%
▷ Final classes00.00%
Methods1,703
▷ Static methods23413.74%
▷ Public methods73343.04%
▷ Protected methods96356.55%
▷ Private methods70.41%
Functions87
▷ Named functions8091.95%
▷ Anonymous functions78.05%
Constants31
▷ Global constants825.81%
▷ Class constants2374.19%
▷ Public constants23100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/imgs/admin/documentation-img.png86.03KB91.12KB0.00%
assets/imgs/left-logo.png1.80KB1.24KB▼ 31.06%
assets/imgs/logo.png1.80KB1.24KB▼ 31.06%