10% rtl-support-for-oxygen-builder

Code Review | RTL Support for Oxygen Builder

WordPress plugin RTL Support for Oxygen Builder scored10%from 54 tests.

About plugin

  • Plugin page: rtl-support-for-o...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.4.2
  • WordPress version: 6.3.1
  • First release: Jul 2, 2020
  • Latest release: Jul 2, 2020
  • Number of updates: 5
  • Update frequency: N/A
  • Top authors: erezbt (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active /1,521 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/rtl-support-for-oxygen-builder/includes/class-rtl-support-for-oxygen-builder.php+173
    Undefined index: ct_builder

Server metrics [RAM: ▼1.96MB] [CPU: ▼54.85ms] Passed 4 tests

An overview of server-side resources used by RTL Support for Oxygen Builder
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.446.96 ▼37.99
Dashboard /wp-admin2.05 ▼1.265.01 ▼44.52
Posts /wp-admin/edit.php2.05 ▼1.314.70 ▼42.90
Add New Post /wp-admin/post-new.php2.05 ▼3.846.66 ▼93.97
Media Library /wp-admin/upload.php2.05 ▼1.185.99 ▼31.11

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

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

Browser metrics Passed 4 tests

RTL Support for Oxygen Builder: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.68 ▲0.571.78 ▼0.6744.91 ▲1.54
Dashboard /wp-admin2,199 ▲195.54 ▼0.1387.62 ▼2.6039.38 ▼4.81
Posts /wp-admin/edit.php2,104 ▲11.98 ▼0.0135.93 ▼9.6232.15 ▼4.90
Add New Post /wp-admin/post-new.php1,530 ▼723.11 ▲4.97651.14 ▲15.2262.44 ▼9.84
Media Library /wp-admin/upload.php1,407 ▲74.17 ▼0.01101.22 ▼4.5443.78 ▲0.20

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • This plugin cannot be uninstalled
    • > Notice in wp-content/plugins/rtl-support-for-oxygen-builder/includes/class-rtl-support-for-oxygen-builder.php+173
    Undefined index: ct_builder
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please fix the following items
  • 2× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/rtl-support-for-oxygen-builder/public/partials/rtl-support-for-oxygen-builder-public-display.php
    • > /wp-content/plugins/rtl-support-for-oxygen-builder/admin/partials/rtl-support-for-oxygen-builder-admin-display.php

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: rtl support, arabic, oxygen builder, rtl, hebrew

rtl-support-for-oxygen-builder/rtl-support-for-oxygen-builder.php Passed 13 tests

The main PHP script in "RTL Support for Oxygen Builder" version 1.0.0 is automatically included on every request by WordPress
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin180 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP12122546171
JavaScript24546
CSS2043

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.09
Average class complexity1.57
▷ Minimum class complexity1.00
▷ Maximum class complexity3.00
Average method complexity1.17
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods24
▷ Static methods28.33%
▷ Public methods1979.17%
▷ Protected methods00.00%
▷ Private methods520.83%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
No PNG files were detected