99% 360-video

Code Review | Algori 360 Video

WordPress plugin Algori 360 Video scored 99% from 54 tests.

About plugin

  • Plugin page: 360-video
  • Plugin version: 1.0.9
  • PHP compatiblity: 5.6.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0.0-5.8.1
  • WordPress version: 5.9.2
  • First release: Aug 9, 2018
  • Latest release: Oct 27, 2021
  • Number of updates: 22
  • Update frequency: every 53.4 days
  • Top authors: kevinbazira (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

600+ active / 9,346 total downloads

Benchmarks

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.00MB] [CPU: ▼293.88ms] Passed 4 tests

An overview of server-side resources used by Algori 360 Video
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0253.88 ▲4.16
Dashboard /wp-admin3.43 ▲0.0332.43 ▼3.55
Posts /wp-admin/edit.php3.66 ▲0.0241.05 ▲3.41
Add New Post /wp-admin/post-new.php6.90 ▼0.0793.33 ▼1,176.21
Media Library /wp-admin/upload.php3.31 ▲0.0225.27 ▲0.85

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Algori 360 Video
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,813 ▲7122.42 ▲6.7225.21 ▲18.382.46 ▲0.30
Dashboard /wp-admin2,894 ▲408.85 ▲2.68141.07 ▲10.78152.03 ▼7.48
Posts /wp-admin/edit.php2,694 ▼05.78 ▲2.5598.89 ▲34.93139.55 ▼3.95
Add New Post /wp-admin/post-new.php1,770 ▲5121.17 ▼0.63471.29 ▲41.65169.92 ▲15.81
Media Library /wp-admin/upload.php1,702 ▲77.78 ▲2.26150.99 ▲14.04184.98 ▼2.79

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
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
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

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
10 plugin tags: videography, vr, block, block editor, virtual reality...

360-video/algori-360-video.php 85% from 13 tests

The primary PHP file in "Algori 360 Video" version 1.0.9 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("360-video.php" instead of "algori-360-video.php")
  • Description: The description should be shorter than 140 characters (currently 316 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected57,188 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript526,11310,98249,681
JSON4007,284
Markdown1370113
Sass312157
PHP3116052
CSS1001

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected