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.21MB] [CPU: ▼4.87ms] Passed 4 tests
Server-side resources used by Cyr-To-Lat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 45.49 ▼0.94 |
Dashboard /wp-admin | 3.52 ▲0.18 | 51.03 ▼19.21 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 50.37 ▲5.51 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 96.20 ▼4.82 |
Media Library /wp-admin/upload.php | 3.44 ▲0.22 | 42.59 ▲8.90 |
Cyr To Lat /wp-admin/options-general.php?page=cyr-to-lat | 3.39 | 46.97 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 64 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cyr-To-Lat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.38 ▼0.80 | 3.97 ▲2.05 | 40.33 ▼5.07 |
Dashboard /wp-admin | 2,210 ▲19 | 4.83 ▼0.07 | 111.22 ▼4.61 | 41.62 ▼0.70 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.01 | 39.36 ▲3.19 | 38.40 ▲4.19 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.04 ▲4.90 | 586.75 ▼44.54 | 65.76 ▲14.74 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.22 ▲0.04 | 103.58 ▲0.31 | 44.02 ▼1.35 |
Cyr To Lat /wp-admin/options-general.php?page=cyr-to-lat | 9,386 | 2.50 | 113.23 | 41.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/cyr2lat/src/php/WPCli.php:28
- > PHP Fatal error
Uncaught Error: Class 'CyrToLat\\WP_Background_Processing\\WP_Background_Process' not found in wp-content/plugins/cyr2lat/src/php/BackgroundProcesses/ConversionProcess.php:16
- > PHP Fatal error
Uncaught Error: Interface 'CyrToLat\\Settings\\Abstracts\\SettingsInterface' not found in wp-content/plugins/cyr2lat/src/php/Settings/Settings.php:19
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Finder\\Finder' not found in wp-content/plugins/cyr2lat/bin/wp-background-processing.scoper.php:24
- > PHP Fatal error
Uncaught Error: Class 'CyrToLat\\Settings\\PluginSettingsBase' not found in wp-content/plugins/cyr2lat/src/php/Settings/SystemInfo.php:18
- > PHP Fatal error
Uncaught Error: Class 'CyrToLat\\BackgroundProcesses\\ConversionProcess' not found in wp-content/plugins/cyr2lat/src/php/BackgroundProcesses/TermConversionProcess.php:16
- > PHP Fatal error
Uncaught Error: Class 'CyrToLat\\BackgroundProcesses\\ConversionProcess' not found in wp-content/plugins/cyr2lat/src/php/BackgroundProcesses/PostConversionProcess.php:16
- > PHP Fatal error
Uncaught Error: Class 'CyrToLat\\Settings\\Abstracts\\SettingsBase' not found in wp-content/plugins/cyr2lat/src/php/Settings/PluginSettingsBase.php:17
- > PHP Parse error
syntax error, unexpected '|', expecting variable (T_VARIABLE) in wp-content/plugins/cyr2lat/libs/polyfill-mbstring/bootstrap80.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Finder\\Finder' not found in wp-content/plugins/cyr2lat/bin/polyfill-mbstring.scoper.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
cyr2lat/cyr-to-lat.php 77% from 13 tests
The main PHP script in "Cyr-To-Lat" version 6.0.5 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cyr2lat.php" instead of "cyr-to-lat.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 165 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected9,435 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 989 | 2,863 | 8,800 |
CSS | 8 | 79 | 2 | 451 |
Bourne Again Shell | 2 | 23 | 11 | 79 |
JavaScript | 6 | 11 | 14 | 59 |
SVG | 3 | 0 | 1 | 41 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 15.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 172.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 4 | 9.52% |
▷ Concrete classes | 38 | 90.48% |
▷ Final classes | 1 | 2.63% |
Methods | 349 | |
▷ Static methods | 65 | 18.62% |
▷ Public methods | 207 | 59.31% |
▷ Protected methods | 98 | 28.08% |
▷ Private methods | 44 | 12.61% |
Functions | 88 | |
▷ Named functions | 77 | 87.50% |
▷ Anonymous functions | 11 | 12.50% |
Constants | 51 | |
▷ Global constants | 15 | 29.41% |
▷ Class constants | 36 | 70.59% |
▷ Public constants | 36 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected