90% rtl-tester-mirror

Code Review | RTL Tester Mirror

WordPress plugin RTL Tester Mirror scored90%from 54 tests.

About plugin

  • Plugin page: rtl-tester-mirror
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-6.2
  • WordPress version: 6.3.1
  • First release: Mar 18, 2016
  • Latest release: May 25, 2023
  • Number of updates: 27
  • Update frequency: every 97.2 days
  • Top authors: webmandesign (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /4,367 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▼0.00MB] [CPU: ▼1.30ms] Passed 4 tests

Analyzing server-side resources used by RTL Tester Mirror
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0146.08 ▲5.91
Dashboard /wp-admin3.32 ▼0.0345.62 ▼15.44
Posts /wp-admin/edit.php3.37 ▲0.0151.13 ▲3.79
Add New Post /wp-admin/post-new.php5.90 ▲0.0193.07 ▲6.49
Media Library /wp-admin/upload.php3.24 ▲0.0135.30 ▲0.56

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by RTL Tester Mirror
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2914.48 ▼0.101.73 ▼0.0538.30 ▼1.31
Dashboard /wp-admin2,209 ▲174.84 ▼0.09106.11 ▼9.3041.28 ▲3.45
Posts /wp-admin/edit.php2,089 ▼01.96 ▼0.0438.34 ▲4.1334.66 ▲1.16
Add New Post /wp-admin/post-new.php1,536 ▲2223.34 ▲5.94628.01 ▲18.7456.08 ▲18.97
Media Library /wp-admin/upload.php1,388 ▼04.17 ▼0.0093.24 ▼7.9840.96 ▼3.50

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: rtl, mirror, right to left, layout, webman...

rtl-tester-mirror/rtl-tester-mirror.php 92% from 13 tests

The principal PHP file in "RTL Tester Mirror" v. 1.0.4 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 162 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin101 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
Markdown336042
PHP1304237
PO File11122

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.17
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin