84% codex-elementor-all-in-one-slider

Code Review | codex elementor all in one slider

WordPress plugin codex elementor all in one slider scored84%from 54 tests.

About plugin

  • Plugin page: codex-elementor-a...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.9
  • WordPress version: 6.3.1
  • First release: Mar 29, 2022
  • Latest release: Mar 30, 2022
  • Number of updates: 11
  • Update frequency: every 0.1 days
  • Top authors: rabiulalam01833 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /244 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.01MB] [CPU: ▼5.57ms] Passed 4 tests

This is a short check of server-side resources used by codex elementor all in one slider
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0034.22 ▼2.05
Dashboard /wp-admin3.31 ▼0.0345.00 ▼12.92
Posts /wp-admin/edit.php3.36 ▲0.0048.87 ▲5.05
Add New Post /wp-admin/post-new.php5.89 ▲0.0090.13 ▼2.72
Media Library /wp-admin/upload.php3.23 ▲0.0033.05 ▼4.59

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by codex elementor all in one slider
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲7213.30 ▼0.961.93 ▲0.4241.18 ▼0.99
Dashboard /wp-admin2,227 ▲384.87 ▼1.21109.34 ▲4.0944.41 ▲5.10
Posts /wp-admin/edit.php2,109 ▲201.98 ▼0.0453.46 ▲18.8942.47 ▲9.58
Add New Post /wp-admin/post-new.php1,555 ▲3618.48 ▼4.72597.70 ▼76.2858.63 ▲5.27
Media Library /wp-admin/upload.php1,406 ▲214.19 ▲0.0195.08 ▼7.8141.31 ▼4.59

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 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 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
Almost there! Just fix the following items
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/codex-elementor-all-in-one-slider/widgets/basic-slider.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/codex-elementor-all-in-one-slider/widgets/basic-slider/slider-style-1.php:7

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: full slider, slider slider, logo slider

codex-elementor-all-in-one-slider/codex-elementor-slider.php 85% from 13 tests

Analyzing the main PHP file in "codex elementor all in one slider" version 1.0.0
The following require your attention:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("codex-elementor-all-in-one-slider.php" instead of "codex-elementor-slider.php")

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
Everything looks great! No dangerous files found in this plugin10,038 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
SVG30129,026
PHP4212237882
Markdown130067
CSS6152159
JavaScript2154

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.07
Average class complexity6.00
▷ Minimum class complexity4.00
▷ Maximum class complexity8.00
Average method complexity1.56
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods18
▷ Static methods15.56%
▷ Public methods1688.89%
▷ Protected methods211.11%
▷ Private methods00.00%
Functions0
▷ Named functions00.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 are no PNG files in this plugin