Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼1.12MB] [CPU: ▼35.93ms] Passed 4 tests
An overview of server-side resources used by Cyr to Lat reloaded – transliteration of links and file names
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.42 ▼3.27 |
Dashboard /wp-admin | 2.82 ▼0.48 | 19.65 ▼27.20 |
Posts /wp-admin/edit.php | 2.83 ▼0.53 | 21.87 ▼26.77 |
Add New Post /wp-admin/post-new.php | 2.83 ▼3.06 | 18.77 ▼74.59 |
Media Library /wp-admin/upload.php | 2.83 ▼0.40 | 19.86 ▼15.17 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
wbcr_cyrandlat_an__activated_on |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Cyr to Lat reloaded – transliteration of links and file names
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲129 | 13.17 ▼1.36 | 1.59 ▼0.20 | 44.24 ▼1.81 |
Dashboard /wp-admin | 2,270 ▲79 | 6.01 ▲0.13 | 108.67 ▲10.28 | 45.52 ▲1.16 |
Posts /wp-admin/edit.php | 2,156 ▲70 | 2.17 ▲0.03 | 42.24 ▲7.55 | 38.34 ▲7.99 |
Add New Post /wp-admin/post-new.php | 1,588 ▲51 | 23.63 ▲0.73 | 670.98 ▲29.28 | 48.45 ▼20.10 |
Media Library /wp-admin/upload.php | 1,452 ▲64 | 4.33 ▲0.09 | 105.52 ▲8.31 | 50.27 ▲8.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > 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 did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/cyr-and-lat/includes/admin-notices.php
- > /wp-content/plugins/cyr-and-lat/includes/functions.php
- > /wp-content/plugins/cyr-and-lat/includes/plugins/acf.php
- > /wp-content/plugins/cyr-and-lat/cyr-and-lat.php
- > /wp-content/plugins/cyr-and-lat/includes/plugins/asgaros.php
- > /wp-content/plugins/cyr-and-lat/includes/plugins/buddypress.php
- > /wp-content/plugins/cyr-and-lat/includes/3rd-party.php
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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
cyr-and-lat/cyr-and-lat.php 92% from 13 tests
The main file in "Cyr to Lat reloaded – transliteration of links and file names" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 161 characters long)
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
No dangerous file extensions were detected834 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 157 | 244 | 799 |
JavaScript | 1 | 7 | 1 | 35 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 26.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 11 | 44.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 56.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/ctr-reloaded-video_03.png | 21.47KB | 7.70KB | ▼ 64.12% |