89% custom-links-in-elementor-image-carousel

Code Review | Custom links in Elementor Image Carousel

WordPress plugin Custom links in Elementor Image Carousel scored89%from 54 tests.

About plugin

  • Plugin page: custom-links-in-e...
  • Plugin version: 1.1.1
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.1
  • WordPress version: 6.3.1
  • First release: Dec 3, 2021
  • Latest release: Nov 9, 2022
  • Number of updates: 6
  • Update frequency: every 56.8 days
  • Top authors: charlieetienne (100%)

Code review

54 tests

User reviews

20 reviews

Install metrics

6,000+ active /13,760 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.02MB] [CPU: ▼11.07ms] Passed 4 tests

This is a short check of server-side resources used by Custom links in Elementor Image Carousel
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.01 ▼3.12
Dashboard /wp-admin3.34 ▼0.0145.54 ▼13.35
Posts /wp-admin/edit.php3.39 ▲0.0346.11 ▼3.99
Add New Post /wp-admin/post-new.php5.92 ▲0.0384.68 ▼23.82
Media Library /wp-admin/upload.php3.26 ▲0.0331.52 ▼0.12

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

Browser metrics Passed 4 tests

Checking browser requirements for Custom links in Elementor Image Carousel
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.22 ▼1.341.66 ▼0.2841.36 ▼1.16
Dashboard /wp-admin2,206 ▲214.85 ▼1.00109.92 ▲5.4639.04 ▼0.39
Posts /wp-admin/edit.php2,089 ▼31.96 ▼0.0640.51 ▼0.5735.07 ▲1.44
Add New Post /wp-admin/post-new.php1,536 ▲823.20 ▲4.78648.36 ▲33.6556.74 ▼9.86
Media Library /wp-admin/upload.php1,388 ▼04.27 ▲0.0297.73 ▼6.8841.77 ▼3.67

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

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: custom links, elementor, image carousel

custom-links-in-elementor-image-carousel/custom-links-in-elementor-image-carousel.php 85% from 13 tests

The entry point to "Custom links in Elementor Image Carousel" version 1.1.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin159 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15377159

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity31.00
▷ Minimum class complexity31.00
▷ Maximum class complexity31.00
Average method complexity4.33
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods111.11%
▷ Public methods9100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin