Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼8.32ms] Passed 4 tests
A check of server-side resources used by Cyrillic To Latin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 45.33 ▼0.93 |
Dashboard /wp-admin | 3.42 ▲0.11 | 47.47 ▼9.49 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 47.77 ▼5.68 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 88.51 ▼17.19 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 47.17 ▲5.67 |
Convert Cyrillic /wp-admin/options-general.php?page=cyrillic-to-latin | 3.31 | 35.75 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Cyrillic To Latin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.34 ▼1.30 | 4.58 ▲2.56 | 43.62 ▼4.73 |
Dashboard /wp-admin | 2,210 ▲28 | 5.78 ▲0.87 | 101.50 ▼8.34 | 43.55 ▼1.09 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.03 ▼0.03 | 38.36 ▼3.80 | 34.30 ▼1.15 |
Add New Post /wp-admin/post-new.php | 1,536 ▲7 | 23.38 ▲5.34 | 688.81 ▲63.21 | 55.63 ▼0.53 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.25 ▲0.02 | 101.85 ▼4.10 | 44.78 ▼0.00 |
Convert Cyrillic /wp-admin/options-general.php?page=cyrillic-to-latin | 793 | 2.02 | 26.82 | 26.61 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
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
Everything seems fine, however this is by no means 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
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Interface 'Sepia\\InterfaceHandler' not found in wp-content/plugins/cyrillic-to-latin/vendor/sepia/po-parser/src/Sepia/FileHandler.php:35
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/cyrillic-to-latin/vendor/sepia/po-parser/tests/poparserTest.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Sepia\\InterfaceHandler' not found in wp-content/plugins/cyrillic-to-latin/vendor/sepia/po-parser/src/Sepia/StringHandler.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: serbian, jezik, language, latinica, latin...
cyrillic-to-latin/cyrillic-to-latin.php 92% from 13 tests
The main PHP script in "Cyrillic To Latin" version 1.0.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("src/Resources/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin2,343 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 320 | 654 | 1,713 |
PO File | 12 | 87 | 84 | 397 |
JSON | 3 | 0 | 0 | 100 |
Markdown | 2 | 32 | 0 | 89 |
YAML | 2 | 4 | 0 | 36 |
XML | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 23.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 6 | 6.45% |
▷ Public methods | 74 | 79.57% |
▷ Protected methods | 14 | 15.05% |
▷ Private methods | 5 | 5.38% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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