Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/falang/includes/class-falang-activator.php+160
Undefined index: rtl
Server metrics [RAM: ▲1.70MB] [CPU: ▲11.71ms] Passed 4 tests
Server-side resources used by Falang multilanguage for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.03 ▲1.57 | 59.71 ▲18.84 |
Dashboard /wp-admin | 5.06 ▲1.75 | 66.13 ▲14.47 |
Posts /wp-admin/edit.php | 5.10 ▲1.74 | 60.07 ▲5.20 |
Add New Post /wp-admin/post-new.php | 7.74 ▲1.85 | 98.44 ▲9.39 |
Media Library /wp-admin/upload.php | 4.97 ▲1.74 | 52.10 ▲17.76 |
Get Help /wp-admin/admin.php?page=falang-help | 4.96 | 46.93 |
Translate Posts /wp-admin/admin.php?page=falang-translation | 5.04 | 47.99 |
Translate Strings /wp-admin/admin.php?page=falang-strings | 5.01 | 46.43 |
Translate Terms/Taxo /wp-admin/admin.php?page=falang-terms | 5.00 | 59.09 |
Translate Options /wp-admin/admin.php?page=falang-options | 5.02 | 48.61 |
Settings /wp-admin/admin.php?page=falang-settings | 5.01 | 44.54 |
Languages /wp-admin/admin.php?page=falang-language | 4.99 | 46.29 |
Translate Menus /wp-admin/admin.php?page=falang-menus | 5.00 | 45.58 |
Server storage [IO: ▲4.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 437 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_falang |
falang |
widget_recent-comments |
theysaidso_admin_options |
falang_dismissed_notices |
db_upgraded |
widget_theysaidso_widget |
falang_wpml_strings |
widget_recent-posts |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Falang multilanguage for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲129 | 14.38 ▼0.21 | 1.77 ▼0.06 | 40.87 ▼3.49 |
Dashboard /wp-admin | 2,275 ▲98 | 5.71 ▲0.12 | 85.62 ▼14.78 | 87.07 ▲41.41 |
Posts /wp-admin/edit.php | 2,187 ▲84 | 2.22 ▲0.20 | 33.99 ▼2.13 | 32.60 ▼2.25 |
Add New Post /wp-admin/post-new.php | 6,320 ▲4,794 | 26.04 ▲2.39 | 1,004.39 ▲302.77 | 59.13 ▲3.47 |
Media Library /wp-admin/upload.php | 1,455 ▲58 | 4.39 ▲0.23 | 101.75 ▲0.15 | 67.35 ▲23.11 |
Get Help /wp-admin/admin.php?page=falang-help | 991 | 1.93 | 25.35 | 40.42 |
Translate Posts /wp-admin/admin.php?page=falang-translation | 1,110 | 1.96 | 25.81 | 30.35 |
Translate Strings /wp-admin/admin.php?page=falang-strings | 1,181 | 1.94 | 26.05 | 31.13 |
Translate Terms/Taxo /wp-admin/admin.php?page=falang-terms | 1,053 | 1.94 | 26.66 | 29.00 |
Translate Options /wp-admin/admin.php?page=falang-options | 1,176 | 1.96 | 26.13 | 34.79 |
Settings /wp-admin/admin.php?page=falang-settings | 1,462 | 1.98 | 27.85 | 34.03 |
Languages /wp-admin/admin.php?page=falang-language | 1,020 | 2.34 | 32.58 | 34.72 |
Translate Menus /wp-admin/admin.php?page=falang-menus | 1,006 | 1.84 | 27.18 | 30.81 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 12 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- falang
- theysaidso_admin_options
- widget_falang
- WPLANG
- falang_wpml_strings
- widget_theysaidso_widget
- falang_dismissed_notices
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/falang/admin/views/help_page.php
- > /wp-content/plugins/falang/public/partials/falang-public-display.php
- > /wp-content/plugins/falang/admin/views/settings_tab_informations.php
- 46× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function Falang() in wp-content/plugins/falang/admin/views/language_edit_page.php:14
- > PHP Fatal error
Uncaught Error: Class 'Falang\\Core\\Links' not found in wp-content/plugins/falang/src/Falang/Core/Admin_Links.php:14
- > PHP Fatal error
Uncaught Error: Class 'Falang\\Core\\Falang_Rewrite' not found in wp-content/plugins/falang/admin/class-falang-admin.php:30
- > PHP Fatal error
Uncaught Error: Class 'Falang\\Filter\\Filters' not found in wp-content/plugins/falang/src/Falang/Filter/Admin/Filters_Columns.php:15
- > PHP Fatal error
Uncaught Error: Class 'Falang\\Model\\Falang_Model' not found in wp-content/plugins/falang/admin/views/settings_taxonomy_option_page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/falang/admin/views/settings_tab_licence.php:4
- > PHP Fatal error
Uncaught Error: Class 'Falang\\Filter\\Filters' not found in wp-content/plugins/falang/src/Falang/Filter/Admin/Attachment.php:15
- > PHP Fatal error
Uncaught Error: Class 'Falang\\Filter\\Filters' not found in wp-content/plugins/falang/src/Falang/Filter/Admin/User_Profile.php:13
- > PHP Fatal error
require(): Failed opening required 'ABSPATHwp-admin/options-head.php' (include_path='.:/usr/share/php') in wp-content/plugins/falang/admin/views/falang-admin-display.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/falang/admin/views/settings_tab_general_settings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: "www.faboba.com/falangw/"
- Screenshots: A description for screenshot #4 is missing in falang/assets to your readme.txt
falang/falang.php Passed 13 tests
Analyzing the main PHP file in "Falang multilanguage for WordPress" version 1.3.43
41 characters long description:
Adds multilingual capability to WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected28,119 lines of code in 133 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 104 | 4,001 | 6,123 | 12,541 |
SVG | 4 | 1 | 12 | 9,312 |
PO File | 5 | 2,198 | 2,568 | 4,600 |
CSS | 5 | 101 | 58 | 871 |
JavaScript | 12 | 67 | 81 | 595 |
XML | 2 | 36 | 28 | 184 |
JSON | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 26.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 340.00 |
Average method complexity | 3.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 65 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 65 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 587 | |
▷ Static methods | 26 | 4.43% |
▷ Public methods | 530 | 90.29% |
▷ Protected methods | 24 | 4.09% |
▷ Private methods | 33 | 5.62% |
Functions | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
Constants | 17 | |
▷ Global constants | 9 | 52.94% |
▷ Class constants | 8 | 47.06% |
▷ Public constants | 8 | 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
275 compressed PNG files occupy 0.17MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
flags/jp.png | 0.41KB | 0.46KB | 0.00% |
flags/cc.png | 0.61KB | 0.70KB | 0.00% |
flags/ca.png | 0.61KB | 0.68KB | 0.00% |
flags/my.png | 0.56KB | 0.72KB | 0.00% |
flags/eh.png | 0.50KB | 0.67KB | 0.00% |