83% hindi-to-lat

Code Review | Hindi-To-Lat

WordPress plugin Hindi-To-Lat scored 83% from 54 tests.

About plugin

  • Plugin page: hindi-to-lat
  • Plugin version: 1.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.5
  • WordPress version: 6.3.1
  • First release: Sep 2, 2020
  • Latest release: Sep 2, 2020
  • Number of updates: 6
  • Update frequency: every 0.2 days
  • Top authors: dilip111 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 1,457 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼3.86ms] Passed 4 tests

This is a short check of server-side resources used by Hindi-To-Lat
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0639.32 ▲1.53
Dashboard /wp-admin3.36 ▲0.0645.71 ▼3.66
Posts /wp-admin/edit.php3.41 ▲0.0644.58 ▼3.84
Add New Post /wp-admin/post-new.php5.94 ▲0.0681.39 ▼8.37
Media Library /wp-admin/upload.php3.29 ▲0.0635.89 ▲0.42

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Hindi-To-Lat
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.48 ▲0.071.58 ▼0.1239.74 ▼3.52
Dashboard /wp-admin2,203 ▲124.85 ▼0.0499.27 ▼2.5241.86 ▲1.86
Posts /wp-admin/edit.php2,086 ▼32.02 ▲0.0036.10 ▲0.0435.40 ▼0.54
Add New Post /wp-admin/post-new.php1,534 ▼823.41 ▲5.02653.52 ▲6.3152.71 ▲0.33
Media Library /wp-admin/upload.php1,388 ▲34.22 ▲0.0396.97 ▼5.5041.96 ▼4.45

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • 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 everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at 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/hindi-to-lat/hindi-to-lat.php:498

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Screenshots: These screenshots do not have images: #1 (screenshot-1.png), #2 (screenshot-2.png)
You can look at the official readme.txt

hindi-to-lat/hindi-to-lat.php 92% from 13 tests

The primary PHP file in "Hindi-To-Lat" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 229 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin495 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11319495

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin