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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼1.92ms] Passed 4 tests
Server-side resources used by Multilanguage by BestWebSoft - WordPress Translation Plugin and Language Switcher
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 46.38 ▲5.04 |
Dashboard /wp-admin | 3.52 ▲0.18 | 50.28 ▼12.90 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 60.27 ▲14.51 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 96.74 ▼3.93 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 37.67 ▲4.10 |
Settings /wp-admin/admin.php?page=mltlngg_settings | 3.86 | 42.51 |
BWS Panel /wp-admin/admin.php?page=mltlngg-bws-panel | 3.40 | 38.29 |
Server storage [IO: ▲10.10MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 315 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_mltlngg_translate |
wp_mltlngg_terms_translate |
New WordPress options |
---|
widget_multi_language_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
bstwbsftwppdtplgns_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
mltlngg_options |
Browser metrics Passed 4 tests
Checking browser requirements for Multilanguage by BestWebSoft - WordPress Translation Plugin and Language Switcher
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲91 | 14.34 ▼0.01 | 1.63 ▼0.04 | 38.19 ▼4.70 |
Dashboard /wp-admin | 2,256 ▲85 | 5.62 ▲0.02 | 98.00 ▼1.05 | 45.53 ▲1.95 |
Posts /wp-admin/edit.php | 2,272 ▲172 | 2.29 ▲0.29 | 41.84 ▲6.44 | 40.98 ▲1.55 |
Add New Post /wp-admin/post-new.php | 11,182 ▲9,656 | 24.66 ▲1.47 | 1,305.58 ▲551.93 | 56.20 ▼4.87 |
Media Library /wp-admin/upload.php | 1,462 ▲65 | 4.26 ▲0.01 | 117.38 ▲16.90 | 48.45 ▲7.20 |
Languages /wp-admin/multilanguage-languages.php | 26 | 0.41 | 0.11 | 14.43 |
Settings /wp-admin/admin.php?page=mltlngg_settings | 2,424 | 4.14 | 106.17 | 72.31 |
BWS Panel /wp-admin/admin.php?page=mltlngg-bws-panel | 2,843 | 2.04 | 37.43 | 73.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/multilanguage/bws_menu/product_list.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multilanguage/bws_menu/class-bws-settings.php:1452
- > PHP Fatal error
Uncaught Error: Class 'Bws_Settings_Tabs' not found in wp-content/plugins/multilanguage/includes/class-mltlngg-settings.php:6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/multilanguage/includes/table.php on line 2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/multilanguage/includes/table.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/multilanguage/multilanguage.php:1238
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/multilanguage-languages.php
- > Network (severe)
wp-admin/multilanguage-languages.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=mltlngg-bws-panel
- > Network (severe)
http://ps.w.org/custom-admin-page/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: Please add images for these screenshots: #1 (Language switcher widget in the frontend.), #2 (Language switcher in the site menu.), #3 (Plugin settings page.), #4 (Plugin languages page.), #5 (Edit language page.), #6 (Post/page editor (Gutenberg).), #7 (Post/page editor with translation tabs (Classic Editor).), #8 (Translation form for adding a new category.), #9 (Translation form for editing a category.), #10 (Translation form for adding a new tag.), #11 (Adding and configuring language switcher widget in the admin panel.), #12 (Adding language switcher into site menu.)
multilanguage/multilanguage.php Passed 13 tests
The primary PHP file in "Multilanguage by BestWebSoft - WordPress Translation Plugin and Language Switcher" version 1.4.4 is used by WordPress to initiate all plugin functionality
119 characters long description:
Translate WordPress website content to other languages manually. Create multilingual pages, posts, widgets, menus, etc.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin77,141 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 2,036 | 195 | 46,441 |
PO File | 19 | 6,808 | 11,853 | 16,841 |
PHP | 11 | 835 | 896 | 8,005 |
CSS | 8 | 157 | 257 | 5,704 |
SVG | 4 | 0 | 0 | 150 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 57.20 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 210.00 |
Average method complexity | 7.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 1 | 2.38% |
▷ Public methods | 36 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 14.29% |
Functions | 145 | |
▷ Named functions | 145 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
237 compressed PNG files occupy 5.37MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/flags/szl.png | 0.27KB | 0.45KB | 0.00% |
images/flags/sv_SE.png | 0.38KB | 0.36KB | ▼ 4.87% |
images/flags/gd.png | 0.53KB | 0.52KB | ▼ 2.38% |
images/flags/jv_ID.png | 0.26KB | 0.42KB | 0.00% |
images/flags/uz_UZ.png | 0.34KB | 0.56KB | 0.00% |