89% oxyrealm-sandbox

Code Review | dPlugins Sandbox - Isolated Environment for WordPress Visual Builder

WordPress plugin dPlugins Sandbox - Isolated Environment for WordPress Visual Builder scored 89% from 54 tests.

About plugin

  • Plugin page: oxyrealm-sandbox
  • Plugin version: 2.1.1
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-5.8
  • WordPress version: 5.8.1
  • First release: Mar 25, 2021
  • Latest release: Jul 23, 2021
  • Number of updates: 19
  • Update frequency: every 6.4 days
  • Top authors: oxyrealm (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 1,711 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.61MB] [CPU: ▼174.43ms] Passed 4 tests

Analyzing server-side resources used by dPlugins Sandbox - Isolated Environment for WordPress Visual Builder
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.38 ▲0.5428.31 ▲3.19
Dashboard /wp-admin3.74 ▲0.6837.06 ▲0.90
Posts /wp-admin/edit.php3.79 ▲0.6835.52 ▲2.39
Add New Post /wp-admin/post-new.php6.04 ▲0.6076.83 ▼704.21
Media Library /wp-admin/upload.php3.62 ▲0.6229.55 ▲6.71

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: no files
Database: no new tables, 5 new options
New WordPress options
oxyrealm_sandbox_sessions
aether_version
aether_installed
oxyrealm_sandbox_selected_session
aether_db_version

Browser metrics Passed 4 tests

An overview of browser requirements for dPlugins Sandbox - Isolated Environment for WordPress Visual Builder
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,756 ▲15516.24 ▲0.555.02 ▲0.1373.81 ▲0.56
Dashboard /wp-admin3,007 ▲1126.11 ▼0.04119.07 ▼11.46199.05 ▲22.94
Posts /wp-admin/edit.php2,818 ▲813.25 ▲0.0163.92 ▼0.99151.02 ▲20.26
Add New Post /wp-admin/post-new.php3,842 ▲3519.30 ▲0.43429.37 ▼22.95156.91 ▼8.58
Media Library /wp-admin/upload.php1,827 ▲755.56 ▲0.03140.37 ▲2.06203.85 ▲17.42

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin does not fully uninstall, leaving 5 options in the database
    • oxyrealm_sandbox_selected_session
    • oxyrealm_sandbox_sessions
    • aether_db_version
    • aether_version
    • aether_installed

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success

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

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: brizy, bricks builder, oxygen builder, sandbox

oxyrealm-sandbox/sandbox.php 85% from 13 tests

The main file in "dPlugins Sandbox - Isolated Environment for WordPress Visual Builder" v. 2.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("oxyrealm-sandbox.php" instead of "sandbox.php")
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,992 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code
PHP133643451,592
JSON500157
CSS2120133
JavaScript2290102
SVG1108

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity32.25
▷ Minimum class complexity1.00
▷ Maximum class complexity76.00
Average method complexity3.50
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces4
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods100
▷ Static methods2424.00%
▷ Public methods9191.00%
▷ Protected methods00.00%
▷ Private methods99.00%
Functions7
▷ Named functions114.29%
▷ Anonymous functions685.71%
Constants9
▷ Global constants9100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin