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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.73ms] Passed 4 tests
Server-side resources used by Falang for WPBakery Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.30 ▼5.24 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.85 ▼1.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.86 ▼2.60 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.22 ▼9.89 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 38.28 ▲2.75 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Falang for WPBakery Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 14.47 ▲0.09 | 1.62 ▼0.24 | 38.01 ▼5.22 |
Dashboard /wp-admin | 2,215 ▲24 | 4.86 ▼1.01 | 109.70 ▲2.67 | 39.91 ▲2.93 |
Posts /wp-admin/edit.php | 2,100 ▲14 | 2.00 ▼0.01 | 41.15 ▲2.71 | 33.42 ▼0.34 |
Add New Post /wp-admin/post-new.php | 1,538 ▲4 | 23.07 ▼0.09 | 708.30 ▲91.85 | 59.63 ▲6.84 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.22 ▲0.02 | 96.68 ▼5.63 | 42.00 ▼5.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/falang-for-wpbakery-lite/falang-for-wpbakery-lite.php:31
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid URI: "www.faboba.com/falangw/"
falang-for-wpbakery-lite/falang-for-wpbakery-lite.php Passed 13 tests
The main file in "Falang for WPBakery Lite" v. 1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
43 characters long description:
Manage translation for WPBakery with Falang
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin791 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 149 | 230 | 548 |
XML | 2 | 36 | 28 | 184 |
JSON | 7 | 0 | 0 | 54 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 4 | 10.81% |
▷ Public methods | 25 | 67.57% |
▷ Protected methods | 3 | 8.11% |
▷ Private methods | 9 | 24.32% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 4 | 44.44% |
▷ Class constants | 5 | 55.56% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin