79% acf-rus-to-lat

Code Review | ACF: Rus-To-Lat

WordPress plugin ACF: Rus-To-Lat scored79%from 54 tests.

About plugin

  • Plugin page: acf-rus-to-lat
  • Plugin version: 2.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.0.0
  • WordPress version: 6.3.1
  • First release: Aug 31, 2016
  • Latest release: Nov 19, 2018
  • Number of updates: 16
  • Update frequency: every 51.1 days
  • Top authors: andreykashops (68.75%)preslilvs (25%)sovacode (18.75%)

Code review

54 tests

User reviews

1 review

Install metrics

3,000+ active /189,150 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▼1.12MB] [CPU: ▼37.83ms] Passed 4 tests

A check of server-side resources used by ACF: Rus-To-Lat
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0034.95 ▼1.48
Dashboard /wp-admin2.82 ▼0.4823.23 ▼24.83
Posts /wp-admin/edit.php2.82 ▼0.5318.79 ▼27.52
Add New Post /wp-admin/post-new.php2.82 ▼3.0617.70 ▼81.39
Media Library /wp-admin/upload.php2.82 ▼0.4118.45 ▼17.57

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

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

Browser metrics Passed 4 tests

ACF: Rus-To-Lat: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,852 ▲10613.30 ▼1.091.54 ▼0.1125.96 ▼15.29
Dashboard /wp-admin2,243 ▲605.90 ▲0.98101.49 ▼4.1084.50 ▲42.31
Posts /wp-admin/edit.php2,144 ▲522.16 ▲0.1740.97 ▲3.2339.59 ▲7.63
Add New Post /wp-admin/post-new.php1,575 ▲4218.28 ▼5.15733.66 ▲48.0965.48 ▲6.48
Media Library /wp-admin/upload.php1,440 ▲494.27 ▲0.0199.10 ▼4.4876.18 ▲31.03

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin cannot be uninstalled
    • > Warning in wp-admin/includes/plugin.php+294
    opendir(wp-content/plugins/../mu-plugins): failed to open dir: No such file or directory
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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
Everything seems fine, however this is by no means an exhaustive test

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 90% from 29 tests

readme.txt 88% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: Please add an image for screenshot #1 (Converts Cyrillic characters in field name to Latin characters.)
  • Tags: You are using too many tags: 11 tag instead of maximum 10
You can look at the official readme.txt

acf-rus-to-lat/acf-rus-to-lat.php 92% from 13 tests

The entry point to "ACF: Rus-To-Lat" version 2.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 206 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
Good job! No executable or dangerous file extensions detected414 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP2115168345
CSS111069

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity23.00
▷ Minimum class complexity2.00
▷ Maximum class complexity44.00
Average method complexity2.83
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods24
▷ Static methods28.33%
▷ Public methods1041.67%
▷ Protected methods00.00%
▷ Private methods1458.33%
Functions0
▷ Named functions00.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
1 PNG file occupies 0.13MB with 0.08MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png134.43KB53.97KB▼ 59.86%