90% remove-uppercase-accents

Code Review | Remove Uppercase Accents

WordPress plugin Remove Uppercase Accents scored90%from 54 tests.

About plugin

  • Plugin page: remove-uppercase-...
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Sep 11, 2013
  • Latest release: Dec 29, 2022
  • Number of updates: 32
  • Update frequency: every 106.1 days
  • Top authors: gsarig (100%)

Code review

54 tests

User reviews

28 reviews

Install metrics

7,000+ active /21,457 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.11MB] [CPU: ▼5.81ms] Passed 4 tests

A check of server-side resources used by Remove Uppercase Accents
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1140.89 ▲1.78
Dashboard /wp-admin3.42 ▲0.1242.05 ▼3.00
Posts /wp-admin/edit.php3.54 ▲0.1845.38 ▼7.34
Add New Post /wp-admin/post-new.php6.00 ▲0.1184.61 ▼12.78
Media Library /wp-admin/upload.php3.35 ▲0.1134.16 ▼0.10
Remove Uppercase Accents /wp-admin/options-general.php?page=remove-uppercase-accents3.3132.12

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Remove Uppercase Accents
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,943 ▲20813.79 ▼0.5714.24 ▲12.3448.76 ▼0.68
Dashboard /wp-admin2,210 ▲194.86 ▼0.01108.06 ▲0.7742.65 ▼2.07
Posts /wp-admin/edit.php2,096 ▲72.02 ▲0.0135.65 ▼7.0230.88 ▼4.11
Add New Post /wp-admin/post-new.php1,517 ▼1617.67 ▼5.78660.57 ▼9.1053.02 ▼15.51
Media Library /wp-admin/upload.php1,389 ▼24.20 ▼0.02101.82 ▲2.4846.12 ▲2.51
Remove Uppercase Accents /wp-admin/options-general.php?page=remove-uppercase-accents1,1232.0725.8451.76

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: uppercase, text transform, accents, greek

remove-uppercase-accents/remove-uppercase-accents.php 92% from 13 tests

This is the main PHP file of "Remove Uppercase Accents" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 301 characters long)

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
No dangerous file extensions were detected1,159 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP65847467
PO File15253272
JavaScript31913151
CSS1310137
JSON100132

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity20.00
▷ Minimum class complexity12.00
▷ Maximum class complexity28.00
Average method complexity2.81
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods21
▷ Static methods29.52%
▷ Public methods21100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
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

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