89% 360-video

Code Review | Algori 360 Video

WordPress plugin Algori 360 Video scored89%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-6.0
  • WordPress version: 6.3.1
  • First release: Aug 9, 2018
  • Latest release: Jul 11, 2022
  • Number of updates: 23
  • Update frequency: every 62.3 days
  • Top authors: kevinbazira (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

600+ active /11,889 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
The plugin installed gracefully, with no errors

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

This is a short check of server-side resources used by Algori 360 Video
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0341.21 ▼1.01
Dashboard /wp-admin3.32 ▲0.0250.17 ▲0.30
Posts /wp-admin/edit.php3.37 ▲0.0147.14 ▼8.51
Add New Post /wp-admin/post-new.php5.90 ▲0.0285.00 ▼15.44
Media Library /wp-admin/upload.php3.24 ▲0.0137.33 ▲0.25

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Algori 360 Video: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,842 ▲8119.59 ▲5.1623.68 ▲21.9442.78 ▲0.11
Dashboard /wp-admin2,195 ▲277.49 ▲1.95125.86 ▲25.5938.96 ▼5.55
Posts /wp-admin/edit.php2,106 ▲64.77 ▲2.8075.55 ▲36.6834.53 ▼4.62
Add New Post /wp-admin/post-new.php6,371 ▲4,84325.14 ▲2.16938.90 ▲268.9737.43 ▼17.92
Media Library /wp-admin/upload.php1,406 ▲66.52 ▲2.30124.16 ▲13.4743.46 ▼5.84

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded

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

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: 360, block editor, gutenberg, vr, panorama...

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

"Algori 360 Video" version 1.0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • 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: Keep the plugin description shorter than 140 characters (currently 316 characters long)

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 plugin57,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

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
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

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin