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.06MB] [CPU: ▼2.56ms] Passed 4 tests
Server-side resources used by AXP Cyrillic to Latin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.94 ▼0.76 |
Dashboard /wp-admin | 3.36 ▲0.06 | 50.20 ▼10.61 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 51.11 ▲3.90 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 97.10 ▼2.77 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.01 ▲4.71 |
Cyrillic to Latin /wp-admin/options-general.php?page=axp-cyrtolat | 3.25 | 31.92 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
axp-cyrtolat-fields |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AXP Cyrillic to Latin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.72 ▲0.37 | 1.84 ▼0.33 | 43.44 ▲1.00 |
Dashboard /wp-admin | 2,193 ▲16 | 5.55 ▼0.07 | 84.30 ▼4.30 | 40.55 ▼0.74 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.05 | 39.23 ▲2.35 | 36.80 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.72 ▲0.64 | 703.25 ▲13.07 | 52.98 ▼4.06 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.25 ▲0.01 | 97.55 ▼16.03 | 43.31 ▼3.56 |
Cyrillic to Latin /wp-admin/options-general.php?page=axp-cyrtolat | 839 | 2.00 | 24.83 | 27.37 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- axp-cyrtolat-fields
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/axp-cyrtolat/axp-cyrtolat.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
axp-cyrtolat/axp-cyrtolat.php Passed 13 tests
The main PHP script in "AXP Cyrillic to Latin" version 1.0.0 is automatically included on every request by WordPress
62 characters long description:
Converts Cyrillic characters in post slugs to Latin characters
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 detected418 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 31 | 21 | 361 |
PO File | 1 | 16 | 16 | 47 |
Markdown | 1 | 2 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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