84% jetsticky-for-elementor

Code Review | JetSticky For Elementor

WordPress plugin JetSticky For Elementor scored84%from 54 tests.

About plugin

  • Plugin page: jetsticky-for-ele...
  • Plugin version: 1.0.4
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.3
  • WordPress version: 6.3.1
  • First release: Aug 2, 2018
  • Latest release: Aug 24, 2023
  • Number of updates: 9
  • Update frequency: every 205.4 days
  • Top authors: crocoblock (77.78%)jetmonsters (33.33%)

Code review

54 tests

User reviews

17 reviews

Install metrics

30,000+ active /190,681 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.41MB] [CPU: ▼3.03ms] Passed 4 tests

A check of server-side resources used by JetSticky For Elementor
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1240.49 ▼1.10
Dashboard /wp-admin3.86 ▲0.5655.88 ▲1.08
Posts /wp-admin/edit.php3.91 ▲0.5551.13 ▼1.33
Add New Post /wp-admin/post-new.php6.38 ▲0.4985.72 ▼10.76
Media Library /wp-admin/upload.php3.72 ▲0.4941.51 ▲4.87
Install Plugins /wp-admin/plugins.php?page=jet-sticky-install-plugins3.7936.59

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by JetSticky For Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲8414.68 ▲0.121.81 ▲0.0545.06 ▲2.05
Dashboard /wp-admin2,219 ▲485.55 ▲0.0587.58 ▼10.1341.45 ▼3.87
Posts /wp-admin/edit.php2,142 ▲422.06 ▲0.0537.53 ▼2.1341.65 ▲2.75
Add New Post /wp-admin/post-new.php1,552 ▲2123.10 ▲0.07668.48 ▼27.9046.78 ▼9.58
Media Library /wp-admin/upload.php1,441 ▲384.21 ▼0.0296.94 ▼2.5444.74 ▼2.58
Install Plugins /wp-admin/plugins.php?page=jet-sticky-install-plugins9712.0526.9931.71

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function did_action() in wp-content/plugins/jetsticky-for-elementor/includes/lib/class-tgm-plugin-activation.php:2109

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
7 plugin tags: sticky, addons, sticky header, elementor addons, sticky section...

jetsticky-for-elementor/jetsticky-for-elementor.php Passed 13 tests

The principal PHP file in "JetSticky For Elementor" v. 1.0.4 is loaded by WordPress automatically on each request
98 characters long description:
JetSticky is the plugin which allows to make the sections and columns built with Elementor sticky!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected2,750 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PHP55971,8902,289
JavaScript511930413
Sass23131
Markdown17015
CSS2002

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity36.20
▷ Minimum class complexity1.00
▷ Maximum class complexity206.00
Average method complexity3.69
▷ Minimum method complexity1.00
▷ Maximum method complexity34.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
Methods131
▷ Static methods86.11%
▷ Public methods10882.44%
▷ Protected methods2317.56%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ 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 were not PNG files found in your plugin