Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.24MB] [CPU: ▼4.76ms] Passed 4 tests
A check of server-side resources used by Cyrlitera – transliteration of links and file names
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 41.80 ▼4.20 |
Dashboard /wp-admin | 3.62 ▲0.28 | 49.17 ▼14.97 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 54.81 ▲5.88 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 94.23 ▼0.87 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.01 ▲0.99 |
Cyrlitera /wp-admin/options-general.php?page=transliteration-wbcr_cyrlitera | 4.11 | 337.45 |
Server storage [IO: ▲1.42MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 232 new files
Database: no new tables, 11 new options
New WordPress options |
---|
wbcr_cyrlitera_use_transliteration |
widget_recent-posts |
wbcr_cyrlitera_filename_to_lowercase |
widget_theysaidso_widget |
wbcr_cyrlitera_use_transliteration_filename |
db_upgraded |
wbcr_cyrlitera_plugin_version |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Cyrlitera – transliteration of links and file names: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲91 | 14.25 ▼0.02 | 1.76 ▲0.02 | 36.79 ▼7.32 |
Dashboard /wp-admin | 2,252 ▲75 | 5.62 ▼0.03 | 92.40 ▼0.20 | 41.53 ▲1.10 |
Posts /wp-admin/edit.php | 2,167 ▲64 | 2.05 ▲0.05 | 38.54 ▼0.13 | 35.71 ▲4.63 |
Add New Post /wp-admin/post-new.php | 1,561 ▲197 | 23.35 ▲7.04 | 681.33 ▲174.55 | 52.97 ▲6.00 |
Media Library /wp-admin/upload.php | 1,437 ▲46 | 4.21 ▲0.02 | 97.24 ▼4.27 | 42.47 ▼4.46 |
Cyrlitera /wp-admin/options-general.php?page=transliteration-wbcr_cyrlitera | 1,398 | 2.36 | 37.75 | 38.20 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WBCR\\Factory_Templates_126\\Pages\\Step' not found in wp-content/plugins/cyrlitera/libs/factory/templates/pages/setup-parts/class-step-form.php:11
- > PHP Fatal error
Uncaught Error: Class 'WBCR\\Factory_Templates_126\\Pages\\Step' not found in wp-content/plugins/cyrlitera/libs/factory/templates/pages/setup-parts/class-step-custom.php:11
- > PHP Fatal error
Uncaught Error: Class 'Wbcr_FactoryForms469_FontControl' not found in wp-content/plugins/cyrlitera/libs/factory/forms/controls/google-font.php:18
- > PHP Fatal error
Uncaught Error: Class 'Wbcr_Factory473_Update' not found in wp-content/plugins/cyrlitera/migrations/010004.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please a description for screenshot #3 in cyrlitera/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
cyrlitera/cyrlitera.php 92% from 13 tests
The main PHP file in "Cyrlitera – transliteration of links and file names" ver. 1.1.8 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 152 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin19,130 lines of code in 173 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 114 | 3,126 | 7,298 | 11,069 |
CSS | 25 | 166 | 251 | 2,570 |
LESS | 6 | 409 | 91 | 1,973 |
JSON | 1 | 0 | 0 | 1,810 |
PO File | 10 | 336 | 656 | 1,060 |
JavaScript | 16 | 191 | 200 | 646 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 15.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 2 | |
Traits | 1 | |
Classes | 97 | |
▷ Abstract classes | 16 | 16.49% |
▷ Concrete classes | 81 | 83.51% |
▷ Final classes | 0 | 0.00% |
Methods | 690 | |
▷ Static methods | 33 | 4.78% |
▷ Public methods | 521 | 75.51% |
▷ Protected methods | 140 | 20.29% |
▷ Private methods | 29 | 4.20% |
Functions | 36 | |
▷ Named functions | 20 | 55.56% |
▷ Anonymous functions | 16 | 44.44% |
Constants | 48 | |
▷ Global constants | 41 | 85.42% |
▷ Class constants | 7 | 14.58% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/factory/templates/pages/templates/impressive/assets/img/5-stars22.png | 3.51KB | 0.70KB | ▼ 79.99% |
libs/factory/templates/pages/templates/impressive-lite/assets/img/webcraftic-plugin-icon.png | 1.97KB | 0.75KB | ▼ 61.79% |
libs/factory/templates/pages/templates/impressive-lite/assets/img/5-stars22.png | 3.51KB | 0.70KB | ▼ 79.99% |
libs/factory/templates/pages/templates/impressive/assets/img/webcraftic-plugin-icon.png | 1.97KB | 0.75KB | ▼ 61.79% |
libs/factory/templates/pages/templates/impressive-lite/assets/img/paypal-donate.png | 12.44KB | 4.99KB | ▼ 59.88% |