89% better-rtl-support

Code Review | Better RTL Support

WordPress plugin Better RTL Support scored89%from 54 tests.

About plugin

  • Plugin page: better-rtl-support
  • Plugin version: 2.1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.4.1
  • WordPress version: 6.3.1
  • First release: Aug 22, 2018
  • Latest release: Nov 16, 2023
  • Number of updates: 24
  • Update frequency: every 82.4 days
  • Top authors: salar6990 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active /14,770 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
This plugin's installer ran successfully

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

A check of server-side resources used by Better RTL Support
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0335.53 ▼6.43
Dashboard /wp-admin3.33 ▼0.0243.95 ▼17.82
Posts /wp-admin/edit.php3.39 ▲0.0244.92 ▼1.72
Add New Post /wp-admin/post-new.php5.92 ▲0.0289.79 ▲3.35
Media Library /wp-admin/upload.php3.26 ▲0.0233.63 ▼0.23
پرش به محتوای اصلیرفتن به نوار ابزاردرباره وردپرسوردپرس22 به‌روزرسانی پوسته00 دیدگاه در حالت رسیدگیتازهسلام adminبیرون رفتنراهنماPlugins Better RTL Support better-rtl-en_US.po EditorSourceFile infoRestoreRelocateDeleteEnglish (United States) Updated: آوریل 3, 2020 8:18 ب.ظ – 67% translated, 6 strings (2 untranslated)Save Sync Revert Fuzzy Filter translationsPO MOSource textTranslationBetter RTL Supporthttp://salar.onehttps://github.com/salar90/better-rtl-supportMake Themes & plugins more readable in Persian language by changing fonts and tweaking styles.RTL SettingsSalar GholizadehBetter RTL Supporthttp://salar.onehttps://github.com/salar90/better-rtl-supportMake Themes & plugins more readable in Persian language by changing fonts and tweaking styles.Source text:RTL SettingsEnglish (United States) translation:Comments:Loco Translate is powered by Locov2.3.20٫06s▲ /wp-admin/themes.php?page=rtl-settings3.3728.79

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Better RTL Support
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,826 ▲6414.14 ▲0.231.82 ▲0.1943.52 ▼1.39
Dashboard /wp-admin2,202 ▲225.63 ▲0.0192.71 ▼8.5046.84 ▲4.73
Posts /wp-admin/edit.php2,107 ▲71.94 ▼0.0240.42 ▲4.6144.82 ▲9.67
Add New Post /wp-admin/post-new.php1,529 ▼023.21 ▼0.12618.21 ▼42.1456.38 ▲7.58
Media Library /wp-admin/upload.php1,407 ▲44.19 ▲0.0399.28 ▼0.0153.04 ▲10.85
پرش به محتوای اصلیرفتن به نوار ابزاردرباره وردپرسوردپرس22 به‌روزرسانی پوسته00 دیدگاه در حالت رسیدگیتازهسلام adminبیرون رفتنراهنماPlugins Better RTL Support better-rtl-en_US.po EditorSourceFile infoRestoreRelocateDeleteEnglish (United States) Updated: آوریل 3, 2020 8:18 ب.ظ – 67% translated, 6 strings (2 untranslated)Save Sync Revert Fuzzy Filter translationsPO MOSource textTranslationBetter RTL Supporthttp://salar.onehttps://github.com/salar90/better-rtl-supportMake Themes & plugins more readable in Persian language by changing fonts and tweaking styles.RTL SettingsSalar GholizadehBetter RTL Supporthttp://salar.onehttps://github.com/salar90/better-rtl-supportMake Themes & plugins more readable in Persian language by changing fonts and tweaking styles.Source text:RTL SettingsEnglish (United States) translation:Comments:Loco Translate is powered by Locov2.3.20٫06s▲ /wp-admin/themes.php?page=rtl-settings8232.0023.0851.76

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% 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
Please fix the following attributes: You can take inspiration from this readme.txt

better-rtl-support/better-rtl-support.php 92% from 13 tests

"Better RTL Support" version 2.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • 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

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
Success! There were no dangerous files found in this plugin1,105 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
CSS223761
Sass190154
PO File21212100
PHP4211384
Markdown1406

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.12
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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 images were found in this plugin