90% latin-now

Code Review | Latin Now!

WordPress plugin Latin Now! scored90%from 54 tests.

About plugin

  • Plugin page: latin-now
  • Plugin version: 2.1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Mar 21, 2020
  • Latest release: Mar 6, 2023
  • Number of updates: 9
  • Update frequency: every 120.1 days
  • Top authors: ilovecats7 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,024 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.25ms] Passed 4 tests

A check of server-side resources used by Latin Now!
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0238.39 ▼1.49
Dashboard /wp-admin3.33 ▲0.0349.48 ▼2.11
Posts /wp-admin/edit.php3.39 ▲0.0245.68 ▼1.47
Add New Post /wp-admin/post-new.php5.92 ▲0.0283.25 ▼15.91
Media Library /wp-admin/upload.php3.26 ▲0.0236.47 ▲1.03

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Latin Now!
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.37 ▼0.121.62 ▼0.0442.97 ▲1.06
Dashboard /wp-admin2,195 ▲185.60 ▼0.0487.11 ▼2.8046.17 ▲10.80
Posts /wp-admin/edit.php2,100 ▼02.02 ▲0.0537.98 ▲1.2332.15 ▼1.47
Add New Post /wp-admin/post-new.php1,526 ▼023.05 ▼0.07692.61 ▲28.1855.21 ▲3.14
Media Library /wp-admin/upload.php1,400 ▲34.18 ▼0.0295.98 ▼5.4345.87 ▼1.31

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
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

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
6 plugin tags: latin, cyrillic, serbian, admin, transliteration...

latin-now/latin-now.php Passed 13 tests

"Latin Now!" version 2.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
88 characters long description:
Converts Serbian Cyrillic characters into the Latin alphabet. No configuration required.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected68 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP181149
PO File13519

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.55
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%
Constants4
▷ Global constants4100.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
There are no PNG files in this plugin