Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.38MB] [CPU: ▲0.28ms] Passed 4 tests
This is a short check of server-side resources used by TranslationMANAGER for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 34.49 ▼5.62 |
Dashboard /wp-admin | 5.13 ▲1.78 | 57.21 ▼1.45 |
Posts /wp-admin/edit.php | 5.21 ▲1.85 | 58.00 ▲11.70 |
Add New Post /wp-admin/post-new.php | 7.69 ▲1.80 | 100.64 ▼3.49 |
Media Library /wp-admin/upload.php | 5.02 ▲1.78 | 55.31 ▲20.03 |
Settings /wp-admin/admin.php?page=translationmanager_settings | 5.19 | 325.92 |
Project /wp-admin/admin.php?page=translationmanager-project | 5.09 | 41.62 |
Server storage [IO: ▲0.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 324 new files
Database: no new tables, 7 new options
New WordPress options |
---|
translationmanager_version |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for TranslationMANAGER for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲132 | 13.30 ▼1.01 | 1.80 ▲0.05 | 39.27 ▼0.51 |
Dashboard /wp-admin | 2,244 ▲56 | 5.05 ▼0.77 | 99.72 ▼0.31 | 88.04 ▲45.91 |
Posts /wp-admin/edit.php | 2,214 ▲125 | 2.27 ▲0.27 | 37.52 ▼0.64 | 198.32 ▲161.12 |
Add New Post /wp-admin/post-new.php | 1,716 ▲197 | 21.82 ▼1.24 | 690.64 ▲12.77 | 27.23 ▼46.39 |
Media Library /wp-admin/upload.php | 1,432 ▲44 | 4.31 ▲0.00 | 105.45 ▲4.79 | 78.61 ▲31.73 |
Settings /wp-admin/admin.php?page=translationmanager_settings | 1,380 | 1.98 | 34.55 | 63.19 |
Project /wp-admin/admin.php?page=translationmanager-project | 1,009 | 1.76 | 27.23 | 28.47 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- translationmanager_version
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=translationmanager-project
- > Notice in wp-content/plugins/translationmanager/src/TableList/ProjectItem.php+529
Trying to get property 'term_id' of non-object
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
- 196× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Brain\onces\onceInterface' not found in wp-content/plugins/translationmanager/vendor/brain/nonces/src/WpNonce.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Translationmanager\\Module\\Integrable' not found in wp-content/plugins/translationmanager/src/Module/YoastSeo/Integrator.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Translationmanager\\Service\\BootstrappableServiceProvider' not found in wp-content/plugins/translationmanager/src/ProjectItem/ServiceProvider.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_url() in wp-content/plugins/translationmanager/views/meta-box/translation/no-key-customer.php:2
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/translationmanager/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/translationmanager/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php:14
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/translationmanager/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Translationmanager\\Request\\RequestHandleable' not found in wp-content/plugins/translationmanager/src/Request/Api/OrderProject.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Translationmanager\\SystemStatus\\Data\\Information' not found in wp-content/plugins/translationmanager/src/SystemStatus/Data/WordPress.php:7
- > PHP Fatal error
Trait 'Webmozart\\Assert\\Mixin' not found in wp-content/plugins/translationmanager/vendor/webmozart/assert/src/Assert.php on line 33
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: api, translation, i18n
translationmanager/translationmanager.php 92% from 13 tests
The main file in "TranslationMANAGER for WordPress" v. 1.5.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected16,314 lines of code in 314 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 290 | 3,499 | 10,599 | 14,833 |
JSON | 1 | 0 | 0 | 384 |
Sass | 7 | 94 | 47 | 380 |
JavaScript | 5 | 86 | 151 | 293 |
Markdown | 2 | 76 | 0 | 150 |
YAML | 4 | 35 | 0 | 127 |
reStructuredText | 1 | 96 | 139 | 97 |
CSS | 4 | 7 | 3 | 50 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 6.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 367.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 53 | |
Interfaces | 22 | |
Traits | 2 | |
Classes | 228 | |
▷ Abstract classes | 1 | 0.44% |
▷ Concrete classes | 227 | 99.56% |
▷ Final classes | 8 | 3.52% |
Methods | 1,075 | |
▷ Static methods | 407 | 37.86% |
▷ Public methods | 924 | 85.95% |
▷ Protected methods | 78 | 7.26% |
▷ Private methods | 73 | 6.79% |
Functions | 165 | |
▷ Named functions | 36 | 21.82% |
▷ Anonymous functions | 129 | 78.18% |
Constants | 68 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 68 | 100.00% |
▷ Public constants | 68 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/img/inpsyde.png | 20.38KB | 1.88KB | ▼ 90.78% |
resources/img/eurotext-logo.png | 6.51KB | 3.22KB | ▼ 50.53% |
resources/img/Eurotext_AG_72dpi_250.png | 6.51KB | 3.22KB | ▼ 50.53% |
resources/img/tm-icon-bw.png | 0.92KB | 0.81KB | ▼ 12.47% |