99% 360-image-panorama-for-elementor

Code Review | 360 Image Panorama Addon for Elementor Page Builder

WordPress plugin 360 Image Panorama Addon for Elementor Page Builder scored 99% from 54 tests.

About plugin

  • Plugin page: 360-image-panoram...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.2
  • WordPress version: 5.9.2
  • First release: May 11, 2019
  • Latest release: May 11, 2019
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: themeofwp.com (100%)

Code review

54 tests

User reviews

1 review

Install metrics

700+ active / 4,135 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▼0.35MB] [CPU: ▼301.30ms] Passed 4 tests

Server-side resources used by 360 Image Panorama Addon for Elementor Page Builder
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0253.40 ▲0.24
Dashboard /wp-admin3.27 ▼0.1422.59 ▼13.55
Posts /wp-admin/edit.php3.33 ▼0.3125.37 ▼10.18
Add New Post /wp-admin/post-new.php6.05 ▼0.9273.88 ▼1,176.16
Media Library /wp-admin/upload.php3.28 ▼0.0219.63 ▼5.29

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for 360 Image Panorama Addon for Elementor Page Builder
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲2116.16 ▲0.126.02 ▼0.302.25 ▲0.00
Dashboard /wp-admin2,889 ▲286.14 ▼0.02127.93 ▼9.78157.86 ▼7.29
Posts /wp-admin/edit.php2,688 ▼33.23 ▼0.0162.90 ▼3.74139.50 ▼13.93
Add New Post /wp-admin/post-new.php1,668 ▲219.00 ▼1.25380.70 ▼67.86160.19 ▲3.43
Media Library /wp-admin/upload.php1,698 ▼35.48 ▼0.03142.72 ▲3.51184.12 ▼3.42

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: Screenshot #1 (/assets/screenshot-1.jpg) image required
The official readme.txt might help

360-image-panorama-for-elementor/elementor-image-panorama.php 85% from 13 tests

The entry point to "360 Image Panorama Addon for Elementor Page Builder" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("360-image-panorama-for-elementor.php" instead of "elementor-image-panorama.php")

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
Success! There were no dangerous files found in this plugin8,640 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.13
Average class complexity1.33
▷ Minimum class complexity1.00
▷ Maximum class complexity2.00
Average method complexity1.06
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods1052.63%
▷ Protected methods631.58%
▷ Private methods315.79%
▷ Named functions480.00%
▷ Anonymous functions120.00%
▷ 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
There are no PNG files in this plugin