Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.07ms] Passed 4 tests
A check of server-side resources used by WP Bakery Multilanguage
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.79 ▼2.50 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.20 ▼2.69 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.85 ▼2.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.33 ▼8.92 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.88 ▼1.50 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Bakery Multilanguage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.64 ▼0.73 | 1.85 ▲0.04 | 44.91 ▲2.05 |
Dashboard /wp-admin | 2,206 ▲15 | 4.87 ▼0.01 | 111.82 ▲6.39 | 38.94 ▲1.36 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 40.13 ▼0.92 | 35.16 ▼0.31 |
Add New Post /wp-admin/post-new.php | 1,535 ▲16 | 23.30 ▲0.20 | 638.92 ▼47.38 | 57.30 ▼0.33 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.23 ▲0.11 | 105.99 ▼10.62 | 44.64 ▼3.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% 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 items
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/multilanguage-add-on-for-visual-composer/public/partials/visual-composer-multilanguage-public-display.php
- > /wp-content/plugins/multilanguage-add-on-for-visual-composer/trunk/public/vc_templates/vc_row.php
- > /wp-content/plugins/multilanguage-add-on-for-visual-composer/public/vc_templates/vc_row.php
- > /wp-content/plugins/multilanguage-add-on-for-visual-composer/trunk/public/partials/visual-composer-multilanguage-public-display.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/multilanguage-add-on-for-visual-composer/trunk/admin/partials/visual-composer-multilanguage-admin-display.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/multilanguage-add-on-for-visual-composer/admin/partials/visual-composer-multilanguage-admin-display.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: translation, multi-language, multilanguage, translate, visual composer
multilanguage-add-on-for-visual-composer/visual-composer-multilanguage.php 85% from 13 tests
The entry point to "WP Bakery Multilanguage" version 2.1.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("multilanguage-add-on-for-visual-composer.php" instead of "visual-composer-multilanguage.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
There were no executable files found in this plugin638 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 174 | 630 | 497 |
JavaScript | 2 | 32 | 117 | 98 |
Markdown | 1 | 13 | 0 | 28 |
CSS | 2 | 5 | 9 | 15 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 1.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 4 | 5.56% |
▷ Public methods | 62 | 86.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 13.89% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin