84% jquery-remove-upcase-accents

Code Review | jQuery Remove Uppercase Accents

WordPress plugin jQuery Remove Uppercase Accents scored84%from 54 tests.

About plugin

  • Plugin page: jquery-remove-upc...
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.0
  • WordPress version: 6.3.1
  • First release: Sep 11, 2014
  • Latest release: Sep 11, 2014
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: ebababi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,340 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: ▼6.56ms] Passed 4 tests

Server-side resources used by jQuery Remove Uppercase Accents
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0036.14 ▼6.00
Dashboard /wp-admin3.31 ▲0.0145.26 ▼1.26
Posts /wp-admin/edit.php3.36 ▲0.0042.94 ▼2.85
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.40 ▼16.13
Media Library /wp-admin/upload.php3.23 ▲0.0038.70 ▲5.89

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for jQuery Remove Uppercase Accents
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,920 ▲15913.78 ▼0.5717.03 ▲15.2841.25 ▼2.47
Dashboard /wp-admin2,195 ▲155.63 ▼0.0294.65 ▲10.5542.69 ▼0.13
Posts /wp-admin/edit.php2,097 ▼32.00 ▲0.0536.60 ▼0.3737.94 ▼0.23
Add New Post /wp-admin/post-new.php1,679 ▲15322.20 ▼0.75664.97 ▼8.0945.87 ▼11.69
Media Library /wp-admin/upload.php1,400 ▼04.20 ▲0.0197.59 ▼2.9044.32 ▼0.47

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
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jquery-remove-upcase-accents/jquery-remove-upcase-accents.php:36

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: accents, uppercase, jquery, greek

jquery-remove-upcase-accents/jquery-remove-upcase-accents.php Passed 13 tests

"jQuery Remove Uppercase Accents" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
134 characters long description:
Automatically removes accented characters (currently greek) from elements having their text content uppercase transformed through CSS.

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
Success! There were no dangerous files found in this plugin77 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript172667
PHP162110

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
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
There are no PNG files in this plugin