94% movelize-scrolling-widgets

Code Review | Content Slider for the Elementor Page Builder

WordPress plugin Content Slider for the Elementor Page Builder scored 94% from 54 tests.

About plugin

  • Plugin page: movelize-scrollin...
  • Plugin version: 1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.4.2
  • WordPress version: 5.8.1
  • First release: Jul 8, 2020
  • Latest release: Jul 8, 2020
  • Number of updates: 9
  • Update frequency: every 0.7 days
  • Top authors: movelize (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 332 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

A check of server-side resources used by Content Slider for the Elementor Page Builder
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1323.70 ▲8.58
Dashboard /wp-admin3.07 ▲0.0138.68 ▲0.66
Posts /wp-admin/edit.php3.13 ▲0.0230.69 ▲1.98
Add New Post /wp-admin/post-new.php5.44 ▼0.0069.78 ▼717.92
Media Library /wp-admin/upload.php3.02 ▲0.0224.09 ▲2.03

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Content Slider for the Elementor Page Builder
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,688 ▲3715.93 ▼0.124.79 ▼0.6576.20 ▼2.38
Dashboard /wp-admin2,952 ▲576.14 ▼0.01118.33 ▼12.29166.58 ▼9.55
Posts /wp-admin/edit.php2,762 ▲253.23 ▼0.0265.26 ▲1.08134.75 ▼6.08
Add New Post /wp-admin/post-new.php3,827 ▲2018.97 ▲0.04454.88 ▲23.79167.87 ▲8.17
Media Library /wp-admin/upload.php1,774 ▲225.54 ▲0.00144.62 ▼7.38182.35 ▼2.11

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/movelize-scrolling-widgets/settings.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 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
5 plugin tags: content carousel, page builder, content scroller, content slider, elementor

movelize-scrolling-widgets/movelize-scrolling-widgets.php 92% from 13 tests

The main PHP script in "Content Slider for the Elementor Page Builder" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

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 plugin8,708 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript46813977,859
CSS3350585
PHP34691252
SVG10012

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions7
▷ Named functions7100.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
No PNG files were detected