Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.93ms] Passed 4 tests
An overview of server-side resources used by Uni Localize
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 34.45 ▼9.59 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.80 ▼2.56 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 48.18 ▲1.41 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 84.95 ▼9.83 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.48 ▼1.72 |
Server storage [IO: ▲12.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 1,591 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_uni_lang_menu_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Uni Localize
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲156 | 15.69 ▲1.11 | 2.74 ▲0.95 | 37.79 ▼9.20 |
Dashboard /wp-admin | 2,226 ▲41 | 6.20 ▲0.29 | 99.62 ▼0.95 | 40.39 ▼4.66 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 3.16 ▲1.00 | 41.83 ▲0.63 | 35.36 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,374 ▼140 | 17.29 ▼0.19 | 551.91 ▼59.82 | 28.38 ▼31.10 |
Media Library /wp-admin/upload.php | 1,420 ▲35 | 5.57 ▲1.37 | 95.45 ▲0.17 | 41.07 ▲0.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_uni_lang_menu_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/uni-localize/widgets/lang-menu/templates/customization/translate.php
- > /wp-content/plugins/uni-localize/widgets/lang-menu/templates/customization/customize.php
- > /wp-content/plugins/uni-localize/widgets/lang-menu/i18n/list.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
uni-localize/uni-localize.php 92% from 13 tests
The primary PHP file in "Uni Localize" version 1.1.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 272 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected54,420 lines of code in 1,008 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 514 | 0 | 0 | 35,026 |
JavaScript | 421 | 380 | 1,545 | 16,180 |
TypeScript | 45 | 33 | 337 | 2,248 |
PHP | 13 | 111 | 68 | 745 |
JSON | 11 | 1 | 0 | 131 |
CSS | 3 | 13 | 1 | 50 |
Markdown | 1 | 24 | 0 | 40 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 48.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 12.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin