99% algori-image-video-slider

Code Review | Algori Video and Image Slider

WordPress plugin Algori Video and Image Slider scored 99% from 54 tests.

About plugin

  • Plugin page: algori-image-vide...
  • Plugin version: 1.0.6
  • PHP compatiblity: 5.6.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0.0-5.8.1
  • WordPress version: 5.8.1
  • First release: Nov 1, 2018
  • Latest release: Nov 3, 2021
  • Number of updates: 19
  • Update frequency: every 57.8 days
  • Top authors: kevinbazira (100%)

Code review

54 tests

User reviews

1 review

Install metrics

2,000+ active / 11,663 total downloads


Plugin footprint Passed 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.02MB] [CPU: ▼137.50ms] Passed 4 tests

Analyzing server-side resources used by Algori Video and Image Slider
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.1443.35 ▲20.83
Dashboard /wp-admin3.08 ▲0.0354.51 ▲7.03
Posts /wp-admin/edit.php3.13 ▲0.0252.97 ▼7.81
Add New Post /wp-admin/post-new.php5.44 ▲0.01103.88 ▼553.85
Media Library /wp-admin/upload.php3.02 ▲0.0243.88 ▲4.65

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Algori Video and Image Slider
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,823 ▲18616.41 ▲0.8014.91 ▲4.2656.97 ▲4.87
Dashboard /wp-admin2,979 ▲456.03 ▲0.10158.94 ▲1.68156.37 ▲36.64
Posts /wp-admin/edit.php2,748 ▲92.73 ▲0.0175.76 ▲5.01104.72 ▲12.42
Add New Post /wp-admin/post-new.php1,701 ▲20116.04 ▼2.74430.40 ▲30.53122.56 ▲9.81
Media Library /wp-admin/upload.php1,816 ▲95.08 ▲0.05186.33 ▲8.47145.67 ▲23.15

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully

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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

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


Plugin configuration 90% 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
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 13 tag instead of maximum 10
You can take inspiration from this readme.txt

algori-image-video-slider/algori-image-video-slider-lite.php 85% from 13 tests

The entry point to "Algori Video and Image Slider" version 1.0.6 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 310 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("algori-image-video-slider.php" instead of "algori-image-video-slider-lite.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 plugin3,175 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
dist/slick/images/arrow-left-big-black.png0.45KB0.22KB▼ 51.94%
dist/slick/images/arrow-left-black.png0.28KB0.23KB▼ 15.60%
dist/slick/images/arrow-left.png0.43KB0.23KB▼ 46.17%
dist/slick/images/arrow-right-black.png0.25KB0.23KB▼ 9.34%
dist/slick/images/arrow-left-big.png0.43KB0.22KB▼ 49.43%