Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲1.61MB] [CPU: ▲61.24ms] 75% from 4 tests
A check of server-side resources used by Transliterator
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 521.41ms on /wp-admin/options-general.php?page=serbian-transliteration)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.82 ▲1.36 | 119.15 ▲81.24 |
Dashboard /wp-admin | 5.02 ▲1.72 | 101.23 ▲54.07 |
Posts /wp-admin/edit.php | 5.06 ▲1.70 | 109.83 ▲63.63 |
Add New Post /wp-admin/post-new.php | 7.65 ▲1.77 | 152.58 ▲63.42 |
Media Library /wp-admin/upload.php | 4.89 ▲1.66 | 97.26 ▲63.84 |
Transliteration /wp-admin/options-general.php?page=serbian-transliteration | 5.03 | 521.41 |
Server storage [IO: ▲1.97MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 108 new files
Database: no new tables, 11 new options
New WordPress options |
---|
serbian-transliteration-ID |
serbian-transliteration |
widget_recent-posts |
serbian-transliteration-activation |
theysaidso_admin_options |
serbian-transliteration-term-script |
can_compress_scripts |
rstr-script_children |
widget_recent-comments |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Transliterator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲43 | 14.57 ▲0.25 | 1.62 ▼0.17 | 38.12 ▼6.41 |
Dashboard /wp-admin | 2,202 ▲30 | 5.59 ▼0.07 | 98.97 ▼14.74 | 42.25 ▼2.64 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 1.98 ▲0.02 | 40.27 ▲0.75 | 35.18 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 21.11 ▼2.05 | 643.34 ▼24.00 | 50.87 ▼1.21 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.14 ▼0.08 | 133.43 ▲21.47 | 57.03 ▲10.00 |
Transliteration /wp-admin/options-general.php?page=serbian-transliteration | 1,977 | 1.72 | 26.78 | 51.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- rstr-script_children
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
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
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 items
- 63× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/serbian-transliteration/inc/transliteration/bel.php
- > /wp-content/plugins/serbian-transliteration/inc/transliteration/bs_BA.php
- > /wp-content/plugins/serbian-transliteration/inc/plugins/elementor.php
- > /wp-content/plugins/serbian-transliteration/inc/transliteration/kk.php
- > /wp-content/plugins/serbian-transliteration/inc/settings/sidebar.php
- > /wp-content/plugins/serbian-transliteration/inc/plugins/data-tables-generator-by-supsystic.php
- > /wp-content/plugins/serbian-transliteration/serbian-transliteration.php
- > /wp-content/plugins/serbian-transliteration/inc/Statistic.php
- > /wp-content/plugins/serbian-transliteration/inc/transliteration/cnr.php
- > /wp-content/plugins/serbian-transliteration/inc/Functions.php
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 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
serbian-transliteration/serbian-transliteration.php Passed 13 tests
The entry point to "Transliterator" version 1.11.3 is a PHP file that has certain tags in its header comment area
86 characters long description:
All in one Cyrillic to Latin transliteration plugin for WordPress that actually works.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin14,794 lines of code in 78 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 65 | 1,397 | 1,934 | 8,067 |
PO File | 7 | 2,145 | 2,454 | 5,964 |
CSS | 3 | 96 | 25 | 458 |
JavaScript | 3 | 50 | 63 | 305 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 22.80 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 180.00 |
Average method complexity | 3.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 50 | 100.00% |
▷ Final classes | 1 | 2.00% |
Methods | 337 | |
▷ Static methods | 155 | 45.99% |
▷ Public methods | 313 | 92.88% |
▷ Protected methods | 8 | 2.37% |
▷ Private methods | 16 | 4.75% |
Functions | 92 | |
▷ Named functions | 27 | 29.35% |
▷ Anonymous functions | 65 | 70.65% |
Constants | 23 | |
▷ Global constants | 23 | 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
No PNG files were detected