84% wordpress-special-characters-in-usernames

Code Review | Wordpress Special Characters in Usernames

WordPress plugin Wordpress Special Characters in Usernames scored84%from 54 tests.

About plugin

  • Plugin page: wordpress-special...
  • Plugin version: 2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.9
  • WordPress version: 6.3.1
  • First release: Dec 14, 2011
  • Latest release: Feb 6, 2022
  • Number of updates: 42
  • Update frequency: every 88.3 days
  • Top authors: ClaudeSchlesser (100%)

Code review

54 tests

User reviews

14 reviews

Install metrics

2,000+ active /29,610 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼4.29ms] Passed 4 tests

This is a short check of server-side resources used by Wordpress Special Characters in Usernames
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.78 ▲0.0448.79 ▲4.30
Dashboard /wp-admin3.61 ▼0.0246.45 ▼19.02
Posts /wp-admin/edit.php3.73 ▲0.0551.22 ▼3.74
Add New Post /wp-admin/post-new.php6.19 ▲0.05103.08 ▲1.96
Media Library /wp-admin/upload.php3.54 ▲0.0542.72 ▲3.63
WSCU Settings /wp-admin/options-general.php?page=wordpress-special-characters-in-usernames3.5036.23

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Wordpress Special Characters in Usernames
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.26 ▲0.081.86 ▲0.3444.77 ▲0.74
Dashboard /wp-admin2,202 ▲255.60 ▼0.1091.77 ▼6.8644.03 ▼3.12
Posts /wp-admin/edit.php2,104 ▲12.00 ▼0.0540.66 ▼1.8234.48 ▼2.84
Add New Post /wp-admin/post-new.php1,543 ▲723.41 ▲0.19682.45 ▲13.0154.75 ▲3.85
Media Library /wp-admin/upload.php1,395 ▼54.30 ▲0.0098.83 ▼6.1042.90 ▼7.25
WSCU Settings /wp-admin/options-general.php?page=wordpress-special-characters-in-usernames1,0392.1524.8130.77

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget

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
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please fix the following
  • 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/wordpress-special-characters-in-usernames/wordpress-special-characters-in-usernames.php:265

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: russian usernames, registration, arabic, cyrillic usernames, russian...

wordpress-special-characters-in-usernames/wordpress-special-characters-in-usernames.php Passed 13 tests

Analyzing the main PHP file in "Wordpress Special Characters in Usernames" version 2.0
102 characters long description:
Enables usernames containing special characters (russian, cyrillic, arabic ...) on your Wordpress Blog

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected321 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13151321

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.43
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected