84% hebrew-username

Code Review | Hebrew username

WordPress plugin Hebrew username scored84%from 54 tests.

About plugin

  • Plugin page: hebrew-username
  • Plugin version: 1...
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7.0-4.4
  • WordPress version: 6.3.1
  • First release: Jan 4, 2016
  • Latest release: Jan 4, 2016
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: drmosko (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /3,565 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

An overview of server-side resources used by Hebrew username
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0137.15 ▼7.07
Dashboard /wp-admin3.31 ▲0.0143.93 ▼3.97
Posts /wp-admin/edit.php3.36 ▲0.0045.35 ▼1.89
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.93 ▼17.91
Media Library /wp-admin/upload.php3.23 ▲0.0032.70 ▲0.79

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Hebrew username
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.24 ▼1.214.51 ▲2.2137.63 ▼2.17
Dashboard /wp-admin2,206 ▲185.82 ▲0.90101.07 ▼8.2438.60 ▼1.70
Posts /wp-admin/edit.php2,086 ▼32.06 ▼0.1135.53 ▼4.1330.13 ▼5.56
Add New Post /wp-admin/post-new.php1,538 ▼423.13 ▲4.95670.72 ▲27.0353.98 ▲3.59
Media Library /wp-admin/upload.php1,391 ▲64.24 ▲0.0395.95 ▼4.4142.06 ▼3.54

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/hebrew-username/hebrew-username.php:13

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

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: sanitize, hebrew, username, jewish, user

hebrew-username/hebrew-username.php 92% from 13 tests

Analyzing the main PHP file in "Hebrew username" version 1...
Please make the necessary changes and fix the following:
  • Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "1...")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin15 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1131615

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.11
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%
Functions1
▷ Named functions1100.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 files were detected