Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲5.29MB] [CPU: ▲11.64ms] 75% from 4 tests
An overview of server-side resources used by WordPress Translation plugin for Post, Pages & WooCommerce products. Tranzly IO AI DeepL automatic WordPress Translator.
Please take the time to fix the following items
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.29MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.29 ▲5.82 | 58.94 ▲23.90 |
Dashboard /wp-admin | 9.31 ▲5.96 | 72.31 ▲13.21 |
Posts /wp-admin/edit.php | 9.31 ▲5.95 | 79.82 ▲36.98 |
Add New Post /wp-admin/post-new.php | 9.31 ▲3.42 | 69.89 ▼22.60 |
Media Library /wp-admin/upload.php | 9.31 ▲6.08 | 66.95 ▲32.05 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 9.31 | 58.57 |
Server storage [IO: ▲5.49MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 299 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
fs_active_plugins |
widget_tranzly_language_switcher |
fs_gdpr |
fs_accounts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordPress Translation plugin for Post, Pages & WooCommerce products. Tranzly IO AI DeepL automatic WordPress Translator.
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲196 | 13.54 ▼0.99 | 9.15 ▲7.27 | 29.76 ▼8.61 |
Dashboard /wp-admin | 2,237 ▲57 | 5.81 ▲0.26 | 96.64 ▲7.14 | 43.92 ▲2.26 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.27 ▲0.25 | 36.14 ▼3.77 | 35.52 ▼1.14 |
Add New Post /wp-admin/post-new.php | 1,848 ▲320 | 23.30 ▲0.26 | 659.37 ▼10.23 | 55.78 ▼13.84 |
Media Library /wp-admin/upload.php | 1,445 ▲45 | 4.44 ▲0.25 | 95.62 ▼0.09 | 42.87 ▼1.22 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 1,097 | 1.97 | 24.58 | 38.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/tranzly/freemius/includes/class-freemius.php+8772
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 11 options in the database
- theysaidso_admin_options
- fs_accounts
- widget_recent-posts
- widget_tranzly_language_switcher
- fs_debug_mode
- widget_theysaidso_widget
- widget_recent-comments
- fs_active_plugins
- can_compress_scripts
- db_upgraded
- ...
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
Everything seems fine, however this is by no means an exhaustive test
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 fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/tranzly/admin/class-tranzly-admin.php:108
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/tranzly/includes/class-tranzly-posts-translator.php:441
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tranzly/includes/class-tranzly-meta-box.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/tranzly/includes/class-tranzly-settings-page.php:672
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: deepl, bulk translation, multilingual, automatic translation, translators...
tranzly/tranzly.php 92% from 13 tests
The main PHP script in "WordPress Translation plugin for Post, Pages & WooCommerce products. Tranzly IO AI DeepL automatic WordPress Translator." version 2.0.0 is automatically included on every request by WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 329 characters long)
Code Analysis 97% from 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
Everything looks great! No dangerous files found in this plugin62,560 lines of code in 232 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 8,563 | 17,953 | 35,913 |
PO File | 12 | 6,960 | 8,455 | 15,240 |
JavaScript | 68 | 2,691 | 807 | 10,378 |
CSS | 17 | 103 | 19 | 763 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 2 | 0 | 0 | 35 |
SVG | 2 | 0 | 0 | 17 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,089)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 81.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,089.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 2 | 3.39% |
▷ Concrete classes | 57 | 96.61% |
▷ Final classes | 0 | 0.00% |
Methods | 1,355 | |
▷ Static methods | 193 | 14.24% |
▷ Public methods | 966 | 71.29% |
▷ Protected methods | 18 | 1.33% |
▷ Private methods | 371 | 27.38% |
Functions | 107 | |
▷ Named functions | 107 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 151 | |
▷ Global constants | 104 | 68.87% |
▷ Class constants | 47 | 31.13% |
▷ Public constants | 47 | 100.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
19 PNG files occupy 0.32MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
includes/assets/img/English.png | 6.87KB | 3.69KB | ▼ 46.32% |
freemius/assets/img/bulksms.png | 5.96KB | 4.30KB | ▼ 27.81% |
includes/assets/img/Dutch.png | 22.82KB | 9.23KB | ▼ 59.56% |
includes/assets/img/German.png | 6.08KB | 3.06KB | ▼ 49.61% |