Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲2.47MB] [CPU: ▲13.88ms] 75% from 4 tests
An overview of server-side resources used by WPGlobus - Multilingual Everything!
Please fix the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 1,068.75ms on /wp-admin/plugin-install.php?tab=search&s=WPGlobus&source=WPGlobus)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.42 ▲1.96 | 51.41 ▲10.31 |
Dashboard /wp-admin | 6.13 ▲2.83 | 71.08 ▲21.45 |
Posts /wp-admin/edit.php | 5.95 ▲2.59 | 74.82 ▲20.52 |
Add New Post /wp-admin/post-new.php | 8.66 ▲2.78 | 108.11 ▲4.19 |
Media Library /wp-admin/upload.php | 5.79 ▲2.56 | 53.78 ▲20.51 |
WPGlobus /wp-admin/admin.php?page=wpglobus_options | 6.16 | 64.17 |
/wp-admin/admin.php?page=wpglobus-clean | 5.89 | 50.79 |
/wp-admin/admin.php?page=wpglobus-admin-central | 5.73 | 46.66 |
Help Desk /wp-admin/admin.php?page=wpglobus-helpdesk | 5.76 | 48.88 |
/wp-admin/admin.php?page=wpglobus-about | 5.78 | 45.46 |
/wp-admin/admin.php?page=wpglobus_language_edit | 5.87 | 48.59 |
Add-ons /wp-admin/plugin-install.php?tab=search&s=WPGlobus&source=WPGlobus | 6.46 | 1,068.75 |
Server storage [IO: ▲6.63MB] [DB: ▲0.04MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 696 new files
Database: no new tables, 12 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_wpglobus |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
wpglobus_option_en_language_names |
wpglobus_option_language_names |
wpglobus_option_versioning |
wpglobus_option_flags |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WPGlobus - Multilingual Everything!
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,023 ▲237 | 13.54 ▼1.02 | 9.78 ▲7.81 | 35.78 ▼1.91 |
Dashboard /wp-admin | 2,330 ▲153 | 5.71 ▲0.06 | 103.08 ▲13.21 | 91.50 ▲48.75 |
Posts /wp-admin/edit.php | 2,353 ▲253 | 2.89 ▲0.93 | 60.84 ▲20.96 | 57.23 ▲22.89 |
Add New Post /wp-admin/post-new.php | 6,593 ▲5,067 | 28.58 ▲5.26 | 931.34 ▲251.84 | 41.12 ▼13.93 |
Media Library /wp-admin/upload.php | 1,470 ▲67 | 4.24 ▲0.04 | 99.64 ▼3.32 | 72.33 ▲26.42 |
WPGlobus /wp-admin/admin.php?page=wpglobus_options | 3,944 | 4.51 | 96.67 | 114.63 |
/wp-admin/admin.php?page=wpglobus-clean | 1,189 | 2.85 | 52.65 | 59.91 |
/wp-admin/admin.php?page=wpglobus-admin-central | 1,070 | 2.53 | 45.50 | 33.33 |
Help Desk /wp-admin/admin.php?page=wpglobus-helpdesk | 1,044 | 2.11 | 25.48 | 45.23 |
/wp-admin/admin.php?page=wpglobus-about | 1,032 | 2.09 | 24.64 | 47.19 |
/wp-admin/admin.php?page=wpglobus_language_edit | 722 | 1.51 | 6.42 | 18.10 |
Add-ons /wp-admin/plugin-install.php?tab=search&s=WPGlobus&source=WPGlobus | 1,505 | 2.32 | 39.10 | 36.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 12 options in the database
- can_compress_scripts
- wpglobus_option_locale
- wpglobus_option_flags
- widget_theysaidso_widget
- widget_wpglobus
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- wpglobus_option_en_language_names
- theysaidso_admin_options
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 39× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/wpglobus/includes/options/fields/table/class-wpglobus-languages-table.php on line 10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpglobus/includes/admin/class-wpglobus-customize-options.php on line 43
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHWPINC/class-wp-customize-control.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpglobus/includes/admin/class-wpglobus-customize-options.php on line 43
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wpglobus/includes/vendor/wpglobus-vendors.php:43
- > PHP Fatal error
Uncaught Error: Class 'WPGlobus_Builder' not found in wp-content/plugins/wpglobus/includes/builders/pods/class-wpglobus-pods.php:16
- > PHP Fatal error
Uncaught Error: Class 'WPGlobus_Builder_Update_Post' not found in wp-content/plugins/wpglobus/includes/builders/pods/class-wpglobus-pods-update-post.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpglobus/includes/wpglobus-controller.php:14
- > PHP Fatal error
Uncaught Error: Class 'WPGlobus_Builder' not found in wp-content/plugins/wpglobus/includes/builders/rank_math_seo/class-wpglobus-rank_math_seo.php:16
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpglobus/includes/builders/elementor/class-wpglobus-elementor.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'WPGlobus_Builder_Update_Post' not found in wp-content/plugins/wpglobus/includes/builders/rank_math_seo/class-wpglobus-rank_math_seo-update-post.php:16
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: translate, localization, multilingual, wpglobus, multilanguage
wpglobus/wpglobus.php Passed 13 tests
The entry point to "WPGlobus - Multilingual Everything!" version 2.12.2 is a PHP file that has certain tags in its header comment area
125 characters long description:
A WordPress Globalization / Multilingual Plugin. Posts, pages, menus, widgets and even custom fields - in multiple languages!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected85,310 lines of code in 320 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 38 | 12,272 | 1,709 | 32,363 |
JavaScript | 107 | 5,185 | 7,026 | 26,352 |
PHP | 129 | 7,508 | 17,209 | 24,026 |
Sass | 11 | 254 | 63 | 1,369 |
CSS | 17 | 141 | 47 | 790 |
JSON | 13 | 0 | 0 | 281 |
Markdown | 4 | 55 | 0 | 122 |
SVG | 1 | 0 | 1 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 34.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 369.00 |
Average method complexity | 4.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 81.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 105 | |
▷ Abstract classes | 1 | 0.95% |
▷ Concrete classes | 104 | 99.05% |
▷ Final classes | 0 | 0.00% |
Methods | 931 | |
▷ Static methods | 555 | 59.61% |
▷ Public methods | 758 | 81.42% |
▷ Protected methods | 168 | 18.05% |
▷ Private methods | 5 | 0.54% |
Functions | 14 | |
▷ Named functions | 10 | 71.43% |
▷ Anonymous functions | 4 | 28.57% |
Constants | 60 | |
▷ Global constants | 4 | 6.67% |
▷ Class constants | 56 | 93.33% |
▷ Public constants | 56 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
317 compressed PNG files occupy 0.67MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
flags/us.png | 0.45KB | 0.46KB | 0.00% |
flags/as.png | 0.47KB | 0.50KB | 0.00% |
flags/mh.png | 0.53KB | 0.56KB | 0.00% |
flags/uz.png | 0.34KB | 0.37KB | 0.00% |
flags/sy.png | 0.18KB | 0.18KB | 0.00% |